Errors running different images
Closed this issue · 2 comments
I was exploring BUMP but I get different errors for different images (provided samples below). I assumed that the docker images should be reproducible as is. I’m using Ubuntu 20.04.6 LTS and my docker version is 27.0.3, build 7d4bcd8. Any tips as to what I might be doing wrong?
Example 1:
sarah@smr:~$ docker run [ghcr.io/chains-project/breaking-updates:5769bdad76925da568294cb8a40e7d4469699ac3-breaking](http://ghcr.io/chains-project/breaking-updates:5769bdad76925da568294cb8a40e7d4469699ac3-breaking)
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 5 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 5 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Incrementals Tools POM [pom]
[INFO] lib [jar]
[INFO] incrementals-maven-plugin [maven-plugin]
[INFO] Git Changelist Maven Extension [jar]
[INFO] incrementals-enforcer-rules [jar]
[INFO]
[INFO] ----------------< io.jenkins.tools.incrementals:parent >----------------
[INFO] Building Incrementals Tools POM 1.7-SNAPSHOT [1/5]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ parent ---
[INFO]
[INFO] --- groovy:1.4:testCompile (default) @ parent ---
[INFO] No sources found to compile
[INFO]
[INFO] -----------------< io.jenkins.tools.incrementals:lib >------------------
[INFO] Building lib 1.7-SNAPSHOT [2/5]
[INFO] from lib/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ lib ---
[INFO] Deleting /incrementals-tools/lib/target
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ lib ---
[INFO] skip non existing resourceDirectory /incrementals-tools/lib/src/main/resources
[INFO]
[INFO] --- compiler:3.3:compile (default-compile) @ lib ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /incrementals-tools/lib/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /incrementals-tools/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java:[239,126] status has private access in org.kohsuke.github.GHCompare
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Incrementals Tools POM 1.7-SNAPSHOT:
[INFO]
[INFO] Incrementals Tools POM ............................. SUCCESS [ 0.487 s]
[INFO] lib ................................................ FAILURE [ 0.848 s]
[INFO] incrementals-maven-plugin .......................... SKIPPED
[INFO] Git Changelist Maven Extension ..................... SKIPPED
[INFO] incrementals-enforcer-rules ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.117 s
[INFO] Finished at: 2024-07-07T09:20:35Z
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 3 plugin(s)
[WARNING]
[WARNING] * org.codehaus.gmaven:gmaven-plugin:1.4
[WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.3
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project lib: Compilation failure
[ERROR] /incrementals-tools/lib/src/main/java/io/jenkins/tools/incrementals/lib/UpdateChecker.java:[239,126] status has private access in org.kohsuke.github.GHCompare
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :lib
Example 2:
sarah@smr:~$ docker run [ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking](http://ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking)
Unable to find image '[ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking](http://ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking)' locally
00c78c1273efbc6aeae852963ed328a5cb57092e-breaking: Pulling from chains-project/breaking-updates
31e352740f53: Pull complete
42276f95e61f: Pull complete
2c60921c74b4: Pull complete
486d6f40c491: Pull complete
Digest: sha256:b47e83010984a183516cfcdc388f6dd6535113196e1593c5e7c4bdf9f520d48c
Status: Downloaded newer image for [ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking](http://ghcr.io/chains-project/breaking-updates:00c78c1273efbc6aeae852963ed328a5cb57092e-breaking)
[INFO] Scanning for projects...
[INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:pom:3.17 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:pom:3.17 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Downloading from incrementals: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/tools/maven-hpi-plugin/3.17/maven-hpi-plugin-3.17.pom
[WARNING] The POM for org.jenkins-ci.tools:maven-hpi-plugin:jar:3.17 is missing, no dependency information available
[INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:3.17 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Artifact org.jenkins-ci.tools:maven-hpi-plugin:jar:3.17 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [incrementals (https://repo.jenkins-ci.org/incrementals/, default, releases), central (https://repo.maven.apache.org/maven2, default, releases)]
[INFO] Downloading from incrementals: https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/tools/maven-hpi-plugin/3.17/maven-hpi-plugin-3.17.jar
[WARNING] Failed to build parent project for org.jenkins-ci.plugins:publish-over-ssh:hpi:1.25-SNAPSHOT
[INFO]
[INFO] --------------< org.jenkins-ci.plugins:publish-over-ssh >---------------
[INFO] Building Publish Over SSH 1.25-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ hpi ]---------------------------------
[WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.17:validate (default-validate)'
[WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.17:validate-hpi (default-validate-hpi)'
[WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.17:insert-test (default-insert-test)'
[WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.17:test-hpl (default-test-hpl)'
[WARNING] Parameter 'showDeprecation' is unknown for plugin 'maven-hpi-plugin:3.17:resolve-test-dependencies (default-resolve-test-dependencies)'
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ publish-over-ssh ---
[INFO]
[INFO] --- hpi:3.17:validate (default-validate) @ publish-over-ssh ---
[INFO]
[INFO] --- hpi:3.17:validate-hpi (default-validate-hpi) @ publish-over-ssh ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.733 s
[INFO] Finished at: 2024-07-07T09:23:55Z
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 2 plugin(s)
[WARNING]
[WARNING] * org.apache.maven.plugins:maven-clean-plugin:3.1.0
[WARNING] * org.jenkins-ci.tools:maven-hpi-plugin:3.17
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:3.17:validate-hpi (default-validate-hpi) on project publish-over-ssh: Dependency org.jenkins-ci.plugins:ssh-credentials:jar:277.v95c2fec1c047 requires Jenkins 2.289.3 or higher. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Example 3:
sarah@smr:~$ docker run [ghcr.io/chains-project/breaking-updates:1fc5281e0688c44025fe2b390a7d6e3e3088f385-breaking](http://ghcr.io/chains-project/breaking-updates:1fc5281e0688c44025fe2b390a7d6e3e3088f385-breaking)
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 6 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 6 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] jadler-pom [pom]
[INFO] jadler-core [jar]
[INFO] jadler-jetty [jar]
[INFO] jadler-junit [jar]
[INFO] jadler-jdk [jar]
[INFO] jadler-all [jar]
[INFO]
[INFO] -----------------------< net.jadler:jadler-pom >------------------------
[INFO] Building jadler-pom 1.3.2-SNAPSHOT [1/6]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jadler-pom ---
[INFO]
[INFO] --- enforcer:1.0:enforce (enforce-maven) @ jadler-pom ---
[INFO]
[INFO] -----------------------< net.jadler:jadler-core >-----------------------
[INFO] Building jadler-core 1.3.2-SNAPSHOT [2/6]
[INFO] from jadler-core/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jadler-core ---
[INFO] Deleting /jadler/jadler-core/target
[INFO]
[INFO] --- enforcer:1.0:enforce (enforce-maven) @ jadler-core ---
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ jadler-core ---
[INFO] skip non existing resourceDirectory /jadler/jadler-core/src/main/resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ jadler-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /jadler/jadler-core/target/classes
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[WARNING] [options] bootstrap class path not set in conjunction with -source 6
[WARNING] [options] source value 6 is obsolete and will be removed in a future release
[WARNING] [options] target value 1.6 is obsolete and will be removed in a future release
[WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO]
[INFO] --- resources:3.3.0:testResources (default-testResources) @ jadler-core ---
[INFO] Copying 1 resource
[INFO]
[INFO] --- compiler:3.10.1:testCompile (default-testCompile) @ jadler-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /jadler/jadler-core/target/test-classes
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[WARNING] [options] bootstrap class path not set in conjunction with -source 6
[WARNING] [options] source value 6 is obsolete and will be removed in a future release
[WARNING] [options] target value 1.6 is obsolete and will be removed in a future release
[WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO]
[INFO] --- surefire:3.0.0:test (default-test) @ jadler-core ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.jadler.mocking.VerifyingTest
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.02 s - in net.jadler.mocking.VerifyingTest
[INFO] Running net.jadler.AbstractRequestMatchingTest
[INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in net.jadler.AbstractRequestMatchingTest
[INFO] Running net.jadler.KeyValuesTest
[INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in net.jadler.KeyValuesTest
[INFO] Running net.jadler.RequestTest
[INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in net.jadler.RequestTest
[INFO] Running net.jadler.matchers.PathRequestMatcherTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s - in net.jadler.matchers.PathRequestMatcherTest
[INFO] Running net.jadler.matchers.HeaderRequestMatcherTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in net.jadler.matchers.HeaderRequestMatcherTest
[INFO] Running net.jadler.matchers.RawBodyRequestMatcherTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in net.jadler.matchers.RawBodyRequestMatcherTest
[INFO] Running net.jadler.matchers.ParameterRequestMatcherTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in net.jadler.matchers.ParameterRequestMatcherTest
[INFO] Running net.jadler.matchers.BodyRequestMatcherTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in net.jadler.matchers.BodyRequestMatcherTest
[INFO] Running net.jadler.matchers.QueryStringRequestMatcherTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in net.jadler.matchers.QueryStringRequestMatcherTest
[INFO] Running net.jadler.matchers.RequestMatcherTest
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in net.jadler.matchers.RequestMatcherTest
[INFO] Running net.jadler.matchers.MethodRequestMatcherTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in net.jadler.matchers.MethodRequestMatcherTest
[INFO] Running net.jadler.JadlerMockerTest
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(266): No suitable rule found. Reason:
[main] INFO JadlerMocker.java(454): Verification failed, here is a list of requests received so far:
Request #1: {method=GET, URI=/r1, parameters=[], headers=[], encoding=<none>, body=<empty>}
matching predicates: <none>
clashing predicates: <none>
Request #2: {method=GET, URI=/r2, parameters=[], headers=[], encoding=<none>, body=<empty>}
matching predicates: <none>
clashing predicates: <none>
Request #3: {method=GET, URI=/r3, parameters=[], headers=[], encoding=<none>, body=<empty>}
matching predicates: <none>
clashing predicates: <none>
Request #4: {method=GET, URI=/r4, parameters=[], headers=[], encoding=<none>, body=<empty>}
matching predicates: <none>
clashing predicates: <none>
Request #5: {method=GET, URI=/r5, parameters=[], headers=[], encoding=<none>, body=<empty>}
matching predicates: <none>
clashing predicates: <none>
[INFO] Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.507 s - in net.jadler.JadlerMockerTest
[INFO] Running net.jadler.stubbing.StaticResponderTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in net.jadler.stubbing.StaticResponderTest
[INFO] Running net.jadler.stubbing.HttpStubTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s - in net.jadler.stubbing.HttpStubTest
[INFO] Running net.jadler.stubbing.StubResponseTest
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in net.jadler.stubbing.StubResponseTest
[INFO] Running net.jadler.stubbing.MutableStubResponseTest
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in net.jadler.stubbing.MutableStubResponseTest
[INFO] Running net.jadler.stubbing.StubbingTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 s - in net.jadler.stubbing.StubbingTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 235, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] ----------------------< net.jadler:jadler-jetty >-----------------------
[INFO] Building jadler-jetty 1.3.2-SNAPSHOT [3/6]
[INFO] from jadler-jetty/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ jadler-jetty ---
[INFO] Deleting /jadler/jadler-jetty/target
[INFO]
[INFO] --- enforcer:1.0:enforce (enforce-maven) @ jadler-jetty ---
[INFO]
[INFO] --- resources:3.3.0:resources (default-resources) @ jadler-jetty ---
[INFO] skip non existing resourceDirectory /jadler/jadler-jetty/src/main/resources
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ jadler-jetty ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /jadler/jadler-jetty/target/classes
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] [options] bootstrap class path not set in conjunction with -source 6
[WARNING] [options] source value 6 is obsolete and will be removed in a future release
[WARNING] [options] target value 1.6 is obsolete and will be removed in a future release
[WARNING] [options] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[12,35] error: package org.eclipse.jetty.server.nio does not exist
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JadlerHandler.java:[25] error: JadlerHandler is not abstract and does not override abstract method handle(String,Request,HttpServletRequest,HttpServletResponse) in AbstractHandler
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JadlerHandler.java:[39,4] error: method does not override or implement a method from a supertype
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol
symbol: method setSendServerVersion(boolean)
location: variable server of type Server
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol
symbol: method setSendDateHeader(boolean)
location: variable server of type Server
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[36,33] error: cannot find symbol
symbol: class SelectChannelConnector
location: class JettyStubHttpServer
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol
symbol: method setPort(int)
location: variable httpConnector of type Connector
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol
symbol: method getLocalPort()
location: variable httpConnector of type Connector
[INFO] 8 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for jadler-pom 1.3.2-SNAPSHOT:
[INFO]
[INFO] jadler-pom ......................................... SUCCESS [ 0.273 s]
[INFO] jadler-core ........................................ SUCCESS [ 5.336 s]
[INFO] jadler-jetty ....................................... FAILURE [ 0.757 s]
[INFO] jadler-junit ....................................... SKIPPED
[INFO] jadler-jdk ......................................... SKIPPED
[INFO] jadler-all ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.245 s
[INFO] Finished at: 2024-07-07T09:28:30Z
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 3 plugin(s)
[WARNING]
[WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.10.1
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:3.3.0
[WARNING] * org.apache.maven.plugins:maven-enforcer-plugin:1.0
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project jadler-jetty: Compilation failure: Compilation failure:
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[12,35] error: package org.eclipse.jetty.server.nio does not exist
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JadlerHandler.java:[25] error: JadlerHandler is not abstract and does not override abstract method handle(String,Request,HttpServletRequest,HttpServletResponse) in AbstractHandler
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JadlerHandler.java:[39,4] error: method does not override or implement a method from a supertype
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[33,19] error: cannot find symbol
[ERROR] symbol: method setSendServerVersion(boolean)
[ERROR] location: variable server of type Server
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[34,19] error: cannot find symbol
[ERROR] symbol: method setSendDateHeader(boolean)
[ERROR] location: variable server of type Server
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[36,33] error: cannot find symbol
[ERROR] symbol: class SelectChannelConnector
[ERROR] location: class JettyStubHttpServer
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[37,26] error: cannot find symbol
[ERROR] symbol: method setPort(int)
[ERROR] location: variable httpConnector of type Connector
[ERROR] /jadler/jadler-jetty/src/main/java/net/jadler/stubbing/server/jetty/JettyStubHttpServer.java:[80,28] error: cannot find symbol
[ERROR] symbol: method getLocalPort()
[ERROR] location: variable httpConnector of type Connector
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :jadler-jetty
Hi, Thank you very much for your interest in our research.
Bump is a benchmark of breaking dependency updates. A breaking updates is defined as: a pair of commits for a Java project, which we designate as the pre-commit and the breaking-commit, typically performed by bots such as Dependabot and Renovate. When we build the project with the pre-commit, compilation, and test execution are successful, while the build of the breaking-commit fails.
When you run the images, the mvn clean test
command is executed to build the project inside the docker image, which is the output you see. The examples you show are related to images containing the project with the breaking update. The errors are as expected when you build the project.
If you have any questions please do not hesitate to contact me. You can also read our article where we describe the whole process of BUMP creation. link
Why of course! That makes perfect sense :) I did read the paper and was just testing things out before I try to use the data and I now realize I never actually ran a -pre image. I tried the pre version for one of the images above and it works. Thanks again!