Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Warning during Web App Build, Build shows success, but is missing from GAE. #57

Closed
chromestrong opened this issue Jun 26, 2019 · 3 comments

Comments

@chromestrong
Copy link

Expected Behaviour

"bash deployments/deploy.sh web prod" is ran with no errors and warnings. Build completes successfully. Web App is visible from GAE.

Actual Behaviour

"bash deployments/deploy.sh web prod" is ran with no errors and 1 warning. Build completes successfully. Web App is NOT visible from GAE (Like it never existed).

loaner_owner@si-gng-dev:/loaner/loaner$ bash deployments/deploy.sh web prod
INFO: Checking for gcloud on PATH and version...
SUCCESS: gcloud was found on PATH and is at or above the minimum version.
INFO: Checking for bazel on PATH and version...
Starting local Bazel server and connecting to it...
INFO: Invocation ID: ef1b48bd-cff4-4a88-9b38-f687912f9d6f
SUCCESS: bazel was found on PATH and is at or above the minimum version.
INFO: Checking for npm on PATH and version...
SUCCESS: npm was found on PATH and is at or above the minimum version.
INFO: Checking gcloud authentication...
INFO: Going to the loaner directory...
INFO: Initiating the build of the python deployment script...
INFO: Invocation ID: 77fad06c-dc2e-486d-97dc-0cfe2fd7a3c2
INFO: Analysed target //loaner/deployments:deploy_impl (18 packages loaded, 133 targets configured).
INFO: Found 1 target...
**WARNING: failed to create one or more convenience symlinks for prefix 'bazel-':
  cannot create symbolic link bazel-bin -> /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng/bazel-out/k8-fastbuild/bin:  /loaner/bazel-bin (Permission denied)
  cannot create symbolic link bazel-testlogs -> /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng/bazel-out/k8-fastbuild/testlogs:  /loaner/bazel-testlogs (Permission denied)
  cannot create symbolic link bazel-genfiles -> /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng/bazel-out/k8-fastbuild/genfiles:  /loaner/bazel-genfiles (Permission denied)
  cannot create symbolic link bazel-out -> /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng/bazel-out:  /loaner/bazel-out (Permission denied)
  cannot create symbolic link bazel-loaner -> /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng:  /loaner/bazel-loaner (Permission denied)
Target //loaner/deployments:deploy_impl up-to-date:
  /home/loaner_owner/.cache/bazel/_bazel_loaner_owner/08f4c04b2de7debc213d4682c3c5240e/execroot/gng/bazel-out/k8-py3-fastbuild/bin/loaner/deployments/deploy_impl**
INFO: Elapsed time: 14.133s, Critical Path: 0.03s
INFO: 0 processes.
INFO: Build completed successfully, 4 total actions
deployments/deploy.sh: line 248: ../bazel-out/k8-py3-fastbuild/bin/loaner/deployments/deploy_impl: No such file or directory

Steps to Reproduce

Dev VM is on GCP. 1vCPU, 4 GB memory. 32GB SPD. Ubuntu 18.04 LTS.

All other packages except for Bazel are at there most recent release.

I had to roll back to Bazel 0.22.0 because Bazel 0.27.0 was creating errors.

Attempt to build Web App with ""bash deployments/deploy.sh web prod".

Observe warning. Observe success message. Go to the Cloud Console and see that under GAE that the Web App is not listed.

@jkidd-nps
Copy link

I had this issue, you need to rename the folder "/bazel-out/k8-py3-fastbuild/bin/loaner/deployments/deploy_impl" to /bazel-out/darwin-py3-fastbuild/bin/loaner/deployments/deploy_impl

@kid-yume
Copy link

Did you resolve this issue?

@helfrichmichael
Copy link
Member

We haven't heard back from your or others on this issue in a while so I'm going to resolve. Let us know if you're still having issues.

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

No branches or pull requests

4 participants