https://pulumi.com logo
#general
Title
# general
g

gray-city-50684

01/30/2020, 7:08 PM
Hi, I’m experiencing a crash with “pulumi preview” when I try to install the CRD definition for cert-manager (using Pulumi’s k8s.yaml.ConfigGroup). Did anybody see this kind of error before?
Copy code
error: an unhandled error occurred: Program exited with non-zero exit code: -1

    <--- Last few GCs --->
    [3693:0x103e4d000]   841055 ms: Scavenge 1669.7 (1690.5) -> 1658.2 (1691.7) MB, 3.6 / 0.0 ms  (average mu = 0.988, current mu = 0.985) allocation failure
    [3693:0x103e4d000]   841076 ms: Scavenge 1671.5 (1692.2) -> 1660.9 (1694.5) MB, 4.6 / 0.0 ms  (average mu = 0.988, current mu = 0.985) allocation failure
    [3693:0x103e4d000]   841096 ms: Scavenge 1673.9 (1695.2) -> 1661.8 (1696.7) MB, 3.6 / 0.0 ms  (average mu = 0.988, current mu = 0.985) allocation failure
    <--- JS stacktrace --->
    ==== JS stack trace =========================================
        0: ExitFrame [pc: 0x100730539]
    Security context: 0x2354314c08a1 <JSObject>
        1: /* anonymous */(aka /* anonymous */) [0x235401dbd019] [/Users/hazse/Development/vtt/idea-fast/provision/node_modules/@pulumi/pulumi/output.js:~17] [pc=0x287e81686433](this=0x23545e3c04a9 <undefined>,0x235401dbd0d1 <JSFunction (sfi = 0x2354eae4c271)>,0x235401dbd109 <JSFunction (sfi = 0x2354eae4c2a9)>)
        2: new Promise(aka Promise) [0x2354314c7821](this=...

    FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
     1: 0x100b6bcf2 node::Abort() (.cold.1) [/usr/local/opt/node@12/bin/node]
     2: 0x1000827ba node::FatalError(char const*, char const*) [/usr/local/opt/node@12/bin/node]
     3: 0x1000828e2 node::OnFatalError(char const*, char const*) [/usr/local/opt/node@12/bin/node]
     4: 0x1001754a1 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/opt/node@12/bin/node]
     5: 0x10017544b v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/opt/node@12/bin/node]
     6: 0x10028b985 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/opt/node@12/bin/node]
     7: 0x10026ed33 v8::internal::Factory::AllocateRawWeakArrayList(int, v8::internal::AllocationType) [/usr/local/opt/node@12/bin/node]
     8: 0x100275c6c v8::internal::Factory::CopyWeakArrayListAndGrow(v8::internal::Handle<v8::internal::WeakArrayList>, int, v8::internal::AllocationType) [/usr/local/opt/node@12/bin/node]
     9: 0x100409051 v8::internal::PrototypeUsers::Add(v8::internal::Isolate*, v8::internal::Handle<v8::internal::WeakArrayList>, v8::internal::Handle<v8::internal::Map>, int*) [/usr/local/opt/node@12/bin/node]
    10: 0x1003ce46c v8::internal::JSObject::LazyRegisterPrototypeUser(v8::internal::Handle<v8::internal::Map>, v8::internal::Isolate*) [/usr/local/opt/node@12/bin/node]
    11: 0x1003ef2a7 v8::internal::Map::GetOrCreatePrototypeChainValidityCell(v8::internal::Handle<v8::internal::Map>, v8::internal::Isolate*) [/usr/local/opt/node@12/bin/node]
    12: 0x1002efa80 v8::internal::LoadHandler::LoadFromPrototype(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Smi>, v8::internal::MaybeObjectHandle, v8::internal::MaybeObjectHandle) [/usr/local/opt/node@12/bin/node]
    13: 0x1002f3b80 v8::internal::LoadIC::ComputeHandler(v8::internal::LookupIterator*) [/usr/local/opt/node@12/bin/node]
    14: 0x1002f2ebc v8::internal::LoadIC::UpdateCaches(v8::internal::LookupIterator*) [/usr/local/opt/node@12/bin/node]
    15: 0x1002f2c0c v8::internal::LoadIC::Load(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>) [/usr/local/opt/node@12/bin/node]
    16: 0x1002f86ea v8::internal::Runtime_LoadIC_Miss(int, unsigned long*, v8::internal::Isolate*) [/usr/local/opt/node@12/bin/node]
    17: 0x100730539 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/opt/node@12/bin/node]
    18: 0x287e81686433
    19: 0x1006fe1f6 Builtins_PromiseConstructor [/usr/local/opt/node@12/bin/node]
Other ConfigGroup’s in my code work flawlessly
And this worked before (last tried with pulumi 1.6.0, pulumi/kubernetes 1.3.1)
Now on pulumi 1.9.1, pulumi/kubernetes 1.4.5
(no mods, just saved locally)
g

gorgeous-egg-16927

01/30/2020, 7:22 PM
Yes, you’re hitting https://github.com/pulumi/pulumi-kubernetes/issues/963 We’re working on a fix
g

gray-city-50684

01/30/2020, 7:23 PM
Oh, I tried to Google it, wasn’t very good at it 🙂
I’ll keep an eye on the issue, thx!
n

nice-guitar-97142

01/30/2020, 8:56 PM
@gray-city-50684 if you downgrade your
@pulumi/kubernetes
to 1.4.1, it will fix the issue until this PR is fixed
g

gray-city-50684

01/31/2020, 2:34 PM
@nice-guitar-97142 Hi, yes that is what I did at the end (I followed the last comment in the issue) - worked well for me too.
g

gorgeous-egg-16927

01/31/2020, 4:25 PM
I think we’ve tracked down the issue now, and we should be shipping a fix in the next day or two. Thanks for your patience!
2 Views