Skip to content

google-cloud-compute-v1beta generation failure #14882

Closed

Description

@GautamSharda

Librarian generation for google-cloud-compute-v1beta failed in PR#14878

Activity

  1. added
    api: compute
    on Nov 15, 2025
  2. self-assigned this
    on Nov 17, 2025
  3. parthea commented on Nov 17, 2025

    @parthea
    Contributor

    For google-cloud-compute, tests seem to hang. I'm investigating

    
    ........................................................................ [ 63%]
    --
      | Traceback (most recent call last):
      | File "/app/./cli.py", line 907, in _run_nox_sessions
      | _run_individual_session(nox_session, library_id, repo)
      | ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 932, 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-v1beta/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 1092, in handle_build
      | _run_nox_sessions(library_id, repo)
      | ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 910, 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 1593, in <module>
      | args.func(librarian=args.librarian, repo=args.repo)
      | ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 1094, in handle_build
      | raise ValueError("Build failed.") from e
      | ValueError: Build failed.
    
  4. parthea commented on Nov 17, 2025

    @parthea
    Contributor

    I'm unable to reproduce this locally. I need to debug using the automation

  5. ldetmer commented on Nov 19, 2025

    @ldetmer
    Contributor

    FYI this is still hapening in latest generation PR

    
    Traceback (most recent call last):
    --
      | File "/app/./cli.py", line 908, in _run_nox_sessions
      | _run_individual_session(nox_session, library_id, repo, is_mono_repo)
      | ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 941, 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-v1beta/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 1119, in handle_build
      | _run_nox_sessions(library_id, repo, is_mono_repo)
      | ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 911, 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 1618, in <module>
      | args.func(librarian=args.librarian, repo=args.repo)
      | ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      | File "/app/./cli.py", line 1121, in handle_build
      | raise ValueError("Build failed.") from e
      | ValueError: Build failed.
      | time=2025-11-19T08:39:16.009Z level=INFO msg="=== Docker end ================================================================="
      | time=2025-11-19T08:39:16.019Z level=INFO msg="restoring uncommitted changes" paths=packages/google-cloud-compute-v1beta
      | time=2025-11-19T08:39:19.239Z level=INFO msg="cleaning untracked files" paths=packages/google-cloud-compute-v1beta
      | time=2025-11-19T08:39:57.439Z level=ERROR msg="failed to generate library" id=google-cloud-compute-v1beta err="exit status 1"
    
    
    

    see build log

  6. parthea commented on Apr 10, 2026

    @parthea
    Contributor

    I'm going to close this issue since we're starting the migration from legacylibrarian to librarian in google-cloud-python. I'll open a new issue if the problem still appears with librarian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: compute

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions