Remove test that only fails in CI
The following tests works on a real VM that is booted from image but in a image-ci image there is crazyness
t_Log "Running $0 - Checking localhost fqdn lookup is from network"
resolvectl query --cache=no "$(hostname -f)" | grep -qw "network"
t_CheckExitStatus $?
citest-12950854-bfanh.cern.ch: 127.0.0.1
::1
(localhost)
-- Information acquired via protocol DNS in 1.7ms.
-- Data is authenticated: yes; Data was acquired via local or encrypted transport: yes
-- Data from: synthetic
and
citest-12950854-bfanh.cern.ch is an alias for localhost.
localhost has address 127.0.0.1
localhost has IPv6 address ::1
-
/etc/hostscontains
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 citest-12950854-bfanh.cern.ch
127.0.0.1 citest-12950854-bfanh.cern.ch
127.0.0.1 citest-12950854-bfanh.cern.ch
which has to be something special about image-ci created machines.
Remove the test for now while this understood.
centos_upstream_tests totally mess up the /etc/hosts file.
tests/0_common/40_update_hosts.sh:t_Log "Running $0 - Update /etc/hosts"
tests/0_common/40_update_hosts.sh:echo "127.0.0.1 `hostname`" >> /etc/hosts
tests/p_coreutils/basename.sh:basename /etc/hosts | grep -q hosts
tests/p_file/03_file_mime_symlink.sh:ln -s /etc/hosts $TEST_FILE_PATH
tests/p_httpd/httpd_vhost.sh:echo "127.0.0.1 test" >> /etc/hosts
tests/p_ipa-server/0-preclean.sh: cp /etc/hosts /tmp/hosts.ipa-tests
tests/p_ipa-server/0-preclean.sh: sed -i "s/127.0.0.1 $(hostname)//" /etc/hosts
tests/p_ipa-server/2-configure_freeipa.sh: echo $eth_ip $(hostname) >> /etc/hosts
tests/p_ipa-server/99-postclean.sh: ${CP} /tmp/hosts.ipa-tests /etc/hosts
tests/p_squid/0-install_squid.sh:echo "127.0.0.1 `hostname`" >> /etc/hosts
Edited by Steve Traylen