2026-04-06 02:39:52,691 - INFO - Domain Default found not creating
2026-04-06 02:39:52,854 - INFO - Project ctest-TestPorts-80366643 not found, creating it
2026-04-06 02:39:53,372 - INFO - Created Project:ctest-TestPorts-80366643, ID : b028cf27-c042-4e74-b5ac-0e66fe8abef2
2026-04-06 02:39:54,822 - INFO - ================================================================================
2026-04-06 02:39:54,822 - INFO - STARTING TEST : test_ports_bindings
2026-04-06 02:39:54,822 - INFO - TEST DESCRIPTION :
Verify that we are able to create a port with custom port bindings
Steps:
1) Create Port with Port bindings profile set to {'foo': 'bar'}
2) Retrieve and verify the same is set
2026-04-06 02:39:56,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.241': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2026-04-06 02:39:56,114 - INFO - Initial checks done. Running the testcase now
2026-04-06 02:39:56,114 - INFO -
2026-04-06 02:39:56,860 - DEBUG - Response for create_network : {'network': {'id': '0e28961f-02cd-44cb-8c9e-e02320c11d1e', 'name': 'ctest-vn-52928510', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80366643', 'ctest-vn-52928510'], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:39:57,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e63a8cd6-a59e-4abe-aedf-2a1e684ff910', 'name': '', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '0e28961f-02cd-44cb-8c9e-e02320c11d1e', 'ip_version': 4, 'cidr': '204.48.218.64/26', 'allocation_pools': [{'start': '204.48.218.66', 'end': '204.48.218.126'}], 'gateway_ip': '204.48.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.48.218.66', 'tags': [], 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:39:57,202 - INFO - Created VN ctest-vn-52928510
2026-04-06 02:39:57,216 - DEBUG - VN ctest-vn-52928510 UUID is 0e28961f-02cd-44cb-8c9e-e02320c11d1e
2026-04-06 02:39:57,282 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80366643', 'ctest-vmi-69408302']}
2026-04-06 02:39:57,574 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69408302', 'id': '65d54f87-ed29-45dd-b271-fa8ece99fc01', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '0e28961f-02cd-44cb-8c9e-e02320c11d1e', 'mac_address': '02:65:d5:4f:87:ed', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '204.48.218.67', 'subnet_id': 'e63a8cd6-a59e-4abe-aedf-2a1e684ff910'}], 'security_groups': ['12552930-e7a6-41f1-9ce6-3a723885b953'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:39:57,574 - DEBUG - Created port 65d54f87-ed29-45dd-b271-fa8ece99fc01
2026-04-06 02:39:57,639 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/65d54f87-ed29-45dd-b271-fa8ece99fc01
2026-04-06 02:39:57,937 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/65d54f87-ed29-45dd-b271-fa8ece99fc01
2026-04-06 02:39:57,974 - INFO - VMI 65d54f87-ed29-45dd-b271-fa8ece99fc01 verification in API Server passed
2026-04-06 02:39:58,115 - DEBUG - Response for delete_port : ()
2026-04-06 02:39:58,116 - INFO - Deleted port 65d54f87-ed29-45dd-b271-fa8ece99fc01
2026-04-06 02:39:58,116 - INFO - Deleting VN ctest-vn-52928510
2026-04-06 02:39:58,264 - DEBUG - Response for deleting network ()
2026-04-06 02:39:59,523 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:39:59,524 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-04-06 02:39:59,524 - INFO - --------------------------------------------------------------------------------
2026-04-06 02:39:59,526 - INFO - ================================================================================
2026-04-06 02:39:59,526 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-06 02:39:59,526 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP
Create two ports in a VN with 2 subnets and specific IPs
Attach to two VMs
Ping between them should pass
2026-04-06 02:40:00,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.241': {'10.20.0.18': '0', '10.20.0.129': '0'}} with
2026-04-06 02:40:00,856 - INFO - Initial checks done. Running the testcase now
2026-04-06 02:40:00,856 - INFO -
2026-04-06 02:40:01,238 - DEBUG - Response for create_network : {'network': {'id': '9ec0afab-31b9-4b7d-984a-6a45a6d3e418', 'name': 'ctest-vn1-53722726', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80366643', 'ctest-vn1-53722726'], 'port_security_enabled': True, 'description': ''}}
2026-04-06 02:40:01,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c7efa68-0db8-4070-87da-9cf9083864fa', 'name': '', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '9ec0afab-31b9-4b7d-984a-6a45a6d3e418', 'ip_version': 4, 'cidr': '97.31.55.192/26', 'allocation_pools': [{'start': '97.31.55.194', 'end': '97.31.55.254'}], 'gateway_ip': '97.31.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.31.55.194', 'tags': [], 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:40:01,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8405360-d9a5-491c-b866-596c00798ddd', 'name': '', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '9ec0afab-31b9-4b7d-984a-6a45a6d3e418', 'ip_version': 4, 'cidr': '5.66.125.128/26', 'allocation_pools': [{'start': '5.66.125.130', 'end': '5.66.125.190'}], 'gateway_ip': '5.66.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.66.125.130', 'tags': [], 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:40:01,858 - INFO - Created VN ctest-vn1-53722726
2026-04-06 02:40:01,874 - DEBUG - VN ctest-vn1-53722726 UUID is 9ec0afab-31b9-4b7d-984a-6a45a6d3e418
2026-04-06 02:40:02,348 - DEBUG - Response for create_port : {'port': {'name': '16aad215-0114-4498-b8a2-33d9d170bcf2', 'id': '16aad215-0114-4498-b8a2-33d9d170bcf2', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '9ec0afab-31b9-4b7d-984a-6a45a6d3e418', 'mac_address': '02:16:aa:d2:15:01', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '97.31.55.197', 'subnet_id': '3c7efa68-0db8-4070-87da-9cf9083864fa'}], 'security_groups': ['12552930-e7a6-41f1-9ce6-3a723885b953'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:40:02,681 - DEBUG - Response for create_port : {'port': {'name': '600dd708-f2d6-4dda-bce2-1a57613db69a', 'id': '600dd708-f2d6-4dda-bce2-1a57613db69a', 'tenant_id': 'b028cf27c0424e74b5ac0e66fe8abef2', 'network_id': '9ec0afab-31b9-4b7d-984a-6a45a6d3e418', 'mac_address': '02:60:0d:d7:08:f2', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '5.66.125.133', 'subnet_id': 'f8405360-d9a5-491c-b866-596c00798ddd'}], 'security_groups': ['12552930-e7a6-41f1-9ce6-3a723885b953'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028cf27c0424e74b5ac0e66fe8abef2'}}
2026-04-06 02:40:02,756 - DEBUG - Services list from nova: [, , , ]
2026-04-06 02:40:03,210 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-2)
2026-04-06 02:40:03,710 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5596-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5596-1)
2026-04-06 02:40:03,710 - INFO - Waiting for VM ctest-vn1-vm1-20065867 to be up..
2026-04-06 02:40:03,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-06 02:40:08,842 - DEBUG - VM is in ACTIVE state now
2026-04-06 02:40:08,842 - INFO - VM name : ctest-vn1-vm1-20065867
2026-04-06 02:40:08,922 - DEBUG - VM ctest-vn1-vm1-20065867 ID is fadd29f0-e2c5-404d-980d-d6a57612f841
2026-04-06 02:40:08,944 - DEBUG - VM ctest-vn1-vm1-20065867 launched on Node an-jenkins-deploy-platform-ansible-os-5596-2
2026-04-06 02:40:09,026 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fadd29f0-e2c5-404d-980d-d6a57612f841
2026-04-06 02:40:09,321 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fadd29f0-e2c5-404d-980d-d6a57612f841
2026-04-06 02:40:09,359 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/16aad215-0114-4498-b8a2-33d9d170bcf2
2026-04-06 02:40:12,541 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-04-06 02:40:12,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20065867 failed!
2026-04-06 02:40:12,556 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80366643:ctest-vn1-53722726 is 97.31.55.193 and allocation pool is NOT set
2026-04-06 02:40:12,557 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80366643:ctest-vn1-53722726 is 5.66.125.129 and allocation pool is NOT set
2026-04-06 02:40:14,623 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.808/2.383/3.958/1.575 ms')
2026-04-06 02:40:14,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20065867 passed
2026-04-06 02:40:14,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:14,700 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20065867, IP 97.31.55.197, Port 22
2026-04-06 02:40:14,854 - DEBUG - VM ctest-vn1-vm1-20065867 is ready for SSH connections
2026-04-06 02:40:14,855 - INFO - Waiting for VM ctest-vn1-vm2-21373567 to be up..
2026-04-06 02:40:14,960 - DEBUG - VM is in ACTIVE state now
2026-04-06 02:40:14,961 - INFO - VM name : ctest-vn1-vm2-21373567
2026-04-06 02:40:15,074 - DEBUG - VM ctest-vn1-vm2-21373567 ID is 70480d62-8f84-47b8-96a8-8b8a19ee30af
2026-04-06 02:40:15,074 - DEBUG - VM ctest-vn1-vm2-21373567 launched on Node an-jenkins-deploy-platform-ansible-os-5596-1
2026-04-06 02:40:15,173 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/70480d62-8f84-47b8-96a8-8b8a19ee30af
2026-04-06 02:40:15,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/600dd708-f2d6-4dda-bce2-1a57613db69a
2026-04-06 02:40:16,362 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.117/3.716/5.316/1.599 ms')
2026-04-06 02:40:16,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-21373567 passed
2026-04-06 02:40:16,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:16,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21373567, IP 5.66.125.133, Port 22
2026-04-06 02:40:16,505 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-04-06 02:40:16,589 - DEBUG - VM ctest-vn1-vm2-21373567 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-06 02:40:21,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:21,590 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21373567, IP 5.66.125.133, Port 22
2026-04-06 02:40:21,754 - DEBUG - VM ctest-vn1-vm2-21373567 is ready for SSH connections
2026-04-06 02:40:21,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:21,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:21,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-06 02:40:21,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.31.55.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-04-06 02:40:21,755 - DEBUG - ping -s 56 -c 3 -W 1 97.31.55.197
2026-04-06 02:40:24,770 - DEBUG - PING 97.31.55.197 (97.31.55.197): 56 data bytes
64 bytes from 97.31.55.197: seq=0 ttl=63 time=7.898 ms
64 bytes from 97.31.55.197: seq=1 ttl=63 time=1.447 ms
64 bytes from 97.31.55.197: seq=2 ttl=63 time=1.421 ms
--- 97.31.55.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.421/3.588/7.898 ms
2026-04-06 02:40:24,771 - INFO - Ping to IP 97.31.55.197 from VM ctest-vn1-vm2-21373567 passed
2026-04-06 02:40:24,771 - INFO - Detaching port 600dd708-f2d6-4dda-bce2-1a57613db69a from VM ctest-vn1-vm2-21373567
2026-04-06 02:40:24,830 - INFO - Deleting VM ctest-vn1-vm2-21373567
2026-04-06 02:40:24,894 - INFO - Detaching port 16aad215-0114-4498-b8a2-33d9d170bcf2 from VM ctest-vn1-vm1-20065867
2026-04-06 02:40:24,923 - INFO - Deleting VM ctest-vn1-vm1-20065867
2026-04-06 02:40:25,282 - DEBUG - Response for delete_port : ()
2026-04-06 02:40:25,565 - DEBUG - Response for delete_port : ()
2026-04-06 02:40:25,565 - INFO - Deleting VN ctest-vn1-53722726
2026-04-06 02:40:25,736 - DEBUG - Response for deleting network ()
2026-04-06 02:40:27,017 - DEBUG - No XMPP flaps were noticed during the test
2026-04-06 02:40:27,017 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-04-06 02:40:27,017 - INFO - --------------------------------------------------------------------------------
2026-04-06 02:40:27,739 - INFO - Deleted project: ctest-TestPorts-80366643, ID : b028cf27-c042-4e74-b5ac-0e66fe8abef2