Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

library generation fails for 3 libraries #14992

Copy link
Copy link

Description

@ldetmer
Issue body actions

Determine this is the right repository

  • I determined this is the correct repository in which to report this bug.

Summary of the issue

When running librarian generate 3 libraries are failing to generate. See details below and full logs here

google-cloud-compute, google-cloud-compute-v1beta


Traceback (most recent call last):
--
  | File "/app/./cli.py", line 1015, in _run_nox_sessions
  | _run_individual_session(nox_session, library_id, repo, is_mono_repo)
  | ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/app/./cli.py", line 1048, in _run_individual_session
  | result = subprocess.run(command, text=True, check=True, timeout=600)
  | File "/usr/local/lib/python3.14/subprocess.py", line 556, in run
  | stdout, stderr = process.communicate(input, timeout=timeout)
  | ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/usr/local/lib/python3.14/subprocess.py", line 1220, in communicate
  | stdout, stderr = self._communicate(input, endtime, timeout)
  | ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/usr/local/lib/python3.14/subprocess.py", line 2152, in _communicate
  | self.wait(timeout=self._remaining_time(endtime))
  | ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/usr/local/lib/python3.14/subprocess.py", line 1278, in wait
  | return self._wait(timeout=timeout)
  | ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  | File "/usr/local/lib/python3.14/subprocess.py", line 2056, in _wait
  | raise TimeoutExpired(self.args, timeout)
  | subprocess.TimeoutExpired: Command '['nox', '-s', "unit-3.14(protobuf_implementation='upb')", '-f', '/repo/packages/google-cloud-compute/noxfile.py']' timed out after 600 seconds
  |  
  | The above exception was the direct cause of the following exception:
  |  
  | Traceback (most recent call last):
  | File "/app/./cli.py", line 1230, in handle_build
  | _run_nox_sessions(library_id, repo, is_mono_repo)
  | ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/app/./cli.py", line 1018, in _run_nox_sessions
  | raise ValueError(f"Failed to run the nox session: {current_session}") from e
  | ValueError: Failed to run the nox session: unit-3.14(protobuf_implementation='upb')
  |  
  | The above exception was the direct cause of the following exception:
  |  
  | Traceback (most recent call last):
  | File "/app/./cli.py", line 1757, in <module>
  | args.func(librarian=args.librarian, repo=args.repo)
  | ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/app/./cli.py", line 1232, in handle_build
  | raise ValueError("Build failed.") from e
  | ValueError: Build failed.


google-cloud-storagebatchoperations


Traceback (most recent call last):
--
  | File "/app/./cli.py", line 720, in handle_generate
  | _run_post_processor(output, library_id, is_mono_repo)
  | ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | File "/app/./cli.py", line 340, in _run_post_processor
  | python_mono_repo.owlbot_main(path_to_library)
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  | File "/usr/local/lib/python3.14/site-packages/synthtool/languages/python_mono_repo.py", line 265, in owlbot_main
  | apply_client_specific_post_processing(
  | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  | f"packages/{package_name}/scripts/client-post-processing", package_name
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | )
  | ^
  | File "/usr/local/lib/python3.14/site-packages/synthtool/languages/python_mono_repo.py", line 161, in apply_client_specific_post_processing
  | replacement_count == expected_count
  | AssertionError: Replaced 0 rather than 1 instances
  |  
  | The above exception was the direct cause of the following exception:
  |  
  | Traceback (most recent call last):
  | File "/app/./cli.py", line 1750, in <module>
  | args.func(
  | ~~~~~~~~~^
  | librarian=args.librarian,
  | ^^^^^^^^^^^^^^^^^^^^^^^^^
  | ...<2 lines>...
  | input=args.input,
  | ^^^^^^^^^^^^^^^^^
  | )
  | ^
  | File "/app/./cli.py", line 724, in handle_generate
  | raise ValueError("Generation failed.") from e
  | ValueError: Generation failed.


API client name and version

No response

Reproduction steps: code

file: main.py

   def reproduce():
    # complete code here

Reproduction steps: supporting files

file: mydata.csv

alpha,1,3
beta,2,5

Reproduction steps: actual results

file: output.txtmydata.csv

Calculated: foo

Reproduction steps: expected results

file: output.txtmydata.csv

Calculated: bar

OS & version + platform

No response

Python environment

No response

Python dependencies

No response

Additional context

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.type: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.