2025-10-27 13:55:18,952 - INFO - Domain Default found not creating
2025-10-27 13:55:19,119 - INFO - Project ctest-TestPorts-64601839 not found, creating it
2025-10-27 13:55:19,603 - INFO - Created Project:ctest-TestPorts-64601839, ID : 60e30f3b-eedb-4b6d-96ce-6af1083fbcfc
2025-10-27 13:55:21,114 - INFO - ================================================================================
2025-10-27 13:55:21,114 - INFO - STARTING TEST : test_ports_bindings
2025-10-27 13:55:21,114 - 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-10-27 13:55:21,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 13:55:21,371 - INFO - Initial checks done. Running the testcase now
2025-10-27 13:55:21,371 - INFO -
2025-10-27 13:55:21,943 - DEBUG - Response for create_network : {'network': {'id': '6a673263-6586-4cb0-8c6f-8159cc90560b', 'name': 'ctest-vn-24903484', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64601839', 'ctest-vn-24903484'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 13:55:22,119 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ff5e4dc-9201-47ce-a804-d6232b640c13', 'name': '', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': '6a673263-6586-4cb0-8c6f-8159cc90560b', 'ip_version': 4, 'cidr': '94.124.212.192/26', 'allocation_pools': [{'start': '94.124.212.194', 'end': '94.124.212.254'}], 'gateway_ip': '94.124.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.124.212.194', 'tags': [], 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:22,138 - INFO - Created VN ctest-vn-24903484
2025-10-27 13:55:22,193 - DEBUG - VN ctest-vn-24903484 UUID is 6a673263-6586-4cb0-8c6f-8159cc90560b
2025-10-27 13:55:22,301 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64601839', 'ctest-vmi-48244180']}
2025-10-27 13:55:22,572 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-48244180', 'id': 'a1711f83-3e5c-4a1e-ab54-31f107d63f10', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': '6a673263-6586-4cb0-8c6f-8159cc90560b', 'mac_address': '02:a1:71:1f:83:3e', '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': '94.124.212.195', 'subnet_id': '3ff5e4dc-9201-47ce-a804-d6232b640c13'}], 'security_groups': ['b6852373-8eb1-4a1b-9233-33f21531e9fe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:22,573 - DEBUG - Created port a1711f83-3e5c-4a1e-ab54-31f107d63f10
2025-10-27 13:55:22,677 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a1711f83-3e5c-4a1e-ab54-31f107d63f10
2025-10-27 13:55:22,980 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a1711f83-3e5c-4a1e-ab54-31f107d63f10
2025-10-27 13:55:23,023 - INFO - VMI a1711f83-3e5c-4a1e-ab54-31f107d63f10 verification in API Server passed
2025-10-27 13:55:23,121 - DEBUG - Response for delete_port : ()
2025-10-27 13:55:23,121 - INFO - Deleted port a1711f83-3e5c-4a1e-ab54-31f107d63f10
2025-10-27 13:55:23,121 - INFO - Deleting VN ctest-vn-24903484
2025-10-27 13:55:23,259 - DEBUG - Response for deleting network ()
2025-10-27 13:55:23,523 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 13:55:23,523 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-27 13:55:23,523 - INFO - --------------------------------------------------------------------------------
2025-10-27 13:55:23,525 - INFO - ================================================================================
2025-10-27 13:55:23,526 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-27 13:55:23,526 - 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-10-27 13:55:23,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 13:55:23,819 - INFO - Initial checks done. Running the testcase now
2025-10-27 13:55:23,819 - INFO -
2025-10-27 13:55:24,232 - DEBUG - Response for create_network : {'network': {'id': 'ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c', 'name': 'ctest-vn1-64885203', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64601839', 'ctest-vn1-64885203'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 13:55:24,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c5881ae-8a69-490f-aef3-8037321c6de7', 'name': '', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': 'ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c', 'ip_version': 4, 'cidr': '66.210.231.128/26', 'allocation_pools': [{'start': '66.210.231.130', 'end': '66.210.231.190'}], 'gateway_ip': '66.210.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.210.231.130', 'tags': [], 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:24,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ad9c89c-c1d8-4cc6-a302-69f8fd2648e2', 'name': '', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': 'ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c', 'ip_version': 4, 'cidr': '126.10.42.192/26', 'allocation_pools': [{'start': '126.10.42.194', 'end': '126.10.42.254'}], 'gateway_ip': '126.10.42.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.10.42.194', 'tags': [], 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:24,757 - INFO - Created VN ctest-vn1-64885203
2025-10-27 13:55:24,809 - DEBUG - VN ctest-vn1-64885203 UUID is ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c
2025-10-27 13:55:25,131 - DEBUG - Response for create_port : {'port': {'name': '8fa38a38-4a45-4892-a9a0-31ca75032734', 'id': '8fa38a38-4a45-4892-a9a0-31ca75032734', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': 'ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c', 'mac_address': '02:8f:a3:8a:38:4a', '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': '66.210.231.133', 'subnet_id': '0c5881ae-8a69-490f-aef3-8037321c6de7'}], 'security_groups': ['b6852373-8eb1-4a1b-9233-33f21531e9fe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:25,324 - DEBUG - Response for create_port : {'port': {'name': '569b015a-6680-438d-99f6-3586fd30dda5', 'id': '569b015a-6680-438d-99f6-3586fd30dda5', 'tenant_id': '60e30f3beedb4b6d96ce6af1083fbcfc', 'network_id': 'ffc64bdd-dcbe-45f1-acc6-145eb15a5a3c', 'mac_address': '02:56:9b:01:5a: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': '126.10.42.197', 'subnet_id': '7ad9c89c-c1d8-4cc6-a302-69f8fd2648e2'}], 'security_groups': ['b6852373-8eb1-4a1b-9233-33f21531e9fe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60e30f3beedb4b6d96ce6af1083fbcfc'}}
2025-10-27 13:55:25,386 - DEBUG - Services list from nova: [, , ]
2025-10-27 13:55:25,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1)
2025-10-27 13:55:26,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4503-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4503-1)
2025-10-27 13:55:26,200 - INFO - Waiting for VM ctest-vn1-vm1-47760977 to be up..
2025-10-27 13:55:26,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-27 13:55:31,332 - DEBUG - VM is in ACTIVE state now
2025-10-27 13:55:31,332 - INFO - VM name : ctest-vn1-vm1-47760977
2025-10-27 13:55:31,412 - DEBUG - VM ctest-vn1-vm1-47760977 ID is 53878c67-d492-45f9-8303-3f4475798ecd
2025-10-27 13:55:31,432 - DEBUG - VM ctest-vn1-vm1-47760977 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1
2025-10-27 13:55:31,516 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/53878c67-d492-45f9-8303-3f4475798ecd
2025-10-27 13:55:31,526 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8fa38a38-4a45-4892-a9a0-31ca75032734
2025-10-27 13:55:34,803 - 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-10-27 13:55:34,803 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47760977 failed!
2025-10-27 13:55:34,865 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64601839:ctest-vn1-64885203 is 66.210.231.129 and allocation pool is NOT set
2025-10-27 13:55:34,865 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64601839:ctest-vn1-64885203 is 126.10.42.193 and allocation pool is NOT set
2025-10-27 13:55:38,964 - 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=7.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 7.551/7.551/7.551/0.000 ms')
2025-10-27 13:55:38,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47760977 passed
2025-10-27 13:55:39,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:39,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47760977, IP 66.210.231.133, Port 22
2025-10-27 13:55:39,191 - 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-10-27 13:55:39,277 - DEBUG - VM ctest-vn1-vm1-47760977 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-27 13:55:44,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:44,279 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47760977, IP 66.210.231.133, Port 22
2025-10-27 13:55:44,440 - DEBUG - VM ctest-vn1-vm1-47760977 is ready for SSH connections
2025-10-27 13:55:44,440 - INFO - Waiting for VM ctest-vn1-vm2-34805690 to be up..
2025-10-27 13:55:44,525 - DEBUG - VM is in ACTIVE state now
2025-10-27 13:55:44,525 - INFO - VM name : ctest-vn1-vm2-34805690
2025-10-27 13:55:44,608 - DEBUG - VM ctest-vn1-vm2-34805690 ID is 1339cbb1-7b28-49f2-8ce1-19f5b81a1457
2025-10-27 13:55:44,608 - DEBUG - VM ctest-vn1-vm2-34805690 launched on Node cn-jenkins-deploy-platform-ansible-os-4503-1
2025-10-27 13:55:44,692 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/1339cbb1-7b28-49f2-8ce1-19f5b81a1457
2025-10-27 13:55:44,701 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/569b015a-6680-438d-99f6-3586fd30dda5
2025-10-27 13:55:45,947 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/2.139/3.761/1.621 ms')
2025-10-27 13:55:45,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-34805690 passed
2025-10-27 13:55:46,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:46,106 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-34805690, IP 126.10.42.197, Port 22
2025-10-27 13:55:46,264 - DEBUG - VM ctest-vn1-vm2-34805690 is ready for SSH connections
2025-10-27 13:55:46,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:46,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:46,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-27 13:55:46,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.210.231.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-27 13:55:46,265 - DEBUG - ping -s 56 -c 3 -W 1 66.210.231.133
2025-10-27 13:55:48,929 - DEBUG - PING 66.210.231.133 (66.210.231.133): 56 data bytes
64 bytes from 66.210.231.133: seq=0 ttl=63 time=4.174 ms
64 bytes from 66.210.231.133: seq=1 ttl=63 time=1.066 ms
64 bytes from 66.210.231.133: seq=2 ttl=63 time=1.074 ms
--- 66.210.231.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.066/2.104/4.174 ms
2025-10-27 13:55:48,929 - INFO - Ping to IP 66.210.231.133 from VM ctest-vn1-vm2-34805690 passed
2025-10-27 13:55:48,930 - INFO - Detaching port 569b015a-6680-438d-99f6-3586fd30dda5 from VM ctest-vn1-vm2-34805690
2025-10-27 13:55:48,983 - INFO - Deleting VM ctest-vn1-vm2-34805690
2025-10-27 13:55:49,064 - INFO - Detaching port 8fa38a38-4a45-4892-a9a0-31ca75032734 from VM ctest-vn1-vm1-47760977
2025-10-27 13:55:49,102 - INFO - Deleting VM ctest-vn1-vm1-47760977
2025-10-27 13:55:49,355 - DEBUG - Response for delete_port : ()
2025-10-27 13:55:49,543 - DEBUG - Response for delete_port : ()
2025-10-27 13:55:49,543 - INFO - Deleting VN ctest-vn1-64885203
2025-10-27 13:55:49,669 - DEBUG - Response for deleting network ()
2025-10-27 13:55:49,934 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 13:55:49,934 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-10-27 13:55:49,934 - INFO - --------------------------------------------------------------------------------
2025-10-27 13:55:50,661 - INFO - Deleted project: ctest-TestPorts-64601839, ID : 60e30f3b-eedb-4b6d-96ce-6af1083fbcfc