quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

Add MacOS M1 runs to incremental builds

Open holly-cummins opened this issue 3 years ago • 2 comments

I have set up a self-hosted runner on a Mac Mini which can now start running builds. Before this PR is merged, we will need to adjust the quarkus repository settings to wire in the runner.

As a first pass, I've added the runner to the JVM matrix in the incremental build.

  • We may also want to add it to the native matrix since that could be a place where we see lots of errors
  • We only have a single machine, so if the load is too high, we may want to move M1 to a less widely used workflow, or a lighter set of tests within the incremental CI workflow, or put a condition on its execution. However, I saw that the ubuntu builds Java 17 took 3 hours and the M1 build took 1 hour (and got further), so we may find that having the fast M1 machine serving build requests is a good way for contributors to get fast feedback.

I disabled some linux-specific steps which are not currently run on windows, so skipping them on mac should also be safe. (Although I wonder about the mongodb one, and whether we should find a platform-agnostic way to stop it if it leaks).

https://github.com/holly-cummins/quarkus/actions/runs/2798189377 has build output for my PR, on a runner I attached to my fork. The M1 build did not succeed, which isn't totally surprising because we know we have a range of issues on that platform (which is why we want an M1 build!). However, it got about as far as the ubuntu Java 17 build. Both seemed to fail in the first extensions test suite they ran.

The M1 failure was in mongodb, which makes me a bit nervous that stopping mongo will be needed in some way, especially since self-hosted-runners don't run on a fresh machine each time. I think it might be helpful to iterate on that while the M1 facility is available, to start building up some coverage of how often we see failures and where else they are. For example, I'm surprised I didn't see #25230 in the Actions build.

holly-cummins avatar Aug 05 '22 11:08 holly-cummins


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 2ea37fb838b31a8c92611d512555b105efa20e2a

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18
Native Tests - Data1 Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: integration-tests/smallrye-context-propagation 

:package: integration-tests/smallrye-context-propagation

io.quarkus.context.test.SimpleContextPropagationTest.testArcMEContextPropagationDisabled line 83 - More details - Source on GitHub

org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)

:gear: Native Tests - Data1 #

- Failing: integration-tests/jpa-derby 

:package: integration-tests/jpa-derby

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project quarkus-integration-test-jpa-derby: Failed to build quarkus application

quarkus-bot[bot] avatar Aug 06 '22 15:08 quarkus-bot[bot]

Merging of this is paused pending adding the M1 runner, which is paused pending https://github.com/quarkusio/quarkus-github-bot/issues/256.

holly-cummins avatar Aug 09 '22 16:08 holly-cummins

I've added an extra set of rules which leverage https://github.com/quarkusio/quarkus-github-bot/issues/256 to control what PRs are allowed to run on the runners. This helps secure both the new M1 runner and the existing hosted runners.

This should be ready to merge; if we get the sequencing wrong and merge too early, the worst consequence is that we start to build up a backlog of requests on the M1 runner.

holly-cummins avatar Sep 12 '22 12:09 holly-cummins

@holly-cummins have you seen the macOS build is pending?

gsmet avatar Sep 13 '22 12:09 gsmet


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


:no_entry_sign: This workflow run has been cancelled.

Failing Jobs - Building a724ef3ce6d9861c1906d6888c353b220eea55e9

Status Name Step Failures Logs Raw logs
:hourglass: Initial JDK 11 Build :warning: Check → Logs Raw logs
:hourglass: Attach pull request number :warning: Check → Logs Raw logs
:hourglass: CI Sanity Check :warning: Check → Logs Raw logs

quarkus-bot[bot] avatar Sep 13 '22 14:09 quarkus-bot[bot]

I wasn't planning to enable the M1 runner until the repo workflows were locked down and bot configuration was pushed. To allow the timing of the two things to be more separate, I'll pull the bot configuration changes out into another PR.

holly-cummins avatar Sep 13 '22 14:09 holly-cummins


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


:no_entry_sign: This workflow run has been cancelled.

Failing Jobs - Building a724ef3ce6d9861c1906d6888c353b220eea55e9

Status Name Step Failures Logs Raw logs
:hourglass: Initial JDK 11 Build :warning: Check → Logs Raw logs
:hourglass: Attach pull request number :warning: Check → Logs Raw logs
:hourglass: CI Sanity Check :warning: Check → Logs Raw logs

quarkus-bot[bot] avatar Sep 13 '22 14:09 quarkus-bot[bot]

See https://github.com/quarkusio/quarkus/pull/27899 for the bot changes, which should be merged first.

holly-cummins avatar Sep 13 '22 14:09 holly-cummins


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 07408428b1bd68b9563683788a79d9e8e16e11a2

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
JVM Tests - JDK 11 Windows Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 Windows #

