formater: Avoid code duplication for formatSource

1 job for !45 with formaterCleanup in 60 minutes (queued for 59 minutes and 2 seconds)
latest detached
Status Job ID Name Coverage
  Build
failed #15515
linux kf5-qt5 qt5.12

01:00:00

 
Name Stage Failure
failed
linux kf5-qt5 qt5.12 Build The script exceeded the maximum execution time set for the job
kf5.kinit.klauncher: KLauncher: launching new slave "/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so" with protocol= "file" args= ("file", "local:/tmp/runtime-kdeci/klauncherNEQTJH.1.slave-socket", "local:/tmp/runtime-kdeci/test_ctestfindsuiteswDSOcs.1.slave-socket")
kf5.kinit.klauncher: Asking kdeinit to start "/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so" ("file", "local:/tmp/runtime-kdeci/klauncherNEQTJH.1.slave-socket", "local:/tmp/runtime-kdeci/test_ctestfindsuiteswDSOcs.1.slave-socket") cmd= EXEC_NEW
kdeinit5: Got EXEC_NEW '/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so'
kf5.kinit.klauncher: "/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so" (pid 26070) up and running.
kf5.kinit.klauncher: removing done request "/home/jenkins/install-prefix/lib64/plugins/kf5/kio/file.so" PID 26070
org.kde.kcrash: Could not find drkonqi in search paths: ("/home/jenkins/install-prefix/bin", "/usr/lib64/qt5/libexec", "/home/jenkins/install-prefix/lib64/libexec")
Pulling docker image gitlab/gitlab-runner-helper:x86_64-ac2a293c ...
ERROR: Job failed: execution took longer than 1h0m0s seconds