2025-09-15 02:17:58,056 - INFO - Domain Default found not creating
2025-09-15 02:17:58,221 - INFO - Project ctest-TestPorts-76939657 not found, creating it
2025-09-15 02:17:58,699 - INFO - Created Project:ctest-TestPorts-76939657, ID : a2200952-a00c-4c65-b79e-8ca4c99a5ac4
2025-09-15 02:18:00,120 - INFO - ================================================================================
2025-09-15 02:18:00,120 - INFO - STARTING TEST : test_ports_bindings
2025-09-15 02:18:00,120 - 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-15 02:18:01,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.137': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-09-15 02:18:01,402 - INFO - Initial checks done. Running the testcase now
2025-09-15 02:18:01,402 - INFO -
2025-09-15 02:18:02,052 - DEBUG - Response for create_network : {'network': {'id': '0d9e757e-444f-4ffa-9607-f3703a618895', 'name': 'ctest-vn-68038899', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76939657', 'ctest-vn-68038899'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 02:18:02,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bf5381b-1ea2-41e6-af31-21903ef79d3e', 'name': '', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '0d9e757e-444f-4ffa-9607-f3703a618895', 'ip_version': 4, 'cidr': '182.107.159.128/26', 'allocation_pools': [{'start': '182.107.159.130', 'end': '182.107.159.190'}], 'gateway_ip': '182.107.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.107.159.130', 'tags': [], 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:02,367 - INFO - Created VN ctest-vn-68038899
2025-09-15 02:18:02,378 - DEBUG - VN ctest-vn-68038899 UUID is 0d9e757e-444f-4ffa-9607-f3703a618895
2025-09-15 02:18:02,444 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76939657', 'ctest-vmi-67670491']}
2025-09-15 02:18:02,750 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67670491', 'id': '91a69e7b-32f4-45ff-8faa-1cabdb973dbe', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '0d9e757e-444f-4ffa-9607-f3703a618895', 'mac_address': '02:91:a6:9e:7b:32', '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': '182.107.159.131', 'subnet_id': '2bf5381b-1ea2-41e6-af31-21903ef79d3e'}], 'security_groups': ['400b6693-3394-45ab-8a2e-092d793d826e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:02,750 - DEBUG - Created port 91a69e7b-32f4-45ff-8faa-1cabdb973dbe
2025-09-15 02:18:02,818 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/91a69e7b-32f4-45ff-8faa-1cabdb973dbe
2025-09-15 02:18:03,110 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/91a69e7b-32f4-45ff-8faa-1cabdb973dbe
2025-09-15 02:18:03,143 - INFO - VMI 91a69e7b-32f4-45ff-8faa-1cabdb973dbe verification in API Server passed
2025-09-15 02:18:03,281 - DEBUG - Response for delete_port : ()
2025-09-15 02:18:03,281 - INFO - Deleted port 91a69e7b-32f4-45ff-8faa-1cabdb973dbe
2025-09-15 02:18:03,281 - INFO - Deleting VN ctest-vn-68038899
2025-09-15 02:18:03,462 - DEBUG - Response for deleting network ()
2025-09-15 02:18:04,741 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:18:04,741 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-09-15 02:18:04,741 - INFO - --------------------------------------------------------------------------------
2025-09-15 02:18:04,743 - INFO - ================================================================================
2025-09-15 02:18:04,743 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-15 02:18:04,743 - 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-15 02:18:06,017 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.137': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-09-15 02:18:06,018 - INFO - Initial checks done. Running the testcase now
2025-09-15 02:18:06,018 - INFO -
2025-09-15 02:18:06,249 - DEBUG - Response for create_network : {'network': {'id': '91d0bf39-011e-4ac0-b461-7a508426e3b6', 'name': 'ctest-vn1-81879495', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76939657', 'ctest-vn1-81879495'], 'port_security_enabled': True, 'description': ''}}
2025-09-15 02:18:06,450 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db9c4240-c1c4-4eea-ba14-01855b4967ab', 'name': '', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '91d0bf39-011e-4ac0-b461-7a508426e3b6', 'ip_version': 4, 'cidr': '90.17.73.64/26', 'allocation_pools': [{'start': '90.17.73.66', 'end': '90.17.73.126'}], 'gateway_ip': '90.17.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.17.73.66', 'tags': [], 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:06,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce150697-15ad-45c5-9bd5-ff61f28d8fad', 'name': '', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '91d0bf39-011e-4ac0-b461-7a508426e3b6', 'ip_version': 4, 'cidr': '41.188.229.64/26', 'allocation_pools': [{'start': '41.188.229.66', 'end': '41.188.229.126'}], 'gateway_ip': '41.188.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.188.229.66', 'tags': [], 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:06,670 - INFO - Created VN ctest-vn1-81879495
2025-09-15 02:18:06,693 - DEBUG - VN ctest-vn1-81879495 UUID is 91d0bf39-011e-4ac0-b461-7a508426e3b6
2025-09-15 02:18:07,016 - DEBUG - Response for create_port : {'port': {'name': '349925ca-423d-4f34-bfca-87ea60c194bb', 'id': '349925ca-423d-4f34-bfca-87ea60c194bb', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '91d0bf39-011e-4ac0-b461-7a508426e3b6', 'mac_address': '02:34:99:25:ca:42', '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': '90.17.73.69', 'subnet_id': 'db9c4240-c1c4-4eea-ba14-01855b4967ab'}], 'security_groups': ['400b6693-3394-45ab-8a2e-092d793d826e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:07,268 - DEBUG - Response for create_port : {'port': {'name': 'f210b1c8-96b7-4d67-ad94-622f4116a94b', 'id': 'f210b1c8-96b7-4d67-ad94-622f4116a94b', 'tenant_id': 'a2200952a00c4c65b79e8ca4c99a5ac4', 'network_id': '91d0bf39-011e-4ac0-b461-7a508426e3b6', 'mac_address': '02:f2:10:b1:c8:96', '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': '41.188.229.69', 'subnet_id': 'ce150697-15ad-45c5-9bd5-ff61f28d8fad'}], 'security_groups': ['400b6693-3394-45ab-8a2e-092d793d826e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a2200952a00c4c65b79e8ca4c99a5ac4'}}
2025-09-15 02:18:07,322 - DEBUG - Services list from nova: [, , , ]
2025-09-15 02:18:07,758 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-1)
2025-09-15 02:18:08,245 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4110-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4110-2)
2025-09-15 02:18:08,245 - INFO - Waiting for VM ctest-vn1-vm1-93645344 to be up..
2025-09-15 02:18:08,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-15 02:18:13,397 - DEBUG - VM is in ACTIVE state now
2025-09-15 02:18:13,397 - INFO - VM name : ctest-vn1-vm1-93645344
2025-09-15 02:18:13,483 - DEBUG - VM ctest-vn1-vm1-93645344 ID is 69296a50-3f87-4119-8112-da873e6a0ae5
2025-09-15 02:18:13,510 - DEBUG - VM ctest-vn1-vm1-93645344 launched on Node an-jenkins-deploy-platform-ansible-os-4110-1
2025-09-15 02:18:13,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69296a50-3f87-4119-8112-da873e6a0ae5
2025-09-15 02:18:13,884 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69296a50-3f87-4119-8112-da873e6a0ae5
2025-09-15 02:18:13,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/349925ca-423d-4f34-bfca-87ea60c194bb
2025-09-15 02:18:17,112 - 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 1031ms')
2025-09-15 02:18:17,112 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93645344 failed!
2025-09-15 02:18:17,124 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76939657:ctest-vn1-81879495 is 90.17.73.65 and allocation pool is NOT set
2025-09-15 02:18:17,125 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76939657:ctest-vn1-81879495 is 41.188.229.65 and allocation pool is NOT set
2025-09-15 02:18:19,190 - 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=4.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.179/2.781/4.383/1.602 ms')
2025-09-15 02:18:19,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93645344 passed
2025-09-15 02:18:19,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:18:19,256 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93645344, IP 90.17.73.69, Port 22
2025-09-15 02:18:19,419 - DEBUG - VM ctest-vn1-vm1-93645344 is ready for SSH connections
2025-09-15 02:18:19,419 - INFO - Waiting for VM ctest-vn1-vm2-94475324 to be up..
2025-09-15 02:18:19,505 - DEBUG - VM is in ACTIVE state now
2025-09-15 02:18:19,505 - INFO - VM name : ctest-vn1-vm2-94475324
2025-09-15 02:18:19,598 - DEBUG - VM ctest-vn1-vm2-94475324 ID is 5162a4d4-3dc4-47bc-b858-8939be4bed14
2025-09-15 02:18:19,599 - DEBUG - VM ctest-vn1-vm2-94475324 launched on Node an-jenkins-deploy-platform-ansible-os-4110-2
2025-09-15 02:18:19,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5162a4d4-3dc4-47bc-b858-8939be4bed14
2025-09-15 02:18:19,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f210b1c8-96b7-4d67-ad94-622f4116a94b
2025-09-15 02:18:20,875 - 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=9.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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 = 0.379/4.832/9.286/4.453 ms')
2025-09-15 02:18:20,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-94475324 passed
2025-09-15 02:18:20,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:18:20,949 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94475324, IP 41.188.229.69, Port 22
2025-09-15 02:18:21,121 - DEBUG - VM ctest-vn1-vm2-94475324 is ready for SSH connections
2025-09-15 02:18:21,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:18:21,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:18:21,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-15 02:18:21,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.17.73.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123
2025-09-15 02:18:21,121 - DEBUG - ping -s 56 -c 3 -W 1 90.17.73.69
2025-09-15 02:18:24,112 - DEBUG - PING 90.17.73.69 (90.17.73.69): 56 data bytes
64 bytes from 90.17.73.69: seq=0 ttl=63 time=5.632 ms
64 bytes from 90.17.73.69: seq=1 ttl=63 time=1.128 ms
64 bytes from 90.17.73.69: seq=2 ttl=63 time=1.595 ms
--- 90.17.73.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.128/2.785/5.632 ms
2025-09-15 02:18:24,112 - INFO - Ping to IP 90.17.73.69 from VM ctest-vn1-vm2-94475324 passed
2025-09-15 02:18:24,112 - INFO - Detaching port f210b1c8-96b7-4d67-ad94-622f4116a94b from VM ctest-vn1-vm2-94475324
2025-09-15 02:18:24,170 - INFO - Deleting VM ctest-vn1-vm2-94475324
2025-09-15 02:18:24,403 - INFO - Detaching port 349925ca-423d-4f34-bfca-87ea60c194bb from VM ctest-vn1-vm1-93645344
2025-09-15 02:18:24,435 - INFO - Deleting VM ctest-vn1-vm1-93645344
2025-09-15 02:18:24,751 - DEBUG - Response for delete_port : ()
2025-09-15 02:18:25,057 - DEBUG - Response for delete_port : ()
2025-09-15 02:18:25,057 - INFO - Deleting VN ctest-vn1-81879495
2025-09-15 02:18:25,258 - DEBUG - Response for deleting network ()
2025-09-15 02:18:26,536 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:18:26,536 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-15 02:18:26,537 - INFO - --------------------------------------------------------------------------------
2025-09-15 02:18:27,326 - INFO - Deleted project: ctest-TestPorts-76939657, ID : a2200952-a00c-4c65-b79e-8ca4c99a5ac4