Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New error building spring boot app on fabric8 console . Running minikube #295

Open
avgKol opened this issue Aug 17, 2017 · 0 comments
Open

Comments

@avgKol
Copy link

avgKol commented Aug 17, 2017

Getting new build error, building spring boot app on fabric8 console . Running minikube

	Started by user anonymous

Cloning the remote Git repository
Cloning repository http://gogs/gogsadmin/newapp2.git

/usr/bin/git init /var/jenkins_home/workspace/newapp2@script # timeout=10
Fetching upstream changes from http://gogs/gogsadmin/newapp2.git
/usr/bin/git --version # timeout=10
/usr/bin/git fetch --tags --progress http://gogs/gogsadmin/newapp2.git +refs/heads/:refs/remotes/origin/
/usr/bin/git config remote.origin.url http://gogs/gogsadmin/newapp2.git # timeout=10
/usr/bin/git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
/usr/bin/git config remote.origin.url http://gogs/gogsadmin/newapp2.git # timeout=10
Fetching upstream changes from http://gogs/gogsadmin/newapp2.git
/usr/bin/git fetch --tags --progress http://gogs/gogsadmin/newapp2.git +refs/heads/:refs/remotes/origin/
/usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
/usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 98a5309793028cfd2c6ad08bf1f7c8d1f693c5f6 (refs/remotes/origin/master)
/usr/bin/git config core.sparsecheckout # timeout=10
/usr/bin/git checkout -f 98a5309793028cfd2c6ad08bf1f7c8d1f693c5f6
First time build. Skipping changelog.
Loading library github.com/fabric8io/fabric8-pipeline-library@master
/usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://github.com/fabric8io/fabric8-pipeline-library.git
/usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
Fetching origin...
Fetching upstream changes from origin
/usr/bin/git --version # timeout=10
/usr/bin/git fetch --tags --progress origin +refs/heads/:refs/remotes/origin/
/usr/bin/git rev-parse master^{commit} # timeout=10
/usr/bin/git rev-parse origin/master^{commit} # timeout=10
Cloning the remote Git repository
Cloning repository https://github.com/fabric8io/fabric8-pipeline-library.git
/usr/bin/git init /var/jenkins_home/workspace/newapp2@libs/github.com/fabric8io/fabric8-pipeline-library # timeout=10
Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
/usr/bin/git --version # timeout=10
/usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/:refs/remotes/origin/
/usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
/usr/bin/git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
/usr/bin/git config remote.origin.url https://github.com/fabric8io/fabric8-pipeline-library.git # timeout=10
Fetching upstream changes from https://github.com/fabric8io/fabric8-pipeline-library.git
/usr/bin/git fetch --tags --progress https://github.com/fabric8io/fabric8-pipeline-library.git +refs/heads/:refs/remotes/origin/
Checking out Revision a06228a (master)
/usr/bin/git config core.sparsecheckout # timeout=10
/usr/bin/git checkout -f a06228a
First time build. Skipping changelog.
[Pipeline] echo
WARNING: Failed to invoke Environments.namespaceForEnvironment(environment) probably due to API whitelisting: groovy.lang.MissingPropertyException: No such property: io for class: io.fabric8.Utils
[Pipeline] echo
WARNING: Failed to invoke Environments.namespaceForEnvironment(environment) probably due to API whitelisting: groovy.lang.MissingPropertyException: No such property: io for class: io.fabric8.Utils
[Pipeline] End of Pipeline
org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods count java.lang.String java.lang.String
at org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist.rejectStaticMethod(StaticWhitelist.java:192)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:95)
at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
at io.fabric8.Utils.getRepoName(file:/var/jenkins_home/jobs/newapp2/builds/1/libs/github.com/fabric8io/fabric8-pipeline-library/src/io/fabric8/Utils.groovy:536)
at buildId.call(/var/jenkins_home/jobs/newapp2/builds/1/libs/github.com/fabric8io/fabric8-pipeline-library/vars/buildId.groovy:9)
at mavenTemplate.call(/var/jenkins_home/jobs/newapp2/builds/1/libs/github.com/fabric8io/fabric8-pipeline-library/vars/mavenTemplate.groovy:9)
at mavenNode.call(/var/jenkins_home/jobs/newapp2/builds/1/libs/github.com/fabric8io/fabric8-pipeline-library/vars/mavenNode.groovy:8)
at WorkflowScript.run(WorkflowScript:34)
at cps.transform(Native Method)
at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:58)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:328)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Finished: FAILURE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant