Using Selenium JUnit export and Selenium Docker

We're trying to set up the selenium/standalone-chrome image to run exported Selenium tests, but encountering a simple Maven artifact error:

Starting: /bin/sh -c "docker pull selenium/standalone-chrome && . /opt/buildagent/temp/agentTmp/docker-wrapper-8339949129205496697.sh && docker run --rm -w /opt/buildagent/work/f0825b3be73aebbb --label jetbrains.teamcity.buildId=1622 -v "/dev/shm:/dev/shm" -v "/opt/buildagent/lib:/opt/buildagent/lib:ro" -v "/opt/buildagent/tools:/opt/buildagent/tools:ro" -v "/opt/buildagent/plugins:/opt/buildagent/plugins:ro" -v "/opt/buildagent/work/f0825b3be73aebbb:/opt/buildagent/work/f0825b3be73aebbb" -v "/opt/buildagent/temp/agentTmp:/opt/buildagent/temp/agentTmp" -v "/opt/buildagent/temp/buildTmp:/opt/buildagent/temp/buildTmp" -v "/opt/buildagent/system:/opt/buildagent/system" --env-file /opt/buildagent/temp/agentTmp/docker-wrapper-4136039207809522846.envList --entrypoint /bin/sh selenium/standalone-chrome /opt/buildagent/temp/agentTmp/docker-shell-script-6203411994183968524.sh"
...[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): /opt/buildagent/system/jetbrains.maven.runner/maven.repo.local/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom.part.lock (No such file or directory) -> [Help 1]

 

The build configuration is pretty simple:

Does anyone have some insight into this issue? Searching on Selenium's github page and the usual suspects doesn't pull up any leads.

0

Please sign in to leave a comment.