You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Report download unavailable and 'reports' directory created with owner as root #1093
Describe the bug
Strange one... A colleague ran a test on a device and is encountering the below when attempting to download the report file(s).
Corresponding line in Testrun output.
See below ls -l.
I did wonder whether case sensitivity/similarity of device names thus directory names may be a contributor somewhere along the line? The testrun process was started as ossadmin using sudo testrun and has been running for a number of days with other reports accessible without issue.
Interestingly, even after suitable chown -R of the affected reports directory...
...the report(s) are still unavailable for download.
Error logs
This is the reports directory, containing 2 tests. The first one (that colleague was trying to initially download above), and a second one that should contain more useful info in the testrun.log file.
For the avoidance of doubt in case the similarity in directory names is a cause of concern, the two devices/directories do relate to two completely separate physical Tridium JACE 8000's with 2 entirely different configurations/ports open/etc.
To allow it to remain readable, we will append the MAC address to the folder name (keeping it unique). This should then fix the issue you are facing.
@jboddey just for the avoidance of doubt, is this to cover more the question of #1094?
This issue specifically relates to the handling of post-test device renaming (Manufacturer or Model) and folder ownership/download issues. Presumably the same issue will manifest itself if post-device addition MAC address changes are made also.
Just confirming that the root issue is still present in 2.2.
The above was achieved by following similar steps as already posted here, although in this case step 2 was not conducted (i.e. no test is required to be carried out first).
Changing Manufacturer/Model post-test is not allowed to avoid results manipulation.
It is possible to add functionality to download old reports after the manufacturer name was changed, but old reports should have the previous manufacturer name.
Changing Manufacturer/Model post-test is not allowed to avoid results manipulation.
It is possible to add functionality to download old reports after the manufacturer name was changed, but old reports should have the previous manufacturer name.
@Aksinnia-Dzenisenka Is this comment more related to #1291? This particular issue above is referring to a permissions and download issue that will occur during day-to-day renaming/fixing typos/etc.
Activity
duncangreene commentedon Jan 30, 2025
For the avoidance of doubt in case the similarity in directory names is a cause of concern, the two devices/directories do relate to two completely separate physical Tridium JACE 8000's with 2 entirely different configurations/ports open/etc.
duncangreene commentedon Feb 24, 2025
We were able to recreate the
rootissue by doing the following.You can see the root ownership in the below comparison of an unedited (Eurotech) and edited (Delta Controls) device folder.
jboddey commentedon Apr 16, 2025
The solution here would be to set the device folder name to the MAC address. However, we went with Manufacturer and Model so that it is more readable.
jboddey commentedon Apr 22, 2025
To allow it to remain readable, we will append the MAC address to the folder name (keeping it unique). This should then fix the issue you are facing.
duncangreene commentedon Apr 22, 2025
@jboddey just for the avoidance of doubt, is this to cover more the question of #1094?
This issue specifically relates to the handling of post-test device renaming (Manufacturer or Model) and folder ownership/download issues. Presumably the same issue will manifest itself if post-device addition MAC address changes are made also.
duncangreene commentedon May 8, 2025
Just confirming that the root issue is still present in 2.2.
The above was achieved by following similar steps as already posted here, although in this case step 2 was not conducted (i.e. no test is required to be carried out first).
hitnik commentedon Jun 5, 2025
The issue has been reported 422739482
Aksinnia-Dzenisenka commentedon Jun 13, 2025
Hi! Thank you for reporting the issue.
Changing Manufacturer/Model post-test is not allowed to avoid results manipulation.
It is possible to add functionality to download old reports after the manufacturer name was changed, but old reports should have the previous manufacturer name.
duncangreene commentedon Jun 13, 2025
@Aksinnia-Dzenisenka Is this comment more related to #1291? This particular issue above is referring to a permissions and download issue that will occur during day-to-day renaming/fixing typos/etc.
KrystsinaT commentedon Jun 29, 2026
Fixed in version 2.3.4.