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

add images to build runtime on FreeBSD #277

Merged
merged 1 commit into from
Apr 3, 2020
Merged

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Mar 31, 2020

This wraps dotnet/arcade#5100
build-rootfs.sh needs few more package to construct roots for FreeBSD.
They all seems pretty small so I added them to crossdeps to avoid need to create new base image for pre-build hook.

I'm not sure with naming but it seems os and base directory should reflect base container OS and not target.

I also noticed arcade checkout taking some time on my home machine. Since do not seems to need history, I changed clone to shallow copy.

@wfurt
Copy link
Member Author

wfurt commented Mar 31, 2020

I see failures

 No such container:path: testrunner-580829-5f893a47-ea49-5c7b-0f2c-2100cfa11f0c:/repo/tests/Microsoft.DotNet.Docker.Tests/TestResults/

and

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

but that seems unrelated to my change.

Copy link
Member

@mthalman mthalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It also looks like the build agent is running out of disk space. So the build isn't able to properly validate these changes. I'm going to implement some infra changes to fix this issue. I'll let you know when they're in so we can run this build again.

src/ubuntu/18.04/crossdeps/Dockerfile Show resolved Hide resolved
{
"dockerfile": "src/ubuntu/18.04/cross/freebsd/11",
"os": "linux",
"osVersion": "freebsd.11",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"osVersion": "freebsd.11",
"osVersion": "ubuntu18.04",

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated. Is there place in manifest to reflect target OS/arch? Or is it only by the tag?

manifest.json Show resolved Hide resolved
@mthalman
Copy link
Member

mthalman commented Apr 1, 2020

Ok, the fix to the infra is in to fix the disk space issue. I'll rerun the build.

@mthalman
Copy link
Member

mthalman commented Apr 1, 2020

/azp run

@azure-pipelines
Copy link

You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list.

@mthalman
Copy link
Member

mthalman commented Apr 1, 2020

/azp run dotnet-buildtools-prereqs-docker-ubuntu18, dotnet-buildtools-prereqs-docker-eng

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@mthalman
Copy link
Member

mthalman commented Apr 1, 2020

@wfurt - Builds are running clean now. Is this ready to merge?

@wfurt
Copy link
Member Author

wfurt commented Apr 1, 2020

yes, I hope so. There may be some minor tweaks or build surprises but having container would allow me to try with CI build.

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