2025-08-07 17:38:30,053 - INFO - Domain Default found not creating 2025-08-07 17:38:30,290 - INFO - Project ctest-TestPorts-71890232 not found, creating it 2025-08-07 17:38:31,086 - INFO - Created Project:ctest-TestPorts-71890232, ID : 40187675-e91b-46ea-b8b3-fe907c48faa9 2025-08-07 17:38:32,675 - INFO - ================================================================================ 2025-08-07 17:38:32,675 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 17:38:32,675 - 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-07 17:38:32,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 17:38:32,937 - INFO - Initial checks done. Running the testcase now 2025-08-07 17:38:32,937 - INFO - 2025-08-07 17:38:33,525 - DEBUG - Response for create_network : {'network': {'id': '895cce1c-81b3-4b1d-b57f-6d412325455c', 'name': 'ctest-vn-74315395', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'project_id': '40187675e91b46eab8b3fe907c48faa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71890232', 'ctest-vn-74315395'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 17:38:33,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '3064ca23-7463-4a6f-a5ca-7cdf1887cf08', 'name': '', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': '895cce1c-81b3-4b1d-b57f-6d412325455c', 'ip_version': 4, 'cidr': '207.210.82.0/26', 'allocation_pools': [{'start': '207.210.82.2', 'end': '207.210.82.62'}], 'gateway_ip': '207.210.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.210.82.2', 'tags': [], 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:33,762 - INFO - Created VN ctest-vn-74315395 2025-08-07 17:38:33,814 - DEBUG - VN ctest-vn-74315395 UUID is 895cce1c-81b3-4b1d-b57f-6d412325455c 2025-08-07 17:38:34,008 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-71890232', 'ctest-vmi-29668034']} 2025-08-07 17:38:34,286 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29668034', 'id': 'e8bc5253-02e3-4299-88d0-0a0750a58557', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': '895cce1c-81b3-4b1d-b57f-6d412325455c', 'mac_address': '02:e8:bc:52:53:02', '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': '207.210.82.3', 'subnet_id': '3064ca23-7463-4a6f-a5ca-7cdf1887cf08'}], 'security_groups': ['beb85dab-6ef5-466a-9991-38babe585a80'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:34,286 - DEBUG - Created port e8bc5253-02e3-4299-88d0-0a0750a58557 2025-08-07 17:38:34,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e8bc5253-02e3-4299-88d0-0a0750a58557 2025-08-07 17:38:34,729 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e8bc5253-02e3-4299-88d0-0a0750a58557 2025-08-07 17:38:34,761 - INFO - VMI e8bc5253-02e3-4299-88d0-0a0750a58557 verification in API Server passed 2025-08-07 17:38:34,852 - DEBUG - Response for delete_port : () 2025-08-07 17:38:34,852 - INFO - Deleted port e8bc5253-02e3-4299-88d0-0a0750a58557 2025-08-07 17:38:34,852 - INFO - Deleting VN ctest-vn-74315395 2025-08-07 17:38:34,949 - DEBUG - Response for deleting network () 2025-08-07 17:38:35,208 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 17:38:35,208 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-07 17:38:35,208 - INFO - -------------------------------------------------------------------------------- 2025-08-07 17:38:35,212 - INFO - ================================================================================ 2025-08-07 17:38:35,212 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 17:38:35,212 - 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-07 17:38:35,496 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 17:38:35,496 - INFO - Initial checks done. Running the testcase now 2025-08-07 17:38:35,497 - INFO - 2025-08-07 17:38:35,721 - DEBUG - Response for create_network : {'network': {'id': 'b5b50c61-361d-4419-9bfc-fe7fe20279d0', 'name': 'ctest-vn1-34560727', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'project_id': '40187675e91b46eab8b3fe907c48faa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-71890232', 'ctest-vn1-34560727'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 17:38:35,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cf97e34-6732-4683-945d-37ae0f297fa0', 'name': '', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': 'b5b50c61-361d-4419-9bfc-fe7fe20279d0', 'ip_version': 4, 'cidr': '192.199.47.64/26', 'allocation_pools': [{'start': '192.199.47.66', 'end': '192.199.47.126'}], 'gateway_ip': '192.199.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.199.47.66', 'tags': [], 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:36,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '08307955-02f9-49fe-91e5-ae55bcaffef6', 'name': '', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': 'b5b50c61-361d-4419-9bfc-fe7fe20279d0', 'ip_version': 4, 'cidr': '84.246.41.64/26', 'allocation_pools': [{'start': '84.246.41.66', 'end': '84.246.41.126'}], 'gateway_ip': '84.246.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.246.41.66', 'tags': [], 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:36,064 - INFO - Created VN ctest-vn1-34560727 2025-08-07 17:38:36,118 - DEBUG - VN ctest-vn1-34560727 UUID is b5b50c61-361d-4419-9bfc-fe7fe20279d0 2025-08-07 17:38:36,427 - DEBUG - Response for create_port : {'port': {'name': 'f958f1b5-0fd6-4492-befb-27ddb174b58a', 'id': 'f958f1b5-0fd6-4492-befb-27ddb174b58a', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': 'b5b50c61-361d-4419-9bfc-fe7fe20279d0', 'mac_address': '02:f9:58:f1:b5:0f', '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': '192.199.47.69', 'subnet_id': '4cf97e34-6732-4683-945d-37ae0f297fa0'}], 'security_groups': ['beb85dab-6ef5-466a-9991-38babe585a80'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:36,603 - DEBUG - Response for create_port : {'port': {'name': '864a81de-eddb-4c70-9c27-f4a72d037959', 'id': '864a81de-eddb-4c70-9c27-f4a72d037959', 'tenant_id': '40187675e91b46eab8b3fe907c48faa9', 'network_id': 'b5b50c61-361d-4419-9bfc-fe7fe20279d0', 'mac_address': '02:86:4a:81:de:ed', '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': '84.246.41.69', 'subnet_id': '08307955-02f9-49fe-91e5-ae55bcaffef6'}], 'security_groups': ['beb85dab-6ef5-466a-9991-38babe585a80'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '40187675e91b46eab8b3fe907c48faa9'}} 2025-08-07 17:38:36,661 - DEBUG - Services list from nova: [, , ] 2025-08-07 17:38:36,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3774-1) 2025-08-07 17:38:37,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3774-1) 2025-08-07 17:38:37,352 - INFO - Waiting for VM ctest-vn1-vm1-97327591 to be up.. 2025-08-07 17:38:37,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 17:38:42,472 - DEBUG - VM is in ACTIVE state now 2025-08-07 17:38:42,472 - INFO - VM name : ctest-vn1-vm1-97327591 2025-08-07 17:38:42,565 - DEBUG - VM ctest-vn1-vm1-97327591 ID is b14687da-9a38-494b-ab6b-c8acd253daa1 2025-08-07 17:38:42,586 - DEBUG - VM ctest-vn1-vm1-97327591 launched on Node cn-jenkins-deploy-platform-ansible-os-3774-1 2025-08-07 17:38:42,670 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b14687da-9a38-494b-ab6b-c8acd253daa1 2025-08-07 17:38:42,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f958f1b5-0fd6-4492-befb-27ddb174b58a 2025-08-07 17:38:45,949 - 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 1025ms') 2025-08-07 17:38:45,949 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97327591 failed! 2025-08-07 17:38:46,010 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71890232:ctest-vn1-34560727 is 192.199.47.65 and allocation pool is NOT set 2025-08-07 17:38:46,010 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-71890232:ctest-vn1-34560727 is 84.246.41.65 and allocation pool is NOT set 2025-08-07 17:38:50,075 - 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.54 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 5.543/5.543/5.543/0.000 ms') 2025-08-07 17:38:50,076 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97327591 passed 2025-08-07 17:38:50,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:50,234 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97327591, IP 192.199.47.69, Port 22 2025-08-07 17:38:50,290 - 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-07 17:38:50,368 - DEBUG - VM ctest-vn1-vm1-97327591 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 17:38:55,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:55,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97327591, IP 192.199.47.69, Port 22 2025-08-07 17:38:55,526 - DEBUG - VM ctest-vn1-vm1-97327591 is ready for SSH connections 2025-08-07 17:38:55,526 - INFO - Waiting for VM ctest-vn1-vm2-37529594 to be up.. 2025-08-07 17:38:55,604 - DEBUG - VM is in ACTIVE state now 2025-08-07 17:38:55,605 - INFO - VM name : ctest-vn1-vm2-37529594 2025-08-07 17:38:55,685 - DEBUG - VM ctest-vn1-vm2-37529594 ID is df6a32af-5fea-4c0e-85a6-1e1b1b05e276 2025-08-07 17:38:55,685 - DEBUG - VM ctest-vn1-vm2-37529594 launched on Node cn-jenkins-deploy-platform-ansible-os-3774-1 2025-08-07 17:38:55,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/df6a32af-5fea-4c0e-85a6-1e1b1b05e276 2025-08-07 17:38:55,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/864a81de-eddb-4c70-9c27-f4a72d037959 2025-08-07 17:38:57,015 - 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=3.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.951/3.525/1.573 ms') 2025-08-07 17:38:57,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-37529594 passed 2025-08-07 17:38:57,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:57,166 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-37529594, IP 84.246.41.69, Port 22 2025-08-07 17:38:57,325 - DEBUG - VM ctest-vn1-vm2-37529594 is ready for SSH connections 2025-08-07 17:38:57,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:57,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:57,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 17:38:57,326 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.199.47.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 17:38:57,326 - DEBUG - ping -s 56 -c 3 -W 1 192.199.47.69 2025-08-07 17:39:00,322 - DEBUG - PING 192.199.47.69 (192.199.47.69): 56 data bytes 64 bytes from 192.199.47.69: seq=0 ttl=63 time=3.822 ms 64 bytes from 192.199.47.69: seq=1 ttl=63 time=0.835 ms 64 bytes from 192.199.47.69: seq=2 ttl=63 time=1.052 ms --- 192.199.47.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.903/3.822 ms 2025-08-07 17:39:00,322 - INFO - Ping to IP 192.199.47.69 from VM ctest-vn1-vm2-37529594 passed 2025-08-07 17:39:00,323 - INFO - Detaching port 864a81de-eddb-4c70-9c27-f4a72d037959 from VM ctest-vn1-vm2-37529594 2025-08-07 17:39:00,378 - INFO - Deleting VM ctest-vn1-vm2-37529594 2025-08-07 17:39:00,445 - INFO - Detaching port f958f1b5-0fd6-4492-befb-27ddb174b58a from VM ctest-vn1-vm1-97327591 2025-08-07 17:39:00,482 - INFO - Deleting VM ctest-vn1-vm1-97327591 2025-08-07 17:39:00,722 - DEBUG - Response for delete_port : () 2025-08-07 17:39:00,889 - DEBUG - Response for delete_port : () 2025-08-07 17:39:00,889 - INFO - Deleting VN ctest-vn1-34560727 2025-08-07 17:39:01,015 - DEBUG - Response for deleting network () 2025-08-07 17:39:01,268 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 17:39:01,268 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-08-07 17:39:01,269 - INFO - -------------------------------------------------------------------------------- 2025-08-07 17:39:02,029 - INFO - Deleted project: ctest-TestPorts-71890232, ID : 40187675-e91b-46ea-b8b3-fe907c48faa9