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

Payara Managed testing failed upgrade to 5.2021.2 #25

Closed
hantsy opened this issue Apr 14, 2021 · 8 comments
Closed

Payara Managed testing failed upgrade to 5.2021.2 #25

hantsy opened this issue Apr 14, 2021 · 8 comments
Labels
Type: Bug Label issue as a bug defect

Comments

@hantsy
Copy link

hantsy commented Apr 14, 2021

This PR caused Payara Manged testing codes failed.

hantsy/cargotracker#43

See the details:

https://github.com/hantsy/cargotracker/pull/43/checks?check_run_id=2337517128#step:6:4091

@hantsy hantsy added the Type: Bug Label issue as a bug defect label Apr 14, 2021
@hantsy
Copy link
Author

hantsy commented Apr 14, 2021

@OndroMih
Copy link

Hi, the reason for failed tests is that Payara Server can't start because:

There is a process already using the admin port 4848 -- it could be another instance of Payara Server or Payara Micro

Later, when the tests want to shut down Payara Server, it's not running:

CLI306: Warning - The server located at /home/runner/work/cargotracker/cargotracker/target/payara5/glassfish/domains/domain1 is not running.

Please make sure that no Payara Server is running before you start the tests and that the port 4848 isn't occupied on your machine. Then run the tests.

@hantsy
Copy link
Author

hantsy commented Apr 14, 2021

Check the latest error link on Github actions.

https://github.com/hantsy/cargotracker/runs/2341810423

It worked in before versions.

Check my workflow file.

https://github.com/hantsy/cargotracker/blob/master/.github/workflows/it-with-arq-payara-managed.yml

Not sure if it is the problem of setup-java v2, after upgraded to setup-java@v2 and the latest Payara, several Payara workflow failed in my Github projects.

@hantsy
Copy link
Author

hantsy commented Apr 16, 2021

Not sure if there are some changes in the Github actions infra, all arquilllian tests against Payara/Glassfish adapters failed now.

https://github.saobby.my.eu.orgmunity/t/arquillian-test-against-payara-glasfish-failed-due-to-4848-port-in-use/174879

@hantsy
Copy link
Author

hantsy commented Apr 17, 2021

In https://github.com/hantsy/cargotracker/ , I removed other Payara-related workflow, only left Payara managed adapter to run the testing codes, still failed.

I am afraid there are some changes from Github actions to affect this.

In the https://github.com/hantsy/jakartaee9-starter-boilerplate, the Glassfish managed and remote adapter also failed now, either setup-java v1 or v2.

@hantsy
Copy link
Author

hantsy commented Apr 17, 2021

Till now, almost all Payara/GlassFish related workflows which worked well in the past months or years are failed in all of my repositories.

@hantsy
Copy link
Author

hantsy commented Apr 18, 2021

@OndroMih I can confirm it could be 100% a problem related to Github actions environment. actions/setup-java#158 (comment), but can not find why it happened. I created a new Circle CI config using the same scripts, it is always successful. Not sure if there are some specific behaviors in the Payara/GlassFish adapters. And if there is some approaches to fix this.

@hantsy
Copy link
Author

hantsy commented Apr 24, 2021

@OndroMih The 4848 error is disappeared in this two days.

@hantsy hantsy closed this as completed Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Label issue as a bug defect
Projects
None yet
Development

No branches or pull requests

2 participants