Skip to content

TestConcurrentBuildImageChangeTriggerControllers flake #12899

Closed

Description

@bparees
--- FAIL: TestConcurrentBuildImageChangeTriggerControllers (65.27s)
	controllers.go:312: Timed out waiting for watch: initial build added
	etcd.go:99: dumping etcd to "/tmp/openshift/test-integration//etcd-dump-runtime.call32.json"

as seen in https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/11008/consoleFull#55367059856bf4006e4b05b79524e5923

appears to be caused by the imagechangecontroller never starting up because it's waiting for the shared informer cache to sync:

I0207 02:58:32.423681   21876 factory.go:331] Waiting for the bc caches to sync before starting the imagechange buildconfig controller worker
I0207 02:58:32.423687   21876 factory.go:331] Waiting for the bc caches to sync before starting the imagechange buildconfig controller worker
I0207 02:58:32.424077   21876 factory.go:331] Waiting for the bc caches to sync before starting the imagechange buildconfig controller worker

@deads2k can you offer some insight as to why the cache would sometimes fail to sync?

the logic for setting up the caches and sync check are here:
https://github.com/openshift/origin/blob/master/pkg/cmd/server/origin/run_components.go#L305-L314
https://github.com/openshift/origin/blob/master/pkg/build/controller/factory/factory.go#L302-L339

Activity

  1. added
    kind/test-flake
    on Feb 9, 2017
  2. self-assigned this
    on Feb 9, 2017
  3. bparees commented on Feb 9, 2017

    @bparees
    ContributorAuthor
  4. bparees commented on Feb 10, 2017

    @bparees
    ContributorAuthor

    yeah, looks identical... BC caches never reported they were synced. Need @liggitt or @deads2k to provide some shared informer expertise on the code i linked above.

  5. smarterclayton commented on Feb 11, 2017

    @smarterclayton
    Contributor
  6. bparees commented on Feb 21, 2017

    @bparees
    ContributorAuthor

    turns out i think this is the same issue as #12017, the imagechangecontroller is seeing the event before its buildconfig cache contains the newly created buildconfig, so it doesn't take any action on the imagestream event (because it can't find a buildconfig that cares about that event).

    not sure what's up w/ all the "waiting for sync" messages, but i think they are a red herring.

  7. bparees commented on Mar 11, 2017

    @bparees
    ContributorAuthor

    @Kargakis did you confirm the ose branch your pull is against has the fix that closed this issue? It went in pretty recently.

  8. 0xmichalis commented on Mar 11, 2017

    @0xmichalis
    Contributor

    Yeah master hasn't been updated in a while so it's likely that the fix is missing from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/buildkind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions