Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-58870

torture_auth_pkcs11 upstream test fails when run tests for second time

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.5
    • libssh
    • None
    • No
    • Low
    • sst_security_crypto
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      AC1) when we run torture_auth_pkcs11 multiple times it passes in all of the runs.

      Show
      AC1) when we run torture_auth_pkcs11 multiple times it passes in all of the runs.
    • Requested
    • Not Needed
    • Automated
    • All
    • None

      What were you trying to do that didn't work?

      When we try to run the package upstream tests two times with a normal user, the second time torture_auth_pkcs11 fails when for the first time it was successful.

      What is the impact of this issue to you?

      Very small since it is successful at the first time.

      Please provide the package NVR for which the bug is seen:

      libssh-0.10.6-8.el10

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Prepare libssh and apply patches from RPM with rpmbuild
      2. create test user
      3. chown test_user:test_user -R /tmp/tmp.4ZYE5mitXm
      4. run "runuser -u test_user – cmake -DUNIT_TESTING=ON -DDEBUG_PACKET=ON -DWITH_SFTP=ON -DWITH_SERVER=ON -DSERVER_TESTING=ON -DCLIENT_TESTING=ON -DWITH_BENCHMARKS=ON -DWITH_PKCS11_URI=ON -DWITH_PKCS11_PROVIDER=ON <libssh dir>"

      Expected results

      The test will pass no matter how many times we run it.

      Actual results

      The test fails when we run it for a second time.

            shebburn@redhat.com Sahana Prasad Hebbur Narasimha Prasad
            rh-ee-gpantela George Pantelakis
            Sahana Prasad Hebbur Narasimha Prasad Sahana Prasad Hebbur Narasimha Prasad
            George Pantelakis George Pantelakis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: