Project

General

Profile

Actions

Bug #2608

open

In-box tests fail to run on CI servers because of existing VMs

Added by Alexander Z. over 5 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
test
Target version:
Start date:
10/11/2018
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:

Description

Error messages on linux machine:

Command: ["docker", "run", "--name", "gitlab-runner-ndk-ubuntu15.10-x86_64", "-d", "--expose", "22", "-p", "127.0.0.1:2202:22", "-c", "4", "-m", "4096m", "crystax/ubuntu15.10-x86_64", "/usr/sbin/sshd", "-D", {:notify=>[:stdout, :stderr]}]

Stderr: /usr/bin/docker: Error response from daemon: Conflict. The container name "/gitlab-runner-ndk-ubuntu15.10-x86_64" is already in use by container "33de8de4b33132b417f5e20e96a94697d1b852070a7cf763c2ebf855079fe4dc". You have to remove (or rename) that container to be able to reuse that name.
See '/usr/bin/docker run --help'.

Error messages on darwin machine:

==> default: Checking if box 'crystax/ndk-macosx10.9' is up to date...
Parallels Desktop virtual machine with the name 'cislave-ndk-macosx10.9' already exists.
Please use another name or delete the machine with the existing
name, and try again.

Error message on linux machine when trying to run tests in winodows box:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'crystax/ndk-windows7-x86_64' is up to date...
A VirtualBox machine with the name 'gitlab-runner-ndk-windows7-x86_64' already exists.
Please use another name or delete the machine with the existing
name, and try again.

Proposed solution: delete all VMs before running tests 'in-box'.

No data to display

Actions

Also available in: Atom PDF