text:
[Flake]: Race condition building ccache?

Unclear what the problem is. Looks to me like the ccache configuration is not ready or not created but maybe that is a race on the creation order?
https://source.cloud.google.com/results/invocations/4bdd9946-b6c0-41c1-b82f-53a4f0e8d446/targets
[ 57%] Building CXX object google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/google/bigtable/admin/v2/instance.pb.cc.o
ccache: error: //.ccache/ccache.conf: No such file or directory
make[3]: *** [google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/google/bigtable/admin/v2/bigtable_instance_admin.pb.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/build.make:218: recipe for target 'google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/google/bigtable/admin/v2/bigtable_instance_admin.pb.cc.o' failed
make[2]: *** [google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/all] Error 2
make[1]: *** [CMakeFiles/google-cloud-cpp-dependencies.dir/rule] Error 2
CMakeFiles/Makefile2:3587: recipe for target 'google/cloud/bigtable/CMakeFiles/bigtable_protos.dir/all' failed
CMakeFiles/Makefile2:650: recipe for target 'CMakeFiles/google-cloud-cpp-dependencies.dir/rule' failed
make: *** [google-cloud-cpp-dependencies] Error 2
Makefile:409: recipe for target 'google-cloud-cpp-dependencies' failed
Build finished with 2 exit status Wed Mar  6 15:05:47 PST 2019.
================================================================

Here is another one, still unclear what is going on:
https://source.cloud.google.com/results/invocations/882675c9-2291-4706-9c84-960387d667b7/targets/cloud-cpp%2Fgithub%2Fdocker%2Fcheck-abi-presubmit/log
[ 56%] Building CXX object CMakeFiles/googleapis_cpp_bigtable_protos.dir/google/bigtable/admin/v2/instance.pb.cc.o
ccache: error: //.ccache/ccache.conf: No such file or directory
CMakeFiles/googleapis_cpp_bigtable_protos.dir/build.make:242: recipe for target 'CMakeFiles/googleapis_cpp_bigtable_protos.dir/google/bigtable/admin/v2/bigtable_table_admin.pb.cc.o' failed
make[6]: *** [CMakeFiles/googleapis_cpp_bigtable_protos.dir/google/bigtable/admin/v2/bigtable_table_admin.pb.cc.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [CMakeFiles/googleapis_cpp_bigtable_protos.dir/all] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/googleapis_cpp_bigtable_protos.dir/all' failed
Makefile:129: recipe for target 'all' failed
make[4]: *** [all] Error 2
google/cloud/bigtable/CMakeFiles/googleapis_project.dir/build.make:112: recipe for target 'external/googleapis/src/googleapis_project-stamp/googleapis_project-build' failed
make[3]: *** [external/googleapis/src/googleapis_project-stamp/googleapis_project-build] Error 2
make[2]: *** [google/cloud/bigtable/CMakeFiles/googleapis_project.dir/all] Error 2
CMakeFiles/Makefile2:4641: recipe for target 'google/cloud/bigtable/CMakeFiles/googleapis_project.dir/all' failed
CMakeFiles/Makefile2:650: recipe for target 'CMakeFiles/google-cloud-cpp-dependencies.dir/rule' failed
make[1]: *** [CMakeFiles/google-cloud-cpp-dependencies.dir/rule] Error 2
make: *** [google-cloud-cpp-dependencies] Error 2
Makefile:409: recipe for target 'google-cloud-cpp-dependencies' failed
Build finished with 2 exit status Wed Mar 27 07:31:32 PDT 2019.
================================================================
================================================================

Closing, we no longer use ccache.

We set NEEDS_CCACHE=no to no for the Kokoro builds but is that variable actually respected anywhere?

Reopen because we are seeing this error again:
https://source.cloud.google.com/results/invocations/efbae06e-5909-4760-b1f7-5d5e8dc9b47e/targets
I think we need to set -DGOOGLE_CLOUD_CPP_ENABLE_CCACHE=OFF in the CMake configuration for all the builds.

The bug happens from time to time, but I still cannot see any pattern to it.

I do not have a good idea on how to repro this.  I will start by running a build (ci/kokoro/build/docker.sh shared) over and over until it fails.

I am able to repro this bug by running a build locally many times.

It took about 200 runs to reproduce the problem.  Trying with -DGOOGLE_CLOUD_CPP_ENABLE_CCACHE=OFF

Over 400 runs without a problem.  Will leave it running overnight.

1,000 runs without a problem.  I think -DGOOGLE_CLOUD_CPP_ENABLE_CCACHE=OFF is going to fix this, PR coming soon.

authors: coryan remyabel

repo: googleapis/google-cloud-cpp


text:
ci(gcb): include log links in log output

It can be convenient to link to logs in Issues, for example if a build
fails. We have two different links to logs, either in the GCB console or
a raw log file that's publicly accessible. This change makes it easy for
us to copy-n-paste links to the a log that includes both the GCB and raw
log links.

This change is

Example output from of of the builds on this PR:
GCB: https://console.cloud.google.com/cloud-build/builds;region=global/4279a4b1-1415-4249-af5d-adca5fc6989a;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/6389/044e1d7294881eb7401fdf9b05120c2a76d54e80/demo-ubuntu-focal-demo-install/log-4279a4b1-1415-4249-af5d-adca5fc6989a.txt

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Spanner client library doesn't retry in the same way as the Java client

The Java client has reasonably complex behavior around retries, including extracting retry timing from the gRPC trailers.
The .NET library doesn't do much retrying directly - other than when reading from a result stream - but it exposes TransientFaultDetector, SpannerException.IsRetryable etc. We should look at all of this before 2.0 goes GA.

Changing to a feature request as we don't think there's anything necessarily wrong here
Closing as it's probably sufficiently low priority that by the time we got to it, other aspects of retry within the libraries would have changed anyway.

source: gharchive/issue

repo: googleapis/google-cloud-dotnet


text:
Implement In and ArrayContainsAny Firestore queries

Fixes #3783.
Note that this does not validate some extra constraints on the query:

The inability to mix cursors these filters
The inability to mix WhereArrayContainsAny and WhereArrayContains or WhereIn

I'm currently assuming it's fine for those to be validated server-side.

Review note: I'm asking @schmidt-sebastian and @mikelehen to review this from the Firestore side.

Will wait for Amanda to check as well, probably on Monday, then merge and release rather earlier than expected!


text:
[language]: exception while trying to create LanguageServiceClient instance

Environment details

API: Language
OS type and version: Centos
Java version: 11
Version(s): google-cloud-language 2.2.0 and 2.37.0

Steps to reproduce

Try to create LanguageServiceClient using the code sample below

Code example
        LanguageServiceSettings settings = LanguageServiceSettings.newHttpJsonBuilder().build();
        client = LanguageServiceClient.create(settings);

Stack trace
Exception in thread "main" java.lang.VerifyError: class com.google.cloud.language.v1.stub.LanguageServiceStubSettings overrides final method com.google.api.gax.rpc.StubSettings.getEndpoint()Ljava/lang/String;
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:800)
	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	at com.google.cloud.language.v1.LanguageServiceSettings$Builder.createHttpJsonDefault(LanguageServiceSettings.java:208)
	at com.google.cloud.language.v1.LanguageServiceSettings$Builder.access$100(LanguageServiceSettings.java:184)
	at com.google.cloud.language.v1.LanguageServiceSettings.newHttpJsonBuilder(LanguageServiceSettings.java:166)

Thanks!

I was not able to reproduce the error with Java 11 and google-cloud-language 2.37.0.
Can you create a minimal reproducer if this persists for you?

Ensure to use the GAX version higher than or equal to 2.32.0.
Similar error reported https://github.com/googleapis/google-cloud-java/issues/10604

authors: gilamsalem suztomo zhumin8

repo: googleapis/google-cloud-java

license_source: bigquery


text:
Missing dependency on google-cloud-storage from google-cloud-nio

It appears google-cloud-nio is missing a dependency on google-cloud-storage, at least when used in Maven runtime scope.
Steps to reproduce
pom.xml:
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>libraries-bom</artifactId>
        <version>25.2.0</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    ...
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-nio</artifactId>
      <scope>runtime</scope>
    </dependency>
    ...
  </dependencies>

throws NoClassDefFoundError at runtime
$ ./listFilesystems
Installed filesystem providers:
java.lang.reflect.InvocationTargetException
	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)
