2025-09-19 04:07:45,120 - INFO - Domain Default found not creating 2025-09-19 04:07:45,280 - INFO - Project ctest-TestPorts-04378782 not found, creating it 2025-09-19 04:07:45,744 - INFO - Created Project:ctest-TestPorts-04378782, ID : 7c5fc219-6e9b-4ccb-b5c2-e1a1cf0a68a7 2025-09-19 04:07:47,162 - INFO - ================================================================================ 2025-09-19 04:07:47,162 - INFO - STARTING TEST : test_ports_bindings 2025-09-19 04:07:47,162 - 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-09-19 04:07:47,414 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-19 04:07:47,414 - INFO - Initial checks done. Running the testcase now 2025-09-19 04:07:47,414 - INFO - 2025-09-19 04:07:47,938 - DEBUG - Response for create_network : {'network': {'id': 'fc9e63d0-de43-40c9-8f04-6970ea2bd66e', 'name': 'ctest-vn-31087228', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04378782', 'ctest-vn-31087228'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:07:48,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f597494-3068-4716-be60-e1654fd6ad7b', 'name': '', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': 'fc9e63d0-de43-40c9-8f04-6970ea2bd66e', 'ip_version': 4, 'cidr': '68.26.41.192/26', 'allocation_pools': [{'start': '68.26.41.194', 'end': '68.26.41.254'}], 'gateway_ip': '68.26.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.26.41.194', 'tags': [], 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:48,152 - INFO - Created VN ctest-vn-31087228 2025-09-19 04:07:48,201 - DEBUG - VN ctest-vn-31087228 UUID is fc9e63d0-de43-40c9-8f04-6970ea2bd66e 2025-09-19 04:07:48,305 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04378782', 'ctest-vmi-48509275']} 2025-09-19 04:07:48,571 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48509275', 'id': 'f799b934-0779-4948-a724-663039b9eb65', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': 'fc9e63d0-de43-40c9-8f04-6970ea2bd66e', 'mac_address': '02:f7:99:b9:34:07', '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': '68.26.41.195', 'subnet_id': '5f597494-3068-4716-be60-e1654fd6ad7b'}], 'security_groups': ['d5034f68-d0f3-4d7c-adae-650f391bcb35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:48,571 - DEBUG - Created port f799b934-0779-4948-a724-663039b9eb65 2025-09-19 04:07:48,673 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f799b934-0779-4948-a724-663039b9eb65 2025-09-19 04:07:48,961 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f799b934-0779-4948-a724-663039b9eb65 2025-09-19 04:07:48,990 - INFO - VMI f799b934-0779-4948-a724-663039b9eb65 verification in API Server passed 2025-09-19 04:07:49,065 - DEBUG - Response for delete_port : () 2025-09-19 04:07:49,066 - INFO - Deleted port f799b934-0779-4948-a724-663039b9eb65 2025-09-19 04:07:49,066 - INFO - Deleting VN ctest-vn-31087228 2025-09-19 04:07:49,159 - DEBUG - Response for deleting network () 2025-09-19 04:07:49,410 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 04:07:49,410 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-19 04:07:49,411 - INFO - -------------------------------------------------------------------------------- 2025-09-19 04:07:49,413 - INFO - ================================================================================ 2025-09-19 04:07:49,413 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-19 04:07:49,413 - 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-09-19 04:07:49,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-19 04:07:49,694 - INFO - Initial checks done. Running the testcase now 2025-09-19 04:07:49,694 - INFO - 2025-09-19 04:07:49,848 - DEBUG - Response for create_network : {'network': {'id': '5f6d7325-52fd-4975-9195-9c0dcf29e5e8', 'name': 'ctest-vn1-33064978', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04378782', 'ctest-vn1-33064978'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:07:50,035 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac449868-d170-49ea-9ff8-4696f2c19a40', 'name': '', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': '5f6d7325-52fd-4975-9195-9c0dcf29e5e8', 'ip_version': 4, 'cidr': '80.198.194.128/26', 'allocation_pools': [{'start': '80.198.194.130', 'end': '80.198.194.190'}], 'gateway_ip': '80.198.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.198.194.130', 'tags': [], 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:50,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd91b8407-d148-4097-8039-9e875c94df4c', 'name': '', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': '5f6d7325-52fd-4975-9195-9c0dcf29e5e8', 'ip_version': 4, 'cidr': '121.6.60.192/26', 'allocation_pools': [{'start': '121.6.60.194', 'end': '121.6.60.254'}], 'gateway_ip': '121.6.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.6.60.194', 'tags': [], 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:50,254 - INFO - Created VN ctest-vn1-33064978 2025-09-19 04:07:50,305 - DEBUG - VN ctest-vn1-33064978 UUID is 5f6d7325-52fd-4975-9195-9c0dcf29e5e8 2025-09-19 04:07:50,594 - DEBUG - Response for create_port : {'port': {'name': '56740fa1-3095-41d5-83e3-4f82e5deaf1c', 'id': '56740fa1-3095-41d5-83e3-4f82e5deaf1c', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': '5f6d7325-52fd-4975-9195-9c0dcf29e5e8', 'mac_address': '02:56:74:0f:a1:30', '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': '80.198.194.133', 'subnet_id': 'ac449868-d170-49ea-9ff8-4696f2c19a40'}], 'security_groups': ['d5034f68-d0f3-4d7c-adae-650f391bcb35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:50,751 - DEBUG - Response for create_port : {'port': {'name': 'e3449457-fe4a-4136-941e-a2088a7972d1', 'id': 'e3449457-fe4a-4136-941e-a2088a7972d1', 'tenant_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7', 'network_id': '5f6d7325-52fd-4975-9195-9c0dcf29e5e8', 'mac_address': '02:e3:44:94:57:fe', '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': '121.6.60.197', 'subnet_id': 'd91b8407-d148-4097-8039-9e875c94df4c'}], 'security_groups': ['d5034f68-d0f3-4d7c-adae-650f391bcb35'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c5fc2196e9b4ccbb5c2e1a1cf0a68a7'}} 2025-09-19 04:07:50,802 - DEBUG - Services list from nova: [, , ] 2025-09-19 04:07:51,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:07:51,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:07:51,604 - INFO - Waiting for VM ctest-vn1-vm1-54012088 to be up.. 2025-09-19 04:07:51,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 04:07:56,712 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:07:56,712 - INFO - VM name : ctest-vn1-vm1-54012088 2025-09-19 04:07:56,776 - DEBUG - VM ctest-vn1-vm1-54012088 ID is 852d3fcb-4663-44fd-8c5e-218efaa53b24 2025-09-19 04:07:56,792 - DEBUG - VM ctest-vn1-vm1-54012088 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:07:56,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/852d3fcb-4663-44fd-8c5e-218efaa53b24 2025-09-19 04:07:56,866 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/56740fa1-3095-41d5-83e3-4f82e5deaf1c 2025-09-19 04:08:00,106 - 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-09-19 04:08:00,106 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54012088 failed! 2025-09-19 04:08:00,161 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04378782:ctest-vn1-33064978 is 80.198.194.129 and allocation pool is NOT set 2025-09-19 04:08:00,162 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04378782:ctest-vn1-33064978 is 121.6.60.193 and allocation pool is NOT set 2025-09-19 04:08:02,226 - 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=3.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.748 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.748/2.228/3.708/1.480 ms') 2025-09-19 04:08:02,226 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54012088 passed 2025-09-19 04:08:02,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:08:02,373 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54012088, IP 80.198.194.133, Port 22 2025-09-19 04:08:02,539 - DEBUG - VM ctest-vn1-vm1-54012088 is ready for SSH connections 2025-09-19 04:08:02,539 - INFO - Waiting for VM ctest-vn1-vm2-54095640 to be up.. 2025-09-19 04:08:02,610 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:08:02,610 - INFO - VM name : ctest-vn1-vm2-54095640 2025-09-19 04:08:02,679 - DEBUG - VM ctest-vn1-vm2-54095640 ID is 96be35a3-c6e7-46d3-ac2f-febe7105fe3e 2025-09-19 04:08:02,679 - DEBUG - VM ctest-vn1-vm2-54095640 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:08:02,748 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/96be35a3-c6e7-46d3-ac2f-febe7105fe3e 2025-09-19 04:08:02,756 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e3449457-fe4a-4136-941e-a2088a7972d1 2025-09-19 04:08:03,990 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.576/2.723/1.147 ms') 2025-09-19 04:08:03,990 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54095640 passed 2025-09-19 04:08:04,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:08:04,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54095640, IP 121.6.60.197, Port 22 2025-09-19 04:08:04,293 - DEBUG - VM ctest-vn1-vm2-54095640 is ready for SSH connections 2025-09-19 04:08:04,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:08:04,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:08:04,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:08:04,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.198.194.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-19 04:08:04,293 - DEBUG - ping -s 56 -c 3 -W 1 80.198.194.133 2025-09-19 04:08:07,243 - DEBUG - PING 80.198.194.133 (80.198.194.133): 56 data bytes 64 bytes from 80.198.194.133: seq=0 ttl=63 time=3.479 ms 64 bytes from 80.198.194.133: seq=1 ttl=63 time=0.805 ms 64 bytes from 80.198.194.133: seq=2 ttl=63 time=0.720 ms --- 80.198.194.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.720/1.668/3.479 ms 2025-09-19 04:08:07,243 - INFO - Ping to IP 80.198.194.133 from VM ctest-vn1-vm2-54095640 passed 2025-09-19 04:08:07,243 - INFO - Detaching port e3449457-fe4a-4136-941e-a2088a7972d1 from VM ctest-vn1-vm2-54095640 2025-09-19 04:08:07,287 - INFO - Deleting VM ctest-vn1-vm2-54095640 2025-09-19 04:08:07,348 - INFO - Detaching port 56740fa1-3095-41d5-83e3-4f82e5deaf1c from VM ctest-vn1-vm1-54012088 2025-09-19 04:08:07,375 - INFO - Deleting VM ctest-vn1-vm1-54012088 2025-09-19 04:08:07,580 - DEBUG - Response for delete_port : () 2025-09-19 04:08:07,740 - DEBUG - Response for delete_port : () 2025-09-19 04:08:07,740 - INFO - Deleting VN ctest-vn1-33064978 2025-09-19 04:08:07,883 - DEBUG - Response for deleting network () 2025-09-19 04:08:08,139 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 04:08:08,139 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-19 04:08:08,139 - INFO - -------------------------------------------------------------------------------- 2025-09-19 04:08:08,838 - INFO - Deleted project: ctest-TestPorts-04378782, ID : 7c5fc219-6e9b-4ccb-b5c2-e1a1cf0a68a7