- Failing: extensions/smallrye-reactive-messaging-amqp/deployment 
! Skipped: integration-tests/reactive-messaging-amqp 

:package: extensions/smallrye-reactive-messaging-amqp/deployment

io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest.test line 30 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

io.quarkus.smallrye.reactivemessaging.amqp.devmode.AmqpDevModeTest.testCodeUpdate line 44 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.smallrye.reactivemessaging.amqp.devmode.AmqpDevModeTest was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

io.quarkus.smallrye.reactivemessaging.amqp.devmode.nohttp.AmqpDevModeNoHttpTest.testConsumerUpdate line 77 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: 
Assertion condition defined as a io.quarkus.smallrye.reactivemessaging.amqp.devmode.nohttp.AmqpDevModeNoHttpTest 
Expecting size of:

io.quarkus.smallrye.reactivemessaging.amqp.devmode.nohttp.AmqpDevModeNoHttpTest.testProducerUpdate - More details - Source on GitHub

java.util.concurrent.RejectedExecutionException
	at org.jboss.threads.RejectingExecutor.execute(RejectingExecutor.java:38)
	at org.jboss.threads.EnhancedQueueExecutor.rejectShutdown(EnhancedQueueExecutor.java:2076)

io.quarkus.smallrye.reactivemessaging.amqp.SecuredAmqpTest.test line 28 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.smallrye.reactivemessaging.amqp.SecuredAmqpTest was not fulfilled within 10 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: extensions/grpc/stubs extensions/mongodb-client/runtime integration-tests/hibernate-orm-graphql-panache and 4 more
! Skipped: extensions/grpc/deployment extensions/grpc/runtime extensions/liquibase-mongodb/deployment and 63 more

:package: extensions/grpc/stubs

Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (compile) on project quarkus-grpc-stubs: An error occurred while invoking protoc: Error while executing process.

:package: extensions/mongodb-client/runtime

io.quarkus.mongodb.reactive.BasicInteractionTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.CollectionManagementTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.ConnectionToReplicaSetTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.DatabaseListTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.DatabaseRunCommandTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.ListDatabaseTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

io.quarkus.mongodb.reactive.ReactiveMongoClientTest. - More details - Source on GitHub

java.lang.NullPointerException: Cannot invoke "de.flapdoodle.embed.process.runtime.ProcessControl.getPid()" because "this.process" is null
	at de.flapdoodle.embed.process.runtime.AbstractProcess.getProcessId(AbstractProcess.java:229)
	at de.flapdoodle.embed.process.runtime.AbstractProcess.sendKillToProcess(AbstractProcess.java:210)

:package: integration-tests/hibernate-orm-graphql-panache

io.quarkus.it.hibertnate.orm.graphql.panache.HibernateOrmGraphQLPanacheTest.testEndpoint line 63 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path data.authors.dob doesn't match.

:package: integration-tests/hibernate-orm-rest-data-panache

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetAuthor line 51 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetBookHal line 82 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetBook line 70 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListAuthors line 97 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListBooksHal line 134 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path _embedded.books.author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListBooks line 109 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

:package: integration-tests/jackson

io.quarkus.it.jackson.DateDeserializerPojoResourceTest.testSqlDate line 41 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path date doesn't match.

:package: integration-tests/smallrye-config

io.quarkus.it.smallrye.config.AppConfigTest.getToString line 19 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

:package: integration-tests/spring-data-rest

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetAuthor line 43 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetBookHal line 67 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetBook line 55 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListAuthors line 82 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListBooksHal line 106 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path _embedded.books.author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListBooks line 94 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

quarkus-bot[bot] avatar Sep 13 '22 19:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 79338f13df6a8dd70a2883764eb928b7887d1014

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:hourglass: JVM Tests - JDK 11 Windows Build :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Add quarkusio remote :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18

quarkus-bot[bot] avatar Sep 15 '22 21:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


✖ This workflow run has failed but no jobs reported an error. Something weird happened, please check the workflow run page carefully: it might be an issue with the workflow configuration itself.

quarkus-bot[bot] avatar Sep 16 '22 09:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 6b4f85d1d2e91fb18f3e609eb1d563ccc587cd66

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
JVM Tests - JDK 17 Build Failures Logs Raw logs
JVM Tests - JDK 17 MacOS M1 Run actions/checkout@v3 :warning: Check → Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
:heavy_check_mark: Maven Tests - JDK 11
:hourglass: Maven Tests - JDK 11 Windows Build :warning: Check → Logs Raw logs
:hourglass: MicroProfile TCKs Tests Verify :warning: Check → Logs Raw logs
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: integration-tests/oidc-code-flow 

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testTokenAutoRefresh line 507 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/tenant-autorefresh?state=58ad170f-4489-4fb4-96f9-c3954a427a74&session_state=6e90296e-1b00-4865-b9cb-38d9f1f01813&code=ac58297f-e9c9-48bc-9c4b-c977983d00df.6e90296e-1b00-4865-b9cb-38d9f1f01813.1c1088ae-ffa4-43b4-bb96-efca348f372f
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2452)

