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

Add and update MEI_time_series_visualization script #4197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Add and update MEI_time_series_visualization script

9dce609
Select commit
Loading
Failed to load commit list.
Open

Add and update MEI_time_series_visualization script #4197

Add and update MEI_time_series_visualization script
9dce609
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug tests succeeded May 25, 2024 in 7m 15s

Community-TC (pull_request)

bugbug tests

Details

View task in Taskcluster
View logs in Taskcluster


    first_push_date = datetime.utcnow()

tests/test_repository.py::test_hg_log
  /bugbug/tests/test_repository.py:275: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    second_push_date = datetime.utcnow()

tests/test_repository.py::test_hg_log
  /bugbug/tests/test_repository.py:288: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    hg_log_date = datetime.utcnow()

tests/test_repository.py: 35 warnings
  /bugbug/bugbug/repository.py:896: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    pushdate = datetime.utcfromtimestamp(float(pushdate_timestamp))

tests/test_repository.py: 12 warnings
  /usr/local/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=652) is multi-threaded, use of fork() may lead to deadlocks in the child.
    self.pid = os.fork()

tests/test_trainer.py::test_trainer
  /usr/local/lib/python3.12/site-packages/sklearn/metrics/_classification.py:1509: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 due to no predicted samples. Use `zero_division` parameter to control this behavior.
    _warn_prf(average, modifier, f"{metric.capitalize()} is", len(result))

tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
  /usr/local/lib/python3.12/site-packages/sklearn/metrics/_classification.py:1509: UndefinedMetricWarning: Precision is ill-defined and being set to 0.0 in labels with no predicted samples. Use `zero_division` parameter to control this behavior.
    _warn_prf(average, modifier, f"{metric.capitalize()} is", len(result))

tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
  /usr/local/lib/python3.12/site-packages/sklearn/metrics/_classification.py:1509: UndefinedMetricWarning: Recall is ill-defined and being set to 0.0 in labels with no true samples. Use `zero_division` parameter to control this behavior.
    _warn_prf(average, modifier, f"{metric.capitalize()} is", len(result))

tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
  /usr/local/lib/python3.12/site-packages/sklearn/metrics/_classification.py:1509: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no true nor predicted samples. Use `zero_division` parameter to control this behavior.
    _warn_prf(average, modifier, f"{metric.capitalize()} is", len(result))

tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
tests/test_trainer.py::test_trainer
  /usr/local/lib/python3.12/site-packages/sklearn/metrics/_classification.py:1509: UndefinedMetricWarning: Sensitivity is ill-defined and being set to 0.0 in labels with no true samples. Use `zero_division` parameter to control this behavior.
    _warn_prf(average, modifier, f"{metric.capitalize()} is", len(result))

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

