Giter VIP home page Giter VIP logo

Comments (5)

chriscarpenter12 avatar chriscarpenter12 commented on July 20, 2024

I just noticed that #377 was merged June 13 but hasn't released at jenkinsci/openshift-client-plugin. While I don't think it would fix this issue it could definitely be related. What's the release schedule when PRs are merged here?

It seems the block ran on the jnlp container has no StdOut output with all the verbose output in StdErr, but the container('jnlp') block has a partial json response in StdOut.

Verbose sub-step output:
	Command> oc --server=https://10.217.4.1:443 --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --namespace=jenkins-pipeline --loglevel=8 --token=XXXXX get project/this-project-doesnt-exist -o=name
	Status> 255
	StdOut>
	StdErr> I0912 18:07:06.040261     114 round_trippers.go:432] GET https://10.217.4.1:443/api?timeout=32s
  ....
I0912 18:07:06.728971     114 round_trippers.go:432] GET https://10.217.4.1:443/apis/project.openshift.io/v1/projects/this-project-doesnt-exist
I0912 18:07:06.728991     114 round_trippers.go:438] Request Headers:
I0912 18:07:06.728997     114 round_trippers.go:442]     Accept: application/json
I0912 18:07:06.729000     114 round_trippers.go:442]     User-Agent: oc/4.8.0 (linux/amd64) kubernetes/3de49cf
I0912 18:07:06.729004     114 round_trippers.go:442]     Authorization: Bearer <masked>
I0912 18:07:06.736155     114 round_trippers.go:457] Response Status: 404 Not Found in 7 milliseconds
I0912 18:07:06.736175     114 round_trippers.go:460] Response Headers:
I0912 18:07:06.736180     114 round_trippers.go:463]     Content-Type: application/json
I0912 18:07:06.736183     114 round_trippers.go:463]     X-Kubernetes-Pf-Flowschema-Uid: 19b89718-c11d-4dc5-b40b-5581911b7166
I0912 18:07:06.736185     114 round_trippers.go:463]     Content-Length: 230
I0912 18:07:06.736187     114 round_trippers.go:463]     Audit-Id: e17f5944-7ccc-4927-9bb7-85c8b62f2dd1
I0912 18:07:06.736190     114 round_trippers.go:463]     Audit-Id: e17f5944-7ccc-4927-9bb7-85c8b62f2dd1
I0912 18:07:06.736192     114 round_trippers.go:463]     Cache-Control: no-cache, private
I0912 18:07:06.736195     114 round_trippers.go:463]     Cache-Control: no-store
I0912 18:07:06.736197     114 round_trippers.go:463]     Date: Mon, 12 Sep 2022 18:07:06 GMT
I0912 18:07:06.736201     114 round_trippers.go:463]     X-Kubernetes-Pf-Prioritylevel-Uid: 16a66170-9545-45cd-8d88-25454f255be9
I0912 18:07:06.736235     114 request.go:1123] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces \"this-project-doesnt-exist\" not found","reason":"NotFound","details":{"name":"this-project-doesnt-exist","kind":"namespaces"},"code":404}
I0912 18:07:06.737117     114 helpers.go:216] server response object: [{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "namespaces \"this-project-doesnt-exist\" not found",
  "reason": "NotFound",
  "details": {
    "name": "this-project-doesnt-exist",
    "kind": "namespaces"
  },
  "code": 404
}]
F0912 18:07:06.737144     114 helpers.go:115] Error from server (NotFound): namespaces "this-project-doesnt-exist" not found
...
	Reference> {}

vs container()

Verbose sub-step output:
	Command> oc --server=https://10.217.4.1:443 --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --namespace=jenkins-pipeline --loglevel=8 --token=XXXXX get project/this-project-doesnt-exist -o=name
	Status> 255
	StdOut>  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "namespaces \"this-project-doesnt-exist\" not found",
  "reason": "NotFound",
  "details": {
    "name": "this-project-doesnt-exist",
    "kind": "namespaces"
  },
  "code": 404
}]
...
	StdErr> I0912 18:07:15.631850     119 round_trippers.go:432] GET https://10.217.4.1:443/api?timeout=32s
...
I0912 18:07:16.290324     119 round_trippers.go:432] GET https://10.217.4.1:443/apis/project.openshift.io/v1/projects/this-project-doesnt-exist
I0912 18:07:16.290353     119 round_trippers.go:438] Request Headers:
I0912 18:07:16.290361     119 round_trippers.go:442]     Accept: application/json
I0912 18:07:16.290366     119 round_trippers.go:442]     User-Agent: oc/4.8.0 (linux/amd64) kubernetes/3de49cf
I0912 18:07:16.290376     119 round_trippers.go:442]     Authorization: Bearer <masked>
I0912 18:07:16.297305     119 round_trippers.go:457] Response Status: 404 Not Found in 6 milliseconds
I0912 18:07:16.297332     119 round_trippers.go:460] Response Headers:
I0912 18:07:16.297339     119 round_trippers.go:463]     Content-Type: application/json
I0912 18:07:16.297343     119 round_trippers.go:463]     X-Kubernetes-Pf-Flowschema-Uid: 19b89718-c11d-4dc5-b40b-5581911b7166
I0912 18:07:16.297347     119 round_trippers.go:463]     Audit-Id: 6295e97c-c4a9-4ef9-8493-37e46886e18b
I0912 18:07:16.297352     119 round_trippers.go:463]     Audit-Id: 6295e97c-c4a9-4ef9-8493-37e46886e18b
I0912 18:07:16.297356     119 round_trippers.go:463]     Cache-Control: no-cache, private
I0912 18:07:16.297360     119 round_trippers.go:463]     Cache-Control: no-store
I0912 18:07:16.297367     119 round_trippers.go:463]     Date: Mon, 12 Sep 2022 18:07:16 GMT
I0912 18:07:16.297374     119 round_trippers.go:463]     X-Kubernetes-Pf-Prioritylevel-Uid: 16a66170-9545-45cd-8d88-25454f255be9
I0912 18:07:16.297379     119 round_trippers.go:463]     Content-Length: 230
I0912 18:07:16.297425     119 request.go:1123] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces \"this-project-doesnt-exist\" not found","reason":"NotFound","details":{"name":"this-project-doesnt-exist","kind":"namespaces"},"code":404}
I0912 18:07:16.297716     119 helpers.go:216] server response object: [{
F0912 18:07:16.297793     119 helpers.go:115] Error from server (NotFound): namespaces "this-project-doesnt-exist" not found
...
	Reference> {}

from jenkins-client-plugin.

openshift-bot avatar openshift-bot commented on July 20, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from jenkins-client-plugin.

openshift-bot avatar openshift-bot commented on July 20, 2024

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

from jenkins-client-plugin.

openshift-bot avatar openshift-bot commented on July 20, 2024

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

from jenkins-client-plugin.

openshift-ci avatar openshift-ci commented on July 20, 2024

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from jenkins-client-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.