Skip to content

Instantly share code, notes, and snippets.

@harlowja
Created December 2, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harlowja/eb6f6688b3d6cefcaf302e588e034d9f to your computer and use it in GitHub Desktop.
Save harlowja/eb6f6688b3d6cefcaf302e588e034d9f to your computer and use it in GitHub Desktop.
ERROR: test_network_interfaces (tests.unittests.test_datasource.test_opennebula.TestOpenNebulaDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/cloud-init@2/cloud-init/tests/unittests/test_datasource/test_opennebula.py", line 213, in test_network_interfaces
results = ds.read_context_disk_dir(self.seed_dir)
File "/home/jenkins/workspace/cloud-init@2/cloud-init/cloudinit/sources/DataSourceOpenNebula.py", line 410, in read_context_disk_dir
(out, _) = util.subp(['/sbin/ip', 'link'])
File "/home/jenkins/workspace/cloud-init@2/cloud-init/cloudinit/util.py", line 1719, in subp
errno=e.errno)
ProcessExecutionError: Unexpected error while running command.
Command: ['/sbin/ip', 'link']
Exit code: -
Reason: [Errno 2] No such file or directory
Stdout: ''
Stderr: ''
-------------------- >> begin captured logging << --------------------
cloudinit.util: DEBUG: Reading from /tmp/tmpT_eCYw/seed/opennebula/context.sh (quiet=False)
cloudinit.util: DEBUG: Read 62 bytes from /tmp/tmpT_eCYw/seed/opennebula/context.sh
cloudinit.util: DEBUG: Running command ['bash', '-e'] with allowed return codes [0] (shell=False, capture=True)
cloudinit.util: DEBUG: Running command ['/sbin/ip', 'link'] with allowed return codes [0] (shell=False, capture=True)
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
XML: /home/jenkins/workspace/cloud-init@2/cloud-init/results.xml
----------------------------------------------------------------------
Ran 631 tests in 4.913s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment