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

Staged EL TCK contains reference to unavailable SNAPSHOT version of parent #1298

Open
markt-asf opened this issue May 8, 2024 · 13 comments
Open
Assignees
Labels
11.0 Issues related to the Jakarta EE 11 Platform TCK release

Comments

@markt-asf
Copy link
Contributor

Describe the bug
The EL 6.0.0 TCK staged at https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/ contains a reference (under META-INF/maven) to version 10.0.0-SNAPSHOT of its parent POM. There are two issues:

  • a released version of the TCK should not depend on a SNAPSHOT
  • the SNAPSHOT version is not available in the snapshot repository

To Reproduce
Steps to reproduce the behavior:

  1. Download the zip
  2. Extract the TCK JAR
  3. Use the Maven install plugin to add the JAR to your local repository
  4. Try and use the TCK JAR

Expected behavior
Maven shoudl be able to resolve all of the dependencies of this JAR without using snapshots.

Additional context
It can be worked around by changing the reference to jakarta.tck:project:11.0.0-M1 in the pom file generated for this JAR in your local Maven repository.

@brideck
Copy link
Contributor

brideck commented May 22, 2024

It should be noted that this bug is also present in the official release of the TCK at https://download.eclipse.org/jakartaee/expression-language/6.0/jakarta-expression-language-tck-6.0.0.zip

Open Liberty would appreciate this being fixed in a formal 6.0.x release, as it's a silly bug to have to work around to get things running out of the box.

@scottmarlow scottmarlow added the 11.0 Issues related to the Jakarta EE 11 Platform TCK release label May 28, 2024
@alwin-joseph
Copy link
Contributor

It should be noted that this bug is also present in the official release of the TCK at https://download.eclipse.org/jakartaee/expression-language/6.0/jakarta-expression-language-tck-6.0.0.zip

Open Liberty would appreciate this being fixed in a formal 6.0.x release, as it's a silly bug to have to work around to get things running out of the box.

I have staged https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.1.zip. Can you verify this bundle once so it can be released to official location.

@brideck
Copy link
Contributor

brideck commented Jul 17, 2024

I have staged https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.1.zip. Can you verify this bundle once so it can be released to official location.

Sorry, I missed this comment when it was first posted. I can confirm that the staged 6.0.1 EL TCK resolves this issue to our satisfaction with Open Liberty. Presumably @markt-asf would feel the same way?

@markt-asf
Copy link
Contributor Author

I'm happy if @brideck is happy

@markt-asf
Copy link
Contributor Author

Sorry, scratch that. 6.0.1 appears to be broken.

I'm not 100% certain as I can't figure out how the 6.0.1 EL TCK was built. If someone could point me to the tag that was used that would help. I'm not even sure which branch it was created from.

What I can tell is that 6.0.1 depends on sigtest-maven-plugin which has changed the syntax for the IgnoreJDKClass option. 6.0.1 still uses the old syntax which means that the signature test fails. Forcing the sigtest-maven-plugin dependency back to 2.2 fixes the problem.

@scottmarlow
Copy link
Contributor

scottmarlow commented Jul 20, 2024 via email

scottmarlow added a commit that referenced this issue Jul 20, 2024
…igtest 2.3

Signed-off-by: Scott Marlow <smarlow@redhat.com>
@scottmarlow
Copy link
Contributor

I started the https://ci.eclipse.org/jakartaee-tck/job/11/job/standalone-tck/job/eftl-EL-standalonetck-build/20 job which should re-stage the EL 6.0.1. TCK with change 0004e52

@scottmarlow
Copy link
Contributor

http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/ has updated https://www.eclipse.org/downloads/download.php?file=/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.1.zip

https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl/jakarta-expression-language-tck-6.0.1-tckinfo.txt contents:


*** TCK bundle information ***
*** Name: jakarta-expression-language-tck-6.0.1.zip ***
*** Bundle Copied to URL: http://download.eclipse.org/ee4j/jakartaee-tck/jakartaee11/staged/eftl//jakarta-expression-language-tck-6.0.1.zip ***
*** Date and size: date: 2024-07-20 12:26:16.168503608 +0000, size(b): 543923 ***
*** SHA256SUM: 8ca4339e1b93c8f490c38b5888d8a54d09f7d12257b222bff2d44d665f323cee ***



Please let me know if the signature tests work now for you. As well as any other problems. I'll push a tag if all tests pass for you.

@markt-asf
Copy link
Contributor Author

Tx for the quick response. All looks good now. EL 6.0.1 TCK passes with current Tomcat 11.0.x source.

@scottmarlow
Copy link
Contributor

Tag for this staged build is https://github.com/jakartaee/platform-tck/releases/tag/expression-language-tck-6.0.1.zip

@alwin-joseph
Copy link
Contributor

Thanks Scott for the fix! I created PR jakartaee/specifications#768 to release the TCK bundle.

@brideck
Copy link
Contributor

brideck commented Jul 31, 2024

Not sure if you're waiting for me at all, but it looks like I need to make a quick update on my end to handle the follow-on sigtest update. Should be able to give this the all clear by the end of today.

@brideck
Copy link
Contributor

brideck commented Jul 31, 2024

All right, that didn't take nearly as long as I thought it might. The more recent staged 6.0.1 release looks good on my end as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.0 Issues related to the Jakarta EE 11 Platform TCK release
Projects
Status: In progress
Development

No branches or pull requests

4 participants