https://pulumi.com logo
f

full-dress-10026

10/03/2018, 12:22 AM
Ran this on CircleCI and got an error. Any ideas?
Copy code
$ pulumi stack output --stack ComputeSoftware/datomic-prod
error: inappropriate ioctl for device
i

incalculable-sundown-82514

10/03/2018, 12:24 AM
That’s bizarre, what distro is this?
I wonder if this attempted to open the stack selector UI, which in turn tried to do term control ioctls on a non-interactive terminal
what happens when your run that same command in an interactive terminal?
f

full-dress-10026

10/03/2018, 12:27 AM
It's using the image
circleci/clojure:tools-deps-1.9.0.381
which is based on Debian GNU/Linux 9.
When I run it on my local terminal it works.
i

incalculable-sundown-82514

10/03/2018, 12:27 AM
can you run it in CI as
strace pulumi stack output ...
?
f

full-dress-10026

10/03/2018, 12:32 AM
Ah, it popped open the interactive login when running via CircleCI's SSH.
i

incalculable-sundown-82514

10/03/2018, 12:32 AM
ah yeah, that’ll do it. Can you open an issue?
f

full-dress-10026

10/03/2018, 12:35 AM