Determine this is the right repository
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
Reproduction steps: actual results
file: output.txtmydata.csv
Reproduction steps: expected results
file: output.txtmydata.csv
OS & version + platform
No response
Python environment
No response
Python dependencies
No response
Additional context
No response
Determine this is the right repository
Summary of the issue
When running
librarian generate3 libraries are failing to generate. See details below and full logs heregoogle-cloud-compute, google-cloud-compute-v1beta
google-cloud-storagebatchoperations
API client name and version
No response
Reproduction steps: code
file: main.py
Reproduction steps: supporting files
file: mydata.csv
Reproduction steps: actual results
file: output.txtmydata.csv
Reproduction steps: expected results
file: output.txtmydata.csv
OS & version + platform
No response
Python environment
No response
Python dependencies
No response
Additional context
No response