Opened 4 years ago

Last modified 4 years ago

#61392 new defect

<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: admin@…
Priority: High Milestone:
Component: server/hosting Version:
Keywords: Cc:
Port:

Description

Tons of PR builds are failing on the 10.14 Azure Pipelines CI worker.

The bootstrap phase of installing and setting up MacPorts has this error, which does not prevent the process from continuing:

https://dev.azure.com/macports/b674ed54-8ab2-4ec0-8010-7d35a798a53c/_apis/build/builds/10370/logs/13

Creating group "macports"
Creating user "macports"
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
create: Invalid Path

This leads to a warning during the build:

https://paste.z0k.xyz/e04e04afc651

Warning: configured user/group macports does not exist, will build as root

Some ports like dbus (and presumably others that use add_users) fail to install due to whatever condition is causing this:

DEBUG: Executing org.macports.main (dbus)
DEBUG: Skipping completed org.macports.archivefetch (dbus)
DEBUG: Skipping completed org.macports.fetch (dbus)
DEBUG: Skipping completed org.macports.checksum (dbus)
DEBUG: Skipping completed org.macports.extract (dbus)
DEBUG: Skipping completed org.macports.patch (dbus)
DEBUG: Skipping completed org.macports.configure (dbus)
DEBUG: Skipping completed org.macports.build (dbus)
DEBUG: Skipping completed org.macports.destroot (dbus)
DEBUG: install phase started at Fri Oct 30 14:35:21 UTC 2020
--->  Installing dbus @1.12.16_0
<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)
Error: dscl(16477) terminated with an exit status of 185
DEBUG: dscl printed: create: Invalid Path
child process exited abnormally
DEBUG: Attempting to clean up failed creation of user _messagebus
Error: Failed to install dbus: dscl failed to create required user _messagebus.
DEBUG: Error code: NONE
DEBUG: Backtrace: dscl failed to create required user _messagebus.
    while executing
"error "dscl failed to create required user $name.""
    invoked from within
"try {
            exec -ignorestderr $dscl . -create /Users/${name} UniqueID ${uid}

            # These are implicitly added on Mac OS X Lion.  Authe..."
    (procedure "adduser" line 36)
    invoked from within
"adduser $username {*}$args($username)"
    (procedure "handle_add_users" line 18)
    invoked from within
"handle_add_users"
    (procedure "portinstall::install_start" line 20)
    invoked from within
"[ditem_key $ditem prerun] $targetname"
Error: See /opt/local/var/macports/logs/_Users_runner_work_1_s_devel_dbus/dbus/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port dbus failed
Build of dependency 'dbus' with variants '' failed, aborting.
/Users/runner/work/1/mpbb/mpbb: error: `install-dependencies' failed to run successfully

The Azure Pipelines 10.15 builders are not having these problems.

I've reported it here:

https://developercommunity.visualstudio.com/content/problem/1240111/ds-error-14009-edsunknownnodename.html

I hope that's the right place to report Azure Pipelines issues.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

They have suggested that we "set the system.debug = true and share the complete log". I don't know where to set that variable.

comment:2 Changed 4 years ago by neverpanic (Clemens Lang)

I have set system.debug = true. Let me know when this is no longer required and I'll revert the change.

Last edited 4 years ago by neverpanic (Clemens Lang) (previous) (diff)
Note: See TracTickets for help on using tickets.