ocf / puppet

Puppet config for OCF servers and lab machines
https://www.ocf.berkeley.edu/
31 stars 71 forks source link

Fix venv and pre-commmit #1379

Closed Kalissaac closed 1 year ago

ocfjenkins[bot] commented 1 year ago

Jenkins

ocfjenkins[bot] commented 1 year ago

Errored hosts (1)

Changed hosts (0)

Unaffected hosts (48)


Errored hosts
error for drought.ocf.berkeley.edu ```text W, [2023-06-10T13:39:42.959087 #2450638] WARN -- : Puppet command failed: STDOUT: STDERR: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.24/deprecated_language.html (file & line not available) Warning: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/hieradata/os/bullseye.yaml: file does not contain a valid yaml hash Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\1' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unrecognized escape sequence '\2' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6) Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5) Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition Warning: Unknown variable: '::ifaces_linked'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 32) Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Try 'puppet help catalog compile' for usage W, [2023-06-10T13:39:42.959479 #2450638] WARN -- : Failed build_catalog for origin/master validation: OctocatalogDiff::Errors::CatalogError Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.24/deprecated_language.html (file & line not available) Warning: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/hieradata/os/bullseye.yaml: file does not contain a valid yaml hash Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\1' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unrecognized escape sequence '\2' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6) Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5) Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition Warning: Unknown variable: '::ifaces_linked'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 32) Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Try 'puppet help catalog compile' for usage # terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/open3.rb:287:in `read': stream closed in another thread (IOError) from /usr/lib/ruby/2.7.0/open3.rb:287:in `block (2 levels) in capture3' # terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/open3.rb:288:in `read': stream closed in another thread (IOError) from /usr/lib/ruby/2.7.0/open3.rb:288:in `block (2 levels) in capture3' /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:259:in `catalog_validator': Catalog failed: Warning: The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.24/deprecated_language.html (OctocatalogDiff::Errors::CatalogError) (file & line not available) Warning: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/hieradata/os/bullseye.yaml: file does not contain a valid yaml hash Warning: Unrecognized escape sequence '\\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\\/' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 75) Warning: Unrecognized escape sequence '\\1' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unrecognized escape sequence '\\2' (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf_desktop/manifests/packages.pp, line: 112, column: 172) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/kerberos.pp, line: 2, column: 6) Warning: Unknown variable: '::skip_ldap'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 57, column: 6) Warning: Unknown variable: '::skip_kerberos'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 82, column: 10) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 160, column: 29) Warning: Unknown variable: '::dnsA'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 161, column: 5) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 162, column: 29) Warning: Unknown variable: '::dnsCname'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/auth.pp, line: 163, column: 5) Warning: stage is a metaparam; this value will inherit to all contained resources in the ocf::apt definition Warning: Unknown variable: '::ifaces_linked'. (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 32) Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Could not call 'find' on 'catalog': Evaluation Error: Error while evaluating a Function Call, 'split' parameter 'str' expects a String value, got Undef (file: /tmp/ocd-ipc-20230610-2450559-f8sxmd/ocd-builddir-20230610-2450638-evmwpo/environments/production/modules/ocf/manifests/networking.pp, line: 25, column: 26) on node drought.ocf.berkeley.edu Error: Try 'puppet help catalog compile' for usage from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `call' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:39:in `validate' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:202:in `execute_task' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:151:in `run_octocatalog_diff' from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:125:in `cli' from /usr/bin/octocatalog-diff:34:in `
' ```
Unaffected hosts ``` acid.ocf.berkeley.edu afterhours.ocf.berkeley.edu anthrax.ocf.berkeley.edu arsenic.ocf.berkeley.edu asteroid.ocf.berkeley.edu autocrat.ocf.berkeley.edu avalanche.ocf.berkeley.edu bedbugs.ocf.berkeley.edu bigbang.ocf.berkeley.edu biohazard.ocf.berkeley.edu blight.ocf.berkeley.edu blizzard.ocf.berkeley.edu coup.ocf.berkeley.edu cyanide.ocf.berkeley.edu dataloss.ocf.berkeley.edu deadlock.ocf.berkeley.edu death.ocf.berkeley.edu dementors.ocf.berkeley.edu democracy.ocf.berkeley.edu famine.ocf.berkeley.edu firestorm.ocf.berkeley.edu flood.ocf.berkeley.edu fraud.ocf.berkeley.edu gridlock.ocf.berkeley.edu hailstorm.ocf.berkeley.edu hal.ocf.berkeley.edu heatwave.ocf.berkeley.edu hurricane.ocf.berkeley.edu lethe.ocf.berkeley.edu lightning.ocf.berkeley.edu madcow.ocf.berkeley.edu maelstrom.ocf.berkeley.edu pestilence.ocf.berkeley.edu plague.ocf.berkeley.edu quarantine.ocf.berkeley.edu reaper.ocf.berkeley.edu riptide.ocf.berkeley.edu scurvy.ocf.berkeley.edu segfault.ocf.berkeley.edu supernova.ocf.berkeley.edu surge.ocf.berkeley.edu thunder.ocf.berkeley.edu tsunami.ocf.berkeley.edu vampires.ocf.berkeley.edu volcano.ocf.berkeley.edu whiteout.ocf.berkeley.edu wildfire.ocf.berkeley.edu windshear.ocf.berkeley.edu ```

Jenkins