Skip to content

github: enable Windows 2019 for integration test#68

Open
jiangliu wants to merge 1 commit intoconfidential-containers:stagingfrom
jiangliu:integration
Open

github: enable Windows 2019 for integration test#68
jiangliu wants to merge 1 commit intoconfidential-containers:stagingfrom
jiangliu:integration

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 gerry@linux.alibaba.com

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 <gerry@linux.alibaba.com>
@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