Page MenuHomeVyOS Platform

Smoketest exclude either sstp or openconnect from pki-misc default listen port
Closed, ResolvedPublicBUG

Description

Exclude either sstp or openconnect defaul listen port 443 from smoketest pki-misc
As both services can't start due, they try to bind the same port

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202208220217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to In progress.Aug 25 2022, 7:13 AM
Viacheslav claimed this task.
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.

Before fix:

06:04:21  DEBUG - FAIL: test_pki_misc (__main__.TestConfigPkiMisc)
06:04:21  DEBUG - ----------------------------------------------------------------------
06:04:21  DEBUG - Traceback (most recent call last):
06:04:21  DEBUG -   File "/usr/bin/vyos-configtest", line 50, in test_config_load
06:04:21  DEBUG -     self.session.commit()
06:04:21  DEBUG - vyos.configsession.ConfigSessionError: [[service https]] failed
06:04:21  DEBUG - Commit failed
06:04:21  DEBUG - 
06:04:21  DEBUG - 
06:04:21  DEBUG - During handling of the above exception, another exception occurred:
06:04:21  DEBUG - 
06:04:21  DEBUG - Traceback (most recent call last):
06:04:21  DEBUG -   File "/usr/bin/vyos-configtest", line 53, in test_config_load
06:04:21  DEBUG -     self.fail()
06:04:21  DEBUG - AssertionError: None

After fix:

vyos@r14:~$ /usr/bin/vyos-configtest
Generating tests
... completed: 0.000608
test_pki_misc (__main__.TestConfigPkiMisc) ...  time: 16.943
ok

----------------------------------------------------------------------
Ran 1 test in 16.952s

OK
vyos@r14:~$