New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 840033 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocked on:
issue 858923



Sign in to add a comment

CacheTemperatureTests failing on chromeos

Project Member Reported by warx@chromium.org, May 4 2018

Issue description

Start builder: 
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8947474499330907376

/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user                            [  FAILED  ]
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user                              FAIL: The unit tests of /usr/local/telemetry/src/third_party/catapult/telemetry failed.
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests        [  FAILED  ]
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          FAIL: The unit tests of /usr/local/telemetry/src/third_party/catapult/telemetry failed.
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.109 ERROR|               log:0027| pre-test siteration sysinfo error:
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.121 ERROR|         traceback:0013| Traceback (most recent call last):
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.131 ERROR|         traceback:0013|   File "/usr/local/autotest/common_lib/log.py", line 25, in decorated_func
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.141 ERROR|         traceback:0013|     fn(*args, **dargs)
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.151 ERROR|         traceback:0013|   File "/usr/local/autotest/bin/base_sysinfo.py", line 394, in log_before_each_iteration
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.160 ERROR|         traceback:0013|     board = utils.get_board_with_frequency_and_memory()
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.168 ERROR|         traceback:0013|   File "/usr/local/autotest/bin/utils.py", line 2052, in get_board_with_frequency_and_memory
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.177 ERROR|         traceback:0013|     frequency = int(round(get_cpu_max_frequency() * 1e-8)) * 0.1
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.186 ERROR|         traceback:0013|   File "/usr/local/autotest/bin/utils.py", line 1879, in get_cpu_max_frequency
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.194 ERROR|         traceback:0013|     paths = _get_cpufreq_paths('cpuinfo_max_freq')
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.201 ERROR|         traceback:0013|   File "/usr/local/autotest/bin/utils.py", line 2136, in _get_cpufreq_paths
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.214 ERROR|         traceback:0013|     paths = utils.run(cmd, verbose=False).stdout.splitlines()
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.225 ERROR|         traceback:0013|   File "/usr/local/autotest/common_lib/utils.py", line 748, in run
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.234 ERROR|         traceback:0013|     "Command returned non-zero exit status")
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.244 ERROR|         traceback:0013| CmdError: Command <ls /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq> failed, rc=2, Command returned non-zero exit status
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.252 ERROR|         traceback:0013| * Command:
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.266 ERROR|         traceback:0013|     ls /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.272 ERROR|         traceback:0013| Exit status: 2
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.282 ERROR|         traceback:0013| Duration: 0.00498700141907
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.289 ERROR|         traceback:0013|
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.296 ERROR|         traceback:0013| stderr:
/tmp/cbuildbotcRerND/telemetry_unit_server/test_harness/all/SimpleTestVerify/1_autotest_tests/results-1-telemetry_UnitTestsServer/telemetry_UnitTestsServer.user/telemetry_UnitTests          05/04 03:01:45.303 ERROR|         traceback:0013| ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq': No such file or directory

Achuith, could you take a look?
 

Comment 1 by warx@chromium.org, May 7 2018

Cc: -warx@chromium.org sammiequon@chromium.org malaykeshav@chromium.org
Cc: achuith@chromium.org
Owner: nedngu...@google.com
Summary: CacheTemperatureTests failing on chromeos (was: amd64-generic-telemetry telemetry_UnitTestsServer failure)
The following CacheTemperatureTests are failing: testEnsureAny, testEnsureHotAfterColdAndWarmRun, testEnsureHotAfterColdRun, testEnsureHotBrowser, testEnsureWarmAfterColdRun, testEnsureWarmBrowser

Failure stack:
05/08 06:53:07.385 INFO |run_chromeos_tests:0052| [624/1164] telemetry.page.cache_temperature_unittest.CacheTemperatureTests.testEnsureAny failed unexpectedly 19.8075s:
05/08 06:53:07.387 INFO |run_chromeos_tests:0052|   Traceback (most recent call last):
05/08 06:53:07.389 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/page/cache_temperature_unittest.py", line 28, in setUp
05/08 06:53:07.391 INFO |run_chromeos_tests:0052|       example_domain.EXAMPLE_PAGE_ARCHIVE_PATH)
05/08 06:53:07.392 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators.py", line 52, in traced_function
05/08 06:53:07.394 INFO |run_chromeos_tests:0052|       return func(*args, **kwargs)
05/08 06:53:07.396 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/core/network_controller.py", line 44, in StartReplay
05/08 06:53:07.397 INFO |run_chromeos_tests:0052|       archive_path, make_javascript_deterministic, extra_wpr_args)
05/08 06:53:07.399 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/platform/network_controller_backend.py", line 140, in StartReplay
05/08 06:53:07.400 INFO |run_chromeos_tests:0052|       'Archive path does not exist: %s' % archive_path)
05/08 06:53:07.402 INFO |run_chromeos_tests:0052|   ArchiveDoesNotExistError: Archive path does not exist: /usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/testing/test_page_sets/data/example_domain_001.wprgo

Looks like this CL is probably responsible:
https://chromium-review.googlesource.com/c/catapult/+/1040989

I'll disable the tests for now.
Project Member

Comment 4 by bugdroid1@chromium.org, May 8 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/catapult/+/a6dce83342305bc657c46cc14f34c9e2520b1929

commit a6dce83342305bc657c46cc14f34c9e2520b1929
Author: Achuith Bhandarkar <achuith@chromium.org>
Date: Tue May 08 16:57:11 2018

Disable cache_temperature tests on chromeos.

BUG=chromium:840033
TEST=None

Change-Id: Id0af8babd1c61b657ec8aac33bd0e18bc3f8d10c
Reviewed-on: https://chromium-review.googlesource.com/1050425
Reviewed-by: Ned Nguyen <nednguyen@google.com>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>

[modify] https://crrev.com/a6dce83342305bc657c46cc14f34c9e2520b1929/telemetry/telemetry/page/cache_temperature_unittest.py

Project Member

Comment 5 by bugdroid1@chromium.org, May 8 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/dcbf21bc6f11cc97e49554d18908aa01bea01af8

commit dcbf21bc6f11cc97e49554d18908aa01bea01af8
Author: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Date: Tue May 08 19:17:29 2018

Roll src/third_party/catapult/ 08f785343..a6dce8334 (1 commit)

https://chromium.googlesource.com/catapult.git/+log/08f785343ab3..a6dce8334230

$ git log 08f785343..a6dce8334 --date=short --no-merges --format='%ad %ae %s'
2018-05-08 achuith Disable cache_temperature tests on chromeos.

Created with:
  roll-dep src/third_party/catapult
BUG=chromium:840033


The AutoRoll server is located here: https://catapult-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.


TBR=sullivan@chromium.org

Change-Id: I8f31b645893821634c756a7f65e29415e7a39048
Reviewed-on: https://chromium-review.googlesource.com/1050430
Reviewed-by: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Commit-Queue: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#556916}
[modify] https://crrev.com/dcbf21bc6f11cc97e49554d18908aa01bea01af8/DEPS

Project Member

Comment 6 by bugdroid1@chromium.org, May 9 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/catapult/+/4a13b64861dc64457f225a772233438ae35f311d

commit 4a13b64861dc64457f225a772233438ae35f311d
Author: nednguyen <nednguyen@google.com>
Date: Wed May 09 20:58:36 2018

Update cache_temperature_unittest to fetch dependency from cloud storage

Bug: chromium:840033
Change-Id: I454f51606e4191a813ce1fefe0426bbbf8ea9a4c
Reviewed-on: https://chromium-review.googlesource.com/1053047
Commit-Queue: Ned Nguyen <nednguyen@google.com>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>

[modify] https://crrev.com/4a13b64861dc64457f225a772233438ae35f311d/telemetry/telemetry/internal/testing/test_page_sets/example_domain.py
[modify] https://crrev.com/4a13b64861dc64457f225a772233438ae35f311d/telemetry/telemetry/page/cache_temperature_unittest.py

Project Member

Comment 7 by bugdroid1@chromium.org, May 10 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/36f4fb67dbab5f322565ef5f26608e465b948745

commit 36f4fb67dbab5f322565ef5f26608e465b948745
Author: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Date: Thu May 10 00:46:13 2018

Roll src/third_party/catapult/ 35d1268e4..4a13b6486 (1 commit)

https://chromium.googlesource.com/catapult.git/+log/35d1268e4901..4a13b64861dc

