2025-09-01 15:07:19,927 - INFO - Domain Default found not creating
2025-09-01 15:07:20,071 - INFO - Project ctest-TestPorts-28583284 not found, creating it
2025-09-01 15:07:20,507 - INFO - Created Project:ctest-TestPorts-28583284, ID : 99fae239-761f-447c-8247-547aa4e23600
2025-09-01 15:07:22,731 - INFO - ================================================================================
2025-09-01 15:07:22,731 - INFO - STARTING TEST : test_ports_bindings
2025-09-01 15:07:22,731 - 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-09-01 15:07:22,993 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-01 15:07:22,994 - INFO - Initial checks done. Running the testcase now
2025-09-01 15:07:22,994 - INFO -
2025-09-01 15:07:23,560 - DEBUG - Response for create_network : {'network': {'id': '79ec8d2a-bf0e-49e2-a768-80fdeed886f3', 'name': 'ctest-vn-79983589', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'project_id': '99fae239761f447c8247547aa4e23600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28583284', 'ctest-vn-79983589'], 'port_security_enabled': True, 'description': ''}}
2025-09-01 15:07:23,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a6e710-ae54-421e-afa1-889cc7b90201', 'name': '', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '79ec8d2a-bf0e-49e2-a768-80fdeed886f3', 'ip_version': 4, 'cidr': '52.232.112.0/26', 'allocation_pools': [{'start': '52.232.112.2', 'end': '52.232.112.62'}], 'gateway_ip': '52.232.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.232.112.2', 'tags': [], 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:23,785 - INFO - Created VN ctest-vn-79983589
2025-09-01 15:07:23,836 - DEBUG - VN ctest-vn-79983589 UUID is 79ec8d2a-bf0e-49e2-a768-80fdeed886f3
2025-09-01 15:07:23,943 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28583284', 'ctest-vmi-47323502']}
2025-09-01 15:07:24,212 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-47323502', 'id': '5e1d9a3c-477e-4d61-878b-7691418474d4', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '79ec8d2a-bf0e-49e2-a768-80fdeed886f3', 'mac_address': '02:5e:1d:9a:3c:47', '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': '52.232.112.3', 'subnet_id': '48a6e710-ae54-421e-afa1-889cc7b90201'}], 'security_groups': ['e78aad98-82f8-44bd-af0c-51a9476af3f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:24,212 - DEBUG - Created port 5e1d9a3c-477e-4d61-878b-7691418474d4
2025-09-01 15:07:24,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5e1d9a3c-477e-4d61-878b-7691418474d4
2025-09-01 15:07:24,648 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5e1d9a3c-477e-4d61-878b-7691418474d4
2025-09-01 15:07:24,681 - INFO - VMI 5e1d9a3c-477e-4d61-878b-7691418474d4 verification in API Server passed
2025-09-01 15:07:24,763 - DEBUG - Response for delete_port : ()
2025-09-01 15:07:24,763 - INFO - Deleted port 5e1d9a3c-477e-4d61-878b-7691418474d4
2025-09-01 15:07:24,764 - INFO - Deleting VN ctest-vn-79983589
2025-09-01 15:07:24,852 - DEBUG - Response for deleting network ()
2025-09-01 15:07:25,105 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 15:07:25,105 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-01 15:07:25,105 - INFO - --------------------------------------------------------------------------------
2025-09-01 15:07:25,108 - INFO - ================================================================================
2025-09-01 15:07:25,108 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-01 15:07:25,108 - 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-09-01 15:07:25,392 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-01 15:07:25,392 - INFO - Initial checks done. Running the testcase now
2025-09-01 15:07:25,393 - INFO -
2025-09-01 15:07:25,567 - DEBUG - Response for create_network : {'network': {'id': '93bed6bd-1793-4d17-89a4-37846131e44e', 'name': 'ctest-vn1-29030898', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'project_id': '99fae239761f447c8247547aa4e23600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28583284', 'ctest-vn1-29030898'], 'port_security_enabled': True, 'description': ''}}
2025-09-01 15:07:25,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '0549a495-9d54-456e-a705-6ab6a6a92594', 'name': '', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '93bed6bd-1793-4d17-89a4-37846131e44e', 'ip_version': 4, 'cidr': '207.94.208.0/26', 'allocation_pools': [{'start': '207.94.208.2', 'end': '207.94.208.62'}], 'gateway_ip': '207.94.208.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.94.208.2', 'tags': [], 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:25,955 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af726e55-6835-4433-91d2-fe2e1cf8fb56', 'name': '', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '93bed6bd-1793-4d17-89a4-37846131e44e', 'ip_version': 4, 'cidr': '214.193.42.0/26', 'allocation_pools': [{'start': '214.193.42.2', 'end': '214.193.42.62'}], 'gateway_ip': '214.193.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.193.42.2', 'tags': [], 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:25,975 - INFO - Created VN ctest-vn1-29030898
2025-09-01 15:07:26,028 - DEBUG - VN ctest-vn1-29030898 UUID is 93bed6bd-1793-4d17-89a4-37846131e44e
2025-09-01 15:07:26,312 - DEBUG - Response for create_port : {'port': {'name': '0159706f-af8f-4a71-aea9-24b53b460dd5', 'id': '0159706f-af8f-4a71-aea9-24b53b460dd5', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '93bed6bd-1793-4d17-89a4-37846131e44e', 'mac_address': '02:01:59:70:6f:af', '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': '207.94.208.5', 'subnet_id': '0549a495-9d54-456e-a705-6ab6a6a92594'}], 'security_groups': ['e78aad98-82f8-44bd-af0c-51a9476af3f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:26,480 - DEBUG - Response for create_port : {'port': {'name': '6cc20b9d-0454-4115-a5f1-71fc94b2e212', 'id': '6cc20b9d-0454-4115-a5f1-71fc94b2e212', 'tenant_id': '99fae239761f447c8247547aa4e23600', 'network_id': '93bed6bd-1793-4d17-89a4-37846131e44e', 'mac_address': '02:6c:c2:0b:9d:04', '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': '214.193.42.5', 'subnet_id': 'af726e55-6835-4433-91d2-fe2e1cf8fb56'}], 'security_groups': ['e78aad98-82f8-44bd-af0c-51a9476af3f9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99fae239761f447c8247547aa4e23600'}}
2025-09-01 15:07:26,536 - DEBUG - Services list from nova: [, , ]
2025-09-01 15:07:26,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1)
2025-09-01 15:07:27,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3997-1)
2025-09-01 15:07:27,224 - INFO - Waiting for VM ctest-vn1-vm1-55701171 to be up..
2025-09-01 15:07:27,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-01 15:07:32,332 - DEBUG - VM is in ACTIVE state now
2025-09-01 15:07:32,332 - INFO - VM name : ctest-vn1-vm1-55701171
2025-09-01 15:07:32,402 - DEBUG - VM ctest-vn1-vm1-55701171 ID is 748fb394-fc22-4c6b-af15-91d39d973b91
2025-09-01 15:07:32,423 - DEBUG - VM ctest-vn1-vm1-55701171 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1
2025-09-01 15:07:32,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/748fb394-fc22-4c6b-af15-91d39d973b91
2025-09-01 15:07:32,498 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0159706f-af8f-4a71-aea9-24b53b460dd5
2025-09-01 15:07:35,752 - 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 1019ms')
2025-09-01 15:07:35,752 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55701171 failed!
2025-09-01 15:07:35,810 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28583284:ctest-vn1-29030898 is 207.94.208.1 and allocation pool is NOT set
2025-09-01 15:07:35,810 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28583284:ctest-vn1-29030898 is 214.193.42.1 and allocation pool is NOT set
2025-09-01 15:07:39,880 - 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=9.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 9.100/9.100/9.100/0.000 ms')
2025-09-01 15:07:39,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55701171 passed
2025-09-01 15:07:40,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 15:07:40,028 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55701171, IP 207.94.208.5, Port 22
2025-09-01 15:07:40,195 - DEBUG - VM ctest-vn1-vm1-55701171 is ready for SSH connections
2025-09-01 15:07:40,195 - INFO - Waiting for VM ctest-vn1-vm2-81166391 to be up..
2025-09-01 15:07:40,277 - DEBUG - VM is in ACTIVE state now
2025-09-01 15:07:40,277 - INFO - VM name : ctest-vn1-vm2-81166391
2025-09-01 15:07:40,346 - DEBUG - VM ctest-vn1-vm2-81166391 ID is d6d236f1-42e8-436c-94e9-43dd7d950a6d
2025-09-01 15:07:40,346 - DEBUG - VM ctest-vn1-vm2-81166391 launched on Node cn-jenkins-deploy-platform-ansible-os-3997-1
2025-09-01 15:07:40,417 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d6d236f1-42e8-436c-94e9-43dd7d950a6d
2025-09-01 15:07:40,424 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6cc20b9d-0454-4115-a5f1-71fc94b2e212
2025-09-01 15:07:41,657 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.801/3.134/1.333 ms')
2025-09-01 15:07:41,657 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81166391 passed
2025-09-01 15:07:41,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 15:07:41,804 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81166391, IP 214.193.42.5, Port 22
2025-09-01 15:07:41,959 - DEBUG - VM ctest-vn1-vm2-81166391 is ready for SSH connections
2025-09-01 15:07:41,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 15:07:41,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 15:07:41,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-01 15:07:41,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.94.208.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-01 15:07:41,959 - DEBUG - ping -s 56 -c 3 -W 1 207.94.208.5
2025-09-01 15:07:44,653 - DEBUG - PING 207.94.208.5 (207.94.208.5): 56 data bytes
64 bytes from 207.94.208.5: seq=0 ttl=63 time=4.048 ms
64 bytes from 207.94.208.5: seq=1 ttl=63 time=0.899 ms
64 bytes from 207.94.208.5: seq=2 ttl=63 time=0.865 ms
--- 207.94.208.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/1.937/4.048 ms
2025-09-01 15:07:44,653 - INFO - Ping to IP 207.94.208.5 from VM ctest-vn1-vm2-81166391 passed
2025-09-01 15:07:44,653 - INFO - Detaching port 6cc20b9d-0454-4115-a5f1-71fc94b2e212 from VM ctest-vn1-vm2-81166391
2025-09-01 15:07:44,706 - INFO - Deleting VM ctest-vn1-vm2-81166391
2025-09-01 15:07:44,774 - INFO - Detaching port 0159706f-af8f-4a71-aea9-24b53b460dd5 from VM ctest-vn1-vm1-55701171
2025-09-01 15:07:44,807 - INFO - Deleting VM ctest-vn1-vm1-55701171
2025-09-01 15:07:45,063 - DEBUG - Response for delete_port : ()
2025-09-01 15:07:45,245 - DEBUG - Response for delete_port : ()
2025-09-01 15:07:45,245 - INFO - Deleting VN ctest-vn1-29030898
2025-09-01 15:07:45,383 - DEBUG - Response for deleting network ()
2025-09-01 15:07:45,642 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 15:07:45,642 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-01 15:07:45,642 - INFO - --------------------------------------------------------------------------------
2025-09-01 15:07:46,465 - INFO - Deleted project: ctest-TestPorts-28583284, ID : 99fae239-761f-447c-8247-547aa4e23600