New issue
Advanced search Search tips

Issue 859182 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----



Sign in to add a comment

Buildbucket test flake on xenial

Project Member Reported by tandrii@chromium.org, Jun 29 2018

Issue description

Running appengine/cr-buildbucket...
.....................................................................................EE.E.E.......E......E.........................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test.search_test.SearchTest.test_search_bucket (/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/appengine/cr-buildbucket/test/search_test.expected/SearchTest.test_search_bucket.json)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/ENV/lib/python2.7/site-packages/expect_tests/pipeline.py", line 398, in process_test
    subresult = subtest.run()
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/ENV/lib/python2.7/site-packages/expect_tests/type_definitions.py", line 253, in run
    return self.func_call(context=context)
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/ENV/lib/python2.7/site-packages/expect_tests/type_definitions.py", line 168, in __call__
    return f.func(*f.args, **f.kwargs)
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/ENV/lib/python2.7/site-packages/expect_tests/unittest_helper.py", line 40, in _RunTestCaseSingle
    return Result(test_method())
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/appengine/cr-buildbucket/test/search_test.py", line 190, in test_search_bucket
    self.put_build(self.test_build)
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/appengine/cr-buildbucket/test/search_test.py", line 97, in put_build
    build.put()
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/google_appengine/google/appengine/ext/ndb/model.py", line 3458, in _put
    return self._put_async(**ctx_options).get_result()
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/google_appengine/google/appengine/ext/ndb/model.py", line 3470, in _put_async
    self._prepare_for_put()
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/google_appengine/google/appengine/ext/ndb/model.py", line 3352, in _prepare_for_put
    prop._prepare_for_put(self)
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/google_appengine/google/appengine/ext/ndb/model.py", line 2837, in _prepare_for_put
    self._get_value(entity)  # For its side effects.
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/google_appengine/google/appengine/ext/ndb/model.py", line 2832, in _get_value
    value = self._func(entity)
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/appengine/cr-buildbucket/model.py", line 122, in <lambda>
    status_v2 = ndb.ComputedProperty(lambda self: self._compute_v2_status())
  File "/mnt/data/b/s/w/ir/cache/infra_gclient_with_go/infra/appengine/cr-buildbucket/model.py", line 244, in _compute_v2_status
    status_to_v2(self, build_v2)
TypeError: 'NoneType' object is not callable
==== captured logging output ====
LOG:
(empty)
STDOUT:
(empty)
STDERR:
(empty)

and a few more similar ones. See more in 
https://ci.chromium.org/p/infra/builders/luci.infra.ci/infra-continuous-xenial-64/10899
https://logs.chromium.org/v/?s=infra%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8942357457638048432%2F%2B%2Fsteps%2Finfra_python_tests%2F0%2Fstdout
 

Comment 1 by no...@chromium.org, Jun 29 2018

Status: Started (was: Assigned)
https://chromium-review.googlesource.com/c/infra/infra/+/1121115
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/45902db6fce486d1761ecfabe4a54191739f1a18

commit 45902db6fce486d1761ecfabe4a54191739f1a18
Author: Nodir Turakulov <nodir@google.com>
Date: Fri Jun 29 21:23:33 2018

[buildbucket] Deflake search_test.py

Bug:  859182 
Change-Id: I4d825eca3be9dc12ea1d9450cbae0ba05a583c9f
Reviewed-on: https://chromium-review.googlesource.com/1121115
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>

[modify] https://crrev.com/45902db6fce486d1761ecfabe4a54191739f1a18/appengine/cr-buildbucket/test/search_test.py

Comment 3 by no...@chromium.org, Jun 29 2018

Status: Fixed (was: Started)
4eb79fc

PATH (e.g., /system/bin/4eb79fc

Sign in to add a comment