results refer to non-existent temp files and there seems to be no cache of results
This bug report was converted into a question: question #247501: results refer to non-existent temp files and there seems to be no cache of results.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
What SHOULD happen:
Testing session data (command output, log files, etc) should be preserved after the test run. I understand that saving "ALL" sessions is a bit more complex, but for now, we're not even saving a single run.
What ACTUALLY happens:
Session data is not saved after a completed run, even if there are failures that would need to be investigated, making that data invaluable.
Plainbox versions:
ii canonical-
ii plainbox-
ii plainbox-
ii plainbox-
ii plainbox-
ii python3-plainbox 0.17.9+
I ran the latest dev version of canonical-
These tracebacks referred to output in /tmp that no longer exist.
<comment>Traceback (most recent call last):
File "/tmp/nest-
sys.
File "/tmp/nest-
return args.func(args)
File "/tmp/nest-
if "example.com" in test_target:
TypeError: argument of type 'NoneType' is not iterable
</comment>
However, now that the test run is complete, those files no longer exist in /tmp
I next looked in .local/
root@CCS-SUT:~# ls .local/
. .. results.html submission.xml
I then checked the cache dir:
root@CCS-SUT:~# ls -la .cache/plainbox/*
total 8
drwxr-xr-x 2 root root 4096 Mar 25 10:45 .
drwxr-xr-x 3 root root 4096 Mar 25 10:30 ..
lrwxrwxrwx 1 root root 52 Mar 25 10:44 last-session -> /root/.
And the only thing there is a symlink to a non-existent session file.
So there is no way for me to go back and actually look at the full output from the network tests.
affects: | checkbox-ng → plainbox |
Thanks for reporting this bug.
The temporary directory is a container for symlinks to executables from
various providers. In this case the network script from of of the provider
crashed.
The symlink in ~/cache/ plainbox/ sessions is broken because some other
session had removed the previous one. PlainBox has the capacity to store
all the sessions but we're not using that in checkbox-ng at this time.
Thanks
ZK