2025-08-19 15:25:25,576 - INFO - Domain Default found not creating
2025-08-19 15:25:25,695 - INFO - Project ctest-TestPorts-48704713 not found, creating it
2025-08-19 15:25:26,112 - INFO - Created Project:ctest-TestPorts-48704713, ID : 639d95e3-f8d8-4c27-8850-ea96b2d82660
2025-08-19 15:25:27,505 - INFO - ================================================================================
2025-08-19 15:25:27,505 - INFO - STARTING TEST : test_ports_bindings
2025-08-19 15:25:27,505 - 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-19 15:25:27,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with
2025-08-19 15:25:27,764 - INFO - Initial checks done. Running the testcase now
2025-08-19 15:25:27,764 - INFO -
2025-08-19 15:25:28,277 - DEBUG - Response for create_network : {'network': {'id': '64986c30-d3db-475b-8748-14c6ff6ca644', 'name': 'ctest-vn-57953472', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'project_id': '639d95e3f8d84c278850ea96b2d82660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48704713', 'ctest-vn-57953472'], 'port_security_enabled': True, 'description': ''}}
2025-08-19 15:25:28,408 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd08fe849-f558-4891-9245-cece3dfb01b9', 'name': '', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '64986c30-d3db-475b-8748-14c6ff6ca644', 'ip_version': 4, 'cidr': '73.186.87.0/26', 'allocation_pools': [{'start': '73.186.87.2', 'end': '73.186.87.62'}], 'gateway_ip': '73.186.87.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.186.87.2', 'tags': [], 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:28,423 - INFO - Created VN ctest-vn-57953472
2025-08-19 15:25:28,475 - DEBUG - VN ctest-vn-57953472 UUID is 64986c30-d3db-475b-8748-14c6ff6ca644
2025-08-19 15:25:28,569 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48704713', 'ctest-vmi-14845194']}
2025-08-19 15:25:28,863 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14845194', 'id': 'c947ca24-cb23-4c16-b909-a9b16724bedb', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '64986c30-d3db-475b-8748-14c6ff6ca644', 'mac_address': '02:c9:47:ca:24:cb', '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': '73.186.87.3', 'subnet_id': 'd08fe849-f558-4891-9245-cece3dfb01b9'}], 'security_groups': ['9564c3f2-6300-4b0c-bf9a-63bb6e5c71fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:28,864 - DEBUG - Created port c947ca24-cb23-4c16-b909-a9b16724bedb
2025-08-19 15:25:28,971 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c947ca24-cb23-4c16-b909-a9b16724bedb
2025-08-19 15:25:29,259 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c947ca24-cb23-4c16-b909-a9b16724bedb
2025-08-19 15:25:29,287 - INFO - VMI c947ca24-cb23-4c16-b909-a9b16724bedb verification in API Server passed
2025-08-19 15:25:29,367 - DEBUG - Response for delete_port : ()
2025-08-19 15:25:29,367 - INFO - Deleted port c947ca24-cb23-4c16-b909-a9b16724bedb
2025-08-19 15:25:29,367 - INFO - Deleting VN ctest-vn-57953472
2025-08-19 15:25:29,461 - DEBUG - Response for deleting network ()
2025-08-19 15:25:29,716 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 15:25:29,716 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-19 15:25:29,716 - INFO - --------------------------------------------------------------------------------
2025-08-19 15:25:29,719 - INFO - ================================================================================
2025-08-19 15:25:29,719 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-19 15:25:29,719 - 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-19 15:25:30,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with
2025-08-19 15:25:30,000 - INFO - Initial checks done. Running the testcase now
2025-08-19 15:25:30,000 - INFO -
2025-08-19 15:25:30,160 - DEBUG - Response for create_network : {'network': {'id': '40923ae2-edb8-490c-970b-5facfe20811b', 'name': 'ctest-vn1-08651154', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'project_id': '639d95e3f8d84c278850ea96b2d82660', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48704713', 'ctest-vn1-08651154'], 'port_security_enabled': True, 'description': ''}}
2025-08-19 15:25:30,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '787513f4-34b4-49d5-b543-a326f694bb99', 'name': '', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '40923ae2-edb8-490c-970b-5facfe20811b', 'ip_version': 4, 'cidr': '170.177.101.192/26', 'allocation_pools': [{'start': '170.177.101.194', 'end': '170.177.101.254'}], 'gateway_ip': '170.177.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.177.101.194', 'tags': [], 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:30,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c212957-b951-4e56-9770-240c5bb67e5f', 'name': '', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '40923ae2-edb8-490c-970b-5facfe20811b', 'ip_version': 4, 'cidr': '130.17.2.128/26', 'allocation_pools': [{'start': '130.17.2.130', 'end': '130.17.2.190'}], 'gateway_ip': '130.17.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.17.2.130', 'tags': [], 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:30,560 - INFO - Created VN ctest-vn1-08651154
2025-08-19 15:25:30,611 - DEBUG - VN ctest-vn1-08651154 UUID is 40923ae2-edb8-490c-970b-5facfe20811b
2025-08-19 15:25:30,875 - DEBUG - Response for create_port : {'port': {'name': '27834694-9a53-4598-affb-2ef8e9a3dd82', 'id': '27834694-9a53-4598-affb-2ef8e9a3dd82', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '40923ae2-edb8-490c-970b-5facfe20811b', 'mac_address': '02:27:83:46:94:9a', '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': '170.177.101.197', 'subnet_id': '787513f4-34b4-49d5-b543-a326f694bb99'}], 'security_groups': ['9564c3f2-6300-4b0c-bf9a-63bb6e5c71fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:31,028 - DEBUG - Response for create_port : {'port': {'name': '5428ac6e-b545-431d-8e09-fd9413b1a7e8', 'id': '5428ac6e-b545-431d-8e09-fd9413b1a7e8', 'tenant_id': '639d95e3f8d84c278850ea96b2d82660', 'network_id': '40923ae2-edb8-490c-970b-5facfe20811b', 'mac_address': '02:54:28:ac:6e:b5', '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': '130.17.2.133', 'subnet_id': '3c212957-b951-4e56-9770-240c5bb67e5f'}], 'security_groups': ['9564c3f2-6300-4b0c-bf9a-63bb6e5c71fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '639d95e3f8d84c278850ea96b2d82660'}}
2025-08-19 15:25:31,076 - DEBUG - Services list from nova: [, , ]
2025-08-19 15:25:31,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3886-1)
2025-08-19 15:25:31,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3886-1)
2025-08-19 15:25:31,772 - INFO - Waiting for VM ctest-vn1-vm1-58569746 to be up..
2025-08-19 15:25:31,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-19 15:25:36,871 - DEBUG - VM is in ACTIVE state now
2025-08-19 15:25:36,871 - INFO - VM name : ctest-vn1-vm1-58569746
2025-08-19 15:25:36,936 - DEBUG - VM ctest-vn1-vm1-58569746 ID is ada2ff17-f7d1-4320-b784-8dcdf784ec7f
2025-08-19 15:25:36,954 - DEBUG - VM ctest-vn1-vm1-58569746 launched on Node cn-jenkins-deploy-platform-ansible-os-3886-1
2025-08-19 15:25:37,016 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ada2ff17-f7d1-4320-b784-8dcdf784ec7f
2025-08-19 15:25:37,023 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/27834694-9a53-4598-affb-2ef8e9a3dd82
2025-08-19 15:25:40,253 - 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 1004ms')
2025-08-19 15:25:40,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58569746 failed!
2025-08-19 15:25:40,307 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48704713:ctest-vn1-08651154 is 170.177.101.193 and allocation pool is NOT set
2025-08-19 15:25:40,308 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48704713:ctest-vn1-08651154 is 130.17.2.129 and allocation pool is NOT set
2025-08-19 15:25:42,368 - 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=5.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.222/3.118/5.015/1.896 ms')
2025-08-19 15:25:42,369 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58569746 passed
2025-08-19 15:25:42,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:42,519 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58569746, IP 170.177.101.197, Port 22
2025-08-19 15:25:42,578 - 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-08-19 15:25:42,642 - DEBUG - VM ctest-vn1-vm1-58569746 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-19 15:25:47,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:47,642 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58569746, IP 170.177.101.197, Port 22
2025-08-19 15:25:47,795 - DEBUG - VM ctest-vn1-vm1-58569746 is ready for SSH connections
2025-08-19 15:25:47,795 - INFO - Waiting for VM ctest-vn1-vm2-80475461 to be up..
2025-08-19 15:25:47,857 - DEBUG - VM is in ACTIVE state now
2025-08-19 15:25:47,857 - INFO - VM name : ctest-vn1-vm2-80475461
2025-08-19 15:25:47,916 - DEBUG - VM ctest-vn1-vm2-80475461 ID is 377205df-3ee8-4014-8cda-cb50c71925a9
2025-08-19 15:25:47,916 - DEBUG - VM ctest-vn1-vm2-80475461 launched on Node cn-jenkins-deploy-platform-ansible-os-3886-1
2025-08-19 15:25:47,977 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/377205df-3ee8-4014-8cda-cb50c71925a9
2025-08-19 15:25:47,984 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5428ac6e-b545-431d-8e09-fd9413b1a7e8
2025-08-19 15:25:49,227 - 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=2.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.323 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.323/1.411/2.499/1.088 ms')
2025-08-19 15:25:49,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80475461 passed
2025-08-19 15:25:49,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:49,375 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80475461, IP 130.17.2.133, Port 22
2025-08-19 15:25:49,526 - DEBUG - VM ctest-vn1-vm2-80475461 is ready for SSH connections
2025-08-19 15:25:49,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:49,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:49,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-19 15:25:49,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.177.101.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-19 15:25:49,527 - DEBUG - ping -s 56 -c 3 -W 1 170.177.101.197
2025-08-19 15:25:52,183 - DEBUG - PING 170.177.101.197 (170.177.101.197): 56 data bytes
64 bytes from 170.177.101.197: seq=0 ttl=63 time=4.272 ms
64 bytes from 170.177.101.197: seq=1 ttl=63 time=0.770 ms
64 bytes from 170.177.101.197: seq=2 ttl=63 time=0.701 ms
--- 170.177.101.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.701/1.914/4.272 ms
2025-08-19 15:25:52,183 - INFO - Ping to IP 170.177.101.197 from VM ctest-vn1-vm2-80475461 passed
2025-08-19 15:25:52,183 - INFO - Detaching port 5428ac6e-b545-431d-8e09-fd9413b1a7e8 from VM ctest-vn1-vm2-80475461
2025-08-19 15:25:52,224 - INFO - Deleting VM ctest-vn1-vm2-80475461
2025-08-19 15:25:52,294 - INFO - Detaching port 27834694-9a53-4598-affb-2ef8e9a3dd82 from VM ctest-vn1-vm1-58569746
2025-08-19 15:25:52,321 - INFO - Deleting VM ctest-vn1-vm1-58569746
2025-08-19 15:25:52,537 - DEBUG - Response for delete_port : ()
2025-08-19 15:25:52,677 - DEBUG - Response for delete_port : ()
2025-08-19 15:25:52,677 - INFO - Deleting VN ctest-vn1-08651154
2025-08-19 15:25:52,800 - DEBUG - Response for deleting network ()
2025-08-19 15:25:53,052 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 15:25:53,052 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-19 15:25:53,052 - INFO - --------------------------------------------------------------------------------
2025-08-19 15:25:53,700 - INFO - Deleted project: ctest-TestPorts-48704713, ID : 639d95e3-f8d8-4c27-8850-ea96b2d82660