Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636446 - dev-python/llfuse-1.3 : argparse.ArgumentError: argument --log-format: conflicting option string(s): --log-format
Summary: dev-python/llfuse-1.3 : argparse.ArgumentError: argument --log-format: confli...
Status: RESOLVED DUPLICATE of bug 636468
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-11-03 17:39 UTC by Toralf Förster
Modified: 2017-11-04 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.87 KB, text/plain)
2017-11-03 17:39 UTC, Toralf Förster
Details
dev-python:llfuse-1.3:20171103-100358.log (dev-python:llfuse-1.3:20171103-100358.log,8.83 KB, text/plain)
2017-11-03 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.63 KB, text/plain)
2017-11-03 17:39 UTC, Toralf Förster
Details
environment (environment,108.91 KB, text/plain)
2017-11-03 17:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.26 KB, application/x-bzip)
2017-11-03 17:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.18 KB, application/x-bzip)
2017-11-03 17:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-11-03 17:39:40 UTC
  File "/usr/lib64/python2.7/argparse.py", line 1467, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --log-format: conflicting option string(s): --log-format
 * ERROR: dev-python/llfuse-1.3::gentoo failed (test phase):
 *   Tests failed under python2.7
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_abi32+64-test_20171029-135004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-python/llfuse
[ebuild  N    ] dev-python/llfuse-1.3  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_5 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2017-11-03 17:39:43 UTC
Created attachment 502266 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-03 17:39:46 UTC
Created attachment 502268 [details]
dev-python:llfuse-1.3:20171103-100358.log
Comment 3 Toralf Förster gentoo-dev 2017-11-03 17:39:49 UTC
Created attachment 502270 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-03 17:39:52 UTC
Created attachment 502272 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-03 17:39:55 UTC
Created attachment 502274 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-03 17:39:59 UTC
Created attachment 502276 [details]
temp.tbz2
Comment 7 Tim Harder gentoo-dev 2017-11-03 18:39:02 UTC
It looks like you have a broken install of pytest or something similar on your tinderbox image.
Comment 8 Mike Gilbert gentoo-dev 2017-11-03 20:11:21 UTC

*** This bug has been marked as a duplicate of bug 636468 ***
Comment 9 Toralf Förster gentoo-dev 2017-11-04 10:06:56 UTC
(In reply to Tim Harder from comment #7)
well, we discussed this yesterday in IRC:

[17:56] ‎<‎toralf‎>‎ what os the root cause of so many "dev-python/rst-linker-1.9-r1 : argparse.ArgumentError: argument --log-format: conflicting option string(s): --log-format " test issues ?
‎[17:56] ‎<‎willikins‎>‎ toralf, you have notes! [Nov- 2 18:11] <sbraz> i have no idea where bug 636284 and friends come from, can't reproduce here, probably some portage feature you enabled?
‎[17:57] ‎<‎sbraz‎>‎ toralf: exactly my question :D
‎[17:59] ‎<‎dwfreed‎>‎ toralf: bug in pytest
‎[18:01] *** ChanServ gives channel operator privileges to croaker.
‎[18:01] ‎<‎croaker‎>‎ Oh no! Gentoo is broooken! jer, you broke it!
‎[18:01] ‎<‎croaker‎>‎ Report: https://qa-reports.gentoo.org/output/gentoo-ci/db2064362/output.html
‎[18:01] ‎<‎croaker‎>‎ https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b7f8584656
‎[18:01] <-- croaker (~croaker@gentoo/developer/mgorny) has left this server (Client Quit).
‎[18:02] ‎<‎dwfreed‎>‎ toralf: my reading suggests that you have two pytest plugins installed that define a '--log-format' argument
‎[18:03] ‎<‎prometheanfire‎>‎ monsieurp: hi?
‎[18:05] ‎<‎toralf‎>‎ dwfreed: it happens here at various tinderbox images - and I activated FEATURES=test here for dev-python/* just view days ago, so I do assume it is not related to the setup here but rather a long standing issue which is now uncovered, or ?
‎[18:05] ‎<‎sbraz‎>‎ toralf: i can't reproduce
‎[18:05] ‎<‎sbraz‎>‎ so i'm assuming you're doing something wrt logs
‎[18:05] ‎<‎dwfreed‎>‎ toralf: longstanding issue that usually doesn't happen in practice
‎[18:06] ‎<‎dwfreed‎>‎ toralf: pytest has several plugins that can define command line arguments; in the course of your testing, you've ended up with two of them installed that define the same argument
‎[18:09] ‎<‎toralf‎>‎ sbraz: the tinderbox just tries to emerge every package which is in the portage tree - if there are 2 of tehm which shall exclude each other then that needs to be defined in the appropriate ebuilds then, righ t?
‎[18:09] ‎<‎sbraz‎>‎ toralf: yeah could be 2 conflicting pytest-related pkgs
‎[18:11] ‎<‎dwfreed‎>‎ !proj python
‎[18:11] ‎<‎willikins‎>‎ dwfreed: (python@gentoo.org) alicef, alunduil, chutzpah, dev-zero, djc, floppym, maksbotan, mgorny, monsieurp, mrueg, prometheanfire, rafaelmartins, soap, sping, wizardedit
‎[18:11] ‎<‎dwfreed‎>‎ ^^^ see above conversation
‎[18:11] ‎<‎prometheanfire‎>‎ nope
‎[18:12] ‎<‎dwfreed‎>‎ it seems like pytest plugins that define the same command line arguments should probably block each other
‎[18:12] ‎<‎dwfreed‎>‎ otherwise pytest becomes unusable
‎[18:13] ‎<‎mgorny‎>‎ just do it
‎[18:13] ‎<‎grknight‎>‎ rej: erlang drop causing tree breakage (see above)
‎[18:14] ‎<‎dwfreed‎>‎ grknight: rej does not sit in this channel
‎[18:14] ‎<‎grknight‎>‎ poo
‎[18:19] ‎<‎grknight‎>‎ strange thing is that erlang breakage can be fixed by dropping old versions of packages.. but dunno if that will cause more issues
‎[18:28] ‎<‎toralf‎>‎ sbraz: dwfreed: question for me: is the fix needed in an ecalss or for affected ebuilds - and if the later is true - it is helpful to file bugs for the affected packages or isn't that needed ?
‎[18:30] ‎<‎dwfreed‎>‎ ebuild