• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LudovicRousseau / PyKCS11 / 10457363263
94%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2024 04:40PM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Aug 2024 04:30PM UTC coverage: 87.212% (+0.3%) from 86.924%
10457363263

push

github

LudovicRousseau
test_load: do not cleanup temp directory on Windows

The error is:
======================================================================
ERROR: test_multiple_load (test_load.TestUtil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\shutil.py", line 618, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpmfdundba\\softhsm2-x64.dll'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\tempfile.py", line 843, in onerror
    _os.unlink(path)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\tmpmfdundba\\softhsm2-x64.dll'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\PyKCS11-debug\PyKCS11-debug\test\test_load.py", line 26, in tearDown
    self.tmpdir.cleanup()
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\tempfile.py", line 873, in cleanup
    self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\tempfile.py", line 855, in _rmtree
    _shutil.rmtree(name, onerror=onerror)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\shutil.py", line 750, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\shutil.py", line 620, in _rmtree_unsafe
    onerror(os.unlink, fullname, sys.exc_info())
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\tempfile.py", line 846, in onerror
    cls._rmtree(path, ignore_errors=ignore_errors)
  File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\tempfile.py", line 855, in _rmtree
    _shutil.rmtree(name, onerror=onerror)
  File "C:\hostedtoolcache\windows\Pyt... (continued)

2 of 2 new or added lines in 1 file covered. (100.0%)

3 existing lines in 1 file now uncovered.

2994 of 3433 relevant lines covered (87.21%)

0.87 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
96.81
0.07% test/test_load.py
Jobs
ID Job ID Ran Files Coverage
1 10457363263.1 19 Aug 2024 04:40PM UTC 21
87.21
Source Files on build 10457363263
  • Tree
  • List 21
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f1989746 on github
  • Prev Build on master (#10442287450)
  • Next Build on master (#10474907807)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc