2025-08-13 15:39:40,917 - INFO - Domain Default found not creating 2025-08-13 15:39:41,037 - INFO - Project ctest-TestPorts-08616156 not found, creating it 2025-08-13 15:39:41,495 - INFO - Created Project:ctest-TestPorts-08616156, ID : ee9e2f56-0677-4378-bdeb-c63052167982 2025-08-13 15:39:42,866 - INFO - ================================================================================ 2025-08-13 15:39:42,866 - INFO - STARTING TEST : test_ports_bindings 2025-08-13 15:39:42,866 - 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-08-13 15:39:43,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-13 15:39:43,129 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:39:43,129 - INFO - 2025-08-13 15:39:43,642 - DEBUG - Response for create_network : {'network': {'id': 'b5b23b07-e764-43a3-b060-32e215608334', 'name': 'ctest-vn-04797888', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'project_id': 'ee9e2f5606774378bdebc63052167982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08616156', 'ctest-vn-04797888'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:39:43,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1c432fe-e645-49fa-889f-43330412fbd3', 'name': '', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': 'b5b23b07-e764-43a3-b060-32e215608334', 'ip_version': 4, 'cidr': '155.229.67.64/26', 'allocation_pools': [{'start': '155.229.67.66', 'end': '155.229.67.126'}], 'gateway_ip': '155.229.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.229.67.66', 'tags': [], 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:43,797 - INFO - Created VN ctest-vn-04797888 2025-08-13 15:39:43,847 - DEBUG - VN ctest-vn-04797888 UUID is b5b23b07-e764-43a3-b060-32e215608334 2025-08-13 15:39:43,946 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08616156', 'ctest-vmi-92515384']} 2025-08-13 15:39:44,202 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92515384', 'id': 'aa01a94d-135b-462c-a3c2-c50f8a956249', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': 'b5b23b07-e764-43a3-b060-32e215608334', 'mac_address': '02:aa:01:a9:4d:13', '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': '155.229.67.67', 'subnet_id': 'f1c432fe-e645-49fa-889f-43330412fbd3'}], 'security_groups': ['822c876b-7629-47ce-a569-3196832ee577'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:44,203 - DEBUG - Created port aa01a94d-135b-462c-a3c2-c50f8a956249 2025-08-13 15:39:44,307 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aa01a94d-135b-462c-a3c2-c50f8a956249 2025-08-13 15:39:44,595 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aa01a94d-135b-462c-a3c2-c50f8a956249 2025-08-13 15:39:44,623 - INFO - VMI aa01a94d-135b-462c-a3c2-c50f8a956249 verification in API Server passed 2025-08-13 15:39:44,704 - DEBUG - Response for delete_port : () 2025-08-13 15:39:44,704 - INFO - Deleted port aa01a94d-135b-462c-a3c2-c50f8a956249 2025-08-13 15:39:44,704 - INFO - Deleting VN ctest-vn-04797888 2025-08-13 15:39:44,790 - DEBUG - Response for deleting network () 2025-08-13 15:39:45,040 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 15:39:45,040 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-13 15:39:45,040 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:39:45,042 - INFO - ================================================================================ 2025-08-13 15:39:45,042 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-13 15:39:45,042 - 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-08-13 15:39:45,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-13 15:39:45,325 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:39:45,325 - INFO - 2025-08-13 15:39:45,499 - DEBUG - Response for create_network : {'network': {'id': '46c95730-b889-4d2a-85f0-fe58792edf70', 'name': 'ctest-vn1-50735770', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'project_id': 'ee9e2f5606774378bdebc63052167982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08616156', 'ctest-vn1-50735770'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:39:45,724 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd9d450e-570d-4cec-a2e3-d6454c205416', 'name': '', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': '46c95730-b889-4d2a-85f0-fe58792edf70', 'ip_version': 4, 'cidr': '169.188.103.128/26', 'allocation_pools': [{'start': '169.188.103.130', 'end': '169.188.103.190'}], 'gateway_ip': '169.188.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.188.103.130', 'tags': [], 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:45,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '137cfaa8-e921-46d1-ae13-bb5f8f426a90', 'name': '', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': '46c95730-b889-4d2a-85f0-fe58792edf70', 'ip_version': 4, 'cidr': '159.231.100.64/26', 'allocation_pools': [{'start': '159.231.100.66', 'end': '159.231.100.126'}], 'gateway_ip': '159.231.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.231.100.66', 'tags': [], 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:45,947 - INFO - Created VN ctest-vn1-50735770 2025-08-13 15:39:46,003 - DEBUG - VN ctest-vn1-50735770 UUID is 46c95730-b889-4d2a-85f0-fe58792edf70 2025-08-13 15:39:46,282 - DEBUG - Response for create_port : {'port': {'name': '3f2a2ea5-c127-413a-bd76-2b949fbe06a3', 'id': '3f2a2ea5-c127-413a-bd76-2b949fbe06a3', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': '46c95730-b889-4d2a-85f0-fe58792edf70', 'mac_address': '02:3f:2a:2e:a5:c1', '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': '169.188.103.133', 'subnet_id': 'fd9d450e-570d-4cec-a2e3-d6454c205416'}], 'security_groups': ['822c876b-7629-47ce-a569-3196832ee577'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:46,441 - DEBUG - Response for create_port : {'port': {'name': '17ddfce9-fe80-4e3e-9c5d-b667a6a750d0', 'id': '17ddfce9-fe80-4e3e-9c5d-b667a6a750d0', 'tenant_id': 'ee9e2f5606774378bdebc63052167982', 'network_id': '46c95730-b889-4d2a-85f0-fe58792edf70', 'mac_address': '02:17:dd:fc:e9:fe', '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': '159.231.100.69', 'subnet_id': '137cfaa8-e921-46d1-ae13-bb5f8f426a90'}], 'security_groups': ['822c876b-7629-47ce-a569-3196832ee577'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee9e2f5606774378bdebc63052167982'}} 2025-08-13 15:39:46,487 - DEBUG - Services list from nova: [, , ] 2025-08-13 15:39:46,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1) 2025-08-13 15:39:47,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3841-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3841-1) 2025-08-13 15:39:47,187 - INFO - Waiting for VM ctest-vn1-vm1-13144789 to be up.. 2025-08-13 15:39:47,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 15:39:52,288 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:39:52,288 - INFO - VM name : ctest-vn1-vm1-13144789 2025-08-13 15:39:52,354 - DEBUG - VM ctest-vn1-vm1-13144789 ID is 6604cc2b-5342-4d9d-940e-a080803eefc5 2025-08-13 15:39:52,373 - DEBUG - VM ctest-vn1-vm1-13144789 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1 2025-08-13 15:39:52,459 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6604cc2b-5342-4d9d-940e-a080803eefc5 2025-08-13 15:39:52,474 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/3f2a2ea5-c127-413a-bd76-2b949fbe06a3 2025-08-13 15:39:55,720 - 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 1004ms') 2025-08-13 15:39:55,720 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13144789 failed! 2025-08-13 15:39:55,775 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08616156:ctest-vn1-50735770 is 169.188.103.129 and allocation pool is NOT set 2025-08-13 15:39:55,776 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08616156:ctest-vn1-50735770 is 159.231.100.65 and allocation pool is NOT set 2025-08-13 15:39:57,832 - 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=6.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.962 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.962/3.671/6.381/2.709 ms') 2025-08-13 15:39:57,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13144789 passed 2025-08-13 15:39:57,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:39:57,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13144789, IP 169.188.103.133, Port 22 2025-08-13 15:39:58,131 - DEBUG - VM ctest-vn1-vm1-13144789 is ready for SSH connections 2025-08-13 15:39:58,131 - INFO - Waiting for VM ctest-vn1-vm2-92364479 to be up.. 2025-08-13 15:39:58,195 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:39:58,195 - INFO - VM name : ctest-vn1-vm2-92364479 2025-08-13 15:39:58,253 - DEBUG - VM ctest-vn1-vm2-92364479 ID is 7c9cb772-69a3-4ea9-adf4-2306dade2602 2025-08-13 15:39:58,253 - DEBUG - VM ctest-vn1-vm2-92364479 launched on Node cn-jenkins-deploy-platform-ansible-os-3841-1 2025-08-13 15:39:58,310 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7c9cb772-69a3-4ea9-adf4-2306dade2602 2025-08-13 15:39:58,317 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/17ddfce9-fe80-4e3e-9c5d-b667a6a750d0 2025-08-13 15:39:59,562 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.381/1.535/2.690/1.154 ms') 2025-08-13 15:39:59,562 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-92364479 passed 2025-08-13 15:39:59,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:39:59,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92364479, IP 159.231.100.69, Port 22 2025-08-13 15:39:59,880 - DEBUG - VM ctest-vn1-vm2-92364479 is ready for SSH connections 2025-08-13 15:39:59,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:39:59,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:39:59,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:39:59,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.188.103.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-13 15:39:59,880 - DEBUG - ping -s 56 -c 3 -W 1 169.188.103.133 2025-08-13 15:40:02,508 - DEBUG - PING 169.188.103.133 (169.188.103.133): 56 data bytes 64 bytes from 169.188.103.133: seq=0 ttl=63 time=3.131 ms 64 bytes from 169.188.103.133: seq=1 ttl=63 time=0.837 ms 64 bytes from 169.188.103.133: seq=2 ttl=63 time=0.641 ms --- 169.188.103.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.641/1.536/3.131 ms 2025-08-13 15:40:02,508 - INFO - Ping to IP 169.188.103.133 from VM ctest-vn1-vm2-92364479 passed 2025-08-13 15:40:02,508 - INFO - Detaching port 17ddfce9-fe80-4e3e-9c5d-b667a6a750d0 from VM ctest-vn1-vm2-92364479 2025-08-13 15:40:02,552 - INFO - Deleting VM ctest-vn1-vm2-92364479 2025-08-13 15:40:02,616 - INFO - Detaching port 3f2a2ea5-c127-413a-bd76-2b949fbe06a3 from VM ctest-vn1-vm1-13144789 2025-08-13 15:40:02,644 - INFO - Deleting VM ctest-vn1-vm1-13144789 2025-08-13 15:40:02,825 - DEBUG - Response for delete_port : () 2025-08-13 15:40:02,964 - DEBUG - Response for delete_port : () 2025-08-13 15:40:02,964 - INFO - Deleting VN ctest-vn1-50735770 2025-08-13 15:40:03,069 - DEBUG - Response for deleting network () 2025-08-13 15:40:03,321 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 15:40:03,321 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-13 15:40:03,321 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:40:03,972 - INFO - Deleted project: ctest-TestPorts-08616156, ID : ee9e2f56-0677-4378-bdeb-c63052167982