[Bug 1823642] Re: pysmi ftbfs in cosmic

James Page james.page at ubuntu.com
Tue Mar 24 11:47:39 UTC 2020


** Changed in: pysmi (Ubuntu)
       Status: New => Won't Fix

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

Title:
  pysmi ftbfs in cosmic

Status in pysmi package in Ubuntu:
  Won't Fix

Bug description:
  https://launchpadlibrarian.net/418304687/buildlog_ubuntu-cosmic-
  amd64.pysmi_0.2.2-1_BUILDING.txt.gz

  testValueDeclarationSymbol (tests.test_valuedeclaration_smiv2_pysnmp.ValueDeclarationTestCase) ... ok
  testGetDataFromFile (tests.test_zipreader.ZipReaderTestCase) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/pysmi/reader/zipreader.py:99: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmp_pak7lb_'>
    self._pendingError = error.PySmiError('file %s access error: %s' % (self._name, sys.exc_info()[1]))
  ERROR
  testGetInnerZipData (tests.test_zipreader.ZipReaderTestCase) ... /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/pysmi/reader/zipreader.py:99: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpdvbvavps'>
    self._pendingError = error.PySmiError('file %s access error: %s' % (self._name, sys.exc_info()[1]))
  ERROR

  ======================================================================
  ERROR: testGetDataFromFile (tests.test_zipreader.ZipReaderTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/tests/test_zipreader.py", line 180, in testGetDataFromFile
      mibinfo, data = zipReader.getData('testA')
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/pysmi/reader/zipreader.py", line 166, in getData
      raise error.PySmiReaderFileNotFoundError('source MIB %s not found' % mibname, reader=self)
  pysmi.error.PySmiReaderFileNotFoundError: source MIB testA not found

  ======================================================================
  ERROR: testGetInnerZipData (tests.test_zipreader.ZipReaderTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/tests/test_zipreader.py", line 200, in testGetInnerZipData
      mibinfo, data = zipReader.getData('testC')
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build/pysmi/reader/zipreader.py", line 166, in getData
      raise error.PySmiReaderFileNotFoundError('source MIB %s not found' % mibname, reader=self)
  pysmi.error.PySmiReaderFileNotFoundError: source MIB testC not found

  ----------------------------------------------------------------------
  Ran 108 tests in 15.364s

  FAILED (errors=2)
  E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_pysmi/build; python3.7 -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p "3.7 3.6" returned exit code 13
  make: *** [debian/rules:5: build] Error 25
  dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pysmi/+bug/1823642/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list