Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler controls for mercurial local clone #2235

Merged
merged 4 commits into from
Jul 23, 2024

Pull from try but clone from MC-unified

4b342e5
Select commit
Loading
Failed to load commit list.
Merged

Simpler controls for mercurial local clone #2235

Pull from try but clone from MC-unified
4b342e5
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Code Review Bot checks: unit tests succeeded Jul 22, 2024 in 3m 16s

FirefoxCI (push)

Check python code with pytest

Details

View task in Taskcluster
View logs in Taskcluster


  patch less ssh-client libldap-common publicsuffix libsasl2-modules
The following NEW packages will be installed:
  git git-man libbrotli1 libcurl3-gnutls liberror-perl libgdbm-compat4
  libldap-2.5-0 libnghttp2-14 libperl5.36 libpsl5 librtmp1 libsasl2-2
  libsasl2-modules-db libssh2-1 perl perl-modules-5.36
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.9 MB of archives.
After this operation, 99.6 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 perl-modules-5.36 all 5.36.0-7+deb12u1 [2815 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libgdbm-compat4 amd64 1.23-3 [48.2 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libperl5.36 amd64 5.36.0-7+deb12u1 [4218 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 perl amd64 5.36.0-7+deb12u1 [239 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 libbrotli1 amd64 1.0.9-2+b6 [275 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg-10 [20.3 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 libsasl2-2 amd64 2.1.28+dfsg-10 [59.7 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 libldap-2.5-0 amd64 2.5.13+dfsg-5 [183 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 libnghttp2-14 amd64 1.52.0-1+deb12u1 [72.4 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 libpsl5 amd64 0.21.2-1 [58.7 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 libssh2-1 amd64 1.10.0-3+b1 [179 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u6 [385 kB]
Get:14 http://deb.debian.org/debian bookworm/main amd64 liberror-perl all 0.17029-2 [29.0 kB]
Get:15 http://deb.debian.org/debian bookworm/main amd64 git-man all 1:2.39.2-1.1 [2049 kB]
Get:16 http://deb.debian.org/debian bookworm/main amd64 git amd64 1:2.39.2-1.1 [7171 kB]
Fetched 17.9 MB in 1s (29.2 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package perl-modules-5.36.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 6696 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.36_5.36.0-7+deb12u1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-7+deb12u1) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../01-libgdbm-compat4_1.23-3_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.23-3) ...
Selecting previously unselected package libperl5.36:amd64.
Preparing to unpack .../02-libperl5.36_5.36.0-7+deb12u1_amd64.deb ...
Unpacking libperl5.36:amd64 (5.36.0-7+deb12u1) ...
Selecting previously unselected package perl.
Preparing to unpack .../03-perl_5.36.0-7+deb12u1_amd64.deb ...
Unpacking perl (5.36.0-7+deb12u1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../04-libbrotli1_1.0.9-2+b6_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2+b6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.28+dfsg-10_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.28+dfsg-10_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.28+dfsg-10) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../07-libldap-2.5-0_2.5.13+dfsg-5_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../08-libnghttp2-14_1.52.0-1+deb12u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../09-libpsl5_0.21.2-1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.2-1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.10.0-3+b1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.10.0-3+b1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.88.1-10+deb12u6_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u6) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17029-2_all.deb ...
Unpacking liberror-perl (0.17029-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.39.2-1.1_all.deb ...
Unpacking git-man (1:2.39.2-1.1) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.39.2-1.1_amd64.deb ...
Unpacking git (1:2.39.2-1.1) ...
Setting up libpsl5:amd64 (0.21.2-1) ...
Setting up libbrotli1:amd64 (1.0.9-2+b6) ...
Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg-10) ...
Setting up perl-modules-5.36 (5.36.0-7+deb12u1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up libgdbm-compat4:amd64 (1.23-3) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg-10) ...
Setting up git-man (1:2.39.2-1.1) ...
Setting up libssh2-1:amd64 (1.10.0-3+b1) ...
Setting up libperl5.36:amd64 (5.36.0-7+deb12u1) ...
Setting up libldap-2.5-0:amd64 (2.5.13+dfsg-5) ...
Setting up perl (5.36.0-7+deb12u1) ...
Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u6) ...
Setting up liberror-perl (0.17029-2) ...
Setting up git (1:2.39.2-1.1) ...
Processing triggers for libc-bin (2.36-9+deb12u7) ...
+ git clone --quiet https://github.com/mozilla/code-review /src
+ cd /src
+ git checkout 4b342e5856444da9c2b109b15a231237d622a11c -b checks
Switched to a new branch 'checks'
+ cd /src/tools
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ cd /src/bot
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ pytest -v
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-8.2.2, pluggy-1.5.0 -- /usr/local/bin/python
cachedir: .pytest_cache
rootdir: /src/bot
plugins: structlog-1.0, responses-0.5.1
collecting ... 
collected 111 items                                                            
========================== pytest-structlog settings ===========================
Plugin pytest-structlog is operating in keep mode.
Structlog processor 'merge_contextvars' is kept due to default-keep-list.
Structlog processor 'add_log_level' is kept due to default-keep-list.
Structlog processor 'StackInfoRenderer' is evicted because no configuration kept it.
Structlog processor 'set_exc_info' is evicted because no configuration kept it.
Structlog processor 'TimeStamper' is evicted because no configuration kept it.
Structlog processor 'ConsoleRenderer' is evicted because no configuration kept it.
================================================================================

tests/test_artifacts.py::test_loading_artifacts PASSED                   [  0%]
tests/test_autoland.py::test_revision PASSED                             [  1%]
tests/test_backend.py::test_publication PASSED                           [  2%]
tests/test_backend.py::test_missing_bugzilla_id PASSED                   [  3%]
tests/test_backend.py::test_repo_url PASSED                              [  4%]
tests/test_backend.py::test_changeset_string PASSED                      [  5%]
tests/test_backend.py::test_publication_failures PASSED                  [  6%]
tests/test_backend.py::test_publish_issues_bulk PASSED                   [  7%]
tests/test_clang.py::test_expanded_macros PASSED                         [  8%]
tests/test_clang.py::test_as_text PASSED                                 [  9%]
tests/test_clang.py::test_as_dict PASSED                                 [  9%]
tests/test_clang.py::test_as_markdown PASSED                             [ 10%]
tests/test_clang.py::test_settings PASSED                                [ 11%]
tests/test_clang.py::test_empty_patch[] PASSED                           [ 12%]
tests/test_clang.py::test_empty_patch[    ] PASSED                       [ 13%]
tests/test_clang.py::test_empty_patch[\n] PASSED                         [ 14%]
tests/test_clang.py::test_empty_patch[  \n  ] PASSED                     [ 15%]
tests/test_clang.py::test_real_patch PASSED                              [ 16%]
tests/test_coverage.py::test_coverage PASSED                             [ 17%]
tests/test_default.py::test_matches[public/code-review/issues.json-True] PASSED [ 18%]
tests/test_default.py::test_matches[private/code-review/issues.json-False] PASSED [ 18%]
tests/test_default.py::test_matches[public/code-review/mozlint.json-False] PASSED [ 19%]
tests/test_default.py::test_parser PASSED                                [ 20%]
tests/test_docupload_task.py::test_build_notice_no_docs_url_artifact PASSED [ 21%]
tests/test_docupload_task.py::test_build_notice_no_trees_artifact PASSED [ 22%]
tests/test_docupload_task.py::test_build_notice_no_documentation_file PASSED [ 23%]
tests/test_docupload_task.py::test_build_notice_more_than_twenty_files PASSED [ 24%]
tests/test_docupload_task.py::test_build_notice_only_one_file PASSED     [ 25%]
tests/test_docupload_task.py::test_build_notice_various_files PASSED     [ 26%]
tests/test_docupload_task.py::test_build_notice_various_files_with_extra_doc_files PASSED [ 27%]
tests/test_hash.py::test_get_hash PASSED                                 [ 27%]
tests/test_hash.py::test_indentation_effect PASSED                       [ 28%]
tests/test_hash.py::test_full_file PASSED                                [ 29%]
tests/test_hash.py::test_incorrect_file_path[.] PASSED                   [ 30%]
tests/test_hash.py::test_incorrect_file_path[..] PASSED                  [ 31%]
tests/test_hash.py::test_incorrect_file_path[a/../../b] PASSED           [ 32%]
tests/test_issues.py::test_allowed_paths PASSED                          [ 33%]
tests/test_issues.py::test_backend_publication PASSED                    [ 34%]
tests/test_lint.py::test_flake8_checks PASSED                            [ 35%]
tests/test_lint.py::test_as_text PASSED                                  [ 36%]
tests/test_lint.py::test_licence_payload PASSED                          [ 36%]
tests/test_mercurial.py::test_hg_run PASSED                              [ 37%]
tests/test_mercurial.py::test_robustcheckout PASSED                      [ 38%]
tests/test_patch.py::test_publication PASSED                             [ 39%]
tests/test_remote.py::test_no_deps PASSED                                [ 40%]
tests/test_remote.py::test_baseline PASSED                               [ 41%]
tests/test_remote.py::test_no_failed PASSED                              [ 42%]
tests/test_remote.py::test_no_issues PASSED                              [ 43%]
tests/test_remote.py::test_build_status_fail_on_error PASSED             [ 44%]
tests/test_remote.py::test_build_status_pass_on_warning PASSED           [ 45%]
tests/test_remote.py::test_unsupported_analyzer PASSED                   [ 45%]
tests/test_remote.py::test_mozlint_task PASSED                           [ 46%]
tests/test_remote.py::test_clang_tidy_task PASSED                        [ 47%]
tests/test_remote.py::test_clang_format_task PASSED                      [ 48%]
tests/test_remote.py::test_no_tasks PASSED                               [ 49%]
tests/test_remote.py::test_zero_coverage_option PASSED                   [ 50%]
tests/test_remote.py::test_external_tidy_task PASSED                     [ 51%]
tests/test_reporter_debug.py::test_publication PASSED                    [ 52%]
tests/test_reporter_lando.py::test_lando PASSED                          [ 53%]
tests/test_reporter_mail.py::test_conf PASSED                            [ 54%]
tests/test_reporter_mail.py::test_mail PASSED                            [ 54%]
tests/test_reporter_mail.py::test_mail_builderrors PASSED                [ 55%]
tests/test_reporter_phabricator.py::test_phabricator_clang_tidy PASSED   [ 56%]
tests/test_reporter_phabricator.py::test_phabricator_clang_format PASSED [ 57%]
tests/test_reporter_phabricator.py::test_phabricator_mozlint PASSED      [ 58%]
tests/test_reporter_phabricator.py::test_phabricator_coverage PASSED     [ 59%]
tests/test_reporter_phabricator.py::test_phabricator_clang_tidy_and_coverage PASSED [ 60%]
tests/test_reporter_phabricator.py::test_phabricator_analyzers[analyzers_skipped0-valid_issues0-valid_patches0] PASSED [ 61%]
tests/test_reporter_phabricator.py::test_phabricator_analyzers[analyzers_skipped1-valid_issues1-valid_patches1] PASSED [ 62%]
tests/test_reporter_phabricator.py::test_phabricator_analyzers[analyzers_skipped2-valid_issues2-valid_patches2] PASSED [ 63%]
tests/test_reporter_phabricator.py::test_phabricator_clang_tidy_build_error PASSED [ 63%]
tests/test_reporter_phabricator.py::test_full_file PASSED                [ 64%]
tests/test_reporter_phabricator.py::test_task_failures PASSED            [ 65%]
tests/test_reporter_phabricator.py::test_extra_errors PASSED             [ 66%]
tests/test_reporter_phabricator.py::test_phabricator_notices PASSED      [ 67%]
tests/test_reporter_phabricator.py::test_phabricator_tgdiff PASSED       [ 68%]
tests/test_reporter_phabricator.py::test_phabricator_external_tidy PASSED [ 69%]
tests/test_reporter_phabricator.py::test_phabricator_newer_diff PASSED   [ 70%]
tests/test_reporter_phabricator.py::test_phabricator_former_diff_comparison PASSED [ 71%]
tests/test_reporter_phabricator.py::test_phabricator_before_after_comment PASSED [ 72%]
tests/test_revisions.py::test_phabricator PASSED                         [ 72%]
tests/test_revisions.py::test_clang_files PASSED                         [ 73%]
tests/test_revisions.py::test_analyze_patch PASSED                       [ 74%]
tests/test_revisions.py::test_bugzilla_id PASSED                         [ 75%]
tests/test_revisions.py::test_revision_before_after PASSED               [ 76%]
tests/test_stats.py::test_base_stats PASSED                              [ 77%]
tests/test_tgdiff_task.py::test_load_artifacts_no_summary PASSED         [ 78%]
tests/test_tgdiff_task.py::test_load_artifacts_ok_summary PASSED         [ 79%]
tests/test_tgdiff_task.py::test_load_artifacts_warning_summary PASSED    [ 80%]
tests/test_tools.py::test_taskcluster_service PASSED                     [ 81%]
tests/test_workflow.py::test_taskcluster_index PASSED                    [ 81%]
tests/test_workflow.py::test_build_task[source-test-clang-tidy-ClangTidyTask-False] PASSED [ 82%]
tests/test_workflow.py::test_build_task[source-test-clang-tidy-ClangTidyTask-True] PASSED [ 83%]
tests/test_workflow.py::test_build_task[source-test-clang-external-ExternalTidyTask-False] PASSED [ 84%]
tests/test_workflow.py::test_build_task[source-test-clang-external-ExternalTidyTask-True] PASSED [ 85%]
tests/test_workflow.py::test_build_task[source-test-mozlint-eslint-MozLintTask-False] PASSED [ 86%]
tests/test_workflow.py::test_build_task[source-test-mozlint-eslint-MozLintTask-True] PASSED [ 87%]
tests/test_workflow.py::test_build_task[source-test-mozlint-whatever-MozLintTask-False] PASSED [ 88%]
tests/test_workflow.py::test_build_task[source-test-mozlint-whatever-MozLintTask-True] PASSED [ 89%]
tests/test_workflow.py::test_build_task[source-test-clang-format-ClangFormatTask-False] PASSED [ 90%]
tests/test_workflow.py::test_build_task[source-test-clang-format-ClangFormatTask-True] PASSED [ 90%]
tests/test_workflow.py::test_build_task[source-test-taskgraph-diff-TaskGraphDiffTask-False] PASSED [ 91%]
tests/test_workflow.py::test_build_task[source-test-taskgraph-diff-TaskGraphDiffTask-True] PASSED [ 92%]
tests/test_workflow.py::test_build_task[source-test-unsupported-None-False] PASSED [ 93%]
tests/test_workflow.py::test_build_task[source-test-unsupported-None-True] PASSED [ 94%]
tests/test_workflow.py::test_on_production PASSED                        [ 95%]
tests/test_workflow.py::test_before_after PASSED                         [ 96%]
tools/test_validator.py::test_top_struct PASSED                          [ 97%]
tools/test_validator.py::test_dict_struct PASSED                         [ 98%]
tools/test_validator.py::test_paths PASSED                               [ 99%]
tools/test_validator.py::test_issues PASSED                              [100%]

=============================== warnings summary ===============================
tests/test_artifacts.py:11
  /src/bot/tests/test_artifacts.py:11: PytestCollectionWarning: cannot collect test class 'TestTask' because it has a __init__ constructor (from: tests/test_artifacts.py)
    class TestTask(AnalysisTask):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 111 passed, 1 warning in 1.67s ========================
2024-07-22 15:40:25 [info     ] Flushing stats metrics         nb=2
[taskcluster 2024-07-22T15:40:25.625Z]    Exit Code: 0
[taskcluster 2024-07-22T15:40:25.625Z]    User Time: 3.377834s
[taskcluster 2024-07-22T15:40:25.625Z]  Kernel Time: 888.126ms
[taskcluster 2024-07-22T15:40:25.625Z]    Wall Time: 28.103404818s
[taskcluster 2024-07-22T15:40:25.625Z]       Result: SUCCEEDED
[taskcluster 2024-07-22T15:40:25.625Z] === Task Finished ===
[taskcluster 2024-07-22T15:40:25.626Z] Task Duration: 28.103854498s
[taskcluster 2024-07-22T15:40:25.693Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-07-22T16:37:10.360Z