Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed parsing log: Unexpected token { in JSON at position 153 #671

Closed
0x2b3bfa0 opened this issue Jul 25, 2021 · 8 comments · Fixed by #1030
Closed

Failed parsing log: Unexpected token { in JSON at position 153 #671

0x2b3bfa0 opened this issue Jul 25, 2021 · 8 comments · Fixed by #1030
Assignees
Labels
bug Something isn't working cml-runner Subcommand flaky Heisenbugs

Comments

@0x2b3bfa0
Copy link
Member

0x2b3bfa0 commented Jul 25, 2021

From Discord #cml (comment)

$ cml-runner --cloud=aws --cloud-region=us-east-1 --cloud-type=t2.large
-- Logs begin at Sat 2021-07-24 20:03:53 UTC, end at Sun 2021-07-25 11:15:20 UTC. --
Jul 25 11:10:02 ip-172-31-4-59 systemd[1]: Started cml.service.
Jul 25 11:10:17 ip-172-31-4-59 cml.sh[12772]: Preparing workdir /tmp/tmp.vnyMsh2f6x/.cml/cml-ds05uj5g8d...
Jul 25 11:10:17 ip-172-31-4-59 cml.sh[12772]: Launching gitlab runner
Jul 25 11:10:19 ip-172-31-4-59 cml.sh[12772]: EC2 id i-085cbd9f31fb95232
Jul 25 11:10:19 ip-172-31-4-59 cml.sh[12772]: Failed parsing log: Unexpected token { in JSON at position 153

cml/src/cml.js

Line 203 in b5c1afb

console.log(`Failed parsing log: ${err.message}`);

Maybe related to the changes on #583 (comment)...

@0x2b3bfa0 0x2b3bfa0 added bug Something isn't working cml-runner Subcommand labels Jul 25, 2021
@0x2b3bfa0 0x2b3bfa0 self-assigned this Jul 25, 2021
@0x2b3bfa0

This comment has been minimized.

0x2b3bfa0 added a commit that referenced this issue Jul 25, 2021
@DavidGOrtega

This comment has been minimized.

@DavidGOrtega

This comment has been minimized.

@DavidGOrtega

This comment has been minimized.

@0x2b3bfa0

This comment has been minimized.

@0x2b3bfa0
Copy link
Member Author

0x2b3bfa0 commented Aug 5, 2021

Note: this issue will remain open until we manage to reproduce the (flaky) error and get a copy of the offending JSON as per #672

@0x2b3bfa0 0x2b3bfa0 added the flaky Heisenbugs label Aug 11, 2021
@0x2b3bfa0
Copy link
Member Author

0x2b3bfa0 commented Jan 21, 2022

Hitting the same code block as #808 (comment)

@dacbd
Copy link
Contributor

dacbd commented Jun 10, 2022

perhaps its time close with #1030 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cml-runner Subcommand flaky Heisenbugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants