test_libpipeline example fails with /snaps/bin/pipelinetest.pipelinetest: No such file or directory

Bug #1560254 reported by Snappy Microbe-Obliterator
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Leo Arias

Bug Description

The recent changes in ubuntu-core (edge, not yet released to stable) break the libpipeline example:

_StringException: ssh output: {{{b'bash: /snaps/bin/pipelinetest.pipelinetest: No such file or directory\n'}}}

Traceback (most recent call last):
  File "/home/jenkins-slave/workspace/github-snapcraft-examples-tests-cloud/examples_tests/test_libpipeline.py", line 32, in test_libpipeline
    '/snaps/bin/pipelinetest.pipelinetest', expected)
  File "/home/jenkins-slave/workspace/github-snapcraft-examples-tests-cloud/examples_tests/__init__.py", line 164, in assert_command_in_snappy_testbed
    output = self._run_command_in_snappy_testbed(command)
  File "/home/jenkins-slave/workspace/github-snapcraft-examples-tests-cloud/examples_tests/__init__.py", line 169, in _run_command_in_snappy_testbed
    return self.snappy_testbed.run_command(command)
  File "/home/jenkins-slave/workspace/github-snapcraft-examples-tests-cloud/examples_tests/testbed.py", line 68, in run_command
    ssh_command, stderr=subprocess.STDOUT).decode('utf-8')
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ssh', '-l', 'ubuntu', '-p', '22', '10.42.62.33', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=error', '/snaps/bin/pipelinetest.pipelinetest']' returned non-zero exit status 127

Changed in snapcraft:
assignee: nobody → Snappy Microbe-Obliterator (snappy-m-o)
importance: Undecided → High
status: New → In Progress
Changed in snapcraft:
milestone: none → 2.6
Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
assignee: Snappy Microbe-Obliterator (snappy-m-o) → Leo Arias (elopio)
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.