2025-10-08 12:47:56,232 - INFO - Domain Default found not creating
2025-10-08 12:47:56,371 - INFO - Project ctest-TestPorts-61685011 not found, creating it
2025-10-08 12:47:56,800 - INFO - Created Project:ctest-TestPorts-61685011, ID : 1a237994-4d60-482a-957f-d6c3c06df5fc
2025-10-08 12:47:58,213 - INFO - ================================================================================
2025-10-08 12:47:58,213 - INFO - STARTING TEST : test_ports_bindings
2025-10-08 12:47:58,213 - 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-10-08 12:47:58,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-08 12:47:58,468 - INFO - Initial checks done. Running the testcase now
2025-10-08 12:47:58,468 - INFO -
2025-10-08 12:47:59,000 - DEBUG - Response for create_network : {'network': {'id': '10be811e-ff11-4ee5-aef8-1c6a710dba0c', 'name': 'ctest-vn-92628940', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'project_id': '1a2379944d60482a957fd6c3c06df5fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61685011', 'ctest-vn-92628940'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 12:47:59,221 - DEBUG - Response for create_subnet : {'subnet': {'id': '725bb32e-1974-4685-9f59-3bdb93550b74', 'name': '', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '10be811e-ff11-4ee5-aef8-1c6a710dba0c', 'ip_version': 4, 'cidr': '154.13.91.0/26', 'allocation_pools': [{'start': '154.13.91.2', 'end': '154.13.91.62'}], 'gateway_ip': '154.13.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.13.91.2', 'tags': [], 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:47:59,249 - INFO - Created VN ctest-vn-92628940
2025-10-08 12:47:59,306 - DEBUG - VN ctest-vn-92628940 UUID is 10be811e-ff11-4ee5-aef8-1c6a710dba0c
2025-10-08 12:47:59,419 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61685011', 'ctest-vmi-67348276']}
2025-10-08 12:47:59,654 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67348276', 'id': '3318d36a-c4b9-40d6-8020-10dd42eeb242', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '10be811e-ff11-4ee5-aef8-1c6a710dba0c', 'mac_address': '02:33:18:d3:6a:c4', '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': '154.13.91.3', 'subnet_id': '725bb32e-1974-4685-9f59-3bdb93550b74'}], 'security_groups': ['e16480fe-ddc9-42f8-93ca-bb770df0bf0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:47:59,654 - DEBUG - Created port 3318d36a-c4b9-40d6-8020-10dd42eeb242
2025-10-08 12:47:59,762 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3318d36a-c4b9-40d6-8020-10dd42eeb242
2025-10-08 12:48:00,062 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3318d36a-c4b9-40d6-8020-10dd42eeb242
2025-10-08 12:48:00,106 - INFO - VMI 3318d36a-c4b9-40d6-8020-10dd42eeb242 verification in API Server passed
2025-10-08 12:48:00,209 - DEBUG - Response for delete_port : ()
2025-10-08 12:48:00,209 - INFO - Deleted port 3318d36a-c4b9-40d6-8020-10dd42eeb242
2025-10-08 12:48:00,210 - INFO - Deleting VN ctest-vn-92628940
2025-10-08 12:48:00,337 - DEBUG - Response for deleting network ()
2025-10-08 12:48:00,591 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 12:48:00,591 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-08 12:48:00,591 - INFO - --------------------------------------------------------------------------------
2025-10-08 12:48:00,594 - INFO - ================================================================================
2025-10-08 12:48:00,594 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-08 12:48:00,594 - 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-10-08 12:48:00,878 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-08 12:48:00,878 - INFO - Initial checks done. Running the testcase now
2025-10-08 12:48:00,878 - INFO -
2025-10-08 12:48:01,028 - DEBUG - Response for create_network : {'network': {'id': '840e9f8b-039f-4bce-a452-577d9ac91556', 'name': 'ctest-vn1-02402030', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'project_id': '1a2379944d60482a957fd6c3c06df5fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61685011', 'ctest-vn1-02402030'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 12:48:01,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '406562cf-3f87-4908-b6e4-f3ca58ad77cd', 'name': '', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '840e9f8b-039f-4bce-a452-577d9ac91556', 'ip_version': 4, 'cidr': '133.15.66.128/26', 'allocation_pools': [{'start': '133.15.66.130', 'end': '133.15.66.190'}], 'gateway_ip': '133.15.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.15.66.130', 'tags': [], 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:48:01,422 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f415fa2c-d1b3-4a83-93fe-4a55b9389496', 'name': '', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '840e9f8b-039f-4bce-a452-577d9ac91556', 'ip_version': 4, 'cidr': '204.13.171.192/26', 'allocation_pools': [{'start': '204.13.171.194', 'end': '204.13.171.254'}], 'gateway_ip': '204.13.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.13.171.194', 'tags': [], 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:48:01,439 - INFO - Created VN ctest-vn1-02402030
2025-10-08 12:48:01,490 - DEBUG - VN ctest-vn1-02402030 UUID is 840e9f8b-039f-4bce-a452-577d9ac91556
2025-10-08 12:48:01,761 - DEBUG - Response for create_port : {'port': {'name': 'a31d7365-40f5-4274-9abf-d2614a89e881', 'id': 'a31d7365-40f5-4274-9abf-d2614a89e881', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '840e9f8b-039f-4bce-a452-577d9ac91556', 'mac_address': '02:a3:1d:73:65:40', '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': '133.15.66.133', 'subnet_id': '406562cf-3f87-4908-b6e4-f3ca58ad77cd'}], 'security_groups': ['e16480fe-ddc9-42f8-93ca-bb770df0bf0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:48:01,934 - DEBUG - Response for create_port : {'port': {'name': '1487e893-98bc-4de7-87ba-71f1d706528c', 'id': '1487e893-98bc-4de7-87ba-71f1d706528c', 'tenant_id': '1a2379944d60482a957fd6c3c06df5fc', 'network_id': '840e9f8b-039f-4bce-a452-577d9ac91556', 'mac_address': '02:14:87:e8:93:98', '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': '204.13.171.197', 'subnet_id': 'f415fa2c-d1b3-4a83-93fe-4a55b9389496'}], 'security_groups': ['e16480fe-ddc9-42f8-93ca-bb770df0bf0f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a2379944d60482a957fd6c3c06df5fc'}}
2025-10-08 12:48:01,990 - DEBUG - Services list from nova: [, , ]
2025-10-08 12:48:02,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1)
2025-10-08 12:48:02,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1)
2025-10-08 12:48:02,649 - INFO - Waiting for VM ctest-vn1-vm1-30234584 to be up..
2025-10-08 12:48:02,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 12:48:07,877 - DEBUG - VM is in ACTIVE state now
2025-10-08 12:48:07,877 - INFO - VM name : ctest-vn1-vm1-30234584
2025-10-08 12:48:07,950 - DEBUG - VM ctest-vn1-vm1-30234584 ID is 34460549-890e-4e6a-9b88-2f146b2d4d25
2025-10-08 12:48:07,969 - DEBUG - VM ctest-vn1-vm1-30234584 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1
2025-10-08 12:48:08,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/34460549-890e-4e6a-9b88-2f146b2d4d25
2025-10-08 12:48:08,048 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a31d7365-40f5-4274-9abf-d2614a89e881
2025-10-08 12:48:11,296 - 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 1011ms')
2025-10-08 12:48:11,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30234584 failed!
2025-10-08 12:48:11,354 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61685011:ctest-vn1-02402030 is 133.15.66.129 and allocation pool is NOT set
2025-10-08 12:48:11,354 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61685011:ctest-vn1-02402030 is 204.13.171.193 and allocation pool is NOT set
2025-10-08 12:48:13,414 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.064/6.115/10.167/4.051 ms')
2025-10-08 12:48:13,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30234584 passed
2025-10-08 12:48:13,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:48:13,562 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30234584, IP 133.15.66.133, Port 22
2025-10-08 12:48:13,721 - DEBUG - VM ctest-vn1-vm1-30234584 is ready for SSH connections
2025-10-08 12:48:13,721 - INFO - Waiting for VM ctest-vn1-vm2-24038231 to be up..
2025-10-08 12:48:13,791 - DEBUG - VM is in ACTIVE state now
2025-10-08 12:48:13,791 - INFO - VM name : ctest-vn1-vm2-24038231
2025-10-08 12:48:13,862 - DEBUG - VM ctest-vn1-vm2-24038231 ID is 6791a622-be30-4be2-a56b-14294d4612b8
2025-10-08 12:48:13,862 - DEBUG - VM ctest-vn1-vm2-24038231 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1
2025-10-08 12:48:13,931 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6791a622-be30-4be2-a56b-14294d4612b8
2025-10-08 12:48:13,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1487e893-98bc-4de7-87ba-71f1d706528c
2025-10-08 12:48:15,174 - 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=4.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.08 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 = 2.078/3.465/4.853/1.387 ms')
2025-10-08 12:48:15,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24038231 passed
2025-10-08 12:48:15,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:48:15,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24038231, IP 204.13.171.197, Port 22
2025-10-08 12:48:15,482 - DEBUG - VM ctest-vn1-vm2-24038231 is ready for SSH connections
2025-10-08 12:48:15,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:48:15,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:48:15,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 12:48:15,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.15.66.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 12:48:15,482 - DEBUG - ping -s 56 -c 3 -W 1 133.15.66.133
2025-10-08 12:48:18,467 - DEBUG - PING 133.15.66.133 (133.15.66.133): 56 data bytes
64 bytes from 133.15.66.133: seq=0 ttl=63 time=3.815 ms
64 bytes from 133.15.66.133: seq=1 ttl=63 time=0.823 ms
64 bytes from 133.15.66.133: seq=2 ttl=63 time=0.819 ms
--- 133.15.66.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.819/1.819/3.815 ms
2025-10-08 12:48:18,468 - INFO - Ping to IP 133.15.66.133 from VM ctest-vn1-vm2-24038231 passed
2025-10-08 12:48:18,468 - INFO - Detaching port 1487e893-98bc-4de7-87ba-71f1d706528c from VM ctest-vn1-vm2-24038231
2025-10-08 12:48:18,513 - INFO - Deleting VM ctest-vn1-vm2-24038231
2025-10-08 12:48:18,576 - INFO - Detaching port a31d7365-40f5-4274-9abf-d2614a89e881 from VM ctest-vn1-vm1-30234584
2025-10-08 12:48:18,609 - INFO - Deleting VM ctest-vn1-vm1-30234584
2025-10-08 12:48:18,808 - DEBUG - Response for delete_port : ()
2025-10-08 12:48:18,956 - DEBUG - Response for delete_port : ()
2025-10-08 12:48:18,956 - INFO - Deleting VN ctest-vn1-02402030
2025-10-08 12:48:19,100 - DEBUG - Response for deleting network ()
2025-10-08 12:48:19,360 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 12:48:19,360 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-08 12:48:19,360 - INFO - --------------------------------------------------------------------------------
2025-10-08 12:48:20,047 - INFO - Deleted project: ctest-TestPorts-61685011, ID : 1a237994-4d60-482a-957f-d6c3c06df5fc