2025-08-20 09:15:38,412 - INFO - Domain Default found not creating
2025-08-20 09:15:38,551 - INFO - Project ctest-TestPorts-49446089 not found, creating it
2025-08-20 09:15:38,998 - INFO - Created Project:ctest-TestPorts-49446089, ID : 65d7d8fc-d1ca-476b-89e1-20f1dd94ec7a
2025-08-20 09:15:41,282 - INFO - ================================================================================
2025-08-20 09:15:41,283 - INFO - STARTING TEST : test_ports_bindings
2025-08-20 09:15:41,283 - 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-20 09:15:41,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with
2025-08-20 09:15:41,543 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:15:41,543 - INFO -
2025-08-20 09:15:42,135 - DEBUG - Response for create_network : {'network': {'id': '347eda62-54a0-49e6-bf44-d7c6bb022438', 'name': 'ctest-vn-74480051', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49446089', 'ctest-vn-74480051'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:15:42,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f37b476-d406-4312-a2dd-22b2e1e89e6d', 'name': '', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': '347eda62-54a0-49e6-bf44-d7c6bb022438', 'ip_version': 4, 'cidr': '200.90.150.128/26', 'allocation_pools': [{'start': '200.90.150.130', 'end': '200.90.150.190'}], 'gateway_ip': '200.90.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.90.150.130', 'tags': [], 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:42,508 - INFO - Created VN ctest-vn-74480051
2025-08-20 09:15:42,563 - DEBUG - VN ctest-vn-74480051 UUID is 347eda62-54a0-49e6-bf44-d7c6bb022438
2025-08-20 09:15:42,668 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49446089', 'ctest-vmi-20111291']}
2025-08-20 09:15:42,954 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20111291', 'id': 'ee17d0b0-8918-4f63-b9df-cdba9b73581f', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': '347eda62-54a0-49e6-bf44-d7c6bb022438', 'mac_address': '02:ee:17:d0:b0:89', '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': '200.90.150.131', 'subnet_id': '2f37b476-d406-4312-a2dd-22b2e1e89e6d'}], 'security_groups': ['83025dec-a051-4248-8fc4-012ef583401a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:42,954 - DEBUG - Created port ee17d0b0-8918-4f63-b9df-cdba9b73581f
2025-08-20 09:15:43,063 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ee17d0b0-8918-4f63-b9df-cdba9b73581f
2025-08-20 09:15:43,398 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ee17d0b0-8918-4f63-b9df-cdba9b73581f
2025-08-20 09:15:43,431 - INFO - VMI ee17d0b0-8918-4f63-b9df-cdba9b73581f verification in API Server passed
2025-08-20 09:15:43,524 - DEBUG - Response for delete_port : ()
2025-08-20 09:15:43,524 - INFO - Deleted port ee17d0b0-8918-4f63-b9df-cdba9b73581f
2025-08-20 09:15:43,525 - INFO - Deleting VN ctest-vn-74480051
2025-08-20 09:15:43,636 - DEBUG - Response for deleting network ()
2025-08-20 09:15:43,893 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:15:43,893 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-20 09:15:43,893 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:15:43,896 - INFO - ================================================================================
2025-08-20 09:15:43,896 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-20 09:15:43,896 - 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-20 09:15:44,184 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.254': '0'}} with
2025-08-20 09:15:44,184 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:15:44,185 - INFO -
2025-08-20 09:15:44,360 - DEBUG - Response for create_network : {'network': {'id': 'f00e9b25-368f-418c-aca5-a7e131d8de14', 'name': 'ctest-vn1-92097953', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49446089', 'ctest-vn1-92097953'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:15:44,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fe5257d-0eef-4eeb-b0b4-1377b13213c7', 'name': '', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': 'f00e9b25-368f-418c-aca5-a7e131d8de14', 'ip_version': 4, 'cidr': '45.139.228.0/26', 'allocation_pools': [{'start': '45.139.228.2', 'end': '45.139.228.62'}], 'gateway_ip': '45.139.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.139.228.2', 'tags': [], 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:44,713 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f91029e-6d23-48f2-ae86-6757f8154b5a', 'name': '', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': 'f00e9b25-368f-418c-aca5-a7e131d8de14', 'ip_version': 4, 'cidr': '91.63.27.64/26', 'allocation_pools': [{'start': '91.63.27.66', 'end': '91.63.27.126'}], 'gateway_ip': '91.63.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.63.27.66', 'tags': [], 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:44,731 - INFO - Created VN ctest-vn1-92097953
2025-08-20 09:15:44,783 - DEBUG - VN ctest-vn1-92097953 UUID is f00e9b25-368f-418c-aca5-a7e131d8de14
2025-08-20 09:15:45,079 - DEBUG - Response for create_port : {'port': {'name': '5799594b-a52d-479a-af90-80653ef7caa6', 'id': '5799594b-a52d-479a-af90-80653ef7caa6', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': 'f00e9b25-368f-418c-aca5-a7e131d8de14', 'mac_address': '02:57:99:59:4b:a5', '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': '45.139.228.5', 'subnet_id': '0fe5257d-0eef-4eeb-b0b4-1377b13213c7'}], 'security_groups': ['83025dec-a051-4248-8fc4-012ef583401a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:45,244 - DEBUG - Response for create_port : {'port': {'name': 'f8f1d9f4-9cd8-469f-847c-ab139c4a59a5', 'id': 'f8f1d9f4-9cd8-469f-847c-ab139c4a59a5', 'tenant_id': '65d7d8fcd1ca476b89e120f1dd94ec7a', 'network_id': 'f00e9b25-368f-418c-aca5-a7e131d8de14', 'mac_address': '02:f8:f1:d9:f4:9c', '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': '91.63.27.69', 'subnet_id': '6f91029e-6d23-48f2-ae86-6757f8154b5a'}], 'security_groups': ['83025dec-a051-4248-8fc4-012ef583401a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65d7d8fcd1ca476b89e120f1dd94ec7a'}}
2025-08-20 09:15:45,297 - DEBUG - Services list from nova: [, , ]
2025-08-20 09:15:45,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1)
2025-08-20 09:15:45,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3891-1)
2025-08-20 09:15:45,972 - INFO - Waiting for VM ctest-vn1-vm1-49072634 to be up..
2025-08-20 09:15:46,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 09:15:51,136 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:15:51,136 - INFO - VM name : ctest-vn1-vm1-49072634
2025-08-20 09:15:51,204 - DEBUG - VM ctest-vn1-vm1-49072634 ID is 8321b670-ca2f-47ce-bee6-c83a7e949c81
2025-08-20 09:15:51,221 - DEBUG - VM ctest-vn1-vm1-49072634 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1
2025-08-20 09:15:51,290 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/8321b670-ca2f-47ce-bee6-c83a7e949c81
2025-08-20 09:15:51,298 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5799594b-a52d-479a-af90-80653ef7caa6
2025-08-20 09:15:54,544 - 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 1007ms')
2025-08-20 09:15:54,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49072634 failed!
2025-08-20 09:15:54,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49446089:ctest-vn1-92097953 is 45.139.228.1 and allocation pool is NOT set
2025-08-20 09:15:54,599 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49446089:ctest-vn1-92097953 is 91.63.27.65 and allocation pool is NOT set
2025-08-20 09:15:58,672 - 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=6.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.267/6.267/6.267/0.000 ms')
2025-08-20 09:15:58,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49072634 passed
2025-08-20 09:15:58,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:15:58,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49072634, IP 45.139.228.5, Port 22
2025-08-20 09:15:58,978 - DEBUG - VM ctest-vn1-vm1-49072634 is ready for SSH connections
2025-08-20 09:15:58,979 - INFO - Waiting for VM ctest-vn1-vm2-45649072 to be up..
2025-08-20 09:15:59,054 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:15:59,054 - INFO - VM name : ctest-vn1-vm2-45649072
2025-08-20 09:15:59,124 - DEBUG - VM ctest-vn1-vm2-45649072 ID is e8c5868f-dfac-4512-ac12-51ebe27c301f
2025-08-20 09:15:59,124 - DEBUG - VM ctest-vn1-vm2-45649072 launched on Node cn-jenkins-deploy-platform-ansible-os-3891-1
2025-08-20 09:15:59,196 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/e8c5868f-dfac-4512-ac12-51ebe27c301f
2025-08-20 09:15:59,204 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f8f1d9f4-9cd8-469f-847c-ab139c4a59a5
2025-08-20 09:16:00,445 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.729/3.089/1.359 ms')
2025-08-20 09:16:00,445 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45649072 passed
2025-08-20 09:16:00,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:16:00,595 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45649072, IP 91.63.27.69, Port 22
2025-08-20 09:16:00,754 - DEBUG - VM ctest-vn1-vm2-45649072 is ready for SSH connections
2025-08-20 09:16:00,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:16:00,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:16:00,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:16:00,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.139.228.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-20 09:16:00,755 - DEBUG - ping -s 56 -c 3 -W 1 45.139.228.5
2025-08-20 09:16:03,760 - DEBUG - PING 45.139.228.5 (45.139.228.5): 56 data bytes
64 bytes from 45.139.228.5: seq=0 ttl=63 time=3.563 ms
64 bytes from 45.139.228.5: seq=1 ttl=63 time=0.813 ms
64 bytes from 45.139.228.5: seq=2 ttl=63 time=0.807 ms
--- 45.139.228.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.807/1.727/3.563 ms
2025-08-20 09:16:03,760 - INFO - Ping to IP 45.139.228.5 from VM ctest-vn1-vm2-45649072 passed
2025-08-20 09:16:03,760 - INFO - Detaching port f8f1d9f4-9cd8-469f-847c-ab139c4a59a5 from VM ctest-vn1-vm2-45649072
2025-08-20 09:16:03,816 - INFO - Deleting VM ctest-vn1-vm2-45649072
2025-08-20 09:16:03,899 - INFO - Detaching port 5799594b-a52d-479a-af90-80653ef7caa6 from VM ctest-vn1-vm1-49072634
2025-08-20 09:16:03,934 - INFO - Deleting VM ctest-vn1-vm1-49072634
2025-08-20 09:16:04,189 - DEBUG - Response for delete_port : ()
2025-08-20 09:16:04,361 - DEBUG - Response for delete_port : ()
2025-08-20 09:16:04,361 - INFO - Deleting VN ctest-vn1-92097953
2025-08-20 09:16:04,493 - DEBUG - Response for deleting network ()
2025-08-20 09:16:04,755 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:16:04,755 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-20 09:16:04,755 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:16:05,475 - INFO - Deleted project: ctest-TestPorts-49446089, ID : 65d7d8fc-d1ca-476b-89e1-20f1dd94ec7a