<...>
var program = PulumiFn.Create<TStack>(
ServiceProviderFactory.Build(
cb =>
{
configure?.Invoke(cb);
}));
var inlineProgramArgs = new InlineProgramArgs(
projectName: pn,
stackName: stackName,
program: program)
{ EnvironmentVariables = Constants.Environment.Concat(envVars ?? new Dictionary<string, string?>()).ToDictionary() };
var stack = await LocalWorkspace.CreateStackAsync(inlineProgramArgs);
<...>
Output of pulumi about
CLI
Version 3.112.0
Go Version go1.22.1
Go Compiler gc
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Your pulumi about output shows 3.112.0 of the CLI is being used. Is this version being used in your CI pipeline? It's quite old (latest version is 3.137.0). Not sure if it'll matter in this case, but do you still hit this when using the latest version of the CLI?
What happened?
Hi,
We are doing xUnit integration tests with Pulumi and we often get Pulumi.LogException:
All tests fails at once. I suspect that the SDK is sending log requests to the engine which shuts down prematurely. How to print engine logs?
Example
The error is not persistent. It usually happens in CI pipeline. Our tests are set up as follows:
and we set up the fixture as:
where
WorkspaceStackFactory.Create
is:Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).