2025-08-15 08:14:04,402 - INFO - Domain Default found not creating
2025-08-15 08:14:04,545 - INFO - Project ctest-TestPorts-80057211 not found, creating it
2025-08-15 08:14:05,007 - INFO - Created Project:ctest-TestPorts-80057211, ID : 1434366f-9a6e-4195-b5a6-a7d612c9c567
2025-08-15 08:14:06,560 - INFO - ================================================================================
2025-08-15 08:14:06,560 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 08:14:06,560 - 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-15 08:14:06,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2025-08-15 08:14:06,817 - INFO - Initial checks done. Running the testcase now
2025-08-15 08:14:06,817 - INFO -
2025-08-15 08:14:07,463 - DEBUG - Response for create_network : {'network': {'id': '17617676-54cb-45ff-ad5c-b98acce27f7d', 'name': 'ctest-vn-08465728', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'project_id': '1434366f9a6e4195b5a6a7d612c9c567', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80057211', 'ctest-vn-08465728'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 08:14:07,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '58bf7653-43e0-4313-a617-07584581dd37', 'name': '', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '17617676-54cb-45ff-ad5c-b98acce27f7d', 'ip_version': 4, 'cidr': '72.161.158.192/26', 'allocation_pools': [{'start': '72.161.158.194', 'end': '72.161.158.254'}], 'gateway_ip': '72.161.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.161.158.194', 'tags': [], 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:07,693 - INFO - Created VN ctest-vn-08465728
2025-08-15 08:14:07,748 - DEBUG - VN ctest-vn-08465728 UUID is 17617676-54cb-45ff-ad5c-b98acce27f7d
2025-08-15 08:14:07,850 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-80057211', 'ctest-vmi-83979555']}
2025-08-15 08:14:08,114 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-83979555', 'id': '3c47a628-0e38-4d53-81b9-62a324968ed4', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '17617676-54cb-45ff-ad5c-b98acce27f7d', 'mac_address': '02:3c:47:a6:28:0e', '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': '72.161.158.195', 'subnet_id': '58bf7653-43e0-4313-a617-07584581dd37'}], 'security_groups': ['6ad16e99-53f9-42b8-bd94-97a158804397'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:08,114 - DEBUG - Created port 3c47a628-0e38-4d53-81b9-62a324968ed4
2025-08-15 08:14:08,220 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3c47a628-0e38-4d53-81b9-62a324968ed4
2025-08-15 08:14:08,550 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/3c47a628-0e38-4d53-81b9-62a324968ed4
2025-08-15 08:14:08,582 - INFO - VMI 3c47a628-0e38-4d53-81b9-62a324968ed4 verification in API Server passed
2025-08-15 08:14:08,666 - DEBUG - Response for delete_port : ()
2025-08-15 08:14:08,666 - INFO - Deleted port 3c47a628-0e38-4d53-81b9-62a324968ed4
2025-08-15 08:14:08,666 - INFO - Deleting VN ctest-vn-08465728
2025-08-15 08:14:08,763 - DEBUG - Response for deleting network ()
2025-08-15 08:14:09,018 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:14:09,018 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-15 08:14:09,019 - INFO - --------------------------------------------------------------------------------
2025-08-15 08:14:09,021 - INFO - ================================================================================
2025-08-15 08:14:09,021 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 08:14:09,022 - 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-15 08:14:09,306 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2025-08-15 08:14:09,306 - INFO - Initial checks done. Running the testcase now
2025-08-15 08:14:09,306 - INFO -
2025-08-15 08:14:09,479 - DEBUG - Response for create_network : {'network': {'id': '0abe771b-a98f-4177-a615-40ffdc1568b4', 'name': 'ctest-vn1-58961677', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'project_id': '1434366f9a6e4195b5a6a7d612c9c567', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-80057211', 'ctest-vn1-58961677'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 08:14:09,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '67ac9f86-b3ba-453c-8cca-8eea68095e16', 'name': '', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '0abe771b-a98f-4177-a615-40ffdc1568b4', 'ip_version': 4, 'cidr': '22.50.125.64/26', 'allocation_pools': [{'start': '22.50.125.66', 'end': '22.50.125.126'}], 'gateway_ip': '22.50.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.50.125.66', 'tags': [], 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:09,879 - DEBUG - Response for create_subnet : {'subnet': {'id': '1928b427-cf33-4114-9d76-653e479f009f', 'name': '', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '0abe771b-a98f-4177-a615-40ffdc1568b4', 'ip_version': 4, 'cidr': '94.91.23.64/26', 'allocation_pools': [{'start': '94.91.23.66', 'end': '94.91.23.126'}], 'gateway_ip': '94.91.23.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.91.23.66', 'tags': [], 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:09,898 - INFO - Created VN ctest-vn1-58961677
2025-08-15 08:14:09,952 - DEBUG - VN ctest-vn1-58961677 UUID is 0abe771b-a98f-4177-a615-40ffdc1568b4
2025-08-15 08:14:10,275 - DEBUG - Response for create_port : {'port': {'name': '87aa4ff7-693b-47b3-bb1a-8a407c370700', 'id': '87aa4ff7-693b-47b3-bb1a-8a407c370700', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '0abe771b-a98f-4177-a615-40ffdc1568b4', 'mac_address': '02:87:aa:4f:f7:69', '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': '22.50.125.69', 'subnet_id': '67ac9f86-b3ba-453c-8cca-8eea68095e16'}], 'security_groups': ['6ad16e99-53f9-42b8-bd94-97a158804397'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:10,463 - DEBUG - Response for create_port : {'port': {'name': 'ce4fb777-1e97-4dae-a7c6-e2cf4f058bf2', 'id': 'ce4fb777-1e97-4dae-a7c6-e2cf4f058bf2', 'tenant_id': '1434366f9a6e4195b5a6a7d612c9c567', 'network_id': '0abe771b-a98f-4177-a615-40ffdc1568b4', 'mac_address': '02:ce:4f:b7:77:1e', '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': '94.91.23.69', 'subnet_id': '1928b427-cf33-4114-9d76-653e479f009f'}], 'security_groups': ['6ad16e99-53f9-42b8-bd94-97a158804397'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1434366f9a6e4195b5a6a7d612c9c567'}}
2025-08-15 08:14:10,520 - DEBUG - Services list from nova: [, , ]
2025-08-15 08:14:10,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1)
2025-08-15 08:14:11,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1)
2025-08-15 08:14:11,286 - INFO - Waiting for VM ctest-vn1-vm1-68802608 to be up..
2025-08-15 08:14:11,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 08:14:16,420 - DEBUG - VM is in ACTIVE state now
2025-08-15 08:14:16,420 - INFO - VM name : ctest-vn1-vm1-68802608
2025-08-15 08:14:16,501 - DEBUG - VM ctest-vn1-vm1-68802608 ID is bfbf05da-13eb-4b31-966c-6e3b6bf1dfe7
2025-08-15 08:14:16,521 - DEBUG - VM ctest-vn1-vm1-68802608 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1
2025-08-15 08:14:16,596 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bfbf05da-13eb-4b31-966c-6e3b6bf1dfe7
2025-08-15 08:14:16,604 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/87aa4ff7-693b-47b3-bb1a-8a407c370700
2025-08-15 08:14:19,863 - 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 1014ms')
2025-08-15 08:14:19,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68802608 failed!
2025-08-15 08:14:19,924 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80057211:ctest-vn1-58961677 is 22.50.125.65 and allocation pool is NOT set
2025-08-15 08:14:19,924 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-80057211:ctest-vn1-58961677 is 94.91.23.65 and allocation pool is NOT set
2025-08-15 08:14:23,987 - 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=5.21 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.211/5.211/5.211/0.000 ms')
2025-08-15 08:14:23,987 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68802608 passed
2025-08-15 08:14:24,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 08:14:24,144 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68802608, IP 22.50.125.69, Port 22
2025-08-15 08:14:24,303 - DEBUG - VM ctest-vn1-vm1-68802608 is ready for SSH connections
2025-08-15 08:14:24,303 - INFO - Waiting for VM ctest-vn1-vm2-79077720 to be up..
2025-08-15 08:14:24,375 - DEBUG - VM is in ACTIVE state now
2025-08-15 08:14:24,375 - INFO - VM name : ctest-vn1-vm2-79077720
2025-08-15 08:14:24,447 - DEBUG - VM ctest-vn1-vm2-79077720 ID is fac705e7-6ca7-49b3-ae21-3a97c67770d6
2025-08-15 08:14:24,447 - DEBUG - VM ctest-vn1-vm2-79077720 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1
2025-08-15 08:14:24,519 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fac705e7-6ca7-49b3-ae21-3a97c67770d6
2025-08-15 08:14:24,529 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ce4fb777-1e97-4dae-a7c6-e2cf4f058bf2
2025-08-15 08:14:25,771 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 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.323/1.563/2.804/1.240 ms')
2025-08-15 08:14:25,771 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79077720 passed
2025-08-15 08:14:25,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 08:14:25,920 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79077720, IP 94.91.23.69, Port 22
2025-08-15 08:14:26,075 - DEBUG - VM ctest-vn1-vm2-79077720 is ready for SSH connections
2025-08-15 08:14:26,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 08:14:26,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 08:14:26,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 08:14:26,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.50.125.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-08-15 08:14:26,076 - DEBUG - ping -s 56 -c 3 -W 1 22.50.125.69
2025-08-15 08:14:29,071 - DEBUG - PING 22.50.125.69 (22.50.125.69): 56 data bytes
64 bytes from 22.50.125.69: seq=0 ttl=63 time=3.854 ms
64 bytes from 22.50.125.69: seq=1 ttl=63 time=1.007 ms
64 bytes from 22.50.125.69: seq=2 ttl=63 time=0.780 ms
--- 22.50.125.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.780/1.880/3.854 ms
2025-08-15 08:14:29,072 - INFO - Ping to IP 22.50.125.69 from VM ctest-vn1-vm2-79077720 passed
2025-08-15 08:14:29,072 - INFO - Detaching port ce4fb777-1e97-4dae-a7c6-e2cf4f058bf2 from VM ctest-vn1-vm2-79077720
2025-08-15 08:14:29,123 - INFO - Deleting VM ctest-vn1-vm2-79077720
2025-08-15 08:14:29,186 - INFO - Detaching port 87aa4ff7-693b-47b3-bb1a-8a407c370700 from VM ctest-vn1-vm1-68802608
2025-08-15 08:14:29,218 - INFO - Deleting VM ctest-vn1-vm1-68802608
2025-08-15 08:14:29,464 - DEBUG - Response for delete_port : ()
2025-08-15 08:14:29,611 - DEBUG - Response for delete_port : ()
2025-08-15 08:14:29,611 - INFO - Deleting VN ctest-vn1-58961677
2025-08-15 08:14:29,738 - DEBUG - Response for deleting network ()
2025-08-15 08:14:29,993 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:14:29,993 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-08-15 08:14:29,994 - INFO - --------------------------------------------------------------------------------
2025-08-15 08:14:30,702 - INFO - Deleted project: ctest-TestPorts-80057211, ID : 1434366f-9a6e-4195-b5a6-a7d612c9c567