2025-09-23 05:56:06,465 - INFO - Domain Default found not creating
2025-09-23 05:56:06,603 - INFO - Project ctest-TestPorts-22703202 not found, creating it
2025-09-23 05:56:07,043 - INFO - Created Project:ctest-TestPorts-22703202, ID : bdeb7857-8cb6-421e-b1be-5c25ee3dd223
2025-09-23 05:56:08,400 - INFO - ================================================================================
2025-09-23 05:56:08,400 - INFO - STARTING TEST : test_ports_bindings
2025-09-23 05:56:08,400 - 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-23 05:56:08,668 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with
2025-09-23 05:56:08,668 - INFO - Initial checks done. Running the testcase now
2025-09-23 05:56:08,668 - INFO -
2025-09-23 05:56:09,214 - DEBUG - Response for create_network : {'network': {'id': '2c3ea847-0450-457e-811b-f0b0a1224519', 'name': 'ctest-vn-80677678', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22703202', 'ctest-vn-80677678'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 05:56:09,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd7b9b8d-4a27-4793-aea4-491b6deff885', 'name': '', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '2c3ea847-0450-457e-811b-f0b0a1224519', 'ip_version': 4, 'cidr': '9.230.71.128/26', 'allocation_pools': [{'start': '9.230.71.130', 'end': '9.230.71.190'}], 'gateway_ip': '9.230.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.230.71.130', 'tags': [], 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:09,455 - INFO - Created VN ctest-vn-80677678
2025-09-23 05:56:09,506 - DEBUG - VN ctest-vn-80677678 UUID is 2c3ea847-0450-457e-811b-f0b0a1224519
2025-09-23 05:56:09,608 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22703202', 'ctest-vmi-17844793']}
2025-09-23 05:56:09,884 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17844793', 'id': '8d6d142f-fd09-4f4e-908e-1a2af4a183de', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '2c3ea847-0450-457e-811b-f0b0a1224519', 'mac_address': '02:8d:6d:14:2f:fd', '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': '9.230.71.131', 'subnet_id': 'cd7b9b8d-4a27-4793-aea4-491b6deff885'}], 'security_groups': ['dd55b609-e1d9-40af-9d95-0815cff663a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:09,884 - DEBUG - Created port 8d6d142f-fd09-4f4e-908e-1a2af4a183de
2025-09-23 05:56:09,990 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8d6d142f-fd09-4f4e-908e-1a2af4a183de
2025-09-23 05:56:10,282 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8d6d142f-fd09-4f4e-908e-1a2af4a183de
2025-09-23 05:56:10,322 - INFO - VMI 8d6d142f-fd09-4f4e-908e-1a2af4a183de verification in API Server passed
2025-09-23 05:56:10,417 - DEBUG - Response for delete_port : ()
2025-09-23 05:56:10,417 - INFO - Deleted port 8d6d142f-fd09-4f4e-908e-1a2af4a183de
2025-09-23 05:56:10,418 - INFO - Deleting VN ctest-vn-80677678
2025-09-23 05:56:10,522 - DEBUG - Response for deleting network ()
2025-09-23 05:56:10,790 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 05:56:10,790 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-23 05:56:10,790 - INFO - --------------------------------------------------------------------------------
2025-09-23 05:56:10,792 - INFO - ================================================================================
2025-09-23 05:56:10,792 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-23 05:56:10,792 - 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-23 05:56:11,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with
2025-09-23 05:56:11,073 - INFO - Initial checks done. Running the testcase now
2025-09-23 05:56:11,073 - INFO -
2025-09-23 05:56:11,244 - DEBUG - Response for create_network : {'network': {'id': '3f085c18-4a83-4b66-892a-408f862b805a', 'name': 'ctest-vn1-57018062', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22703202', 'ctest-vn1-57018062'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 05:56:11,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b60118a-5799-4a1f-8e79-017fa41580f8', 'name': '', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '3f085c18-4a83-4b66-892a-408f862b805a', 'ip_version': 4, 'cidr': '17.251.174.128/26', 'allocation_pools': [{'start': '17.251.174.130', 'end': '17.251.174.190'}], 'gateway_ip': '17.251.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.251.174.130', 'tags': [], 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:11,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ab2e5ae-32d5-4621-9a20-ff3a44296643', 'name': '', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '3f085c18-4a83-4b66-892a-408f862b805a', 'ip_version': 4, 'cidr': '131.53.214.64/26', 'allocation_pools': [{'start': '131.53.214.66', 'end': '131.53.214.126'}], 'gateway_ip': '131.53.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.53.214.66', 'tags': [], 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:11,632 - INFO - Created VN ctest-vn1-57018062
2025-09-23 05:56:11,685 - DEBUG - VN ctest-vn1-57018062 UUID is 3f085c18-4a83-4b66-892a-408f862b805a
2025-09-23 05:56:11,977 - DEBUG - Response for create_port : {'port': {'name': '353fa2cd-975f-4a7c-b6da-8584ffc04837', 'id': '353fa2cd-975f-4a7c-b6da-8584ffc04837', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '3f085c18-4a83-4b66-892a-408f862b805a', 'mac_address': '02:35:3f:a2:cd:97', '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': '17.251.174.133', 'subnet_id': '9b60118a-5799-4a1f-8e79-017fa41580f8'}], 'security_groups': ['dd55b609-e1d9-40af-9d95-0815cff663a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:12,153 - DEBUG - Response for create_port : {'port': {'name': '5c7fb94a-ebc6-4268-ad9d-ee6330feab58', 'id': '5c7fb94a-ebc6-4268-ad9d-ee6330feab58', 'tenant_id': 'bdeb78578cb6421eb1be5c25ee3dd223', 'network_id': '3f085c18-4a83-4b66-892a-408f862b805a', 'mac_address': '02:5c:7f:b9:4a: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': '131.53.214.69', 'subnet_id': '8ab2e5ae-32d5-4621-9a20-ff3a44296643'}], 'security_groups': ['dd55b609-e1d9-40af-9d95-0815cff663a2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bdeb78578cb6421eb1be5c25ee3dd223'}}
2025-09-23 05:56:12,209 - DEBUG - Services list from nova: [, , ]
2025-09-23 05:56:12,538 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1)
2025-09-23 05:56:13,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1)
2025-09-23 05:56:13,035 - INFO - Waiting for VM ctest-vn1-vm1-85504523 to be up..
2025-09-23 05:56:13,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 05:56:18,156 - DEBUG - VM is in ACTIVE state now
2025-09-23 05:56:18,156 - INFO - VM name : ctest-vn1-vm1-85504523
2025-09-23 05:56:18,230 - DEBUG - VM ctest-vn1-vm1-85504523 ID is b056d14f-4523-49cd-ac41-d3abd547d77b
2025-09-23 05:56:18,249 - DEBUG - VM ctest-vn1-vm1-85504523 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1
2025-09-23 05:56:18,316 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b056d14f-4523-49cd-ac41-d3abd547d77b
2025-09-23 05:56:18,324 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/353fa2cd-975f-4a7c-b6da-8584ffc04837
2025-09-23 05:56:21,589 - 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 1021ms')
2025-09-23 05:56:21,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85504523 failed!
2025-09-23 05:56:21,645 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22703202:ctest-vn1-57018062 is 17.251.174.129 and allocation pool is NOT set
2025-09-23 05:56:21,646 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22703202:ctest-vn1-57018062 is 131.53.214.65 and allocation pool is NOT set
2025-09-23 05:56:23,707 - 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=3.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.052/2.374/3.697/1.322 ms')
2025-09-23 05:56:23,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85504523 passed
2025-09-23 05:56:23,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 05:56:23,857 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85504523, IP 17.251.174.133, Port 22
2025-09-23 05:56:24,013 - DEBUG - VM ctest-vn1-vm1-85504523 is ready for SSH connections
2025-09-23 05:56:24,013 - INFO - Waiting for VM ctest-vn1-vm2-71931361 to be up..
2025-09-23 05:56:24,089 - DEBUG - VM is in ACTIVE state now
2025-09-23 05:56:24,089 - INFO - VM name : ctest-vn1-vm2-71931361
2025-09-23 05:56:24,157 - DEBUG - VM ctest-vn1-vm2-71931361 ID is a702fecd-ee02-4d5a-9e24-cc1ad59875de
2025-09-23 05:56:24,157 - DEBUG - VM ctest-vn1-vm2-71931361 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1
2025-09-23 05:56:24,238 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/a702fecd-ee02-4d5a-9e24-cc1ad59875de
2025-09-23 05:56:24,247 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5c7fb94a-ebc6-4268-ad9d-ee6330feab58
2025-09-23 05:56:25,486 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.915/3.350/1.434 ms')
2025-09-23 05:56:25,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71931361 passed
2025-09-23 05:56:25,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 05:56:25,638 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71931361, IP 131.53.214.69, Port 22
2025-09-23 05:56:25,801 - DEBUG - VM ctest-vn1-vm2-71931361 is ready for SSH connections
2025-09-23 05:56:25,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 05:56:25,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 05:56:25,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 05:56:25,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.251.174.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-09-23 05:56:25,802 - DEBUG - ping -s 56 -c 3 -W 1 17.251.174.133
2025-09-23 05:56:28,757 - DEBUG - PING 17.251.174.133 (17.251.174.133): 56 data bytes
64 bytes from 17.251.174.133: seq=0 ttl=63 time=4.493 ms
64 bytes from 17.251.174.133: seq=1 ttl=63 time=0.834 ms
64 bytes from 17.251.174.133: seq=2 ttl=63 time=0.817 ms
--- 17.251.174.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.817/2.048/4.493 ms
2025-09-23 05:56:28,757 - INFO - Ping to IP 17.251.174.133 from VM ctest-vn1-vm2-71931361 passed
2025-09-23 05:56:28,757 - INFO - Detaching port 5c7fb94a-ebc6-4268-ad9d-ee6330feab58 from VM ctest-vn1-vm2-71931361
2025-09-23 05:56:28,804 - INFO - Deleting VM ctest-vn1-vm2-71931361
2025-09-23 05:56:28,863 - INFO - Detaching port 353fa2cd-975f-4a7c-b6da-8584ffc04837 from VM ctest-vn1-vm1-85504523
2025-09-23 05:56:28,895 - INFO - Deleting VM ctest-vn1-vm1-85504523
2025-09-23 05:56:29,103 - DEBUG - Response for delete_port : ()
2025-09-23 05:56:29,256 - DEBUG - Response for delete_port : ()
2025-09-23 05:56:29,257 - INFO - Deleting VN ctest-vn1-57018062
2025-09-23 05:56:29,388 - DEBUG - Response for deleting network ()
2025-09-23 05:56:29,646 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 05:56:29,646 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-23 05:56:29,646 - INFO - --------------------------------------------------------------------------------
2025-09-23 05:56:30,315 - INFO - Deleted project: ctest-TestPorts-22703202, ID : bdeb7857-8cb6-421e-b1be-5c25ee3dd223