Comments (10)
@divyabhargov I have never seen that error. Is this during a put
to the terraform resource? Could you attach a screenshot?
from terraform-resource.
Here are some screenshots when the error occurs:
from terraform-resource.
@divyabhargov this is a weird one, still looking into it. Started a convo with the Concourse team here: https://concourseci.slack.com/archives/C07RY25QF/p1510072021000782. Seems like something is printing to Stdout that shouldn't be but I can't find where that would be happening.
Couple questions:
- Are you using
ljfranklin/terraform-resource:latest
or some other image? - Are you using an S3-compatible storage with a custom endpoint or AWS S3?
- Any other things that are unique about your Terraform templates or terraform-resource config?
from terraform-resource.
Hello, we already had a random fail with this error also :)
We are using the latest terraform resource, with a S3 endpoint. First time we had this problem, and weren't able to reproduce it.
from terraform-resource.
Good grief, I just looked through all my old builds and this has happened to me 2 times out of 100+ builds. I'll try to add some debug logging to a custom image and run it in a loop or something.
from terraform-resource.
Still struggling to reproduce this. Latest finding is that the "invalid character '/' after top-level value" is reproducible in isolation if you try to unmarshal a log
time stamp as JSON, e.g. log.Println
will print 2017/11/08 16:39:08 ...
. Concourse tries to unmarshal everything written to Stdout as a JSON response which is where the error is getting raised. So somewhere in the code there's a log
statement that is going to Stdout. But I can't find it, maybe it is buried in some dependency.
from terraform-resource.
This was fun. I copied stdout to stderr in a test image and ran the job in a loop all day. On run number 422 I finally got the log message: 2017/11/08 21:48:35 Request body type has been overwritten. May cause race conditions
. Looks like this was an issue fixed on the aws SDK: aws/aws-sdk-go#868. I'll push a fix in a bit to bump the AWS SDK and nil out its logger.
from terraform-resource.
Thank you so much. This is exciting
from terraform-resource.
Thanks for taking a look at this, and tracking it all the way down.
from terraform-resource.
I just had this error and it showed up every time I ran a plan at random points of the plan. It complained about a seemingly random character (sometimes alphanumerics, sometimes slashes).
I found out I had a custom module instantiation with a parameter the module didn't define. After fixing this error, I did not get any more of these cryptic Terraform errors.
from terraform-resource.
Related Issues (20)
- "parameters" contains an invalid JSON: invalid character ':' after top-level value
- The terraform-provider-azurerm_v2.71.0_x5.exe plugin crashed! HOT 2
- [Feature Request] Install `curl` on images HOT 2
- [feature request] Ability to customize the `name`, `metadata`, `plan.json` filenames (support for across step) HOT 2
- HCSEC-2021-12 - Missing Tags/Releases HOT 2
- Timeout no longer seems to work with Concourse v7.5.0 HOT 2
- put with `plan_only: true` returns non zero exit code HOT 4
- Accessing local files HOT 2
- unknown provider "registry.terraform.io/-/stateful" (we don't use this) HOT 2
- Read backend configuration from source files HOT 4
- Ability to specify state locking timeout HOT 1
- TF_LOG environment variable doesn't seem to work HOT 1
- Error installing provider "random": openpgp: signature made by unknown entity. HOT 1
- Error refreshing state error HOT 3
- Other plan output options besides .json file HOT 2
- terraform apply --replace method or taint HOT 3
- SSH warnings during module download HOT 1
- "No satisfiable builds from passed jobs found for set of inputs" when using plan_only. HOT 3
- Building image from Dockerfile - COPY failed: no source files were specified HOT 1
- Plan fails due to the size when uploading to backend HOT 1
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 terraform-resource.