[SOLVED] Error: Max depth in build dependencies reached, aborting

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

August 2, 2024 - 4:05 PM

Good morning
Since this afternoon, I have been encountering this error on several machines:

Code: Select all

Get packages index from [<WaptRepo https://srvwapt.XXXXXX.local/wapt verify_cert=False client_cert_path=C:\Program Files (x86)\wapt\private\heroult.XXXXXX.local.crt>, <WaptHostRepo https://srvwapt.XXXXXX.local/wapt-host for host_id heroult.XXXXXX.local >]
Max depth in build dependencies reached, aborting
Traceback (most recent call last):
  File "<string>", line 1943, in run
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 737, in run
    self._run()
  File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 923, in _run
    self.result = self.wapt.update(force=self.force, register=self.notify_server_on_finish)
  File "C:\Program Files (x86)\wapt\common.py", line 4874, in update
    "upgrades": self.list_upgrade(),
  File "C:\Program Files (x86)\wapt\common.py", line 5916, in list_upgrade
    depends = self.check_depends(result['install']+result['upgrade']+result['additional'])
  File "C:\Program Files (x86)\wapt\common.py", line 5039, in check_depends
    (depends, conflicts, missing) = self.waptdb.build_depends([p[0] for p in packages])
  File "C:\Program Files (x86)\wapt\common.py", line 1527, in build_depends
    alldepends = dodepends(packages, depth)
  File "C:\Program Files (x86)\wapt\common.py", line 1509, in dodepends
    newdepends = dodepends(available_depends, depth+1)
  File "C:\Program Files (x86)\wapt\common.py", line 1509, in dodepends
    newdepends = dodepends(available_depends, depth+1)
  File "C:\Program Files (x86)\wapt\common.py", line 1509, in dodepends
    newdepends = dodepends(available_depends, depth+1)
  [Previous line repeated 28 more times]
  File "C:\Program Files (x86)\wapt\common.py", line 1484, in dodepends
    raise Exception('Max depth in build dependencies reached, aborting')
Exception: Max depth in build dependencies reached, aborting
Any idea what's going on?

Sincerely,
Tom
Last edited by t.heroult on August 5, 2024 - 09:47, edited 1 time.
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

August 5, 2024 - 09:05

Good morning
Today, all machines are paralyzed at the WAPT level because of this.
Even a simple audit is impossible...

In the machine logs, I see this every 10 seconds:

Code: Select all

2024-08-05 09:19:15,635 [wapttasks WaptTaskManager 19392] CRITICAL Error for update in check_scheduled_tasks: Max depth in build dependencies reached, aborting
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
User avatar
t.heroult
Messages: 307
Registration: December 8, 2020 - 10:13 AM

August 5, 2024 - 09:47

Okay, I found it after some research; it was a loop between two packages that were strangely interdependent (one dependent on the other).
It's fixed!
Server: WAPT Enterprise 2.6.1.17786 on Debian
Consoles: Windows 10 & 11
Infrastructure: Windows

Did you know? When parrotfish undergo smoltification, their osmoregulation mechanism is reversed!
Locked