:gear: JVM Tests - JDK 17 #

- Failing: extensions/micrometer/deployment 
! Skipped: extensions/micrometer-registry-prometheus/deployment extensions/quartz/deployment extensions/scheduler/deployment and 21 more

:package: extensions/micrometer/deployment

io.quarkus.micrometer.deployment.binder.HttpDevModeConfigTest.test line 90 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

:gear: JVM Tests - JDK 18 #

- Failing: extensions/grpc/deployment 
! Skipped: extensions/opentelemetry/opentelemetry-exporter-jaeger/deployment extensions/opentelemetry/opentelemetry-exporter-otlp/deployment extensions/opentelemetry/opentelemetry/deployment and 20 more

:package: extensions/grpc/deployment

io.quarkus.grpc.server.devmode.GrpcDevModeTest.testEchoStreamReload - More details - Source on GitHub

java.util.concurrent.RejectedExecutionException
	at org.jboss.threads.RejectingExecutor.execute(RejectingExecutor.java:38)
	at org.jboss.threads.EnhancedQueueExecutor.rejectShutdown(EnhancedQueueExecutor.java:2076)

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 16 '22 23:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building 88bba4560178643f79ccd63aa526bf7137b0a547

Status Name Step Failures Logs Raw logs
JVM Tests - JDK 11 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 11 #

- Failing: extensions/smallrye-reactive-messaging-amqp/deployment integration-tests/oidc-code-flow 
! Skipped: integration-tests/reactive-messaging-amqp 

:package: extensions/smallrye-reactive-messaging-amqp/deployment

io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest.test line 30 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with io.quarkus.smallrye.reactivemessaging.amqp.AnonymousAmqpTest was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

:package: integration-tests/oidc-code-flow

io.quarkus.it.keycloak.CodeFlowTest.testTokenAutoRefresh line 507 - More details - Source on GitHub

com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 401 Unauthorized for http://localhost:8081/tenant-autorefresh?state=0a251db7-7d25-4d27-ab0f-9f9e37bcb261&session_state=49a2e937-0eb3-47bd-a293-f1b74789b560&code=2947b722-b64e-4371-8cc5-0fabd6dc0138.49a2e937-0eb3-47bd-a293-f1b74789b560.332eb76d-f2dc-46a7-ab57-6ef68069681c
	at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:701)
	at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2452)

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: extensions/smallrye-graphql/deployment integration-tests/hibernate-orm-rest-data-panache integration-tests/jackson and 1 more
! Skipped: extensions/smallrye-graphql-client/deployment integration-tests/hibernate-orm-graphql-panache integration-tests/smallrye-graphql and 1 more

:package: extensions/smallrye-graphql/deployment

io.quarkus.smallrye.graphql.deployment.ConcurrentAuthTest.concurrentAllFilmsOnly line 65 - More details - Source on GitHub

java.util.concurrent.ExecutionException: java.net.SocketException: Connection reset
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)

:package: integration-tests/hibernate-orm-rest-data-panache

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetAuthor line 51 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetBookHal line 82 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldGetBook line 70 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListAuthors line 97 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListBooksHal line 134 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path _embedded.books.author.dob doesn't match.

io.quarkus.it.hibernate.orm.rest.data.panache.HibernateOrmRestDataPanacheTest.shouldListBooks line 109 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

:package: integration-tests/jackson

io.quarkus.it.jackson.DateDeserializerPojoResourceTest.testSqlDate line 41 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path date doesn't match.

:package: integration-tests/spring-data-rest

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetAuthor line 43 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetBookHal line 67 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldGetBook line 55 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListAuthors line 82 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListBooksHal line 106 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path _embedded.books.author.dob doesn't match.

io.quarkus.it.spring.data.rest.SpringDataRestTest.shouldListBooks line 94 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path author.dob doesn't match.

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 17 '22 10:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building c06841708e834f68ad58d120ded143646d13c204

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
JVM Tests - JDK 18 Build Failures Logs Raw logs
:heavy_check_mark: Maven Tests - JDK 11
:hourglass: Maven Tests - JDK 11 Windows Build :warning: Check → Logs Raw logs
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: integration-tests/hibernate-orm-graphql-panache 

