Skip to content

[CI] - Snapshot Deployment #12111

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

Closed
cescoffier opened this issue Sep 15, 2020 · 308 comments
Closed

[CI] - Snapshot Deployment #12111

cescoffier opened this issue Sep 15, 2020 · 308 comments
Labels
area/infra internal and infrastructure related issues

Comments

@cescoffier
Copy link
Member

cescoffier commented Sep 15, 2020

This issue reports the status of the daily cron job that runs deploys Quarkus Snapshot artifacts to https://s01.oss.sonatype.org/content/repositories/snapshots/io/quarkus/.

Don't close this issue manually. This issue will be closed when the build gets fixed. It will be re-opened if it fails again later. You can subscribe to be notified of the status.

To use the snapshots, add the following repository to your pom.xml file or Gradle project:

<repository>
  <id>maven-snapshots</id>
  <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
  <layout>default</layout>
  <releases>
     <enabled>false</enabled>
  </releases>
  <snapshots>
     <enabled>true</enabled>
  </snapshots>
</repository>

Use snapshots are your own risk. Because of the Maven resolution mechanism, they may be 24h old (even more) and in the Quarkus world, it can be 100 commits behind. If you have issues with snapshots, try to build a fresh version of Quarkus using the instructions from https://github.com/quarkusio/quarkus/blob/master/CONTRIBUTING.md

@cescoffier cescoffier added the area/infra internal and infrastructure related issues label Sep 15, 2020
cescoffier added a commit to cescoffier/quarkus that referenced this issue Sep 15, 2020
@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot quarkusbot reopened this Sep 17, 2020
@cescoffier
Copy link
Member Author

Seems to be failing with an intermittent maven issue: Could not find artifact io.quarkus:quarkus-hibernate-validator-deployment:jar:999-SNAPSHOT

@quarkusbot
Copy link

The build is still failing:

@cescoffier
Copy link
Member Author

Another weird Aerther issue on the same artifact: 2020-09-18T02:33:53.4887793Z Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact io.quarkus:quarkus-hibernate-validator-deployment:jar:999-SNAPSHOT

@gsmet it seems that a build from scratch does not work anymore.

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@cescoffier
Copy link
Member Author

cescoffier commented Sep 20, 2020

Making some progress... now failing with another resolution issue in SmallRye Health:
org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact io.quarkus:quarkus-smallrye-openapi-common-deployment:jar:999-SNAPSHOT

Most probably a missing -deployment test dependency on smallrye-openapi-common-deployment. @radcortez can you check?

@quarkusbot
Copy link

The build is still failing:

@cescoffier
Copy link
Member Author

So, the missing dependency issue is fixed. Now we are back to a Gradle test issue:

2020-09-21T03:52:22.7849521Z io.quarkus.gradle.KotlinBuildFileTest > testGetTestClosure() PASSED
2020-09-21T03:52:22.7850366Z 
2020-09-21T03:52:22.7851109Z io.quarkus.gradle.KotlinBuildFileTest > testGetProperty() PASSED
2020-09-21T03:52:49.1844721Z 
2020-09-21T03:52:49.1845614Z io.quarkus.gradle.KotlinBuildFileTest > testGetDependencies() FAILED
2020-09-21T03:52:49.1846549Z     java.lang.AssertionError at AbstractBuildFileTest.java:80
2020-09-21T03:52:55.6864184Z 
2020-09-21T03:52:55.6866407Z io.quarkus.gradle.QuarkusPluginTest > shouldMakeQuarkusDevAndQuarkusBuildDependOnClassesTask() PASSED
2020-09-21T03:52:55.6868160Z 
2020-09-21T03:52:55.6869160Z io.quarkus.gradle.QuarkusPluginTest > shouldCreateTasks() PASSED
2020-09-21T03:52:55.6869876Z 
2020-09-21T03:52:55.6870626Z io.quarkus.gradle.QuarkusPluginTest > shouldMakeAssembleDependOnQuarkusBuild() PASSED
2020-09-21T03:52:55.7845377Z 
2020-09-21T03:52:55.7846243Z io.quarkus.gradle.GroovyBuildFileTest > testGetTestClosure() PASSED
2020-09-21T03:52:55.7846797Z 
2020-09-21T03:52:55.7847368Z io.quarkus.gradle.GroovyBuildFileTest > testGetProperty() PASSED
2020-09-21T03:52:57.4844028Z 
2020-09-21T03:52:57.4845466Z io.quarkus.gradle.GroovyBuildFileTest > testGetDependencies() FAILED
2020-09-21T03:52:57.4846749Z     java.lang.AssertionError at AbstractBuildFileTest.java:80
2020-09-21T03:52:57.8845562Z 
2020-09-21T03:52:57.8845917Z 
2020-09-21T03:52:57.8847055Z 9 tests completed, 2 failed
2020-09-21T03:52:57.8847329Z > Task :test FAILED
2020-09-21T03:52:57.9949036Z 
2020-09-21T03:52:57.9950185Z FAILURE: Build failed with an exception.

