[MacPorts] #40088: certsync activate phase hangs on buildslaves
#40088: certsync activate phase hangs on buildslaves --------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: certsync --------------------+----------------------- Example with the shortest log: https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/19502 This means that nothing that depends on certsync, even indirectly, can be built. -- Ticket URL: <https://trac.macports.org/ticket/40088> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by landonf@…): This would be locking up when executing SecItemExport; is there anything odd that the build server does to the execution environment? -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Changes (by jmr@…): * cc: wsiegrist@… (added) Comment: Well, it is a headless environment, which some other ports have problems with. Not sure if there's anything else unusual. -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by landonf@…): Replying to [comment:2 jmr@…]:
Well, it is a headless environment, which some other ports have problems with. Not sure if there's anything else unusual.
It should work just fine headless; I admit I'm at a loss as to how to debug this without local system access. For it to fail at that point, the process would have to have blocked on one of the following: * SecKeychainItemExport() or SecItemExport(), or * -[NSData writeToFile:options:error] Neither /should/ ever block, but the Sec* functions do speak to the keychain server. The output file is written to ${prefix}/etc/openssl/cert.pem, but I assume that wouldn't be a problem on a build slave, and if it was, I don't know why it would simply block in the file write. @wsiegrist, would it be possible to get a spinlock dump or backtrace on one of these blocked processes? -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by dluke@…): It might be generically useful if a recipe for setting up a VM that looks just like a buildslave were available too (so individual committers could set up something to debug things like this). -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by landonf@…): certsync seems to be (magically) not hanging on the Mavericks buildbot, and I haven't gotten reports of it hanging for other releases. Perhaps we can revisit the use of certsync in subversion et al? -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by dluke@…): If it's still failing on any of the buildbots, we can't use it as the default dependency because it will cause those build(s) to fail. So, if it's still failing on the 10.8 buildbot, we can't use it without loosing 10.8 builds. -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by landonf@…): I honestly have no idea how to tell if it's failing on any of the buildbots. -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by dluke@…): You can force a build to test (and/or just check to see if there's a package available if it's distributable). -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by landonf@…): Set the license properly and ... bingo: http://packages.macports.org/certsync/ -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40088: certsync activate phase hangs on buildslaves -----------------------+----------------------- Reporter: jmr@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: certsync | -----------------------+----------------------- Comment (by dluke@…): Excellent! -- Ticket URL: <https://trac.macports.org/ticket/40088#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts