2025-10-20 02:03:52,423 - INFO - Domain Default found not creating 2025-10-20 02:03:52,573 - INFO - Project ctest-TestPorts-38613394 not found, creating it 2025-10-20 02:03:53,027 - INFO - Created Project:ctest-TestPorts-38613394, ID : 53de5739-e8a1-4eb0-a18c-b500443b1e0b 2025-10-20 02:03:54,400 - INFO - ================================================================================ 2025-10-20 02:03:54,400 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 02:03:54,401 - 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-20 02:03:54,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-10-20 02:03:54,656 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:03:54,656 - INFO - 2025-10-20 02:03:55,195 - DEBUG - Response for create_network : {'network': {'id': '544841b1-e484-45d2-b3ef-2312e0a787e7', 'name': 'ctest-vn-65332092', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'project_id': '53de5739e8a14eb0a18cb500443b1e0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38613394', 'ctest-vn-65332092'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:03:55,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a56695a-ec83-42d3-b09d-2e0689142c74', 'name': '', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '544841b1-e484-45d2-b3ef-2312e0a787e7', 'ip_version': 4, 'cidr': '169.205.185.0/26', 'allocation_pools': [{'start': '169.205.185.2', 'end': '169.205.185.62'}], 'gateway_ip': '169.205.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.205.185.2', 'tags': [], 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:55,423 - INFO - Created VN ctest-vn-65332092 2025-10-20 02:03:55,481 - DEBUG - VN ctest-vn-65332092 UUID is 544841b1-e484-45d2-b3ef-2312e0a787e7 2025-10-20 02:03:55,585 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38613394', 'ctest-vmi-88251926']} 2025-10-20 02:03:55,849 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88251926', 'id': 'a51b3711-e3c1-4dd3-b768-1d1a7141408b', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '544841b1-e484-45d2-b3ef-2312e0a787e7', 'mac_address': '02:a5:1b:37:11:e3', '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': '169.205.185.3', 'subnet_id': '1a56695a-ec83-42d3-b09d-2e0689142c74'}], 'security_groups': ['b528086f-1f4d-48a6-878e-025de7708240'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:55,849 - DEBUG - Created port a51b3711-e3c1-4dd3-b768-1d1a7141408b 2025-10-20 02:03:55,953 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/a51b3711-e3c1-4dd3-b768-1d1a7141408b 2025-10-20 02:03:56,242 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/a51b3711-e3c1-4dd3-b768-1d1a7141408b 2025-10-20 02:03:56,271 - INFO - VMI a51b3711-e3c1-4dd3-b768-1d1a7141408b verification in API Server passed 2025-10-20 02:03:56,350 - DEBUG - Response for delete_port : () 2025-10-20 02:03:56,351 - INFO - Deleted port a51b3711-e3c1-4dd3-b768-1d1a7141408b 2025-10-20 02:03:56,351 - INFO - Deleting VN ctest-vn-65332092 2025-10-20 02:03:56,442 - DEBUG - Response for deleting network () 2025-10-20 02:03:56,702 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:03:56,702 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-20 02:03:56,702 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:03:56,706 - INFO - ================================================================================ 2025-10-20 02:03:56,706 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 02:03:56,706 - 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-20 02:03:56,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-10-20 02:03:56,991 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:03:56,991 - INFO - 2025-10-20 02:03:57,162 - DEBUG - Response for create_network : {'network': {'id': '33ebde4b-3b7b-4f37-be6c-184dd4495df4', 'name': 'ctest-vn1-04235074', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'project_id': '53de5739e8a14eb0a18cb500443b1e0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38613394', 'ctest-vn1-04235074'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:03:57,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '593d00b3-e98f-4d3b-98a8-3611ee89afaa', 'name': '', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '33ebde4b-3b7b-4f37-be6c-184dd4495df4', 'ip_version': 4, 'cidr': '41.2.167.64/26', 'allocation_pools': [{'start': '41.2.167.66', 'end': '41.2.167.126'}], 'gateway_ip': '41.2.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.2.167.66', 'tags': [], 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:57,473 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd21bd65-aad3-4149-a1ee-44658fe91431', 'name': '', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '33ebde4b-3b7b-4f37-be6c-184dd4495df4', 'ip_version': 4, 'cidr': '188.152.115.192/26', 'allocation_pools': [{'start': '188.152.115.194', 'end': '188.152.115.254'}], 'gateway_ip': '188.152.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.152.115.194', 'tags': [], 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:57,490 - INFO - Created VN ctest-vn1-04235074 2025-10-20 02:03:57,541 - DEBUG - VN ctest-vn1-04235074 UUID is 33ebde4b-3b7b-4f37-be6c-184dd4495df4 2025-10-20 02:03:57,815 - DEBUG - Response for create_port : {'port': {'name': 'bee9b5ce-602a-438b-bd56-40af5e806c54', 'id': 'bee9b5ce-602a-438b-bd56-40af5e806c54', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '33ebde4b-3b7b-4f37-be6c-184dd4495df4', 'mac_address': '02:be:e9:b5:ce:60', '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': '41.2.167.69', 'subnet_id': '593d00b3-e98f-4d3b-98a8-3611ee89afaa'}], 'security_groups': ['b528086f-1f4d-48a6-878e-025de7708240'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:57,986 - DEBUG - Response for create_port : {'port': {'name': '6ff1991c-f711-4f7c-b90d-c1a787f432d4', 'id': '6ff1991c-f711-4f7c-b90d-c1a787f432d4', 'tenant_id': '53de5739e8a14eb0a18cb500443b1e0b', 'network_id': '33ebde4b-3b7b-4f37-be6c-184dd4495df4', 'mac_address': '02:6f:f1:99:1c:f7', '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': '188.152.115.197', 'subnet_id': 'cd21bd65-aad3-4149-a1ee-44658fe91431'}], 'security_groups': ['b528086f-1f4d-48a6-878e-025de7708240'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53de5739e8a14eb0a18cb500443b1e0b'}} 2025-10-20 02:03:58,039 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:03:58,369 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:03:58,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4369-1) 2025-10-20 02:03:58,752 - INFO - Waiting for VM ctest-vn1-vm1-05604301 to be up.. 2025-10-20 02:03:58,792 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:04:03,894 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:04:03,894 - INFO - VM name : ctest-vn1-vm1-05604301 2025-10-20 02:04:03,966 - DEBUG - VM ctest-vn1-vm1-05604301 ID is 56f77f16-ebb2-46c5-8736-f4e585b4aca4 2025-10-20 02:04:03,992 - DEBUG - VM ctest-vn1-vm1-05604301 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:04:04,064 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/56f77f16-ebb2-46c5-8736-f4e585b4aca4 2025-10-20 02:04:04,074 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/bee9b5ce-602a-438b-bd56-40af5e806c54 2025-10-20 02:04:07,331 - 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 1030ms') 2025-10-20 02:04:07,331 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05604301 failed! 2025-10-20 02:04:07,389 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38613394:ctest-vn1-04235074 is 41.2.167.65 and allocation pool is NOT set 2025-10-20 02:04:07,390 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38613394:ctest-vn1-04235074 is 188.152.115.193 and allocation pool is NOT set 2025-10-20 02:04:09,452 - 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=5.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.58 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.577/3.986/5.396/1.409 ms') 2025-10-20 02:04:09,452 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-05604301 passed 2025-10-20 02:04:09,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:09,601 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05604301, IP 41.2.167.69, Port 22 2025-10-20 02:04:09,657 - 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-20 02:04:09,727 - DEBUG - VM ctest-vn1-vm1-05604301 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 02:04:14,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:14,728 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05604301, IP 41.2.167.69, Port 22 2025-10-20 02:04:14,885 - DEBUG - VM ctest-vn1-vm1-05604301 is ready for SSH connections 2025-10-20 02:04:14,885 - INFO - Waiting for VM ctest-vn1-vm2-68644893 to be up.. 2025-10-20 02:04:14,954 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:04:14,954 - INFO - VM name : ctest-vn1-vm2-68644893 2025-10-20 02:04:15,029 - DEBUG - VM ctest-vn1-vm2-68644893 ID is 97135510-2ce5-4566-b611-6ee0eca52c01 2025-10-20 02:04:15,029 - DEBUG - VM ctest-vn1-vm2-68644893 launched on Node cn-jenkins-deploy-platform-ansible-os-4369-1 2025-10-20 02:04:15,098 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/97135510-2ce5-4566-b611-6ee0eca52c01 2025-10-20 02:04:15,106 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/6ff1991c-f711-4f7c-b90d-c1a787f432d4 2025-10-20 02:04:16,338 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/1.510/2.673/1.163 ms') 2025-10-20 02:04:16,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-68644893 passed 2025-10-20 02:04:16,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:16,485 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68644893, IP 188.152.115.197, Port 22 2025-10-20 02:04:16,641 - DEBUG - VM ctest-vn1-vm2-68644893 is ready for SSH connections 2025-10-20 02:04:16,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:16,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:16,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:04:16,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.2.167.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-10-20 02:04:16,641 - DEBUG - ping -s 56 -c 3 -W 1 41.2.167.69 2025-10-20 02:04:20,338 - DEBUG - PING 41.2.167.69 (41.2.167.69): 56 data bytes 64 bytes from 41.2.167.69: seq=0 ttl=63 time=3.359 ms 64 bytes from 41.2.167.69: seq=1 ttl=63 time=0.969 ms 64 bytes from 41.2.167.69: seq=2 ttl=63 time=1.395 ms --- 41.2.167.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/1.907/3.359 ms 2025-10-20 02:04:20,338 - INFO - Ping to IP 41.2.167.69 from VM ctest-vn1-vm2-68644893 passed 2025-10-20 02:04:20,338 - INFO - Detaching port 6ff1991c-f711-4f7c-b90d-c1a787f432d4 from VM ctest-vn1-vm2-68644893 2025-10-20 02:04:20,389 - INFO - Deleting VM ctest-vn1-vm2-68644893 2025-10-20 02:04:20,473 - INFO - Detaching port bee9b5ce-602a-438b-bd56-40af5e806c54 from VM ctest-vn1-vm1-05604301 2025-10-20 02:04:20,517 - INFO - Deleting VM ctest-vn1-vm1-05604301 2025-10-20 02:04:20,734 - DEBUG - Response for delete_port : () 2025-10-20 02:04:20,873 - DEBUG - Response for delete_port : () 2025-10-20 02:04:20,874 - INFO - Deleting VN ctest-vn1-04235074 2025-10-20 02:04:20,996 - DEBUG - Response for deleting network () 2025-10-20 02:04:21,249 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:04:21,249 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-20 02:04:21,249 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:04:21,917 - INFO - Deleted project: ctest-TestPorts-38613394, ID : 53de5739-e8a1-4eb0-a18c-b500443b1e0b