2025-09-19 22:42:38,557 - INFO - Domain Default found not creating
2025-09-19 22:42:38,676 - INFO - Project ctest-TestPorts-87073168 not found, creating it
2025-09-19 22:42:39,129 - INFO - Created Project:ctest-TestPorts-87073168, ID : cb9dfada-7a77-491f-b0cc-4bdd3824d30e
2025-09-19 22:42:40,431 - INFO - ================================================================================
2025-09-19 22:42:40,431 - INFO - STARTING TEST : test_ports_bindings
2025-09-19 22:42:40,431 - 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-19 22:42:40,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-19 22:42:40,686 - INFO - Initial checks done. Running the testcase now
2025-09-19 22:42:40,686 - INFO -
2025-09-19 22:42:41,216 - DEBUG - Response for create_network : {'network': {'id': '2b150992-111e-4742-9f4b-e6f8055e7791', 'name': 'ctest-vn-29616379', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87073168', 'ctest-vn-29616379'], 'port_security_enabled': True, 'description': ''}}
2025-09-19 22:42:41,381 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f77529b-a3f7-4a22-9762-500531c58b2a', 'name': '', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '2b150992-111e-4742-9f4b-e6f8055e7791', 'ip_version': 4, 'cidr': '75.214.59.0/26', 'allocation_pools': [{'start': '75.214.59.2', 'end': '75.214.59.62'}], 'gateway_ip': '75.214.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.214.59.2', 'tags': [], 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:41,395 - INFO - Created VN ctest-vn-29616379
2025-09-19 22:42:41,446 - DEBUG - VN ctest-vn-29616379 UUID is 2b150992-111e-4742-9f4b-e6f8055e7791
2025-09-19 22:42:41,547 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87073168', 'ctest-vmi-43805730']}
2025-09-19 22:42:41,827 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-43805730', 'id': '2a24c8db-10b8-40e7-a264-9743256086a7', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '2b150992-111e-4742-9f4b-e6f8055e7791', 'mac_address': '02:2a:24:c8:db:10', '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': '75.214.59.3', 'subnet_id': '3f77529b-a3f7-4a22-9762-500531c58b2a'}], 'security_groups': ['4aaceb14-4559-4e69-8c08-82dcc9ced7a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:41,827 - DEBUG - Created port 2a24c8db-10b8-40e7-a264-9743256086a7
2025-09-19 22:42:41,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a24c8db-10b8-40e7-a264-9743256086a7
2025-09-19 22:42:42,221 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a24c8db-10b8-40e7-a264-9743256086a7
2025-09-19 22:42:42,247 - INFO - VMI 2a24c8db-10b8-40e7-a264-9743256086a7 verification in API Server passed
2025-09-19 22:42:42,319 - DEBUG - Response for delete_port : ()
2025-09-19 22:42:42,319 - INFO - Deleted port 2a24c8db-10b8-40e7-a264-9743256086a7
2025-09-19 22:42:42,319 - INFO - Deleting VN ctest-vn-29616379
2025-09-19 22:42:42,403 - DEBUG - Response for deleting network ()
2025-09-19 22:42:42,665 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 22:42:42,665 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-19 22:42:42,665 - INFO - --------------------------------------------------------------------------------
2025-09-19 22:42:42,667 - INFO - ================================================================================
2025-09-19 22:42:42,667 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-19 22:42:42,668 - 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-19 22:42:42,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-19 22:42:42,961 - INFO - Initial checks done. Running the testcase now
2025-09-19 22:42:42,961 - INFO -
2025-09-19 22:42:43,117 - DEBUG - Response for create_network : {'network': {'id': '3953fa66-0cf0-4bc4-904b-f69bb84f7d12', 'name': 'ctest-vn1-87933332', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87073168', 'ctest-vn1-87933332'], 'port_security_enabled': True, 'description': ''}}
2025-09-19 22:42:43,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '333825a5-df20-436a-b1ea-050d5c53a7ef', 'name': '', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '3953fa66-0cf0-4bc4-904b-f69bb84f7d12', 'ip_version': 4, 'cidr': '222.113.115.64/26', 'allocation_pools': [{'start': '222.113.115.66', 'end': '222.113.115.126'}], 'gateway_ip': '222.113.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.113.115.66', 'tags': [], 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:43,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fe6a8e4-0354-4460-819c-cd83fb160c4c', 'name': '', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '3953fa66-0cf0-4bc4-904b-f69bb84f7d12', 'ip_version': 4, 'cidr': '82.61.97.192/26', 'allocation_pools': [{'start': '82.61.97.194', 'end': '82.61.97.254'}], 'gateway_ip': '82.61.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.61.97.194', 'tags': [], 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:43,497 - INFO - Created VN ctest-vn1-87933332
2025-09-19 22:42:43,549 - DEBUG - VN ctest-vn1-87933332 UUID is 3953fa66-0cf0-4bc4-904b-f69bb84f7d12
2025-09-19 22:42:43,813 - DEBUG - Response for create_port : {'port': {'name': 'f6842a8c-70b0-41fd-a53d-480be7866c99', 'id': 'f6842a8c-70b0-41fd-a53d-480be7866c99', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '3953fa66-0cf0-4bc4-904b-f69bb84f7d12', 'mac_address': '02:f6:84:2a:8c:70', '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': '222.113.115.69', 'subnet_id': '333825a5-df20-436a-b1ea-050d5c53a7ef'}], 'security_groups': ['4aaceb14-4559-4e69-8c08-82dcc9ced7a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:43,962 - DEBUG - Response for create_port : {'port': {'name': 'ceb0d9db-b76d-47f8-aeae-a53084e84774', 'id': 'ceb0d9db-b76d-47f8-aeae-a53084e84774', 'tenant_id': 'cb9dfada7a77491fb0cc4bdd3824d30e', 'network_id': '3953fa66-0cf0-4bc4-904b-f69bb84f7d12', 'mac_address': '02:ce:b0:d9:db:b7', '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': '82.61.97.197', 'subnet_id': '4fe6a8e4-0354-4460-819c-cd83fb160c4c'}], 'security_groups': ['4aaceb14-4559-4e69-8c08-82dcc9ced7a9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'cb9dfada7a77491fb0cc4bdd3824d30e'}}
2025-09-19 22:42:44,009 - DEBUG - Services list from nova: [, , ]
2025-09-19 22:42:44,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1)
2025-09-19 22:42:44,610 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1)
2025-09-19 22:42:44,610 - INFO - Waiting for VM ctest-vn1-vm1-79127598 to be up..
2025-09-19 22:42:44,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-19 22:42:49,710 - DEBUG - VM is in ACTIVE state now
2025-09-19 22:42:49,710 - INFO - VM name : ctest-vn1-vm1-79127598
2025-09-19 22:42:49,770 - DEBUG - VM ctest-vn1-vm1-79127598 ID is 34ae038c-df82-4327-bf3d-d9ffc2d25ce8
2025-09-19 22:42:49,786 - DEBUG - VM ctest-vn1-vm1-79127598 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1
2025-09-19 22:42:49,846 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/34ae038c-df82-4327-bf3d-d9ffc2d25ce8
2025-09-19 22:42:49,853 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6842a8c-70b0-41fd-a53d-480be7866c99
2025-09-19 22:42:53,107 - 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 1029ms')
2025-09-19 22:42:53,108 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79127598 failed!
2025-09-19 22:42:53,162 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87073168:ctest-vn1-87933332 is 222.113.115.65 and allocation pool is NOT set
2025-09-19 22:42:53,162 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87073168:ctest-vn1-87933332 is 82.61.97.193 and allocation pool is NOT set
2025-09-19 22:42:55,227 - 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.87 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.056/2.964/3.872/0.908 ms')
2025-09-19 22:42:55,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79127598 passed
2025-09-19 22:42:55,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 22:42:55,374 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79127598, IP 222.113.115.69, Port 22
2025-09-19 22:42:55,533 - DEBUG - VM ctest-vn1-vm1-79127598 is ready for SSH connections
2025-09-19 22:42:55,533 - INFO - Waiting for VM ctest-vn1-vm2-42024488 to be up..
2025-09-19 22:42:55,600 - DEBUG - VM is in ACTIVE state now
2025-09-19 22:42:55,600 - INFO - VM name : ctest-vn1-vm2-42024488
2025-09-19 22:42:55,661 - DEBUG - VM ctest-vn1-vm2-42024488 ID is b30c28b7-c8a8-4706-a585-c5b95b9da30a
2025-09-19 22:42:55,661 - DEBUG - VM ctest-vn1-vm2-42024488 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1
2025-09-19 22:42:55,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b30c28b7-c8a8-4706-a585-c5b95b9da30a
2025-09-19 22:42:55,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ceb0d9db-b76d-47f8-aeae-a53084e84774
2025-09-19 22:42:56,955 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.308 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.308/1.488/2.668/1.180 ms')
2025-09-19 22:42:56,955 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42024488 passed
2025-09-19 22:42:57,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 22:42:57,102 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42024488, IP 82.61.97.197, Port 22
2025-09-19 22:42:57,253 - DEBUG - VM ctest-vn1-vm2-42024488 is ready for SSH connections
2025-09-19 22:42:57,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 22:42:57,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 22:42:57,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-19 22:42:57,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.113.115.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-19 22:42:57,253 - DEBUG - ping -s 56 -c 3 -W 1 222.113.115.69
2025-09-19 22:43:00,138 - DEBUG - PING 222.113.115.69 (222.113.115.69): 56 data bytes
64 bytes from 222.113.115.69: seq=0 ttl=63 time=3.302 ms
64 bytes from 222.113.115.69: seq=1 ttl=63 time=0.702 ms
64 bytes from 222.113.115.69: seq=2 ttl=63 time=0.715 ms
--- 222.113.115.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.702/1.573/3.302 ms
2025-09-19 22:43:00,138 - INFO - Ping to IP 222.113.115.69 from VM ctest-vn1-vm2-42024488 passed
2025-09-19 22:43:00,138 - INFO - Detaching port ceb0d9db-b76d-47f8-aeae-a53084e84774 from VM ctest-vn1-vm2-42024488
2025-09-19 22:43:00,181 - INFO - Deleting VM ctest-vn1-vm2-42024488
2025-09-19 22:43:00,237 - INFO - Detaching port f6842a8c-70b0-41fd-a53d-480be7866c99 from VM ctest-vn1-vm1-79127598
2025-09-19 22:43:00,274 - INFO - Deleting VM ctest-vn1-vm1-79127598
2025-09-19 22:43:00,519 - DEBUG - Response for delete_port : ()
2025-09-19 22:43:00,723 - DEBUG - Response for delete_port : ()
2025-09-19 22:43:00,723 - INFO - Deleting VN ctest-vn1-87933332
2025-09-19 22:43:00,905 - DEBUG - Response for deleting network ()
2025-09-19 22:43:01,158 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 22:43:01,158 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-19 22:43:01,158 - INFO - --------------------------------------------------------------------------------
2025-09-19 22:43:01,798 - INFO - Deleted project: ctest-TestPorts-87073168, ID : cb9dfada-7a77-491f-b0cc-4bdd3824d30e