2025-11-14 17:16:05,871 - INFO - Domain Default found not creating
2025-11-14 17:16:06,219 - INFO - Project ctest-TestPorts-68377821 not found, creating it
2025-11-14 17:16:06,865 - INFO - Created Project:ctest-TestPorts-68377821, ID : 014be7e4-a50e-4700-9b09-f3b2fded33e2
2025-11-14 17:16:09,021 - INFO - ================================================================================
2025-11-14 17:16:09,022 - INFO - STARTING TEST : test_ports_bindings
2025-11-14 17:16:09,022 - 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-11-14 17:16:09,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-14 17:16:09,347 - INFO - Initial checks done. Running the testcase now
2025-11-14 17:16:09,347 - INFO -
2025-11-14 17:16:10,220 - DEBUG - Response for create_network : {'network': {'id': '7c91d7b0-8544-4f79-8aac-b0b32ef34645', 'name': 'ctest-vn-15068520', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'project_id': '014be7e4a50e47009b09f3b2fded33e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68377821', 'ctest-vn-15068520'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:16:10,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '8131b768-41a2-4f3c-98b4-02b7d7119d6e', 'name': '', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '7c91d7b0-8544-4f79-8aac-b0b32ef34645', 'ip_version': 4, 'cidr': '21.254.244.0/26', 'allocation_pools': [{'start': '21.254.244.2', 'end': '21.254.244.62'}], 'gateway_ip': '21.254.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.254.244.2', 'tags': [], 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:10,514 - INFO - Created VN ctest-vn-15068520
2025-11-14 17:16:10,567 - DEBUG - VN ctest-vn-15068520 UUID is 7c91d7b0-8544-4f79-8aac-b0b32ef34645
2025-11-14 17:16:10,747 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68377821', 'ctest-vmi-26497751']}
2025-11-14 17:16:11,158 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26497751', 'id': '34cc4112-f09f-443a-9da9-efca45c638f5', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '7c91d7b0-8544-4f79-8aac-b0b32ef34645', 'mac_address': '02:34:cc:41:12:f0', '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': '21.254.244.3', 'subnet_id': '8131b768-41a2-4f3c-98b4-02b7d7119d6e'}], 'security_groups': ['0231bd88-1b37-4233-be95-1c8a4cfe68ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:11,158 - DEBUG - Created port 34cc4112-f09f-443a-9da9-efca45c638f5
2025-11-14 17:16:11,275 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/34cc4112-f09f-443a-9da9-efca45c638f5
2025-11-14 17:16:11,638 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/34cc4112-f09f-443a-9da9-efca45c638f5
2025-11-14 17:16:11,682 - INFO - VMI 34cc4112-f09f-443a-9da9-efca45c638f5 verification in API Server passed
2025-11-14 17:16:11,864 - DEBUG - Response for delete_port : ()
2025-11-14 17:16:11,864 - INFO - Deleted port 34cc4112-f09f-443a-9da9-efca45c638f5
2025-11-14 17:16:11,865 - INFO - Deleting VN ctest-vn-15068520
2025-11-14 17:16:12,046 - DEBUG - Response for deleting network ()
2025-11-14 17:16:12,362 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 17:16:12,362 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-14 17:16:12,362 - INFO - --------------------------------------------------------------------------------
2025-11-14 17:16:12,370 - INFO - ================================================================================
2025-11-14 17:16:12,371 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-14 17:16:12,371 - 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-11-14 17:16:12,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-14 17:16:12,710 - INFO - Initial checks done. Running the testcase now
2025-11-14 17:16:12,711 - INFO -
2025-11-14 17:16:13,037 - DEBUG - Response for create_network : {'network': {'id': '34e5add0-8e55-4932-bd4a-5bb4dae24a6c', 'name': 'ctest-vn1-97592192', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'project_id': '014be7e4a50e47009b09f3b2fded33e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68377821', 'ctest-vn1-97592192'], 'port_security_enabled': True, 'description': ''}}
2025-11-14 17:16:13,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3119250-f821-4e9a-a429-c435c8ef79c8', 'name': '', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '34e5add0-8e55-4932-bd4a-5bb4dae24a6c', 'ip_version': 4, 'cidr': '36.250.164.192/26', 'allocation_pools': [{'start': '36.250.164.194', 'end': '36.250.164.254'}], 'gateway_ip': '36.250.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.250.164.194', 'tags': [], 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:13,433 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2b1f605-0081-442f-a324-0059f3d85543', 'name': '', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '34e5add0-8e55-4932-bd4a-5bb4dae24a6c', 'ip_version': 4, 'cidr': '156.187.64.192/26', 'allocation_pools': [{'start': '156.187.64.194', 'end': '156.187.64.254'}], 'gateway_ip': '156.187.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.187.64.194', 'tags': [], 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:13,470 - INFO - Created VN ctest-vn1-97592192
2025-11-14 17:16:13,535 - DEBUG - VN ctest-vn1-97592192 UUID is 34e5add0-8e55-4932-bd4a-5bb4dae24a6c
2025-11-14 17:16:14,044 - DEBUG - Response for create_port : {'port': {'name': 'cc510b2d-d24a-4abd-8f13-6d947d5c1606', 'id': 'cc510b2d-d24a-4abd-8f13-6d947d5c1606', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '34e5add0-8e55-4932-bd4a-5bb4dae24a6c', 'mac_address': '02:cc:51:0b:2d:d2', '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.250.164.197', 'subnet_id': 'e3119250-f821-4e9a-a429-c435c8ef79c8'}], 'security_groups': ['0231bd88-1b37-4233-be95-1c8a4cfe68ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:14,325 - DEBUG - Response for create_port : {'port': {'name': '4c19c343-fdad-4871-8cd3-4017ff58d261', 'id': '4c19c343-fdad-4871-8cd3-4017ff58d261', 'tenant_id': '014be7e4a50e47009b09f3b2fded33e2', 'network_id': '34e5add0-8e55-4932-bd4a-5bb4dae24a6c', 'mac_address': '02:4c:19:c3:43:fd', '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': '156.187.64.197', 'subnet_id': 'e2b1f605-0081-442f-a324-0059f3d85543'}], 'security_groups': ['0231bd88-1b37-4233-be95-1c8a4cfe68ad'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '014be7e4a50e47009b09f3b2fded33e2'}}
2025-11-14 17:16:14,409 - DEBUG - Services list from nova: [, , ]
2025-11-14 17:16:15,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:16:15,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4732-1)
2025-11-14 17:16:15,963 - INFO - Waiting for VM ctest-vn1-vm1-15975994 to be up..
2025-11-14 17:16:16,065 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-14 17:16:21,241 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:16:21,241 - INFO - VM name : ctest-vn1-vm1-15975994
2025-11-14 17:16:21,373 - DEBUG - VM ctest-vn1-vm1-15975994 ID is 7c8c5a3f-9136-4660-8e05-580440db40aa
2025-11-14 17:16:21,398 - DEBUG - VM ctest-vn1-vm1-15975994 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:16:21,501 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/7c8c5a3f-9136-4660-8e05-580440db40aa
2025-11-14 17:16:21,515 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/cc510b2d-d24a-4abd-8f13-6d947d5c1606
2025-11-14 17:16:24,791 - 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 1005ms')
2025-11-14 17:16:24,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15975994 failed!
2025-11-14 17:16:24,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68377821:ctest-vn1-97592192 is 36.250.164.193 and allocation pool is NOT set
2025-11-14 17:16:24,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68377821:ctest-vn1-97592192 is 156.187.64.193 and allocation pool is NOT set
2025-11-14 17:16:28,943 - 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 1018ms')
2025-11-14 17:16:28,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15975994 failed!
2025-11-14 17:16:29,023 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68377821:ctest-vn1-97592192 is 36.250.164.193 and allocation pool is NOT set
2025-11-14 17:16:29,023 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68377821:ctest-vn1-97592192 is 156.187.64.193 and allocation pool is NOT set
2025-11-14 17:16:31,103 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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 = 1.076/5.901/10.726/4.825 ms')
2025-11-14 17:16:31,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15975994 passed
2025-11-14 17:16:31,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:31,284 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15975994, IP 36.250.164.197, Port 22
2025-11-14 17:16:31,482 - DEBUG - VM ctest-vn1-vm1-15975994 is ready for SSH connections
2025-11-14 17:16:31,482 - INFO - Waiting for VM ctest-vn1-vm2-95692809 to be up..
2025-11-14 17:16:31,674 - DEBUG - VM is in ACTIVE state now
2025-11-14 17:16:31,674 - INFO - VM name : ctest-vn1-vm2-95692809
2025-11-14 17:16:31,835 - DEBUG - VM ctest-vn1-vm2-95692809 ID is a54a68d5-26e3-41af-a1fd-e5e26c3396dd
2025-11-14 17:16:31,835 - DEBUG - VM ctest-vn1-vm2-95692809 launched on Node cn-jenkins-deploy-platform-ansible-os-4732-1
2025-11-14 17:16:31,959 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a54a68d5-26e3-41af-a1fd-e5e26c3396dd
2025-11-14 17:16:31,970 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4c19c343-fdad-4871-8cd3-4017ff58d261
2025-11-14 17:16:33,261 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.961 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.961/2.413/3.865/1.452 ms')
2025-11-14 17:16:33,261 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-95692809 passed
2025-11-14 17:16:33,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:33,444 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95692809, IP 156.187.64.197, Port 22
2025-11-14 17:16:33,638 - DEBUG - VM ctest-vn1-vm2-95692809 is ready for SSH connections
2025-11-14 17:16:33,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:33,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:33,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-14 17:16:33,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.250.164.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-14 17:16:33,639 - DEBUG - ping -s 56 -c 3 -W 1 36.250.164.197
2025-11-14 17:16:36,642 - DEBUG - PING 36.250.164.197 (36.250.164.197): 56 data bytes
64 bytes from 36.250.164.197: seq=0 ttl=63 time=3.917 ms
64 bytes from 36.250.164.197: seq=1 ttl=63 time=2.001 ms
64 bytes from 36.250.164.197: seq=2 ttl=63 time=1.834 ms
--- 36.250.164.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.834/2.584/3.917 ms
2025-11-14 17:16:36,642 - INFO - Ping to IP 36.250.164.197 from VM ctest-vn1-vm2-95692809 passed
2025-11-14 17:16:36,643 - INFO - Detaching port 4c19c343-fdad-4871-8cd3-4017ff58d261 from VM ctest-vn1-vm2-95692809
2025-11-14 17:16:36,756 - INFO - Deleting VM ctest-vn1-vm2-95692809
2025-11-14 17:16:36,926 - INFO - Detaching port cc510b2d-d24a-4abd-8f13-6d947d5c1606 from VM ctest-vn1-vm1-15975994
2025-11-14 17:16:36,984 - INFO - Deleting VM ctest-vn1-vm1-15975994
2025-11-14 17:16:37,332 - DEBUG - Response for delete_port : ()
2025-11-14 17:16:37,512 - DEBUG - Response for delete_port : ()
2025-11-14 17:16:37,512 - INFO - Deleting VN ctest-vn1-97592192
2025-11-14 17:16:37,646 - DEBUG - Response for deleting network ()
2025-11-14 17:16:37,950 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 17:16:37,950 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-14 17:16:37,951 - INFO - --------------------------------------------------------------------------------
2025-11-14 17:16:38,813 - INFO - Deleted project: ctest-TestPorts-68377821, ID : 014be7e4-a50e-4700-9b09-f3b2fded33e2