cargotracker
cargotracker copied to clipboard
Very infrequent build failure on Mac+JDK 11
- clone the master branch
- run
mvn clean package
- sometime got the following error:
[ERROR] Errors:
[ERROR] BookingServiceTest.testAssignRoute » IllegalArgument Malformed escape pair at index 37: http://fe80:0:0:0:f0d8:4cff:feaa:feac%anpi0:9090/cargo-tracker-test
[ERROR] BookingServiceTest.testChangeDeadline » IllegalArgument Malformed escape pair at index 37: http://fe80:0:0:0:f0d8:4cff:feaa:feac%anpi0:9090/cargo-tracker-test
[ERROR] BookingServiceTest.testChangeDestination » IllegalArgument Malformed escape pair at index 37: http://fe80:0:0:0:f0d8:4cff:feaa:feac%anpi0:9090/cargo-tracker-test
[ERROR] BookingServiceTest.testRegisterNew » IllegalArgument Malformed escape pair at index 37: http://fe80:0:0:0:f0d8:4cff:feaa:feac%anpi0:9090/cargo-tracker-test
[ERROR] BookingServiceTest.testRouteCandidates » IllegalArgument Malformed escape pair at index 37: http://fe80:0:0:0:f0d8:4cff:feaa:feac%anpi0:9090/cargo-tracker-test
[INFO]
[ERROR] Tests run: 29, Failures: 0, Errors: 5, Skipped: 0
- when reran
mvn clean package
, it worked and tests passed
What OS and Java version is this? How frequent is it and what could be the general steps to reproduce?
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: /Users/gkwan/tasks/softwares/apache-maven-3.9.1
Java version: 11.0.18, vendor: IBM Corporation, runtime: /Users/gkwan/tasks/softwares/jdk-11.0.18+10/Contents/Home
Default locale: en_CA, platform encoding: UTF-8
OS name: "mac os x", version: "13.5.2", arch: "x86_64", family: "mac"
It happened more than 1 time. That why I opened this issue, to see anyone encountered this problem too. I will keep an eye on it.
Can you please try other Java runtimes like Oracle or Temurin? This will rule out Semeru as a possible issue.
So far unable to reproduce on either Windows or Linux using JDK 11 and Terumin. I don't have access to a Mac. It would be good if someone else can reproduce. Either way, this is probably a JDK, Payara, or Arquillian bug, not an application issue. If it is common, we will document it as a known issue.
- tried Terumin on Mac, the problem also happened in sometimes
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: /Users/gkwan/tasks/softwares/apache-maven-3.9.1
Java version: 11.0.20.1, vendor: Eclipse Adoptium, runtime: /Users/gkwan/tasks/softwares/jdk-11.0.20.1+1.aarch64/Contents/Home
Default locale: en_CA, platform encoding: UTF-8
OS name: "mac os x", version: "13.5.2", arch: "aarch64", family: "mac"
- cannot reproduce on Win and Terumin too.
OK. If time permits, I suggest someone report this to the Payara and/or Arquillian folks.
I was able to have a couple of people test on the Mac - running the build about a dozen times in succession and also using the cargo plugin. There were no problems at all. My guess is this is a somewhat strange environment setup issue of some kind that's not very common.