2026-03-23 01:59:03,376 - INFO - Domain Default found not creating
2026-03-23 01:59:03,527 - INFO - Project ctest-TestPorts-11118341 not found, creating it
2026-03-23 01:59:03,964 - INFO - Created Project:ctest-TestPorts-11118341, ID : 92cc69ea-c862-483d-89ab-d4b16009f715
2026-03-23 01:59:05,368 - INFO - ================================================================================
2026-03-23 01:59:05,369 - INFO - STARTING TEST : test_ports_bindings
2026-03-23 01:59:05,369 - 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
2026-03-23 01:59:05,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-03-23 01:59:05,629 - INFO - Initial checks done. Running the testcase now
2026-03-23 01:59:05,630 - INFO -
2026-03-23 01:59:06,259 - DEBUG - Response for create_network : {'network': {'id': 'b6bd85e1-0556-466a-9690-d8415d63001c', 'name': 'ctest-vn-61174255', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'project_id': '92cc69eac862483d89abd4b16009f715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11118341', 'ctest-vn-61174255'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 01:59:06,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cfe0ea2-76e5-413b-b063-5224f8caf824', 'name': '', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'b6bd85e1-0556-466a-9690-d8415d63001c', 'ip_version': 4, 'cidr': '63.113.220.192/26', 'allocation_pools': [{'start': '63.113.220.194', 'end': '63.113.220.254'}], 'gateway_ip': '63.113.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.113.220.194', 'tags': [], 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:06,489 - INFO - Created VN ctest-vn-61174255
2026-03-23 01:59:06,540 - DEBUG - VN ctest-vn-61174255 UUID is b6bd85e1-0556-466a-9690-d8415d63001c
2026-03-23 01:59:06,649 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11118341', 'ctest-vmi-26684436']}
2026-03-23 01:59:06,914 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26684436', 'id': '43ed17be-1074-4548-9e26-e89fc30c408e', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'b6bd85e1-0556-466a-9690-d8415d63001c', 'mac_address': '02:43:ed:17:be:10', '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': '63.113.220.195', 'subnet_id': '3cfe0ea2-76e5-413b-b063-5224f8caf824'}], 'security_groups': ['5249d6d3-b860-47b5-b152-c9fe476063be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:06,914 - DEBUG - Created port 43ed17be-1074-4548-9e26-e89fc30c408e
2026-03-23 01:59:07,016 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/43ed17be-1074-4548-9e26-e89fc30c408e
2026-03-23 01:59:07,308 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/43ed17be-1074-4548-9e26-e89fc30c408e
2026-03-23 01:59:07,339 - INFO - VMI 43ed17be-1074-4548-9e26-e89fc30c408e verification in API Server passed
2026-03-23 01:59:07,424 - DEBUG - Response for delete_port : ()
2026-03-23 01:59:07,424 - INFO - Deleted port 43ed17be-1074-4548-9e26-e89fc30c408e
2026-03-23 01:59:07,424 - INFO - Deleting VN ctest-vn-61174255
2026-03-23 01:59:07,527 - DEBUG - Response for deleting network ()
2026-03-23 01:59:07,781 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 01:59:07,781 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-23 01:59:07,781 - INFO - --------------------------------------------------------------------------------
2026-03-23 01:59:07,783 - INFO - ================================================================================
2026-03-23 01:59:07,783 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-23 01:59:07,783 - 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
2026-03-23 01:59:08,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-03-23 01:59:08,073 - INFO - Initial checks done. Running the testcase now
2026-03-23 01:59:08,073 - INFO -
2026-03-23 01:59:08,252 - DEBUG - Response for create_network : {'network': {'id': 'c978d3b2-b85f-4181-9946-669b132a60d1', 'name': 'ctest-vn1-32226589', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'project_id': '92cc69eac862483d89abd4b16009f715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11118341', 'ctest-vn1-32226589'], 'port_security_enabled': True, 'description': ''}}
2026-03-23 01:59:08,486 - DEBUG - Response for create_subnet : {'subnet': {'id': '8810eb05-665c-4e90-bef0-d2049ffac5d8', 'name': '', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'c978d3b2-b85f-4181-9946-669b132a60d1', 'ip_version': 4, 'cidr': '19.68.185.0/26', 'allocation_pools': [{'start': '19.68.185.2', 'end': '19.68.185.62'}], 'gateway_ip': '19.68.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.68.185.2', 'tags': [], 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:08,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df27a3bb-9d7e-4af3-96db-a20520749799', 'name': '', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'c978d3b2-b85f-4181-9946-669b132a60d1', 'ip_version': 4, 'cidr': '192.234.200.0/26', 'allocation_pools': [{'start': '192.234.200.2', 'end': '192.234.200.62'}], 'gateway_ip': '192.234.200.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.234.200.2', 'tags': [], 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:08,648 - INFO - Created VN ctest-vn1-32226589
2026-03-23 01:59:08,700 - DEBUG - VN ctest-vn1-32226589 UUID is c978d3b2-b85f-4181-9946-669b132a60d1
2026-03-23 01:59:09,000 - DEBUG - Response for create_port : {'port': {'name': 'b132df3f-6ac2-4e7b-be0d-d0b37909d24c', 'id': 'b132df3f-6ac2-4e7b-be0d-d0b37909d24c', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'c978d3b2-b85f-4181-9946-669b132a60d1', 'mac_address': '02:b1:32:df:3f:6a', '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': '19.68.185.5', 'subnet_id': '8810eb05-665c-4e90-bef0-d2049ffac5d8'}], 'security_groups': ['5249d6d3-b860-47b5-b152-c9fe476063be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:09,172 - DEBUG - Response for create_port : {'port': {'name': '4842aded-6030-4b0a-9691-97fbdda3a7ba', 'id': '4842aded-6030-4b0a-9691-97fbdda3a7ba', 'tenant_id': '92cc69eac862483d89abd4b16009f715', 'network_id': 'c978d3b2-b85f-4181-9946-669b132a60d1', 'mac_address': '02:48:42:ad:ed:60', '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.234.200.5', 'subnet_id': 'df27a3bb-9d7e-4af3-96db-a20520749799'}], 'security_groups': ['5249d6d3-b860-47b5-b152-c9fe476063be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '92cc69eac862483d89abd4b16009f715'}}
2026-03-23 01:59:09,226 - DEBUG - Services list from nova: [, , ]
2026-03-23 01:59:09,534 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5510-1)
2026-03-23 01:59:09,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5510-1)
2026-03-23 01:59:09,923 - INFO - Waiting for VM ctest-vn1-vm1-82814226 to be up..
2026-03-23 01:59:09,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-23 01:59:15,030 - DEBUG - VM is in ACTIVE state now
2026-03-23 01:59:15,030 - INFO - VM name : ctest-vn1-vm1-82814226
2026-03-23 01:59:15,111 - DEBUG - VM ctest-vn1-vm1-82814226 ID is 0946d946-8d76-41ef-b48a-7019aea028c2
2026-03-23 01:59:15,132 - DEBUG - VM ctest-vn1-vm1-82814226 launched on Node cn-jenkins-deploy-platform-ansible-os-5510-1
2026-03-23 01:59:15,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0946d946-8d76-41ef-b48a-7019aea028c2
2026-03-23 01:59:15,217 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b132df3f-6ac2-4e7b-be0d-d0b37909d24c
2026-03-23 01:59:18,474 - 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 1006ms')
2026-03-23 01:59:18,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82814226 failed!
2026-03-23 01:59:18,532 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11118341:ctest-vn1-32226589 is 19.68.185.1 and allocation pool is NOT set
2026-03-23 01:59:18,532 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11118341:ctest-vn1-32226589 is 192.234.200.1 and allocation pool is NOT set
2026-03-23 01:59:20,600 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.159/2.416/2.674/0.257 ms')
2026-03-23 01:59:20,600 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82814226 passed
2026-03-23 01:59:20,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:20,752 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82814226, IP 19.68.185.5, Port 22
2026-03-23 01:59:20,908 - DEBUG - VM ctest-vn1-vm1-82814226 is ready for SSH connections
2026-03-23 01:59:20,908 - INFO - Waiting for VM ctest-vn1-vm2-90453741 to be up..
2026-03-23 01:59:20,981 - DEBUG - VM is in ACTIVE state now
2026-03-23 01:59:20,981 - INFO - VM name : ctest-vn1-vm2-90453741
2026-03-23 01:59:21,053 - DEBUG - VM ctest-vn1-vm2-90453741 ID is 67db685d-90fc-4b07-ad1a-3e42e62d19e3
2026-03-23 01:59:21,054 - DEBUG - VM ctest-vn1-vm2-90453741 launched on Node cn-jenkins-deploy-platform-ansible-os-5510-1
2026-03-23 01:59:21,119 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/67db685d-90fc-4b07-ad1a-3e42e62d19e3
2026-03-23 01:59:21,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4842aded-6030-4b0a-9691-97fbdda3a7ba
2026-03-23 01:59:22,360 - 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=4.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.976 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.976/2.976/4.977/2.000 ms')
2026-03-23 01:59:22,360 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90453741 passed
2026-03-23 01:59:22,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:22,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90453741, IP 192.234.200.5, Port 22
2026-03-23 01:59:22,564 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-03-23 01:59:22,634 - DEBUG - VM ctest-vn1-vm2-90453741 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-23 01:59:27,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:27,635 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90453741, IP 192.234.200.5, Port 22
2026-03-23 01:59:27,796 - DEBUG - VM ctest-vn1-vm2-90453741 is ready for SSH connections
2026-03-23 01:59:27,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:27,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:27,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-23 01:59:27,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.68.185.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-03-23 01:59:27,797 - DEBUG - ping -s 56 -c 3 -W 1 19.68.185.5
2026-03-23 01:59:30,431 - DEBUG - PING 19.68.185.5 (19.68.185.5): 56 data bytes
64 bytes from 19.68.185.5: seq=0 ttl=63 time=3.484 ms
64 bytes from 19.68.185.5: seq=1 ttl=63 time=0.888 ms
64 bytes from 19.68.185.5: seq=2 ttl=63 time=0.797 ms
--- 19.68.185.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.797/1.723/3.484 ms
2026-03-23 01:59:30,431 - INFO - Ping to IP 19.68.185.5 from VM ctest-vn1-vm2-90453741 passed
2026-03-23 01:59:30,431 - INFO - Detaching port 4842aded-6030-4b0a-9691-97fbdda3a7ba from VM ctest-vn1-vm2-90453741
2026-03-23 01:59:30,477 - INFO - Deleting VM ctest-vn1-vm2-90453741
2026-03-23 01:59:30,544 - INFO - Detaching port b132df3f-6ac2-4e7b-be0d-d0b37909d24c from VM ctest-vn1-vm1-82814226
2026-03-23 01:59:30,579 - INFO - Deleting VM ctest-vn1-vm1-82814226
2026-03-23 01:59:30,793 - DEBUG - Response for delete_port : ()
2026-03-23 01:59:30,942 - DEBUG - Response for delete_port : ()
2026-03-23 01:59:30,943 - INFO - Deleting VN ctest-vn1-32226589
2026-03-23 01:59:31,064 - DEBUG - Response for deleting network ()
2026-03-23 01:59:31,317 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 01:59:31,317 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-23 01:59:31,317 - INFO - --------------------------------------------------------------------------------
2026-03-23 01:59:31,995 - INFO - Deleted project: ctest-TestPorts-11118341, ID : 92cc69ea-c862-483d-89ab-d4b16009f715