Public bug reported: FAIL: neutron_lbaas.tests.unit.drivers.haproxy.test_jinja_cfg.TestHaproxyCfg.test_render_template_https neutron_lbaas.tests.unit.drivers.haproxy.test_jinja_cfg.TestHaproxyCfg.test_render_template_https ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/neutron/tests/base.py", line 132, in func return f(self, *args, **kwargs) File "/home/zigo/sources/openstack/queens/services/neutron-lbaas/build-area/neutron-lbaas-12.0.0~rc1/neutron_lbaas/tests/unit/drivers/haproxy/test_jinja_cfg.py", line 183, in test_render_template_https frontend=fe, backend=be), rendered_obj) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '''\ # Configuration for test-lb global daemon user nobody group nogroup log /dev/log local0 log /dev/log local1 notice maxconn 98 stats socket /sock_path mode 0666 level user
defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend sample_listener_id_1 option tcplog maxconn 98 bind 10.0.0.2:443 mode tcp default_backend sample_pool_id_1 backend sample_pool_id_1 mode tcp balance roundrobin cookie SRV insert indirect nocache timeout check 31s option httpchk GET /index.html http-check expect rstatus 500|405|404 option ssl-hello-chk server sample_member_id_1 10.0.0.99:82 weight 13 check inter 30s fall 3 cookie sample_member_id_1 server sample_member_id_2 10.0.0.98:82 weight 13 check inter 30s fall 3 cookie sample_member_id_2 ''' actual = '''\ # Configuration for test-lb global daemon user nobody group nogroup log /dev/log local0 log /dev/log local1 notice maxconn 98 stats socket /sock_path mode 0666 level user defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend sample_listener_id_1 option tcplog maxconn 98 bind 10.0.0.2:443 mode tcp default_backend sample_pool_id_1 backend sample_pool_id_1 mode tcp balance roundrobin cookie SRV insert indirect nocache timeout check 31s option httpchk GET /index.html http-check expect rstatus 500|404|405 option ssl-hello-chk server sample_member_id_1 10.0.0.99:82 weight 13 check inter 30s fall 3 cookie sample_member_id_1 server sample_member_id_2 10.0.0.98:82 weight 13 check inter 30s fall 3 cookie sample_member_id_2 ''' ** Affects: neutron Importance: Undecided Status: New ** Summary changed: - TestHaproxyCfg.test_render_template_https fails in Python 3.6 + lbaas: TestHaproxyCfg.test_render_template_https fails in Python 3.6 -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1750991 Title: lbaas: TestHaproxyCfg.test_render_template_https fails in Python 3.6 Status in neutron: New Bug description: FAIL: neutron_lbaas.tests.unit.drivers.haproxy.test_jinja_cfg.TestHaproxyCfg.test_render_template_https neutron_lbaas.tests.unit.drivers.haproxy.test_jinja_cfg.TestHaproxyCfg.test_render_template_https ---------------------------------------------------------------------- _StringException: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/neutron/tests/base.py", line 132, in func return f(self, *args, **kwargs) File "/home/zigo/sources/openstack/queens/services/neutron-lbaas/build-area/neutron-lbaas-12.0.0~rc1/neutron_lbaas/tests/unit/drivers/haproxy/test_jinja_cfg.py", line 183, in test_render_template_https frontend=fe, backend=be), rendered_obj) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '''\ # Configuration for test-lb global daemon user nobody group nogroup log /dev/log local0 log /dev/log local1 notice maxconn 98 stats socket /sock_path mode 0666 level user defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend sample_listener_id_1 option tcplog maxconn 98 bind 10.0.0.2:443 mode tcp default_backend sample_pool_id_1 backend sample_pool_id_1 mode tcp balance roundrobin cookie SRV insert indirect nocache timeout check 31s option httpchk GET /index.html http-check expect rstatus 500|405|404 option ssl-hello-chk server sample_member_id_1 10.0.0.99:82 weight 13 check inter 30s fall 3 cookie sample_member_id_1 server sample_member_id_2 10.0.0.98:82 weight 13 check inter 30s fall 3 cookie sample_member_id_2 ''' actual = '''\ # Configuration for test-lb global daemon user nobody group nogroup log /dev/log local0 log /dev/log local1 notice maxconn 98 stats socket /sock_path mode 0666 level user defaults log global retries 3 option redispatch timeout connect 5000 timeout client 50000 timeout server 50000 frontend sample_listener_id_1 option tcplog maxconn 98 bind 10.0.0.2:443 mode tcp default_backend sample_pool_id_1 backend sample_pool_id_1 mode tcp balance roundrobin cookie SRV insert indirect nocache timeout check 31s option httpchk GET /index.html http-check expect rstatus 500|404|405 option ssl-hello-chk server sample_member_id_1 10.0.0.99:82 weight 13 check inter 30s fall 3 cookie sample_member_id_1 server sample_member_id_2 10.0.0.98:82 weight 13 check inter 30s fall 3 cookie sample_member_id_2 ''' To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1750991/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp