foreman-installer-develop-package-release 1015 failed

foreman-installer package release pipeline failed:

https://ci.theforeman.org/job/foreman-installer-develop-package-release/1015/

I don’t quite understand this:

[2021-12-24T03:14:16.933Z] F, [2021-12-24T03:14:16.667479 #1745336] FATAL -- : Unable to continue because of: data type not recognized Variant[

With this patch it becomes easier to understand where it comes from:
https://github.com/theforeman/kafo/pull/342

Unable to parse /home/ekohl/dev/foreman-installer/_build/modules/foreman/manifests/init.pp because of: data type not recognized Variant[

However, the only change since yesterday is:
https://github.com/theforeman/puppet-foreman/commit/0a1e6fe19dcdc316a1119654945329b72a2ffbb7
This shouldn’t affect it, but it does.

It looks like the error message is misleading. It looks like it fails to parse Stdlib::IP::Address. That internally uses Variant but over multiple lines.

This may be a variant of Bug #21398: Struct handling broken - Kafo - Foreman which in fact has a duplicate that describes exactly this case: Bug #29505: Using Stdlib data types breaks Variant - Kafo - Foreman.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

I opened a PR:

Currently things are broken due to Psych 4 which should be addressed first.