:package: integration-tests/hibernate-orm-graphql-panache

io.quarkus.it.hibertnate.orm.graphql.panache.HibernateOrmGraphQLPanacheTest.testEndpoint line 63 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
JSON path data.authors.dob doesn't match.

:gear: JVM Tests - JDK 18 #

- Failing: extensions/smallrye-reactive-messaging-kafka/deployment integration-tests/smallrye-graphql-client 
! Skipped: integration-tests/kafka-oauth-keycloak integration-tests/kafka-sasl-elytron integration-tests/kubernetes/quarkus-standard-way-kafka and 3 more

:package: extensions/smallrye-reactive-messaging-kafka/deployment

io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingTestCase.testContinuousTestingScenario1 line 59 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 4 State{lastRun=3, running=true, inProgress=false, run=1, passed=0, failed=1, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.smallrye.reactivemessaging.kafka.deployment.testing.KafkaDevServicesContinuousTestingTestCase.testContinuousTestingScenario1(KafkaDevServicesContinuousTestingTestCase.java:59)

:package: integration-tests/smallrye-graphql-client

io.quarkus.it.smallrye.graphql.client.DynamicClientTest.testDynamicClientSubscription line 43 - More details - Source on GitHub

java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:280)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:306)

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 17 '22 22:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building ccc6c44f01a92fe713d88adb5ff26e01a879c7c8

Status Name Step Failures Logs Raw logs
:hourglass: JVM Tests - JDK 11 Build :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 17
:hourglass: JVM Tests - JDK 17 MacOS M1 Build :warning: Check → Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Failures

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 18 '22 16:09 quarkus-bot[bot]


:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.


Failing Jobs - Building b06790ddd8dd7357595cb5b9785790a1277d1d3d

Status Name Step Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 11
:heavy_check_mark: JVM Tests - JDK 17
JVM Tests - JDK 17 MacOS M1 Build Failures Logs Raw logs
:heavy_check_mark: JVM Tests - JDK 18
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

:gear: JVM Tests - JDK 17 MacOS M1 #

- Failing: integration-tests/smallrye-config 

:package: integration-tests/smallrye-config

io.quarkus.it.smallrye.config.AppConfigTest.getToString line 19 - More details - Source on GitHub

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

:gear: Quickstarts Compilation - JDK 17 #

- Failing: optaplanner-quickstart 

:package: optaplanner-quickstart

Failed to execute goal io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:build (default) on project optaplanner-quickstart: Failed to build quarkus application

quarkus-bot[bot] avatar Sep 18 '22 22:09 quarkus-bot[bot]

Another nearly clear run on M1: just this failure, which seems to me to be a brittle test. The output is the same as the expected, except for the order of parameters:

[Check failure on line 19 in integration-tests/smallrye-config/src/test/java/io/quarkus/it/smallrye/config/AppConfigTest.java](https://github.com/quarkusio/quarkus/commit/b06790ddd8dd7357595cb5b9785790a1277d1d3d#annotation_4644614958)

@quarkus-bot quarkus-bot / Build summary for b06790ddd8dd7357595cb5b9785790a1277d1d3d

JVM Tests - JDK 17 MacOS M1

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.

java.lang.AssertionError: 
1 expectation failed.
Response body doesn't match expectation.
Expected: is "AppConfig{name=app, info=Info{count=10, alias=alias}}"
  Actual: AppConfig{name=app, info=Info{alias=alias, count=10}}

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)

holly-cummins avatar Sep 19 '22 08:09 holly-cummins

(I'll re-run to confirm the smallrye-config failure is intermittent/unrelated-to-m1, and to incorporate the latest changes.)

holly-cummins avatar Sep 19 '22 08:09 holly-cummins

Same smallrye config failure on the next run, so I have disabled and raised https://github.com/quarkusio/quarkus/issues/28057.

holly-cummins avatar Sep 19 '22 12:09 holly-cummins

The main action run, https://github.com/quarkusio/quarkus/actions/runs/3083733398 is clean, and ran M1. In the run on my fork, https://github.com/holly-cummins/quarkus/actions/runs/3083733139, there's a test failure on windows, but the important thing is that M1 was not run. (We want to run M1 on PRs, but we do not want to run M1 on forks, since forks are very unlikely to have a self-hosted M1 runner attached to them.)

The changes include

  • Enabling the M1 workflow
  • Adjustments to preprocess the job matrix to exclude M1 on forks
  • Disabling some tests which failed on Mac(see comments above). Several of these tests have fixes merged, which we can validate once this changeset has merged.

holly-cummins avatar Sep 20 '22 07:09 holly-cummins