Public bug reported:

The netplan.io tests in initramfs-tools fails during build and
autopkgtest with 1.2-0ubuntu1:

```
Traceback (most recent call last):
  File "/usr/sbin/netplan", line 23, in <module>
    netplan.main()
    ~~~~~~~~~~~~^^
  File "/usr/share/netplan/netplan_cli/cli/core.py", line 58, in main
    self.run_command()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/share/netplan/netplan_cli/cli/utils.py", line 340, in run_command
    self.func()
    ~~~~~~~~~^^
  File "/usr/share/netplan/netplan_cli/cli/commands/generate.py", line 47, in 
run
    self.run_command()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/share/netplan/netplan_cli/cli/utils.py", line 340, in run_command
    self.func()
    ~~~~~~~~~^^
  File "/usr/share/netplan/netplan_cli/cli/commands/generate.py", line 108, in 
command_generate
    subprocess.check_call([sd_generator, '--root-dir', self.root_dir,
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                           generator_dir, generator_early_dir, 
generator_late_dir])
                           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 414, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python3.13/subprocess.py", line 395, in call
    with Popen(*popenargs, **kwargs) as p:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1876, in _execute_child
    self._posix_spawn(args, executable, env, restore_signals, close_fds,
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      p2cread, p2cwrite,
                      ^^^^^^^^^^^^^^^^^^
                      c2pread, c2pwrite,
                      ^^^^^^^^^^^^^^^^^^
                      errread, errwrite)
                      ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 1820, in _posix_spawn
    self.pid = os.posix_spawn(executable, args, env, **kwargs)
               ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/tmp/test_netinfo.sh.xqYj/usr/lib/systemd/system-generators/netplan'
FAIL: ipv4-netplan-generate: netplan generate failed
```

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137640

Title:
  initramfs-tools failed build/autopkgtest with netplan.io 1.2-0ubuntu1:
  No such file or directory:
  '/tmp/test_netinfo.sh.xqYj/usr/lib/systemd/system-generators/netplan'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2137640/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to