-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
gradle quarkusDev usage analytics question not working? #40650
Comments
/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
|
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:
This is because the default group id, 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 #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
The text was updated successfully, but these errors were encountered: