containers / common

Location for shared common files in github.com/containers repos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libnetwork test flake

vrothberg opened this issue · comments

I've seen this test flake a number of times but did not investigate it at all.

@Luap99 FYI

• [FAILED] [0.001 seconds]
Config basic network config tests [It] return the same network when creating two networks with the same name and ignore
/var/tmp/go/src/github.com/containers/common/libnetwork/netavark/config_test.go:158
  [FAILED] Expected
      <types.Network>: {
          Name: "podman1",
          ID: "7e6dc4a03c095e43f621e7071f1bdc04ad70ac25a49e4303f052b12910297654",
          Driver: "bridge",
          NetworkInterface: "podman1",
          Created: 2023-02-20T07:18:35.275682883-06:00,
          Subnets: [
              {
                  Subnet: {
                      IPNet: {
                          IP: [10, 89, 0, 0],
                          Mask: [255, 255, 255, 0],
                      },
                  },
                  Gateway: [10, 89, 0, 1],
                  LeaseRange: nil,
              },
          ],
          IPv6Enabled: false,
          Internal: false,
          DNSEnabled: false,
          NetworkDNSServers: nil,
          Labels: {},
          Options: {},
          IPAMOptions: {
              "driver": "host-local",
          },
      }
  to equal
      <types.Network>: {
          Name: "podman1",
          ID: "7e6dc4a03c095e43f621e7071f1bdc04ad70ac25a49e4303f052b12910297654",
          Driver: "bridge",
          NetworkInterface: "podman1",
          Created: 2023-02-20T07:18:35.275682883-06:00,
          Subnets: [
              {
                  Subnet: {
                      IPNet: {
                          IP: [10, 89, 0, 0],
                          Mask: [255, 255, 255, 0],
                      },
                  },
                  Gateway: [10, 89, 0, 1],
                  LeaseRange: nil,
              },
          ],
          IPv6Enabled: false,
          Internal: false,
          DNSEnabled: false,
          NetworkDNSServers: nil,
          Labels: {},
          Options: {},
          IPAMOptions: {
              "driver": "host-local",
          },
      }
  In [It] at: /var/tmp/go/src/github.com/containers/common/libnetwork/netavark/config_test.go:168 @ 02/20/23 07:18:35.276

I am aware, I tried to take a look but have no clue so far.

Found it: #1336