2025-12-18 20:51:30,111 - INFO - Domain Default found not creating
2025-12-18 20:51:30,269 - INFO - Project ctest-TestPorts-18622602 not found, creating it
2025-12-18 20:51:30,715 - INFO - Created Project:ctest-TestPorts-18622602, ID : 2c0ce702-c947-42ec-968d-3cb0033195db
2025-12-18 20:51:32,277 - INFO - ================================================================================
2025-12-18 20:51:32,277 - INFO - STARTING TEST : test_ports_bindings
2025-12-18 20:51:32,277 - 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-18 20:51:32,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-18 20:51:32,547 - INFO - Initial checks done. Running the testcase now
2025-12-18 20:51:32,548 - INFO -
2025-12-18 20:51:33,126 - DEBUG - Response for create_network : {'network': {'id': 'a9b297f3-2b53-4c35-8ba7-7ad23bbc0e9e', 'name': 'ctest-vn-11043973', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'project_id': '2c0ce702c94742ec968d3cb0033195db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18622602', 'ctest-vn-11043973'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 20:51:33,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b1f4f8c-9182-4760-8d22-24767cb14b2c', 'name': '', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'a9b297f3-2b53-4c35-8ba7-7ad23bbc0e9e', 'ip_version': 4, 'cidr': '67.230.47.192/26', 'allocation_pools': [{'start': '67.230.47.194', 'end': '67.230.47.254'}], 'gateway_ip': '67.230.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.230.47.194', 'tags': [], 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:33,358 - INFO - Created VN ctest-vn-11043973
2025-12-18 20:51:33,409 - DEBUG - VN ctest-vn-11043973 UUID is a9b297f3-2b53-4c35-8ba7-7ad23bbc0e9e
2025-12-18 20:51:33,526 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18622602', 'ctest-vmi-98317204']}
2025-12-18 20:51:33,783 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98317204', 'id': '64badffc-ab2a-4027-9b15-96e554bf4f7d', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'a9b297f3-2b53-4c35-8ba7-7ad23bbc0e9e', 'mac_address': '02:64:ba:df:fc:ab', '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': '67.230.47.195', 'subnet_id': '9b1f4f8c-9182-4760-8d22-24767cb14b2c'}], 'security_groups': ['940ab813-8c17-4a59-969c-0cd573b27ac9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:33,783 - DEBUG - Created port 64badffc-ab2a-4027-9b15-96e554bf4f7d
2025-12-18 20:51:33,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/64badffc-ab2a-4027-9b15-96e554bf4f7d
2025-12-18 20:51:34,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/64badffc-ab2a-4027-9b15-96e554bf4f7d
2025-12-18 20:51:34,242 - INFO - VMI 64badffc-ab2a-4027-9b15-96e554bf4f7d verification in API Server passed
2025-12-18 20:51:34,332 - DEBUG - Response for delete_port : ()
2025-12-18 20:51:34,332 - INFO - Deleted port 64badffc-ab2a-4027-9b15-96e554bf4f7d
2025-12-18 20:51:34,333 - INFO - Deleting VN ctest-vn-11043973
2025-12-18 20:51:34,454 - DEBUG - Response for deleting network ()
2025-12-18 20:51:34,706 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 20:51:34,706 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-18 20:51:34,706 - INFO - --------------------------------------------------------------------------------
2025-12-18 20:51:34,710 - INFO - ================================================================================
2025-12-18 20:51:34,710 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-18 20:51:34,710 - 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-18 20:51:35,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-12-18 20:51:35,003 - INFO - Initial checks done. Running the testcase now
2025-12-18 20:51:35,003 - INFO -
2025-12-18 20:51:35,188 - DEBUG - Response for create_network : {'network': {'id': 'd3ffa8a0-d8f1-4712-a003-3f4891e17552', 'name': 'ctest-vn1-83648342', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'project_id': '2c0ce702c94742ec968d3cb0033195db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18622602', 'ctest-vn1-83648342'], 'port_security_enabled': True, 'description': ''}}
2025-12-18 20:51:35,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '224dbbbb-11b8-4149-b694-a84b95849c5c', 'name': '', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'd3ffa8a0-d8f1-4712-a003-3f4891e17552', 'ip_version': 4, 'cidr': '138.110.194.192/26', 'allocation_pools': [{'start': '138.110.194.194', 'end': '138.110.194.254'}], 'gateway_ip': '138.110.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.110.194.194', 'tags': [], 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:35,606 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4a5a3d5-6bdf-47d4-94fe-070617557633', 'name': '', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'd3ffa8a0-d8f1-4712-a003-3f4891e17552', 'ip_version': 4, 'cidr': '201.11.12.192/26', 'allocation_pools': [{'start': '201.11.12.194', 'end': '201.11.12.254'}], 'gateway_ip': '201.11.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.11.12.194', 'tags': [], 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:35,625 - INFO - Created VN ctest-vn1-83648342
2025-12-18 20:51:35,681 - DEBUG - VN ctest-vn1-83648342 UUID is d3ffa8a0-d8f1-4712-a003-3f4891e17552
2025-12-18 20:51:35,975 - DEBUG - Response for create_port : {'port': {'name': 'ac4acfeb-3546-4b50-bba7-556c845cfc90', 'id': 'ac4acfeb-3546-4b50-bba7-556c845cfc90', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'd3ffa8a0-d8f1-4712-a003-3f4891e17552', 'mac_address': '02:ac:4a:cf:eb:35', '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': '138.110.194.197', 'subnet_id': '224dbbbb-11b8-4149-b694-a84b95849c5c'}], 'security_groups': ['940ab813-8c17-4a59-969c-0cd573b27ac9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:36,168 - DEBUG - Response for create_port : {'port': {'name': 'c21c742e-0b7f-46c7-a0eb-5f3f33089a3f', 'id': 'c21c742e-0b7f-46c7-a0eb-5f3f33089a3f', 'tenant_id': '2c0ce702c94742ec968d3cb0033195db', 'network_id': 'd3ffa8a0-d8f1-4712-a003-3f4891e17552', 'mac_address': '02:c2:1c:74:2e:0b', '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.11.12.197', 'subnet_id': 'd4a5a3d5-6bdf-47d4-94fe-070617557633'}], 'security_groups': ['940ab813-8c17-4a59-969c-0cd573b27ac9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2c0ce702c94742ec968d3cb0033195db'}}
2025-12-18 20:51:36,228 - DEBUG - Services list from nova: [, , ]
2025-12-18 20:51:36,571 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1)
2025-12-18 20:51:37,012 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4907-1)
2025-12-18 20:51:37,012 - INFO - Waiting for VM ctest-vn1-vm1-22760588 to be up..
2025-12-18 20:51:37,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-18 20:51:42,133 - DEBUG - VM is in ACTIVE state now
2025-12-18 20:51:42,133 - INFO - VM name : ctest-vn1-vm1-22760588
2025-12-18 20:51:42,215 - DEBUG - VM ctest-vn1-vm1-22760588 ID is ddde1231-bdc0-4a14-954f-e8172d78bd25
2025-12-18 20:51:42,237 - DEBUG - VM ctest-vn1-vm1-22760588 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1
2025-12-18 20:51:42,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddde1231-bdc0-4a14-954f-e8172d78bd25
2025-12-18 20:51:42,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ac4acfeb-3546-4b50-bba7-556c845cfc90
2025-12-18 20:51:45,571 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-12-18 20:51:45,572 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-22760588 failed!
2025-12-18 20:51:45,625 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18622602:ctest-vn1-83648342 is 138.110.194.193 and allocation pool is NOT set
2025-12-18 20:51:45,625 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18622602:ctest-vn1-83648342 is 201.11.12.193 and allocation pool is NOT set
2025-12-18 20:51:49,732 - 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=2 ttl=63 time=7.30 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 7.300/7.300/7.300/0.000 ms')
2025-12-18 20:51:49,733 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-22760588 passed
2025-12-18 20:51:49,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:51:49,889 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22760588, IP 138.110.194.197, Port 22
2025-12-18 20:51:50,056 - DEBUG - VM ctest-vn1-vm1-22760588 is ready for SSH connections
2025-12-18 20:51:50,056 - INFO - Waiting for VM ctest-vn1-vm2-46869074 to be up..
2025-12-18 20:51:50,150 - DEBUG - VM is in ACTIVE state now
2025-12-18 20:51:50,151 - INFO - VM name : ctest-vn1-vm2-46869074
2025-12-18 20:51:50,237 - DEBUG - VM ctest-vn1-vm2-46869074 ID is 1d598374-7286-4588-930a-3b206d223a94
2025-12-18 20:51:50,237 - DEBUG - VM ctest-vn1-vm2-46869074 launched on Node cn-jenkins-deploy-platform-ansible-os-4907-1
2025-12-18 20:51:50,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1d598374-7286-4588-930a-3b206d223a94
2025-12-18 20:51:50,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c21c742e-0b7f-46c7-a0eb-5f3f33089a3f
2025-12-18 20:51:51,572 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/1.720/2.993/1.273 ms')
2025-12-18 20:51:51,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-46869074 passed
2025-12-18 20:51:51,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:51:51,721 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46869074, IP 201.11.12.197, Port 22
2025-12-18 20:51:51,887 - DEBUG - VM ctest-vn1-vm2-46869074 is ready for SSH connections
2025-12-18 20:51:51,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:51:51,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:51:51,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-18 20:51:51,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.110.194.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-18 20:51:51,888 - DEBUG - ping -s 56 -c 3 -W 1 138.110.194.197
2025-12-18 20:51:55,943 - DEBUG - PING 138.110.194.197 (138.110.194.197): 56 data bytes
64 bytes from 138.110.194.197: seq=0 ttl=63 time=3.677 ms
64 bytes from 138.110.194.197: seq=1 ttl=63 time=1.097 ms
64 bytes from 138.110.194.197: seq=2 ttl=63 time=1.039 ms
--- 138.110.194.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.039/1.937/3.677 ms
2025-12-18 20:51:55,943 - INFO - Ping to IP 138.110.194.197 from VM ctest-vn1-vm2-46869074 passed
2025-12-18 20:51:55,943 - INFO - Detaching port c21c742e-0b7f-46c7-a0eb-5f3f33089a3f from VM ctest-vn1-vm2-46869074
2025-12-18 20:51:55,994 - INFO - Deleting VM ctest-vn1-vm2-46869074
2025-12-18 20:51:56,097 - INFO - Detaching port ac4acfeb-3546-4b50-bba7-556c845cfc90 from VM ctest-vn1-vm1-22760588
2025-12-18 20:51:56,144 - INFO - Deleting VM ctest-vn1-vm1-22760588
2025-12-18 20:51:56,406 - DEBUG - Response for delete_port : ()
2025-12-18 20:51:56,576 - DEBUG - Response for delete_port : ()
2025-12-18 20:51:56,577 - INFO - Deleting VN ctest-vn1-83648342
2025-12-18 20:51:56,726 - DEBUG - Response for deleting network ()
2025-12-18 20:51:56,982 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 20:51:56,982 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-12-18 20:51:56,983 - INFO - --------------------------------------------------------------------------------
2025-12-18 20:51:57,690 - INFO - Deleted project: ctest-TestPorts-18622602, ID : 2c0ce702-c947-42ec-968d-3cb0033195db