2025-10-16 18:10:23,312 - INFO - Domain Default found not creating
2025-10-16 18:10:23,507 - INFO - Project ctest-TestPorts-84355955 not found, creating it
2025-10-16 18:10:23,954 - INFO - Created Project:ctest-TestPorts-84355955, ID : 413132b4-910e-4813-adc3-ccaf1c0a9b77
2025-10-16 18:10:25,328 - INFO - ================================================================================
2025-10-16 18:10:25,328 - INFO - STARTING TEST : test_ports_bindings
2025-10-16 18:10:25,328 - 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-16 18:10:25,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-16 18:10:25,581 - INFO - Initial checks done. Running the testcase now
2025-10-16 18:10:25,581 - INFO -
2025-10-16 18:10:26,106 - DEBUG - Response for create_network : {'network': {'id': '4c26cffe-0f38-40e7-acec-df70f01d2805', 'name': 'ctest-vn-80608035', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'project_id': '413132b4910e4813adc3ccaf1c0a9b77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84355955', 'ctest-vn-80608035'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 18:10:26,274 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e447aa47-fa07-45bb-a4bb-44671478f504', 'name': '', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '4c26cffe-0f38-40e7-acec-df70f01d2805', 'ip_version': 4, 'cidr': '182.171.208.64/26', 'allocation_pools': [{'start': '182.171.208.66', 'end': '182.171.208.126'}], 'gateway_ip': '182.171.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.171.208.66', 'tags': [], 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:26,290 - INFO - Created VN ctest-vn-80608035
2025-10-16 18:10:26,340 - DEBUG - VN ctest-vn-80608035 UUID is 4c26cffe-0f38-40e7-acec-df70f01d2805
2025-10-16 18:10:26,440 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-84355955', 'ctest-vmi-79901935']}
2025-10-16 18:10:26,713 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79901935', 'id': '0f3fe34d-2b30-4c55-87cf-f6c14fed08a1', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '4c26cffe-0f38-40e7-acec-df70f01d2805', 'mac_address': '02:0f:3f:e3:4d:2b', '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': '182.171.208.67', 'subnet_id': 'e447aa47-fa07-45bb-a4bb-44671478f504'}], 'security_groups': ['5a6030a1-f327-4e3b-a239-02c9845441ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:26,713 - DEBUG - Created port 0f3fe34d-2b30-4c55-87cf-f6c14fed08a1
2025-10-16 18:10:26,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0f3fe34d-2b30-4c55-87cf-f6c14fed08a1
2025-10-16 18:10:27,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0f3fe34d-2b30-4c55-87cf-f6c14fed08a1
2025-10-16 18:10:27,133 - INFO - VMI 0f3fe34d-2b30-4c55-87cf-f6c14fed08a1 verification in API Server passed
2025-10-16 18:10:27,209 - DEBUG - Response for delete_port : ()
2025-10-16 18:10:27,209 - INFO - Deleted port 0f3fe34d-2b30-4c55-87cf-f6c14fed08a1
2025-10-16 18:10:27,209 - INFO - Deleting VN ctest-vn-80608035
2025-10-16 18:10:27,297 - DEBUG - Response for deleting network ()
2025-10-16 18:10:27,548 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 18:10:27,549 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-16 18:10:27,549 - INFO - --------------------------------------------------------------------------------
2025-10-16 18:10:27,551 - INFO - ================================================================================
2025-10-16 18:10:27,551 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-16 18:10:27,551 - 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-16 18:10:27,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-16 18:10:27,840 - INFO - Initial checks done. Running the testcase now
2025-10-16 18:10:27,840 - INFO -
2025-10-16 18:10:28,003 - DEBUG - Response for create_network : {'network': {'id': '693bc9a0-3929-4375-8233-55783f7b41ae', 'name': 'ctest-vn1-15097135', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'project_id': '413132b4910e4813adc3ccaf1c0a9b77', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-84355955', 'ctest-vn1-15097135'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 18:10:28,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d42a127-7a65-4866-adb9-317e999b8700', 'name': '', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '693bc9a0-3929-4375-8233-55783f7b41ae', 'ip_version': 4, 'cidr': '89.169.15.0/26', 'allocation_pools': [{'start': '89.169.15.2', 'end': '89.169.15.62'}], 'gateway_ip': '89.169.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.169.15.2', 'tags': [], 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:28,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eb6307b-6158-4629-a2ab-6785665325cf', 'name': '', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '693bc9a0-3929-4375-8233-55783f7b41ae', 'ip_version': 4, 'cidr': '174.188.89.192/26', 'allocation_pools': [{'start': '174.188.89.194', 'end': '174.188.89.254'}], 'gateway_ip': '174.188.89.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.188.89.194', 'tags': [], 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:28,304 - INFO - Created VN ctest-vn1-15097135
2025-10-16 18:10:28,356 - DEBUG - VN ctest-vn1-15097135 UUID is 693bc9a0-3929-4375-8233-55783f7b41ae
2025-10-16 18:10:28,643 - DEBUG - Response for create_port : {'port': {'name': '7a9e5b49-a1cb-48df-8715-3749c5b78835', 'id': '7a9e5b49-a1cb-48df-8715-3749c5b78835', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '693bc9a0-3929-4375-8233-55783f7b41ae', 'mac_address': '02:7a:9e:5b:49:a1', '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': '89.169.15.5', 'subnet_id': '2d42a127-7a65-4866-adb9-317e999b8700'}], 'security_groups': ['5a6030a1-f327-4e3b-a239-02c9845441ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:28,818 - DEBUG - Response for create_port : {'port': {'name': '09a28f10-c25e-46f7-ae11-66a90a6738a8', 'id': '09a28f10-c25e-46f7-ae11-66a90a6738a8', 'tenant_id': '413132b4910e4813adc3ccaf1c0a9b77', 'network_id': '693bc9a0-3929-4375-8233-55783f7b41ae', 'mac_address': '02:09:a2:8f:10:c2', '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': '174.188.89.197', 'subnet_id': '1eb6307b-6158-4629-a2ab-6785665325cf'}], 'security_groups': ['5a6030a1-f327-4e3b-a239-02c9845441ea'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '413132b4910e4813adc3ccaf1c0a9b77'}}
2025-10-16 18:10:28,869 - DEBUG - Services list from nova: [, , ]
2025-10-16 18:10:29,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4350-1)
2025-10-16 18:10:29,634 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4350-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4350-1)
2025-10-16 18:10:29,634 - INFO - Waiting for VM ctest-vn1-vm1-67506523 to be up..
2025-10-16 18:10:29,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 18:10:34,738 - DEBUG - VM is in ACTIVE state now
2025-10-16 18:10:34,738 - INFO - VM name : ctest-vn1-vm1-67506523
2025-10-16 18:10:34,816 - DEBUG - VM ctest-vn1-vm1-67506523 ID is 8470affa-d9ef-46b6-a94a-49ce0cdee82f
2025-10-16 18:10:34,837 - DEBUG - VM ctest-vn1-vm1-67506523 launched on Node cn-jenkins-deploy-platform-ansible-os-4350-1
2025-10-16 18:10:34,915 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8470affa-d9ef-46b6-a94a-49ce0cdee82f
2025-10-16 18:10:34,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7a9e5b49-a1cb-48df-8715-3749c5b78835
2025-10-16 18:10:38,172 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2025-10-16 18:10:38,172 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-67506523 failed!
2025-10-16 18:10:38,224 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84355955:ctest-vn1-15097135 is 89.169.15.1 and allocation pool is NOT set
2025-10-16 18:10:38,224 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-84355955:ctest-vn1-15097135 is 174.188.89.193 and allocation pool is NOT set
2025-10-16 18:10:40,289 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.882 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.882/1.833/2.785/0.951 ms')
2025-10-16 18:10:40,289 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-67506523 passed
2025-10-16 18:10:40,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:10:40,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67506523, IP 89.169.15.5, Port 22
2025-10-16 18:10:40,592 - DEBUG - VM ctest-vn1-vm1-67506523 is ready for SSH connections
2025-10-16 18:10:40,592 - INFO - Waiting for VM ctest-vn1-vm2-01099398 to be up..
2025-10-16 18:10:40,657 - DEBUG - VM is in ACTIVE state now
2025-10-16 18:10:40,657 - INFO - VM name : ctest-vn1-vm2-01099398
2025-10-16 18:10:40,722 - DEBUG - VM ctest-vn1-vm2-01099398 ID is 02d1df61-293f-43d8-8be5-fe1fbc4d5775
2025-10-16 18:10:40,722 - DEBUG - VM ctest-vn1-vm2-01099398 launched on Node cn-jenkins-deploy-platform-ansible-os-4350-1
2025-10-16 18:10:40,793 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/02d1df61-293f-43d8-8be5-fe1fbc4d5775
2025-10-16 18:10:40,800 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/09a28f10-c25e-46f7-ae11-66a90a6738a8
2025-10-16 18:10:42,030 - 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=2.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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 = 0.472/1.623/2.774/1.151 ms')
2025-10-16 18:10:42,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01099398 passed
2025-10-16 18:10:42,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:10:42,180 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01099398, IP 174.188.89.197, Port 22
2025-10-16 18:10:42,332 - DEBUG - VM ctest-vn1-vm2-01099398 is ready for SSH connections
2025-10-16 18:10:42,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:10:42,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:10:42,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 18:10:42,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.169.15.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-16 18:10:42,333 - DEBUG - ping -s 56 -c 3 -W 1 89.169.15.5
2025-10-16 18:10:46,365 - DEBUG - PING 89.169.15.5 (89.169.15.5): 56 data bytes
64 bytes from 89.169.15.5: seq=0 ttl=63 time=3.385 ms
64 bytes from 89.169.15.5: seq=1 ttl=63 time=1.065 ms
64 bytes from 89.169.15.5: seq=2 ttl=63 time=1.090 ms
--- 89.169.15.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.065/1.846/3.385 ms
2025-10-16 18:10:46,365 - INFO - Ping to IP 89.169.15.5 from VM ctest-vn1-vm2-01099398 passed
2025-10-16 18:10:46,365 - INFO - Detaching port 09a28f10-c25e-46f7-ae11-66a90a6738a8 from VM ctest-vn1-vm2-01099398
2025-10-16 18:10:46,416 - INFO - Deleting VM ctest-vn1-vm2-01099398
2025-10-16 18:10:46,484 - INFO - Detaching port 7a9e5b49-a1cb-48df-8715-3749c5b78835 from VM ctest-vn1-vm1-67506523
2025-10-16 18:10:46,525 - INFO - Deleting VM ctest-vn1-vm1-67506523
2025-10-16 18:10:46,803 - DEBUG - Response for delete_port : ()
2025-10-16 18:10:46,982 - DEBUG - Response for delete_port : ()
2025-10-16 18:10:46,982 - INFO - Deleting VN ctest-vn1-15097135
2025-10-16 18:10:47,125 - DEBUG - Response for deleting network ()
2025-10-16 18:10:47,385 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 18:10:47,385 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-16 18:10:47,385 - INFO - --------------------------------------------------------------------------------
2025-10-16 18:10:48,097 - INFO - Deleted project: ctest-TestPorts-84355955, ID : 413132b4-910e-4813-adc3-ccaf1c0a9b77