Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Unable to update BuildConfig for git component #3096

@prietyc123

Description

@prietyc123

/kind bug

What versions of software are you using?

Operating System:
All supported

Output of odo version:
master

How did you run odo exactly?

Running tests on CI.

Actual behavior

Running odo with args [odo create nodejs cmp-git --project edzhxobjpi --min-cpu 0.1 --max-cpu 2 --context /tmp/630926741 --app testing]
[odo] Validation
[odo]  •  Validating component  ...
[odo] 
 ✓  Validating component [43ms]
[odo] 
[odo] Please use `odo push` command to create the component with source deployed
Running odo with args [odo push --context /tmp/630926741]
[odo] Validation
[odo]  •  Checking component  ...
[odo] 
 ✓  Checking component [68ms]
[...]
✓  Waiting for component to start [38s]
[odo]  •  Syncing files to the component  ...
[odo] 
 ✓  Syncing files to the component [258ms]
[odo]  •  Building component  ...
[odo] 
 ✓  Building component [7s]
[odo]  ✓  Changes successfully pushed to component
Running oc with args [oc get dc cmp-git-testing --namespace edzhxobjpi -o go-template='{{range.spec.template.spec.containers}}{{.resources.limits.cpu}}{{end}}']
[oc] '2'Running oc with args [oc get dc cmp-git-testing --namespace edzhxobjpi -o go-template='{{range.spec.template.spec.containers}}{{.resources.requests.cpu}}{{end}}']
[oc] '100m'Running odo with args [odo update --git https://github.com/openshift/nodejs-ex.git --context /tmp/630926741]
[odo] 
[odo] Configuration changes
[odo]  •  Retrieving component data  ...



[odo]  ✗  Retrieving component data [13s]
[odo]  ✗  Failed To Update Config To Component Deployed.
[odo] Error: unable to update BuildConfig  for cmp-git component: 
unable to create BuildConfig for cmp-git-testing: Internal error occurred: admission plugin
 "build.openshift.io/BuildConfigSecretInjector" failed to complete mutation in 13s



Deleting project: edzhxobjpi
Running odo with args [odo project delete edzhxobjpi -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application testing
[odo] This application has following components that will be deleted
[odo] component named cmp-git
[odo] No services / could not get services
[odo]  •  Deleting project edzhxobjpi  ...
[odo] 
 ✓  Deleting project edzhxobjpi [6s]
[odo]  ✓  Deleted project : edzhxobjpi
Deleting dir: /tmp/630926741
• Failure [67.698 seconds]
odo component command tests
/go/src/github.com/openshift/odo/tests/integration/cmd_cmp_test.go:13
  odo component updating
  /go/src/github.com/openshift/odo/tests/integration/component.go:593
    should be able to create a git component and update it from local to git [It]
    /go/src/github.com/openshift/odo/tests/integration/component.go:602
    No future change is possible.  Bailing out early after 13.353s.
      
    Running odo with args [odo update --git https://github.com/openshift/nodejs-ex.git --context /tmp/630926741]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

Expected behavior

Should able to push git component

Any logs, error output, etc?

more details: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/pr-logs/pull/openshift_odo/3041/pull-ci-openshift-odo-master-v4.2-integration-e2e/68#1:build-log.txt%3A499

Metadata

Metadata

Assignees

No one assigned

    Labels

    flakeCategorizes issue or PR as related to a flaky test.kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions