bob-release:1570 failed |
|||||
Issue descriptionFiled by sheriff-o-matic@appspot.gserviceaccount.com on behalf of adurbin@google.com bob-release:1570 failed Builders failed on: - bob-release: http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=8947013124746653488
,
May 9 2018
Luigi, what's the expectation of cumulative_metrics.cc's environment it is ran in?
,
May 9 2018
Not a lot of expectations---pretty plain UNIX. I am taking a look right now.
,
May 9 2018
This is the output from running with FEATURES=test emerge-cyan metrics:
cmd: {/var/cache/portage/chromeos-base/metrics/out/Default/cumulative_metrics_test} '/var/cache/portage/chromeos-base/metrics/out/Default/cumulative_metrics_test'
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from CumulativeMetricsTest
[ RUN ] CumulativeMetricsTest.TestLoop
[0509/195513:ERROR:cumulative_metrics.cc(59)] cannot find CHROMEOS_RELEASE_VERSION
[0509/195513:WARNING:persistent_integer.cc(96)] cannot open /tmp/.org.chromium.Chromium.9cmoAX/cumulative.testing.cycle.start for reading: No such file or directory
[0509/195513:WARNING:persistent_integer.cc(96)] cannot open /tmp/.org.chromium.Chromium.9cmoAX/cumulative.testing.version.hash for reading: No such file or directory
[0509/195513:WARNING:persistent_integer.cc(96)] cannot open /tmp/.org.chromium.Chromium.9cmoAX/cumulative.testing.x.pi for reading: No such file or directory
[0509/195513:WARNING:persistent_integer.cc(96)] cannot open /tmp/.org.chromium.Chromium.9cmoAX/cumulative.testing.y.pi for reading: No such file or directory
[ OK ] CumulativeMetricsTest.TestLoop (592 ms)
[----------] 1 test from CumulativeMetricsTest (592 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (592 ms total)
[ PASSED ] 1 test.
Bob is aarch64, but the unit test is built and run on x86_64 so that should not matter.
There might be flakiness in the test. I'll look for it. Did it fail on any other platforms?
,
May 9 2018
Yes, a lot of canary builds are affected, e.g. elm, fizz, gandof, grunt,...
,
May 9 2018
So we're running the tests on the builders proper? I guess we just do that for unit tests in general -- even within a specific build target?
,
May 9 2018
#6 yes that's correct. I guess some tests may change depending on the build, otherwise it might make more sense to just build and run them once. I found the problem. I think I'll have to revert that change for now. https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1012196 (also the CQ-DEPEND) It's a timing issue. I made incorrect assumptions on the semantics of the event loop. I'll need to make the test more robust.
,
May 9 2018
We chumped those reverts, but a build failed in an unexpected way: https://luci-logdog.appspot.com/v/?s=chromeos/buildbucket/cr-buildbucket.appspot.com/8946971071489242832/+/steps/InitSDK/0/stdout metrics-0.0.1-r2806: OSError: [Errno 2] No such file or directory: 'cumulative_metrics.h' Do we need to manually bump the ebuild version?
,
May 9 2018
bump it to r2807 ?
,
May 9 2018
Yes, I think #10 is right.
,
May 9 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/48d3f1b7ccf720a25c7dee65c1a7fcc0086e3439 commit 48d3f1b7ccf720a25c7dee65c1a7fcc0086e3439 Author: Luigi Semenzato <semenzato@chromium.org> Date: Wed May 09 22:47:46 2018 metrics: manually bump ebuild version to ensure revert is effective. BUG= https://crbug.com/841485 Change-Id: I00e2496e6fa2ea3865d297f84e662d8e130a3ade Reviewed-on: https://chromium-review.googlesource.com/1053241 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Benjamin Gordon <bmgordon@chromium.org> Reviewed-by: Lann Martin <lannm@chromium.org> Commit-Queue: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> [add] https://crrev.com/48d3f1b7ccf720a25c7dee65c1a7fcc0086e3439/chromeos-base/metrics/metrics-0.0.1-r2807.ebuild
,
Aug 2
,
Aug 6
Fixed a while ago. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by adurbin@chromium.org
, May 9 2018