test_addons_modules

./scripts/g.extension – test_addons_modules

Test failed

Testtest_addons_modules
Testsuite./scripts/g.extension
Test file./scripts/g.extension/testsuite/test_addons_modules.py
StatusFAILED
Return code1
Number of tests5
Successful tests4
Failed tests1
Percent successful80%
Test duration0:00:02.575797
Tested modulesg.extension

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
..F..
======================================================================
FAIL: test_remote_zip_install (__main__.TestModulesFromDifferentSources)
Test installing extension from .zip specified by URL (local)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/g.extension/testsuite/test_addons_modules.py", line 120, in test_remote_zip_install
    prefix=self.install_prefix)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <g.extension> module ended with non-zero return code (1)
Called: g.extension(extension='r.plus.example', operation='add', url='file:///home/vpetras/grasstests/testreports/reports_for_date-2019-03-18-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/g.extension/test_addons_modules/data/sample_modules/r.plus.example.zip', prefix='gextension_test_install_path')
See the following errors:
Fetching <r.plus.example> from <file:///home/vpetras/grasstests/testreports/reports_for_date-2019-03-18-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/g.extension/test_addons_modules/data/sample_modules/r.plus.example.zip> (be patient)...
Traceback (most recent call last):
  File "scripts/g.extension", line 1772, in <module>
    sys.exit(main())
  File "scripts/g.extension", line 1751, in main
    install_extension(source=source, url=url, xmlurl=xmlurl)
  File "scripts/g.extension", line 698, in install_extension
    source=source, url=url)
  File "scripts/g.extension", line 1174, in install_extension_std_platforms
    outdev=outdev, directory=srcdir, tmpdir=TMPDIR)
  File "scripts/g.extension", line 1120, in download_source_code
    res = ses.get(url, stream=True)
  File "/home/vpetras/.local/lib/python2.7/site-packages/requests/sessions.py", line 488, in get
    return self.request('GET', url, **kwargs)
  File "/home/vpetras/.local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/vpetras/.local/lib/python2.7/site-packages/requests/sessions.py", line 590, in send
    adapter = self.get_adapter(url=request.url)
  File "/home/vpetras/.local/lib/python2.7/site-packages/requests/sessions.py", line 672, in get_adapter
    raise InvalidSchema("No connection adapters were found for '%s'" % url)
requests.exceptions.InvalidSchema: No connection adapters were found for 'file:///home/vpetras/grasstests/testreports/reports_for_date-2019-03-18-07-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/g.extension/test_addons_modules/data/sample_modules/r.plus.example.zip'


----------------------------------------------------------------------
Ran 5 tests in 1.784s
FAILED (failures=1)