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

Configure Servlet 6.1 TCK to run SSL/Certificate tests #24960

Merged
merged 7 commits into from
May 28, 2024

Conversation

arjantijms
Copy link
Contributor

No description provided.

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms added this to the 8.0.0 milestone May 23, 2024
@arjantijms arjantijms self-assigned this May 23, 2024
@arjantijms arjantijms changed the title Configure TCK to run SSL/Certificate tests Configure Servlet 6.1 TCK to run SSL/Certificate tests May 23, 2024
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms marked this pull request as draft May 23, 2024 12:32
@arjantijms
Copy link
Contributor Author

Draft: needs release of updated Arquillian connector still

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms marked this pull request as ready for review May 23, 2024 13:32
@avpinchuk
Copy link
Contributor

avpinchuk commented May 23, 2024

Also failed create-file-user command if run from project root

@arjantijms
Copy link
Contributor Author

Also failed create-file-user command if run from project root

What command did you exactly used to run it? Do you mean the main GlassFish root? create-file users use the same setup as a couple of other TCKs are using, so they would fail then as well.

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@avpinchuk
Copy link
Contributor

Also failed create-file-user command if run from project root

What command did you exactly used to run it? Do you mean the main GlassFish root? create-file users use the same setup as a couple of other TCKs are using, so they would fail then as well.

E.g.,

cd ~/build/glassfish
mvn clean install -Pstaging,tck -pl :jakarta-servlet-tck,:glassfish-external-tck-servlet

@arjantijms
Copy link
Contributor Author

Also failed create-file-user command if run from project root

What command did you exactly used to run it? Do you mean the main GlassFish root? create-file users use the same setup as a couple of other TCKs are using, so they would fail then as well.

E.g.,

cd ~/build/glassfish
mvn clean install -Pstaging,tck -pl :jakarta-servlet-tck,:glassfish-external-tck-servlet

Thanks, obviously that should work. I'll take a look.

@avpinchuk
Copy link
Contributor

Snippet from build log:

Executing post boot command using command: [java, -jar, /home/avpinchuk/build/glassfish/appserver/tests/tck/servlet/target/glassfish8/glassfish/modules/admin-cli.jar, create-file-user, --groups, Manager:Employee, --passwordfile, /home/avpinchuk/build/glassfish/javajoe.pass, javajoe, -t]
RemoteCLICommand.prepare throws exception. Invalid file for option: --passwordfile: java.io.FileNotFoundException: /home/avpinchuk/build/glassfish/javajoe.pass (No such file or directory)
Invalid file for option: --passwordfile: java.io.FileNotFoundException: /home/avpinchuk/build/glassfish/javajoe.pass (No such file or directory)
Usage: nadmin [-H|--host <host(default:localhost)>]
	[-p|--port <port(default:4848)>] [-u|--user <user(default:admin)>]
	[-W|--passwordfile <passwordfile>]
	[-t|--terse[=<terse(default:false)>]]
	[-s|--secure[=<secure(default:false)>]]
	[-e|--echo[=<echo(default:false)>]]
	[-I|--interactive[=<interactive(default:true)>]]
	[-?|--help[=<help(default:false)>] 
	[--detach(default:false)] 
	[--notify(default:false)] [subcommand [options] [operands]]
Command create-file-user failed.

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms
Copy link
Contributor Author

Snippet from build log:

Executing post boot command using command: [java, -jar, /home/avpinchuk/build/glassfish/appserver/tests/tck/servlet/target/glassfish8/glassfish/modules/admin-cli.jar, create-file-user, --groups, Manager:Employee, --passwordfile, /home/avpinchuk/build/glassfish/javajoe.pass, javajoe, -t]
RemoteCLICommand.prepare throws exception. Invalid file for option: --passwordfile: java.io.FileNotFoundException: /home/avpinchuk/build/glassfish/javajoe.pass (No such file or directory)
Invalid file for option: --passwordfile: java.io.FileNotFoundException: /home/avpinchuk/build/glassfish/javajoe.pass (No such file or directory)
Usage: nadmin [-H|--host <host(default:localhost)>]
	[-p|--port <port(default:4848)>] [-u|--user <user(default:admin)>]
	[-W|--passwordfile <passwordfile>]
	[-t|--terse[=<terse(default:false)>]]
	[-s|--secure[=<secure(default:false)>]]
	[-e|--echo[=<echo(default:false)>]]
	[-I|--interactive[=<interactive(default:true)>]]
	[-?|--help[=<help(default:false)>] 
	[--detach(default:false)] 
	[--notify(default:false)] [subcommand [options] [operands]]
Command create-file-user failed.

Thanks it's fixed now ;)

@arjantijms arjantijms merged commit f0bb4e7 into eclipse-ee4j:8.0 May 28, 2024
2 checks passed
@arjantijms arjantijms deleted the 80_servlet61_tck branch May 28, 2024 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants