question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Device has no activity for more than 100 seconds - during the test

See original GitHub issue

Hi. I’m getting a message in the Appium logs while testing is in progress:

Found Device with udid Samsung-Galaxy-S10-Android-12:5555 has no activity for more than 100 seconds

even though the test is still running. When no test is queued then there is no problem, the test is completed. However, when someone else tries to use the device it hits a busy error.

UiAutomator2 Server cannot start because the local port #46223 is busy. Make sure the port you provide via 'systemPort' capability is not occupied. This situation might often be a result of an inaccurate sessions management, e.g. old automation sessions on the same device must always be closed before starting new ones.

Do you know where the problem might be?

Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy Appium: v2.0.0-beta.44 Device-farm: v2.0.0-beta.4 Device: Emulator on docker https://github.com/budtmo/docker-android connected remote to adb

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
saikrishna321commented, Sep 28, 2022

@yusufperferfer @SubbuLomada Please try the latest version. Issue fixed.

0reactions
yusufperferfercommented, Sep 27, 2022

AFAIK, this might occur when the session is not deleted and a new session is being created on the same device.

@yusufperferfer Could you share the test details… if possible set a sample repo. That would help us debug the issue faster.

It’s just that the tests on the session are ongoing, and despite their duration, the device farm reports the device as not in use, even though it is not. It seems to me that this is not an issue of deleting the session, as it should not be deleted while the test is in progress

Read more comments on GitHub >

github_iconTop Results From Across the Web

Device has no activity for more than 100 seconds - during the test ...
Found Device with udid Samsung-Galaxy-S10-Android-12:5555 has no activity for more than 100 seconds. even though the test is still running. When no test...
Read more >
AppiumTestDistribution/appium-device-farm - GitHub
If there is no activity on a session for more then 100 seconds, device allocated to respective session would be unblocked and made...
Read more >
appium-device-farm - npm
If there is no activity on a session for more then 100 seconds, device allocated to respective session would be unblocked and made...
Read more >
JMeter understanding ramp-up - Stack Overflow
The sample or request generation is a different concept than Thread generation.In you case, 100 threads were up within 10 seconds.
Read more >
Test Criteria for Amazon Appstore Apps
When you submit your Amazon Fire device app or game to the Amazon Appstore, the app must pass a series of tests to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found