2025-10-20 21:29:33,325 - INFO - Domain Default found not creating
2025-10-20 21:29:33,495 - INFO - Project ctest-TestPorts-94169452 not found, creating it
2025-10-20 21:29:34,029 - INFO - Created Project:ctest-TestPorts-94169452, ID : 50c980ee-4f61-4b62-85bc-9dd902837440
2025-10-20 21:29:35,570 - INFO - ================================================================================
2025-10-20 21:29:35,570 - INFO - STARTING TEST : test_ports_bindings
2025-10-20 21:29:35,570 - 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
2025-10-20 21:29:36,933 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-10-20 21:29:36,933 - INFO - Initial checks done. Running the testcase now
2025-10-20 21:29:36,933 - INFO -
2025-10-20 21:29:37,653 - DEBUG - Response for create_network : {'network': {'id': '0cfba296-e1c5-441c-9865-141d3817d08d', 'name': 'ctest-vn-02177023', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'project_id': '50c980ee4f614b6285bc9dd902837440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94169452', 'ctest-vn-02177023'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 21:29:38,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c98feeb5-16ab-4502-897b-826beafaf52e', 'name': '', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '0cfba296-e1c5-441c-9865-141d3817d08d', 'ip_version': 4, 'cidr': '84.202.135.64/26', 'allocation_pools': [{'start': '84.202.135.66', 'end': '84.202.135.126'}], 'gateway_ip': '84.202.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.202.135.66', 'tags': [], 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:38,127 - INFO - Created VN ctest-vn-02177023
2025-10-20 21:29:38,148 - DEBUG - VN ctest-vn-02177023 UUID is 0cfba296-e1c5-441c-9865-141d3817d08d
2025-10-20 21:29:38,227 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94169452', 'ctest-vmi-38063054']}
2025-10-20 21:29:38,572 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38063054', 'id': '2345f8eb-f6a5-42c9-a70d-521b6077ad3c', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '0cfba296-e1c5-441c-9865-141d3817d08d', 'mac_address': '02:23:45:f8:eb:f6', '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': '84.202.135.67', 'subnet_id': 'c98feeb5-16ab-4502-897b-826beafaf52e'}], 'security_groups': ['b6f13031-5574-43ce-b4dc-88d48d184ff6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:38,572 - DEBUG - Created port 2345f8eb-f6a5-42c9-a70d-521b6077ad3c
2025-10-20 21:29:38,636 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2345f8eb-f6a5-42c9-a70d-521b6077ad3c
2025-10-20 21:29:38,979 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2345f8eb-f6a5-42c9-a70d-521b6077ad3c
2025-10-20 21:29:39,028 - INFO - VMI 2345f8eb-f6a5-42c9-a70d-521b6077ad3c verification in API Server passed
2025-10-20 21:29:39,228 - DEBUG - Response for delete_port : ()
2025-10-20 21:29:39,228 - INFO - Deleted port 2345f8eb-f6a5-42c9-a70d-521b6077ad3c
2025-10-20 21:29:39,229 - INFO - Deleting VN ctest-vn-02177023
2025-10-20 21:29:39,413 - DEBUG - Response for deleting network ()
2025-10-20 21:29:40,764 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 21:29:40,764 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-20 21:29:40,764 - INFO - --------------------------------------------------------------------------------
2025-10-20 21:29:40,767 - INFO - ================================================================================
2025-10-20 21:29:40,767 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-20 21:29:40,767 - 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
2025-10-20 21:29:42,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with
2025-10-20 21:29:42,086 - INFO - Initial checks done. Running the testcase now
2025-10-20 21:29:42,086 - INFO -
2025-10-20 21:29:42,389 - DEBUG - Response for create_network : {'network': {'id': '2046e882-4b2c-4363-bbc4-4537817b0d87', 'name': 'ctest-vn1-44380704', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'project_id': '50c980ee4f614b6285bc9dd902837440', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94169452', 'ctest-vn1-44380704'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 21:29:42,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd43f4671-10e9-4055-b2f5-878af2e44093', 'name': '', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '2046e882-4b2c-4363-bbc4-4537817b0d87', 'ip_version': 4, 'cidr': '214.253.55.64/26', 'allocation_pools': [{'start': '214.253.55.66', 'end': '214.253.55.126'}], 'gateway_ip': '214.253.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.253.55.66', 'tags': [], 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:42,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6597962-e6f1-4ea4-b97e-0536f9e98638', 'name': '', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '2046e882-4b2c-4363-bbc4-4537817b0d87', 'ip_version': 4, 'cidr': '163.200.63.0/26', 'allocation_pools': [{'start': '163.200.63.2', 'end': '163.200.63.62'}], 'gateway_ip': '163.200.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.200.63.2', 'tags': [], 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:42,917 - INFO - Created VN ctest-vn1-44380704
2025-10-20 21:29:42,927 - DEBUG - VN ctest-vn1-44380704 UUID is 2046e882-4b2c-4363-bbc4-4537817b0d87
2025-10-20 21:29:43,288 - DEBUG - Response for create_port : {'port': {'name': '34b6122b-2760-4bc9-80f0-e2f204ad12fe', 'id': '34b6122b-2760-4bc9-80f0-e2f204ad12fe', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '2046e882-4b2c-4363-bbc4-4537817b0d87', 'mac_address': '02:34:b6:12:2b:27', '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': '214.253.55.69', 'subnet_id': 'd43f4671-10e9-4055-b2f5-878af2e44093'}], 'security_groups': ['b6f13031-5574-43ce-b4dc-88d48d184ff6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:43,572 - DEBUG - Response for create_port : {'port': {'name': '8c9932cd-78e4-4e20-8299-d06a02b4a2bf', 'id': '8c9932cd-78e4-4e20-8299-d06a02b4a2bf', 'tenant_id': '50c980ee4f614b6285bc9dd902837440', 'network_id': '2046e882-4b2c-4363-bbc4-4537817b0d87', 'mac_address': '02:8c:99:32:cd:78', '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': '163.200.63.5', 'subnet_id': 'f6597962-e6f1-4ea4-b97e-0536f9e98638'}], 'security_groups': ['b6f13031-5574-43ce-b4dc-88d48d184ff6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50c980ee4f614b6285bc9dd902837440'}}
2025-10-20 21:29:43,641 - DEBUG - Services list from nova: [, , , ]
2025-10-20 21:29:44,026 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4386-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4386-2)
2025-10-20 21:29:44,588 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4386-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4386-1)
2025-10-20 21:29:44,588 - INFO - Waiting for VM ctest-vn1-vm1-88777568 to be up..
2025-10-20 21:29:44,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 21:29:49,749 - DEBUG - VM is in ACTIVE state now
2025-10-20 21:29:49,750 - INFO - VM name : ctest-vn1-vm1-88777568
2025-10-20 21:29:49,850 - DEBUG - VM ctest-vn1-vm1-88777568 ID is 15188d66-f5f8-4427-99d3-022f0c4c3f68
2025-10-20 21:29:49,875 - DEBUG - VM ctest-vn1-vm1-88777568 launched on Node an-jenkins-deploy-platform-ansible-os-4386-2
2025-10-20 21:29:49,970 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/15188d66-f5f8-4427-99d3-022f0c4c3f68
2025-10-20 21:29:50,277 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/15188d66-f5f8-4427-99d3-022f0c4c3f68
2025-10-20 21:29:50,308 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/34b6122b-2760-4bc9-80f0-e2f204ad12fe
2025-10-20 21:29:53,519 - 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 1012ms')
2025-10-20 21:29:53,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88777568 failed!
2025-10-20 21:29:53,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94169452:ctest-vn1-44380704 is 214.253.55.65 and allocation pool is NOT set
2025-10-20 21:29:53,535 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94169452:ctest-vn1-44380704 is 163.200.63.1 and allocation pool is NOT set
2025-10-20 21:29:55,593 - 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=4.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.21 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 = 1.210/3.029/4.848/1.819 ms')
2025-10-20 21:29:55,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88777568 passed
2025-10-20 21:29:55,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:29:55,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88777568, IP 214.253.55.69, Port 22
2025-10-20 21:29:55,873 - DEBUG - VM ctest-vn1-vm1-88777568 is ready for SSH connections
2025-10-20 21:29:55,873 - INFO - Waiting for VM ctest-vn1-vm2-32120943 to be up..
2025-10-20 21:29:55,997 - DEBUG - VM is in ACTIVE state now
2025-10-20 21:29:55,997 - INFO - VM name : ctest-vn1-vm2-32120943
2025-10-20 21:29:56,102 - DEBUG - VM ctest-vn1-vm2-32120943 ID is 4d1ca9c1-35fe-4a5b-aefa-69a4950c9a27
2025-10-20 21:29:56,102 - DEBUG - VM ctest-vn1-vm2-32120943 launched on Node an-jenkins-deploy-platform-ansible-os-4386-1
2025-10-20 21:29:56,213 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4d1ca9c1-35fe-4a5b-aefa-69a4950c9a27
2025-10-20 21:29:56,224 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8c9932cd-78e4-4e20-8299-d06a02b4a2bf
2025-10-20 21:29:57,460 - 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=4.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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 = 1.028/2.592/4.156/1.564 ms')
2025-10-20 21:29:57,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-32120943 passed
2025-10-20 21:29:57,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:29:57,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32120943, IP 163.200.63.5, Port 22
2025-10-20 21:29:57,752 - DEBUG - VM ctest-vn1-vm2-32120943 is ready for SSH connections
2025-10-20 21:29:57,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:29:57,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:29:57,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 21:29:57,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 214.253.55.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-20 21:29:57,753 - DEBUG - ping -s 56 -c 3 -W 1 214.253.55.69
2025-10-20 21:30:00,902 - DEBUG - PING 214.253.55.69 (214.253.55.69): 56 data bytes
64 bytes from 214.253.55.69: seq=0 ttl=63 time=8.406 ms
64 bytes from 214.253.55.69: seq=1 ttl=63 time=1.651 ms
64 bytes from 214.253.55.69: seq=2 ttl=63 time=1.340 ms
--- 214.253.55.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.340/3.799/8.406 ms
2025-10-20 21:30:00,902 - INFO - Ping to IP 214.253.55.69 from VM ctest-vn1-vm2-32120943 passed
2025-10-20 21:30:00,902 - INFO - Detaching port 8c9932cd-78e4-4e20-8299-d06a02b4a2bf from VM ctest-vn1-vm2-32120943
2025-10-20 21:30:00,953 - INFO - Deleting VM ctest-vn1-vm2-32120943
2025-10-20 21:30:01,028 - INFO - Detaching port 34b6122b-2760-4bc9-80f0-e2f204ad12fe from VM ctest-vn1-vm1-88777568
2025-10-20 21:30:01,066 - INFO - Deleting VM ctest-vn1-vm1-88777568
2025-10-20 21:30:01,401 - DEBUG - Response for delete_port : ()
2025-10-20 21:30:01,684 - DEBUG - Response for delete_port : ()
2025-10-20 21:30:01,685 - INFO - Deleting VN ctest-vn1-44380704
2025-10-20 21:30:01,921 - DEBUG - Response for deleting network ()
2025-10-20 21:30:03,225 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 21:30:03,225 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-20 21:30:03,226 - INFO - --------------------------------------------------------------------------------
2025-10-20 21:30:03,981 - INFO - Deleted project: ctest-TestPorts-94169452, ID : 50c980ee-4f61-4b62-85bc-9dd902837440