-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Latest go platform fails with the error sed: can't read : No such file or directory.
git push tsuru master
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 438 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: HEAD is now at cedbac7... Initail commit
remote: ---- Pulling image to node ----
remote: latest: Pulling from tsuru/go
remote: Digest: sha256:43fd10289d77fcbcd0cdab10377f51b8605fe5734efda3d561d66d32836b5b95
remote: Status: Image is up to date for 192.168.99.4:5000/tsuru/go:latest
remote: /bin/sh: 27: source: not found
remote: go version go1.9.3 linux/amd64
remote: go version go1.9.3 linux/amd64
remote: Installing Go stable...
remote: sed: can't read : No such file or directory
remote: Procfile not found. Using default Procfile
remote: go build -o tsuru-app
remote:
remote: ---- Building image ----
remote: ---> Sending image to repository (386.57MB)
remote: ---> Cleaning up
remote: /bin/sh: 27: source: not found
remote: ---- Running build hooks ----
remote:
remote: ---- Deploying application image ----
remote: ---> Sending image to repository (0.00MB)
remote: ---> Cleaning up
remote:
remote: ---- Starting 1 new unit [web: 1] ----
remote: ---> Started unit 8c55272c2a [web]
remote:
remote: ---- Binding and checking 1 new unit ----
remote: ---> Bound and checked unit 8c55272c2a [web]
remote:
remote: ---- Adding routes to new units ----
remote: ---> Added route to unit 8c55272c2a [web]
remote:
remote: ---- Setting router healthcheck (Path: /) ----
remote:
remote: OK
Because of this the application build doesn't go through, with the following error
2018-02-13 14:45:38 +0530 [tsuru]: Logs initialization
2018-02-13 14:53:00 +0530 [tsuru][api]: go version go1.9.3 linux/amd64
2018-02-13 14:53:00 +0530 [tsuru][api]: go version go1.9.3 linux/amd64
2018-02-13 14:53:00 +0530 [tsuru][api]: Installing Go stable...
2018-02-13 14:53:02 +0530 [tsuru][api]: sed: can't read : No such file or directory
2018-02-13 14:53:42 +0530 [tsuru][api]: Procfile not found. Using default Procfile
2018-02-13 14:53:42 +0530 [tsuru][api]: go build -o tsuru-app
2018-02-13 14:53:43 +0530 [tsuru][api]: ---- Running build hooks ----
and it is stuck at this stage and error out finally.
It is causing the build to fail and thus the following error.
2018-02-13 16:47:16 +0530 [web][8c55272c2ad6]: /bin/sh: 27: source: not found
2018-02-13 16:47:16 +0530 [web][8c55272c2ad6]: /bin/sh: 1: exec: ./tsuru-app: Permission denied
Metadata
Metadata
Assignees
Labels
No labels