brief-insurance-68141
09/23/2021, 12:04 AMbrief-insurance-68141
09/23/2021, 12:04 AMsome-glass-26087
09/30/2021, 6:47 PMgradlew
is missing.
What you want to run is this:
sudo docker build -t updated_datahub_frontend_react -f ./docker/datahub-frontend/Dockerfile .
Note the final .
there -- that's giving the build context as the datahub root folder, and -f is specifying which Dockerfile to use (I tried just the directory for frontend, but it complains that it is a directory and failed to read dockerfile).
It's still building on my machine (and my 13" macbook's fans are buzzing like crazy) but it doesn't fail on a missing gradlew
like it did before.some-glass-26087
09/30/2021, 6:47 PMsome-cricket-23089
10/01/2021, 6:27 AMsome-cricket-23089
10/01/2021, 12:28 PM> Task :datahub-web-react:yarnInstall
info Visit <https://yarnpkg.com/en/docs/cli/install> for documentation about this command.
error /datahub-src/datahub-web-react/node_modules/cypress: Command failed.
Exit code: 1
Command: node index.js --exec install
Arguments:
Directory: /datahub-src/datahub-web-react/node_modules/cypress
Output:
Installing Cypress (version: 7.3.0)
[12:21:54] Downloading Cypress [started]
[12:25:19] Downloading Cypress [failed]
The Cypress App could not be downloaded.
Does your workplace require a proxy to be used to access the Internet? If so, you must configure the HTTP_PROXY environment variable before downloading Cypress. Read more: <https://on.cypress.io/proxy-configuration>
Otherwise, please check network connectivity and try again:
----------
URL: <https://download.cypress.io/desktop/7.3.0?platform=linux&arch=x64>
Error: read ECONNRESET
----------
Platform: linux (Alpine Linux - 3.14.2)
Cypress Version: 7.3.0
> Task :datahub-web-react:yarnInstall FAILED
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
> Task :gms:impl:compileJava
Note: Recompile with -Xlint:unchecked for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':datahub-web-react:yarnInstall'.
> Process 'command '/datahub-src/datahub-web-react/.gradle/yarn/yarn-v1.22.0/bin/yarn'' finished with non-zero exit value 1
* 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>
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See <https://docs.gradle.org/5.6.4/userguide/command_line_interface.html#sec:command_line_warnings>
BUILD FAILED in 13m 20s
82 actionable tasks: 82 executed
The command '/bin/sh -c cd datahub-src && ./gradlew :datahub-frontend:dist -PenableEmber=${ENABLE_EMBER} -x test -x yarnTest -x yarnLint && cp datahub-frontend/build/distributions/datahub-frontend.zip ../datahub-frontend.zip && cd .. && rm -rf datahub-src && unzip datahub-frontend.zip' returned a non-zero code: 1
some-glass-26087
10/01/2021, 3:56 PM172.17.0.0/16
subnet and if your work's network (I'm assuming you're in office, but perhaps not) uses the same subnet for their internal networking (like my company did), then containers can break being able to reach the net.
Now if OTHER steps in the build are able to execute and download things just not from Cypress -- I'm not sure but will keep thinking on it.
For some debugging, share the output of this:
docker network ls
and
docker network inspect bridge
This may not be the issue, I just want to eliminate ip conflicts as the source of not being able to reach out as I've had that happen to me twice with other projects.some-glass-26087
10/01/2021, 4:14 PMdocker build --no-cache --pull -t updated_datahub_frontend_react -f ./docker/datahub-frontend/Dockerfile .
some-glass-26087
10/01/2021, 4:15 PMsome-cricket-23089
10/01/2021, 6:32 PM---> Running in 5bf8a68cb80d
Downloading <https://services.gradle.org/distributions/gradle-5.6.4-bin.zip>
.........................................................................................
Welcome to Gradle 5.6.4!
Here are the highlights of this release:
- Incremental Groovy compilation
- Groovy compile avoidance
- Test fixtures for Java projects
- Manage plugin versions via settings script
For more details see <https://docs.gradle.org/5.6.4/release-notes.html>
Configuration on demand is an incubating feature.
some-cricket-23089
10/01/2021, 6:33 PMsome-cricket-23089
10/01/2021, 6:33 PMNETWORK ID NAME DRIVER SCOPE
cc7265d1a79b astroef35b4_airflow bridge local
dfb6dc300d3e bridge bridge local
b15d992f6557 datahub_network bridge local
275733a3855a host host local
6678e02b563f none null local
some-cricket-23089
10/01/2021, 6:34 PM[
{
"Name": "bridge",
"Id": "dfb6dc300d3e986c381d90c662922e1b5178cdfc01b8a8607e7347e028038942",
"Created": "2021-10-01T23:43:27.654904458+05:30",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {
"com.docker.network.bridge.default_bridge": "true",
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true",
"com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
"com.docker.network.bridge.name": "docker0",
"com.docker.network.driver.mtu": "1500"
},
"Labels": {}
}
]
some-glass-26087
10/01/2021, 6:54 PMdatahub_network
as well:
sudo docker network inspect datahub_network
some-cricket-23089
10/02/2021, 1:35 AM[
{
"Name": "datahub_network",
"Id": "b15d992f65574d1c5713b00ff149dabb69d0368c965f0d3de1691aefb663e26e",
"Created": "2021-05-06T19:09:08.48414495+05:30",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": true,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {
"com.docker.compose.network": "datahub_network",
"com.docker.compose.project": "datahub",
"com.docker.compose.version": "1.29.1"
}
}
]
some-glass-26087
10/02/2021, 10:57 PMsome-cricket-23089
10/03/2021, 4:44 PMsome-glass-26087
10/03/2021, 11:15 PMsome-glass-26087
10/03/2021, 11:17 PMsome-cricket-23089
10/04/2021, 5:40 AMsome-cricket-23089
10/04/2021, 5:41 AMsome-cricket-23089
10/04/2021, 5:42 AMlittle-megabyte-1074
little-megabyte-1074
little-megabyte-1074
little-megabyte-1074
calm-morning-92759
10/29/2021, 8:13 AMbulky-intern-2942
11/01/2021, 3:18 PMsilly-translator-73123
11/09/2021, 8:17 AMsilly-translator-73123
11/09/2021, 9:29 AM