Modify Outerloop job in groovy to run on Ubuntu and Windows.#6028
Conversation
|
@dotnet-bot Test OuterLoop Ubuntu Debug |
| @@ -0,0 +1,97 @@ | |||
| #!/bin/bash | |||
|
|
|||
| OS=`cat /etc/os-release | grep "PRETTY_NAME" | sed 's/PRETTY_NAME=//g' | sed 's/["]//g' | awk '{print $1}'` | |||
There was a problem hiding this comment.
Why parse PRETTY_NAME when you can just read ID from os-release?
There was a problem hiding this comment.
@rahulkotecha Can you please address the PR comments on networking scripts. Thanks!
There was a problem hiding this comment.
Sure.. Rahul can take care of all these changes when he sends his PR with the updates required for other distros as well
There was a problem hiding this comment.
took care of these changes and changes required for other Linux distros as part of: rahulkotecha-zz@e8acf95
Thanks!
|
Need dotnet/dotnet-ci#164 to test the ubuntu outerloop changes. |
9734d8f to
d7afbc9
Compare
|
@dotnet-bot Test OuterLoop Ubuntu Debug |
|
@Priya91 Your netci changes will not affect any runs here. This will need to be merged first. Question: Are there implications of running multiple runs on the same machine at the same time here? |
|
@mmitche Yes we don't want to do that. But we run only one run per machine at a time right? |
|
Also it would be best if we can bring this setup step further down below to xunit setup, as these tests will surely fail on local outerloop dev box runs. |
|
In the auto-images, yes |
|
|
||
| def osShortName = ['Windows 10': 'win10', 'Windows 7' : 'win7', 'Windows_NT' : 'windows_nt'] | ||
| def osShortName = ['Windows 10': 'win10', 'Windows 7' : 'win7', 'Windows_NT' : 'windows_nt', 'Ubuntu' : 'ubuntu'] | ||
| def outerloopOSs = ['Windows 10', 'Windows 7', 'Windows_NT', 'Ubuntu'] |
There was a problem hiding this comment.
Can you change this to Ubuntu14.04 to be more specific (since we have 15.10 now too)
|
LGTM besides the minor comment. |
d7afbc9 to
766ad3f
Compare
|
@mmitche Incorporated the 14.04 changes. @rahulkotecha @vijaykota Can you please check if executing the script as a test class initialization works? I have created a fixture template for it to test, or would you prefer it to be in jenkins setup ? cc @joshfree |
We will try this out. I believe this should work since the Jenkins user now has sudo perms. LGTM for Priya's changes. Thanks! |
|
@dotnet-bot test this please |
|
The test initialization needs to be separate from Jenkins infrastructure - so that developers can execute the test outside of a Jenkins CI environment. |
|
This needs dotnet/dotnet-ci#173 before merge. |
|
The Outerloop ubuntu/OSX tests are failing because they are not being run sudo. The netci.groovy changes in the PR are not used for PR testing. These changes will be reflected after merge. |
766ad3f to
ee0d83e
Compare
|
@dotnet-bot test this please |
I tried running it as a fixture, but could not succeed. I need to execute the script as a super user, otherwise it would fail to install the required packages or setup the KDC. But trying to run the tests as super user via I could be wrong but this seems to have something to do with the permissions of the assemblies that are generated using our build. Is there any reason to expect that this issue would not occur on CI machines? |
|
@kapilash The script does not have to be run as sudo, since I have made the individual instructions in the script that need to be elevated as sudo. Or if the whole script has to be sudo then there can be a wrapper to run it as Regarding the coreclr_initialize failed, that is not related to these changes. Seems like coreclr package was not found. |
ee0d83e to
2ffb80f
Compare
|
Have pushed the wrong branch tracking master. fixing this. |
2ffb80f to
c27679d
Compare
Initial KDC setup script (tested on ubuntu)
Configuration files for the KDC setup (tested on ubuntu)
c27679d to
e24db70
Compare
Execute kdc script has a test class initialization step. Conflicts: src/System.Net.Security/tests/FunctionalTests/unix/project.json
a6fda4a to
2e62dde
Compare
@dotnet-bot Test Innerloop Ubuntu Release Build and Test |
|
|
@dotnet-bot test this please |
|
Test failures due to #6153 in OSX and Ubuntu |
|
@dotnet-bot Test Innerloop OSX Release Build and Test |
|
@dotnet-bot Test Innerloop Ubuntu Release Build and Test |
1 similar comment
|
@dotnet-bot Test Innerloop Ubuntu Release Build and Test |
| // Globals | ||
|
|
||
| // List of all CI OS | ||
| def allOSs = ['Ubuntu', 'Debian8.2', 'OSX', 'FreeBSD', 'CentOS7.1', 'OpenSUSE13.2', 'Windows 10', 'Windows 7', 'Windows_NT'] |
There was a problem hiding this comment.
Where is this used? Perhaps I missed it but I don't see it used in the script anywhere.
There was a problem hiding this comment.
This is not used anywhere currently, but will be used when all OSes are supported in Outerloop. Will remove the def Outerloop then. Sorry your comment didnt update on my client.. Saw this only now.
Modify Outerloop job in groovy to run on Ubuntu and Windows.
cc @mmitche @joshfree @rahulkotecha @vijaykota