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

Attestation/identity validation tests not checking out PR code #1267

Closed
qstokkink opened this issue Jan 24, 2024 · 1 comment
Closed

Attestation/identity validation tests not checking out PR code #1267

qstokkink opened this issue Jan 24, 2024 · 1 comment
Labels
priority: high Bugs, broken functionality or critical features

Comments

@qstokkink
Copy link
Collaborator

As shown in #1266, the attestation/identity validation tests seem to be running an old code version. These scripts should run the up-to-date PR code instead.

Traceback (most recent call last):
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/REST/rest_manager.py", line 75, in error_middleware
    response = await handler(request)
  File "/home/jenkins/.local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/REST/attestation_endpoint.py", line 320, in handle_post
    key = self.attestation_overlay.get_id_algorithm(id_format).generate_secret_key()
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/attestation/wallet/bonehexact/algorithm.py", line 75, in generate_secret_key
    return generate_keypair(self.key_size)[1]
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/attestation/wallet/primitives/boneh.py", line 110, in generate_keypair
    t1, t2 = generate_primes(key_size)
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/attestation/wallet/primitives/boneh.py", line 102, in generate_primes
    p, q = generate_safe_prime(key_size), generate_safe_prime(key_size)
  File "/home/jenkins/ci/workspace/ipv8/validate_attestation_tutorial/pyipv8/ipv8/attestation/wallet/primitives/cryptography_wrapper.py", line 31, in generate_safe_prime
    backend._lib.BN_clear_free(generated)
AttributeError: module 'lib' has no attribute 'BN_clear_free'
@qstokkink qstokkink added the priority: high Bugs, broken functionality or critical features label Jan 24, 2024
@qstokkink
Copy link
Collaborator Author

The GIT_USER and GIT_BRANCH were set to the defaults of Tribler and master. I hooked the job into the new git plugin's variable names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: high Bugs, broken functionality or critical features
Development

No branches or pull requests

1 participant