misc cleanup and refactor

3 jobs for devel in 1 minute and 24 seconds (queued for 6 seconds)
Name Stage Failure
run_functional_test Functional Test
Uploading artifacts for failed job
Uploading artifacts...
WARNING: functional-test-memory-report.xml: no matching files
timestamp.log: found 1 matching files and directories

Trying to load /builds/iopsys/map-topology.tmp/CI_SERVER_TLS_CA_FILE ...
Dialing: tcp dev.iopsys.eu:443 ...
Uploading artifacts as "archive" to coordinator... ok
id=102313 responseStatus=201 Created token=TSaQFdx7
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1