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

github: enable Windows 2019 for integration test #68

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

jiangliu
Copy link
Member

@jiangliu jiangliu commented Feb 5, 2022

Integration test fails on Windows 2019 with following errors:
cargo xtest --target /d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json -p test-td-exception
WARNING: There is no root package to read the cargo-xbuild config from.
error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Caused by:
The system cannot find the path specified. (os error 3)
mingw32-make: *** [Makefile:97: integration-test-test-td-exception] Error 101
Error: Process completed with exit code 1.

Signed-off-by: Liu Jiang [email protected]

Integration test fails on Windows 2019 with following errors:

cargo xtest --target /d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json -p test-td-exception
WARNING: There is no root package to read the cargo-xbuild config from.
error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Caused by:
  The system cannot find the path specified. (os error 3)
mingw32-make: *** [Makefile:97: integration-test-test-td-exception] Error 101
Error: Process completed with exit code 1.

Signed-off-by: Liu Jiang <[email protected]>
@jiangliu
Copy link
Member Author

jiangliu commented Feb 5, 2022

@jyao1 Any idea about the failure? It succeeds on Ubuntu Linux but fails on Windows 2019.

@jyao1
Copy link
Member

jyao1 commented Feb 5, 2022

@jyao1 Any idea about the failure? It succeeds on Ubuntu Linux but fails on Windows 2019.

Sorry, I forget the history. Let me double check after all people are back from holiday.

@haowqs
Copy link
Contributor

haowqs commented Feb 7, 2022

@jiangliu

I can also run the test on my ubuntu system.

I modified Windows os to Windows-latest test.

strategy:
  matrix:
    host_os:
      # - ubuntu-20.04
      - windows-latest

The result is still wrong.

cargo xtest --target /d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json -p test-td-exception 
WARNING: There is no root package to read the cargo-xbuild config from.
error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file

Then I tested it on my Windows system according to the integration.yml steps.
But I didn't finish the test because of network problems.

Downloading Qemu 64 bit
  from 'https://qemu.weilnetz.de/w64/2021/qemu-w64-setup-20210505.exe'
Using explicit proxy server 'http://child-prc.intel.com:913'.
Progress: 66% - Saving 126.33 MB of 189.81 MB                                  C
hocolatey timed out waiting for the command to finish. The timeout
 specified (or the default value) was '2700' seconds. Perhaps try a
 higher `--execution-timeout`? See `choco -h` for details.
The install of qemu was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\Qemu\tools\chocolateyInstall.
ps1'.
 See log for details.

Can you run it successfully on your own windows system?

@jiangliu
Copy link
Member Author

jiangliu commented Feb 7, 2022

@jiangliu

I can also run the test on my ubuntu system.

I modified Windows os to Windows-latest test.

strategy:
  matrix:
    host_os:
      # - ubuntu-20.04
      - windows-latest

The result is still wrong.

cargo xtest --target /d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json -p test-td-exception 
WARNING: There is no root package to read the cargo-xbuild config from.
error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file
Error: target path "/d/a/td-shim/td-shim/devtools/rustc-targets/x86_64-custom.json" is not a valid file

Then I tested it on my Windows system according to the integration.yml steps. But I didn't finish the test because of network problems.

Downloading Qemu 64 bit
  from 'https://qemu.weilnetz.de/w64/2021/qemu-w64-setup-20210505.exe'
Using explicit proxy server 'http://child-prc.intel.com:913'.
Progress: 66% - Saving 126.33 MB of 189.81 MB                                  C
hocolatey timed out waiting for the command to finish. The timeout
 specified (or the default value) was '2700' seconds. Perhaps try a
 higher `--execution-timeout`? See `choco -h` for details.
The install of qemu was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\Qemu\tools\chocolateyInstall.
ps1'.
 See log for details.

Can you run it successfully on your own windows system?

I have no windows system available:(

@jodh-intel
Copy link
Member

@jiangliu - Is this still required? If so, how do we move this forward?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants