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

Loading glue code fails (Unsupported transport protocol s3) #468

Open
c14s opened this issue Mar 3, 2023 · 5 comments
Open

Loading glue code fails (Unsupported transport protocol s3) #468

c14s opened this issue Mar 3, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@c14s
Copy link

c14s commented Mar 3, 2023

After having updated to yaks 0.14.2 (yaks-0.14.2-linux-64bit.tar.gz), I'm getting the following exception
(this was working fine in version 0.12.2).

Glue code has been uploaded successfully;
and double-checked that it is available in minio repo.

[ERROR] Failed to execute goal on project yaks-runtime-maven:
Could not resolve dependencies for project org.citrusframework.yaks:yaks-runtime-maven:jar:0.14.2:
Failed to collect dependencies at ...:jar:...:
Failed to read artifact descriptor for ...:jar:...:
Could not transfer artifact ...:pom:... from/to s3 (s3://yaks): 
Cannot access s3://yaks with type default using the available connector factories:
BasicRepositoryConnectorFactory: Cannot access s3://yaks using the registered transporter factories:
WagonTransporterFactory: Unsupported transport protocol s3: java.util.NoSuchElementException

[ERROR]   role: org.apache.maven.wagon.Wagon 
[ERROR]   roleHint: s3
@christophd
Copy link
Member

We did an update on the base image from openjdk to eclipse:temurin and updated the Maven version used in the image. I think this could be the root cause why this is failing.

@christophd christophd added the bug Something isn't working label Mar 14, 2023
@c14s
Copy link
Author

c14s commented Jul 25, 2023

Any update on this? We're still facing this issue in the latest release v0.15.1

@christophd
Copy link
Member

You are using a custom jar artifact with custom step definitions that should be loaded via minio s3, right?

@c14s
Copy link
Author

c14s commented Dec 8, 2023

Yes, that's true. We have a custom jar file with custom step definitions.

yaks upload . is executed successfully;
but when starting the tests with yaks run abc.feature the processing fails.

btw: looks like the exception details have changed a little bit with yaks 0.17.1

[ERROR] Failed to execute goal on project yaks-runtime-maven:
Could not resolve dependencies for project org.citrusframework.yaks:yaks-runtime-maven:jar:0.17.1:
Failed to collect dependencies at ...:...:jar:...:
Failed to read artifact descriptor for ...:...:jar:...:
The following artifacts could not be resolved: ...:...:pom:... (absent):
Could not transfer artifact ...:...:pom:... from/to s3 (s3://yaks):
Cannot access s3://yaks with type default using the available connector factories: BasicRepositoryConnectorFactory:
Cannot access s3://yaks using the registered transporter factories: HttpTransporterFactory, FileTransporterFactory, WagonTransporterFactory

@c14s
Copy link
Author

c14s commented Sep 5, 2024

Any update on this? We're still facing this issue in the latest release v0.20.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants