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

Check certificate expiry time #48120

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Add an action to check certificate expiry

5315847
Select commit
Loading
Failed to load commit list.
Open

Check certificate expiry time #48120

Add an action to check certificate expiry
5315847
Select commit
Loading
Failed to load commit list.
Community-TC Integration / tools/ unittests (Python 3.12) failed Sep 12, 2024 in 9m 4s

Community-TC (pull_request)

Unit tests for tools running under Python 3.12, excluding wptrunner

Details

View task in Taskcluster
View logs in Taskcluster


  Downloading packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting platformdirs>=4.2.2 (from tox)
  Downloading platformdirs-4.3.2-py3-none-any.whl.metadata (11 kB)
Collecting pluggy>=1.5 (from tox)
  Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pyproject-api>=1.7.1 (from tox)
  Downloading pyproject_api-1.7.1-py3-none-any.whl.metadata (2.8 kB)
Collecting tomli>=2.0.1 (from tox)
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting virtualenv>=20.26.3 (from tox)
  Downloading virtualenv-20.26.4-py3-none-any.whl.metadata (4.5 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.26.3->tox)
  Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Downloading tox-4.18.1-py3-none-any.whl (156 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/156.8 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.8/156.8 kB 4.4 MB/s eta 0:00:00
Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB)
Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/199.4 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB 18.5 MB/s eta 0:00:00
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading filelock-3.16.0-py3-none-any.whl (16 kB)
Downloading packaging-24.1-py3-none-any.whl (53 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/54.0 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 5.4 MB/s eta 0:00:00
Downloading platformdirs-4.3.2-py3-none-any.whl (18 kB)
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Downloading pyproject_api-1.7.1-py3-none-any.whl (13 kB)
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading virtualenv-20.26.4-py3-none-any.whl (6.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/6.0 MB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━ 2.8/6.0 MB 82.8 MB/s eta 0:00:01
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 6.0/6.0 MB 124.7 MB/s eta 0:00:01
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 85.3 MB/s eta 0:00:00
Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/468.9 kB ? eta -:--:--
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.9/468.9 kB 38.1 MB/s eta 0:00:00
Installing collected packages: distlib, tomli, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox
Successfully installed cachetools-5.5.0 chardet-5.2.0 colorama-0.4.6 distlib-0.3.8 filelock-3.16.0 packaging-24.1 platformdirs-4.3.2 pluggy-1.5.0 pyproject-api-1.7.1 tomli-2.0.1 tox-4.18.1 virtualenv-20.26.4

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: python3 -m pip install --upgrade pip
+ cd tools
+ run_applicable_tox
+ local OLD_TOXENV=py312
+ unset TOXENV
++ tox -l
++ grep '^py312\(\-\|$\)'
++ tr '\n' ,
+ local RUN_ENVS=py312,py312-flake8,py312-mypy,
+ [[ -n py312,py312-flake8,py312-mypy, ]]
+ tox -e py312,py312-flake8,py312-mypy,
py312: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/requirements_pytest.txt -r /home/test/web-platform-tests/tools/requirements_tests.txt
py312: commands[0]> pytest --cov=tools --cov-report=term
============================= test session starts ==============================

platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0

cachedir: .tox/py312/.pytest_cache

rootdir: /home/test/web-platform-tests/tools

configfile: pytest.ini

plugins: hypothesis-6.112.0, anyio-4.4.0, cov-5.0.0

collecting ... 
collecting 18 items                                                            
collecting 37 items                                                            
collecting 215 items                                                           
collecting 530 items                                                           
collecting 567 items                                                           
collecting 907 items                                                           
collected 907 items                                                            



ci/tc/tests/test_decision.py ..................                          [  1%]

ci/tc/tests/test_taskgraph.py .........                                  [  2%]

ci/tc/tests/test_valid.py ..........                                     [  4%]

ci/tests/test_check_for_updated_refs.py ..                               [  4%]

ci/tests/test_jobs.py ...........                                        [  5%]

gitignore/tests/test_gitignore.py ...................................... [  9%]

.............                                                            [ 11%]

lint/tests/test_file_lints.py .......................................... [ 15%]

........................................................................ [ 23%]

                                                                         [ 23%]

lint/tests/test_lint.py .............................                    [ 26%]

lint/tests/test_path_lints.py ......................................     [ 31%]

manifest/tests/test_XMLParser.py .........                               [ 32%]

manifest/tests/test_item.py ............................................ [ 36%]

.                                                                        [ 37%]

manifest/tests/test_manifest.py ..........                               [ 38%]

manifest/tests/test_sourcefile.py ...................................... [ 42%]

........................................................................ [ 50%]

.................................................                        [ 55%]

manifest/tests/test_utils.py .                                           [ 55%]

metadata/meta/tests/test_schema.py ......                                [ 56%]

metadata/tests/test_schema.py ..................                         [ 58%]

metadata/webfeatures/tests/test_schema.py ..........                     [ 59%]

metadata/yaml/tests/test_file.py ...                                     [ 59%]

serve/test_functional.py .                                               [ 59%]

serve/test_serve.py .s................                                   [ 61%]

third_party_modified/mozlog/tests/test_capture.py .                      [ 62%]

third_party_modified/mozlog/tests/test_errorsummary.py ..x.              [ 62%]

third_party_modified/mozlog/tests/test_formatters.py ................... [ 64%]

.............                                                            [ 66%]

third_party_modified/mozlog/tests/test_logger.py ......                  [ 66%]

third_party_modified/mozlog/tests/test_logtypes.py .........             [ 67%]

third_party_modified/mozlog/tests/test_structured.py ................... [ 69%]

..............................sss..........                              [ 74%]

third_party_modified/mozlog/tests/test_terminal_colors.py s              [ 74%]

web_features/tests/test_manifest.py ......                               [ 75%]

web_features/tests/test_web_feature_map.py ......                        [ 75%]

webtransport/h3/test_capsule.py sssssss                                  [ 76%]

wptserve/tests/functional/test_cookies.py ....                           [ 77%]

wptserve/tests/functional/test_handlers.py ............................. [ 80%]

...................                                                      [ 82%]

wptserve/tests/functional/test_input_file.py ..............              [ 84%]

wptserve/tests/functional/test_pipes.py ................................ [ 87%]

....                                                                     [ 87%]

wptserve/tests/functional/test_request.py ..........                     [ 89%]

wptserve/tests/functional/test_response.py ....................          [ 91%]

wptserve/tests/functional/test_server.py ...........                     [ 92%]

wptserve/tests/functional/test_stash.py .                                [ 92%]

wptserve/tests/test_config.py .......xx................................. [ 97%]

..                                                                       [ 97%]

wptserve/tests/test_replacement_tokenizer.py ..............              [ 99%]

wptserve/tests/test_request.py .....                                     [ 99%]

wptserve/tests/test_response.py ..                                       [ 99%]

wptserve/tests/test_stash.py ..                                          [100%]



=============================== warnings summary ===============================

wptserve/wptserve/request.py:4

  /home/test/web-platform-tests/tools/wptserve/wptserve/request.py:4: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13

    import cgi



ci/tc/tests/test_valid.py: 90 warnings

  /home/test/web-platform-tests/tools/.tox/py312/lib/python3.12/site-packages/jsonschema/validators.py:1115: DeprecationWarning: The metaschema specified by $schema was not found. Using the latest draft to validate, but this will raise an error in the future.

    cls = validator_for(schema)



-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html



---------- coverage: platform linux, python 3.12.6-final-0 -----------

Name                                                  Stmts   Miss Branch BrPart  Cover

---------------------------------------------------------------------------------------

__init__.py                                               1      0      0      0   100%

ci/__init__.py                                            0      0      0      0   100%

ci/check_for_updated_refs.py                             31      7     14      2    76%

ci/jobs.py                                               82     18     44      3    75%

ci/macos_color_profile.py                                19     19      6      0     0%

ci/make_hosts_file.py                                    12     12      2      0     0%

ci/manifest_build.py                                    148    148     46      0     0%

ci/regen_certs.py                                        65     65     14      0     0%

ci/run_tc.py                                            236    236     96      0     0%

ci/taskcluster-run.py                                    74     74     32      0     0%

ci/tc/__init__.py                                         0      0      0      0   100%

ci/tc/decision.py                                       250     62    123      5    76%

ci/tc/download.py                                        71     71     30      0     0%

ci/tc/github_checks_output.py                            13      5      4      1    53%

ci/tc/sink_task.py                                       39     39     14      0     0%

ci/tc/taskgraph.py                                      124      9     64      9    90%

ci/update_built.py                                       37     37     14      0     0%

conftest.py                                              12      0      2      0   100%

docker/__init__.py                                        0      0      0      0   100%

docker/frontend.py                                       88     88     40      0     0%

docker/retry.py                                          39     39     10      0     0%

gitignore/__init__.py                                     0      0      0      0   100%

gitignore/gitignore.py                                  188    188    122      0     0%

lint/__init__.py                                          1      0      0      0   100%

lint/fnmatch.py                                          21      2      8      2    86%

lint/lint.py                                            646     99    386     23    84%

lint/rules.py                                           299      5     12      0    98%

localpaths.py                                            36      1      2      1    95%

manifest/XMLParser.py                                    91      2     17      2    96%

manifest/__init__.py                                      1      0      0      0   100%

manifest/download.py                                    138    111     52      0    14%

manifest/item.py                                        234     17     92     11    91%

manifest/jsonlib.py                                      44     21     14      5    48%

manifest/log.py                                           6      1      0      0    83%

manifest/manifest.py                                    226     83    104     13    59%

manifest/mputil.py                                        7      1      2      1    78%

manifest/sourcefile.py                                  587     46    360     35    91%

manifest/spec.py                                         43     43      6      0     0%

manifest/testpaths.py                                    56     56     18      0     0%

manifest/typedata.py                                    193     36     86     12    80%

manifest/update.py                                       46     29      8      1    33%

manifest/utils.py                                        54     13     16      5    69%

manifest/vcs.py                                         199    156     72      1    17%

metadata/__init__.py                                      0      0      0      0   100%

metadata/meta/__init__.py                                 0      0      0      0   100%

metadata/meta/schema.py                                  16      0      4      0   100%

metadata/schema.py                                       52     52     32      0     0%

metadata/webfeatures/__init__.py                          0      0      0      0   100%

metadata/webfeatures/schema.py                           51     51     22      0     0%

metadata/yaml/__init__.py                                 0      0      0      0   100%

metadata/yaml/load.py                                     9      0      0      0   100%

serve/__init__.py                                         1      0      0      0   100%

serve/serve.py                                          616    233    214     34    60%

serve/test_functional.py                                 46      2      8      1    94%

serve/test_serve.py                                      67      4     22      0    93%

serve/wave.py                                            78     78     22      0     0%

wave/__init__.py                                          0      0      0      0   100%

wave/configuration_loader.py                             40     40     10      0     0%

wave/data/__init__.py                                     0      0      0      0   100%

wave/data/client.py                                       5      5      0      0     0%

wave/data/device.py                                       6      6      0      0     0%

wave/data/event_listener.py                               7      7      0      0     0%

wave/data/exceptions/__init__.py                          0      0      0      0   100%

wave/data/exceptions/duplicate_exception.py               2      2      0      0     0%

wave/data/exceptions/invalid_data_exception.py            2      2      0      0     0%

wave/data/exceptions/not_found_exception.py               2      2      0      0     0%

wave/data/exceptions/permission_denied_exception.py       2      2      0      0     0%

wave/data/http_polling_client.py                          8      8      0      0     0%

wave/data/http_polling_event_listener.py                  9      9      0      0     0%

wave/data/session.py                                     50     50     20      0     0%

wave/network/__init__.py                                  0      0      0      0   100%

wave/network/api/__init__.py                              0      0      0      0   100%

wave/network/api/api_handler.py                          74     74     22      0     0%

wave/network/api/devices_api_handler.py                 155    155     54      0     0%

wave/network/api/general_api_handler.py                  45     45     18      0     0%

wave/network/api/results_api_handler.py                 186    186     48      0     0%

wave/network/api/sessions_api_handler.py                328    328    128      0     0%

wave/network/api/tests_api_handler.py                   191    191     68      0     0%

wave/network/http_handler.py                             85     85     28      0     0%

wave/network/static_handler.py                           34     34     12      0     0%

wave/testing/__init__.py                                  0      0      0      0   100%

wave/testing/devices_manager.py                          85     85     30      0     0%

wave/testing/event_dispatcher.py                        104    104     54      0     0%

wave/testing/results_manager.py                         494    494    260      0     0%

wave/testing/sessions_manager.py                        327    327    170      0     0%

wave/testing/test_loader.py                             145    145    100      0     0%

wave/testing/tests_manager.py                           261    261    144      0     0%

wave/testing/wpt_report.py                               24     24      8      0     0%

wave/utils/__init__.py                                    0      0      0      0   100%

wave/utils/deserializer.py                               89     89     46      0     0%

wave/utils/serializer.py                                 14     14      4      0     0%

wave/utils/user_agent_parser.py                          17     17      8      0     0%

wave/wave_server.py                                      50     50      6      0     0%

web_features/__init__.py                                  0      0      0      0   100%

web_features/manifest.py                                 69      3     14      1    95%

web_features/web_feature_map.py                          53      0     18      2    97%

webtransport/__init__.py                                  0      0      0      0   100%

webtransport/h3/__init__.py                               0      0      0      0   100%

webtransport/h3/capsule.py                               62     62     22      0     0%

webtransport/h3/handler.py                               13     13      0      0     0%

webtransport/h3/test_capsule.py                          98     77     40      2    27%

webtransport/h3/webtransport_h3_server.py               328    328    106      0     0%

---------------------------------------------------------------------------------------

TOTAL                                                  8857   5583   3694    172    36%



===== 892 passed, 12 skipped, 3 xfailed, 91 warnings in 309.53s (0:05:09) ======

py312: OK ✔ in 5 minutes 19.14 seconds
py312-flake8: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/requirements_flake8.txt
py312-flake8: commands[0]> flake8 --append-config=/home/test/web-platform-tests/tools/flake8.ini
./ci/regen_certs.py:123:25: F821 undefined name 'datetime'

./ci/regen_certs.py:132:24: F821 undefined name 'get_end_time'

./ci/regen_certs.py:133:15: F821 undefined name 'datetime'

./ci/regen_certs.py:134:25: F821 undefined name 'datetime'

py312-flake8: exit 1 (3.91 seconds) /home/test/web-platform-tests/tools> flake8 --append-config=/home/test/web-platform-tests/tools/flake8.ini pid=2150
py312-flake8: FAIL ✖ in 5.47 seconds
py312-mypy: install_deps> python -I -m pip install -r /home/test/web-platform-tests/tools/requirements_mypy.txt
py312-mypy: commands[0] /home/test/web-platform-tests/tools/..> mypy --config-file=/home/test/web-platform-tests/tools/mypy.ini --explicit-package-bases tools
tools/ci/regen_certs.py:134: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

Success: no issues found in 304 source files

  py312: OK (319.14=setup[7.66]+cmd[311.49] seconds)
  py312-flake8: FAIL code 1 (5.47=setup[1.56]+cmd[3.91] seconds)
  py312-mypy: OK (24.48=setup[16.10]+cmd[8.38] seconds)
  evaluation failed :( (349.16 seconds)
[taskcluster 2024-09-12 15:04:36.086Z] === Task Finished ===
[taskcluster 2024-09-12 15:04:36.209Z] Unsuccessful task run with exit code: 255 completed in 490.236 seconds