Jira (FACT-3204) Facter networking_facts_with_vlans.rb tests failing on ubuntu 22.04

7 views
Skip to first unread message

Aria Li (Jira)

unread,
May 19, 2023, 6:19:02 PM5/19/23
to puppe...@googlegroups.com
Aria Li created an issue
 
Facter / Bug FACT-3204
Facter networking_facts_with_vlans.rb tests failing on ubuntu 22.04
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2023/05/19 3:18 PM
Priority: Normal Normal
Reporter: Aria Li

Output when test is passing (see passing build here):

top-printing.vmpooler-prod.puppet.net (top-printing.vmpooler-prod.puppet.net) 23:27:12$ facter networking --json
 ...
            "ens4.1": {
              "bindings": [
                {
                  "address": "11.0.0.1",
                  "netmask": "255.255.255.0",
                  "network": "11.0.0.0"
                }
              ],
              "ip": "11.0.0.1",
              "mac": "42:01:0a:fd:20:6d",
              "mtu": 1460,
              "netmask": "255.255.255.0",
              "network": "11.0.0.0"
            },

Output, as of recently, when test is failing:

swank-attitude.vmpooler-prod.puppet.net (swank-attitude.vmpooler-prod.puppet.net) 10:46:10$ facter networking --json
...
            "ens4.1": {
              "bindings6": [
                {
                  "address": "fe80::4001:aff:fefd:2047",
                  "netmask": "ffff:ffff:ffff:ffff::",
                  "network": "fe80::",
                  "scope6": "link",
                  "flags": [
                    "tentative",
                    "permanent"
                  ]
                }
              ],
              "ip6": "fe80::4001:aff:fefd:2047",
              "mac": "42:01:0a:fd:20:47",
              "mtu": 1460,
              "netmask6": "ffff:ffff:ffff:ffff::",
              "network6": "fe80::",
              "scope6": "link"
            },

This was first noticed when the puppet-agent main pipeline kept on failing at the vanagon integration step for the ubuntu 22.04 facter cell.

The build is failing at the networking_facts_with_vlabs.rb test because the values within the ens4.1 hash do not match the regex.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo

Aria Li (Jira)

unread,
May 19, 2023, 6:20:02 PM5/19/23
to puppe...@googlegroups.com
Aria Li updated an issue
top-printing.vmpooler-prod.puppet.net (top-printing.vmpooler-prod.puppet.net) 23:27:12$ facter networking --json
...
            "ens4.1": {
              "bindings": [
                {
                  "address": "11.0.0.1",
                  "netmask": "255.255.255.0",
                  "network": "11.0.0.0"
                }
              ],
              "ip": "11.0.0.1",
              "mac": "42:01:0a:fd:20:6d",
              "mtu": 1460,
              "netmask": "255.255.255.0",
              "network": "11.0.0.0"
            },
swank-attitude.vmpooler-prod.puppet.net (swank-attitude.vmpooler-prod.puppet.net) 10:46:10$ facter networking --json
...
            "ens4.1": {
              "bindings6": [
                {
                  "address": "fe80::4001:aff:fefd:2047",
                  "netmask": "ffff:ffff:ffff:ffff::",
                  "network": "fe80::",
                  "scope6": "link",
                  "flags": [
                    "tentative",
                    "permanent"
                  ]
                }
              ],
              "ip6": "fe80::4001:aff:fefd:2047",
              "mac": "42:01:0a:fd:20:47",
              "mtu": 1460,
              "netmask6": "ffff:ffff:ffff:ffff::",
              "network6": "fe80::",
              "scope6": "link"
            },
{code}

This was first noticed when the puppet-agent main pipeline kept on failing at the vanagon integration step for the [ubuntu 22.04 facter|https://jenkins-platform.delivery.puppetlabs.net/job/platform_puppet-agent_puppet-agent-integration-suite_daily-main/RMM_COMPONENT_TO_TEST_NAME=facter,SLAVE_LABEL=k8s-beaker,TEST_TARGET=ubuntu2204-64a/] cell.

The build is failing at the [networking_facts_with_vlabs.rb|https://github.com/puppetlabs/facter/blob/main/acceptance/tests/facts/networking_facts_with_vlans.rb#L33] test because the values within the ens4.1 hash do not match the regex.

Aria Li (Jira)

unread,
May 19, 2023, 6:21:01 PM5/19/23
to puppe...@googlegroups.com
The build is failing at the [networking_facts_with_vlabs.rb|https://github.com/puppetlabs/facter/blob/main/acceptance/tests/facts/networking_facts_with_vlans.rb#L33] test because the values within the ens4.1 hash do not match the [ regex |https://github . com/puppetlabs/facter/blob/d9d8324b02c26be2eb17a1d8ff26306a331431e2/acceptance/tests/facts/networking_facts_with_vlans.rb#L14-L15C77].
Reply all
Reply to author
Forward
0 new messages