Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure running chef update exit code 255 #58

Open
afiune opened this issue Jan 29, 2020 · 1 comment
Open

Failure running chef update exit code 255 #58

afiune opened this issue Jan 29, 2020 · 1 comment
Labels
Priority: Critical Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.

Comments

@afiune
Copy link

afiune commented Jan 29, 2020

Version:

Latest

Environment:

MacOS (potentially Windows as well but need to verify)

Scenario:

We have an issue where running chef update exits the command with the output:

$ chef update
Attributes already up to date
Building policy frontend
Expanded run list: recipe[base], recipe[frontend], recipe[sigsci], recipe[audit]
Caching Cookbooks...
Installing base            1.0.19
[1]    76153 killed     chef update

Steps to Reproduce:

TBA

Expected Result:

Regenerate the Policyfile.lock.json with the updated cookbooks/policies.

Actual Result:

The command is killed/exits with error code 255.

Reported by @jtimberman @tmonk42

@afiune afiune added Priority: Critical Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected. labels Jan 29, 2020
@jtimberman
Copy link
Contributor

Given a Policyfile.rb:

name "app"
default_source :supermarket

run_list "apache2"

And given the following chef-workstation version:

% chef -v  
Chef Workstation version: 0.15.10
Chef Infra Client version: 15.7.32
Chef InSpec version: 4.18.51
Chef CLI version: 2.0.0
Test Kitchen version: 2.3.4
Cookstyle version: 5.20.0

Running chef install yields:

% chef install
Building policy app
Expanded run list: recipe[apache2]
Caching Cookbooks...
Installing apache2 8.0.2
% echo $?
255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical Triage: Confirmed Indicates and issue has been confirmed as described. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants