You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running hack/../test/cmd/builds.sh:81: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"origin-ruby-sample:latest"}}}}'' expecting success...
FAILURE after 0.285s: hack/../test/cmd/builds.sh:81: executing 'oc patch bc/ruby-sample-build -p '{"spec":{"output":{"to":{"name":"origin-ruby-sample:latest"}}}}'' expecting success: the command returned the wrong error code
There was no output from the command.
Standard error from the command:
Error from server: unable to find api field in struct BuildConfig for the json field "metadata"
[FAIL] !!!!! Test Failed !!!!
I saw it had a recent entry and decided to leave it open for a bit
longer. I want to catalog all the flakes and see what we can do to
make it easier to figure out when flakes are happening and search for
approximate counts. Failure causes is leaving something to be desired
right now.
Running hack/../test/cmd/builds.sh:80: executing 'oc get istag busybox:1' expecting any result and text 'busybox@sha256:'; re-trying every 0.2s until completion or 60.000s...
SUCCESS after 0.439s: hack/../test/cmd/builds.sh:80: executing 'oc get istag busybox:1' expecting any result and text 'busybox@sha256:'; re-trying every 0.2s until completion or 60.000s
Running hack/../test/cmd/builds.sh:81: executing 'oc patch bc/busybox -p '{"spec":{"postCommit":{"script":"echo hello $1","args":["world"],"command":null}}}'' expecting success...
FAILURE after 0.481s: hack/../test/cmd/builds.sh:81: executing 'oc patch bc/busybox -p '{"spec":{"postCommit":{"script":"echo hello $1","args":["world"],"command":null}}}'' expecting success: the command returned the wrong error code
There was no output from the command.
Standard error from the command:
Error from server: unable to find api field in struct BuildConfig for the json field "metadata"
Activity
deads2k commentedon Dec 21, 2015
Does anyone see how this can flake?
https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/k8s.io/kubernetes/third_party/forked/json/fields.go#L33-L57
deads2k commentedon Dec 21, 2015
@liggitt @smarterclayton I'm not seeing the potential for inconsistent results.
0xmichalis commentedon Dec 21, 2015
👽
rhcarvalho commentedon Jan 8, 2016
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/8336/console in #6587
smarterclayton commentedon Feb 5, 2016
Scary, but have not seen this since then.
bparees commentedon Feb 5, 2016
@smarterclayton did you mean to reopen it?
smarterclayton commentedon Feb 6, 2016
bparees commentedon Feb 16, 2016
as seen in #7322 this seems to be becoming a popular flake. @deads2k i'm having a hard time seeing how this is build specific.
W/o knowing much about how patch works, the only suspicious thing I see is that this cache might get corrupt/stale/empty?
https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/k8s.io/kubernetes/third_party/forked/json/fields.go#L34
smarterclayton commentedon Feb 18, 2016
Happened again today.
smarterclayton commentedon Feb 18, 2016
This is almost certainly a serious bug somewhere, moving to p1
25 remaining items
ncdc commentedon Mar 17, 2016
I can confirm that this is flaking because the object that is passed to LookupPatchMetadata is e.g. api.BuildConfig, not v1.BuildConfig.
smarterclayton commentedon Mar 17, 2016
Which should never happen, which probably means something else is seriously
wrong.
On Thu, Mar 17, 2016 at 12:11 PM, Andy Goldstein [email protected]
wrote:
liggitt commentedon Mar 17, 2016
is this client side or server side (or both)?
ncdc commentedon Mar 17, 2016
ncdc commentedon Mar 17, 2016
Server
ncdc commentedon Mar 17, 2016
This is from commit 7e38050 with some extra logging I added to fields.go
liggitt commentedon Mar 17, 2016
opened #8098 to use versioned object when recomputing patches
ncdc commentedon Mar 17, 2016
@liggitt's fix seems to nail it
bparees commentedon Mar 17, 2016
assigning to Andy since he deserves the credit for chasing this down.
ncdc commentedon Mar 17, 2016
Catch @liggitt, you're it!