Skip to content

chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 #6462

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

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Dec 3, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.cloud.samples:shared-configuration 1.0.23 -> 1.2.0 age adoption passing confidence

Release Notes

GoogleCloudPlatform/java-repo-tools

v1.2.0

Compare Source

v1.0.24

Compare Source


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@forking-renovate forking-renovate bot added the automerge Merge the pull request once unit tests and other checks pass. label Dec 3, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 3, 2021
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Dec 3, 2021
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Dec 3, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 3, 2021
@gcf-merge-on-green
Copy link
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Dec 4, 2021
@eaball35
Copy link
Contributor

eaball35 commented Dec 7, 2021

#
# jobs/v3
#

[ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 138.317 s <<< FAILURE! - in SampleTests
[ERROR] SampleTests.autoCompleteSampleTest  Time elapsed: 12.175 s  <<< FAILURE!
expected to contain a match for:
    .*completionResults.*"suggestion":"Google","type":"COMPANY_NAME"}.*
    .*completionResults.*"suggestion":"Software Engineer","type":"JOB_TITLE".*
    .*completionResults.*"suggestion":"Software Engineer","type":"JOB_TITLE".*

but was:
    Company generated: GenericData{classInfo=[careerSiteUri, derivedInfo, displayName, eeoText, externalId, headquartersAddress, hiringAgency, imageUri, keywordSearchableJobCustomAttributes, name, size, suspended, websiteUri], {displayName=Google, externalId=company:-6787776685044378187, headquartersAddress=1600 Amphitheatre Parkway Mountain View, CA 94043}}
    Company created: {"derivedInfo":{"headquartersLocation":{"latLng":{"latitude":37.422388,"longitude":-122.0841883},"locationType":"STREET_ADDRESS","postalAddress":{"addressLines":["Google Building 40, 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA"],"administrativeArea":"CA","locality":"Mountain View","postalCode":"94043","regionCode":"US"},"radiusInMiles":7.866483130054541E-5}},"displayName":"Google","externalId":"company:-6787776685044378187","headquartersAddress":"1600 Amphitheatre Parkway Mountain View, CA 94043","name":"projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4"}
    Job generated: GenericData{classInfo=[addresses, applicationInfo, companyDisplayName, companyName, compensationInfo, customAttributes, degreeTypes, department, derivedInfo, description, employmentTypes, incentives, jobBenefits, jobEndTime, jobLevel, jobStartTime, languageCode, name, postingCreateTime, postingExpireTime, postingPublishTime, postingRegion, postingUpdateTime, processingOptions, promotionValue, qualifications, requisitionId, responsibilities, title, visibility], {applicationInfo=GenericData{classInfo=[emails, instruction, uris], {uris=[http://careers.google.com]}}, companyName=projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4, description=Design, develop, test, deploy, maintain and improve software., requisitionId=jobWithRequiredFields:9072922168612020959, title=Software Engineer}}
    Job created: {"applicationInfo":{"uris":["http://careers.google.com"]},"companyDisplayName":"Google","companyName":"projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4","description":"Design, develop, test, deploy, maintain and improve software.","languageCode":"en","name":"projects/java-docs-samples-testing/jobs/111885771696153286","postingCreateTime":"2021-12-03T21:36:57.943Z","postingExpireTime":"2022-01-02T21:36:57.942Z","postingPublishTime":"2021-12-03T21:36:58.016Z","postingUpdateTime":"2021-12-03T21:36:57.943Z","requisitionId":"jobWithRequiredFields:9072922168612020959","title":"Software engineer","visibility":"ACCOUNT_ONLY"}
    {"completionResults":[{"suggestion":"Google Search","type":"COMPANY_NAME"}],"metadata":{"requestId":"a3400dda-e1ef-4eff-93c3-564f2d66827a:APAb7IR23vEE5PXp4Jb6qi9qkzGpGCk19A=="}}
    {"completionResults":[{"suggestion":"Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Developer","type":"JOB_TITLE"},{"suggestion":"Senior Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Development Engineer","type":"JOB_TITLE"},{"suggestion":"Principal Software Engineer","type":"JOB_TITLE"},{"suggestion":"Senior Software Developer","type":"JOB_TITLE"},{"suggestion":"Software Development Manager","type":"JOB_TITLE"},{"suggestion":"Software Architect","type":"JOB_TITLE"},{"suggestion":"Staff Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Engineer 2","type":"JOB_TITLE"}],"metadata":{"requestId":"2d192625-3c8d-42b0-a95b-0d5aaf9f96fc:APAb7IQayLI+LQnEX6SXjJ0OqNYZcfmf3A=="}}
    {"completionResults":[{"suggestion":"Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Developer","type":"JOB_TITLE"},{"suggestion":"Senior Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Development Engineer","type":"JOB_TITLE"},{"suggestion":"Principal Software Engineer","type":"JOB_TITLE"},{"suggestion":"Senior Software Developer","type":"JOB_TITLE"},{"suggestion":"Software Development Manager","type":"JOB_TITLE"},{"suggestion":"Software Architect","type":"JOB_TITLE"},{"suggestion":"Staff Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Engineer 2","type":"JOB_TITLE"}],"metadata":{"requestId":"af6d09cf-44e7-41f1-92dd-c5169682c5d4:APAb7IT9MBOgCrLGCuLxtryDhdqDGteiDA=="}}
    Job deleted
    Company deleted

	at SampleTests.autoCompleteSampleTest(SampleTests.java:55)

[ERROR] Failures:
[ERROR]   SampleTests.autoCompleteSampleTest:55 expected to contain a match for:
    .*completionResults.*"suggestion":"Google","type":"COMPANY_NAME"}.*
    .*completionResults.*"suggestion":"Software Engineer","type":"JOB_TITLE".*
    .*completionResults.*"suggestion":"Software Engineer","type":"JOB_TITLE".*

but was:
    Company generated: GenericData{classInfo=[careerSiteUri, derivedInfo, displayName, eeoText, externalId, headquartersAddress, hiringAgency, imageUri, keywordSearchableJobCustomAttributes, name, size, suspended, websiteUri], {displayName=Google, externalId=company:-6787776685044378187, headquartersAddress=1600 Amphitheatre Parkway Mountain View, CA 94043}}
    Company created: {"derivedInfo":{"headquartersLocation":{"latLng":{"latitude":37.422388,"longitude":-122.0841883},"locationType":"STREET_ADDRESS","postalAddress":{"addressLines":["Google Building 40, 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA"],"administrativeArea":"CA","locality":"Mountain View","postalCode":"94043","regionCode":"US"},"radiusInMiles":7.866483130054541E-5}},"displayName":"Google","externalId":"company:-6787776685044378187","headquartersAddress":"1600 Amphitheatre Parkway Mountain View, CA 94043","name":"projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4"}
    Job generated: GenericData{classInfo=[addresses, applicationInfo, companyDisplayName, companyName, compensationInfo, customAttributes, degreeTypes, department, derivedInfo, description, employmentTypes, incentives, jobBenefits, jobEndTime, jobLevel, jobStartTime, languageCode, name, postingCreateTime, postingExpireTime, postingPublishTime, postingRegion, postingUpdateTime, processingOptions, promotionValue, qualifications, requisitionId, responsibilities, title, visibility], {applicationInfo=GenericData{classInfo=[emails, instruction, uris], {uris=[http://careers.google.com]}}, companyName=projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4, description=Design, develop, test, deploy, maintain and improve software., requisitionId=jobWithRequiredFields:9072922168612020959, title=Software Engineer}}
    Job created: {"applicationInfo":{"uris":["http://careers.google.com"]},"companyDisplayName":"Google","companyName":"projects/java-docs-samples-testing/companies/53992a4b-497e-4ea8-aaa3-6306e2902ab4","description":"Design, develop, test, deploy, maintain and improve software.","languageCode":"en","name":"projects/java-docs-samples-testing/jobs/111885771696153286","postingCreateTime":"2021-12-03T21:36:57.943Z","postingExpireTime":"2022-01-02T21:36:57.942Z","postingPublishTime":"2021-12-03T21:36:58.016Z","postingUpdateTime":"2021-12-03T21:36:57.943Z","requisitionId":"jobWithRequiredFields:9072922168612020959","title":"Software engineer","visibility":"ACCOUNT_ONLY"}
    {"completionResults":[{"suggestion":"Google Search","type":"COMPANY_NAME"}],"metadata":{"requestId":"a3400dda-e1ef-4eff-93c3-564f2d66827a:APAb7IR23vEE5PXp4Jb6qi9qkzGpGCk19A=="}}
    {"completionResults":[{"suggestion":"Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Developer","type":"JOB_TITLE"},{"suggestion":"Senior Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Development Engineer","type":"JOB_TITLE"},{"suggestion":"Principal Software Engineer","type":"JOB_TITLE"},{"suggestion":"Senior Software Developer","type":"JOB_TITLE"},{"suggestion":"Software Development Manager","type":"JOB_TITLE"},{"suggestion":"Software Architect","type":"JOB_TITLE"},{"suggestion":"Staff Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Engineer 2","type":"JOB_TITLE"}],"metadata":{"requestId":"2d192625-3c8d-42b0-a95b-0d5aaf9f96fc:APAb7IQayLI+LQnEX6SXjJ0OqNYZcfmf3A=="}}
    {"completionResults":[{"suggestion":"Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Developer","type":"JOB_TITLE"},{"suggestion":"Senior Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Development Engineer","type":"JOB_TITLE"},{"suggestion":"Principal Software Engineer","type":"JOB_TITLE"},{"suggestion":"Senior Software Developer","type":"JOB_TITLE"},{"suggestion":"Software Development Manager","type":"JOB_TITLE"},{"suggestion":"Software Architect","type":"JOB_TITLE"},{"suggestion":"Staff Software Engineer","type":"JOB_TITLE"},{"suggestion":"Software Engineer 2","type":"JOB_TITLE"}],"metadata":{"requestId":"af6d09cf-44e7-41f1-92dd-c5169682c5d4:APAb7IT9MBOgCrLGCuLxtryDhdqDGteiDA=="}}
    Job deleted
    Company deleted

[ERROR] Tests run: 12, Failures: 1, Errors: 0, Skipped: 0
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project cloud-talent-solution-samples: There are test failures.
[ERROR]
[ERROR] Please refer to /tmpfs/src/github/java-docs-samples/jobs/v3/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

 Testing failed: Maven returned a non-zero exit code.



err: exit status 1

@eaball35 eaball35 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 7, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 7, 2021
@renovate-bot renovate-bot force-pushed the renovate/com.google.cloud.samples-shared-configuration-1.x branch from 410a74b to cd2216a Compare December 8, 2021 23:22
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 8, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 8, 2021
@lesv lesv added automerge Merge the pull request once unit tests and other checks pass. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Dec 9, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2021
@lesv
Copy link
Contributor

lesv commented Dec 9, 2021

Java 8


#
# iam/api-client
#

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.7 s <<< FAILURE! - in iam.snippets.QuickstartTests
[ERROR] iam.snippets.QuickstartTests.testQuickstart  Time elapsed: 1.66 s  <<< ERROR!
java.lang.NullPointerException
	at iam.snippets.Quickstart.setPolicy(Quickstart.java:170)
	at iam.snippets.Quickstart.addBinding(Quickstart.java:122)
	at iam.snippets.QuickstartTests.testQuickstart(QuickstartTests.java:126)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)

[ERROR] Errors:
[ERROR]   QuickstartTests.testQuickstart:126 » NullPointer
[ERROR] Tests run: 18, Failures: 0, Errors: 1, Skipped: 0

#
# iot/api-client/manager
#

[ERROR] Tests run: 21, Failures: 0, Errors: 2, Skipped: 4, Time elapsed: 1,036.891 s <<< FAILURE! - in com.example.cloud.iot.examples.ManagerIT
[ERROR] com.example.cloud.iot.examples.ManagerIT.testSetIam  Time elapsed: 37.508 s  <<< ERROR!
com.google.api.client.googleapis.json.GoogleJsonResponseException:
403 Forbidden
POST https://cloudiot.googleapis.com/v1/projects/java-docs-samples-testing/locations/us-central1/registries/java-reg-a04914c1-6-1639071882545:setIamPolicy
{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "The caller does not have permission",
    "reason" : "forbidden"
  } ],
  "message" : "The caller does not have permission",
  "status" : "PERMISSION_DENIED"
}
	at com.example.cloud.iot.examples.ManagerIT.testSetIam(ManagerIT.java:334)

[ERROR] com.example.cloud.iot.examples.ManagerIT.testPatchRsa  Time elapsed: 0.406 s  <<< ERROR!
com.google.api.gax.rpc.AlreadyExistsException: io.grpc.StatusRuntimeException: ALREADY_EXISTS: Resource already exists in the project (resource=java-pst-c7fd7135-4-1639071882545).
Caused by: io.grpc.StatusRuntimeException: ALREADY_EXISTS: Resource already exists in the project (resource=java-pst-c7fd7135-4-1639071882545).

[ERROR] Errors:
[ERROR]   ManagerIT.testPatchRsa » AlreadyExists io.grpc.StatusRuntimeException: ALREADY...
[ERROR]   ManagerIT.testSetIam:334 » GoogleJsonResponse 403 Forbidden
POST https://cloud...
[ERROR] Tests run: 21, Failures: 0, Errors: 2, Skipped: 4

#
# kms
#

[ERROR] Tests run: 29, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 50.743 s <<< FAILURE! - in kms.SnippetsIT
[ERROR] kms.SnippetsIT.testGetPublicKey  Time elapsed: 0.674 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testDecryptAsymmetric  Time elapsed: 0.559 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testSignAsymmetric  Time elapsed: 0.573 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1211c86d-02d6-40a3-afca-784091702b89' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1211c86d-02d6-40a3-afca-784091702b89' (or it may not exist).

[ERROR] kms.SnippetsIT.testEncryptAsymmetric  Time elapsed: 0.575 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1ae1bb91-a8cc-45ca-a992-078e8f636410/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testVerifyAsymmetricRsa  Time elapsed: 0.56 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1211c86d-02d6-40a3-afca-784091702b89' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/1211c86d-02d6-40a3-afca-784091702b89' (or it may not exist).

[ERROR] kms.SnippetsIT.testVerifyAsymmetricEc  Time elapsed: 0.59 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/bbd7fadd-e19b-4384-9513-602637df1139' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/afdc4f2d-1946-4f4e-a556-f2ac6be8e3a7/cryptoKeys/bbd7fadd-e19b-4384-9513-602637df1139' (or it may not exist).

[ERROR] Errors:
[ERROR]   SnippetsIT.testDecryptAsymmetric » PermissionDenied io.grpc.StatusRuntimeExcep...
[ERROR]   SnippetsIT.testEncryptAsymmetric » PermissionDenied io.grpc.StatusRuntimeExcep...
[ERROR]   SnippetsIT.testGetPublicKey » PermissionDenied io.grpc.StatusRuntimeException:...
[ERROR]   SnippetsIT.testSignAsymmetric » PermissionDenied io.grpc.StatusRuntimeExceptio...
[ERROR]   SnippetsIT.testVerifyAsymmetricEc » PermissionDenied io.grpc.StatusRuntimeExce...
[ERROR]   SnippetsIT.testVerifyAsymmetricRsa » PermissionDenied io.grpc.StatusRuntimeExc...
[ERROR] Tests run: 29, Failures: 0, Errors: 6, Skipped: 0

#
# secretmanager
#

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.1 s <<< FAILURE! - in secretmanager.QuickstartIT
[ERROR] secretmanager.QuickstartIT.quickstart_test  Time elapsed: 5.829 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/779844219229/secrets/java-quickstart-04e07294-bbc4-45c4-bd6c-532990da0d3a/versions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/779844219229/secrets/java-quickstart-04e07294-bbc4-45c4-bd6c-532990da0d3a/versions/1' (or it may not exist).

[ERROR] Tests run: 20, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 13.798 s <<< FAILURE! - in secretmanager.SnippetsIT
[ERROR] secretmanager.SnippetsIT.testIamRevokeAccess  Time elapsed: 0.475 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.secrets.setIamPolicy' denied for resource 'projects/779844219229/secrets/java-1639072054467' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.secrets.setIamPolicy' denied for resource 'projects/779844219229/secrets/java-1639072054467' (or it may not exist).

[ERROR] secretmanager.SnippetsIT.testIamGrantAccess  Time elapsed: 0.416 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.secrets.setIamPolicy' denied for resource 'projects/779844219229/secrets/java-1639072054467' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.secrets.setIamPolicy' denied for resource 'projects/779844219229/secrets/java-1639072054467' (or it may not exist).

[ERROR] secretmanager.SnippetsIT.testAccessSecretVersion  Time elapsed: 0.304 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/779844219229/secrets/java-1639072055380/versions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'secretmanager.versions.access' denied for resource 'projects/779844219229/secrets/java-1639072055380/versions/1' (or it may not exist).

[ERROR] Errors:
[ERROR]   QuickstartIT.quickstart_test » PermissionDenied io.grpc.StatusRuntimeException...
[ERROR]   SnippetsIT.testAccessSecretVersion » PermissionDenied io.grpc.StatusRuntimeExc...
[ERROR]   SnippetsIT.testIamGrantAccess » PermissionDenied io.grpc.StatusRuntimeExceptio...
[ERROR]   SnippetsIT.testIamRevokeAccess » PermissionDenied io.grpc.StatusRuntimeExcepti...
[ERROR] Tests run: 21, Failures: 0, Errors: 4, Skipped: 0

#
# unittests
#

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 599.978 s <<< FAILURE! - in com.google.appengine.samples.DeferredTaskTest
[ERROR] com.google.appengine.samples.DeferredTaskTest.testTaskGetsRun  Time elapsed: 599.965 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 minutes
	at java.lang.Thread.sleep(Native Method)
	at org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:500)
	at org.quartz.impl.StdScheduler.shutdown(StdScheduler.java:202)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stopScheduler(LocalTaskQueue.java:735)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stop_(LocalTaskQueue.java:365)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stop(LocalTaskQueue.java:360)
	at com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig.tearDown(LocalTaskQueueTestConfig.java:235)
	at com.google.appengine.tools.development.testing.LocalServiceTestHelper.tearDownService(LocalServiceTestHelper.java:582)
	at com.google.appengine.tools.development.testing.LocalServiceTestHelper.tearDown(LocalServiceTestHelper.java:549)
	at com.google.appengine.samples.DeferredTaskTest.helperTearDown(DeferredTaskTest.java:62)
	at com.google.appengine.samples.DeferredTaskTest.tearDown(DeferredTaskTest.java:83)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:748)

[ERROR] Errors:
[ERROR]   DeferredTaskTest.tearDown:83->helperTearDown:62 » TestTimedOut test timed out ...
[ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0


SUCCESS: 216, FAILURE: 5, SKIPPED: 0, ERROR: 0, ��
appengine-java11/appengine-simple-jetty-main..........................[ SUCCESS]
appengine-java11/cloudsql.............................................[ SUCCESS]
appengine-java11/gaeinfo..............................................[ SUCCESS]
appengine-java11/guestbook-cloud-firestore............................[ SUCCESS]
appengine-java11/helloworld-servlet...................................[ SUCCESS]
appengine-java11/http-server..........................................[ SUCCESS]
appengine-java11/kotlin-ktor..........................................[ SUCCESS]
appengine-java11/micronaut-helloworld.................................[ SUCCESS]
appengine-java11/oauth2...............................................[ SUCCESS]
appengine-java11/quarkus-helloworld...................................[ SUCCESS]
appengine-java11/spanner..............................................[ SUCCESS]
appengine-java11/sparkjava-helloworld.................................[ SUCCESS]
appengine-java11/springboot-helloworld................................[ SUCCESS]
appengine-java11/tasks................................................[ SUCCESS]
appengine-java11/tasks-handler........................................[ SUCCESS]
appengine-java11/vertx-helloworld.....................................[ SUCCESS]
appengine-java8/analytics.............................................[ SUCCESS]
appengine-java8/appidentity...........................................[ SUCCESS]
appengine-java8/bigquery..............................................[ SUCCESS]
appengine-java8/bigtable..............................................[ SUCCESS]
appengine-java8/datastore.............................................[ SUCCESS]
appengine-java8/datastore-indexes.....................................[ SUCCESS]
appengine-java8/datastore-indexes-exploding...........................[ SUCCESS]
appengine-java8/datastore-indexes-perfect.............................[ SUCCESS]
appengine-java8/datastore-schedule-export.............................[ SUCCESS]
appengine-java8/endpoints-v2-backend..................................[ SUCCESS]
appengine-java8/endpoints-v2-guice....................................[ SUCCESS]
appengine-java8/endpoints-v2-migration................................[ SUCCESS]
appengine-java8/endpoints-v2-skeleton.................................[ SUCCESS]
appengine-java8/firebase-backend......................................[ SUCCESS]
appengine-java8/firebase-event-proxy..................................[ SUCCESS]
appengine-java8/firebase-tictactoe....................................[ SUCCESS]
appengine-java8/gaeinfo...............................................[ SUCCESS]
appengine-java8/guestbook-cloud-datastore.............................[ SUCCESS]
appengine-java8/helloworld............................................[ SUCCESS]
appengine-java8/iap...................................................[ SUCCESS]
appengine-java8/images................................................[ SUCCESS]
appengine-java8/mail..................................................[ SUCCESS]
appengine-java8/mailgun...............................................[ SUCCESS]
appengine-java8/mailjet...............................................[ SUCCESS]
appengine-java8/memcache..............................................[ SUCCESS]
appengine-java8/metadata..............................................[ SUCCESS]
appengine-java8/multitenancy..........................................[ SUCCESS]
appengine-java8/oauth2................................................[ SUCCESS]
appengine-java8/pubsub................................................[ SUCCESS]
appengine-java8/remote-client.........................................[ SUCCESS]
appengine-java8/remote-server.........................................[ SUCCESS]
appengine-java8/requests..............................................[ SUCCESS]
appengine-java8/search................................................[ SUCCESS]
appengine-java8/sendgrid..............................................[ SUCCESS]
appengine-java8/spanner...............................................[ SUCCESS]
appengine-java8/sparkjava-helloworld..................................[ SUCCESS]
appengine-java8/springboot-helloworld.................................[ SUCCESS]
appengine-java8/static-files..........................................[ SUCCESS]
appengine-java8/taskqueues-deferred...................................[ SUCCESS]
appengine-java8/taskqueues-pull.......................................[ SUCCESS]
appengine-java8/taskqueues-push.......................................[ SUCCESS]
appengine-java8/tasks/app.............................................[ SUCCESS]
appengine-java8/tasks/quickstart......................................[ SUCCESS]
appengine-java8/tasks/snippets........................................[ SUCCESS]
appengine-java8/translate-pubsub......................................[ SUCCESS]
appengine-java8/twilio................................................[ SUCCESS]
appengine-java8/urlfetch..............................................[ SUCCESS]
appengine-java8/users.................................................[ SUCCESS]
auth..................................................................[ SUCCESS]
bigtable/beam/bulk-data-generator.....................................[ SUCCESS]
bigtable/beam/helloworld..............................................[ SUCCESS]
bigtable/beam/keyviz-art..............................................[ SUCCESS]
bigtable/cassandra-migration-codelab..................................[ SUCCESS]
bigtable/hbase/snippets...............................................[ SUCCESS]
bigtable/memorystore..................................................[ SUCCESS]
bigtable/scheduled-backups............................................[ SUCCESS]
cdn/signed-urls.......................................................[ SUCCESS]
cloud-sql/mysql/client-side-encryption................................[ SUCCESS]
cloud-sql/mysql/servlet...............................................[ SUCCESS]
cloud-sql/postgres/client-side-encryption.............................[ SUCCESS]
cloud-sql/postgres/servlet............................................[ SUCCESS]
cloud-sql/r2dbc.......................................................[ SUCCESS]
cloud-sql/sqlserver/client-side-encryption............................[ SUCCESS]
cloud-sql/sqlserver/servlet...........................................[ SUCCESS]
compute/cloud-client..................................................[ SUCCESS]
compute/cmdline.......................................................[ SUCCESS]
compute/error-reporting...............................................[ SUCCESS]
compute/mailjet.......................................................[ SUCCESS]
compute/sendgrid......................................................[ SUCCESS]
compute/signed-metadata...............................................[ SUCCESS]
container-registry/container-analysis.................................[ SUCCESS]
container-registry/vulnerability-notification-function................[ SUCCESS]
datacatalog/quickstart................................................[ SUCCESS]
dataflow/encryption-keys..............................................[ SUCCESS]
dataflow/flex-templates/kafka_to_bigquery.............................[ SUCCESS]
dataflow/flex-templates/streaming_beam_sql............................[ SUCCESS]
dataflow/spanner-io...................................................[ SUCCESS]
dataflow/templates....................................................[ SUCCESS]
dataflow/transforms...................................................[ SUCCESS]
endpoints/getting-started.............................................[ SUCCESS]
endpoints/getting-started/clients.....................................[ SUCCESS]
endpoints/multiple-versions...........................................[ SUCCESS]
eventarc/audit-storage................................................[ SUCCESS]
eventarc/generic......................................................[ SUCCESS]
eventarc/pubsub.......................................................[ SUCCESS]
flexible/analytics....................................................[ SUCCESS]
flexible/async-rest...................................................[ SUCCESS]
flexible/cloudsql.....................................................[ SUCCESS]
flexible/cloudstorage.................................................[ SUCCESS]
flexible/cron.........................................................[ SUCCESS]
flexible/datastore....................................................[ SUCCESS]
flexible/disk.........................................................[ SUCCESS]
flexible/errorreporting...............................................[ SUCCESS]
flexible/extending-runtime............................................[ SUCCESS]
flexible/gaeinfo......................................................[ SUCCESS]
flexible/helloworld...................................................[ SUCCESS]
flexible/helloworld-springboot........................................[ SUCCESS]
flexible/memcache.....................................................[ SUCCESS]
flexible/postgres.....................................................[ SUCCESS]
flexible/pubsub.......................................................[ SUCCESS]
flexible/sparkjava....................................................[ SUCCESS]
flexible/static-files.................................................[ SUCCESS]
flexible/twilio.......................................................[ SUCCESS]
flexible/websocket-jetty..............................................[ SUCCESS]
flexible/websocket-jsr356.............................................[ SUCCESS]
functions/concepts/after-timeout......................................[ SUCCESS]
functions/concepts/env-vars...........................................[ SUCCESS]
functions/concepts/execution-count....................................[ SUCCESS]
functions/concepts/file-system........................................[ SUCCESS]
functions/concepts/lazy-fields........................................[ SUCCESS]
functions/concepts/retry-pubsub.......................................[ SUCCESS]
functions/concepts/retry-timeout......................................[ SUCCESS]
functions/concepts/scopes.............................................[ SUCCESS]
functions/firebase/auth...............................................[ SUCCESS]
functions/firebase/firestore..........................................[ SUCCESS]
functions/firebase/firestore-reactive.................................[ SUCCESS]
functions/firebase/remote-config......................................[ SUCCESS]
functions/firebase/rtdb...............................................[ SUCCESS]
functions/helloworld/groovy-hello-pubsub..............................[ SUCCESS]
functions/helloworld/groovy-helloworld................................[ SUCCESS]
functions/helloworld/hello-error......................................[ SUCCESS]
functions/helloworld/hello-gcs........................................[ SUCCESS]
functions/helloworld/hello-http.......................................[ SUCCESS]
functions/helloworld/hello-pubsub.....................................[ SUCCESS]
functions/helloworld/helloworld.......................................[ SUCCESS]
functions/helloworld/kotlin-hello-pubsub..............................[ SUCCESS]
functions/helloworld/kotlin-helloworld................................[ SUCCESS]
functions/helloworld/scala-hello-pubsub...............................[ SUCCESS]
functions/helloworld/scala-helloworld.................................[ SUCCESS]
functions/http/bearer-token-http......................................[ SUCCESS]
functions/http/cors-enabled...........................................[ SUCCESS]
functions/http/cors-enabled-auth......................................[ SUCCESS]
functions/http/http-form-data.........................................[ SUCCESS]
functions/http/http-method............................................[ SUCCESS]
functions/http/parse-content-type.....................................[ SUCCESS]
functions/http/send-http-request......................................[ SUCCESS]
functions/imagemagick.................................................[ SUCCESS]
functions/logging/log-helloworld......................................[ SUCCESS]
functions/logging/stackdriver-logging.................................[ SUCCESS]
functions/ocr/ocr-process-image.......................................[ SUCCESS]
functions/ocr/ocr-save-result.........................................[ SUCCESS]
functions/ocr/ocr-translate-text......................................[ SUCCESS]
functions/pubsub/publish-message......................................[ SUCCESS]
functions/pubsub/subscribe-to-topic...................................[ SUCCESS]
functions/slack.......................................................[ SUCCESS]
functions/spanner.....................................................[ SUCCESS]
functions/v2/hello-gcs................................................[ SUCCESS]
functions/v2/label-compute-instance...................................[ SUCCESS]
functions/v2/log-cloudevent...........................................[ SUCCESS]
functions/v2/pubsub...................................................[ SUCCESS]
healthcare/v1.........................................................[ SUCCESS]
iam/api-client........................................................[ FAILURE]
iap...................................................................[ SUCCESS]
iot/api-client/codelab/manager........................................[ SUCCESS]
iot/api-client/end-to-end-example.....................................[ SUCCESS]
iot/api-client/manager................................................[ FAILURE]
jobs/v3...............................................................[ SUCCESS]
jobs/v4...............................................................[ SUCCESS]
kms...................................................................[ FAILURE]
language/analysis.....................................................[ SUCCESS]
language/cloud-client.................................................[ SUCCESS]
media/transcoder......................................................[ SUCCESS]
memorystore/redis.....................................................[ SUCCESS]
mlengine/online-prediction............................................[ SUCCESS]
monitoring/cloud-client...............................................[ SUCCESS]
monitoring/v3.........................................................[ SUCCESS]
opencensus............................................................[ SUCCESS]
pubsub/spring.........................................................[ SUCCESS]
pubsub/streaming-analytics............................................[ SUCCESS]
pubsublite/streaming-analytics........................................[ SUCCESS]
run/authentication....................................................[ SUCCESS]
run/endpoints-v2-backend..............................................[ SUCCESS]
run/filesystem........................................................[ SUCCESS]
run/hello-broken......................................................[ SUCCESS]
run/helloworld........................................................[ SUCCESS]
run/idp-sql...........................................................[ SUCCESS]
run/image-processing..................................................[ SUCCESS]
run/jobs..............................................................[ SUCCESS]
run/logging-manual....................................................[ SUCCESS]
run/markdown-preview/editor...........................................[ SUCCESS]
run/markdown-preview/renderer.........................................[ SUCCESS]
run/pubsub............................................................[ SUCCESS]
run/system-package....................................................[ SUCCESS]
secretmanager.........................................................[ FAILURE]
session-handling......................................................[ SUCCESS]
spanner/hibernate.....................................................[ SUCCESS]
spanner/jdbc..........................................................[ SUCCESS]
spanner/leaderboard/complete..........................................[ SUCCESS]
spanner/leaderboard/step4.............................................[ SUCCESS]
spanner/leaderboard/step5.............................................[ SUCCESS]
spanner/leaderboard/step6.............................................[ SUCCESS]
spanner/opencensus....................................................[ SUCCESS]
spanner/r2dbc.........................................................[ SUCCESS]
spanner/spring-data...................................................[ SUCCESS]
storage/cloud-client..................................................[ SUCCESS]
storage/s3-sdk........................................................[ SUCCESS]
storage/xml-api/cmdline-sample........................................[ SUCCESS]
storage/xml-api/serviceaccount-appengine-sample.......................[ SUCCESS]
storage-transfer......................................................[ SUCCESS]
texttospeech/beta.....................................................[ SUCCESS]
texttospeech/cloud-client.............................................[ SUCCESS]
trace.................................................................[ SUCCESS]
unittests.............................................................[ FAILURE]
vision/face-detection.................................................[ SUCCESS]
workflows/cloud-client................................................[ SUCCESS]

@lesv lesv added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2021
@lesv
Copy link
Contributor

lesv commented Dec 9, 2021

I granted a bunch of additional permissions to our SAs

@lesv
Copy link
Contributor

lesv commented Dec 9, 2021

Java 8


#
# kms
#

[ERROR] Tests run: 29, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 46.766 s <<< FAILURE! - in kms.SnippetsIT
[ERROR] kms.SnippetsIT.testGetPublicKey  Time elapsed: 0.569 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testDecryptAsymmetric  Time elapsed: 0.508 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testSignAsymmetric  Time elapsed: 0.522 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/7b396389-8452-4ed2-9db5-accac6b1b5e2' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/7b396389-8452-4ed2-9db5-accac6b1b5e2' (or it may not exist).

[ERROR] kms.SnippetsIT.testEncryptAsymmetric  Time elapsed: 0.622 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.viewPublicKey' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/2608debf-3d55-49d8-863b-dedccfcf9c84/cryptoKeyVersions/1' (or it may not exist).

[ERROR] kms.SnippetsIT.testVerifyAsymmetricRsa  Time elapsed: 0.592 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/7b396389-8452-4ed2-9db5-accac6b1b5e2' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/7b396389-8452-4ed2-9db5-accac6b1b5e2' (or it may not exist).

[ERROR] kms.SnippetsIT.testVerifyAsymmetricEc  Time elapsed: 0.539 s  <<< ERROR!
com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/d6a7b9bb-fa4a-40f4-b45b-d08b839f1302' (or it may not exist).
Caused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission 'cloudkms.cryptoKeyVersions.useToSign' denied on resource 'projects/java-docs-samples-testing/locations/us-east1/keyRings/902ebaf9-6fd4-4186-9915-36b3e49cd1e9/cryptoKeys/d6a7b9bb-fa4a-40f4-b45b-d08b839f1302' (or it may not exist).

[ERROR] Errors:
[ERROR]   SnippetsIT.testDecryptAsymmetric » PermissionDenied io.grpc.StatusRuntimeExcep...
[ERROR]   SnippetsIT.testEncryptAsymmetric » PermissionDenied io.grpc.StatusRuntimeExcep...
[ERROR]   SnippetsIT.testGetPublicKey » PermissionDenied io.grpc.StatusRuntimeException:...
[ERROR]   SnippetsIT.testSignAsymmetric » PermissionDenied io.grpc.StatusRuntimeExceptio...
[ERROR]   SnippetsIT.testVerifyAsymmetricEc » PermissionDenied io.grpc.StatusRuntimeExce...
[ERROR]   SnippetsIT.testVerifyAsymmetricRsa » PermissionDenied io.grpc.StatusRuntimeExc...
[ERROR] Tests run: 29, Failures: 0, Errors: 6, Skipped: 0

@lesv
Copy link
Contributor

lesv commented Dec 9, 2021

added cryptoOperator IAM to SAs

@lesv lesv added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 9, 2021
@lesv
Copy link
Contributor

lesv commented Dec 9, 2021

Java 8

#
# unittests
#

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 600.028 s <<< FAILURE! - in com.google.appengine.samples.DeferredTaskTest
[ERROR] com.google.appengine.samples.DeferredTaskTest.testTaskGetsRun  Time elapsed: 600.023 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10 minutes
	at java.lang.Thread.sleep(Native Method)
	at org.quartz.core.QuartzScheduler.shutdown(QuartzScheduler.java:500)
	at org.quartz.impl.StdScheduler.shutdown(StdScheduler.java:202)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stopScheduler(LocalTaskQueue.java:735)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stop_(LocalTaskQueue.java:365)
	at com.google.appengine.api.taskqueue.dev.LocalTaskQueue.stop(LocalTaskQueue.java:360)
	at com.google.appengine.tools.development.testing.LocalTaskQueueTestConfig.tearDown(LocalTaskQueueTestConfig.java:235)
	at com.google.appengine.tools.development.testing.LocalServiceTestHelper.tearDownService(LocalServiceTestHelper.java:582)
	at com.google.appengine.tools.development.testing.LocalServiceTestHelper.tearDown(LocalServiceTestHelper.java:549)
	at com.google.appengine.samples.DeferredTaskTest.helperTearDown(DeferredTaskTest.java:62)
	at com.google.appengine.samples.DeferredTaskTest.tearDown(DeferredTaskTest.java:83)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunAfters.invokeMethod(RunAfters.java:46)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:748)

[ERROR] Errors:
[ERROR]   DeferredTaskTest.tearDown:83->helperTearDown:62 » TestTimedOut test timed out ...
[ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0

@lesv lesv merged commit 4c44a75 into GoogleCloudPlatform:main Dec 9, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Dec 9, 2021
@renovate-bot renovate-bot deleted the renovate/com.google.cloud.samples-shared-configuration-1.x branch December 9, 2021 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants