Open maxandersen opened 5 months ago
/cc @glefloch, @quarkusio/devtools
No error reported on my machine both asking the question and with a following run:
bbaptist@bbaptist-mac gradle-analytics-error % quarkus create app -S 3.9 --gradle && cd code-with-quarkus && ./gradlew quarkusDev
Looking for the newly published extensions in registry.quarkus.io
-----------
applying codestarts...
š java
šØ gradle
š¦ quarkus
š config-properties
š§ tooling-dockerfiles
š§ tooling-gradle-wrapper
š rest-codestart
-----------
[SUCCESS] ā
quarkus project has been successfully generated in:
--> /Volumes/devel/projects/other/reproducers/gradle-analytics-error/code-with-quarkus
-----------
Navigate into this directory and get started: quarkus dev
> Task :quarkusDev
io.smallrye.common:smallrye-common-net::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-net/2.2.0/261d912ae8bc78a67df97e69a589f998440f6d1c/smallrye-common-net-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-net/2.3.0/4858c78377802c801d2f9b24141381733b256260/smallrye-common-net-2.3.0.jar
io.smallrye.common:smallrye-common-constraint::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-constraint/2.2.0/73c7b76ba2582b5bd92b0b5300ed85ce5c86d8cb/smallrye-common-constraint-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-constraint/2.3.0/1be18f3663dc7e8a5080039cdd10415ae679544/smallrye-common-constraint-2.3.0.jar
io.smallrye.common:smallrye-common-ref::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-ref/2.2.0/3887e9f5b9c6ab21e6f9d5f71d550ecbdafc620a/smallrye-common-ref-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-ref/2.3.0/8dee03ceb1c5466faaeb5554e045abfffa3df4eb/smallrye-common-ref-2.3.0.jar
io.smallrye.common:smallrye-common-expression::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-expression/2.2.0/efd956fc77a194e2067525587a73c01ed3f18d05/smallrye-common-expression-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-expression/2.3.0/10b4807e36c082607bbd22bd263898c2043bb5f6/smallrye-common-expression-2.3.0.jar
io.smallrye.common:smallrye-common-function::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-function/2.2.0/fa5b3437899e29e29dad719543d05bdd9c5c98a8/smallrye-common-function-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-function/2.3.0/17e2dcd9e238c99a6aaaba0162ba8547bfc8ade3/smallrye-common-function-2.3.0.jar
io.smallrye.common:smallrye-common-cpu::jar classpath entry /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-cpu/2.2.0/b70030308912ce33baafbf9775bba3a5d0c69b00/smallrye-common-cpu-2.2.0.jar was overriden with /Users/bbaptist/.gradle/caches/modules-2/files-2.1/io.smallrye.common/smallrye-common-cpu/2.3.0/46b679da6b944d7e99fe2c32928978d916770b26/smallrye-common-cpu-2.3.0.jar
Listening for transport dt_socket at address: 5005
Press [e] to edit command line args (currently ''), [h] for more options>
Tests paused
Press [e] to edit command line args (currently ''), [r] to resume testing, [h] for more options>
Press [e] to edit command line args (currently ''), [r] to resume testing, [o] Toggle test output, [h] for more options>
__ ____ __ _____ ___ __ ____ ______
--/ __ \/ / / / _ | / _ \/ //_/ / / / __/
-/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2024-05-15 10:53:42,961 INFO [io.quarkus] (Quarkus Main Thread) code-with-quarkus 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.9.5) started in 1.025s. Listening on: http://localhost:8080
2024-05-15 10:53:42,963 INFO [io.quarkus] (Quarkus Main Thread) Profile dev activated. Live Coding activated.
2024-05-15 10:53:42,963 INFO [io.quarkus] (Quarkus Main Thread) Installed features: [cdi, rest, smallrye-context-propagation, vertx]
<===========--> 90% EXECUTING [1m 8s]
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :quarkusDev
> IDLE
> IDLE
Accepts requests:
bbaptist@bbaptist-mac ~ % curl -v http://localhost:8080/hello
* Trying [::1]:8080...
* connect to ::1 port 8080 failed: Connection refused
* Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080
> GET /hello HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/1.1 200 OK
< content-length: 23
< Content-Type: text/plain;charset=UTF-8
<
* Connection #0 to host localhost left intact
Hello from Quarkus REST%
Not sure if the analytics were sent
Using Quarkus cli 3.10.0
Gradle data:
```bash
bbaptist@bbaptist-mac code-with-quarkus % ./gradlew --version
]
------------------------------------------------------------
Gradle 8.6
------------------------------------------------------------
Build time: 2024-02-02 16:47:16 UTC
Revision: d55c486870a0dc6f6278f53d21381396d0741c6e
Kotlin: 1.9.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 21.0.2 (Eclipse Adoptium 21.0.2+13-LTS)
OS: Mac OS X 13.6.6 aarch64
Not sure if the analytics were sent... Researching that.
Run again... No errors with and without question.
The command to generate analytics must use a valid group id... The following command worked for me:
quarkus create app -S 3.9 --gradle org.brunobat:code-with-quarkus:1.0.0 && cd code-with-quarkus && ./gradlew quarkusDev
This is because the default group id, org.acme
is ignored for analytics.
This way I can see the analytics file being created with gradle:
-rw-r--r--@ 1 bbaptist staff 824 May 15 11:30 build-analytics-event.json
Describe the bug
when trying out https://github.com/quarkusio/quarkus/issues/40164 I noticed that
gradle quarkusDev
usage analytics seems broken/borked.Expected behavior
that gradle stops and ask for input (it currently asks the question but it does not stop)
Actual behavior
and then it continues.
How to Reproduce?
quarkus create app -S 3.9 --gradle && cd code-with-quarkus && ./gradlew quarkusDev
(dont know if 3.9 stream is significant but just what I used in this case)
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response