@aloubyansky @ia3andy Any idea?

Important details, it's a from scratch build, which means that nothing is available. If the projects requires specific dependency, they must be declared in the pom.xml file, even artificially, to create an order.

@quarkusbot
Copy link

The build is still failing:

@aloubyansky
Copy link
Member

I reproduced it. Will have a look later today.

@cescoffier
Copy link
Member Author

Thanks @aloubyansky

@quarkusbot
Copy link

Build fixed:

@cescoffier
Copy link
Member Author

Thanks @aloubyansky !

@quarkusbot quarkusbot reopened this Sep 26, 2020
@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot
Copy link

The build is still failing:

@cescoffier
Copy link
Member Author

@iocanel @geoand Soemthing wrong with Kubernetes:

2020-09-27T04:18:44.4235630Z to be an instance of:
2020-09-27T04:18:44.4236616Z   <io.fabric8.kubernetes.api.model.rbac.RoleBinding>
2020-09-27T04:18:44.4237578Z but was instance of:
2020-09-27T04:18:44.4238571Z   <io.fabric8.kubernetes.api.model.apps.Deployment>
2020-09-27T04:18:44.4239347Z 
2020-09-27T04:18:44.4245356Z   <Role(apiVersion=rbac.authorization.k8s.io/v1, kind=Role, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=view-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), rules=[PolicyRule(apiGroups=[], nonResourceURLs=[], resourceNames=[], resources=[secrets], verbs=[get, list, watch], additionalProperties={})], additionalProperties={})> error: 
2020-09-27T04:18:44.4250157Z Expecting:
2020-09-27T04:18:44.4256061Z   <Role(apiVersion=rbac.authorization.k8s.io/v1, kind=Role, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=view-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), rules=[PolicyRule(apiGroups=[], nonResourceURLs=[], resourceNames=[], resources=[secrets], verbs=[get, list, watch], additionalProperties={})], additionalProperties={})>
2020-09-27T04:18:44.4260908Z to be an instance of:
2020-09-27T04:18:44.4261882Z   <io.fabric8.kubernetes.api.model.rbac.RoleBinding>
2020-09-27T04:18:44.4262935Z but was instance of:
2020-09-27T04:18:44.4263873Z   <io.fabric8.kubernetes.api.model.rbac.Role>
2020-09-27T04:18:44.4267770Z 
2020-09-27T04:18:44.4362192Z   <RoleBinding(apiVersion=rbac.authorization.k8s.io/v1, kind=RoleBinding, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets-view, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), roleRef=RoleRef(apiGroup=rbac.authorization.k8s.io, kind=ClusterRole, name=view, additionalProperties={}), subjects=[Subject(apiGroup=null, kind=ServiceAccount, name=kubernetes-config-with-secrets, namespace=null, additionalProperties={})], additionalProperties={})> error: 
2020-09-27T04:18:44.4368215Z Expecting:
2020-09-27T04:18:44.4369185Z  <"kubernetes-config-with-secrets-view">
2020-09-27T04:18:44.4369861Z to be equal to:
2020-09-27T04:18:44.4370691Z  <"kubernetes-config-with-secrets:view-secrets">
2020-09-27T04:18:44.4371372Z but was not.
2020-09-27T04:18:44.4371576Z 
2020-09-27T04:18:44.4386687Z   <RoleBinding(apiVersion=rbac.authorization.k8s.io/v1, kind=RoleBinding, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets-view-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), roleRef=RoleRef(apiGroup=rbac.authorization.k8s.io, kind=Role, name=view-secrets, additionalProperties={}), subjects=[Subject(apiGroup=null, kind=ServiceAccount, name=kubernetes-config-with-secrets, namespace=null, additionalProperties={})], additionalProperties={})> error: 
2020-09-27T04:18:44.4396626Z Expecting:
2020-09-27T04:18:44.4397911Z  <"kubernetes-config-with-secrets-view-secrets">
2020-09-27T04:18:44.4398859Z to be equal to:
2020-09-27T04:18:44.4399700Z  <"kubernetes-config-with-secrets:view-secrets">
2020-09-27T04:18:44.4400346Z but was not.
2020-09-27T04:18:44.4400551Z 
2020-09-27T04:18:44.4570313Z   <Service(apiVersion=v1, kind=Service, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=ServiceSpec(clusterIP=null, externalIPs=[], externalName=null, externalTrafficPolicy=null, healthCheckNodePort=null, ipFamily=null, loadBalancerIP=null, loadBalancerSourceRanges=[], ports=[ServicePort(appProtocol=null, name=http, nodePort=null, port=8080, protocol=null, targetPort=IntOrString(IntVal=8080, Kind=0, StrVal=null, additionalProperties={}), additionalProperties={})], publishNotReadyAddresses=null, selector={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, sessionAffinity=null, sessionAffinityConfig=null, topologyKeys=[], type=ClusterIP, additionalProperties={}), status=null, additionalProperties={})> error: 
2020-09-27T04:18:44.4577952Z Expecting:
2020-09-27T04:18:44.4587443Z   <Service(apiVersion=v1, kind=Service, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), spec=ServiceSpec(clusterIP=null, externalIPs=[], externalName=null, externalTrafficPolicy=null, healthCheckNodePort=null, ipFamily=null, loadBalancerIP=null, loadBalancerSourceRanges=[], ports=[ServicePort(appProtocol=null, name=http, nodePort=null, port=8080, protocol=null, targetPort=IntOrString(IntVal=8080, Kind=0, StrVal=null, additionalProperties={}), additionalProperties={})], publishNotReadyAddresses=null, selector={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, sessionAffinity=null, sessionAffinityConfig=null, topologyKeys=[], type=ClusterIP, additionalProperties={}), status=null, additionalProperties={})>
2020-09-27T04:18:44.4595255Z to be an instance of:
2020-09-27T04:18:44.4596168Z   <io.fabric8.kubernetes.api.model.rbac.RoleBinding>
2020-09-27T04:18:44.4597098Z but was instance of:
2020-09-27T04:18:44.4597802Z   <io.fabric8.kubernetes.api.model.Service>
2020-09-27T04:18:44.4598372Z 
2020-09-27T04:18:44.4604443Z   <ServiceAccount(apiVersion=v1, automountServiceAccountToken=null, imagePullSecrets=[], kind=ServiceAccount, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), secrets=[], additionalProperties={})> error: 
2020-09-27T04:18:44.4609249Z Expecting:
2020-09-27T04:18:44.4614888Z   <ServiceAccount(apiVersion=v1, automountServiceAccountToken=null, imagePullSecrets=[], kind=ServiceAccount, metadata=ObjectMeta(annotations={app.quarkus.io/vcs-url=https://github.com/quarkusio/quarkus.git, app.quarkus.io/build-timestamp=2020-09-27 - 04:17:12 +0000, app.quarkus.io/commit-id=8ff9ed150e8ae3f2fe940d66eb77acd50a69c423}, clusterName=null, creationTimestamp=null, deletionGracePeriodSeconds=null, deletionTimestamp=null, finalizers=[], generateName=null, generation=null, labels={app.kubernetes.io/name=kubernetes-config-with-secrets, app.kubernetes.io/version=0.1-SNAPSHOT}, managedFields=[], name=kubernetes-config-with-secrets, namespace=null, ownerReferences=[], resourceVersion=null, selfLink=null, uid=null, additionalProperties={}), secrets=[], additionalProperties={})>
2020-09-27T04:18:44.4619834Z to be an instance of:
2020-09-27T04:18:44.4620818Z   <io.fabric8.kubernetes.api.model.rbac.RoleBinding>
2020-09-27T04:18:44.4621782Z but was instance of:
2020-09-27T04:18:44.4622692Z   <io.fabric8.kubernetes.api.model.ServiceAccount>
2020-09-27T04:18:44.4624837Z [ERROR]   WithKubernetesClientTest.assertGeneratedResources:69->lambda$assertGeneratedResources$6:70 
2020-09-27T04:18:44.4626165Z Expecting:
2020-09-27T04:18:44.4626863Z  <"kubernetes-with-client-view">
2020-09-27T04:18:44.4627402Z to be equal to:
2020-09-27T04:18:44.4628060Z  <"kubernetes-with-client:view">
2020-09-27T04:18:44.4628536Z but was not.

@quarkusbot
Copy link

The build is still failing:

@geoand
Copy link
Contributor

geoand commented Sep 28, 2020

Looking into it

@cescoffier
Copy link
Member Author

@geoand What I don't get is how it does not fail on the master build...

@geoand
Copy link
Contributor

geoand commented Sep 28, 2020

Unfortunately it does... See #12366

@cescoffier
Copy link
Member Author

@geoand At least, it's logic :-)

@geoand
Copy link
Contributor

geoand commented Sep 28, 2020

Indeed :)

@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot quarkusbot reopened this Mar 20, 2025
@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot quarkusbot reopened this Apr 20, 2025
@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot quarkusbot reopened this May 24, 2025
@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

Build fixed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infra internal and infrastructure related issues
Projects
None yet
Development

No branches or pull requests

8 participants