2025-11-01 19:22:21,194 - INFO - Domain Default found not creating 2025-11-01 19:22:21,370 - INFO - Project ctest-TestPorts-90936290 not found, creating it 2025-11-01 19:22:21,834 - INFO - Created Project:ctest-TestPorts-90936290, ID : 4289ee66-3598-48ee-9a9e-c3042b8c8322 2025-11-01 19:22:23,337 - INFO - ================================================================================ 2025-11-01 19:22:23,337 - INFO - STARTING TEST : test_ports_bindings 2025-11-01 19:22:23,337 - 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-11-01 19:22:23,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-01 19:22:23,592 - INFO - Initial checks done. Running the testcase now 2025-11-01 19:22:23,592 - INFO - 2025-11-01 19:22:24,138 - DEBUG - Response for create_network : {'network': {'id': '16e5e0ef-777d-4e4a-9672-e9bbbe1aa7a6', 'name': 'ctest-vn-35692022', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'project_id': '4289ee66359848ee9a9ec3042b8c8322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90936290', 'ctest-vn-35692022'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:22:24,358 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e6c68ef-eefb-4b0d-b904-8f7fa804e0cc', 'name': '', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '16e5e0ef-777d-4e4a-9672-e9bbbe1aa7a6', 'ip_version': 4, 'cidr': '166.113.200.0/26', 'allocation_pools': [{'start': '166.113.200.2', 'end': '166.113.200.62'}], 'gateway_ip': '166.113.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.113.200.2', 'tags': [], 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:24,376 - INFO - Created VN ctest-vn-35692022 2025-11-01 19:22:24,430 - DEBUG - VN ctest-vn-35692022 UUID is 16e5e0ef-777d-4e4a-9672-e9bbbe1aa7a6 2025-11-01 19:22:24,544 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90936290', 'ctest-vmi-31745701']} 2025-11-01 19:22:24,835 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31745701', 'id': 'dbaab683-90b8-47fa-b48b-f209583447fe', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '16e5e0ef-777d-4e4a-9672-e9bbbe1aa7a6', 'mac_address': '02:db:aa:b6:83:90', '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': '166.113.200.3', 'subnet_id': '6e6c68ef-eefb-4b0d-b904-8f7fa804e0cc'}], 'security_groups': ['a34e91d1-2e2a-48f4-86a3-d33396c349ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:24,835 - DEBUG - Created port dbaab683-90b8-47fa-b48b-f209583447fe 2025-11-01 19:22:24,942 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dbaab683-90b8-47fa-b48b-f209583447fe 2025-11-01 19:22:25,233 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dbaab683-90b8-47fa-b48b-f209583447fe 2025-11-01 19:22:25,266 - INFO - VMI dbaab683-90b8-47fa-b48b-f209583447fe verification in API Server passed 2025-11-01 19:22:25,368 - DEBUG - Response for delete_port : () 2025-11-01 19:22:25,368 - INFO - Deleted port dbaab683-90b8-47fa-b48b-f209583447fe 2025-11-01 19:22:25,369 - INFO - Deleting VN ctest-vn-35692022 2025-11-01 19:22:25,478 - DEBUG - Response for deleting network () 2025-11-01 19:22:25,734 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 19:22:25,734 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-01 19:22:25,735 - INFO - -------------------------------------------------------------------------------- 2025-11-01 19:22:25,737 - INFO - ================================================================================ 2025-11-01 19:22:25,737 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-01 19:22:25,737 - 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-11-01 19:22:26,023 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-01 19:22:26,023 - INFO - Initial checks done. Running the testcase now 2025-11-01 19:22:26,023 - INFO - 2025-11-01 19:22:26,213 - DEBUG - Response for create_network : {'network': {'id': '8a762c24-e9b0-4636-9dbd-8dab601bad3d', 'name': 'ctest-vn1-08545592', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'project_id': '4289ee66359848ee9a9ec3042b8c8322', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90936290', 'ctest-vn1-08545592'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 19:22:26,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '930d5f56-960d-48a1-bea1-d4d229c98f4a', 'name': '', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '8a762c24-e9b0-4636-9dbd-8dab601bad3d', 'ip_version': 4, 'cidr': '157.224.127.128/26', 'allocation_pools': [{'start': '157.224.127.130', 'end': '157.224.127.190'}], 'gateway_ip': '157.224.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.224.127.130', 'tags': [], 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:26,518 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eefb1e5e-fc1c-42d8-882c-d3ec6d5e7649', 'name': '', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '8a762c24-e9b0-4636-9dbd-8dab601bad3d', 'ip_version': 4, 'cidr': '47.125.18.0/26', 'allocation_pools': [{'start': '47.125.18.2', 'end': '47.125.18.62'}], 'gateway_ip': '47.125.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.125.18.2', 'tags': [], 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:26,538 - INFO - Created VN ctest-vn1-08545592 2025-11-01 19:22:26,590 - DEBUG - VN ctest-vn1-08545592 UUID is 8a762c24-e9b0-4636-9dbd-8dab601bad3d 2025-11-01 19:22:26,898 - DEBUG - Response for create_port : {'port': {'name': '5820e762-2d17-4e6c-8152-f9e6a0d6456b', 'id': '5820e762-2d17-4e6c-8152-f9e6a0d6456b', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '8a762c24-e9b0-4636-9dbd-8dab601bad3d', 'mac_address': '02:58:20:e7:62:2d', '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': '157.224.127.133', 'subnet_id': '930d5f56-960d-48a1-bea1-d4d229c98f4a'}], 'security_groups': ['a34e91d1-2e2a-48f4-86a3-d33396c349ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:27,070 - DEBUG - Response for create_port : {'port': {'name': '772df4c6-124d-4b87-8990-4ced6ea918ef', 'id': '772df4c6-124d-4b87-8990-4ced6ea918ef', 'tenant_id': '4289ee66359848ee9a9ec3042b8c8322', 'network_id': '8a762c24-e9b0-4636-9dbd-8dab601bad3d', 'mac_address': '02:77:2d:f4:c6:12', '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': '47.125.18.5', 'subnet_id': 'eefb1e5e-fc1c-42d8-882c-d3ec6d5e7649'}], 'security_groups': ['a34e91d1-2e2a-48f4-86a3-d33396c349ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4289ee66359848ee9a9ec3042b8c8322'}} 2025-11-01 19:22:27,139 - DEBUG - Services list from nova: [, , ] 2025-11-01 19:22:27,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:22:27,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4591-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4591-1) 2025-11-01 19:22:27,891 - INFO - Waiting for VM ctest-vn1-vm1-05547747 to be up.. 2025-11-01 19:22:27,932 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 19:22:33,031 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:22:33,032 - INFO - VM name : ctest-vn1-vm1-05547747 2025-11-01 19:22:33,125 - DEBUG - VM ctest-vn1-vm1-05547747 ID is 347c5d55-65c4-46ba-b390-19d86bd2d5c2 2025-11-01 19:22:33,146 - DEBUG - VM ctest-vn1-vm1-05547747 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:22:33,234 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/347c5d55-65c4-46ba-b390-19d86bd2d5c2 2025-11-01 19:22:33,247 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5820e762-2d17-4e6c-8152-f9e6a0d6456b 2025-11-01 19:22:36,500 - 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 1023ms') 2025-11-01 19:22:36,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05547747 failed! 2025-11-01 19:22:36,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90936290:ctest-vn1-08545592 is 157.224.127.129 and allocation pool is NOT set 2025-11-01 19:22:36,558 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90936290:ctest-vn1-08545592 is 47.125.18.1 and allocation pool is NOT set 2025-11-01 19:22:40,629 - 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=2 ttl=63 time=7.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 7.038/7.038/7.038/0.000 ms') 2025-11-01 19:22:40,629 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05547747 passed 2025-11-01 19:22:40,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:22:40,782 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05547747, IP 157.224.127.133, Port 22 2025-11-01 19:22:40,946 - DEBUG - VM ctest-vn1-vm1-05547747 is ready for SSH connections 2025-11-01 19:22:40,946 - INFO - Waiting for VM ctest-vn1-vm2-82981270 to be up.. 2025-11-01 19:22:41,028 - DEBUG - VM is in ACTIVE state now 2025-11-01 19:22:41,028 - INFO - VM name : ctest-vn1-vm2-82981270 2025-11-01 19:22:41,101 - DEBUG - VM ctest-vn1-vm2-82981270 ID is 20cd1fdc-d813-4e85-93d1-2ada27b76064 2025-11-01 19:22:41,101 - DEBUG - VM ctest-vn1-vm2-82981270 launched on Node cn-jenkins-deploy-platform-ansible-os-4591-1 2025-11-01 19:22:41,177 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/20cd1fdc-d813-4e85-93d1-2ada27b76064 2025-11-01 19:22:41,186 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/772df4c6-124d-4b87-8990-4ced6ea918ef 2025-11-01 19:22:42,428 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.610 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.610/1.756/2.903/1.146 ms') 2025-11-01 19:22:42,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-82981270 passed 2025-11-01 19:22:42,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:22:42,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82981270, IP 47.125.18.5, Port 22 2025-11-01 19:22:42,733 - DEBUG - VM ctest-vn1-vm2-82981270 is ready for SSH connections 2025-11-01 19:22:42,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:22:42,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:22:42,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 19:22:42,733 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.224.127.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-01 19:22:42,733 - DEBUG - ping -s 56 -c 3 -W 1 157.224.127.133 2025-11-01 19:22:45,497 - DEBUG - PING 157.224.127.133 (157.224.127.133): 56 data bytes 64 bytes from 157.224.127.133: seq=0 ttl=63 time=4.295 ms 64 bytes from 157.224.127.133: seq=1 ttl=63 time=1.581 ms 64 bytes from 157.224.127.133: seq=2 ttl=63 time=1.004 ms --- 157.224.127.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.004/2.293/4.295 ms 2025-11-01 19:22:45,497 - INFO - Ping to IP 157.224.127.133 from VM ctest-vn1-vm2-82981270 passed 2025-11-01 19:22:45,497 - INFO - Detaching port 772df4c6-124d-4b87-8990-4ced6ea918ef from VM ctest-vn1-vm2-82981270 2025-11-01 19:22:45,547 - INFO - Deleting VM ctest-vn1-vm2-82981270 2025-11-01 19:22:45,621 - INFO - Detaching port 5820e762-2d17-4e6c-8152-f9e6a0d6456b from VM ctest-vn1-vm1-05547747 2025-11-01 19:22:45,658 - INFO - Deleting VM ctest-vn1-vm1-05547747 2025-11-01 19:22:45,899 - DEBUG - Response for delete_port : () 2025-11-01 19:22:46,062 - DEBUG - Response for delete_port : () 2025-11-01 19:22:46,062 - INFO - Deleting VN ctest-vn1-08545592 2025-11-01 19:22:46,219 - DEBUG - Response for deleting network () 2025-11-01 19:22:46,479 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 19:22:46,479 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-01 19:22:46,479 - INFO - -------------------------------------------------------------------------------- 2025-11-01 19:22:47,267 - INFO - Deleted project: ctest-TestPorts-90936290, ID : 4289ee66-3598-48ee-9a9e-c3042b8c8322