Your message dated Tue, 29 Oct 2024 05:17:43 +0000
with message-id <e1t5ebv-005ogt...@fasolo.debian.org>
and subject line Bug#1086013: fixed in waagent 2.12.0.2~pre-3
has caused the Debian Bug report #1086013,
regarding waagent: FTBFS: FileNotFoundError: [Errno 2] No such file or 
directory: 'umount'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1086013: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086013
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:waagent
Version: 2.12.0.2~pre-2
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

[ please read note at the very end ]

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent
copying azurelinuxagent/agent.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent
copying azurelinuxagent/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent

[... snipped ...]

test_provision (tests.pa.test_provision.TestProvision.test_provision) ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/pa/provision/default.py:65:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  utc_start = datetime.utcnow()
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/event.py:506:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  self.add_common_event_parameters(event, datetime.utcnow())
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/pa/provision/default.py:65:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  utc_start = datetime.utcnow()
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/logger.py:138:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  time = datetime.utcnow().strftime(Logger.LogTimeFormatInUTC)
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/event.py:506:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  self.add_common_event_parameters(event, datetime.utcnow())
ok
test_provision_telemetry_fail 
(tests.pa.test_provision.TestProvision.test_provision_telemetry_fail)
Assert that the agent issues one telemetry message as part of a ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/pa/provision/default.py:65:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  utc_start = datetime.utcnow()
ok
test_provision_telemetry_pga_bad 
(tests.pa.test_provision.TestProvision.test_provision_telemetry_pga_bad)
ProvisionGuestAgent flag is 'bad data' ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/event.py:627:
 DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in 
a future version. Use timezone-aware objects to represent datetimes in UTC: 
datetime.datetime.now(datetime.UTC).
  now = datetime.utcnow()
ok
test_provision_telemetry_pga_empty 
(tests.pa.test_provision.TestProvision.test_provision_telemetry_pga_empty)
ProvisionGuestAgent flag is '' ... ok
test_provision_telemetry_pga_false 
(tests.pa.test_provision.TestProvision.test_provision_telemetry_pga_false)
ProvisionGuestAgent flag is 'false' ... ok
test_provision_telemetry_pga_true 
(tests.pa.test_provision.TestProvision.test_provision_telemetry_pga_true)
ProvisionGuestAgent flag is 'true' ... ok
test_provisioning_is_skipped_when_not_enabled 
(tests.pa.test_provision.TestProvision.test_provisioning_is_skipped_when_not_enabled)
 ... ok
test_accepts_configuration_path 
(tests.test_agent.TestAgent.test_accepts_configuration_path) ... skipped 'agent 
will not load configuration with ~ in its path'
test_agent_accepts_configuration_path 
(tests.test_agent.TestAgent.test_agent_accepts_configuration_path) ... ok
test_agent_does_not_pass_configuration_path 
(tests.test_agent.TestAgent.test_agent_does_not_pass_configuration_path) ... ok
test_agent_ensures_extension_log_directory 
(tests.test_agent.TestAgent.test_agent_ensures_extension_log_directory) ... ok
test_agent_get_configuration 
(tests.test_agent.TestAgent.test_agent_get_configuration) ... ok
test_agent_logs_if_extension_log_directory_is_a_file 
(tests.test_agent.TestAgent.test_agent_logs_if_extension_log_directory_is_a_file)
 ... ok
test_agent_passes_configuration_path 
(tests.test_agent.TestAgent.test_agent_passes_configuration_path) ... ok
test_agent_usage_message (tests.test_agent.TestAgent.test_agent_usage_message) 
... ok
test_agent_uses_default_configuration_path 
(tests.test_agent.TestAgent.test_agent_uses_default_configuration_path) ... ok
test_calls_collect_logs_on_valid_cgroups_v1 
(tests.test_agent.TestAgent.test_calls_collect_logs_on_valid_cgroups_v1) ... ok
test_calls_collect_logs_on_valid_cgroups_v2 
(tests.test_agent.TestAgent.test_calls_collect_logs_on_valid_cgroups_v2) ... ok
test_calls_collect_logs_with_proper_mode 
(tests.test_agent.TestAgent.test_calls_collect_logs_with_proper_mode) ... ok
test_checks_configuration_path 
(tests.test_agent.TestAgent.test_checks_configuration_path) ... ok
test_checks_log_collector_mode 
(tests.test_agent.TestAgent.test_checks_log_collector_mode) ... ok
test_collect_log_should_output_resource_usage_summary 
(tests.test_agent.TestAgent.test_collect_log_should_output_resource_usage_summary)
 ... ok
