2025-08-03 07:09:59,271 - INFO - Domain Default found not creating 2025-08-03 07:09:59,422 - INFO - Project ctest-TestPorts-54861855 not found, creating it 2025-08-03 07:09:59,940 - INFO - Created Project:ctest-TestPorts-54861855, ID : cac112c5-7d98-4441-9e02-1be2e39b8450 2025-08-03 07:10:01,406 - INFO - ================================================================================ 2025-08-03 07:10:01,406 - INFO - STARTING TEST : test_ports_bindings 2025-08-03 07:10:01,406 - 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-03 07:10:01,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-03 07:10:01,670 - INFO - Initial checks done. Running the testcase now 2025-08-03 07:10:01,671 - INFO - 2025-08-03 07:10:02,249 - DEBUG - Response for create_network : {'network': {'id': '0faefe91-61a7-43aa-958d-61c28d88b7e0', 'name': 'ctest-vn-66603387', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'project_id': 'cac112c57d9844419e021be2e39b8450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54861855', 'ctest-vn-66603387'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:10:02,482 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8a6e4f0-e185-4f0a-9745-d1e369d6ceab', 'name': '', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '0faefe91-61a7-43aa-958d-61c28d88b7e0', 'ip_version': 4, 'cidr': '67.216.142.0/26', 'allocation_pools': [{'start': '67.216.142.2', 'end': '67.216.142.62'}], 'gateway_ip': '67.216.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.216.142.2', 'tags': [], 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:02,504 - INFO - Created VN ctest-vn-66603387 2025-08-03 07:10:02,560 - DEBUG - VN ctest-vn-66603387 UUID is 0faefe91-61a7-43aa-958d-61c28d88b7e0 2025-08-03 07:10:02,678 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54861855', 'ctest-vmi-85937348']} 2025-08-03 07:10:02,925 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85937348', 'id': '026db7ac-4c46-417f-b874-c1239431684e', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '0faefe91-61a7-43aa-958d-61c28d88b7e0', 'mac_address': '02:02:6d:b7:ac:4c', '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': '67.216.142.3', 'subnet_id': 'c8a6e4f0-e185-4f0a-9745-d1e369d6ceab'}], 'security_groups': ['5ce444c5-c9cd-42fb-ae56-5883a5f424a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:02,926 - DEBUG - Created port 026db7ac-4c46-417f-b874-c1239431684e 2025-08-03 07:10:03,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/026db7ac-4c46-417f-b874-c1239431684e 2025-08-03 07:10:03,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/026db7ac-4c46-417f-b874-c1239431684e 2025-08-03 07:10:03,360 - INFO - VMI 026db7ac-4c46-417f-b874-c1239431684e verification in API Server passed 2025-08-03 07:10:03,457 - DEBUG - Response for delete_port : () 2025-08-03 07:10:03,457 - INFO - Deleted port 026db7ac-4c46-417f-b874-c1239431684e 2025-08-03 07:10:03,457 - INFO - Deleting VN ctest-vn-66603387 2025-08-03 07:10:03,575 - DEBUG - Response for deleting network () 2025-08-03 07:10:03,830 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 07:10:03,830 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-03 07:10:03,830 - INFO - -------------------------------------------------------------------------------- 2025-08-03 07:10:03,833 - INFO - ================================================================================ 2025-08-03 07:10:03,833 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-03 07:10:03,833 - 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-03 07:10:04,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-03 07:10:04,129 - INFO - Initial checks done. Running the testcase now 2025-08-03 07:10:04,129 - INFO - 2025-08-03 07:10:04,321 - DEBUG - Response for create_network : {'network': {'id': '4dc18a92-c122-4286-9452-fb55718de167', 'name': 'ctest-vn1-86177289', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'project_id': 'cac112c57d9844419e021be2e39b8450', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54861855', 'ctest-vn1-86177289'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:10:04,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '312314fa-b351-4717-9275-b48bb8684c15', 'name': '', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '4dc18a92-c122-4286-9452-fb55718de167', 'ip_version': 4, 'cidr': '64.28.123.64/26', 'allocation_pools': [{'start': '64.28.123.66', 'end': '64.28.123.126'}], 'gateway_ip': '64.28.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.28.123.66', 'tags': [], 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:04,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '47f9c2be-8e1d-47d9-b1b8-e9fdde97083b', 'name': '', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '4dc18a92-c122-4286-9452-fb55718de167', 'ip_version': 4, 'cidr': '93.202.20.64/26', 'allocation_pools': [{'start': '93.202.20.66', 'end': '93.202.20.126'}], 'gateway_ip': '93.202.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.202.20.66', 'tags': [], 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:04,765 - INFO - Created VN ctest-vn1-86177289 2025-08-03 07:10:04,820 - DEBUG - VN ctest-vn1-86177289 UUID is 4dc18a92-c122-4286-9452-fb55718de167 2025-08-03 07:10:05,169 - DEBUG - Response for create_port : {'port': {'name': 'ca47459a-1522-46e8-b0aa-e10ebadedf12', 'id': 'ca47459a-1522-46e8-b0aa-e10ebadedf12', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '4dc18a92-c122-4286-9452-fb55718de167', 'mac_address': '02:ca:47:45:9a:15', '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': '64.28.123.69', 'subnet_id': '312314fa-b351-4717-9275-b48bb8684c15'}], 'security_groups': ['5ce444c5-c9cd-42fb-ae56-5883a5f424a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:05,367 - DEBUG - Response for create_port : {'port': {'name': 'a30907e9-46d8-4da4-894f-298cb00d741d', 'id': 'a30907e9-46d8-4da4-894f-298cb00d741d', 'tenant_id': 'cac112c57d9844419e021be2e39b8450', 'network_id': '4dc18a92-c122-4286-9452-fb55718de167', 'mac_address': '02:a3:09:07:e9:46', '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': '93.202.20.69', 'subnet_id': '47f9c2be-8e1d-47d9-b1b8-e9fdde97083b'}], 'security_groups': ['5ce444c5-c9cd-42fb-ae56-5883a5f424a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cac112c57d9844419e021be2e39b8450'}} 2025-08-03 07:10:05,432 - DEBUG - Services list from nova: [, , ] 2025-08-03 07:10:05,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:10:06,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:10:06,181 - INFO - Waiting for VM ctest-vn1-vm1-59658913 to be up.. 2025-08-03 07:10:06,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 07:10:11,313 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:10:11,313 - INFO - VM name : ctest-vn1-vm1-59658913 2025-08-03 07:10:11,401 - DEBUG - VM ctest-vn1-vm1-59658913 ID is 9740dc0f-1dee-4237-8d0e-703f24eb5337 2025-08-03 07:10:11,422 - DEBUG - VM ctest-vn1-vm1-59658913 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:10:11,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9740dc0f-1dee-4237-8d0e-703f24eb5337 2025-08-03 07:10:11,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca47459a-1522-46e8-b0aa-e10ebadedf12 2025-08-03 07:10:14,796 - 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 1021ms') 2025-08-03 07:10:14,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59658913 failed! 2025-08-03 07:10:14,856 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54861855:ctest-vn1-86177289 is 64.28.123.65 and allocation pool is NOT set 2025-08-03 07:10:14,856 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54861855:ctest-vn1-86177289 is 93.202.20.65 and allocation pool is NOT set 2025-08-03 07:10:18,918 - 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=8.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 8.582/8.582/8.582/0.000 ms') 2025-08-03 07:10:18,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59658913 passed 2025-08-03 07:10:19,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:19,072 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59658913, IP 64.28.123.69, Port 22 2025-08-03 07:10:19,128 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-03 07:10:19,215 - DEBUG - VM ctest-vn1-vm1-59658913 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 07:10:24,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:24,216 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59658913, IP 64.28.123.69, Port 22 2025-08-03 07:10:24,371 - DEBUG - VM ctest-vn1-vm1-59658913 is ready for SSH connections 2025-08-03 07:10:24,371 - INFO - Waiting for VM ctest-vn1-vm2-04619570 to be up.. 2025-08-03 07:10:24,442 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:10:24,442 - INFO - VM name : ctest-vn1-vm2-04619570 2025-08-03 07:10:24,517 - DEBUG - VM ctest-vn1-vm2-04619570 ID is 3734f637-da45-4baf-8b3d-78228844bd0b 2025-08-03 07:10:24,518 - DEBUG - VM ctest-vn1-vm2-04619570 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:10:24,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3734f637-da45-4baf-8b3d-78228844bd0b 2025-08-03 07:10:24,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a30907e9-46d8-4da4-894f-298cb00d741d 2025-08-03 07:10:25,849 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.651/2.935/1.284 ms') 2025-08-03 07:10:25,849 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04619570 passed 2025-08-03 07:10:26,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:26,008 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04619570, IP 93.202.20.69, Port 22 2025-08-03 07:10:26,167 - DEBUG - VM ctest-vn1-vm2-04619570 is ready for SSH connections 2025-08-03 07:10:26,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:26,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:26,167 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:10:26,168 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.28.123.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:10:26,168 - DEBUG - ping -s 56 -c 3 -W 1 64.28.123.69 2025-08-03 07:10:28,839 - DEBUG - PING 64.28.123.69 (64.28.123.69): 56 data bytes 64 bytes from 64.28.123.69: seq=0 ttl=63 time=3.602 ms 64 bytes from 64.28.123.69: seq=1 ttl=63 time=0.785 ms 64 bytes from 64.28.123.69: seq=2 ttl=63 time=0.991 ms --- 64.28.123.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.792/3.602 ms 2025-08-03 07:10:28,840 - INFO - Ping to IP 64.28.123.69 from VM ctest-vn1-vm2-04619570 passed 2025-08-03 07:10:28,840 - INFO - Detaching port a30907e9-46d8-4da4-894f-298cb00d741d from VM ctest-vn1-vm2-04619570 2025-08-03 07:10:28,887 - INFO - Deleting VM ctest-vn1-vm2-04619570 2025-08-03 07:10:28,957 - INFO - Detaching port ca47459a-1522-46e8-b0aa-e10ebadedf12 from VM ctest-vn1-vm1-59658913 2025-08-03 07:10:28,994 - INFO - Deleting VM ctest-vn1-vm1-59658913 2025-08-03 07:10:29,222 - DEBUG - Response for delete_port : () 2025-08-03 07:10:29,395 - DEBUG - Response for delete_port : () 2025-08-03 07:10:29,396 - INFO - Deleting VN ctest-vn1-86177289 2025-08-03 07:10:29,539 - DEBUG - Response for deleting network () 2025-08-03 07:10:29,793 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 07:10:29,793 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-03 07:10:29,793 - INFO - -------------------------------------------------------------------------------- 2025-08-03 07:10:30,517 - INFO - Deleted project: ctest-TestPorts-54861855, ID : cac112c5-7d98-4441-9e02-1be2e39b8450