Re: 10.13 builder on our BuildBot is failing

2018-01-26 Thread Ryan Schmidt

On Jan 10, 2018, at 23:07, Zero King wrote:

> Our 10.13 builder on build.macports.org is failing with:
> 
> twisted.spread.pb.RemoteError: [Errno 23] Too many open files in system: 
> '/opt/bblocal/var/buildworker/ports/ports-10_13_x86_64-watcher'

The High Sierra buildbot worker got itself into this state again, but it 
happened while it was offline for updates so it was easy to resolve by 
restarting. Disk first aid shows the disk is ok.



Re: 10.13 builder on our BuildBot is failing

2018-01-12 Thread Vincent Habchi
Ryan,

> as suggested in the thread. Thanks for pointing me toward it!

Glad to know it worked.

Have a great day!




Re: 10.13 builder on our BuildBot is failing

2018-01-12 Thread Ryan Schmidt

On Jan 11, 2018, at 11:11, Vincent Habchi wrote:

> That being said, there was a hack listed somewhere in the messages that 
> consisted of booting single user and touching a driver. Did you try that? It 
> can’t do any harm to try and test.

It was fixed with:

sudo touch /System/Library/Extensions
sudo kextcache -u /

as suggested in the thread. Thanks for pointing me toward it!



Re: 10.13 builder on our BuildBot is failing

2018-01-12 Thread Vincent Habchi
Ryan,

so what was the problem?

Vincent



Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Vincent Habchi
Ryan,

> Granted we're running VMware ESXi on it and the VMs are seeing VMware's 
> emulated graphics card, but everything was working before it unaccountably 
> blew up.

I’d say that before you stumble on a problem generally everything works fine. 
:P That being said, there was a hack listed somewhere in the messages that 
consisted of booting single user and touching a driver. Did you try that? It 
can’t do any harm to try and test.

Vincent 


Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Ryan Schmidt
On Jan 11, 2018, at 09:56, Vincent Habchi wrote:

> On 11 Jan 2018, at 16:36, Ryan Schmidt wrote:
>> 
>> IOConsoleUsers: time(0) 0->0, lin 0, llk 1, 
>> IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
>> 
> Looks like a video issue?

It certainly does look like that! 

I see some search results on Google from people encountering this problem 
trying to install macOS on Hackintoshes with various graphics cards, but we're 
running on Apple hardware with an Apple-provided graphics card. Granted we're 
running VMware ESXi on it and the VMs are seeing VMware's emulated graphics 
card, but everything was working before it unaccountably blew up.


On Jan 11, 2018, at 09:59, Vincent Habchi wrote:

> Maybe that can help? 
> https://www.tonymacx86.com/threads/macos-high-sierra-ioconsoleusers-gioscreenlockstate-3-hs-0-bs-0-now-0-sm-0x0.234731/

I'm running the macOS High Sierra 10.13.2 Supplemental Update now. I'm guessing 
that might have the side effect of rebuilding the boot caches. If that doesn't 
help, what specific suggestions from that thread were you advocating?




Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Vincent Habchi
Maybe that can help? 
https://www.tonymacx86.com/threads/macos-high-sierra-ioconsoleusers-gioscreenlockstate-3-hs-0-bs-0-now-0-sm-0x0.234731/




Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Vincent Habchi

> On 11 Jan 2018, at 16:36, Ryan Schmidt  wrote:
> 
> IOConsoleUsers: time(0) 0->0, lin 0, llk 1, 
> IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
> 
Looks like a video issue?

Vincent



Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Ryan Schmidt

On Jan 11, 2018, at 09:14, Vincent Habchi wrote:

>> It does not seem to boot up correctly now. The black startup screen with 
>> white Apple logo and progress bar filled all the way in never disappears. 
>> I'm not certain if all the usual services have started up correctly.
> 
> Can you do a dmesg?

apic id 0004)
Started cpu 5 (lapic id 0005)
Started cpu 6 (lapic id 0006)
Started cpu 7 (lapic id 0007)
IOAPIC: Version 0x11 Vectors 64:87
ACPI: sleep states S4 S5
pci (build 18:17:13 Nov  9 2017), flags 0xe3080
pci (build 18:17:13 Nov  9 2017), flags 0xe3080
[ PCI configuration begin ]
kPEDisableScreen -1
HID: Legacy shim 2
Previous shutdown cause: 0
Matched against SMC (started)
Generation from SMC report as 2
initialize_screen: b=F400, w=0400, h=0300, r=1000, d=0001
kPEEnableScreen 1
console relocated to 0xf400
[ PCI configuration end, bridges 35, devices 10 ]
FusionMPT: Notification = 10 (Event Change) for SCSI Domain = 0
FusionMPT: Resetting SCSI Domain 0
RTC: getGMTTimeOfDay 1515660016
clock_initialize_calendar system does not have monotonic clock.
01.636541 AppleUSBLegacyRoot@: AppleUSBLegacyRoot::init: enabling legacy 
matching
mcache: 8 CPU(s), 64 bytes CPU cache line size
mbinit: done [96 MB total pool size, (64/32) split]
SK: netagent is disabled by default for this platform
bsd_autoconf: calling kminit
01.640550 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
01.640633 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
01.640714 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
01.640786 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
01.640866 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
01.640939 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
rooting via boot-uuid from /chosen: B37D2C00-BC47-352F-BE1D-8344023DF37C
Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
Intel82574L::start - Built Nov  9 2017 18:20:18 -- running on device at b3 d0 f0
IOTimeSyncClockManager::interfaceMatched registered service
Got boot device = 
IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/scsi@10/AppleLSIFusionSCSI/IOSCSIParallelInterfaceDevice@0/IOSCSITargetDevice/IOSCSIHierarchicalLogicalUnit@/IOSCSIPeripheralDeviceType00/IOBlockStorageServices/IOBlockStorageDriver/VMware
 Virtual disk Media/IOGUIDPartitionScheme/Untitled 2@2
