handsome-football-66174
07/12/2022, 7:21 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':datahub-web-react:yarnBuild'.
> Process 'command 'yarn'' finished with non-zero exit value 131
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
BUILD FAILED in 2m 26s
bulky-soccer-26729
07/12/2022, 9:48 PMyarnBuild
fail here. Have you changed any code in datahub-web-react?echoing-airport-49548
07/12/2022, 9:48 PMbulky-soccer-26729
07/12/2022, 9:48 PMhandsome-football-66174
07/13/2022, 1:05 PMbulky-soccer-26729
07/13/2022, 3:18 PMdistBaseUrl
in build.gradle in datahub-web-react? I wonder if that's throwing off your node version compared to what we have set in build.gradle?handsome-football-66174
07/13/2022, 4:09 PMbulky-soccer-26729
07/13/2022, 4:23 PM16.8.0
)handsome-football-66174
07/13/2022, 4:50 PMFROM --platform=$BUILDPLATFORM node:16.13.0-alpine3.14 AS prod-build
bulky-soccer-26729
07/13/2022, 5:06 PMhandsome-football-66174
07/13/2022, 5:12 PM$ graphql-codegen --config codegen.yml
[17:33:23] Parse configuration [started]
node:events:368
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:164:15)
at writeGeneric (node:internal/stream_base_commons:155:3)
at Socket._writeGeneric (node:net:795:11)
at Socket._write (node:net:807:8)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at Socket.Writable.write (node:internal/streams/writable:334:10)
at console.value (node:internal/console/constructor:285:16)
at console.log (node:internal/console/constructor:359:26)
at exports.log (/datahub-src/datahub-web-react/node_modules/listr-verbose-renderer/lib/utils.js:13:10)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
> Task :datahub-web-react:yarnBuild FAILED
> Task :li-utils:generateDataTemplate
There are 33 data schema input files. Using input root folder: /datahub-src/li-utils/src/main/pegasus
[main] INFO com.linkedin.pegasus.generator.DataTemplateGeneratorCmdLineApp - Generating 34 files
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings>
29 actionable tasks: 29 executed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':datahub-web-react:yarnBuild'.
> Process 'command 'yarn'' finished with non-zero exit value 131
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at <https://help.gradle.org>
BUILD FAILED in 54s
bulky-soccer-26729
07/13/2022, 7:21 PMhandsome-football-66174
07/13/2022, 7:38 PMStep 5/26 : FROM --platform=$BUILDPLATFORM node:16.13.0-alpine3.14 AS prod-build
failed to parse platform : "" is an invalid component of "": platform specifier component must match "^[A-Za-z0-9_-]+$": invalid argument
echoing-airport-49548
07/13/2022, 7:46 PMhandsome-football-66174
07/13/2022, 8:02 PM> Task :buildSrc:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:compileJava'.
> Could not find tools.jar. Please check that /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64/jre contains a valid JDK installation.
$ graphql-codegen --config codegen.yml
node:events:368
throw er; // Unhandled 'error' event
^
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:164:15)
at writeGeneric (node:internal/stream_base_commons:155:3)
at Socket._writeGeneric (node:net:795:11)
at Socket._write (node:net:807:8)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at Socket.Writable.write (node:internal/streams/writable:334:10)
at console.value (node:internal/console/constructor:285:16)
at console.log (node:internal/console/constructor:359:26)
at exports.log (/datahub-src/datahub-web-react/node_modules/listr-verbose-renderer/lib/utils.js:13:10)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}
bulky-soccer-26729
07/13/2022, 8:39 PMnode --version
handsome-football-66174
07/13/2022, 8:56 PMechoing-airport-49548
07/14/2022, 4:08 PMhandsome-football-66174
07/14/2022, 4:14 PMechoing-airport-49548
07/14/2022, 4:31 PMGenerate Personal Access Tokens
permission in this casehandsome-football-66174
07/14/2022, 4:42 PMechoing-airport-49548
07/19/2022, 10:43 PMManage All Access Tokens
permission and see if that resolves it?handsome-football-66174
07/20/2022, 4:36 PM