eclipse-ee4j / cargotracker

The project demonstrates how you can develop applications with Jakarta EE using widely adopted architectural best practices like Domain-Driven Design (DDD).
https://eclipse-ee4j.github.io/cargotracker/
MIT License
347 stars 143 forks source link

Very infrequent build failure on Mac+JDK 11 #284

Closed gkwan-ibm closed 1 month ago

gkwan-ibm commented 1 year ago
[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
m-reza-rahman commented 1 year ago

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

gkwan-ibm commented 1 year ago
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 commented 1 year ago

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.

m-reza-rahman commented 1 year ago

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

m-reza-rahman commented 1 year ago

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.

gkwan-ibm commented 1 year ago
m-reza-rahman commented 1 year ago

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

m-reza-rahman commented 1 year ago

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 commented 1 month ago

I am closing this as non-reproducible.