2025-08-11 18:31:29,396 - INFO - Domain Default found not creating
2025-08-11 18:31:29,522 - INFO - Project ctest-TestPorts-24681896 not found, creating it
2025-08-11 18:31:29,952 - INFO - Created Project:ctest-TestPorts-24681896, ID : ec770093-4a8a-40fa-acb2-1ba7ccfc603d
2025-08-11 18:31:31,339 - INFO - ================================================================================
2025-08-11 18:31:31,339 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 18:31:31,339 - 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-08-11 18:31:31,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-08-11 18:31:31,598 - INFO - Initial checks done. Running the testcase now
2025-08-11 18:31:31,598 - INFO -
2025-08-11 18:31:32,110 - DEBUG - Response for create_network : {'network': {'id': '244ff737-1d27-4d46-82a7-6c8875f1ed87', 'name': 'ctest-vn-92678695', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24681896', 'ctest-vn-92678695'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 18:31:32,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e43f305-4d7a-47c9-bb34-4f43c6ad5321', 'name': '', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '244ff737-1d27-4d46-82a7-6c8875f1ed87', 'ip_version': 4, 'cidr': '106.87.104.128/26', 'allocation_pools': [{'start': '106.87.104.130', 'end': '106.87.104.190'}], 'gateway_ip': '106.87.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.87.104.130', 'tags': [], 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:32,294 - INFO - Created VN ctest-vn-92678695
2025-08-11 18:31:32,349 - DEBUG - VN ctest-vn-92678695 UUID is 244ff737-1d27-4d46-82a7-6c8875f1ed87
2025-08-11 18:31:32,449 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24681896', 'ctest-vmi-08351926']}
2025-08-11 18:31:32,704 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08351926', 'id': '179c9ee9-28a6-4ca4-b253-6fbec6bf6350', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '244ff737-1d27-4d46-82a7-6c8875f1ed87', 'mac_address': '02:17:9c:9e:e9:28', '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': '106.87.104.131', 'subnet_id': '5e43f305-4d7a-47c9-bb34-4f43c6ad5321'}], 'security_groups': ['76e2256c-3bfd-4a08-875b-a3a314bfe021'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:32,704 - DEBUG - Created port 179c9ee9-28a6-4ca4-b253-6fbec6bf6350
2025-08-11 18:31:32,805 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/179c9ee9-28a6-4ca4-b253-6fbec6bf6350
2025-08-11 18:31:33,093 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/179c9ee9-28a6-4ca4-b253-6fbec6bf6350
2025-08-11 18:31:33,122 - INFO - VMI 179c9ee9-28a6-4ca4-b253-6fbec6bf6350 verification in API Server passed
2025-08-11 18:31:33,206 - DEBUG - Response for delete_port : ()
2025-08-11 18:31:33,206 - INFO - Deleted port 179c9ee9-28a6-4ca4-b253-6fbec6bf6350
2025-08-11 18:31:33,206 - INFO - Deleting VN ctest-vn-92678695
2025-08-11 18:31:33,302 - DEBUG - Response for deleting network ()
2025-08-11 18:31:33,554 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 18:31:33,554 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 18:31:33,554 - INFO - --------------------------------------------------------------------------------
2025-08-11 18:31:33,556 - INFO - ================================================================================
2025-08-11 18:31:33,557 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 18:31:33,557 - 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-08-11 18:31:33,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-08-11 18:31:33,843 - INFO - Initial checks done. Running the testcase now
2025-08-11 18:31:33,843 - INFO -
2025-08-11 18:31:34,022 - DEBUG - Response for create_network : {'network': {'id': '90c7f014-ddd3-4a1e-9792-0a7afc90f90e', 'name': 'ctest-vn1-15258985', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24681896', 'ctest-vn1-15258985'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 18:31:34,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '13d58f07-a755-4fdf-9c1b-4bb50b7c2189', 'name': '', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '90c7f014-ddd3-4a1e-9792-0a7afc90f90e', 'ip_version': 4, 'cidr': '117.52.36.0/26', 'allocation_pools': [{'start': '117.52.36.2', 'end': '117.52.36.62'}], 'gateway_ip': '117.52.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.52.36.2', 'tags': [], 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:34,389 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a92a35d8-863b-4733-8272-720b821187a2', 'name': '', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '90c7f014-ddd3-4a1e-9792-0a7afc90f90e', 'ip_version': 4, 'cidr': '16.119.167.64/26', 'allocation_pools': [{'start': '16.119.167.66', 'end': '16.119.167.126'}], 'gateway_ip': '16.119.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.119.167.66', 'tags': [], 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:34,407 - INFO - Created VN ctest-vn1-15258985
2025-08-11 18:31:34,457 - DEBUG - VN ctest-vn1-15258985 UUID is 90c7f014-ddd3-4a1e-9792-0a7afc90f90e
2025-08-11 18:31:34,722 - DEBUG - Response for create_port : {'port': {'name': 'd74ec529-dba4-402b-9cdc-bd894bddc720', 'id': 'd74ec529-dba4-402b-9cdc-bd894bddc720', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '90c7f014-ddd3-4a1e-9792-0a7afc90f90e', 'mac_address': '02:d7:4e:c5:29:db', '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': '117.52.36.5', 'subnet_id': '13d58f07-a755-4fdf-9c1b-4bb50b7c2189'}], 'security_groups': ['76e2256c-3bfd-4a08-875b-a3a314bfe021'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:34,882 - DEBUG - Response for create_port : {'port': {'name': 'e8a8a2ae-ec39-4795-b787-5131dc5fa67e', 'id': 'e8a8a2ae-ec39-4795-b787-5131dc5fa67e', 'tenant_id': 'ec7700934a8a40faacb21ba7ccfc603d', 'network_id': '90c7f014-ddd3-4a1e-9792-0a7afc90f90e', 'mac_address': '02:e8:a8:a2:ae:ec', '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': '16.119.167.69', 'subnet_id': 'a92a35d8-863b-4733-8272-720b821187a2'}], 'security_groups': ['76e2256c-3bfd-4a08-875b-a3a314bfe021'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ec7700934a8a40faacb21ba7ccfc603d'}}
2025-08-11 18:31:34,929 - DEBUG - Services list from nova: [, , ]
2025-08-11 18:31:35,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1)
2025-08-11 18:31:35,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3820-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3820-1)
2025-08-11 18:31:35,547 - INFO - Waiting for VM ctest-vn1-vm1-82905323 to be up..
2025-08-11 18:31:35,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 18:31:40,650 - DEBUG - VM is in ACTIVE state now
2025-08-11 18:31:40,650 - INFO - VM name : ctest-vn1-vm1-82905323
2025-08-11 18:31:40,711 - DEBUG - VM ctest-vn1-vm1-82905323 ID is aac76017-a817-448a-94b5-cbffb4ece396
2025-08-11 18:31:40,727 - DEBUG - VM ctest-vn1-vm1-82905323 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1
2025-08-11 18:31:40,787 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/aac76017-a817-448a-94b5-cbffb4ece396
2025-08-11 18:31:40,795 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d74ec529-dba4-402b-9cdc-bd894bddc720
2025-08-11 18:31:44,049 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms')
2025-08-11 18:31:44,049 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82905323 failed!
2025-08-11 18:31:44,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24681896:ctest-vn1-15258985 is 117.52.36.1 and allocation pool is NOT set
2025-08-11 18:31:44,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24681896:ctest-vn1-15258985 is 16.119.167.65 and allocation pool is NOT set
2025-08-11 18:31:46,167 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.96 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 = 1.955/2.872/3.790/0.917 ms')
2025-08-11 18:31:46,167 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82905323 passed
2025-08-11 18:31:46,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 18:31:46,314 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82905323, IP 117.52.36.5, Port 22
2025-08-11 18:31:46,472 - DEBUG - VM ctest-vn1-vm1-82905323 is ready for SSH connections
2025-08-11 18:31:46,472 - INFO - Waiting for VM ctest-vn1-vm2-99405483 to be up..
2025-08-11 18:31:46,536 - DEBUG - VM is in ACTIVE state now
2025-08-11 18:31:46,536 - INFO - VM name : ctest-vn1-vm2-99405483
2025-08-11 18:31:46,596 - DEBUG - VM ctest-vn1-vm2-99405483 ID is 5fba9ce5-0d30-4fdd-b737-46b1f5f216a2
2025-08-11 18:31:46,596 - DEBUG - VM ctest-vn1-vm2-99405483 launched on Node cn-jenkins-deploy-platform-ansible-os-3820-1
2025-08-11 18:31:46,658 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5fba9ce5-0d30-4fdd-b737-46b1f5f216a2
2025-08-11 18:31:46,666 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e8a8a2ae-ec39-4795-b787-5131dc5fa67e
2025-08-11 18:31:47,894 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.825 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 = 0.825/2.648/4.472/1.823 ms')
2025-08-11 18:31:47,894 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-99405483 passed
2025-08-11 18:31:48,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 18:31:48,045 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99405483, IP 16.119.167.69, Port 22
2025-08-11 18:31:48,201 - DEBUG - VM ctest-vn1-vm2-99405483 is ready for SSH connections
2025-08-11 18:31:48,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 18:31:48,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 18:31:48,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 18:31:48,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.52.36.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-08-11 18:31:48,201 - DEBUG - ping -s 56 -c 3 -W 1 117.52.36.5
2025-08-11 18:31:51,853 - DEBUG - PING 117.52.36.5 (117.52.36.5): 56 data bytes
64 bytes from 117.52.36.5: seq=0 ttl=63 time=3.517 ms
64 bytes from 117.52.36.5: seq=1 ttl=63 time=0.700 ms
64 bytes from 117.52.36.5: seq=2 ttl=63 time=0.706 ms
--- 117.52.36.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.700/1.641/3.517 ms
2025-08-11 18:31:51,853 - INFO - Ping to IP 117.52.36.5 from VM ctest-vn1-vm2-99405483 passed
2025-08-11 18:31:51,853 - INFO - Detaching port e8a8a2ae-ec39-4795-b787-5131dc5fa67e from VM ctest-vn1-vm2-99405483
2025-08-11 18:31:51,896 - INFO - Deleting VM ctest-vn1-vm2-99405483
2025-08-11 18:31:51,954 - INFO - Detaching port d74ec529-dba4-402b-9cdc-bd894bddc720 from VM ctest-vn1-vm1-82905323
2025-08-11 18:31:51,980 - INFO - Deleting VM ctest-vn1-vm1-82905323
2025-08-11 18:31:52,159 - DEBUG - Response for delete_port : ()
2025-08-11 18:31:52,368 - DEBUG - Response for delete_port : ()
2025-08-11 18:31:52,369 - INFO - Deleting VN ctest-vn1-15258985
2025-08-11 18:31:52,476 - DEBUG - Response for deleting network ()
2025-08-11 18:31:52,735 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 18:31:52,735 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 18:31:52,735 - INFO - --------------------------------------------------------------------------------
2025-08-11 18:31:53,412 - INFO - Deleted project: ctest-TestPorts-24681896, ID : ec770093-4a8a-40fa-acb2-1ba7ccfc603d