Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-util/conan: update and fixes #13422

Closed
wants to merge 2 commits into from
Closed

Conversation

winterheart
Copy link
Contributor

  • Updated to 1.19.2 (#696404)
  • Enabled tests (#692036)

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @winterheart
Areas affected: ebuilds
Packages affected: dev-util/conan

dev-util/conan: @winterheart, @gentoo/proxy-maint

Linked bugs

Bugs linked: 692036, 696404


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Oct 24, 2019
dev-util/conan/conan-1.19.2.ebuild Outdated Show resolved Hide resolved
dev-util/conan/conan-1.19.2.ebuild Outdated Show resolved Hide resolved
dev-util/conan/conan-1.19.2.ebuild Show resolved Hide resolved
dev-util/conan/conan-1.19.2.ebuild Outdated Show resolved Hide resolved
@winterheart
Copy link
Contributor Author

@juippis done.

@juippis
Copy link
Member

juippis commented Oct 28, 2019

All looked well for so long :(

======================================================================
FAIL: modify_values_test (conans.test.unittests.client.build.autotools_environment_test.AutoToolsConfigureTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/build/autotools_environment_test.py", line 422, in modify_values_test
    self.assertEqual(be.vars, expected)
AssertionError: {'LIB[60 chars]/path -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__g[404 chars]hes'} != {'LIB[60 chars]/path', 'CFLAGS': 'a_c_flag -m64 -g --sysroot=[248 chars]cxx'}
Diff is 1040 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: rpath_optin_test (conans.test.unittests.client.build.autotools_environment_test.AutoToolsConfigureTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/build/autotools_environment_test.py", line 372, in rpath_optin_test
    self.assertEqual(be.vars, expected)
AssertionError: {'LIB[134 chars]/path -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__g[365 chars]hes'} != {'LIB[134 chars]/path', 'CFLAGS': 'a_c_flag -m64 -O3 -s --sysr[209 chars]lag'}
Diff is 1292 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_variables (conans.test.unittests.client.build.autotools_environment_test.AutoToolsConfigureTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/build/autotools_environment_test.py", line 208, in test_variables
    self.assertEqual(be.vars, expected)
AssertionError: {'LIB[90 chars]\path -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__g[291 chars]hes'} != {'LIB[90 chars]\path', 'CFLAGS': 'a_c_flag -O2 -Ob2 -MD', 'CP[135 chars]lag'}
Diff is 962 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_pkg_config_path (conans.test.unittests.client.build.cmake_test.CMakeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/build/cmake_test.py", line 1079, in test_pkg_config_path
    self.assertEqual(conanfile.captured_env["PKG_CONFIG_PATH"], "/my_install/folder/")
AssertionError: '/tmp/portage/dev-util/conan-1.19.2/temp/py[34 chars]nfig' != '/my_install/folder/'
- /tmp/portage/dev-util/conan-1.19.2/temp/python3.5/pkgconfig:/usr/lib64/pkgconfig
+ /my_install/folder/


======================================================================
FAIL: test_ftp_invalid_auth (conans.test.unittests.client.tools.net_test.ToolsNetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/client/tools/net.py", line 36, in ftp_download
    ftp = ftplib.FTP(ip)
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

conans.errors.ConanException: Error in FTP download from test.rebex.net
[Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/tools/net_test.py", line 43, in test_ftp_invalid_auth
    net.ftp_download("test.rebex.net", "readme.txt", "demo", "invalid")
AssertionError: "530 User cannot log in." does not match "Error in FTP download from test.rebex.net
[Errno -3] Temporary failure in name resolution"

======================================================================
FAIL: test_ftp_invalid_path (conans.test.unittests.client.tools.net_test.ToolsNetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/client/tools/net.py", line 36, in ftp_download
    ftp = ftplib.FTP(ip)
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

conans.errors.ConanException: Error in FTP download from test.rebex.net
[Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/tools/net_test.py", line 38, in test_ftp_invalid_path
    net.ftp_download("test.rebex.net", "invalid-file", "demo", "password")
AssertionError: "550 The system cannot find the file specified." does not match "Error in FTP download from test.rebex.net
[Errno -3] Temporary failure in name resolution"

======================================================================
FAIL: system_package_tool_installed_test (conans.test.unittests.client.tools.system_pm_test.SystemPackageToolTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/client/tools/system_pm_test.py", line 440, in system_package_tool_installed_test
    self.assertTrue(spt._tool.installed(expected_package))
AssertionError: False is not true

======================================================================
FAIL: test_environment_nested (conans.test.unittests.util.tools_test.ToolsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2/conans/test/unittests/util/tools_test.py", line 280, in test_environment_nested
    self.assertEqual(os.getenv("A", None), None)
AssertionError: 'conan-1.19.2.tar.gz' != None

----------------------------------------------------------------------
Ran 2364 tests in 351.670s

FAILED (SKIP=165, errors=102, failures=11)
 * ERROR: dev-util/conan-1.19.2::testworld failed (test phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_test
 *   environment, line 2762:  Called distutils-r1_src_test
 *   environment, line 1000:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  444:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2294:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1654:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1652:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  656:  Called distutils-r1_run_phase 'python_test'
 *   environment, line  931:  Called python_test
 *   environment, line 2663:  Called die
 * The specific snippet of code:
 *       PYTHONPATH=. nosetests -v . || die
 *
 * If you need support, post the output of `emerge --info '=dev-util/conan-1.19.2::testworld'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/conan-1.19.2::testworld'`.
 * The complete build log is located at '/tmp/portage/dev-util/conan-1.19.2/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-util/conan-1.19.2/temp/environment'.
 * Working directory: '/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2'
 * S: '/tmp/portage/dev-util/conan-1.19.2/work/conan-1.19.2'

>>> Failed to emerge dev-util/conan-1.19.2, Log file:

Those tests that require internet connection should be disabled. If upstream provides and easy way to disable them, fixing is easy.

Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Enabling tests (#692036)

Closes: https://bugs.gentoo.org/692036
Closes: https://bugs.gentoo.org/696404
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
@winterheart
Copy link
Contributor Author

@juippis done.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-11-13 23:20 UTC
Newest commit scanned: 855a715
Status: ❌ broken

New issues caused by PR:
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-util/conan

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#app-admin/rsyslog
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#app-admin/vault
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#app-antivirus/clamav-unofficial-sigs
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-db/mariadb
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-lang/php
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-lang/rust
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-lang/rust-bin
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-perl/MogileFS-Server
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-python/python-novaclient
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#dev-util/nvidia-cuda-sdk
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#mail-filter/rspamd
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-analyzer/arp-scan
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-analyzer/nagios-core
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-dns/avahi
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-misc/apt-cacher-ng
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-misc/memcached
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#net-proxy/squid
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#sys-cluster/galera
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#sys-cluster/nova
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#sys-devel/binutils-hppa64
https://qa-reports.gentoo.org/output/gentoo-ci/2db3544/output.html#sys-process/cronie

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I'll update the ebuild to fix CI issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
4 participants