Comments (4)
I was not able to reproduce this issue, however I am on Ubuntu 20.04 so it may be something that is present on Mac/Docker. What version of Docker Desktop are you running? Does a system/volume prune help at all?
from waypoint-examples.
Hello,
Thank you for your response.
I no longer believe this is an issue with waypoint-examples specifically but rather with the archive files being downloaded during the build process - in particular the node archive.
The specific failure (for me) can be reproduced if we invoke the curl for node directly like so:
curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3.amazonaws.com/heroku-nodebin/node/release/linux-x64/node-v12.16.2-linux-x64.tar.gz -s -o node-v12.16.20-linux-x64.tar.gz
I get a gzipped file on my local filesystem which, when I attempt to decompress it, results in:
tar zxvf node-v12.16.2-linux-x64.tar.gz
x node-v12.16.2-linux-x64/
x node-v12.16.2-linux-x64/bin/
x node-v12.16.2-linux-x64/bin/node: truncated gzip input
tar: Error exit delayed from previous errors.
It's possible the archive is not being downloaded correctly and the unzip portion of the pipe is failing - leading to the build-stage failure.
If I download the tarball using my chrome-browser I can unpack it perfectly well. Something about the download in the context of the waypoint build is resulting in a malformed archive download.
Is there a way for me to add some verbosity or debugging to that particular stage of the build ?
EDIT:
I am using Docker desktop v3.3.3 (64133).
volume pruning does not alter the behaviour.
from waypoint-examples.
You can use bash verbosity flags with any Waypoint command (e.g. waypoint build -vvv
), which will give surrounding Waypoint context but I don't think it will help dive into this issue.
The pack builder uses buildpacks/pack to run the build (see here)
This may be an upstream issue there.
from waypoint-examples.
Hey there @sven-agnew - for now, I recommend adding any additional context to the upstream Waypoint repo. We have an issue currently tracking this over there: hashicorp/waypoint#1826
I don't think this is an issue with the example project itself, so it would be best to move the conversation over there. Thank you!
from waypoint-examples.
Related Issues (20)
- unix:///var/run/docker.sock HOT 1
- Error on the TargetGroup when creating a lambda for the nodejs-graphql example HOT 1
- Update all of the example apps to use the new Waypoint splash page and styles
- Add Elixir Phoenix example HOT 4
- Request Example Language HOT 3
- NodeJs examples : Error in the first run and then passed. HOT 1
- Move EKS example under the Kubernetes folder
- Add a Django example HOT 1
- Add a Rails example with db migration and rollback HOT 1
- Reorganize Example Folders HOT 1
- Organize based on deployment platform HOT 3
- Add example of Nomad Namespace HOT 1
- No matching manifest for linux/arm64/v8 HOT 6
- Add extra documentation to help users get started with Kubernetes examples
- Add Angular and Python example apps HOT 1
- CloudRun example guide unsuccessful HOT 2
- Add Google Cloud Run and EC2 with a VM as platforms/scenarios HOT 2
- ingress resource waiting to become ready HOT 4
- Add more documentation to help users get started with deploy nomad HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waypoint-examples.