$ git log 35d1268e4..4a13b6486 --date=short --no-merges --format='%ad %ae %s'
2018-05-09 nednguyen Update cache_temperature_unittest to fetch dependency from cloud storage

Created with:
  roll-dep src/third_party/catapult
BUG=chromium:840033


The AutoRoll server is located here: https://catapult-roll.skia.org

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.


TBR=sullivan@chromium.org

Change-Id: I66f5f2fc14485379a416c1f2e040737ee918433e
Reviewed-on: https://chromium-review.googlesource.com/1053104
Reviewed-by: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Commit-Queue: catapult-chromium-autoroll <catapult-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#557395}
[modify] https://crrev.com/36f4fb67dbab5f322565ef5f26608e465b948745/DEPS

Status: Fixed (was: Assigned)
Stack: 
05/11 12:17:42.711 INFO |run_chromeos_tests:0052| [622/1163] telemetry.page.cache_temperature_unittest.CacheTemperatureTests.testEnsureAny failed unexpectedly 18.0870s:
05/11 12:17:42.712 INFO |run_chromeos_tests:0052|   Traceback (most recent call last):
05/11 12:17:42.713 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/page/cache_temperature_unittest.py", line 28, in setUp
05/11 12:17:42.713 INFO |run_chromeos_tests:0052|       example_domain.FetchExampleDomainArchive())
05/11 12:17:42.714 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/testing/test_page_sets/example_domain.py", line 23, in FetchExampleDomainArchive
05/11 12:17:42.714 INFO |run_chromeos_tests:0052|       'example_domain_wpr_go_archive', p.GetArchName(), p.GetOSName())
05/11 12:17:42.715 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/telemetry/telemetry/internal/util/binary_manager.py", line 77, in FetchPath
05/11 12:17:42.716 INFO |run_chromeos_tests:0052|       binary_name, _GetOSName(os_name), arch, os_version)
05/11 12:17:42.716 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/binary_manager.py", line 38, in FetchPath
05/11 12:17:42.717 INFO |run_chromeos_tests:0052|       os_version)
05/11 12:17:42.717 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/common/py_utils/py_utils/binary_manager.py", line 60, in _WrapDependencyManagerFunction
05/11 12:17:42.718 INFO |run_chromeos_tests:0052|       return function(binary_name, platform)
05/11 12:17:42.719 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/dependency_manager/dependency_manager/manager.py", line 130, in FetchPath
05/11 12:17:42.720 INFO |run_chromeos_tests:0052|       path, _ = self.FetchPathWithVersion(dependency, platform)
05/11 12:17:42.721 INFO |run_chromeos_tests:0052|     File "/usr/local/telemetry/src/third_party/catapult/dependency_manager/dependency_manager/manager.py", line 89, in FetchPathWithVersion
05/11 12:17:42.721 INFO |run_chromeos_tests:0052|       raise exceptions.NoPathFoundError(dependency, platform)
05/11 12:17:42.722 INFO |run_chromeos_tests:0052|   NoPathFoundError: No file could be found locally, and no file to download from cloud storage for example_domain_wpr_go_archive on platform linux_x86_64

Sammie - can you post a CL to disable the tests?
Project Member

Comment 12 by bugdroid1@chromium.org, May 12 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/catapult/+/b424d15a6070120cc1d332856fc5649e3d9a5efc

commit b424d15a6070120cc1d332856fc5649e3d9a5efc
Author: Sammie Quon <sammiequon@google.com>
Date: Sat May 12 03:44:21 2018

Disable cache_temperature tests on chromeos.

Bug=chromium:840033
TEST=None

Change-Id: Iad48cd079e8f1a99e59d0646dcfe1cec73aea1d4
Reviewed-on: https://chromium-review.googlesource.com/1056087
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>

[modify] https://crrev.com/b424d15a6070120cc1d332856fc5649e3d9a5efc/telemetry/telemetry/page/cache_temperature_unittest.py

Cc: -sammiequon@chromium.org -malaykeshav@chromium.org derat@chromium.org

Comment 14 by kbr@chromium.org, Jun 29 2018

Blockedon: 858923
Owner: nednguyen@chromium.org

Comment 16 by benhenry@google.com, Jan 16 (6 days ago)

Components: Test>Telemetry

Comment 17 by benhenry@google.com, Jan 16 (6 days ago)

Components: -Tests>Telemetry

Sign in to add a comment