2025-08-22 09:31:39,233 - INFO - Domain Default found not creating
2025-08-22 09:31:39,364 - INFO - Project ctest-TestPorts-29140846 not found, creating it
2025-08-22 09:31:39,864 - INFO - Created Project:ctest-TestPorts-29140846, ID : 4c50ede1-01b0-4dcf-b2f9-52940921cc1c
2025-08-22 09:31:41,199 - INFO - ================================================================================
2025-08-22 09:31:41,199 - INFO - STARTING TEST : test_ports_bindings
2025-08-22 09:31:41,199 - 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-22 09:31:41,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-08-22 09:31:41,468 - INFO - Initial checks done. Running the testcase now
2025-08-22 09:31:41,468 - INFO -
2025-08-22 09:31:42,008 - DEBUG - Response for create_network : {'network': {'id': '205cc176-d203-4009-8177-cc76f157bf7a', 'name': 'ctest-vn-65132475', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'project_id': '4c50ede101b04dcfb2f952940921cc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29140846', 'ctest-vn-65132475'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 09:31:42,169 - DEBUG - Response for create_subnet : {'subnet': {'id': '40242761-abcc-4ff3-96c9-c96901e244ee', 'name': '', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': '205cc176-d203-4009-8177-cc76f157bf7a', 'ip_version': 4, 'cidr': '193.131.236.0/26', 'allocation_pools': [{'start': '193.131.236.2', 'end': '193.131.236.62'}], 'gateway_ip': '193.131.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.131.236.2', 'tags': [], 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:42,186 - INFO - Created VN ctest-vn-65132475
2025-08-22 09:31:42,244 - DEBUG - VN ctest-vn-65132475 UUID is 205cc176-d203-4009-8177-cc76f157bf7a
2025-08-22 09:31:42,349 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-29140846', 'ctest-vmi-59224596']}
2025-08-22 09:31:42,627 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59224596', 'id': 'c4957bfd-9b53-40d6-bfec-1c48a1772290', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': '205cc176-d203-4009-8177-cc76f157bf7a', 'mac_address': '02:c4:95:7b:fd:9b', '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': '193.131.236.3', 'subnet_id': '40242761-abcc-4ff3-96c9-c96901e244ee'}], 'security_groups': ['df4fc6c5-dd35-4d70-80e5-72a73c45087d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:42,627 - DEBUG - Created port c4957bfd-9b53-40d6-bfec-1c48a1772290
2025-08-22 09:31:42,740 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c4957bfd-9b53-40d6-bfec-1c48a1772290
2025-08-22 09:31:43,029 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c4957bfd-9b53-40d6-bfec-1c48a1772290
2025-08-22 09:31:43,061 - INFO - VMI c4957bfd-9b53-40d6-bfec-1c48a1772290 verification in API Server passed
2025-08-22 09:31:43,144 - DEBUG - Response for delete_port : ()
2025-08-22 09:31:43,144 - INFO - Deleted port c4957bfd-9b53-40d6-bfec-1c48a1772290
2025-08-22 09:31:43,145 - INFO - Deleting VN ctest-vn-65132475
2025-08-22 09:31:43,255 - DEBUG - Response for deleting network ()
2025-08-22 09:31:43,512 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 09:31:43,512 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-22 09:31:43,512 - INFO - --------------------------------------------------------------------------------
2025-08-22 09:31:43,515 - INFO - ================================================================================
2025-08-22 09:31:43,515 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-22 09:31:43,515 - 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-22 09:31:43,801 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-08-22 09:31:43,801 - INFO - Initial checks done. Running the testcase now
2025-08-22 09:31:43,801 - INFO -
2025-08-22 09:31:44,008 - DEBUG - Response for create_network : {'network': {'id': 'a11ec993-4e23-45ba-9f24-8032f72a1382', 'name': 'ctest-vn1-00366711', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'project_id': '4c50ede101b04dcfb2f952940921cc1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29140846', 'ctest-vn1-00366711'], 'port_security_enabled': True, 'description': ''}}
2025-08-22 09:31:44,232 - DEBUG - Response for create_subnet : {'subnet': {'id': '665c0b1f-7109-4575-85c8-055d743d829c', 'name': '', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': 'a11ec993-4e23-45ba-9f24-8032f72a1382', 'ip_version': 4, 'cidr': '36.69.142.64/26', 'allocation_pools': [{'start': '36.69.142.66', 'end': '36.69.142.126'}], 'gateway_ip': '36.69.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.69.142.66', 'tags': [], 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:44,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '0979ebb2-6897-446e-b2e3-2bb3454f3e6f', 'name': '', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': 'a11ec993-4e23-45ba-9f24-8032f72a1382', 'ip_version': 4, 'cidr': '64.103.141.64/26', 'allocation_pools': [{'start': '64.103.141.66', 'end': '64.103.141.126'}], 'gateway_ip': '64.103.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.103.141.66', 'tags': [], 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:44,403 - INFO - Created VN ctest-vn1-00366711
2025-08-22 09:31:44,456 - DEBUG - VN ctest-vn1-00366711 UUID is a11ec993-4e23-45ba-9f24-8032f72a1382
2025-08-22 09:31:44,775 - DEBUG - Response for create_port : {'port': {'name': 'ac37b5e7-4517-4c35-a200-a15608789ae0', 'id': 'ac37b5e7-4517-4c35-a200-a15608789ae0', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': 'a11ec993-4e23-45ba-9f24-8032f72a1382', 'mac_address': '02:ac:37:b5:e7:45', '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': '36.69.142.69', 'subnet_id': '665c0b1f-7109-4575-85c8-055d743d829c'}], 'security_groups': ['df4fc6c5-dd35-4d70-80e5-72a73c45087d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:44,975 - DEBUG - Response for create_port : {'port': {'name': '57d8a3ec-6689-4ccb-bcf1-da95bbf2f2c9', 'id': '57d8a3ec-6689-4ccb-bcf1-da95bbf2f2c9', 'tenant_id': '4c50ede101b04dcfb2f952940921cc1c', 'network_id': 'a11ec993-4e23-45ba-9f24-8032f72a1382', 'mac_address': '02:57:d8:a3:ec:66', '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': '64.103.141.69', 'subnet_id': '0979ebb2-6897-446e-b2e3-2bb3454f3e6f'}], 'security_groups': ['df4fc6c5-dd35-4d70-80e5-72a73c45087d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4c50ede101b04dcfb2f952940921cc1c'}}
2025-08-22 09:31:45,027 - DEBUG - Services list from nova: [, , ]
2025-08-22 09:31:45,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1)
2025-08-22 09:31:45,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1)
2025-08-22 09:31:45,683 - INFO - Waiting for VM ctest-vn1-vm1-65403806 to be up..
2025-08-22 09:31:45,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-22 09:31:50,800 - DEBUG - VM is in ACTIVE state now
2025-08-22 09:31:50,800 - INFO - VM name : ctest-vn1-vm1-65403806
2025-08-22 09:31:50,881 - DEBUG - VM ctest-vn1-vm1-65403806 ID is 900166f7-46c1-4be2-973b-26cca4951e01
2025-08-22 09:31:50,903 - DEBUG - VM ctest-vn1-vm1-65403806 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1
2025-08-22 09:31:50,982 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/900166f7-46c1-4be2-973b-26cca4951e01
2025-08-22 09:31:50,992 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ac37b5e7-4517-4c35-a200-a15608789ae0
2025-08-22 09:31:54,242 - 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 1007ms')
2025-08-22 09:31:54,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65403806 failed!
2025-08-22 09:31:54,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29140846:ctest-vn1-00366711 is 36.69.142.65 and allocation pool is NOT set
2025-08-22 09:31:54,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29140846:ctest-vn1-00366711 is 64.103.141.65 and allocation pool is NOT set
2025-08-22 09:31:56,359 - 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=8.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.166/4.862/8.559/3.696 ms')
2025-08-22 09:31:56,359 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65403806 passed
2025-08-22 09:31:56,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 09:31:56,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65403806, IP 36.69.142.69, Port 22
2025-08-22 09:31:56,676 - DEBUG - VM ctest-vn1-vm1-65403806 is ready for SSH connections
2025-08-22 09:31:56,676 - INFO - Waiting for VM ctest-vn1-vm2-64878406 to be up..
2025-08-22 09:31:56,894 - DEBUG - VM is in ACTIVE state now
2025-08-22 09:31:56,894 - INFO - VM name : ctest-vn1-vm2-64878406
2025-08-22 09:31:56,964 - DEBUG - VM ctest-vn1-vm2-64878406 ID is 1c7a73c5-24ec-4b9d-a56f-d705fb07c10c
2025-08-22 09:31:56,964 - DEBUG - VM ctest-vn1-vm2-64878406 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1
2025-08-22 09:31:57,030 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/1c7a73c5-24ec-4b9d-a56f-d705fb07c10c
2025-08-22 09:31:57,040 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/57d8a3ec-6689-4ccb-bcf1-da95bbf2f2c9
2025-08-22 09:31:58,279 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 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.372/1.567/2.763/1.195 ms')
2025-08-22 09:31:58,279 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-64878406 passed
2025-08-22 09:31:58,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 09:31:58,436 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64878406, IP 64.103.141.69, Port 22
2025-08-22 09:31:58,591 - DEBUG - VM ctest-vn1-vm2-64878406 is ready for SSH connections
2025-08-22 09:31:58,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 09:31:58,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 09:31:58,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-22 09:31:58,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.69.142.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-08-22 09:31:58,591 - DEBUG - ping -s 56 -c 3 -W 1 36.69.142.69
2025-08-22 09:32:01,197 - DEBUG - PING 36.69.142.69 (36.69.142.69): 56 data bytes
64 bytes from 36.69.142.69: seq=0 ttl=63 time=3.175 ms
64 bytes from 36.69.142.69: seq=1 ttl=63 time=0.722 ms
64 bytes from 36.69.142.69: seq=2 ttl=63 time=1.008 ms
--- 36.69.142.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.722/1.635/3.175 ms
2025-08-22 09:32:01,197 - INFO - Ping to IP 36.69.142.69 from VM ctest-vn1-vm2-64878406 passed
2025-08-22 09:32:01,198 - INFO - Detaching port 57d8a3ec-6689-4ccb-bcf1-da95bbf2f2c9 from VM ctest-vn1-vm2-64878406
2025-08-22 09:32:01,245 - INFO - Deleting VM ctest-vn1-vm2-64878406
2025-08-22 09:32:01,319 - INFO - Detaching port ac37b5e7-4517-4c35-a200-a15608789ae0 from VM ctest-vn1-vm1-65403806
2025-08-22 09:32:01,357 - INFO - Deleting VM ctest-vn1-vm1-65403806
2025-08-22 09:32:01,641 - DEBUG - Response for delete_port : ()
2025-08-22 09:32:01,811 - DEBUG - Response for delete_port : ()
2025-08-22 09:32:01,811 - INFO - Deleting VN ctest-vn1-00366711
2025-08-22 09:32:01,972 - DEBUG - Response for deleting network ()
2025-08-22 09:32:02,241 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 09:32:02,241 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-22 09:32:02,241 - INFO - --------------------------------------------------------------------------------
2025-08-22 09:32:02,959 - INFO - Deleted project: ctest-TestPorts-29140846, ID : 4c50ede1-01b0-4dcf-b2f9-52940921cc1c