Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run xunit-reporter.py #12817

Closed
VincentBu opened this issue Jun 6, 2019 · 5 comments
Closed

Failed to run xunit-reporter.py #12817

VincentBu opened this issue Jun 6, 2019 · 5 comments

Comments

@VincentBu
Copy link
Contributor

Job:
https://mc.dot.net/#/user/coreclr-ci/pr~2Fdotnet~2Fcoreclr~2Frefs~2Fpull~2F24823~2Fmerge/test~2Ffunctional~2Fcli~2F/20190605.40/workItem/baseservices.threading/wilogs

Log:

+ python /root/helix/work/correlation/xunit-reporter.py
Traceback (most recent call last):
  File "/root/helix/work/correlation/xunit-reporter.py", line 5, in <module>
    import helix.azure_storage
  File "/root/helix/scripts/helix/__init__.py", line 1, in <module>
    import helix.depcheck
  File "/root/helix/scripts/helix/depcheck.py", line 66
    def _is_legal_module(module_name: str) -> bool:
                                    ^
SyntaxError: invalid syntax
+ exit 139
@RussKeldorph
Copy link
Contributor

@MattGal
Copy link
Member

MattGal commented Jun 6, 2019

@RussKeldorph this is still fallout from the migration from Python 2 -> 3 necessitated by its EOL-iness.

mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-45b1fa2-20190327215821 has Python 2 as its default entry point for python, so it fails that way. We should be able to update the relevant DockerFiles to use Python 3 to unblock this.

As for OSX machines though, they will be converted to Python3 as the DDFUn folks are able to migrate them.

@RussKeldorph
Copy link
Contributor

@MattGal is there an issue tracking the conversion you can link to this?

@jonfortescue
Copy link
Contributor

@RussKeldorph Matt's oof today, but I believe that the conversion is being tracked here https://github.com/dotnet/core-eng/issues/5480. @ilyas1974 is likely the best person to confirm that.

@ilyas1974
Copy link

@jonfortescue is correct - as part of the deployment of the 10.14 systems, the systems are being set up to utilize python3. At this point, we are still rolling out the new systems. Once that is completed, we will go back and re-deploy the existing systems with python3.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 3.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants