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

Docker desktop Container exiting as soon as it starts, in New Mac M1, Apple Silicon. #153

Open
verma-akv opened this issue Apr 17, 2023 · 0 comments

Comments

@verma-akv
Copy link

Hello guys,
I am having a new Mac M1 apple Silicon , (configuration -MacOs Ventura-13.2.1 (22D68)).
I am using Docker Desktop (Version-4.18.0)
Using Rosetta 2 in terminal.

Here is My run commands..
1. sh copy_tests_to_test_harness.sh
2. cd aries-mobile-test-harness
3. (./manage build -w nb_wallet )
4. LEDGER_URL_CONFIG=http://test.bcovrin.vonx.io REGION=us-west-1 ./manage run -d LocalAndroid -p Android -a /Users/amarjeetverma/Downloads/MyApp.apk -v "AATH;http://0.0.0.0:9030" -i "AATH;http://0.0.0.0:9030" -t @nb_wallet -t @T001-connection

I am able to run till 3rd command -- ./manage build -w nb_wallet
When i am running my 4th command- I am getting the issue

Running with Device Cloud Service SauceLabs
Executing tests without Allure Reports.
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Path to the config file = /aries-mobile-test-harness/aries-mobile-tests/features/../config.json
Starting Chrome on Mac or Windows for Issuer Agent
[WDM] - Downloading: 100%|█████████████████| 6.75M/6.75M [00:00<00:00, 9.86MB/s]
HOOK-ERROR in before_feature: WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x0040006e6fe3
#1 0x004000425d36
#2 0x00400044eb20
#3 0x00400044aa9b
#4 0x00400048caf7
#5 0x00400048c11f
#6 0x004000483693
#7 0x00400045603a
#8 0x00400045717e
#9 0x0040006a8dbd
#10 0x0040006acc6c
#11 0x0040006b64b0
#12 0x0040006add63
#13 0x004000680c35
#14 0x0040006d1138
#15 0x0040006d12c7
#16 0x0040006df093
#17 0x004002585fa3 start_thread

when I see the logs in container of Docker.. I can see that container starts..but exits in 2-3 secs. and its image of (AMD64) ..

Anyone please help me out to fix it

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

No branches or pull requests

1 participant