...
Caused by: java.util.ServiceConfigurationError: java.nio.file.spi.FileSystemProvider: Provider com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider could not be instantiated
	at java.util.ServiceLoader.fail(ServiceLoader.java:232)
	at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
	at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
	at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
	at java.nio.file.spi.FileSystemProvider.loadInstalledProviders(FileSystemProvider.java:119)
	at java.nio.file.spi.FileSystemProvider.access$000(FileSystemProvider.java:77)
	at java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:169)
	at java.nio.file.spi.FileSystemProvider$1.run(FileSystemProvider.java:166)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.nio.file.spi.FileSystemProvider.installedProviders(FileSystemProvider.java:166)
	... 6 more
Caused by: java.lang.NoClassDefFoundError: com/google/cloud/storage/StorageException
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
	at java.lang.Class.getConstructor0(Class.java:3075)
	at java.lang.Class.newInstance(Class.java:412)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	... 16 more
Caused by: java.lang.ClassNotFoundException: com.google.cloud.storage.StorageException
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 21 more

Adding an additional runtime dependency on google-cloud-storage fixes this error
pom.xml:
...
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-nio</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-storage</artifactId>
      <scope>runtime</scope>
    </dependency>

$ ./listFilesystems
Installed filesystem providers:
  file	sun.nio.fs.MacOSXFileSystemProvider
  jar	com.sun.nio.zipfs.ZipFileSystemProvider
  gs	com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider

Is this intentional?

Thank you for triage, @eaball35

We are seeing crashes in production due to this issue.
It seems this might already be fixed in the googleapis/java-storage-nio master branch: https://github.com/googleapis/java-storage-nio/commit/533c6dd510327bff310fbd6ddb2ceb72b2afcbce
Could we cut a release?

Any release of com.google.cloud:google-cloud-nio from v1.124.0 onward has the fix for this issue, along with any version of com.google.cloud:libraries-bom:25.4.0 onward.

authors: BenWhitehead danielnorberg heuermh


text:
Firestore: Validate that at least one argument is provided for Cursor

This PR updates to the latest version of the conformance tests and adds missing validation for empty cursor arguments.

Logging integration test failed with quota issue.


text:
chore: Adding release-please annotations for google-cloud-java

This PR attempts to add <!-- {x-version-update:google-cloud-java:current} --> wherever the artifact google-cloud-java is mentioned.
I have also modified set_parent_pom.sh as it was not including the artifact-bom modules (eg. ./java-accessapproval/google-cloud-accessapproval-bom). These modules also refer to root pom as the parent.

@ddixit14 Sorry, you'll need to resolve conflicts with the file I updated in a different PR.


text:
authenticated for google cloud environment but text to speech not working

when i instantiate gCloudStorage and call the loadCredentials function - i'm seeing my storage buckets so it seems i'm authenticated, but when i call google cloud text to speech in my application code, it says "Error: Could not load the default credentials".
i also get the same error when i try to do something simple like, output voices using googleTextToSpeechClient.listVoices({ languageCode }).
it only works when i directly add a reference to my service account directly to my .env file like this GOOGLE_APPLICATION_CREDENTIALS=./firebase-service-account-key.json
would appreciate any help or feedback! i currently can't seem to get text to speech to work in app any other way.
i've tried the following:

