See <http://robot.radiaatto.ri.fi/job/RobotFramework-Python/3250/changes>
Changes:
[Pekka Klärck] run_atests.py: Own result and temp dirs for different
interpreters.
This allows running tests simultaneously using different interpreters.
Running them simultaneously with same interpreter is explicitly denied.
To be able to safely run tests simultaneously, the new %{TEMPDIR} needs to
be taken into use in tests. This commit only contains that change for one
file that was used for testing that this approach works.
I have already updated our CI jobs to read results from
atests/results/<interpreter>
[Pekka Klärck] atest/robot/cli/rebot/status_rc.txt: cleanup
------------------------------------------
Started by upstream project "RobotFramework Unit Tests" build number 744
Building on master in workspace
<http://robot.radiaatto.ri.fi/job/RobotFramework-Python/ws/>
[workspace] $ hg showconfig paths.default
[workspace] $ hg pull --rev default
[workspace] $ hg update --clean --rev default
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
[workspace] $ hg --config extensions.purge= clean --all
[workspace] $ hg log --rev . --template {node}
[workspace] $ hg log --rev . --template {rev}
[workspace] $ hg log --rev 2efd0a5edf7d04b69f02cc983a1bb092497de85c
[workspace] $ hg log --template "<changeset node='{node}'
author='{author|xmlescape}' rev='{rev}'
date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n"
--rev default:0 --follow --prune 2efd0a5edf7d04b69f02cc983a1bb092497de85c
[workspace] $ /bin/bash -xe /tmp/hudson6852141473995215831.sh
+ TZ=GMT15
+ xvfb-run -n 66 python atest/run_atests.py python -x xunit.xml -e manual
atest/robot
Traceback (most recent call last):
File "atest/run_atests.py", line 107, in <module>
rc = atests(*sys.argv[1:])
File "atest/run_atests.py", line 64, in atests
resultdir, tempdir = _get_result_and_temp_dirs(interpreter)
File "atest/run_atests.py", line 98, in _get_result_and_temp_dirs
os.mkdir(tempdir)
OSError: [Errno 2] No such file or directory: '/tmp/robottests/python'
Build step 'Execute shell' marked build as failure
Robot results publisher started...
-Parsing output xml:
Failed!
<http://robot.radiaatto.ri.fi/job/RobotFramework-Python/ws/atest/results/python>
does not exist.
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:460)
at
hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:64)
at
hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50)
at hudson.FilePath.act(FilePath.java:842)
at hudson.FilePath.act(FilePath.java:824)
at hudson.plugins.robot.RobotParser.parse(RobotParser.java:45)
at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:235)
at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:257)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1527)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)