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

auxiliaryApps parameter giving error #77

Closed
JigneshArtoo opened this issue Jun 18, 2019 · 5 comments
Closed

auxiliaryApps parameter giving error #77

JigneshArtoo opened this issue Jun 18, 2019 · 5 comments
Labels

Comments

@JigneshArtoo
Copy link

Hi,
Thank you for sharing this repo, it's very useful.

I am getting error for auxiliaryApps parameter. I am putting local path to APKs in auxiliaryApps but is giving following error

validator.go:8: Failed to run tests: ValidationException: 1 validation error detected: Value '[extra/app1.apk, extra/app2.apk]' at 'configuration.auxiliaryApps' failed to satisfy constraint: Member must satisfy constraint: [Member must have length less than or equal to 1011, Member must have length greater than or equal to 32]

Can you please help on the same.

Thanking you in advance,
Jignesh

@artemnikitin
Copy link
Owner

Sure, I will look into it

@artemnikitin
Copy link
Owner

Looks like your path to the auxiliary app is too short. https://docs.aws.amazon.com/devicefarm/latest/APIReference/API_ScheduleRunConfiguration.html

Try to rename it from extra/app1.apk to something like extra/test-app1-svsfsdsdfsdf.apk. You need to have at least 32 symbols length.

@JigneshArtoo
Copy link
Author

Hi,
Thank you for your reply.

I tried the same but now its giving following error:
Failed to run tests: ArgumentException: Invalid Upload arn:<local_path_to_APK>

I guess auxiliaryApps is expecting ARN and not local APKs. Is there any way we can upload local APKs in auxiliaryApps?

Regards,
Jignesh

@artemnikitin
Copy link
Owner

@JigneshArtoo I found an issue. Working on a fix now.

@artemnikitin
Copy link
Owner

Issue was fixed in https://github.com/artemnikitin/devicefarm-ci-tool/releases/tag/1.4. Please grab latest binary and run it like:

devicefarm-ci-tool -project name -app /path/to/my/app.apk -config path/to/config.json

config.json should contain line "auxiliaryAppsPath": [ "path/to/app-1", "path/to/app-2" ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants