cargotracker icon indicating copy to clipboard operation
cargotracker copied to clipboard

Very infrequent build failure on Mac+JDK 11

Open gkwan-ibm opened this issue 1 year ago • 8 comments

[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

gkwan-ibm avatar Sep 19 '23 21:09 gkwan-ibm

What OS and Java version is this? How frequent is it and what could be the general steps to reproduce?

m-reza-rahman avatar Sep 19 '23 21:09 m-reza-rahman

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"

gkwan-ibm avatar Sep 19 '23 22:09 gkwan-ibm

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.

gkwan-ibm avatar Sep 19 '23 22:09 gkwan-ibm

Can you please try other Java runtimes like Oracle or Temurin? This will rule out Semeru as a possible issue.

m-reza-rahman avatar Sep 19 '23 22:09 m-reza-rahman

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.

m-reza-rahman avatar Sep 20 '23 00:09 m-reza-rahman

  • 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.

gkwan-ibm avatar Sep 20 '23 18:09 gkwan-ibm

OK. If time permits, I suggest someone report this to the Payara and/or Arquillian folks.

m-reza-rahman avatar Sep 20 '23 18:09 m-reza-rahman

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.

m-reza-rahman avatar Sep 22 '23 01:09 m-reza-rahman