GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: setting up samples_build.yaml (2) by suztomo · Pull Request #1930 · googleapis/java-pubsub

This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Conversation

@suztomo

@suztomo suztomo commented Feb 22, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Enhancing the sample_build.yaml gradually. Current status:

  • AdminIT failed
  • DeadLetterQueueIT succeeded
  • PublisherIT succeeded
  • SchemaIT succeeded
  • SubscriberIT succeeded

Merging this for now as this has good progress itself. We'll address AdminIT in a subsequent pull request.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
suztomo and others added 7 commits February 20, 2024 12:51
@suztomo
chore: setting up samples_build.yaml
2117b98
@suztomo
show iam
b2fb7b4
@suztomo
fix typo
22979e9
@suztomo
specify GOOGLE_CLOUD_PROJECT variable
8e9e3a1
@gcf-owl-bot
🦉 Updates from OwlBot post-processor
5b7e07a
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
@suztomo
empty commit to trigger CloudBuild
f92498d
@suztomo
empty commit to trigger the build
aec6287
@suztomo
suztomo requested review from a team February 22, 2024 19:58
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: pubsub Issues related to the googleapis/java-pubsub API. samples Issues that are directly related to samples. labels Feb 22, 2024
@blunderbuss-gcf blunderbuss-gcf Bot assigned kweinmeister Feb 22, 2024
@suztomo
empty commit
51ea3e1
@suztomo suztomo mentioned this pull request Feb 22, 2024
chore: setting up samples_build.yaml #1925
Closed
@suztomo
suztomo marked this pull request as draft February 22, 2024 20:02
suztomo added 11 commits February 22, 2024 16:19
@suztomo
trigger the build
c59465f
@suztomo
seconds
ed70ebe
@suztomo
empty commit to trigger Cloud Build
9b6fdca
@suztomo
empty commit to trigger Cloud Build
7342eba
@suztomo
not specifying trigger
12b1913
@suztomo
test commit
2cdf9aa
@suztomo
test commit 2
98e4b1d
@suztomo
test commit 3
775993c
@suztomo
test commit 4
7ba4f0f
@suztomo
REGIONAL_USER_OWNED_BUCKET
128a879
@suztomo
test commit 5
cc3758f
@suztomo

suztomo commented Feb 23, 2024

Copy link
Copy Markdown
Member Author

Current failure

Step googleapis/java-pubsub#3: [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.804 s <<< FAILURE! - in pubsub.AdminIT
Step googleapis/java-pubsub#3: [ERROR] pubsub.AdminIT.testAdmin  Time elapsed: 15.799 s  <<< ERROR!
Step googleapis/java-pubsub#3: com.google.api.gax.rpc.FailedPreconditionException: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: One or more users named in the policy do not belong to a permitted customer.
Step googleapis/java-pubsub#3: 	at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:102)
Step googleapis/java-pubsub#3: 	at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:98)
Step googleapis/java-pubsub#3: 	at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:66)
Step googleapis/java-pubsub#3: 	at com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:97)
Step googleapis/java-pubsub#3: 	at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:84)
Step googleapis/java-pubsub#3: 	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1127)
Step googleapis/java-pubsub#3: 	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
Step googleapis/java-pubsub#3: 	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1286)
Step googleapis/java-pubsub#3: 	at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:1055)
Step googleapis/java-pubsub#3: 	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:807)
Step googleapis/java-pubsub#3: 	at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:568)
Step googleapis/java-pubsub#3: 	at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:538)
Step googleapis/java-pubsub#3: 	at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
Step googleapis/java-pubsub#3: 	at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
Step googleapis/java-pubsub#3: 	at io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
Step googleapis/java-pubsub#3: 	at com.google.api.gax.grpc.ChannelPool$ReleasingClientCall$1.onClose(ChannelPool.java:570)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:574)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:72)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:742)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
Step googleapis/java-pubsub#3: 	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
Step googleapis/java-pubsub#3: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Step googleapis/java-pubsub#3: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
Step googleapis/java-pubsub#3: 	at java.lang.Thread.run(Thread.java:750)
Step googleapis/java-pubsub#3: 	Suppressed: com.google.api.gax.rpc.AsyncTaskException: Asynchronous task failed
Step googleapis/java-pubsub#3: 		at com.google.api.gax.rpc.ApiExceptions.callAndTranslateApiException(ApiExceptions.java:57)
Step googleapis/java-pubsub#3: 		at com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
Step googleapis/java-pubsub#3: 		at com.google.cloud.pubsub.v1.TopicAdminClient.setIamPolicy(TopicAdminClient.java:1695)
Step googleapis/java-pubsub#3: 		at pubsub.SetTopicPolicyExample.setTopicPolicyExample(SetTopicPolicyExample.java:57)
Step googleapis/java-pubsub#3: 		at pubsub.AdminIT.testAdmin(AdminIT.java:209)
Step googleapis/java-pubsub#3: 		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Step googleapis/java-pubsub#3: 		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Step googleapis/java-pubsub#3: 		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Step googleapis/java-pubsub#3: 		at java.lang.reflect.Method.invoke(Method.java:498)
Step googleapis/java-pubsub#3: 		at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
Step googleapis/java-pubsub#3: 		at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
Step googleapis/java-pubsub#3: 		at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
Step googleapis/java-pubsub#3: 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
Step googleapis/java-pubsub#3: 		... 1 more
Step googleapis/java-pubsub#3: Caused by: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: One or more users named in the policy do not belong to a permitted customer.
Step googleapis/java-pubsub#3: 	at io.grpc.Status.asRuntimeException(Status.java:533)
Step googleapis/java-pubsub#3: 	... 14 more
Step googleapis/java-pubsub#3: 
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@suztomo
suztomo requested a review from michaelpri10 February 23, 2024 19:41
michaelpri10
michaelpri10 reviewed Feb 23, 2024
View reviewed changes
Comment thread .cloudbuild/samples_build.yaml Outdated
- name: gcr.io/cloud-devrel-public-resources/java8
entrypoint: echo
args: [
'Samp[le job succeeded',

@michaelpri10 michaelpri10 Feb 23, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: typo in "Samp[le"

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
michaelpri10
michaelpri10 approved these changes Feb 23, 2024
View reviewed changes
@suztomo
fix typo
a2616aa
@suztomo suztomo added the automerge Merge the pull request once unit tests and other checks pass. label Feb 23, 2024
@suztomo
suztomo marked this pull request as ready for review February 23, 2024 20:13
@suztomo suztomo added the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Feb 23, 2024
@gcf-merge-on-green
gcf-merge-on-green Bot merged commit 3e0be52 into main Feb 23, 2024
@gcf-merge-on-green
gcf-merge-on-green Bot deleted the cloudbuild-sample branch February 23, 2024 20:18
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 23, 2024
@michaelpri10 michaelpri10 mentioned this pull request Aug 13, 2024
Move the Java Testing Env to a new env #1792
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@michaelpri10 michaelpri10 michaelpri10 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@kweinmeister kweinmeister

Labels

api: pubsub Issues related to the googleapis/java-pubsub API. samples Issues that are directly related to samples. size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@suztomo @michaelpri10 @kweinmeister
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.