test_configuration_path_defaults_to_none 
(tests.test_agent.TestAgent.test_configuration_path_defaults_to_none) ... ok
test_doesnt_call_collect_logs_if_either_controller_not_mounted 
(tests.test_agent.TestAgent.test_doesnt_call_collect_logs_if_either_controller_not_mounted)
 ... Error parsing json file: Expecting ',' delimiter: line 3 column 3 (char 23)
Error parsing json file: Expecting ',' delimiter: line 3 column 3 (char 23)
('WALinuxAgent', 'RemoteAccessHandling', False, FlexibleVersion ('2.12.0.2', '.', ('alpha', 'beta', 'rc')), 'Exception processing 
goal state for remote access users: foobar!\nTraceback (most recent call last):\n  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/ga/remoteaccess.py", line 57, in run\n    
self._remote_access = self._protocol.client.get_remote_access()\n                          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "/usr/lib/python3/dist-packages/mock/mock.py", line 1178, in __call__\n 
   return _mock_self._mock_call(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File 
"/usr/lib/python3/dist-packages/mock/mock.py", line 1182, in _mock_call\n    return _mock_self._execute_mock_call(*args, 
**kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File 
"/usr/lib/python3/dist-packages/mock/mock.py", line 1239, in _execute_mock_call\n    raise effect\nException: foobar!\n')
WRITING TO /tmp/tmp724r3lkr/waagent
2024-10-24T22:10:31.629143Z ERROR ExtHandler UnitTest Exception occurred while 
creating extension log directory /tmp/TestAgent_5e90ckgo/azure: [Errno 1] 
Operation not permitted: '/tmp/TestAgent_5e90ckgo/azure'
2024-10-24T22:10:31.629757Z ERROR ExtHandler Exception occurred while creating 
extension log directory /tmp/TestAgent_u0eck1so/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_u0eck1so/azure'
2024-10-24T22:10:31.630375Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_gss35tma/FauxLogDir: [Errno 1] Operation 
not permitted: '/tmp/TestAgent_gss35tma/FauxLogDir'
2024-10-24T22:10:31.630767Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_4_niu83g/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_4_niu83g/azure'
2024-10-24T22:10:31.632069Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_rb_udxd5/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_rb_udxd5/azure'
2024-10-24T22:10:31.632861Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_fslfxghx/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_fslfxghx/azure'
2024-10-24T22:10:31.634645Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_qhdb2w21/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_qhdb2w21/azure'
2024-10-24T22:10:31.634724Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:31.656217Z INFO Daemon LogCollector [CGI] Using cgroup v1 for 
resource enforcement and monitoring
2024-10-24T22:10:31.656667Z INFO Daemon LogCollector [CGI] cpu,cpuacct 
controller for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/cpu,cpuacct/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:31.656892Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/memory/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:31.657431Z INFO Daemon LogCollector Log collection successfully 
completed. Archive can be found at <Mock id='140402470524720'> and detailed log 
output can be found at /var/lib/waagent/logcollector/results.txt
2024-10-24T22:10:31.657508Z ERROR LogCollectorMonitorHandler LogCollector An 
error occurred in the log collection monitor thread loop; will skip the current 
iteration.
[Errno 2] No such file or directory: 
'/sys/fs/cgroup/cpu,cpuacct/azure-walinuxagent-logcollector.slice/collect-logs.scope/cpuacct.stat'
2024-10-24T22:10:33.657854Z WARNING Daemon LogCollector An error occurred while 
reporting log collector resource usage summary: Object of type Mock is not JSON 
serializable
2024-10-24T22:10:33.660616Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_277tkhhf/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_277tkhhf/azure'
2024-10-24T22:10:33.660704Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:33.671776Z INFO Daemon LogCollector [CGI] Using cgroup v2 for 
resource enforcement and monitoring
2024-10-24T22:10:33.682828Z INFO Daemon LogCollector [CGI] cpu controller for 
cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:33.683111Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:33.683599Z INFO Daemon LogCollector Log collection successfully 
completed. Archive can be found at <Mock id='140402423511040'> and detailed log 
output can be found at /var/lib/waagent/logcollector/results.txt
2024-10-24T22:10:33.683673Z ERROR LogCollectorMonitorHandler LogCollector An 
error occurred in the log collection monitor thread loop; will skip the current 
iteration.
[Errno 2] No such file or directory: 
'/sys/fs/cgroup/azure-walinuxagent-logcollector.slice/collect-logs.scope/cpu.stat'
2024-10-24T22:10:35.684011Z WARNING Daemon LogCollector An error occurred while 
reporting log collector resource usage summary: Object of type Mock is not JSON 
serializable
2024-10-24T22:10:35.685338Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_70uzkhw4/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_70uzkhw4/azure'
2024-10-24T22:10:35.685620Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:35.685682Z INFO Daemon LogCollector Log collection successfully 
completed. Archive can be found at <Mock id='140402421684496'> and detailed log 
output can be found at /var/lib/waagent/logcollector/results.txt
2024-10-24T22:10:35.685703Z INFO Daemon LogCollector Running log collector mode 
normal
2024-10-24T22:10:35.685743Z INFO Daemon LogCollector Log collection successfully 
completed. Archive can be found at <Mock id='140402421684496'> and detailed log 
output can be found at /var/lib/waagent/logcollector/results.txt
2024-10-24T22:10:35.688787Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_k0jdkviu/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_k0jdkviu/azure'
2024-10-24T22:10:35.688859Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:35.710422Z INFO Daemon LogCollector [CGI] Using cgroup v1 for 
resource enforcement and monitoring
2024-10-24T22:10:35.710823Z INFO Daemon LogCollector [CGI] cpu,cpuacct 
controller for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/cpu,cpuacct/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:35.711047Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/memory/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:35.711527Z INFO Daemon LogCollector Log collection successfully 
completed. Archive can be found at <Mock id='140402421619680'> and detailed log 
output can be found at /var/lib/waagent/logcollector/results.txt
2024-10-24T22:10:35.711599Z ERROR LogCollectorMonitorHandler LogCollector An 
error occurred in the log collection monitor thread loop; will skip the current 
iteration.
[Errno 2] No such file or directory: 
'/sys/fs/cgroup/cpu,cpuacct/azure-walinuxagent-logcollector.slice/collect-logs.scope/cpuacct.stat'
2024-10-24T22:10:37.711941Z WARNING Daemon LogCollector An error occurred while 
reporting log collector resource usage summary: Object of type Mock is not JSON 
serializable
2024-10-24T22:10:37.715514Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_6c7ubnj9/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_6c7ubnj9/azure'
2024-10-24T22:10:37.715679Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:37.737334Z INFO Daemon LogCollector [CGI] Using cgroup v1 for 
resource enforcement and monitoring
2024-10-24T22:10:37.737726Z INFO Daemon LogCollector [CGW] cpu,cpuacct 
controller is not mounted; will not track
ok
test_doesnt_call_collect_logs_on_invalid_cgroups_v1 
(tests.test_agent.TestAgent.test_doesnt_call_collect_logs_on_invalid_cgroups_v1)
 ... ok
test_doesnt_call_collect_logs_on_invalid_cgroups_v2 
(tests.test_agent.TestAgent.test_doesnt_call_collect_logs_on_invalid_cgroups_v2)
 ... ok
test_doesnt_call_collect_logs_on_non_systemd_cgroups_v1_mountpoints 
(tests.test_agent.TestAgent.test_doesnt_call_collect_logs_on_non_systemd_cgroups_v1_mountpoints)
 ... ok
test_doesnt_call_collect_logs_when_cgroup_api_cannot_be_determined 
(tests.test_agent.TestAgent.test_doesnt_call_collect_logs_when_cgroup_api_cannot_be_determined)
 ... ok
test_it_should_ignore_empty_arguments 
(tests.test_agent.TestAgent.test_it_should_ignore_empty_arguments) ... ok
test_it_should_parse_setup_firewall_properly 
(tests.test_agent.TestAgent.test_it_should_parse_setup_firewall_properly) ... ok
test_rejects_invalid_log_collector_mode 
(tests.test_agent.TestAgent.test_rejects_invalid_log_collector_mode) ... ok
test_rejects_missing_configuration_path 
(tests.test_agent.TestAgent.test_rejects_missing_configuration_path) ... ok

======================================================================
ERROR: test_scvmm_detection_with_multiple_cdroms 
(tests.daemon.test_scvmm.TestSCVMM.test_scvmm_detection_with_multiple_cdroms)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/tests/daemon/test_scvmm.py", 
line 63, in test_scvmm_detection_with_multiple_cdroms
    scvmm.ScvmmHandler().detect_scvmm_env()
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/daemon/scvmm.py",
 line 56, in detect_scvmm_env
    self.osutil.umount_dvd(chk_err=False, mount_point=mount_point)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/osutil/default.py",
 line 684, in umount_dvd
    return_code = self.umount(mount_point, chk_err=chk_err)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/osutil/default.py",
 line 758, in umount
    shellutil.run_command(["umount", mount_point], log_error=chk_err)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/utils/shellutil.py",
 line 288, in run_command
    return __run_command(command_action=command_action, command=command, 
log_error=log_error, encode_output=encode_output)
           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/utils/shellutil.py",
 line 190, in __run_command
    return_code, stdout, stderr = command_action()
                                  ^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/utils/shellutil.py",
 line 255, in command_action
    process = _popen(command, stdin=popen_stdin, stdout=stdout, stderr=stderr, 
shell=False)
              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/azurelinuxagent/common/utils/shellutil.py",
 line 398, in _popen
    process = subprocess.Popen(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'umount'

----------------------------------------------------------------------
Ran 1290 tests in 78.026s

FAILED (errors=1, skipped=14, expected failures=1)
2024-10-24T22:10:37.737799Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/memory/azure-walinuxagent-logcollector.slice/collect-logs.scope]
2024-10-24T22:10:37.738072Z INFO Daemon LogCollector [CGW] At least one 
required controller is missing. The following controllers are required for the 
log collector to run: ['cpu,cpuacct', 'memory']
2024-10-24T22:10:37.739943Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_zbk2z2tb/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_zbk2z2tb/azure'
2024-10-24T22:10:37.740101Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:37.761595Z INFO Daemon LogCollector [CGI] Using cgroup v1 for 
resource enforcement and monitoring
2024-10-24T22:10:37.761986Z INFO Daemon LogCollector [CGI] cpu,cpuacct 
controller for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/cpu,cpuacct/NOT_THE_CORRECT_PATH]
2024-10-24T22:10:37.762209Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/memory/NOT_THE_CORRECT_PATH]
2024-10-24T22:10:37.762411Z INFO Daemon LogCollector [CGW] The cpu,cpuacct 
controller for the azure-walinuxagent-logcollector cgroup is not mounted in the 
expected slice. Expected slice: azure-walinuxagent-logcollector.slice. Actual 
controller path: /sys/fs/cgroup/cpu,cpuacct/NOT_THE_CORRECT_PATH
2024-10-24T22:10:37.762459Z INFO Daemon LogCollector [CGW] The memory 
controller for the azure-walinuxagent-logcollector cgroup is not mounted in the 
expected slice. Expected slice: azure-walinuxagent-logcollector.slice. Actual 
controller path: /sys/fs/cgroup/memory/NOT_THE_CORRECT_PATH
2024-10-24T22:10:37.762497Z INFO Daemon LogCollector [CGW] The Log Collector 
process is not in the proper cgroups
2024-10-24T22:10:37.764411Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_ua2eg5sa/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_ua2eg5sa/azure'
2024-10-24T22:10:37.764583Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:37.775095Z INFO Daemon LogCollector [CGI] Using cgroup v2 for 
resource enforcement and monitoring
2024-10-24T22:10:37.785962Z INFO Daemon LogCollector [CGI] cpu controller for 
cgroup: azure-walinuxagent-logcollector [/sys/fs/cgroup/NOT_THE_CORRECT_PATH]
2024-10-24T22:10:37.786245Z INFO Daemon LogCollector [CGI] memory controller 
for cgroup: azure-walinuxagent-logcollector 
[/sys/fs/cgroup/NOT_THE_CORRECT_PATH]
2024-10-24T22:10:37.786463Z INFO Daemon LogCollector [CGW] The 
azure-walinuxagent-logcollector cgroup is not in the expected slice. Expected 
slice: azure-walinuxagent-logcollector.slice. Actual cgroup path: 
/sys/fs/cgroup/NOT_THE_CORRECT_PATH
2024-10-24T22:10:37.786514Z INFO Daemon LogCollector [CGW] The Log Collector 
process is not in the proper cgroups
2024-10-24T22:10:37.788240Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_430dzu8g/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_430dzu8g/azure'
2024-10-24T22:10:37.788558Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:37.788634Z INFO Daemon LogCollector [CGW] The agent does not 
support cgroups if the default systemd mountpoint is not being used: 
[InvalidCgroupMountpointException] Test
2024-10-24T22:10:37.789517Z ERROR Daemon Exception occurred while creating 
extension log directory /tmp/TestAgent_rjawpmeb/azure: [Errno 1] Operation not 
permitted: '/tmp/TestAgent_rjawpmeb/azure'
2024-10-24T22:10:37.789717Z INFO Daemon LogCollector Running log collector mode 
full
2024-10-24T22:10:37.789759Z INFO Daemon LogCollector [CGW] Unable to determine 
which cgroup version to use: [CGroupsException]

usage: python3.12 -m unittest [-verbose] [-force] [-help] -configuration-path:<path to 
configuration 
file>-deprovision[+user]|-register-service|-version|-daemon|-start|-run-exthandlers|-show-configuration|-collect-logs
 [-full]|-setup-firewall [-dst_ip=<IP> -uid=<UID> [-w/--wait]]

E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build'; python3.12 -m unittest 
discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make[1]: *** [debian/rules:17: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.


Note: Looks like mount is missing from build-depends.
Trivial patch attached.


Thanks.
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-python3,
  iproute2 <!nocheck>,
+ mount <!nocheck>,
  openssl <!nocheck>,
  python3,
  python3-distro,

--- End Message ---
--- Begin Message ---
Source: waagent
Source-Version: 2.12.0.2~pre-3
Done: Noah Meyerhans <no...@debian.org>

We believe that the bug you reported is fixed in the latest version of
waagent, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1086...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Noah Meyerhans <no...@debian.org> (supplier of updated waagent package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 28 Oct 2024 16:45:26 -0400
Source: waagent
Architecture: source
Version: 2.12.0.2~pre-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud Team <debian-cl...@lists.debian.org>
Changed-By: Noah Meyerhans <no...@debian.org>
Closes: 1086013
Changes:
 waagent (2.12.0.2~pre-3) unstable; urgency=medium
 .
   * Add mount to build-deps (Closes: #1086013)
Checksums-Sha1:
 7527a8f05aff9b6e25a2669ef99b5ef575e9c2d9 2147 waagent_2.12.0.2~pre-3.dsc
 995eeaa45507a27512c8dfefc1d47601b6e9357f 12936 
waagent_2.12.0.2~pre-3.debian.tar.xz
 449d6e8da0402385cd7799520dddcfb355c486e5 6669 
waagent_2.12.0.2~pre-3_source.buildinfo
Checksums-Sha256:
 7c1caf8eec5ed639f82f1aaa02741c1d7216d07eae186bc9fc342828b27b5dc8 2147 
waagent_2.12.0.2~pre-3.dsc
 cea244759f5af276d30bc723c6095719d1e682c3df917440581e4ecce20bb3a4 12936 
waagent_2.12.0.2~pre-3.debian.tar.xz
 7a51bc329d6bc24f64d54fa1df7d684bc820ef14ecba762f6bb1de694b41dfaf 6669 
waagent_2.12.0.2~pre-3_source.buildinfo
Files:
 2a8fa714ea4ab9c62942f21a6336a0ae 2147 admin optional waagent_2.12.0.2~pre-3.dsc
 a2483c7c9290bb5d78f8dc2448e00753 12936 admin optional 
waagent_2.12.0.2~pre-3.debian.tar.xz
 42327071502e2a37a77a7739d4c2c620 6669 admin optional 
waagent_2.12.0.2~pre-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE5G+E0xEKhJuZ7RJ34+c1IpshdTUFAmcgKXQRHG5vYWhtQGRl
Ymlhbi5vcmcACgkQ4+c1IpshdTXkHRAAy1DVnNPNeG7VZJ5wey/wUJ9NODryK5HD
5g0mROWm8u93N53mRR7zTm7EtLPISKuExlbTEWff8bSkoguOIkQD1Ur0zviivZyA
fFe3R/kYoyAhWYEKASnL1kapH93olBCPV4LtI6cn77fV+oRU1+NpxTVVjR8O4Gpf
diunjWzOthIcISCMl+MuIGNkhwE24IG/2vXa9qnY0EWlSVF4nwEQVGU5bq6wUBcf
XLaK8ZsU3zmZ7uVC9Qg7CKXeg7aOPCNBj28JqmfkSVJZtiSSapRA2Mb2dzKadOpS
dx7sJPTwwch5H6nRfUSptDHoEx/fjoZ57n/Hf2f1diAuGxszR9ynCM3cddYfsnxH
Z1KoVcPUC2xBuTwyIoMZgC5AkbVrbbs8EiUm52BJGi5v4/YZHfdeOUi4O20fB8sx
QzRwU0bN5ZP8aUhUOW8veGCJChmX9jTEVxVs8vBdc+IKd6KR0mSue8IMM6/r+K/j
sVcfK2lk2I9Hz3kslqOMGJU7xXGHpaT6rQNHtVCW7zxPHvLcldy/KvFRUrBD1wnT
I60h9WanL35wnwmZlhsBtvZn3BZYIh6N+UMuJsmioo8e0jK5zhWiYpjmnwzPmNK/
KE/JsDSby0le3asMAUfD9Y5Yzx+bE25EXkW9+B93SVv4bKsdgwuErx02OW5S6geF
aZ0lqnxjzys=
=DWLi
-----END PGP SIGNATURE-----

Attachment: pgp3pOTs9OuvL.pgp
Description: PGP signature


--- End Message ---

Reply via email to