passing in the service account fields to directly into the credentials object of the initializer of firebase or cloud storage instance
putting the actual json directly into my .env file and base64 encoding it
double checked that my credentials are enabled with the Cloud Text-to-Speech API in the console of my project

Environment details

which product (packages/*): "@google-cloud/storage": "^7.7.0" "@google-cloud/text-to-speech": "^5.1.0",
OS: Mac OS Sonoma
Node.js version: v18.17.1
npm version: 9.6.7
google-cloud-node version: "@google-cloud/storage": "^7.7.0" "@google-cloud/text-to-speech": "^5.1.0",

Steps to reproduce
loadCredentials() returns the expected storage buckets and firebase works, but using the actual text to speech api isn't.
// firebase
initializeApp({
  credential: cert({
    type: process.env.FB_CERT_CREDENTIAL_TYPE,
    project_id: process.env.FB_CERT_PROJECT_ID,
    private_key_id: process.env.FB_CERT_PRIVATE_KEY_ID,
    private_key: process.env.FB_CERT_PRIVATE_KEY.replace(/\\n/g, '\n'),
    client_email: process.env.FB_CERT_CLIENT_EMAIL,
    client_id: process.env.FB_CERT_CLIENT_ID,
    auth_uri: process.env.FB_CERT_AUTH_URI,
    token_uri: process.env.FB_CERT_TOKEN_URI,
    auth_provider_x509_cert_url: process.env.FB_CERT_AUTH_PROVIDER_CERT_URL,
    client_x509_cert_url: process.env.FB_CERT_CLIENT_CERT_URL,
    universe_domain: process.env.FB_CERT_UNIVERSE_DOMAIN
  }),
  storageBucket: 'palate-d1218.appspot.com'
});

const base64EncodedServiceAccount = process.env.CLOUD_CREDENTIALS;
const decodedServiceAccount = Buffer.from(base64EncodedServiceAccount, 'base64').toString('utf-8');
const credentials = JSON.parse(decodedServiceAccount);

// google cloud storage
const gCloudStorage = new Storage({
   projectId: `palate-d1218`,
   keyFilename: "",
   credentials: credentials
})

async function loadCredentials() {
   console.log(gCloudStorage.authClient)
   try {
      const [buckets] = await gCloudStorage.getBuckets();
      console.log(`buckets: `)
      for (const bucket of buckets) {
         console.log(` - ${bucket.name}`)
      }
      console.log(`listed all buckets`)
   } catch (e) {
      console.log(`error getting buckets`)
      console.log(e)
   }

}
loadCredentials()

elsewhere in my application, calling either of the snippets below do not work and result in the below error.
module.exports.getVoices = async (req, res) => {
   const languageCode = 'en';
   const textToSpeech = require("@google-cloud/text-to-speech");
   const googleTextToSpeechClient = new textToSpeech.TextToSpeechClient();
   try {
      const [result] = await googleTextToSpeechClient.listVoices({ languageCode })
      res.send(result);
   } catch (e) {
      console.log(e);
      res.status(400).send(e);
   }
}

module.exports.transcribeTextFunction = async (palate) => {
   const { id, title, text } = palate
   const googleTextToSpeechClient = new TextToSpeechLongAudioSynthesizeClient()
   const bucketName = "gs://palate-d1218.appspot.com/"
   const gsUtilUriPath = `${bucketName}${title}.wav`

   try {
      const request = {
         input: {
            text: text
         },
         audioConfig: {
            audioEncoding: `LINEAR16`
         },
         voice: {
            languageCode: 'en-US',
            name: 'en-US-Neural2-D',
            // ssmlGender: 'NEUTRAL',
         },
         parent: `projects/928931080353/locations/us`,
         outputGcsUri: gsUtilUriPath
      };
      const response = await googleTextToSpeechClient.synthesizeLongAudio(request);
      return response
   } catch (e) {
      console.log(`error transcribing text`)
      console.log(e);
      return `failed to transcribe text: ${e}`
   }
}

error
Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.
    at GoogleAuth.getApplicationDefaultAsync (/Users/idodekerobo/Documents/gCloudApp/node_modules/@google-cloud/text-to-speech/node_modules/google-auth-library/build/src/auth/googleauth.js:207:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async GoogleAuth.getClient (/Users/idodekerobo/Documents/gCloudApp/node_modules/@google-cloud/text-to-speech/node_modules/google-auth-library/build/src/auth/googleauth.js:624:17)
    at async GrpcClient._getCredentials (/Users/idodekerobo/Documents/gCloudApp/node_modules/@google-cloud/text-to-speech/node_modules/google-gax/build/src/grpc.js:145:24)
    at async GrpcClient.createStub (/Users/idodekerobo/Documents/gCloudApp/node_modules/@google-cloud/text-to-speech/node_modules/google-gax/build/src/grpc.js:308:23)
(node:95143) MetadataLookupWarning: received unexpected error = Invalid response from metadata service: incorrect Metadata-Flavor header. code = UNKNOWN
(Use `node --trace-warnings ...` to show where the warning was created)

i've tried the following:

passing in the service account fields to directly into the credentials object of the initializer of firebase or cloud storage instance
putting the actual json directly into my .env file and base64 encoding it

These two should work in addition to GOOGLE_APPLICATION_CREDENTIALS - do you mind trying the instructions in either of these two places?

https://cloud.google.com/docs/authentication/getting-started
https://github.com/googleapis/google-auth-library-nodejs?tab=readme-ov-file#ways-to-authenticate

this now works in my local environment using ADC. for my vercel hosted instance, i will try this solution in this stack overflow answer - it didn't work locally, but it sounds like it may work for my hosted app. there's also options like this that leverage the google auth library that you shared.

neither of those two solutions i used worked on heroku. it also didn't work hard coding by service account keys using .env variables in my heroku environment. i kept getting the same "could not load default credentials" on my heroku logs that i was locally before using ADC.
this stack overflow answer did work though and i now seem to be up and running.

authors: danielbankhead idodekerobo

repo: googleapis/google-cloud-node


text:
Synthesis failed for resourcemanager

Hello! Autosynth couldn't regenerate resourcemanager. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the resourcemanager API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
ptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/iam/v1/iam_policy.proto=google/iam/v1/iam_policy.proto -Igoogle/iam/v1/options.proto=google/iam/v1/options.proto -Igoogle/iam/v1/policy.proto=google/iam/v1/policy.proto -Igoogle/type/expr.proto=google/type/expr.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/resourcemanager/v3/folders.proto google/cloud/resourcemanager/v3/organizations.proto google/cloud/resourcemanager/v3/projects.proto google/cloud/resourcemanager/v3/tag_bindings.proto google/cloud/resourcemanager/v3/tag_keys.proto google/cloud/resourcemanager/v3/tag_values.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/resourcemanager/v3/organizations.proto:25:1: warning: Import google/longrunning/operations.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/resourcemanager/v3/BUILD.bazel:217:18: //google/cloud/resourcemanager/v3:resourcemanager_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,service_yaml=google/cloud/resourcemanager/v3/cloudresourcemanager_v3.yaml,grpc_service_config=google/cloud/resourcemanager/v3/cloudresourcemanager_v3_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/resourcemanager/v3/resourcemanager_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/resourcemanager/v3/folders.proto=google/cloud/resourcemanager/v3/folders.proto -Igoogle/cloud/resourcemanager/v3/organizations.proto=google/cloud/resourcemanager/v3/organizations.proto -Igoogle/cloud/resourcemanager/v3/projects.proto=google/cloud/resourcemanager/v3/projects.proto -Igoogle/cloud/resourcemanager/v3/tag_bindings.proto=google/cloud/resourcemanager/v3/tag_bindings.proto -Igoogle/cloud/resourcemanager/v3/tag_keys.proto=google/cloud/resourcemanager/v3/tag_keys.proto -Igoogle/cloud/resourcemanager/v3/tag_values.proto=google/cloud/resourcemanager/v3/tag_values.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/iam/v1/iam_policy.proto=google/iam/v1/iam_policy.proto -Igoogle/iam/v1/options.proto=google/iam/v1/options.proto -Igoogle/iam/v1/policy.proto=google/iam/v1/policy.proto -Igoogle/type/expr.proto=google/type/expr.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/resourcemanager/v3/folders.proto google/cloud/resourcemanager/v3/organizations.proto google/cloud/resourcemanager/v3/projects.proto google/cloud/resourcemanager/v3/tag_bindings.proto google/cloud/resourcemanager/v3/tag_keys.proto google/cloud/resourcemanager/v3/tag_values.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 30 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 30 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/resourcemanager/v3/organizations.proto:25:1: warning: Import google/longrunning/operations.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/resourcemanager/v3:google-cloud-resourcemanager-v3-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.221s, Critical Path: 1.05s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-10-15 12:29:41,713 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/resourcemanager/v3:google-cloud-resourcemanager-v3-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/resourcemanager/v3:google-cloud-resourcemanager-v3-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/ResourceManager/synth.py", line 26, in <module>
    library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/resourcemanager/v3:google-cloud-resourcemanager-v3-php']' returned non-zero exit status 1.
2021-10-15 12:29:41,770 autosynth [ERROR] > Synthesis failed
2021-10-15 12:29:41,770 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 893fc0ae1 chore: release 0.171.0 (#4561)
2021-10-15 12:29:41,830 autosynth [DEBUG] > Running: git checkout autosynth-resourcemanager
Switched to branch 'autosynth-resourcemanager'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:

repo: googleapis/google-cloud-php


text:
Synthesis failed for java-recaptchaenterprise

Hello! Autosynth couldn't regenerate java-recaptchaenterprise. :broken_heart:
Here's the output from running synth.py:
Cloning into 'working_repo'...
Switched to branch 'autosynth'
Running synthtool
['/tmpfs/src/git/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
On branch autosynth
nothing to commit, working tree clean
HEAD detached at FETCH_HEAD
nothing to commit, working tree clean
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b
Status: Image is up to date for googleapis/artman:latest
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:6aec9c34db0e4be221cdaf6faba27bdc07cfea846808b3d3b964dfce3a9a0f9b
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/recaptchaenterprise/artman_recaptchaenterprise_v1beta1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AnnotateAssessmentResponse.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/ListKeysResponse.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AndroidKeySettings.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/CreateAssessmentRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/DeleteKeyRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/UpdateKeyRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/ListKeysResponseOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/Key.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/CreateKeyRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/WebKeySettings.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/IOSKeySettingsOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/ListKeysRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/Event.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/UpdateKeyRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/IOSKeySettings.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/WebKeySettingsOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AnnotateAssessmentRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/CreateAssessmentRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/TokenProperties.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/CreateKeyRequestOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/KeyOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/DeleteKeyRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AnnotateAssessmentResponseOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AndroidKeySettingsOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/EventOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/ListKeysRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/Assessment.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/GetKeyRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AnnotateAssessmentRequest.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/TokenPropertiesOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AssessmentOrBuilder.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseProto.java.
synthtool > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/GetKeyRequestOrBuilder.java.
synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/KeyName.java.
synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/AssessmentName.java.
synthtool > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/proto-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/ProjectName.java.
synthtool > Replaced 'package com.google.recaptchaenterprise.v1beta1;' in /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/grpc-google-cloud-recaptchaenterprise-v1beta1/src/main/java/com/google/recaptchaenterprise/v1beta1/RecaptchaEnterpriseServiceV1Beta1Grpc.java.
synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-recaptchaenterprise-v1beta1/samples/src')] were copied. Does the source contain files?
synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-recaptchaenterprise-v1beta1/samples/resources')] were copied. Does the source contain files?
synthtool > No files in sources [PosixPath('/home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/java/gapic-google-cloud-recaptchaenterprise-v1beta1/samples/src/**/*.manifest.yaml')] were copied. Does the source contain files?
synthtool > Running java formatter on 10 files
synthtool > Running java formatter on 1 files
synthtool > Running java formatter on 36 files
synthtool > Running java formatter on 0 files
synthtool > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.1/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/tmpfs/src/git/autosynth/working_repo/synth.py", line 36, in <module>
    java.common_templates()
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/languages/java.py", line 349, in common_templates
    templates = gcp.CommonTemplates().java_library(**kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 75, in java_library
    return self._generic_library("java_library", **kwargs)
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/gcp/common.py", line 43, in _generic_library
    if not kwargs["metadata"]["samples"]:
KeyError: 'samples'

Synthesis failed

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:

repo: googleapis/java-recaptchaenterprise


text:
Fix: multiple calls to end of span

Fixes #71

@rghetia Could you please review PR?

@olavloite could you please help me to fix the tests? Here is the issue: When I ran SpanTest and SpannerGaxRetryTest separately, they work as expected but saw tests failures when running together (mvn test). I suspect it is due to reflection that we used to set the test tracer in SpanTest. I am trying to solve it locally, no luck so far.

@olavloite could you please help me to fix the tests? Here is the issue: When I ran SpanTest and SpannerGaxRetryTest separately, they work as expected but saw tests failures when running together (mvn test). I suspect it is due to reflection that we used to set the test tracer in SpanTest. I am trying to solve it locally, no luck so far.

@mayurkale22
https://github.com/mayurkale22/java-spanner/pull/2 should do the trick.

mayurkale22#2 should do the trick.

Thanks for the help.

the reason that other test cases are failing could be an indication that there are still conditions possible that could trigger a span to be ended multiple times. It would therefore be interesting to investigate those specific failures and see if you can reproduce them in the SpanTest class.

I managed to repro-d the issue in SpannerGaxRetryTest, will try to fix it soon.

@olavloite I have added a few more tests and attempted to fix remaining issues, PTAL c0689bd4ecce3dcb6b2397b6dc802b3339372c83 when you get a chance.

LGTM.
I don't quite get where the dependency problem is coming from. It can be fixed by adding the following to the <ignoredDependencies> tag in the pom.xml: com.google.errorprone:error_prone_annotations

Great. Finally, build is passed.

@rghetia would like to get your eyes on OpenCensus related changes. Please review when you get a chance.

@skuruppu I think this is good to merge now.

repo: googleapis/java-spanner


text:
Synthesis failed for nodejs-bigquery-connection

Hello! Autosynth couldn't regenerate nodejs-bigquery-connection. :broken_heart:
Here's the output from running synth.py:
rsion.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 prelint /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> cd samples/ && npm link ../ && npm i

npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/lib/node_modules/@google-cloud
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'
npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/usr/lib/node_modules/@google-cloud'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-12T11_44_54_959Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! @google-cloud/bigquery-connection@1.0.0 prelint: `cd samples/ && npm link ../ && npm i`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 prelint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-12T11_44_54_972Z-debug.log
2020-07-12 04:44:54,980 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 fix /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> gts fix

version: 12

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/quickstart.js
  25:15  error  "@google-cloud/bigquery-connection" is not found  node/no-missing-require

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/test/quickstart.js
  21:26  error  "chai" is not found  node/no-missing-require

✖ 2 problems (2 errors, 0 warnings)

Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
    at makeError (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async run (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/gts/build/src/cli.js:120:17) {
  shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/bigquery-connection@1.0.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-12T11_45_02_469Z-debug.log
2020-07-12 04:45:02,478 synthtool [ERROR] > Failed executing npm run fix:

None
ERROR:synthtool:Failed executing npm run fix:

None
2020-07-12 04:45:02,479 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/synth.py", line 36, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
    fix(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
    shell.run(["npm", "run", "fix"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-07-12 04:45:02,530 autosynth [ERROR] > Synthesis failed
2020-07-12 04:45:02,530 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at b09a77b build: use bazel build (#9)
2020-07-12 04:45:02,543 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-12 04:45:02,558 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-bigquery-connection. :sob:
Here's the output from running synth.py:
d releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 prelint /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> cd samples/ && npm link ../ && npm i

npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/lib/node_modules/@google-cloud
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'
npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/usr/lib/node_modules/@google-cloud'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-13T11_45_18_710Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! @google-cloud/bigquery-connection@1.0.0 prelint: `cd samples/ && npm link ../ && npm i`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 prelint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-13T11_45_18_724Z-debug.log
2020-07-13 04:45:18,732 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 fix /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> gts fix

version: 12

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/quickstart.js
  25:15  error  "@google-cloud/bigquery-connection" is not found  node/no-missing-require

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/test/quickstart.js
  21:26  error  "chai" is not found  node/no-missing-require

✖ 2 problems (2 errors, 0 warnings)

Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
    at makeError (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async run (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/gts/build/src/cli.js:120:17) {
  shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/bigquery-connection@1.0.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-13T11_45_26_398Z-debug.log
2020-07-13 04:45:26,406 synthtool [ERROR] > Failed executing npm run fix:

None
ERROR:synthtool:Failed executing npm run fix:

None
2020-07-13 04:45:26,407 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/synth.py", line 36, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
    fix(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
    shell.run(["npm", "run", "fix"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-07-13 04:45:26,457 autosynth [ERROR] > Synthesis failed
2020-07-13 04:45:26,457 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 90e39a2 chore(deps): update dependency @types/mocha to v8 (#14)
2020-07-13 04:45:26,470 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-13 04:45:26,486 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating nodejs-bigquery-connection. :sob:
Here's the output from running synth.py:
d releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 prelint /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> cd samples/ && npm link ../ && npm i

npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/lib/node_modules/@google-cloud
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'
npm ERR!  [Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/@google-cloud'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/usr/lib/node_modules/@google-cloud'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-14T11_57_16_883Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! @google-cloud/bigquery-connection@1.0.0 prelint: `cd samples/ && npm link ../ && npm i`
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 prelint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-14T11_57_16_895Z-debug.log
2020-07-14 04:57:16,904 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
npm WARN npm npm does not support Node.js v12.18.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/

> @google-cloud/bigquery-connection@1.0.0 fix /home/kbuilder/.cache/synthtool/nodejs-bigquery-connection
> gts fix

version: 12

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/quickstart.js
  25:15  error  "@google-cloud/bigquery-connection" is not found  node/no-missing-require

/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/samples/test/quickstart.js
  21:26  error  "chai" is not found  node/no-missing-require

✖ 2 problems (2 errors, 0 warnings)

Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
    at makeError (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async run (/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/node_modules/gts/build/src/cli.js:120:17) {
  shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/bigquery-connection@1.0.0 fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/bigquery-connection@1.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2020-07-14T11_57_24_637Z-debug.log
2020-07-14 04:57:24,647 synthtool [ERROR] > Failed executing npm run fix:

None
ERROR:synthtool:Failed executing npm run fix:

None
2020-07-14 04:57:24,648 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/nodejs-bigquery-connection/synth.py", line 36, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
    fix(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
    shell.run(["npm", "run", "fix"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-07-14 04:57:24,710 autosynth [ERROR] > Synthesis failed
2020-07-14 04:57:24,710 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 90e39a2 chore(deps): update dependency @types/mocha to v8 (#14)
2020-07-14 04:57:24,724 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-14 04:57:24,740 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:

repo: googleapis/nodejs-bigquery-connection


text:
row.exists doesn't limit cell versions, can cause out of memory exceptions

Please run down the following list and make sure you've tried the usual "quick fixes":

[x] Search the issues already opened: https://github.com/googleapis/nodejs-bigtable/issues
[x] Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-node
[x] Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+node.js

If you are still having issues, please be sure to include as much information as possible:
Environment details

OS: macos 10.14.6, linux (on GKE)
Node.js version: all (discovered while on v8.16.2)
npm version: all (discovered while on 6.4.1)
@google-cloud/bigtable version: all (discovered via 1.0.1)

Steps to reproduce

write a very large number of increments to a single row (a simple loop that sends increment mutations should work)
run row.exists() against the row, monitor memory usage

Expected result
row.exists() should query enough information to accurately determine if the row exists, but not pull all versions of all cells within the row.
Actual result
With very active rows which are creating many versions due to increment operations, row.exists() fetches every version of the cell, consuming a massive amount of memory (potentially crashing node) and taking a long time to execute (while waiting for the versions) before finally resolving with the boolean result. This can cause server failures and API call timeouts.
Analysis
row.exists() fetches the entire row, including all versions of all cells and doesn’t accept an options object, so it cannot be made to limit the amount of data fetched.
Specifically, row.exists:

accepts no parameters/options
forces gaxOptions to an empty object
calls row.getMetadata
which calls table.getRows
which calls createReadStream, then pipes all results in-memory to be concatenated in a single array

thanks for the bug report @jschmidt-metacx :ok_hand:

This can be optimized setting rows_limit = 1 and by chaining the filters: strip_value_transformer: true and cells_per_row_limit_filter: 1

authors: bcoe igorbernstein2 jschmidt-metacx

repo: googleapis/nodejs-bigtable


text:
feat!: add typings for top level object

Adds input and return types for (public) methods in index.ts.
BREAKING CHANGE: GetInstancesCallback and GetInstanceConfigsCallback now require checks that the results callback parameter is defined before it can be used.
Fixes #748

@olavloite, now that we're able to do a major version bump, we can proceed with this. Could I please ask you to resolve the conflicts? I looked at it but realized that I may not know what I'm doing.

@olavloite, now that we're able to do a major version bump, we can proceed with this. Could I please ask you to resolve the conflicts? I looked at it but realized that I may not know what I'm doing.

Yes, I'll look into it.

authors: olavloite skuruppu

repo: googleapis/nodejs-spanner


text:
Cartographer2D crashes

Dear Team,
I am using catographer2D on a Kobuki platform with a  Hokuyo URG-04LX-UG01 Laser .
When the robot finishes its first loop, cartographer crashes.
Here's the last Info before crash:
[ INFO] [1520853984.661969578, 1520850612.346367899]: I0312 12:26:24.000000 24626 constraint_builder_2d.cc:257] Node (0, 398) with 8 points on submap (0, 2) differs by translation 6.57 rotation 0.194 with score 90.0%.
I suppose that I'm not using the correct lua params for my platform.  I saved a rosbag for this issue if you could help me to correct it.
BagFile:
https://www.dropbox.com/s/0exj8mex90yob8r/data-for-mapping-coworking_2018-03-12-11-29-08.bag?dl=0
LuaConfig:
emx.lua.txt
Thanks
MG

Please re-run cartographer_node in a debugger. (The info line is unrelated.)

Here's what gdb returns:
Program received signal SIGSEGV, Segmentation fault.
0x00000000005b2f9f in cartographer_ros::SensorBridge::HandleLaserScan(std::string const&, std::chrono::time_point<cartographer::common::UniversalTimeScaleClock, std::chrono::duration<long, std::ratio<1l, 10000000l> > >, std::string const&, cartographer::sensor::PointCloudWithIntensities const&) ()
(gdb) bt
#0  0x00000000005b2f9f in cartographer_ros::SensorBridge::HandleLaserScan(std::string const&, std::chrono::time_point<cartographer::common::UniversalTimeScaleClock, std::chrono::duration<long, std::ratio<1l, 10000000l> > >, std::string const&, cartographer::sensor::PointCloudWithIntensities const&) ()
#1  0x00000000005b3397 in cartographer_ros::SensorBridge::HandleLaserScanMessage(std::string const&, boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const> const&) ()
#2  0x000000000058b3da in cartographer_ros::Node::HandleLaserScanMessage(int, std::string const&, boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const> const&)
    ()
#3  0x000000000059912c in boost::detail::function::void_function_obj_invoker1<boost::function<void (boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const> const&)>, void, boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const>) ()
#4  0x00000000005a8275 in ros::SubscriptionCallbackHelperT<boost::shared_ptr<sensor_msgs::LaserScan_<std::allocator<void> > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) ()
#5  0x00007ffff557a645 in ros::SubscriptionQueue::call() () from /opt/ros/indigo/lib/libroscpp.so
#6  0x00007ffff5534107 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/indigo/lib/libroscpp.so
#7  0x00007ffff5534c53 in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/indigo/lib/libroscpp.so
#8  0x00007ffff557d175 in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*) () from /opt/ros/indigo/lib/libroscpp.so
#9  0x00007ffff5564d9b in ros::spin() () from /opt/ros/indigo/lib/libroscpp.so
#10 0x000000000058866b in cartographer_ros::(anonymous namespace)::Run() ()
#11 0x0000000000585bd6 in main ()

Thanks for your quick response. This seems similar to https://github.com/googlecartographer/cartographer_ros/issues/764.
Can you please make this reproducible by creating a fork repository containing a branch of    cartographer_ros containing all the configuration, launch, and URDF files required?

You can find in the rosbag file all topics you need. I deleted the /tf (map -> odom) coming from cartographer_node when I saved the bag. So I attached a new one (output.bag)
link: https://www.dropbox.com/s/oy7wkjkv6jiy8ft/output.bag?dl=0
To run my bag just launch the play.launch. You have to put your directory path in this launch file.
play.launch.txt
emx.launch.txt
emx.lua.txt
I did some experimentation with my robot and I think that the crash happens when the laser is not detecting any obstacle (big space). I am checking that case for now.
Cheers,
MG

Could it be that you're passing a completely empty rangefinder measurement (all rays are out of range, i.e. the resulting point cloud is empty)?

@GMahmoud could you move the check CHECK_LE(points.points.back()[3], 0); in sensor_bridge.cc after the lines if (start_index == end_index) { continue; } and see if this works?

Yeah effectively. When the vector of points of PointCloudWithIntensities is empty, the CHECK_LE(points.points.back()[3], 0); is sending a Segmentation fault.

The problem is solved with your suggestion @gaschler.
Thanks

Closing as solved.

authors: GMahmoud cschuet gaschler ojura


text:
Mistake in Code Example on Step 6

In the first example on step 6, there is an extra comma after the last item in the Spreadsheet variable.

Fixed!

repo: googlecodelabs/sheets-api


text:
can not download quantized model(tensorflow lite)

I can not download the quantized part of tensorflow lite.Please... give me the solution as soon as posible.It is very emergency for me...Please.....

Same for me, everything works perfectly, but the download link does not become active.

@munna71 solved (for me), you must re-train the model!
i saved the project & model previously, and then reopened it, and the download was greyed out,
after re-trining the model, the download link becomes active again.


text:
How to traning with multiple class and images?

I have multiple class (about 200 class) and  more than 1000 images for each class.
Can you tell me ways i can run them or document for this?
Thanks you!

Hi @Dangtrungphu, I know this is a bit of a late reply but if you are still interested, are talking about after exporting the model?


text:
adobefonts profile causing traceback

Observed behaviour
fontbakery check-adobefonts causes traceback during reporting, resulting in empty report file.
Expected behaviour
No traceback occurs and report file is not empty.
Resources and exact process needed to replicate

Download NotoMono-Regular.ttf or use any handy ttf file.
From command line run:

fontbakery check-adobefonts --html out.html NotoMono-Regular.ttf

Tests seem to run to completion but results in traceback:

DONE!

Traceback (most recent call last):
  File "/usr/local/bin/fontbakery", line 11, in <module>
    load_entry_point('fontbakery', 'console_scripts', 'fontbakery')()
  File "/smith/fontbakery/Lib/fontbakery/cli.py", line 22, in main
    "fontbakery.commands." + subcommand_module, run_name='__main__')
  File "/usr/lib/python3.6/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/smith/fontbakery/Lib/fontbakery/commands/check_adobefonts.py", line 30, in <module>
    sys.exit(main())
  File "/smith/fontbakery/Lib/fontbakery/commands/check_profile.py", line 311, in main
    args.html.write(hr.get_html())
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 65, in get_html
    self.html_for_check(result),
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 106, in html_for_check
    check["logs"].sort(key=lambda c: LOGLEVELS.index(c["status"]))
  File "/smith/fontbakery/Lib/fontbakery/reporters/html.py", line 106, in <lambda>
    check["logs"].sort(key=lambda c: LOGLEVELS.index(c["status"]))
ValueError: 'DEBUG' is not in list

and the out.html file is zero length.
Same things happens with --ghmarkdown reporting.
However, if neither reporter is used, e.g., fontbakery check-adobefonts  NotoMono-Regular.ttf then no traceback occurs.

I'm running from source, commit 0b91e8f860a9fe9877b4ca81fd58c843ed57192e

repo: googlefonts/fontbakery


text:
Support more eager decomposition of transforms OR alter fontmake-py

@anthrotype notes:

This optional filter is more eager than our current implementation in fontc. This one will decompose any transformed components anywhere, not just those components that have different 2x2 in different masters like we currently do. We could add an option to do the former (off by default because fontmake doesn't enable this by default).

https://github.com/googlefonts/fontmake-rs/pull/288#discussion_r1199176650
Alternately, update fontmake and gftools to support matching the fontc behavior.

the fontc behavior is arguably the most correct of the three. By default we should only decompose transformed components that have different 2x2 transforms between masters. Right now I think fontmake/ufo2ft will let them pass through but varLib will issue a logging warning about the components not being interpolation compatible and leave their gvar blank.. not super nice.
Decomposing all transformed components may be desirable if one wants to support some legacy environment that doesn't play well with those, but is not strictly necessary to support normal VF builds, hence I think it should not be done by default.

authors: anthrotype rsheeter

repo: googlefonts/fontmake-rs


text:
fixed build and run in Wikigeo

Fixed build errors and run in Wikigeo

The types were changed to Dict, but types weren't provided for the keys and values. Can we do that or define a container that holds the information? (I thought that is what WikigeoEntity was?)

authors: jasonbaldridge tzufgoogle

repo: googleinterns/cabby


text:
Getting   Failure [INSTALL_FAILED_OLDER_SDK] error

Hi,
I want to know about the biometric fingerprint so, when Im run this application Im unable to install. It shows me below error
pkg: /data/local/tmp/com.example.android.fingerprintdialog
Failure [INSTALL_FAILED_OLDER_SDK]
Even I have changed build .gradle file
compileSdkVersion "android-MNC"
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 15
maxSdkVersion 17
versionCode 1
versionName "1.0"
}
I want to check the functionality but im unable to get apk file
Please help me on this

Hi,
You have to run it on Android M - for the moment on emulator or if you have a Nexus device with Android M image on it
Kind Regards

Hi Flymanj,
We don't have Android device with the version of Android M. If I have created android M emulator how can test fingerprint?. Is this application is not supported for below android M version?

Hi,
I'm using emulator.
Please check that page - https://developer.android.com/preview/api-overview.html#authentication
There you can find that there is an adb command - adb -e emu finger touch <finger_id>
The problem is that you are not able to test a wrong finger print, or at least I was not able to find out a way.
Kind Regards,
Yanislav

Hi,
Thanks for your support..
I have created Android M emulator and successfully installed application
Unable to find the fingerprint sensor in my emulator[settings ->security->fingerprint-> password]
How can I take the finger print sensor by using emulator?..
And how can we get the finger_id by using the command
adb -e emu finger touch <finger_id>

Hi,
You are missing the
try to type adb -e emu finger touch 1
Kind Regards

Hi,
Ok..But my system doesn't have touch screen :(.  I couldn't found any way to test this..

Hi, for me, adb -e emu finger touch 1 does not work, nothing happened...

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!

authors: Anushak5248 codingjeremy flymanj thereisaway

repo: googlesamples/android-FingerprintDialog


text:
Press Back() issue.

when i run previously recorded Test script it gets failed due to Press back() issue.
please check the error logs:
android.support.test.espresso.NoActivityResumedException: Pressed back and killed the app
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:579)
at android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:92)
at android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:56)
at android.support.test.espresso.ViewInteraction.runSynchronouslyOnUiThread(ViewInteraction.java:184)
at android.support.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:115)
at android.support.test.espresso.ViewInteraction.perform(ViewInteraction.java:87)
at android.support.test.espresso.Espresso.pressBack(Espresso.java:189)
at com.example.android.testing.notes.notes.NotesActivityTest5.notesActivityTest5(NotesActivityTest5.java:52)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at android.support.test.internal.statement.UiThreadStatement.evaluate(UiThreadStatement.java:55)
at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:270)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)

Not a sample issue.

DId you get the answer @harishbarge ?

If you are testing fragment add this code below onViewCreated:
    val callback = object : OnBackPressedCallback(true) {
        override fun handleOnBackPressed() {
            // handle when pressed back button.
            findNavController().popBackStack()
        }
    }

    requireActivity().onBackPressedDispatcher.addCallback(callback)

then fixed code in test fun:
Espresso.pressBack()
Mockito.verify(navController).popBackStack()

authors: JoseAlcerreca harishbarge huxaiphaer ogzkesk

repo: googlesamples/android-testing


text:
Wrong skip condition

This commit should consider the -u ${config_file} case.
Currently it skips in that case though it should not.

why should it? if alpha is installed by packer, it's still in your rtp and is still going to run just like every other plugin you have installed

Sorry, the link is broken. I just update the commit link.
Alpha is correctly loaded. It is the condition to activate that needs more considerations.

https://github.com/wbthomason/packer.nvim/issues/307
plugins installed by packer are installed to stdpath('data')/nvim/site/pack/packer/start/ which is always sourced by neovim no matter what config it's reading, unless the --clean flag is passed. I don't think it's unreasonable that someone might want multiple configs that still have the alpha buffer automatically open, since I use nvim that way myself.
the solution to this is to mark alpha opt = true in packer_use i think, or to pass --clean to neovim.
if your config doesn't call alpha.setup the VimEnter autocmd shouldn't even be created in the first place

The plugin is correctly loaded but doesn't show at startup.
This behavior comes after that commit.
I think the previous behavior is desired, is that correct?

oh, i see what you mean now. yeah i can fix that

pushed https://github.com/goolord/alpha-nvim/commit/b9eae5d1f767da26b03a6c822b80263b27fc0352, it should be more like the old conditions now except slightly more rigorous

lmk if the problem persists for you :black_heart:

Problem solved. Thx!

authors: goolord meijieru

repo: goolord/alpha-nvim

license: MIT


text:
🛑 goormEDU is down

In 4f6c1eb, goormEDU (https://edu.goorm.io) was down:

HTTP code: 403
Response time: 627 ms

Resolved: goormEDU is back up in e93793d after 5 minutes.

repo: goorm-dev/goorm-status


text:
🛑 goormEDU is down

In 59d8425, goormEDU (https://edu.goorm.io) was down:

HTTP code: 403
Response time: 612 ms

Resolved: goormEDU is back up in 0ff291a after 5 minutes.