---------- coverage: platform linux, python 3.12.3-final-0 -----------
Name                                             Stmts   Miss  Cover
--------------------------------------------------------------------
bugbug/__init__.py                                   5      1    80%
bugbug/bug_features.py                             435     90    79%
bugbug/bug_snapshot.py                             242     81    67%
bugbug/bugzilla.py                                 244    178    27%
bugbug/commit_features.py                          183     71    61%
bugbug/db.py                                       158      9    94%
bugbug/feature_cleanup.py                           59      0   100%
bugbug/generative_model_tool.py                     22     22     0%
bugbug/github.py                                    79      2    97%
bugbug/issue_features.py                            46     29    37%
bugbug/issue_snapshot.py                             7      6    14%
bugbug/labels.py                                    21      0   100%
bugbug/model.py                                    393    173    56%
bugbug/model_calibration.py                         18      8    56%
bugbug/models/__init__.py                           14      2    86%
bugbug/models/accessibility.py                      50     28    44%
bugbug/models/annotate_ignore.py                    40     24    40%
bugbug/models/assignee.py                           39      2    95%
bugbug/models/backout.py                            38      3    92%
bugbug/models/browsername.py                        28     16    43%
bugbug/models/bugtype.py                            47      9    81%
bugbug/models/component.py                         125     98    22%
bugbug/models/defect.py                            133     14    89%
bugbug/models/defect_enhancement_task.py            26      9    65%
bugbug/models/devdocneeded.py                       38      4    89%
bugbug/models/fenixcomponent.py                     38     19    50%
bugbug/models/fixtime.py                            43     30    30%
bugbug/models/invalid_compatibility_report.py       36      6    83%
bugbug/models/needsdiagnosis.py                     32      2    94%
bugbug/models/performancebug.py                     38      6    84%
bugbug/models/qaneeded.py                           37      1    97%
bugbug/models/rcatype.py                            58     10    83%
bugbug/models/regression.py                         28     13    54%
bugbug/models/regressionrange.py                    32     17    47%
bugbug/models/regressor.py                         164    130    21%
bugbug/models/spambug.py                            47     30    36%
bugbug/models/stepstoreproduce.py                   48     15    69%
bugbug/models/testfailure.py                        44     27    39%
bugbug/models/testselect.py                        379    195    49%
bugbug/models/tracking.py                           54     10    81%
bugbug/models/uplift.py                             32      2    94%
bugbug/models/worksforme.py                         33     17    48%
bugbug/nlp.py                                       64     29    55%
bugbug/phabricator.py                              139     82    41%
bugbug/repository.py                               745     91    88%
bugbug/rust_code_analysis_server.py                 51     11    78%
bugbug/test_scheduling.py                          378    160    58%
bugbug/test_scheduling_features.py                 117     69    41%
bugbug/utils.py                                    336    123    63%
infra/set_hook_version.py                           27      6    78%
scripts/MEI_time_series_visualization.py            77     77     0%
scripts/__init__.py                                  0      0   100%
scripts/analyze_training_metrics.py                101    101     0%
scripts/backout_related_test_regressions.py         56     56     0%
scripts/bug_classifier.py                           48     48     0%
scripts/bug_retriever.py                            85     85     0%
scripts/check.py                                    24     24     0%
scripts/check_all_metrics.py                        54     54     0%
scripts/code_review_tool_runner.py                  22     22     0%
scripts/comment_level_labeler.py                    60     60     0%
scripts/commit_classifier.py                       397    397     0%
scripts/commit_retriever.py                         39     39     0%
scripts/compatibility_report_classifier.py          42     42     0%
scripts/generate_landings_risk_report.py           797    797     0%
scripts/generate_sheet.py                           43     43     0%
scripts/get_type_labels.py                          27     27     0%
scripts/get_untriaged.py                            64     64     0%
scripts/github_issue_classifier.py                  53     53     0%
scripts/github_issue_retriever.py                   77     39    49%
scripts/maintenance_effectiveness_indicator.py      26     26     0%
scripts/microannotate_generator.py                  65     65     0%
scripts/past_bugs_by_unit.py                       108    108     0%
scripts/redundant_failures.py                       47     47     0%
scripts/regressor_finder.py                        327    327     0%
scripts/retrieve_training_metrics.py                75     75     0%
scripts/revision_retriever.py                       35     35     0%
scripts/shadow_scheduler_stats.py                  159    159     0%
scripts/test_scheduling_history_retriever.py       190    190     0%
scripts/testing_policy_stats.py                     72     72     0%
scripts/trainer.py                                  74     13    82%
scripts/trainer_extract_args.py                     22     22     0%
setup.py                                            14     14     0%
tests/conftest.py                                   30      0   100%
tests/test_assignee.py                              10      0   100%
tests/test_backout.py                                6      0   100%
tests/test_bug.py                                   13      0   100%
tests/test_bug_features.py                          65      0   100%
tests/test_bug_snapshot.py                           7      0   100%
tests/test_bugtype.py                               18      0   100%
tests/test_bugzilla.py                              26      0   100%
tests/test_commit_features.py                        9      0   100%
tests/test_db.py                                   214      0   100%
tests/test_defect.py                                 6      0   100%
tests/test_defect_enhancement_task.py                7      0   100%
tests/test_devdocneeded.py                           7      0   100%
tests/test_feature_cleanup.py                       33      0   100%
tests/test_github.py                                72      0   100%
tests/test_github_issue_retriever.py                59      0   100%
tests/test_hooks.py                                 23      0   100%
tests/test_invalid_compatibility_report.py           8      0   100%
tests/test_labels.py                                10      0   100%
tests/test_models.py                                17      0   100%
tests/test_needsdiagnosis.py                         8      0   100%
tests/test_performancebug.py                         8      0   100%
tests/test_phabricator.py                           19      0   100%
tests/test_pipelines.py                             37      0   100%
tests/test_qaneeded.py                              25      0   100%
tests/test_rcatype.py                               19      0   100%
tests/test_regression.py                             6      0   100%
tests/test_repository.py                          1222      0   100%
tests/test_stepstoreproduce.py                       7      0   100%
tests/test_test_scheduling.py                      262      0   100%
tests/test_test_scheduling_features.py              10      0   100%
tests/test_testselect.py                           183      0   100%
tests/test_tracking.py                               6      0   100%
tests/test_trainer.py                                8      0   100%
tests/test_uplift.py                                 6      0   100%
tests/test_utils.py                                218      0   100%
--------------------------------------------------------------------
TOTAL                                            11454   5161    55%

=========== 181 passed, 1 xfailed, 473 warnings in 111.38s (0:01:51) ===========
+ bash /dev/fd/63
++ curl -s https://codecov.io/bash

  _____          _
 / ____|        | |
| |     ___   __| | ___  ___ _____   __
| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
| |___| (_) | (_| |  __/ (_| (_) \ V /
 \_____\___/ \__,_|\___|\___\___/ \_/
                              Bash-1.0.6


==> git version 2.39.2 found
==> curl 7.88.1 (x86_64-pc-linux-gnu) libcurl/7.88.1 OpenSSL/3.0.11 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 (+libidn2/2.3.3) libssh2/1.10.0 nghttp2/1.52.0 librtmp/2.3 OpenLDAP/2.5.13
Release-Date: 2023-02-20, security patched: 7.88.1-10+deb12u5
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
x> No CI provider detected.
    Testing inside Docker? http://docs.codecov.io/docs/testing-with-docker
    Testing with Tox? https://docs.codecov.io/docs/python#section-testing-with-tox
    current dir:  /bugbug
    project root: .
--> token set from env
    Yaml found at: .codecov.yml
==> Running gcov in . (disable via -X gcov)
==> Python coveragepy exists disable via -X coveragepy
    -> Running coverage xml
==> Searching for coverage reports in:
    + .
    -> Found 1 reports
==> Detecting git/mercurial file structure
==> Reading reports
    + ./coverage.xml bytes=432076
==> Appending adjustments
    https://docs.codecov.io/docs/fixing-reports
    -> No adjustments found
==> Gzipping contents
        32K	/tmp/codecov.FbUP1e.gz
==> Uploading reports
    url: https://codecov.io
    query: branch=&commit=9dce609abdb3799479229f52beaf86f99b7bf2cb&build=&build_url=&name=&tag=&slug=&service=&flags=&pr=&job=&cmd_args=
->  Pinging Codecov
https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=66162f89-a4d9-420c-84bd-d10f12a428d9&branch=&commit=9dce609abdb3799479229f52beaf86f99b7bf2cb&build=&build_url=&name=&tag=&slug=&service=&flags=&pr=&job=&cmd_args=
->  Uploading to
https://storage.googleapis.com/codecov/v4/raw/2024-05-25/03D1CA636477FE87A865820EBDD81459/9dce609abdb3799479229f52beaf86f99b7bf2cb/e4c2d4d4-bba8-4abb-8117-1e39b98f0553.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240525%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240525T063905Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd6cfa5a6bf7d2cd33c639176a9b2f0cea053d2f8ffd3bc5b9b2678b88cebb12
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 29748    0     0  100 29748      0   157k --:--:-- --:--:-- --:--:--  158k
    -> Reports have been successfully queued for processing at https://app.codecov.io/github/mozilla/bugbug/commit/9dce609abdb3799479229f52beaf86f99b7bf2cb
[taskcluster 2024-05-25T06:39:07.082Z]    Exit Code: 0
[taskcluster 2024-05-25T06:39:07.082Z]    User Time: 26.509755s
[taskcluster 2024-05-25T06:39:07.082Z]  Kernel Time: 5.334085s
[taskcluster 2024-05-25T06:39:07.082Z]    Wall Time: 5m20.554346849s
[taskcluster 2024-05-25T06:39:07.082Z]       Result: SUCCEEDED
[taskcluster 2024-05-25T06:39:07.082Z] === Task Finished ===
[taskcluster 2024-05-25T06:39:07.082Z] Task Duration: 5m20.554790121s
[taskcluster 2024-05-25T06:39:07.181Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-05-25T07:31:52.207Z