2025-10-13 16:46:14,143 - INFO - Domain Default found not creating 2025-10-13 16:46:14,303 - INFO - Project ctest-TestPorts-63718672 not found, creating it 2025-10-13 16:46:14,777 - INFO - Created Project:ctest-TestPorts-63718672, ID : 4068cb7a-2e6f-4be3-8dbb-97cebeba1d56 2025-10-13 16:46:16,193 - INFO - ================================================================================ 2025-10-13 16:46:16,194 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 16:46:16,194 - 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-13 16:46:16,455 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.210': '0'}} with 2025-10-13 16:46:16,455 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:46:16,455 - INFO - 2025-10-13 16:46:17,146 - DEBUG - Response for create_network : {'network': {'id': '6ad9e285-3815-4b89-9259-bfa20e6fed81', 'name': 'ctest-vn-45385361', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63718672', 'ctest-vn-45385361'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:46:17,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '55573ed2-6002-4e3d-b5b2-cccff94df4ae', 'name': '', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': '6ad9e285-3815-4b89-9259-bfa20e6fed81', 'ip_version': 4, 'cidr': '100.157.1.192/26', 'allocation_pools': [{'start': '100.157.1.194', 'end': '100.157.1.254'}], 'gateway_ip': '100.157.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.157.1.194', 'tags': [], 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:17,354 - INFO - Created VN ctest-vn-45385361 2025-10-13 16:46:17,406 - DEBUG - VN ctest-vn-45385361 UUID is 6ad9e285-3815-4b89-9259-bfa20e6fed81 2025-10-13 16:46:17,537 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63718672', 'ctest-vmi-45314878']} 2025-10-13 16:46:17,802 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45314878', 'id': '5fe4422d-8d7a-4f79-9f86-37a493e5f6b0', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': '6ad9e285-3815-4b89-9259-bfa20e6fed81', 'mac_address': '02:5f:e4:42:2d:8d', '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': '100.157.1.195', 'subnet_id': '55573ed2-6002-4e3d-b5b2-cccff94df4ae'}], 'security_groups': ['87228392-24ec-4d85-9715-4b2afcd78ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:17,802 - DEBUG - Created port 5fe4422d-8d7a-4f79-9f86-37a493e5f6b0 2025-10-13 16:46:17,906 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5fe4422d-8d7a-4f79-9f86-37a493e5f6b0 2025-10-13 16:46:18,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5fe4422d-8d7a-4f79-9f86-37a493e5f6b0 2025-10-13 16:46:18,237 - INFO - VMI 5fe4422d-8d7a-4f79-9f86-37a493e5f6b0 verification in API Server passed 2025-10-13 16:46:18,330 - DEBUG - Response for delete_port : () 2025-10-13 16:46:18,330 - INFO - Deleted port 5fe4422d-8d7a-4f79-9f86-37a493e5f6b0 2025-10-13 16:46:18,331 - INFO - Deleting VN ctest-vn-45385361 2025-10-13 16:46:18,442 - DEBUG - Response for deleting network () 2025-10-13 16:46:18,707 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:46:18,707 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-13 16:46:18,707 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:46:18,710 - INFO - ================================================================================ 2025-10-13 16:46:18,710 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 16:46:18,710 - 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-13 16:46:19,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.210': '0'}} with 2025-10-13 16:46:19,005 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:46:19,005 - INFO - 2025-10-13 16:46:19,181 - DEBUG - Response for create_network : {'network': {'id': 'acdb8a69-5f94-49ce-88af-69e8e6be5acc', 'name': 'ctest-vn1-47213050', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63718672', 'ctest-vn1-47213050'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:46:19,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '74f6f75a-193e-4a64-9ea8-159973381a8b', 'name': '', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': 'acdb8a69-5f94-49ce-88af-69e8e6be5acc', 'ip_version': 4, 'cidr': '15.64.11.0/26', 'allocation_pools': [{'start': '15.64.11.2', 'end': '15.64.11.62'}], 'gateway_ip': '15.64.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.64.11.2', 'tags': [], 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:19,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '698413d8-40a6-4b25-85c4-b67a3d17fa6f', 'name': '', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': 'acdb8a69-5f94-49ce-88af-69e8e6be5acc', 'ip_version': 4, 'cidr': '38.231.14.192/26', 'allocation_pools': [{'start': '38.231.14.194', 'end': '38.231.14.254'}], 'gateway_ip': '38.231.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.231.14.194', 'tags': [], 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:19,530 - INFO - Created VN ctest-vn1-47213050 2025-10-13 16:46:19,582 - DEBUG - VN ctest-vn1-47213050 UUID is acdb8a69-5f94-49ce-88af-69e8e6be5acc 2025-10-13 16:46:19,884 - DEBUG - Response for create_port : {'port': {'name': 'cbd66277-ef33-4a31-ba62-3064225ce68f', 'id': 'cbd66277-ef33-4a31-ba62-3064225ce68f', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': 'acdb8a69-5f94-49ce-88af-69e8e6be5acc', 'mac_address': '02:cb:d6:62:77:ef', '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': '15.64.11.5', 'subnet_id': '74f6f75a-193e-4a64-9ea8-159973381a8b'}], 'security_groups': ['87228392-24ec-4d85-9715-4b2afcd78ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:20,052 - DEBUG - Response for create_port : {'port': {'name': '455c740b-cbf6-4fd7-a3e5-94c4aaab3442', 'id': '455c740b-cbf6-4fd7-a3e5-94c4aaab3442', 'tenant_id': '4068cb7a2e6f4be38dbb97cebeba1d56', 'network_id': 'acdb8a69-5f94-49ce-88af-69e8e6be5acc', 'mac_address': '02:45:5c:74:0b:cb', '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': '38.231.14.197', 'subnet_id': '698413d8-40a6-4b25-85c4-b67a3d17fa6f'}], 'security_groups': ['87228392-24ec-4d85-9715-4b2afcd78ee8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4068cb7a2e6f4be38dbb97cebeba1d56'}} 2025-10-13 16:46:20,116 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:46:20,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:46:20,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:46:20,869 - INFO - Waiting for VM ctest-vn1-vm1-05207724 to be up.. 2025-10-13 16:46:20,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:46:25,988 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:46:25,988 - INFO - VM name : ctest-vn1-vm1-05207724 2025-10-13 16:46:26,060 - DEBUG - VM ctest-vn1-vm1-05207724 ID is 532482b2-8354-4658-8ee1-feff2af9f98c 2025-10-13 16:46:26,081 - DEBUG - VM ctest-vn1-vm1-05207724 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:46:26,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/532482b2-8354-4658-8ee1-feff2af9f98c 2025-10-13 16:46:26,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cbd66277-ef33-4a31-ba62-3064225ce68f 2025-10-13 16:46:29,422 - 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 1029ms') 2025-10-13 16:46:29,423 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05207724 failed! 2025-10-13 16:46:29,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63718672:ctest-vn1-47213050 is 15.64.11.1 and allocation pool is NOT set 2025-10-13 16:46:29,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63718672:ctest-vn1-47213050 is 38.231.14.193 and allocation pool is NOT set 2025-10-13 16:46:31,539 - 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=8.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 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 = 2.704/5.376/8.049/2.672 ms') 2025-10-13 16:46:31,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05207724 passed 2025-10-13 16:46:31,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:31,694 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05207724, IP 15.64.11.5, Port 22 2025-10-13 16:46:31,750 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-13 16:46:31,825 - DEBUG - VM ctest-vn1-vm1-05207724 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 16:46:36,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:36,826 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05207724, IP 15.64.11.5, Port 22 2025-10-13 16:46:36,981 - DEBUG - VM ctest-vn1-vm1-05207724 is ready for SSH connections 2025-10-13 16:46:36,981 - INFO - Waiting for VM ctest-vn1-vm2-04074660 to be up.. 2025-10-13 16:46:37,054 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:46:37,054 - INFO - VM name : ctest-vn1-vm2-04074660 2025-10-13 16:46:37,140 - DEBUG - VM ctest-vn1-vm2-04074660 ID is 02d43f2a-507c-4a1d-84e6-fae4694ada16 2025-10-13 16:46:37,140 - DEBUG - VM ctest-vn1-vm2-04074660 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:46:37,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/02d43f2a-507c-4a1d-84e6-fae4694ada16 2025-10-13 16:46:37,223 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/455c740b-cbf6-4fd7-a3e5-94c4aaab3442 2025-10-13 16:46:38,462 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.716/2.980/1.263 ms') 2025-10-13 16:46:38,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-04074660 passed 2025-10-13 16:46:38,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:38,610 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04074660, IP 38.231.14.197, Port 22 2025-10-13 16:46:38,776 - DEBUG - VM ctest-vn1-vm2-04074660 is ready for SSH connections 2025-10-13 16:46:38,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:38,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:38,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:46:38,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.64.11.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:46:38,776 - DEBUG - ping -s 56 -c 3 -W 1 15.64.11.5 2025-10-13 16:46:42,478 - DEBUG - PING 15.64.11.5 (15.64.11.5): 56 data bytes 64 bytes from 15.64.11.5: seq=0 ttl=63 time=4.112 ms 64 bytes from 15.64.11.5: seq=1 ttl=63 time=1.300 ms 64 bytes from 15.64.11.5: seq=2 ttl=63 time=0.918 ms --- 15.64.11.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.110/4.112 ms 2025-10-13 16:46:42,478 - INFO - Ping to IP 15.64.11.5 from VM ctest-vn1-vm2-04074660 passed 2025-10-13 16:46:42,479 - INFO - Detaching port 455c740b-cbf6-4fd7-a3e5-94c4aaab3442 from VM ctest-vn1-vm2-04074660 2025-10-13 16:46:42,542 - INFO - Deleting VM ctest-vn1-vm2-04074660 2025-10-13 16:46:42,624 - INFO - Detaching port cbd66277-ef33-4a31-ba62-3064225ce68f from VM ctest-vn1-vm1-05207724 2025-10-13 16:46:42,658 - INFO - Deleting VM ctest-vn1-vm1-05207724 2025-10-13 16:46:42,876 - DEBUG - Response for delete_port : () 2025-10-13 16:46:43,031 - DEBUG - Response for delete_port : () 2025-10-13 16:46:43,031 - INFO - Deleting VN ctest-vn1-47213050 2025-10-13 16:46:43,156 - DEBUG - Response for deleting network () 2025-10-13 16:46:43,417 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:46:43,417 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-13 16:46:43,418 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:46:44,079 - INFO - Deleted project: ctest-TestPorts-63718672, ID : 4068cb7a-2e6f-4be3-8dbb-97cebeba1d56