See <https://ci.centos.org/job/atomicapp-test-unittest-pr/48/>
------------------------------------------
[...truncated 1929 lines...]
[1m[31mE + where SystemExit(1,) = <ExceptionInfo SystemExit
tblen=5>.value[0m
tests/units/cli/test_cli_gitlab_example.py:106: AssertionError
----------------------------- Captured stdout call -----------------------------
1459184809 - [INFO] - cli/main.py - Action/Mode Selected is: run
1459184809 - [DEBUG] - cli/main.py - Final parsed cmdline: run --verbose
--dry-run /tmp/test/tests/units/cli/test_examples/gitlab/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init app_path:
/tmp/test/tests/units/cli/test_examples/gitlab/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init image: None
1459184809 - [DEBUG] - nulecule/main.py - Request to unpack to None to
/tmp/test/tests/units/cli/test_examples/gitlab/
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [INFO] - nulecule/base.py - Provider not specified, using default
provider - kubernetes
1459184809 - [ERROR] - cli/main.py - Invalid Provider - 'kubernetes', provided
in answers.conf (choose from docker, kubernetes, openshift, marathon)
[1m[31m________________ TestPersistentStorage.test_missing_requirement
________________[0m
self = <test_ps.TestPersistentStorage testMethod=test_missing_requirement>
[1m def setUp(self):[0m
[1m config = {'helloapache-app': {'image': 'centos/httpd', 'hostport':
80},[0m
[1m 'general': {'namespace': 'default', 'provider':
'kubernetes'}}[0m
[1m graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-lib-mongodb-data', 'size': 4}},[0m
[1m {'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-log-mongodb', 'size': 4}}][0m
[1m self.tmpdir = tempfile.mkdtemp(prefix="atomicapp-test",
dir="/tmp")[0m
[1m self.test = Requirements([0m
[1m> config=config, basepath=self.tmpdir, graph=graph,
provider="kubernetes", dryrun=True)[0m
tests/units/persistent_storage/test_ps.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <atomicapp.requirements.Requirements instance at 0x292ab48>
config = {'general': {'namespace': 'default', 'provider': 'kubernetes'},
'helloapache-app': {'hostport': 80, 'image': 'centos/httpd'}}
basepath = '/tmp/atomicapp-test3qWTYN'
graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce', 'name':
'var-lib-mongodb-data', 'size': 4}}, {'persistentVolume': {'accessMode':
'ReadWriteOnce', 'name': 'var-log-mongodb', 'size': 4}}]
provider = 'kubernetes', dryrun = True
[1m def __init__(self, config, basepath, graph, provider, dryrun):[0m
[1m self.plugin = Plugin()[0m
[1m self.plugin.load_plugins()[0m
[1m [0m
[1m self.config = config[0m
[1m self.basepath = basepath[0m
[1m self.graph = graph[0m
[1m self.dryrun = dryrun[0m
[1m [0m
[1m # We initialize the provider in order to gather
provider-specific[0m
[1m # information[0m
[1m p = self.plugin.getProvider(provider)[0m
[1m> self.provider = p(config, basepath, dryrun)[0m
[1m[31mE TypeError: 'NoneType' object is not callable[0m
atomicapp/requirements.py:39: TypeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 133
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 145
[1m[31m________________________ TestPersistentStorage.test_run
________________________[0m
self = <test_ps.TestPersistentStorage testMethod=test_run>
[1m def setUp(self):[0m
[1m config = {'helloapache-app': {'image': 'centos/httpd', 'hostport':
80},[0m
[1m 'general': {'namespace': 'default', 'provider':
'kubernetes'}}[0m
[1m graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-lib-mongodb-data', 'size': 4}},[0m
[1m {'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-log-mongodb', 'size': 4}}][0m
[1m self.tmpdir = tempfile.mkdtemp(prefix="atomicapp-test",
dir="/tmp")[0m
[1m self.test = Requirements([0m
[1m> config=config, basepath=self.tmpdir, graph=graph,
provider="kubernetes", dryrun=True)[0m
tests/units/persistent_storage/test_ps.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <atomicapp.requirements.Requirements instance at 0x32e50e0>
config = {'general': {'namespace': 'default', 'provider': 'kubernetes'},
'helloapache-app': {'hostport': 80, 'image': 'centos/httpd'}}
basepath = '/tmp/atomicapp-testyHpo9c'
graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce', 'name':
'var-lib-mongodb-data', 'size': 4}}, {'persistentVolume': {'accessMode':
'ReadWriteOnce', 'name': 'var-log-mongodb', 'size': 4}}]
provider = 'kubernetes', dryrun = True
[1m def __init__(self, config, basepath, graph, provider, dryrun):[0m
[1m self.plugin = Plugin()[0m
[1m self.plugin.load_plugins()[0m
[1m [0m
[1m self.config = config[0m
[1m self.basepath = basepath[0m
[1m self.graph = graph[0m
[1m self.dryrun = dryrun[0m
[1m [0m
[1m # We initialize the provider in order to gather
provider-specific[0m
[1m # information[0m
[1m p = self.plugin.getProvider(provider)[0m
[1m> self.provider = p(config, basepath, dryrun)[0m
[1m[31mE TypeError: 'NoneType' object is not callable[0m
atomicapp/requirements.py:39: TypeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 133
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 145
[1m[31m_______________________ TestPersistentStorage.test_stop
________________________[0m
self = <test_ps.TestPersistentStorage testMethod=test_stop>
[1m def setUp(self):[0m
[1m config = {'helloapache-app': {'image': 'centos/httpd', 'hostport':
80},[0m
[1m 'general': {'namespace': 'default', 'provider':
'kubernetes'}}[0m
[1m graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-lib-mongodb-data', 'size': 4}},[0m
[1m {'persistentVolume': {'accessMode': 'ReadWriteOnce',
'name': 'var-log-mongodb', 'size': 4}}][0m
[1m self.tmpdir = tempfile.mkdtemp(prefix="atomicapp-test",
dir="/tmp")[0m
[1m self.test = Requirements([0m
[1m> config=config, basepath=self.tmpdir, graph=graph,
provider="kubernetes", dryrun=True)[0m
tests/units/persistent_storage/test_ps.py:17:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <atomicapp.requirements.Requirements instance at 0x30788c0>
config = {'general': {'namespace': 'default', 'provider': 'kubernetes'},
'helloapache-app': {'hostport': 80, 'image': 'centos/httpd'}}
basepath = '/tmp/atomicapp-testJull_1'
graph = [{'persistentVolume': {'accessMode': 'ReadWriteOnce', 'name':
'var-lib-mongodb-data', 'size': 4}}, {'persistentVolume': {'accessMode':
'ReadWriteOnce', 'name': 'var-log-mongodb', 'size': 4}}]
provider = 'kubernetes', dryrun = True
[1m def __init__(self, config, basepath, graph, provider, dryrun):[0m
[1m self.plugin = Plugin()[0m
[1m self.plugin.load_plugins()[0m
[1m [0m
[1m self.config = config[0m
[1m self.basepath = basepath[0m
[1m self.graph = graph[0m
[1m self.dryrun = dryrun[0m
[1m [0m
[1m # We initialize the provider in order to gather
provider-specific[0m
[1m # information[0m
[1m p = self.plugin.getProvider(provider)[0m
[1m> self.provider = p(config, basepath, dryrun)[0m
[1m[31mE TypeError: 'NoneType' object is not callable[0m
atomicapp/requirements.py:39: TypeError
----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 133
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
stream.write(fs % msg)
File "/usr/lib/python2.7/site-packages/py/_io/capture.py", line 16, in write
StringIO.write(self, data)
ValueError: I/O operation on closed file
Logged from file plugin.py, line 145
[1m[31m___________________ TestCli.test_run_k8s_persistent_storage
____________________[0m
self = <test_ps_cli.TestCli testMethod=test_run_k8s_persistent_storage>
[1m def test_run_k8s_persistent_storage(self):[0m
[1m command = [[0m
[1m "main.py",[0m
[1m "--verbose",[0m
[1m "--dry-run",[0m
[1m "run",[0m
[1m "--provider=kubernetes",[0m
[1m self.examples_dir + 'ps-helloapache/'[0m
[1m ][0m
[1m [0m
[1m with pytest.raises(SystemExit) as exec_info:[0m
[1m self.exec_cli(command)[0m
[1m [0m
[1m> assert exec_info.value.code == 0[0m
[1m[31mE AssertionError: assert 1 == 0[0m
[1m[31mE + where 1 = SystemExit(1,).code[0m
[1m[31mE + where SystemExit(1,) = <ExceptionInfo SystemExit
tblen=5>.value[0m
tests/units/persistent_storage/test_ps_cli.py:71: AssertionError
----------------------------- Captured stdout call -----------------------------
1459184809 - [INFO] - cli/main.py - Action/Mode Selected is: run
1459184809 - [DEBUG] - cli/main.py - Final parsed cmdline: run --verbose
--dry-run --provider=kubernetes
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init app_path:
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init image: None
1459184809 - [DEBUG] - nulecule/main.py - Request to unpack to None to
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [DEBUG] - atomicapp/plugin.py - Loading providers from
/tmp/test/atomicapp/providers
1459184809 - [WARNING] - atomicapp/plugin.py - can't load module
'kubernetes.py': ImportError('No module named pykube.config',)
1459184809 - [INFO] - nulecule/base.py - Provider not specified, using default
provider - kubernetes
1459184809 - [ERROR] - cli/main.py - Invalid Provider - 'kubernetes', provided
in answers.conf (choose from docker, kubernetes, openshift, marathon)
[1m[31m___________________ TestCli.test_stop_k8s_persistent_storage
___________________[0m
self = <test_ps_cli.TestCli testMethod=test_stop_k8s_persistent_storage>
[1m def test_stop_k8s_persistent_storage(self):[0m
[1m command = [[0m
[1m "main.py",[0m
[1m "--verbose",[0m
[1m "--dry-run",[0m
[1m "stop",[0m
[1m "--provider=kubernetes",[0m
[1m self.examples_dir + 'ps-helloapache/'[0m
[1m ][0m
[1m [0m
[1m with pytest.raises(SystemExit) as exec_info:[0m
[1m self.exec_cli(command)[0m
[1m [0m
[1m> assert exec_info.value.code == 0[0m
[1m[31mE AssertionError: assert 1 == 0[0m
[1m[31mE + where 1 = SystemExit(1,).code[0m
[1m[31mE + where SystemExit(1,) = <ExceptionInfo SystemExit
tblen=5>.value[0m
tests/units/persistent_storage/test_ps_cli.py:86: AssertionError
----------------------------- Captured stdout call -----------------------------
1459184809 - [INFO] - cli/main.py - Action/Mode Selected is: stop
1459184809 - [DEBUG] - cli/main.py - Final parsed cmdline: stop --verbose
--dry-run --provider=kubernetes
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init app_path:
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/
1459184809 - [DEBUG] - nulecule/main.py - NuleculeManager init image: None
1459184809 - [ERROR] - cli/main.py - Provided answers file doesn't exist:
/tmp/test/tests/units/persistent_storage/test_examples/ps-helloapache/answers.conf.gen
[1m[31m=========== 10 failed, 70 passed, 1 skipped, 1 error in 0.79 seconds
===========[0m
make: *** [test] Error 1
Connection to n48.dusty.ci.centos.org closed.
Copying checked out repository to host: scp -o UserKnownHostsFile=/dev/null -o
StrictHostKeyChecking=no -r
<https://ci.centos.org/job/atomicapp-test-unittest-pr/ws/>
[email protected]:/tmp/test
Running cmd: ssh -t -t -o UserKnownHostsFile=/dev/null -o
StrictHostKeyChecking=no [email protected] "cd /tmp/test && yum
install -y git epel-release && yum install -y python-pip && pip install
pytest-cov coveralls && pip install pep8 && pip install flake8 && make install
&& make syntax-check && bash -c 'make test' "
Done
Build step 'Execute Python script' marked build as failure
_______________________________________________
Container-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/container-tools