2025-12-22 13:59:25,583 - INFO - Domain Default found not creating
2025-12-22 13:59:25,775 - INFO - Project ctest-TestPorts-41740492 not found, creating it
2025-12-22 13:59:26,274 - INFO - Created Project:ctest-TestPorts-41740492, ID : d8078e9d-9a6f-4fc9-936c-7a95bdc42da0
2025-12-22 13:59:28,040 - INFO - ================================================================================
2025-12-22 13:59:28,040 - INFO - STARTING TEST : test_ports_bindings
2025-12-22 13:59:28,040 - 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-22 13:59:28,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-12-22 13:59:28,310 - INFO - Initial checks done. Running the testcase now
2025-12-22 13:59:28,310 - INFO -
2025-12-22 13:59:28,943 - DEBUG - Response for create_network : {'network': {'id': '05fe899a-8682-42a3-abb5-1b4d471b353c', 'name': 'ctest-vn-29950266', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41740492', 'ctest-vn-29950266'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 13:59:29,191 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd713937f-9d2e-4830-8881-cf59dd572c42', 'name': '', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '05fe899a-8682-42a3-abb5-1b4d471b353c', 'ip_version': 4, 'cidr': '222.193.84.192/26', 'allocation_pools': [{'start': '222.193.84.194', 'end': '222.193.84.254'}], 'gateway_ip': '222.193.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.193.84.194', 'tags': [], 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:29,213 - INFO - Created VN ctest-vn-29950266
2025-12-22 13:59:29,269 - DEBUG - VN ctest-vn-29950266 UUID is 05fe899a-8682-42a3-abb5-1b4d471b353c
2025-12-22 13:59:29,389 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41740492', 'ctest-vmi-05336763']}
2025-12-22 13:59:29,705 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05336763', 'id': '35034b61-062d-4411-a094-a183d8739d04', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '05fe899a-8682-42a3-abb5-1b4d471b353c', 'mac_address': '02:35:03:4b:61:06', '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': '222.193.84.195', 'subnet_id': 'd713937f-9d2e-4830-8881-cf59dd572c42'}], 'security_groups': ['e86f2521-66c0-443e-846a-9f1991c0ed92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:29,705 - DEBUG - Created port 35034b61-062d-4411-a094-a183d8739d04
2025-12-22 13:59:29,825 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35034b61-062d-4411-a094-a183d8739d04
2025-12-22 13:59:30,135 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/35034b61-062d-4411-a094-a183d8739d04
2025-12-22 13:59:30,178 - INFO - VMI 35034b61-062d-4411-a094-a183d8739d04 verification in API Server passed
2025-12-22 13:59:30,296 - DEBUG - Response for delete_port : ()
2025-12-22 13:59:30,296 - INFO - Deleted port 35034b61-062d-4411-a094-a183d8739d04
2025-12-22 13:59:30,296 - INFO - Deleting VN ctest-vn-29950266
2025-12-22 13:59:30,413 - DEBUG - Response for deleting network ()
2025-12-22 13:59:30,679 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 13:59:30,679 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-22 13:59:30,679 - INFO - --------------------------------------------------------------------------------
2025-12-22 13:59:30,682 - INFO - ================================================================================
2025-12-22 13:59:30,682 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-22 13:59:30,682 - 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-22 13:59:30,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2025-12-22 13:59:30,984 - INFO - Initial checks done. Running the testcase now
2025-12-22 13:59:30,985 - INFO -
2025-12-22 13:59:31,189 - DEBUG - Response for create_network : {'network': {'id': '294c269f-f6f6-4ebe-a179-73ea3be1a9b8', 'name': 'ctest-vn1-73926319', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41740492', 'ctest-vn1-73926319'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 13:59:31,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '77b93626-1d09-418a-9b07-05030198586f', 'name': '', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '294c269f-f6f6-4ebe-a179-73ea3be1a9b8', 'ip_version': 4, 'cidr': '172.237.40.64/26', 'allocation_pools': [{'start': '172.237.40.66', 'end': '172.237.40.126'}], 'gateway_ip': '172.237.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.237.40.66', 'tags': [], 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:31,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '7067fb5b-0cf8-4096-a605-8ad9c7c0fa16', 'name': '', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '294c269f-f6f6-4ebe-a179-73ea3be1a9b8', 'ip_version': 4, 'cidr': '166.132.164.128/26', 'allocation_pools': [{'start': '166.132.164.130', 'end': '166.132.164.190'}], 'gateway_ip': '166.132.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.132.164.130', 'tags': [], 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:31,576 - INFO - Created VN ctest-vn1-73926319
2025-12-22 13:59:31,630 - DEBUG - VN ctest-vn1-73926319 UUID is 294c269f-f6f6-4ebe-a179-73ea3be1a9b8
2025-12-22 13:59:31,953 - DEBUG - Response for create_port : {'port': {'name': '2a53d27f-1017-4ce1-91ed-474bf06dc57c', 'id': '2a53d27f-1017-4ce1-91ed-474bf06dc57c', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '294c269f-f6f6-4ebe-a179-73ea3be1a9b8', 'mac_address': '02:2a:53:d2:7f:10', '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': '172.237.40.69', 'subnet_id': '77b93626-1d09-418a-9b07-05030198586f'}], 'security_groups': ['e86f2521-66c0-443e-846a-9f1991c0ed92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:32,137 - DEBUG - Response for create_port : {'port': {'name': '33ac68b1-c3c8-422d-8533-a5b1b7bdc814', 'id': '33ac68b1-c3c8-422d-8533-a5b1b7bdc814', 'tenant_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0', 'network_id': '294c269f-f6f6-4ebe-a179-73ea3be1a9b8', 'mac_address': '02:33:ac:68:b1:c3', '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': '166.132.164.133', 'subnet_id': '7067fb5b-0cf8-4096-a605-8ad9c7c0fa16'}], 'security_groups': ['e86f2521-66c0-443e-846a-9f1991c0ed92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd8078e9d9a6f4fc9936c7a95bdc42da0'}}
2025-12-22 13:59:32,216 - DEBUG - Services list from nova: [, , ]
2025-12-22 13:59:32,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1)
2025-12-22 13:59:33,150 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4920-1)
2025-12-22 13:59:33,150 - INFO - Waiting for VM ctest-vn1-vm1-34461434 to be up..
2025-12-22 13:59:33,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-22 13:59:38,284 - DEBUG - VM is in ACTIVE state now
2025-12-22 13:59:38,284 - INFO - VM name : ctest-vn1-vm1-34461434
2025-12-22 13:59:38,389 - DEBUG - VM ctest-vn1-vm1-34461434 ID is 78147fa6-88b6-4ae7-bb51-9cef06b0da40
2025-12-22 13:59:38,412 - DEBUG - VM ctest-vn1-vm1-34461434 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1
2025-12-22 13:59:38,504 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/78147fa6-88b6-4ae7-bb51-9cef06b0da40
2025-12-22 13:59:38,514 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2a53d27f-1017-4ce1-91ed-474bf06dc57c
2025-12-22 13:59:41,798 - 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 1026ms')
2025-12-22 13:59:41,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34461434 failed!
2025-12-22 13:59:41,853 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41740492:ctest-vn1-73926319 is 172.237.40.65 and allocation pool is NOT set
2025-12-22 13:59:41,853 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41740492:ctest-vn1-73926319 is 166.132.164.129 and allocation pool is NOT set
2025-12-22 13:59:45,928 - 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=6.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 6.785/6.785/6.785/0.000 ms')
2025-12-22 13:59:45,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34461434 passed
2025-12-22 13:59:46,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 13:59:46,082 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34461434, IP 172.237.40.69, Port 22
2025-12-22 13:59:46,245 - DEBUG - VM ctest-vn1-vm1-34461434 is ready for SSH connections
2025-12-22 13:59:46,245 - INFO - Waiting for VM ctest-vn1-vm2-83111490 to be up..
2025-12-22 13:59:46,338 - DEBUG - VM is in ACTIVE state now
2025-12-22 13:59:46,339 - INFO - VM name : ctest-vn1-vm2-83111490
2025-12-22 13:59:46,426 - DEBUG - VM ctest-vn1-vm2-83111490 ID is 41abdd0c-8d5d-43c8-aef5-fc2b842542b4
2025-12-22 13:59:46,426 - DEBUG - VM ctest-vn1-vm2-83111490 launched on Node cn-jenkins-deploy-platform-ansible-os-4920-1
2025-12-22 13:59:46,515 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/41abdd0c-8d5d-43c8-aef5-fc2b842542b4
2025-12-22 13:59:46,524 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/33ac68b1-c3c8-422d-8533-a5b1b7bdc814
2025-12-22 13:59:47,783 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.626 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.626/2.189/3.753/1.563 ms')
2025-12-22 13:59:47,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83111490 passed
2025-12-22 13:59:47,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 13:59:47,938 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83111490, IP 166.132.164.133, Port 22
2025-12-22 13:59:48,112 - DEBUG - VM ctest-vn1-vm2-83111490 is ready for SSH connections
2025-12-22 13:59:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 13:59:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 13:59:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-22 13:59:48,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.237.40.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-12-22 13:59:48,113 - DEBUG - ping -s 56 -c 3 -W 1 172.237.40.69
2025-12-22 13:59:50,826 - DEBUG - PING 172.237.40.69 (172.237.40.69): 56 data bytes
64 bytes from 172.237.40.69: seq=0 ttl=63 time=5.113 ms
64 bytes from 172.237.40.69: seq=1 ttl=63 time=1.064 ms
64 bytes from 172.237.40.69: seq=2 ttl=63 time=1.140 ms
--- 172.237.40.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.064/2.439/5.113 ms
2025-12-22 13:59:50,826 - INFO - Ping to IP 172.237.40.69 from VM ctest-vn1-vm2-83111490 passed
2025-12-22 13:59:50,826 - INFO - Detaching port 33ac68b1-c3c8-422d-8533-a5b1b7bdc814 from VM ctest-vn1-vm2-83111490
2025-12-22 13:59:50,882 - INFO - Deleting VM ctest-vn1-vm2-83111490
2025-12-22 13:59:50,965 - INFO - Detaching port 2a53d27f-1017-4ce1-91ed-474bf06dc57c from VM ctest-vn1-vm1-34461434
2025-12-22 13:59:51,004 - INFO - Deleting VM ctest-vn1-vm1-34461434
2025-12-22 13:59:51,252 - DEBUG - Response for delete_port : ()
2025-12-22 13:59:51,449 - DEBUG - Response for delete_port : ()
2025-12-22 13:59:51,449 - INFO - Deleting VN ctest-vn1-73926319
2025-12-22 13:59:51,592 - DEBUG - Response for deleting network ()
2025-12-22 13:59:51,859 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 13:59:51,859 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-22 13:59:51,859 - INFO - --------------------------------------------------------------------------------
2025-12-22 13:59:52,616 - INFO - Deleted project: ctest-TestPorts-41740492, ID : d8078e9d-9a6f-4fc9-936c-7a95bdc42da0