question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests failure when using generate_and_write_ed25519_keypair() on develop branch

See original GitHub issue

Description 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:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lukpuehcommented, Nov 11, 2020

Just merged https://github.com/theupdateframework/tuf/issues/1204. @MVrachev, if you rebase on the latest develop your tests should pass.

1reaction
MVrachevcommented, Nov 11, 2020

Now, after I have updated to the latest securesystemslib it seems python2.7 fails too. It seems I hadn’t updated securesystemslib to the latest version on my python2.7 venv.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found