Comments (5)
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.
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.
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.
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-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)
- Error after Warning HOT 7
- Can't get api token from com.openshift.jenkins.plugnis.OpenShiftTokenCredentials in pipeline HOT 5
- List of DSL methods required HOT 3
- Error to parse POM's HOT 4
- 'restart' subcommand is missing for rollout()
- Support current version of oc tool HOT 4
- Plugin installation broke credentials used by other plugins HOT 12
- Argument was classified as an image, image~source, or loaded template reference but should be git repo HOT 7
- Leftover oc processes after wait() calls HOT 7
- Plugin doesn't detect capabilities (--ignore-not-found) from recent OC versions HOT 8
- No credentials shown in cluster configuration dropdown HOT 6
- Job fails if there are spaces in the project name, using raw command HOT 9
- Error flags cannot be placed before plugin name on external Jenkins declarative pipeline HOT 2
- java.nio.file.NoSuchFileException after upgrade to 1.0.37 HOT 5
- Certificate options not escaped HOT 5
- stdout and stderr not correctly splited when running with kubernetes plugin
- Future Release Branches Frozen For Merging | branch:release-4.16 branch:release-4.17
- stdout and stderr not correctly splitted when running with kubernetes plugin (2)
- DeploymentConfig is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-client-plugin.