Skip to content

Event logging fails on macOS 10.13 #7432

@daxian-dbw

Description

@daxian-dbw

Travis CI update macOS to 10.13.3 from 10.12.6 and the logging tests for macOS started to fail after that.
Here are a few failed builds:
https://travis-ci.org/PowerShell/PowerShell/jobs/410647719#L4675
https://travis-ci.org/PowerShell/PowerShell/jobs/410584884#L5560
https://travis-ci.org/PowerShell/PowerShell/jobs/410959434#L5523

The logging tests for macOS is marked as pending for now by PR #7433.

I tried the script block logging on macOS 10.12.6 with the file powershell.config.json located in $PSHome and the logging works fine -- expected script invocation related events show up in Console. However, when starting pwsh with -settings <config.json>, Console shows a bunch of security exceptions (see an example screenshot below).

Be noted that, @TravisEz13 tried the scirpt block logging on his macOS (version 10.13.6), and Console consistently shows a bunch of security exception errors no matter by putting powershell.config.json under $PSHOME or by using -settngs <config.json>.

screen shot 2018-08-01 at 3 56 05 pm

Metadata

Metadata

Assignees

Labels

Resolution-FixedThe issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtime

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions