** Description changed:

+ [ Impact ]
+ 
  Building apport on stonking fails due to test_vlog_created failing:
  
  ```
  _____________________ TestApportValgrind.test_vlog_created 
_____________________
  
  self = <tests.integration.test_apport_valgrind.TestApportValgrind
  testMethod=test_vlog_created>
  
-     def test_vlog_created(self) -> None:
-         """apport-valgrind creates valgrind.log with expected content."""
-         cmd = ["apport-valgrind", "--no-sandbox", "true"]
-         os.chdir(self.workdir)
+     def test_vlog_created(self) -> None:
+         """apport-valgrind creates valgrind.log with expected content."""
+         cmd = ["apport-valgrind", "--no-sandbox", "true"]
+         os.chdir(self.workdir)
  >       self.assertEqual(self._call(cmd), (0, "", ""))
  E       AssertionError: Tuples differ: (0, '', "coreutils: unknown program 
'memcheck-amd64-linux'\n") != (0, '', '')
- E       
+ E
  E       First differing element 2:
  E       "coreutils: unknown program 'memcheck-amd64-linux'\n"
  E       ''
- E       
+ E
  E       - (0, '', "coreutils: unknown program 'memcheck-amd64-linux'\n")
  E       + (0, '', '')
  
  tests/integration/test_apport_valgrind.py:83: AssertionError
  ```
  
  This is caused by rust-coreutils using a multi-call binary.
+ 
+ [ Test Plan ]
+ 
+ Check that package builds successful and the autopkgtest is run
+ successfully on all architectures (except for riscv64 which hasn't been
+ successful in the past, see bug #2159030).
+ 
+ [ Where problems could occur ]
+ 
+ The change only touches the test code. The test cases are only part of
+ the apport source package and are not copied in any binary packages.
+ Changes to the test will only affect the package build and test
+ execution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158973

Title:
  test_vlog_created fails with: coreutils: unknown program 'memcheck-
  amd64-linux'

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2158973/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to