Skip to content

Helix tests failing during reporting with Permission Denied on run.py.log #68715

Closed

Description

@ericstj

Sample error:

Traceback (most recent call last):
  File "/root/helix/work/correlation/reporter/run.py", line 13, in <module>
    from test_results_reader import read_results
  File "/root/helix/work/correlation/reporter/test_results_reader/__init__.py", line 3, in <module>
    from helix.public import TestResult, TestResultAttachment
  File "/root/helix/scripts/helix/public/__init__.py", line 5, in <module>
    import helix.event
  File "/root/helix/scripts/helix/event.py", line 7, in <module>
    import helix.logs
  File "/root/helix/scripts/helix/logs.py", line 43, in <module>
    rotating_file_handler = RotatingFileHandler(log_file_path, maxBytes=20000000, backupCount=10)
  File "/usr/lib/python3.7/logging/handlers.py", line 147, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python3.7/logging/handlers.py", line 54, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python3.7/logging/__init__.py", line 1092, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python3.7/logging/__init__.py", line 1121, in _open
    return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/root/helix/logs/run.py.log'

Most likely this is dotnet/arcade#9208 cc @MattGal

Activity

  1. added
    blocking-clean-ci
    on Apr 29, 2022
  2. ghost added
    untriaged
    on Apr 29, 2022
  3. mangod9 commented on May 2, 2022

    @mangod9
    Member

    This is being tracked with: dotnet/arcade#9208

  4. removed
    untriaged
    on May 2, 2022
  5. added this to the 7.0.0 milestone on May 2, 2022
  6. jakobbotsch commented on May 4, 2022

    @jakobbotsch
    Member

    I believe this has now been fixed, and I haven't seen these in the past two rolling builds.

  7. MattGal commented on May 6, 2022

    @MattGal
    Member

    I believe this has now been fixed, and I haven't seen these in the past two rolling builds.

    Correct; the docker image that was causing this has been updated (though unsure if runtime is using it, yet) and we hotfixed this so it shouldn't be possible any more on 5/3.

  8. lewing commented on May 8, 2022

    @lewing
    Member

    thanks for tracking this down @MattGal

  9. ghost locked as resolved and limited conversation to collaborators on Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Infrastructureblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions