Git Product home page Git Product logo

Comments (9)

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

mPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1166�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-15T01_15_09_765Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-15T01_15_09_782Z-debug.log
2020-05-14 18:15:09,797 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-14 18:15:09,799 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-14 18:15:09,846 autosynth [ERROR] > Synthesis failed
2020-05-14 18:15:09,846 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 145017d build: do not fail builds on codecov errors (#528) (#329)
2020-05-14 18:15:09,859 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
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 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 591, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 368, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 378, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

mPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1166�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-15T11_23_22_363Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-15T11_23_22_380Z-debug.log
2020-05-15 04:23:22,394 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-15 04:23:22,396 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-15 04:23:22,434 autosynth [ERROR] > Synthesis failed
2020-05-15 04:23:22,434 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 145017d build: do not fail builds on codecov errors (#528) (#329)
2020-05-15 04:23:22,447 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
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 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 591, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 368, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 378, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-15T18_45_07_808Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-15T18_45_07_825Z-debug.log
2020-05-15 11:45:07,839 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-15 11:45:07,840 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-15 11:45:07,877 autosynth [ERROR] > Synthesis failed
2020-05-15 11:45:07,877 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-15 11:45:07,889 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-15 11:45:07,897 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 612, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 592, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 368, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 378, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-16T11_31_02_448Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-16T11_31_02_465Z-debug.log
2020-05-16 04:31:02,478 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-16 04:31:02,480 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-16 04:31:02,520 autosynth [ERROR] > Synthesis failed
2020-05-16 04:31:02,520 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-16 04:31:02,533 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-16 04:31:02,540 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-17T11_28_24_449Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-17T11_28_24_466Z-debug.log
2020-05-17 04:28:24,480 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-17 04:28:24,481 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-17 04:28:24,525 autosynth [ERROR] > Synthesis failed
2020-05-17 04:28:24,525 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-17 04:28:24,538 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-17 04:28:24,546 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-18T11_25_31_288Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-18T11_25_31_305Z-debug.log
2020-05-18 04:25:31,321 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-18 04:25:31,322 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-18 04:25:31,375 autosynth [ERROR] > Synthesis failed
2020-05-18 04:25:31,375 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-18 04:25:31,388 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-18 04:25:31,396 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-19T11_27_36_137Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-19T11_27_36_153Z-debug.log
2020-05-19 04:27:36,167 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-19 04:27:36,168 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-19 04:27:36,220 autosynth [ERROR] > Synthesis failed
2020-05-19 04:27:36,220 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-19 04:27:36,232 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-19 04:27:36,240 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth is still having trouble generating nodejs-asset. 😭

Here's the output from running synth.py:

r�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1166�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1193�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1193�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1200�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1200�[0m                 const responses: protos.google.cloud.asset.v1.IamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1201�[0m:�[93m75�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IamPolicySearchResult'.

�[7m1201�[0m                 stream.on('data', (response: protos.google.cloud.asset.v1.IamPolicySearchResult) => {
�[7m    �[0m �[91m                                                                          ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1227�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1227�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1230�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1230�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1231�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1231�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1232�[0m:�[93m70�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'IamPolicySearchResult' does not exist on type 'typeof v1'.

�[7m1232�[0m               generateSampleMessage(new protos.google.cloud.asset.v1.IamPolicySearchResult()),
�[7m    �[0m �[91m                                                                     ~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1235�[0m:�[93m59�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1235�[0m             const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                          ~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1257�[0m:�[93m84�[0m - �[91merror�[0m�[90m TS2339: �[0mProperty 'SearchAllIamPoliciesRequest' does not exist on type 'typeof v1'.

�[7m1257�[0m             const request = generateSampleMessage(new protos.google.cloud.asset.v1.SearchAllIamPoliciesRequest());
�[7m    �[0m �[91m                                                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~�[0m

�[96mtest/gapic_asset_service_v1.ts�[0m:�[93m1263�[0m:�[93m63�[0m - �[91merror�[0m�[90m TS2694: �[0mNamespace '"/home/kbuilder/.cache/synthtool/nodejs-asset/protos/protos".google.cloud.asset.v1' has no exported member 'IIamPolicySearchResult'.

�[7m1263�[0m                 const responses: protos.google.cloud.asset.v1.IIamPolicySearchResult[] = [];
�[7m    �[0m �[91m                                                              ~~~~~~~~~~~~~~~~~~~~~~�[0m


Found 104 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] compile 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-05-20T12_31_41_471Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/[email protected] prepare 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-05-20T12_31_41_487Z-debug.log
2020-05-20 05:31:41,501 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
2020-05-20 05:31:41,502 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-asset/synth.py", line 55, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 193, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 167, in install
    shell.run(["npm", "install"], 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', 'install']' returned non-zero exit status 1.
2020-05-20 05:31:41,539 autosynth [ERROR] > Synthesis failed
2020-05-20 05:31:41,539 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 238c11a fix(deps): update dependency @google-cloud/storage to v5 (#330)
2020-05-20 05:31:41,551 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-05-20 05:31:41,558 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 615, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 476, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 595, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 371, in synthesize_loop
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 381, 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 119, 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.

from nodejs-asset.

yoshi-automation avatar yoshi-automation commented on June 12, 2024

Autosynth passed, closing! 💚

from nodejs-asset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.