2025-09-11 01:59:37,394 - INFO - Domain Default found not creating
2025-09-11 01:59:37,535 - INFO - Project ctest-TestPorts-41422431 not found, creating it
2025-09-11 01:59:38,018 - INFO - Created Project:ctest-TestPorts-41422431, ID : 57e8cc7a-8b67-4eb3-898c-036caad18172
2025-09-11 01:59:39,584 - INFO - ================================================================================
2025-09-11 01:59:39,584 - INFO - STARTING TEST : test_ports_bindings
2025-09-11 01:59:39,585 - 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-11 01:59:39,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-09-11 01:59:39,844 - INFO - Initial checks done. Running the testcase now
2025-09-11 01:59:39,844 - INFO -
2025-09-11 01:59:40,497 - DEBUG - Response for create_network : {'network': {'id': 'ba4d129c-f815-462c-b242-3c14a284200d', 'name': 'ctest-vn-15544094', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'project_id': '57e8cc7a8b674eb3898c036caad18172', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41422431', 'ctest-vn-15544094'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 01:59:40,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '39855230-049a-427e-9832-7f8f92fda554', 'name': '', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': 'ba4d129c-f815-462c-b242-3c14a284200d', 'ip_version': 4, 'cidr': '119.48.77.0/26', 'allocation_pools': [{'start': '119.48.77.2', 'end': '119.48.77.62'}], 'gateway_ip': '119.48.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.48.77.2', 'tags': [], 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:40,715 - INFO - Created VN ctest-vn-15544094
2025-09-11 01:59:40,766 - DEBUG - VN ctest-vn-15544094 UUID is ba4d129c-f815-462c-b242-3c14a284200d
2025-09-11 01:59:40,879 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41422431', 'ctest-vmi-08466489']}
2025-09-11 01:59:41,124 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08466489', 'id': 'b98366fd-549b-43f3-aa13-71ad1928fa6c', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': 'ba4d129c-f815-462c-b242-3c14a284200d', 'mac_address': '02:b9:83:66:fd:54', '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': '119.48.77.3', 'subnet_id': '39855230-049a-427e-9832-7f8f92fda554'}], 'security_groups': ['a54b05e7-ad81-4754-9c08-7bb1409f7cc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:41,124 - DEBUG - Created port b98366fd-549b-43f3-aa13-71ad1928fa6c
2025-09-11 01:59:41,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b98366fd-549b-43f3-aa13-71ad1928fa6c
2025-09-11 01:59:41,582 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b98366fd-549b-43f3-aa13-71ad1928fa6c
2025-09-11 01:59:41,624 - INFO - VMI b98366fd-549b-43f3-aa13-71ad1928fa6c verification in API Server passed
2025-09-11 01:59:41,721 - DEBUG - Response for delete_port : ()
2025-09-11 01:59:41,721 - INFO - Deleted port b98366fd-549b-43f3-aa13-71ad1928fa6c
2025-09-11 01:59:41,721 - INFO - Deleting VN ctest-vn-15544094
2025-09-11 01:59:41,835 - DEBUG - Response for deleting network ()
2025-09-11 01:59:42,096 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 01:59:42,096 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-11 01:59:42,096 - INFO - --------------------------------------------------------------------------------
2025-09-11 01:59:42,098 - INFO - ================================================================================
2025-09-11 01:59:42,098 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-11 01:59:42,098 - 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-11 01:59:42,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-09-11 01:59:42,387 - INFO - Initial checks done. Running the testcase now
2025-09-11 01:59:42,387 - INFO -
2025-09-11 01:59:42,561 - DEBUG - Response for create_network : {'network': {'id': '6d6191b9-ab5e-4187-bc5b-23582a57171c', 'name': 'ctest-vn1-74438808', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'project_id': '57e8cc7a8b674eb3898c036caad18172', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41422431', 'ctest-vn1-74438808'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 01:59:42,767 - DEBUG - Response for create_subnet : {'subnet': {'id': '703194ea-5514-47c6-84c2-b2002389ae56', 'name': '', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': '6d6191b9-ab5e-4187-bc5b-23582a57171c', 'ip_version': 4, 'cidr': '79.89.91.64/26', 'allocation_pools': [{'start': '79.89.91.66', 'end': '79.89.91.126'}], 'gateway_ip': '79.89.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.89.91.66', 'tags': [], 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:42,935 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a597a0b2-f8c6-40d6-b507-4694b163d900', 'name': '', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': '6d6191b9-ab5e-4187-bc5b-23582a57171c', 'ip_version': 4, 'cidr': '148.21.240.192/26', 'allocation_pools': [{'start': '148.21.240.194', 'end': '148.21.240.254'}], 'gateway_ip': '148.21.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.21.240.194', 'tags': [], 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:42,957 - INFO - Created VN ctest-vn1-74438808
2025-09-11 01:59:43,010 - DEBUG - VN ctest-vn1-74438808 UUID is 6d6191b9-ab5e-4187-bc5b-23582a57171c
2025-09-11 01:59:43,313 - DEBUG - Response for create_port : {'port': {'name': '0284909a-c49e-4293-8ff5-c0e1dbe7d236', 'id': '0284909a-c49e-4293-8ff5-c0e1dbe7d236', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': '6d6191b9-ab5e-4187-bc5b-23582a57171c', 'mac_address': '02:02:84:90:9a:c4', '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': '79.89.91.69', 'subnet_id': '703194ea-5514-47c6-84c2-b2002389ae56'}], 'security_groups': ['a54b05e7-ad81-4754-9c08-7bb1409f7cc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:43,501 - DEBUG - Response for create_port : {'port': {'name': 'ef34e708-d3e9-4b09-8271-78f2535e8b42', 'id': 'ef34e708-d3e9-4b09-8271-78f2535e8b42', 'tenant_id': '57e8cc7a8b674eb3898c036caad18172', 'network_id': '6d6191b9-ab5e-4187-bc5b-23582a57171c', 'mac_address': '02:ef:34:e7:08:d3', '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': '148.21.240.197', 'subnet_id': 'a597a0b2-f8c6-40d6-b507-4694b163d900'}], 'security_groups': ['a54b05e7-ad81-4754-9c08-7bb1409f7cc5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57e8cc7a8b674eb3898c036caad18172'}}
2025-09-11 01:59:43,561 - DEBUG - Services list from nova: [, , ]
2025-09-11 01:59:43,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4078-1)
2025-09-11 01:59:44,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4078-1)
2025-09-11 01:59:44,331 - INFO - Waiting for VM ctest-vn1-vm1-78803416 to be up..
2025-09-11 01:59:44,372 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 01:59:49,461 - DEBUG - VM is in ACTIVE state now
2025-09-11 01:59:49,461 - INFO - VM name : ctest-vn1-vm1-78803416
2025-09-11 01:59:49,555 - DEBUG - VM ctest-vn1-vm1-78803416 ID is abea5160-df5f-4a48-a7bb-244576c9c491
2025-09-11 01:59:49,579 - DEBUG - VM ctest-vn1-vm1-78803416 launched on Node cn-jenkins-deploy-platform-ansible-os-4078-1
2025-09-11 01:59:49,665 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/abea5160-df5f-4a48-a7bb-244576c9c491
2025-09-11 01:59:49,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0284909a-c49e-4293-8ff5-c0e1dbe7d236
2025-09-11 01:59:52,942 - 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 1010ms')
2025-09-11 01:59:52,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78803416 failed!
2025-09-11 01:59:52,995 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41422431:ctest-vn1-74438808 is 79.89.91.65 and allocation pool is NOT set
2025-09-11 01:59:52,995 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41422431:ctest-vn1-74438808 is 148.21.240.193 and allocation pool is NOT set
2025-09-11 01:59:57,062 - 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=5.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 5.172/5.172/5.172/0.000 ms')
2025-09-11 01:59:57,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78803416 passed
2025-09-11 01:59:57,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 01:59:57,215 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78803416, IP 79.89.91.69, Port 22
2025-09-11 01:59:57,370 - DEBUG - VM ctest-vn1-vm1-78803416 is ready for SSH connections
2025-09-11 01:59:57,370 - INFO - Waiting for VM ctest-vn1-vm2-58378940 to be up..
2025-09-11 01:59:57,445 - DEBUG - VM is in ACTIVE state now
2025-09-11 01:59:57,446 - INFO - VM name : ctest-vn1-vm2-58378940
2025-09-11 01:59:57,521 - DEBUG - VM ctest-vn1-vm2-58378940 ID is d5d2904a-58cf-4fd4-8b58-aefc58dbe65e
2025-09-11 01:59:57,521 - DEBUG - VM ctest-vn1-vm2-58378940 launched on Node cn-jenkins-deploy-platform-ansible-os-4078-1
2025-09-11 01:59:57,596 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d5d2904a-58cf-4fd4-8b58-aefc58dbe65e
2025-09-11 01:59:57,604 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ef34e708-d3e9-4b09-8271-78f2535e8b42
2025-09-11 01:59:58,845 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.633 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.633/1.904/3.176/1.271 ms')
2025-09-11 01:59:58,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58378940 passed
2025-09-11 01:59:58,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 01:59:58,999 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58378940, IP 148.21.240.197, Port 22
2025-09-11 01:59:59,155 - DEBUG - VM ctest-vn1-vm2-58378940 is ready for SSH connections
2025-09-11 01:59:59,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 01:59:59,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 01:59:59,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 01:59:59,155 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.89.91.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-09-11 01:59:59,155 - DEBUG - ping -s 56 -c 3 -W 1 79.89.91.69
2025-09-11 02:00:01,873 - DEBUG - PING 79.89.91.69 (79.89.91.69): 56 data bytes
64 bytes from 79.89.91.69: seq=0 ttl=63 time=4.097 ms
64 bytes from 79.89.91.69: seq=1 ttl=63 time=1.071 ms
64 bytes from 79.89.91.69: seq=2 ttl=63 time=1.224 ms
--- 79.89.91.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.071/2.130/4.097 ms
2025-09-11 02:00:01,873 - INFO - Ping to IP 79.89.91.69 from VM ctest-vn1-vm2-58378940 passed
2025-09-11 02:00:01,874 - INFO - Detaching port ef34e708-d3e9-4b09-8271-78f2535e8b42 from VM ctest-vn1-vm2-58378940
2025-09-11 02:00:01,926 - INFO - Deleting VM ctest-vn1-vm2-58378940
2025-09-11 02:00:02,016 - INFO - Detaching port 0284909a-c49e-4293-8ff5-c0e1dbe7d236 from VM ctest-vn1-vm1-78803416
2025-09-11 02:00:02,070 - INFO - Deleting VM ctest-vn1-vm1-78803416
2025-09-11 02:00:02,324 - DEBUG - Response for delete_port : ()
2025-09-11 02:00:02,490 - DEBUG - Response for delete_port : ()
2025-09-11 02:00:02,490 - INFO - Deleting VN ctest-vn1-74438808
2025-09-11 02:00:02,635 - DEBUG - Response for deleting network ()
2025-09-11 02:00:02,888 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:00:02,888 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-09-11 02:00:02,888 - INFO - --------------------------------------------------------------------------------
2025-09-11 02:00:03,647 - INFO - Deleted project: ctest-TestPorts-41422431, ID : 57e8cc7a-8b67-4eb3-898c-036caad18172