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

[DOCS]: testing failing for symbolic link #1403

Closed
2 tasks done
shahzebsiddiqui opened this issue Feb 23, 2023 · 2 comments · Fixed by #1411
Closed
2 tasks done

[DOCS]: testing failing for symbolic link #1403

shahzebsiddiqui opened this issue Feb 23, 2023 · 2 comments · Fixed by #1411
Assignees
Labels
documentation documentation fix

Comments

@shahzebsiddiqui
Copy link
Member

Documentation Link

https://buildtest.readthedocs.io/en/devel/buildspecs/buildspec_overview.html#passing-test-based-on-symbolic-link

Issue Description

currently this test is failing
Screen Shot 2023-02-23 at 3 36 14 PM

Post question in Slack

  • I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • I confirm there is no existing issue for this issue
@shahzebsiddiqui
Copy link
Member Author

@prathmesh4321 looping you in. This test is failing in readthedocs container. The container image we are using is configured on https://github.com/buildtesters/buildtest/blob/devel/.readthedocs.yaml#L11 see https://docs.readthedocs.io/en/stable/config-file/v2.html#build-os for more details. The container is on dockerhub https://hub.docker.com/r/readthedocs/build/tags used for building the docs. Currently we are using ubuntu-20.04

Just doing a quick introspection when i got into container i see the following. /tmp is available. The current shell is sh so

(buildtest)  ~/Documents/github/buildtest/ [devel] docker run -it docker.io/readthedocs/build:latest  
docs@21e94dab0a03:/$ ls -ld /tmp
drwxrwxrwt 1 root root 4096 Jan 24  2020 /tmp
docs@21e94dab0a03:/$ echo $SHELL
/bin/sh
docs@21e94dab0a03:/$ ls -la $HOME
total 32
drwxr-xr-x  1 docs docs 4096 Jan 24  2020 .
drwxr-xr-x  1 root root 4096 Jan 24  2020 ..
-rw-r--r--  1 docs docs  220 Apr  4  2018 .bash_logout
-rw-r--r--  1 docs docs 3771 Apr  4  2018 .bashrc
drwxr-xr-x 16 docs docs 4096 Jan 24  2020 .conda
-rw-r--r--  1 docs docs  807 Apr  4  2018 .profile
drwxr-xr-x  1 docs docs 4096 Jan 24  2020 .pyenv
-rw-r--r--  1 docs docs  209 Jan 24  2020 .wget-hsts

Therefore we have an issue with test where .bash_profile is not going to work in readthedocs build. please refactor the test you could use .bashrc

@shahzebsiddiqui
Copy link
Member Author

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

Successfully merging a pull request may close this issue.

2 participants