You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "lshmouse (via GitHub)" <gi...@apache.org> on 2023/03/24 09:38:20 UTC
[GitHub] [incubator-devlake] lshmouse opened a new issue, #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
lshmouse opened a new issue, #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
build-server-image failed for "/backend/python/requirements.txt" not found
$ make build-server-image
....
=> CACHED [base 3/6] WORKDIR /app 0.0s
=> ERROR [base 4/6] COPY backend/python/requirements.txt /app/requirements.txt 0.0s
------
> [base 4/6] COPY backend/python/requirements.txt /app/requirements.txt:
------
ERROR: failed to solve: failed to compute cache key: "/backend/python/requirements.txt" not found: not found
Makefile:101: recipe for target 'build-server-image' failed
make[1]: *** [build-server-image] Error 1
make[1]: Leaving directory '/home/qcraft/workspace/incubator-devlake/backend'
Makefile:26: recipe for target 'build-server-image' failed
make: *** [build-server-image] Error 2
### What do you expect to happen
build-server-image will be success~
### How to reproduce
make build-server-image in tag: v0.16.0-beta10
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] lshmouse commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "lshmouse (via GitHub)" <gi...@apache.org>.
lshmouse commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1484445871
> This should have been fixed by #4734. @lshmouse Are you running the latest main branch?
The issue is fixed. But the build failed again with following error:
```
=> [base 7/8] RUN ln -sf /root/.local/bin/poetry /usr/local/bin 0.4s
=> ERROR [base 8/8] RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} && /app/python/build.sh 0.4s
------
> [base 8/8] RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} && /app/python/build.sh:
#0 0.346 find: ‘./app/python/’: No such file or directory
#0 0.346 /bin/sh: 1: /app/python/build.sh: Permission denied
------
ERROR: failed to solve: executor failed running [/bin/sh -c find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} && /app/python/build.sh]: exit code: 126
Makefile:111: recipe for target 'build-server-image' failed
make[1]: *** [build-server-image] Error 1
make[1]: Leaving directory '/home/qcraft/workspace/incubator-devlake/backend'
Makefile:26: recipe for target 'build-server-image' failed
make: *** [build-server-image] Error 2
```
I think it is a typo in backend/Dockerfile
```
-RUN find ./app/python/ -name "*.sh" | xargs -I{} chmod +x {} && \
+RUN find /app/python/ -name "*.sh" | xargs -I{} chmod +x {} && \
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1484472858
PR: https://github.com/apache/incubator-devlake/pull/4781
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 closed issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 closed issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
URL: https://github.com/apache/incubator-devlake/issues/4763
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1483309830
This should have been fixed by https://github.com/apache/incubator-devlake/pull/4734. @lshmouse Are you running the latest main branch?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1489269000
This has been fixed. Closing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Startrekzky commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1482747556
@daniel-hutao Please take a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1484470881
@lshmouse you're right. ./app should be /app. I'll get it fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 closed issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 closed issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
URL: https://github.com/apache/incubator-devlake/issues/4763
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] abeizn commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1482777137
Thanks for reporting the issue,we will take a look at it, and you can download it at https://hub.docker.com/r/apache/devlake/tags or by `docker pull apache/devlake:v0.16.0-beta10`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] keon94 commented on issue #4763: [Bug][Build] build-server-image failed for "/backend/python/requirements.txt" not found
Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4763:
URL: https://github.com/apache/incubator-devlake/issues/4763#issuecomment-1484476142
@lshmouse Merged. Can you try again?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org