2025-11-19 17:22:23,147 - INFO - Domain Default found not creating 2025-11-19 17:22:23,331 - INFO - Project ctest-TestPorts-44518175 not found, creating it 2025-11-19 17:22:23,823 - INFO - Created Project:ctest-TestPorts-44518175, ID : 840ecc6e-664f-444c-9668-4c4d836104f6 2025-11-19 17:22:25,410 - INFO - ================================================================================ 2025-11-19 17:22:25,410 - INFO - STARTING TEST : test_ports_bindings 2025-11-19 17:22:25,410 - 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-19 17:22:25,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-11-19 17:22:25,666 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:22:25,666 - INFO - 2025-11-19 17:22:26,241 - DEBUG - Response for create_network : {'network': {'id': '21ea8d76-6317-40ad-b01f-7b4c73189078', 'name': 'ctest-vn-80976276', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'project_id': '840ecc6e664f444c96684c4d836104f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44518175', 'ctest-vn-80976276'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:22:26,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '9de12fa0-606e-4ea7-b93e-47212ea11354', 'name': '', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': '21ea8d76-6317-40ad-b01f-7b4c73189078', 'ip_version': 4, 'cidr': '122.161.162.192/26', 'allocation_pools': [{'start': '122.161.162.194', 'end': '122.161.162.254'}], 'gateway_ip': '122.161.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.161.162.194', 'tags': [], 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:26,449 - INFO - Created VN ctest-vn-80976276 2025-11-19 17:22:26,504 - DEBUG - VN ctest-vn-80976276 UUID is 21ea8d76-6317-40ad-b01f-7b4c73189078 2025-11-19 17:22:26,610 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44518175', 'ctest-vmi-42609503']} 2025-11-19 17:22:26,853 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42609503', 'id': '7bb1ac0f-40ae-45a5-a300-76ab9d8cc334', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': '21ea8d76-6317-40ad-b01f-7b4c73189078', 'mac_address': '02:7b:b1:ac:0f:40', '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': '122.161.162.195', 'subnet_id': '9de12fa0-606e-4ea7-b93e-47212ea11354'}], 'security_groups': ['6aed453a-fb17-438e-b768-c2bbbac856a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:26,853 - DEBUG - Created port 7bb1ac0f-40ae-45a5-a300-76ab9d8cc334 2025-11-19 17:22:26,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7bb1ac0f-40ae-45a5-a300-76ab9d8cc334 2025-11-19 17:22:27,266 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7bb1ac0f-40ae-45a5-a300-76ab9d8cc334 2025-11-19 17:22:27,308 - INFO - VMI 7bb1ac0f-40ae-45a5-a300-76ab9d8cc334 verification in API Server passed 2025-11-19 17:22:27,407 - DEBUG - Response for delete_port : () 2025-11-19 17:22:27,408 - INFO - Deleted port 7bb1ac0f-40ae-45a5-a300-76ab9d8cc334 2025-11-19 17:22:27,408 - INFO - Deleting VN ctest-vn-80976276 2025-11-19 17:22:27,518 - DEBUG - Response for deleting network () 2025-11-19 17:22:27,778 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:22:27,779 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-11-19 17:22:27,779 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:22:27,782 - INFO - ================================================================================ 2025-11-19 17:22:27,783 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-19 17:22:27,783 - 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-19 17:22:28,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-11-19 17:22:28,074 - INFO - Initial checks done. Running the testcase now 2025-11-19 17:22:28,074 - INFO - 2025-11-19 17:22:28,263 - DEBUG - Response for create_network : {'network': {'id': 'fe007c03-5af8-4b14-bba8-d4297d911027', 'name': 'ctest-vn1-18841890', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'project_id': '840ecc6e664f444c96684c4d836104f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44518175', 'ctest-vn1-18841890'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 17:22:28,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '76a014bf-307c-4f7c-9165-cfc344f54a66', 'name': '', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': 'fe007c03-5af8-4b14-bba8-d4297d911027', 'ip_version': 4, 'cidr': '114.221.184.64/26', 'allocation_pools': [{'start': '114.221.184.66', 'end': '114.221.184.126'}], 'gateway_ip': '114.221.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.221.184.66', 'tags': [], 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:28,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1c208ef-40b4-4770-b9e8-35ee43bfa672', 'name': '', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': 'fe007c03-5af8-4b14-bba8-d4297d911027', 'ip_version': 4, 'cidr': '32.152.141.0/26', 'allocation_pools': [{'start': '32.152.141.2', 'end': '32.152.141.62'}], 'gateway_ip': '32.152.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.152.141.2', 'tags': [], 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:28,701 - INFO - Created VN ctest-vn1-18841890 2025-11-19 17:22:28,752 - DEBUG - VN ctest-vn1-18841890 UUID is fe007c03-5af8-4b14-bba8-d4297d911027 2025-11-19 17:22:29,081 - DEBUG - Response for create_port : {'port': {'name': '814b0bb5-eb4c-4f4e-a254-75865242bc3e', 'id': '814b0bb5-eb4c-4f4e-a254-75865242bc3e', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': 'fe007c03-5af8-4b14-bba8-d4297d911027', 'mac_address': '02:81:4b:0b:b5:eb', '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': '114.221.184.69', 'subnet_id': '76a014bf-307c-4f7c-9165-cfc344f54a66'}], 'security_groups': ['6aed453a-fb17-438e-b768-c2bbbac856a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:29,263 - DEBUG - Response for create_port : {'port': {'name': '221a2e2a-1e8e-4a6e-ac41-794b5a719640', 'id': '221a2e2a-1e8e-4a6e-ac41-794b5a719640', 'tenant_id': '840ecc6e664f444c96684c4d836104f6', 'network_id': 'fe007c03-5af8-4b14-bba8-d4297d911027', 'mac_address': '02:22:1a:2e:2a:1e', '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': '32.152.141.5', 'subnet_id': 'c1c208ef-40b4-4770-b9e8-35ee43bfa672'}], 'security_groups': ['6aed453a-fb17-438e-b768-c2bbbac856a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '840ecc6e664f444c96684c4d836104f6'}} 2025-11-19 17:22:29,323 - DEBUG - Services list from nova: [, , ] 2025-11-19 17:22:29,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:22:30,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4765-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4765-1) 2025-11-19 17:22:30,115 - INFO - Waiting for VM ctest-vn1-vm1-98936555 to be up.. 2025-11-19 17:22:30,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 17:22:35,245 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:22:35,245 - INFO - VM name : ctest-vn1-vm1-98936555 2025-11-19 17:22:35,327 - DEBUG - VM ctest-vn1-vm1-98936555 ID is 0f44096f-6f6a-4483-af81-9b8fcb1c51c4 2025-11-19 17:22:35,347 - DEBUG - VM ctest-vn1-vm1-98936555 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:22:35,427 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0f44096f-6f6a-4483-af81-9b8fcb1c51c4 2025-11-19 17:22:35,436 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/814b0bb5-eb4c-4f4e-a254-75865242bc3e 2025-11-19 17:22:38,677 - 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-19 17:22:38,677 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98936555 failed! 2025-11-19 17:22:38,732 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44518175:ctest-vn1-18841890 is 114.221.184.65 and allocation pool is NOT set 2025-11-19 17:22:38,732 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44518175:ctest-vn1-18841890 is 32.152.141.1 and allocation pool is NOT set 2025-11-19 17:22:42,811 - 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=8.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 8.367/8.367/8.367/0.000 ms') 2025-11-19 17:22:42,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98936555 passed 2025-11-19 17:22:42,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:22:42,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98936555, IP 114.221.184.69, Port 22 2025-11-19 17:22:43,127 - DEBUG - VM ctest-vn1-vm1-98936555 is ready for SSH connections 2025-11-19 17:22:43,127 - INFO - Waiting for VM ctest-vn1-vm2-07903104 to be up.. 2025-11-19 17:22:43,228 - DEBUG - VM is in ACTIVE state now 2025-11-19 17:22:43,228 - INFO - VM name : ctest-vn1-vm2-07903104 2025-11-19 17:22:43,365 - DEBUG - VM ctest-vn1-vm2-07903104 ID is c2604d0f-7fd1-41e4-871e-b3bfce3653b5 2025-11-19 17:22:43,365 - DEBUG - VM ctest-vn1-vm2-07903104 launched on Node cn-jenkins-deploy-platform-ansible-os-4765-1 2025-11-19 17:22:43,490 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c2604d0f-7fd1-41e4-871e-b3bfce3653b5 2025-11-19 17:22:43,501 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/221a2e2a-1e8e-4a6e-ac41-794b5a719640 2025-11-19 17:22:44,782 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.867/3.360/1.492 ms') 2025-11-19 17:22:44,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07903104 passed 2025-11-19 17:22:44,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:22:44,932 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07903104, IP 32.152.141.5, Port 22 2025-11-19 17:22:45,091 - DEBUG - VM ctest-vn1-vm2-07903104 is ready for SSH connections 2025-11-19 17:22:45,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:22:45,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:22:45,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 17:22:45,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.221.184.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-19 17:22:45,092 - DEBUG - ping -s 56 -c 3 -W 1 114.221.184.69 2025-11-19 17:22:47,762 - DEBUG - PING 114.221.184.69 (114.221.184.69): 56 data bytes 64 bytes from 114.221.184.69: seq=0 ttl=63 time=3.436 ms 64 bytes from 114.221.184.69: seq=1 ttl=63 time=0.915 ms 64 bytes from 114.221.184.69: seq=2 ttl=63 time=0.848 ms --- 114.221.184.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.733/3.436 ms 2025-11-19 17:22:47,763 - INFO - Ping to IP 114.221.184.69 from VM ctest-vn1-vm2-07903104 passed 2025-11-19 17:22:47,763 - INFO - Detaching port 221a2e2a-1e8e-4a6e-ac41-794b5a719640 from VM ctest-vn1-vm2-07903104 2025-11-19 17:22:47,817 - INFO - Deleting VM ctest-vn1-vm2-07903104 2025-11-19 17:22:47,885 - INFO - Detaching port 814b0bb5-eb4c-4f4e-a254-75865242bc3e from VM ctest-vn1-vm1-98936555 2025-11-19 17:22:47,925 - INFO - Deleting VM ctest-vn1-vm1-98936555 2025-11-19 17:22:48,208 - DEBUG - Response for delete_port : () 2025-11-19 17:22:48,417 - DEBUG - Response for delete_port : () 2025-11-19 17:22:48,417 - INFO - Deleting VN ctest-vn1-18841890 2025-11-19 17:22:48,570 - DEBUG - Response for deleting network () 2025-11-19 17:22:48,839 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 17:22:48,839 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-11-19 17:22:48,840 - INFO - -------------------------------------------------------------------------------- 2025-11-19 17:22:49,625 - INFO - Deleted project: ctest-TestPorts-44518175, ID : 840ecc6e-664f-444c-9668-4c4d836104f6