2025-10-10 03:50:30,376 - INFO - Domain Default found not creating 2025-10-10 03:50:30,545 - INFO - Project ctest-TestPorts-77723175 not found, creating it 2025-10-10 03:50:31,023 - INFO - Created Project:ctest-TestPorts-77723175, ID : 2208eb2a-63ed-4e95-b76b-c1c2c2e7b641 2025-10-10 03:50:32,426 - INFO - ================================================================================ 2025-10-10 03:50:32,427 - INFO - STARTING TEST : test_ports_bindings 2025-10-10 03:50:32,427 - 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-10 03:50:32,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-10 03:50:32,684 - INFO - Initial checks done. Running the testcase now 2025-10-10 03:50:32,684 - INFO - 2025-10-10 03:50:33,236 - DEBUG - Response for create_network : {'network': {'id': 'a39c95dc-d5c7-4171-92aa-5d0c51fcf6a9', 'name': 'ctest-vn-04834467', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77723175', 'ctest-vn-04834467'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:50:33,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '110a4c65-dc69-428d-aaa7-7adf8f32055c', 'name': '', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': 'a39c95dc-d5c7-4171-92aa-5d0c51fcf6a9', 'ip_version': 4, 'cidr': '130.238.123.0/26', 'allocation_pools': [{'start': '130.238.123.2', 'end': '130.238.123.62'}], 'gateway_ip': '130.238.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.238.123.2', 'tags': [], 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:33,447 - INFO - Created VN ctest-vn-04834467 2025-10-10 03:50:33,500 - DEBUG - VN ctest-vn-04834467 UUID is a39c95dc-d5c7-4171-92aa-5d0c51fcf6a9 2025-10-10 03:50:33,608 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77723175', 'ctest-vmi-65566049']} 2025-10-10 03:50:33,854 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-65566049', 'id': '59d89890-4bfa-453b-a343-2d99bfe78f68', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': 'a39c95dc-d5c7-4171-92aa-5d0c51fcf6a9', 'mac_address': '02:59:d8:98:90:4b', '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': '130.238.123.3', 'subnet_id': '110a4c65-dc69-428d-aaa7-7adf8f32055c'}], 'security_groups': ['c82bc54e-1dfe-4ab9-b77d-ed80b8cf8c12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:33,854 - DEBUG - Created port 59d89890-4bfa-453b-a343-2d99bfe78f68 2025-10-10 03:50:33,964 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/59d89890-4bfa-453b-a343-2d99bfe78f68 2025-10-10 03:50:34,261 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/59d89890-4bfa-453b-a343-2d99bfe78f68 2025-10-10 03:50:34,292 - INFO - VMI 59d89890-4bfa-453b-a343-2d99bfe78f68 verification in API Server passed 2025-10-10 03:50:34,378 - DEBUG - Response for delete_port : () 2025-10-10 03:50:34,378 - INFO - Deleted port 59d89890-4bfa-453b-a343-2d99bfe78f68 2025-10-10 03:50:34,378 - INFO - Deleting VN ctest-vn-04834467 2025-10-10 03:50:34,479 - DEBUG - Response for deleting network () 2025-10-10 03:50:34,732 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 03:50:34,732 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-10 03:50:34,732 - INFO - -------------------------------------------------------------------------------- 2025-10-10 03:50:34,734 - INFO - ================================================================================ 2025-10-10 03:50:34,734 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-10 03:50:34,734 - 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-10 03:50:35,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-10 03:50:35,025 - INFO - Initial checks done. Running the testcase now 2025-10-10 03:50:35,025 - INFO - 2025-10-10 03:50:35,195 - DEBUG - Response for create_network : {'network': {'id': '97650400-4303-4885-99c9-3cb7492b21dd', 'name': 'ctest-vn1-12321792', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77723175', 'ctest-vn1-12321792'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 03:50:35,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cab299f-d351-429d-b864-cfa150488de4', 'name': '', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': '97650400-4303-4885-99c9-3cb7492b21dd', 'ip_version': 4, 'cidr': '143.156.69.0/26', 'allocation_pools': [{'start': '143.156.69.2', 'end': '143.156.69.62'}], 'gateway_ip': '143.156.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.156.69.2', 'tags': [], 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:35,587 - DEBUG - Response for create_subnet : {'subnet': {'id': '7361dd1d-47fb-4e6e-8ed3-803d0d404221', 'name': '', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': '97650400-4303-4885-99c9-3cb7492b21dd', 'ip_version': 4, 'cidr': '62.170.183.128/26', 'allocation_pools': [{'start': '62.170.183.130', 'end': '62.170.183.190'}], 'gateway_ip': '62.170.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.170.183.130', 'tags': [], 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:35,606 - INFO - Created VN ctest-vn1-12321792 2025-10-10 03:50:35,660 - DEBUG - VN ctest-vn1-12321792 UUID is 97650400-4303-4885-99c9-3cb7492b21dd 2025-10-10 03:50:35,969 - DEBUG - Response for create_port : {'port': {'name': 'bda5224f-b39f-467b-b9dd-02bf4d4b9707', 'id': 'bda5224f-b39f-467b-b9dd-02bf4d4b9707', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': '97650400-4303-4885-99c9-3cb7492b21dd', 'mac_address': '02:bd:a5:22:4f:b3', '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': '143.156.69.5', 'subnet_id': '7cab299f-d351-429d-b864-cfa150488de4'}], 'security_groups': ['c82bc54e-1dfe-4ab9-b77d-ed80b8cf8c12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:36,152 - DEBUG - Response for create_port : {'port': {'name': '2dbed371-02d6-46fd-9518-f832c606e41c', 'id': '2dbed371-02d6-46fd-9518-f832c606e41c', 'tenant_id': '2208eb2a63ed4e95b76bc1c2c2e7b641', 'network_id': '97650400-4303-4885-99c9-3cb7492b21dd', 'mac_address': '02:2d:be:d3:71:02', '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': '62.170.183.133', 'subnet_id': '7361dd1d-47fb-4e6e-8ed3-803d0d404221'}], 'security_groups': ['c82bc54e-1dfe-4ab9-b77d-ed80b8cf8c12'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2208eb2a63ed4e95b76bc1c2c2e7b641'}} 2025-10-10 03:50:36,208 - DEBUG - Services list from nova: [, , ] 2025-10-10 03:50:36,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:50:36,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4283-1) 2025-10-10 03:50:36,936 - INFO - Waiting for VM ctest-vn1-vm1-15685435 to be up.. 2025-10-10 03:50:36,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 03:50:42,051 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:50:42,051 - INFO - VM name : ctest-vn1-vm1-15685435 2025-10-10 03:50:42,274 - DEBUG - VM ctest-vn1-vm1-15685435 ID is 4719fff6-19bd-46ff-abac-2a3037c91b52 2025-10-10 03:50:42,293 - DEBUG - VM ctest-vn1-vm1-15685435 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:50:42,371 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4719fff6-19bd-46ff-abac-2a3037c91b52 2025-10-10 03:50:42,380 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bda5224f-b39f-467b-b9dd-02bf4d4b9707 2025-10-10 03:50:45,622 - 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 1003ms') 2025-10-10 03:50:45,622 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-15685435 failed! 2025-10-10 03:50:45,680 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77723175:ctest-vn1-12321792 is 143.156.69.1 and allocation pool is NOT set 2025-10-10 03:50:45,680 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77723175:ctest-vn1-12321792 is 62.170.183.129 and allocation pool is NOT set 2025-10-10 03:50:47,740 - 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=12.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.731/6.856/11.981/5.125 ms') 2025-10-10 03:50:47,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-15685435 passed 2025-10-10 03:50:47,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:50:47,904 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15685435, IP 143.156.69.5, Port 22 2025-10-10 03:50:48,069 - DEBUG - VM ctest-vn1-vm1-15685435 is ready for SSH connections 2025-10-10 03:50:48,069 - INFO - Waiting for VM ctest-vn1-vm2-92288225 to be up.. 2025-10-10 03:50:48,155 - DEBUG - VM is in ACTIVE state now 2025-10-10 03:50:48,155 - INFO - VM name : ctest-vn1-vm2-92288225 2025-10-10 03:50:48,230 - DEBUG - VM ctest-vn1-vm2-92288225 ID is ba171ed0-40bd-4bfa-83c5-e5ac76920f6d 2025-10-10 03:50:48,230 - DEBUG - VM ctest-vn1-vm2-92288225 launched on Node cn-jenkins-deploy-platform-ansible-os-4283-1 2025-10-10 03:50:48,310 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba171ed0-40bd-4bfa-83c5-e5ac76920f6d 2025-10-10 03:50:48,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2dbed371-02d6-46fd-9518-f832c606e41c 2025-10-10 03:50:49,556 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.430 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.430/1.727/3.024/1.297 ms') 2025-10-10 03:50:49,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-92288225 passed 2025-10-10 03:50:49,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:50:49,708 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-92288225, IP 62.170.183.133, Port 22 2025-10-10 03:50:49,864 - DEBUG - VM ctest-vn1-vm2-92288225 is ready for SSH connections 2025-10-10 03:50:49,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:50:49,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:50:49,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 03:50:49,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.156.69.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-10 03:50:49,864 - DEBUG - ping -s 56 -c 3 -W 1 143.156.69.5 2025-10-10 03:50:53,545 - DEBUG - PING 143.156.69.5 (143.156.69.5): 56 data bytes 64 bytes from 143.156.69.5: seq=0 ttl=63 time=3.660 ms 64 bytes from 143.156.69.5: seq=1 ttl=63 time=1.107 ms 64 bytes from 143.156.69.5: seq=2 ttl=63 time=1.186 ms --- 143.156.69.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.107/1.984/3.660 ms 2025-10-10 03:50:53,545 - INFO - Ping to IP 143.156.69.5 from VM ctest-vn1-vm2-92288225 passed 2025-10-10 03:50:53,545 - INFO - Detaching port 2dbed371-02d6-46fd-9518-f832c606e41c from VM ctest-vn1-vm2-92288225 2025-10-10 03:50:53,591 - INFO - Deleting VM ctest-vn1-vm2-92288225 2025-10-10 03:50:53,681 - INFO - Detaching port bda5224f-b39f-467b-b9dd-02bf4d4b9707 from VM ctest-vn1-vm1-15685435 2025-10-10 03:50:53,716 - INFO - Deleting VM ctest-vn1-vm1-15685435 2025-10-10 03:50:53,959 - DEBUG - Response for delete_port : () 2025-10-10 03:50:54,125 - DEBUG - Response for delete_port : () 2025-10-10 03:50:54,125 - INFO - Deleting VN ctest-vn1-12321792 2025-10-10 03:50:54,291 - DEBUG - Response for deleting network () 2025-10-10 03:50:54,546 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 03:50:54,546 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20] 2025-10-10 03:50:54,546 - INFO - -------------------------------------------------------------------------------- 2025-10-10 03:50:55,206 - INFO - Deleted project: ctest-TestPorts-77723175, ID : 2208eb2a-63ed-4e95-b76b-c1c2c2e7b641