BSD root: disk0s2, major 1, minor 1
jnl: b(1, 1): replay_journal: from: 4308480 to: 4307968 (joffset 0x2c)
jnl: b(1, 1): journal replay done.
hfs: mounted Macintosh SSD on device b(1, 1)
ioqueue_depth = 128,   ioscale = 4
load_init_program: attempting to load /sbin/launchd
VM Swap Subsystem is ON
hfs: Removed 0 orphaned / unlinked files and 720 directories 
03.682320 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
04.214548 AppleUSBHostResources@: 
AppleUSBHostResources::allocateDownstreamBusCurrentGated: assuming successful 
wakeUnits 100 sleepUnits 0
Report bytes: input:8 output:1 feature:0Collections : 2Buttons : input:2 
output:1 feature:0Values  : input:0 output:0 feature:0Element value 
capacity 6656Report count: 1Report ID: 0 input:64 output:8 feature:0HID: Legacy 
shim 2
Waiting for DSMOS...
Sandbox: coreservicesd(122) deny(1) nvram-get BSD Name
0x1face000, 0x  Intel82574L::setLinkStatus - not active
unexpected session: 10 uid: -1 requested by: 49
AppleKeyStore: operation failed (pid: 49 sel: 7 ret: e2c2 '-536870206', -1, 
10)
0x1face000, 0x  Intel82574L::setLinkStatus - not active
Sandbox: coreduetd(81) deny(1) mach-lookup com.apple.PowerManagement.control
IOConsoleUsers: time(0) 0->0, lin 0, llk 1, 
IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
Sandbox: AssetCacheLocato(216) deny(1) mach-lookup com.apple.cookied
Sandbox: coreduetd(81) deny(1) mach-lookup com.apple.PowerManagement.control
Sandbox: com.apple.Ambien(220) deny(1) mach-lookup com.apple.windowserver
Sandbox: com.apple.Ambien(220) deny(1) mach-lookup com.apple.windowserver
Ethernet [Intel82574L]: Link up on en0, 1-Gigabit, Full-duplex, No 
flow-control, Debug [796d,ac08,01e1,0200,41e1,7c00]
0x1face000, 0x000a  Intel82574L::setLinkStatus - active
en0: starting optimistic DAD 

Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Vincent Habchi
Ryan,

> It does not seem to boot up correctly now. The black startup screen with 
> white Apple logo and progress bar filled all the way in never disappears. I'm 
> not certain if all the usual services have started up correctly.
> 
> I can ssh in. I deactivated all the ports that had been left active. Many 
> ports' files were still present and had to be removed by forcibly activating 
> and then deactivating the ports. I think I got them all.
> 
> I will need to do some further investigating.

Can you do a dmesg?

Vincent



Re: 10.13 builder on our BuildBot is failing

2018-01-11 Thread Ryan Schmidt

On Jan 10, 2018, at 23:07, Zero King wrote:

> Our 10.13 builder on build.macports.org is failing with:
> 
> twisted.spread.pb.RemoteError: [Errno 23] Too many open files in system: 
> '/opt/bblocal/var/buildworker/ports/ports-10_13_x86_64-watcher'

Yes, and because of this I've taken it offline for now.

It got itself into a very strange state I've never seen before. Because no more 
filehandles were available, no program could run, because they could not open 
the basic system dylibs they required. The GUI failed, and not even the sudo 
command worked, so I could not shut it down cleanly and had to power it off.

Booting from the High Sierra install disk, Disk Utility's first aid reports 
that the main disk is ok.

It does not seem to boot up correctly now. The black startup screen with white 
Apple logo and progress bar filled all the way in never disappears. I'm not 
certain if all the usual services have started up correctly.

I can ssh in. I deactivated all the ports that had been left active. Many 
ports' files were still present and had to be removed by forcibly activating 
and then deactivating the ports. I think I got them all.

I will need to do some further investigating.



10.13 builder on our BuildBot is failing

2018-01-10 Thread Zero King

Hi,

Our 10.13 builder on build.macports.org is failing with:

twisted.spread.pb.RemoteError: [Errno 23] Too many open files in system: 
'/opt/bblocal/var/buildworker/ports/ports-10_13_x86_64-watcher'

--
Best regards,
Zero King


smime.p7s
Description: S/MIME cryptographic signature