2025-12-22 02:17:22,389 - INFO - Domain Default found not creating
2025-12-22 02:17:22,566 - INFO - Project ctest-TestPorts-55944663 not found, creating it
2025-12-22 02:17:23,039 - INFO - Created Project:ctest-TestPorts-55944663, ID : dae443bd-aa2f-4bf5-aaa0-10d28d0ace70
2025-12-22 02:17:24,574 - INFO - ================================================================================
2025-12-22 02:17:24,575 - INFO - STARTING TEST : test_ports_bindings
2025-12-22 02:17:24,575 - 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-12-22 02:17:24,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.242': '0'}} with
2025-12-22 02:17:24,834 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:17:24,834 - INFO -
2025-12-22 02:17:25,419 - DEBUG - Response for create_network : {'network': {'id': '565942a8-1bd2-4305-b841-fb27cbdb63ae', 'name': 'ctest-vn-09179297', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55944663', 'ctest-vn-09179297'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:17:25,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bcc7e35-a013-4f0c-b39a-61e9af2c5d8f', 'name': '', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': '565942a8-1bd2-4305-b841-fb27cbdb63ae', 'ip_version': 4, 'cidr': '65.81.238.0/26', 'allocation_pools': [{'start': '65.81.238.2', 'end': '65.81.238.62'}], 'gateway_ip': '65.81.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.81.238.2', 'tags': [], 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:25,651 - INFO - Created VN ctest-vn-09179297
2025-12-22 02:17:25,703 - DEBUG - VN ctest-vn-09179297 UUID is 565942a8-1bd2-4305-b841-fb27cbdb63ae
2025-12-22 02:17:25,812 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55944663', 'ctest-vmi-34347778']}
2025-12-22 02:17:26,061 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34347778', 'id': '516c9599-5c1d-4736-b365-fa0cea498215', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': '565942a8-1bd2-4305-b841-fb27cbdb63ae', 'mac_address': '02:51:6c:95:99:5c', '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': '65.81.238.3', 'subnet_id': '8bcc7e35-a013-4f0c-b39a-61e9af2c5d8f'}], 'security_groups': ['9622f8d0-b398-4bf7-8a6e-7363a01f793e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:26,061 - DEBUG - Created port 516c9599-5c1d-4736-b365-fa0cea498215
2025-12-22 02:17:26,169 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/516c9599-5c1d-4736-b365-fa0cea498215
2025-12-22 02:17:26,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/516c9599-5c1d-4736-b365-fa0cea498215
2025-12-22 02:17:26,529 - INFO - VMI 516c9599-5c1d-4736-b365-fa0cea498215 verification in API Server passed
2025-12-22 02:17:26,634 - DEBUG - Response for delete_port : ()
2025-12-22 02:17:26,634 - INFO - Deleted port 516c9599-5c1d-4736-b365-fa0cea498215
2025-12-22 02:17:26,634 - INFO - Deleting VN ctest-vn-09179297
2025-12-22 02:17:26,737 - DEBUG - Response for deleting network ()
2025-12-22 02:17:26,992 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:17:26,993 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-22 02:17:26,993 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:17:26,995 - INFO - ================================================================================
2025-12-22 02:17:26,995 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-22 02:17:26,995 - 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-12-22 02:17:27,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.242': '0'}} with
2025-12-22 02:17:27,295 - INFO - Initial checks done. Running the testcase now
2025-12-22 02:17:27,295 - INFO -
2025-12-22 02:17:27,477 - DEBUG - Response for create_network : {'network': {'id': 'ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab', 'name': 'ctest-vn1-44540490', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55944663', 'ctest-vn1-44540490'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 02:17:27,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec7cf2fe-4b3c-4ac9-b0e1-23492e0b74af', 'name': '', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': 'ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab', 'ip_version': 4, 'cidr': '201.32.151.0/26', 'allocation_pools': [{'start': '201.32.151.2', 'end': '201.32.151.62'}], 'gateway_ip': '201.32.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.32.151.2', 'tags': [], 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:27,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f79dac4-9e1d-4716-a5fb-660feb535305', 'name': '', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': 'ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab', 'ip_version': 4, 'cidr': '175.67.196.64/26', 'allocation_pools': [{'start': '175.67.196.66', 'end': '175.67.196.126'}], 'gateway_ip': '175.67.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.67.196.66', 'tags': [], 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:27,883 - INFO - Created VN ctest-vn1-44540490
2025-12-22 02:17:27,935 - DEBUG - VN ctest-vn1-44540490 UUID is ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab
2025-12-22 02:17:28,241 - DEBUG - Response for create_port : {'port': {'name': '40c99ecc-d1db-4e95-bc02-e6ebce94d7aa', 'id': '40c99ecc-d1db-4e95-bc02-e6ebce94d7aa', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': 'ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab', 'mac_address': '02:40:c9:9e:cc:d1', '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': '201.32.151.5', 'subnet_id': 'ec7cf2fe-4b3c-4ac9-b0e1-23492e0b74af'}], 'security_groups': ['9622f8d0-b398-4bf7-8a6e-7363a01f793e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:28,419 - DEBUG - Response for create_port : {'port': {'name': 'ceb1ae4e-8941-4243-9c00-0ee1362438ca', 'id': 'ceb1ae4e-8941-4243-9c00-0ee1362438ca', 'tenant_id': 'dae443bdaa2f4bf5aaa010d28d0ace70', 'network_id': 'ccbe66e5-d9c7-45ac-8244-9c67fda7b6ab', 'mac_address': '02:ce:b1:ae:4e:89', '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': '175.67.196.69', 'subnet_id': '5f79dac4-9e1d-4716-a5fb-660feb535305'}], 'security_groups': ['9622f8d0-b398-4bf7-8a6e-7363a01f793e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dae443bdaa2f4bf5aaa010d28d0ace70'}}
2025-12-22 02:17:28,482 - DEBUG - Services list from nova: [, , ]
2025-12-22 02:17:28,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1)
2025-12-22 02:17:29,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4915-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4915-1)
2025-12-22 02:17:29,310 - INFO - Waiting for VM ctest-vn1-vm1-79260951 to be up..
2025-12-22 02:17:29,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 02:17:34,427 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:17:34,427 - INFO - VM name : ctest-vn1-vm1-79260951
2025-12-22 02:17:34,514 - DEBUG - VM ctest-vn1-vm1-79260951 ID is cb89083b-326e-4ee2-aa8f-2ea0da916339
2025-12-22 02:17:34,534 - DEBUG - VM ctest-vn1-vm1-79260951 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1
2025-12-22 02:17:34,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cb89083b-326e-4ee2-aa8f-2ea0da916339
2025-12-22 02:17:34,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/40c99ecc-d1db-4e95-bc02-e6ebce94d7aa
2025-12-22 02:17:37,870 - 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 1003ms')
2025-12-22 02:17:37,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79260951 failed!
2025-12-22 02:17:37,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55944663:ctest-vn1-44540490 is 201.32.151.1 and allocation pool is NOT set
2025-12-22 02:17:37,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55944663:ctest-vn1-44540490 is 175.67.196.65 and allocation pool is NOT set
2025-12-22 02:17:39,986 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.019/6.725/10.431/3.706 ms')
2025-12-22 02:17:39,986 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79260951 passed
2025-12-22 02:17:40,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:17:40,135 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79260951, IP 201.32.151.5, Port 22
2025-12-22 02:17:40,307 - DEBUG - VM ctest-vn1-vm1-79260951 is ready for SSH connections
2025-12-22 02:17:40,307 - INFO - Waiting for VM ctest-vn1-vm2-77065881 to be up..
2025-12-22 02:17:40,387 - DEBUG - VM is in ACTIVE state now
2025-12-22 02:17:40,387 - INFO - VM name : ctest-vn1-vm2-77065881
2025-12-22 02:17:40,473 - DEBUG - VM ctest-vn1-vm2-77065881 ID is 9fd50df0-031a-41e4-9f4d-0bd998fadf77
2025-12-22 02:17:40,474 - DEBUG - VM ctest-vn1-vm2-77065881 launched on Node cn-jenkins-deploy-platform-ansible-os-4915-1
2025-12-22 02:17:40,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9fd50df0-031a-41e4-9f4d-0bd998fadf77
2025-12-22 02:17:40,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ceb1ae4e-8941-4243-9c00-0ee1362438ca
2025-12-22 02:17:41,809 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.836 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.836/1.850/2.865/1.014 ms')
2025-12-22 02:17:41,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77065881 passed
2025-12-22 02:17:41,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:17:41,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77065881, IP 175.67.196.69, Port 22
2025-12-22 02:17:42,130 - DEBUG - VM ctest-vn1-vm2-77065881 is ready for SSH connections
2025-12-22 02:17:42,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:17:42,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:17:42,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 02:17:42,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.32.151.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-22 02:17:42,130 - DEBUG - ping -s 56 -c 3 -W 1 201.32.151.5
2025-12-22 02:17:44,821 - DEBUG - PING 201.32.151.5 (201.32.151.5): 56 data bytes
64 bytes from 201.32.151.5: seq=0 ttl=63 time=4.427 ms
64 bytes from 201.32.151.5: seq=1 ttl=63 time=0.909 ms
64 bytes from 201.32.151.5: seq=2 ttl=63 time=1.408 ms
--- 201.32.151.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.909/2.248/4.427 ms
2025-12-22 02:17:44,821 - INFO - Ping to IP 201.32.151.5 from VM ctest-vn1-vm2-77065881 passed
2025-12-22 02:17:44,821 - INFO - Detaching port ceb1ae4e-8941-4243-9c00-0ee1362438ca from VM ctest-vn1-vm2-77065881
2025-12-22 02:17:44,874 - INFO - Deleting VM ctest-vn1-vm2-77065881
2025-12-22 02:17:44,950 - INFO - Detaching port 40c99ecc-d1db-4e95-bc02-e6ebce94d7aa from VM ctest-vn1-vm1-79260951
2025-12-22 02:17:44,990 - INFO - Deleting VM ctest-vn1-vm1-79260951
2025-12-22 02:17:45,382 - DEBUG - Response for delete_port : ()
2025-12-22 02:17:45,581 - DEBUG - Response for delete_port : ()
2025-12-22 02:17:45,581 - INFO - Deleting VN ctest-vn1-44540490
2025-12-22 02:17:45,740 - DEBUG - Response for deleting network ()
2025-12-22 02:17:45,998 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:17:45,998 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-12-22 02:17:45,998 - INFO - --------------------------------------------------------------------------------
2025-12-22 02:17:46,692 - INFO - Deleted project: ctest-TestPorts-55944663, ID : dae443bd-aa2f-4bf5-aaa0-10d28d0ace70