Tests failure when using generate_and_write_ed25519_keypair() on develop branch
See original GitHub issueDescription of issue or feature request:
When running the tests on the latest commit on the develop
branch 201e07ddca02c599e9dd221833730b444d96d685
I receive this error:
======================================================================
ERROR: test_import_ed25519_privatekey_from_file (test_repository_lib.TestRepositoryToolFunctions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mvrachev/src/tuf/tests/test_repository_lib.py", line 146, in test_import_ed25519_privatekey_from_file
ed25519_keypath, password='pw')
TypeError: generate_and_write_ed25519_keypair() got multiple values for argument 'password'
======================================================================
ERROR: test_tutorial (test_tutorial.TestTutorial)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mvrachev/src/tuf/tests/test_tutorial.py", line 78, in test_tutorial
generate_and_write_rsa_keypair('root_key', bits=2048, password='password')
TypeError: generate_and_write_rsa_keypair() got multiple values for argument 'password'
----------------------------------------------------------------------
Interestingly those tests fail on python 3.6+, but not on Python 2.7. I don’t have python 3.5 locally.
Current behavior: Two unit tests are failing.
Expected behavior:
No unit tests failures on the develop
branch.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
4 tests fail in develop branch · Issue #2127 · eclipse/mosquitto
I am running the tests on the develop branch & found that these 4 tests don't work on my Fedora 33 machine: test/lib/Makefile:...
Read more >Failing on the master branch instead of failing on...
The background on this issue is that, when you create branch from a master which has failing tests, your branch is going to...
Read more >How to avoid pushing to master branch if cypress test fails on ...
So everytime I push changes to development branch, github runs the cypress tests and notifies if it passed or failed in github Actions....
Read more >git - Why testing on release, not develop
The failure/usual case when on one branch is: Developer commits work and asks for testing. Some developer commit more work. Testers build and ......
Read more >Troubleshooting Continuous Integration, or How to Debug ...
On a development server, you can isolate the failing test, run it over and over quickly until you find the problem. So don't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just merged https://github.com/theupdateframework/tuf/issues/1204. @MVrachev, if you rebase on the latest
develop
your tests should pass.Now, after I have updated to the latest
securesystemslib
it seems python2.7 fails too. It seems I hadn’t updatedsecuresystemslib
to the latest version on my python2.7 venv.