-
Notifications
You must be signed in to change notification settings - Fork 69
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
Project build when referencing RProvider hangs forever (ubuntu-latest - github actions) #238
Labels
Comments
AndrewIOM
added
Type: Bug
Something is broken!
Status: Available
Priority: Medium
labels
Oct 26, 2021
Bit puzzled with this one. Works fine in Ubuntu 20.04 docker image with various versions of R. Could to be something specific to GitHub Actions. This is the Dockerfile: # https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:6.0-focal AS build
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y install --no-install-recommends --no-install-suggests \
ca-certificates software-properties-common gnupg2 gnupg1 \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 \
&& add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' \
&& apt-get install r-base -y
WORKDIR /app
COPY ./src /app/src
COPY ./docs /app/docs
COPY ./tests /app/tests
COPY ./build.fsx /app/build.fsx
COPY ./paket.dependencies /app/paket.dependencies
COPY ./paket.lock /app/paket.lock
COPY ./RELEASE_NOTES.md /app/RELEASE_NOTES.md
COPY ./RProvider.sln /app/RProvider.sln
COPY ./RProvider.Tests.sln /app/RProvider.Tests.sln
COPY ./.config /app/.config
COPY ./.paket /app/.paket
RUN dotnet tool restore
ENV RPROVIDER_LOG=/app/log.log
VOLUME [ "/app/log.log" ]
ENTRYPOINT ["dotnet", "fake", "run"] and the log:
|
Further digging reveals that running on Github Actions ubuntu, the type provider initialisation gets stuck at the following stage:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Projects that reference RProvider fail to build when using Ubuntu 20.04 as the OS within Github Actions using FAKE. When dotnet build is called for the specific project, it hangs forever.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No hangs and successful build.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: