2025-08-26 16:20:54,559 - INFO - Domain Default found not creating
2025-08-26 16:20:54,692 - INFO - Project ctest-TestPorts-45768915 not found, creating it
2025-08-26 16:20:55,120 - INFO - Created Project:ctest-TestPorts-45768915, ID : 8f217f97-9220-4967-a60f-2ba3e94b05c0
2025-08-26 16:20:56,793 - INFO - ================================================================================
2025-08-26 16:20:56,793 - INFO - STARTING TEST : test_ports_bindings
2025-08-26 16:20:56,793 - 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-26 16:20:57,054 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-26 16:20:57,055 - INFO - Initial checks done. Running the testcase now
2025-08-26 16:20:57,055 - INFO -
2025-08-26 16:20:57,642 - DEBUG - Response for create_network : {'network': {'id': 'db3a825e-2d67-48aa-9f7a-e5c4ade2b510', 'name': 'ctest-vn-61250156', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'project_id': '8f217f9792204967a60f2ba3e94b05c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45768915', 'ctest-vn-61250156'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 16:20:57,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '24d735d5-0c8d-4a6c-aaef-2898c76cee4c', 'name': '', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'db3a825e-2d67-48aa-9f7a-e5c4ade2b510', 'ip_version': 4, 'cidr': '161.246.248.128/26', 'allocation_pools': [{'start': '161.246.248.130', 'end': '161.246.248.190'}], 'gateway_ip': '161.246.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.246.248.130', 'tags': [], 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:20:57,880 - INFO - Created VN ctest-vn-61250156
2025-08-26 16:20:57,930 - DEBUG - VN ctest-vn-61250156 UUID is db3a825e-2d67-48aa-9f7a-e5c4ade2b510
2025-08-26 16:20:58,031 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45768915', 'ctest-vmi-99957704']}
2025-08-26 16:20:58,283 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99957704', 'id': 'a7bc6059-81d0-49ff-a1a1-2ad8f90f138b', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'db3a825e-2d67-48aa-9f7a-e5c4ade2b510', 'mac_address': '02:a7:bc:60:59:81', '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': '161.246.248.131', 'subnet_id': '24d735d5-0c8d-4a6c-aaef-2898c76cee4c'}], 'security_groups': ['3597e03b-8e4e-4a15-86bb-178bebb50a48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:20:58,283 - DEBUG - Created port a7bc6059-81d0-49ff-a1a1-2ad8f90f138b
2025-08-26 16:20:58,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a7bc6059-81d0-49ff-a1a1-2ad8f90f138b
2025-08-26 16:20:58,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a7bc6059-81d0-49ff-a1a1-2ad8f90f138b
2025-08-26 16:20:58,745 - INFO - VMI a7bc6059-81d0-49ff-a1a1-2ad8f90f138b verification in API Server passed
2025-08-26 16:20:58,823 - DEBUG - Response for delete_port : ()
2025-08-26 16:20:58,823 - INFO - Deleted port a7bc6059-81d0-49ff-a1a1-2ad8f90f138b
2025-08-26 16:20:58,823 - INFO - Deleting VN ctest-vn-61250156
2025-08-26 16:20:58,918 - DEBUG - Response for deleting network ()
2025-08-26 16:20:59,175 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 16:20:59,175 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-26 16:20:59,175 - INFO - --------------------------------------------------------------------------------
2025-08-26 16:20:59,177 - INFO - ================================================================================
2025-08-26 16:20:59,177 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-26 16:20:59,177 - 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-26 16:20:59,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-26 16:20:59,462 - INFO - Initial checks done. Running the testcase now
2025-08-26 16:20:59,463 - INFO -
2025-08-26 16:20:59,622 - DEBUG - Response for create_network : {'network': {'id': 'b1817260-551a-4d2b-b38d-26f4858638b1', 'name': 'ctest-vn1-85386234', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'project_id': '8f217f9792204967a60f2ba3e94b05c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45768915', 'ctest-vn1-85386234'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 16:20:59,801 - DEBUG - Response for create_subnet : {'subnet': {'id': '868de3eb-9ebb-4c57-9964-2fe3e0b0be10', 'name': '', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'b1817260-551a-4d2b-b38d-26f4858638b1', 'ip_version': 4, 'cidr': '37.25.113.0/26', 'allocation_pools': [{'start': '37.25.113.2', 'end': '37.25.113.62'}], 'gateway_ip': '37.25.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.25.113.2', 'tags': [], 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:20:59,953 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3eeaebb-32af-45fd-84db-b90987d6e3b4', 'name': '', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'b1817260-551a-4d2b-b38d-26f4858638b1', 'ip_version': 4, 'cidr': '162.209.215.0/26', 'allocation_pools': [{'start': '162.209.215.2', 'end': '162.209.215.62'}], 'gateway_ip': '162.209.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.209.215.2', 'tags': [], 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:20:59,971 - INFO - Created VN ctest-vn1-85386234
2025-08-26 16:21:00,022 - DEBUG - VN ctest-vn1-85386234 UUID is b1817260-551a-4d2b-b38d-26f4858638b1
2025-08-26 16:21:00,305 - DEBUG - Response for create_port : {'port': {'name': '9cb7f0d2-2176-4c8b-824f-22af97cd8963', 'id': '9cb7f0d2-2176-4c8b-824f-22af97cd8963', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'b1817260-551a-4d2b-b38d-26f4858638b1', 'mac_address': '02:9c:b7:f0:d2:21', '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': '37.25.113.5', 'subnet_id': '868de3eb-9ebb-4c57-9964-2fe3e0b0be10'}], 'security_groups': ['3597e03b-8e4e-4a15-86bb-178bebb50a48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:21:00,463 - DEBUG - Response for create_port : {'port': {'name': 'c682e9fa-a6b5-4334-b229-184c669a7406', 'id': 'c682e9fa-a6b5-4334-b229-184c669a7406', 'tenant_id': '8f217f9792204967a60f2ba3e94b05c0', 'network_id': 'b1817260-551a-4d2b-b38d-26f4858638b1', 'mac_address': '02:c6:82:e9:fa:a6', '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': '162.209.215.5', 'subnet_id': 'a3eeaebb-32af-45fd-84db-b90987d6e3b4'}], 'security_groups': ['3597e03b-8e4e-4a15-86bb-178bebb50a48'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f217f9792204967a60f2ba3e94b05c0'}}
2025-08-26 16:21:00,519 - DEBUG - Services list from nova: [, , ]
2025-08-26 16:21:00,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1)
2025-08-26 16:21:01,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1)
2025-08-26 16:21:01,193 - INFO - Waiting for VM ctest-vn1-vm1-79522511 to be up..
2025-08-26 16:21:01,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 16:21:06,301 - DEBUG - VM is in ACTIVE state now
2025-08-26 16:21:06,301 - INFO - VM name : ctest-vn1-vm1-79522511
2025-08-26 16:21:06,366 - DEBUG - VM ctest-vn1-vm1-79522511 ID is 7ea9d731-467e-4776-8bd4-b01ce4a30f12
2025-08-26 16:21:06,384 - DEBUG - VM ctest-vn1-vm1-79522511 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1
2025-08-26 16:21:06,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7ea9d731-467e-4776-8bd4-b01ce4a30f12
2025-08-26 16:21:06,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9cb7f0d2-2176-4c8b-824f-22af97cd8963
2025-08-26 16:21:09,693 - 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 1003ms')
2025-08-26 16:21:09,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79522511 failed!
2025-08-26 16:21:09,746 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45768915:ctest-vn1-85386234 is 37.25.113.1 and allocation pool is NOT set
2025-08-26 16:21:09,746 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45768915:ctest-vn1-85386234 is 162.209.215.1 and allocation pool is NOT set
2025-08-26 16:21:13,818 - 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=9.64 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 9.643/9.643/9.643/0.000 ms')
2025-08-26 16:21:13,818 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79522511 passed
2025-08-26 16:21:13,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:13,970 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79522511, IP 37.25.113.5, Port 22
2025-08-26 16:21:14,136 - DEBUG - VM ctest-vn1-vm1-79522511 is ready for SSH connections
2025-08-26 16:21:14,136 - INFO - Waiting for VM ctest-vn1-vm2-65704657 to be up..
2025-08-26 16:21:14,213 - DEBUG - VM is in ACTIVE state now
2025-08-26 16:21:14,213 - INFO - VM name : ctest-vn1-vm2-65704657
2025-08-26 16:21:14,286 - DEBUG - VM ctest-vn1-vm2-65704657 ID is aa267686-f5a2-4d9f-a4db-c141cd130fc3
2025-08-26 16:21:14,286 - DEBUG - VM ctest-vn1-vm2-65704657 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1
2025-08-26 16:21:14,360 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aa267686-f5a2-4d9f-a4db-c141cd130fc3
2025-08-26 16:21:14,366 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c682e9fa-a6b5-4334-b229-184c669a7406
2025-08-26 16:21:15,595 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.687/2.953/1.266 ms')
2025-08-26 16:21:15,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65704657 passed
2025-08-26 16:21:15,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:15,746 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65704657, IP 162.209.215.5, Port 22
2025-08-26 16:21:15,902 - DEBUG - VM ctest-vn1-vm2-65704657 is ready for SSH connections
2025-08-26 16:21:15,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:15,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:15,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:15,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.25.113.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:15,902 - DEBUG - ping -s 56 -c 3 -W 1 37.25.113.5
2025-08-26 16:21:18,573 - DEBUG - PING 37.25.113.5 (37.25.113.5): 56 data bytes
64 bytes from 37.25.113.5: seq=0 ttl=63 time=4.017 ms
64 bytes from 37.25.113.5: seq=1 ttl=63 time=0.802 ms
64 bytes from 37.25.113.5: seq=2 ttl=63 time=0.769 ms
--- 37.25.113.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.769/1.862/4.017 ms
2025-08-26 16:21:18,573 - INFO - Ping to IP 37.25.113.5 from VM ctest-vn1-vm2-65704657 passed
2025-08-26 16:21:18,573 - INFO - Detaching port c682e9fa-a6b5-4334-b229-184c669a7406 from VM ctest-vn1-vm2-65704657
2025-08-26 16:21:18,623 - INFO - Deleting VM ctest-vn1-vm2-65704657
2025-08-26 16:21:18,694 - INFO - Detaching port 9cb7f0d2-2176-4c8b-824f-22af97cd8963 from VM ctest-vn1-vm1-79522511
2025-08-26 16:21:18,727 - INFO - Deleting VM ctest-vn1-vm1-79522511
2025-08-26 16:21:18,934 - DEBUG - Response for delete_port : ()
2025-08-26 16:21:19,068 - DEBUG - Response for delete_port : ()
2025-08-26 16:21:19,068 - INFO - Deleting VN ctest-vn1-85386234
2025-08-26 16:21:19,195 - DEBUG - Response for deleting network ()
2025-08-26 16:21:19,452 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 16:21:19,452 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-08-26 16:21:19,452 - INFO - --------------------------------------------------------------------------------
2025-08-26 16:21:20,183 - INFO - Deleted project: ctest-TestPorts-45768915, ID : 8f217f97-9220-4967-a60f-2ba3e94b05c0