appium / appium/java-client

Few Android Appium scripts are failing when running on mac server

Open
#1,177 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

Few android scripts are not working when executed in a mac server (hosted at the client) using Jenkins. But those are working fine in local machine (both Windows and Mac).
This problem observed only with the Android scripts, here iOS scripts are working as desired in the same Mac server.

Environment

Appium version - 1.10
Android version using Simulator - 8.1
Mac version - 10.14.5
Xcode version - 10.2.1
Mac Server Configurations:"

  • RAM size - 32GB, DDR4
  • Processor - 3.2GHz Intel Core i7
  • Memory - 500GB SSD

Details

All the Appium configurations set as same in both local and server machines but still few of the scripts are getting failed and also all the scripts were running very slow compared with the local machines. Mostly I am getting below exceptions.

"java.io.IOException: unexpected end of stream on Connection{127.0.0.1:4730, proxy=DIRECT hostAddress=/127.0.0.1:4730 cipherSuite=none protocol=http/1.1}"

"no such element exception"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the Android scripts through Jenkins on the Mac server, comparing them with local runs and examining the Appium connection and the reported end-of-stream and no-such-element exceptions; done means the affected scripts run reliably without those failures or the reported slowdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, macos
Domain
ci-cd, mobile, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.