Pull request #677 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce71274c74d254ccf2a9e55b902c93e797fc9851+35de5baf133cb3849b13998f5bd615ef0c638656 (e31ce6ef604e83e0f7cd0d4403a3e6f0b3d7df88) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12387288220082614906.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13825321741063176143.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-677/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-677/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9747612008638266888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10707989927472801666.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-677/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-677/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2302890147756703363.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-4975 in /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-677 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35de5baf133cb3849b13998f5bd615ef0c638656 into PR head commit ce71274c74d254ccf2a9e55b902c93e797fc9851 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/677/head:refs/remotes/origin/PR-677 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 44783c377c9c1d53a5125c444db379aa72c56d5f Checking out Revision 44783c377c9c1d53a5125c444db379aa72c56d5f (PR-677) > git checkout -f ce71274c74d254ccf2a9e55b902c93e797fc9851 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44783c377c9c1d53a5125c444db379aa72c56d5f # timeout=10 Commit message: "Merge commit '35de5baf133cb3849b13998f5bd615ef0c638656' into HEAD" > git rev-list --no-walk ce71274c74d254ccf2a9e55b902c93e797fc9851 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:03:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:03:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:03:42 ========================================================= 05:03:42 EdgeX Global Pipelines Version Info 05:03:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:03:43 ------------------- 05:03:43 stable info: 05:03:43 ------------------- 05:03:43 Commited By: Ginny Guan ginny@iotechsys.com 05:03:43 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 05:03:43 Message: update stable to v1.0.260 05:03:43 ------------------- 05:03:43 experimental info: 05:03:43 ------------------- 05:03:43 Commited By: Ginny Guan ginny@iotechsys.com 05:03:43 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 05:03:43 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:03:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-677 [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-677 [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-677 [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44783c377c9c1d53a5125c444db379aa72c56d5f [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44783c3 [Pipeline] echo 05:03:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:44 provisioning config files... 05:03:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config514723024196949565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:44 ---> ****-login.sh 05:03:44 nexus3.edgexfoundry.org:10001 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:46 Configure a credential helper to remove this warning. See 05:03:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:46 05:03:46 Login Succeeded 05:03:46 nexus3.edgexfoundry.org:10002 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:46 Configure a credential helper to remove this warning. See 05:03:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:46 05:03:46 Login Succeeded 05:03:46 nexus3.edgexfoundry.org:10003 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:46 Configure a credential helper to remove this warning. See 05:03:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:46 05:03:46 Login Succeeded 05:03:46 nexus3.edgexfoundry.org:10004 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:46 Configure a credential helper to remove this warning. See 05:03:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:46 05:03:46 Login Succeeded 05:03:46 ****.io 05:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:03:47 Configure a credential helper to remove this warning. See 05:03:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:03:47 05:03:47 Login Succeeded 05:03:47 ---> ****-login.sh ends [Pipeline] } 05:03:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:03:47 + git rev-list -1 --merges 44783c377c9c1d53a5125c444db379aa72c56d5f~1..44783c377c9c1d53a5125c444db379aa72c56d5f [Pipeline] echo 05:03:47 -----------> git rev-list -1 --merges 44783c377c9c1d53a5125c444db379aa72c56d5f~1..44783c377c9c1d53a5125c444db379aa72c56d5f 44783c377c9c1d53a5125c444db379aa72c56d5f 05:03:47 44783c377c9c1d53a5125c444db379aa72c56d5f [false] [Pipeline] sh 05:03:47 + git log --format=format:%s -1 44783c377c9c1d53a5125c444db379aa72c56d5f [Pipeline] echo 05:03:47 ========================================================= 05:03:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:03:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:03:48 + git log --format=format:%s -1 44783c377c9c1d53a5125c444db379aa72c56d5f [Pipeline] echo 05:03:48 [semverPrep] GIT_COMMIT: 44783c377c9c1d53a5125c444db379aa72c56d5f, Commit Message: Merge commit '35de5baf133cb3849b13998f5bd615ef0c638656' into HEAD [Pipeline] echo 05:03:48 [semverPrep] This is not a build commit. [Pipeline] sh 05:03:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:03:48 + grep -v github /etc/ssh/ssh_known_hosts 05:03:48 + [ -e /tmp/ssh_known_hosts ] 05:03:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:03:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:03:48 + sudo tee -a /etc/ssh/ssh_known_hosts 05:03:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:48 05:03:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:49 0.1.4: Pulling from edgex-devops/py-git-semver 05:03:49 b85a868b505f: Pulling fs layer 05:03:49 e2be974225ed: Pulling fs layer 05:03:49 339a4e72a1f5: Pulling fs layer 05:03:49 988bab9f4d93: Pulling fs layer 05:03:49 1469e6f7b9e6: Pulling fs layer 05:03:49 eaf3925da568: Pulling fs layer 05:03:49 bab4dde63d76: Pulling fs layer 05:03:49 bde34c3a00c8: Pulling fs layer 05:03:49 b352a97aabf1: Pulling fs layer 05:03:49 4872d77fe225: Pulling fs layer 05:03:49 5851b861e8e6: Pulling fs layer 05:03:49 bde34c3a00c8: Waiting 05:03:49 988bab9f4d93: Waiting 05:03:49 b352a97aabf1: Waiting 05:03:49 1469e6f7b9e6: Waiting 05:03:49 4872d77fe225: Waiting 05:03:49 eaf3925da568: Waiting 05:03:49 bab4dde63d76: Waiting 05:03:49 5851b861e8e6: Waiting 05:03:49 e2be974225ed: Verifying Checksum 05:03:49 e2be974225ed: Download complete 05:03:49 988bab9f4d93: Download complete 05:03:49 339a4e72a1f5: Verifying Checksum 05:03:49 339a4e72a1f5: Download complete 05:03:49 1469e6f7b9e6: Verifying Checksum 05:03:49 eaf3925da568: Verifying Checksum 05:03:49 eaf3925da568: Download complete 05:03:49 bde34c3a00c8: Verifying Checksum 05:03:49 b352a97aabf1: Verifying Checksum 05:03:49 b352a97aabf1: Download complete 05:03:49 4872d77fe225: Verifying Checksum 05:03:49 4872d77fe225: Download complete 05:03:49 5851b861e8e6: Download complete 05:03:49 b85a868b505f: Download complete 05:03:49 bab4dde63d76: Verifying Checksum 05:03:49 bab4dde63d76: Download complete 05:03:50 b85a868b505f: Pull complete 05:03:50 e2be974225ed: Pull complete 05:03:51 339a4e72a1f5: Pull complete 05:03:51 988bab9f4d93: Pull complete 05:03:51 1469e6f7b9e6: Pull complete 05:03:52 eaf3925da568: Pull complete 05:03:54 bab4dde63d76: Pull complete 05:03:54 bde34c3a00c8: Pull complete 05:03:54 b352a97aabf1: Pull complete 05:03:54 4872d77fe225: Pull complete 05:03:54 5851b861e8e6: Pull complete 05:03:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:03:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:55 prd-ubuntu20.04-docker-8c-8g-4975 does not seem to be running inside a container 05:03:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:03:58 $ docker top 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 -eo pid,comm 05:03:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:03:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:58 [ssh-agent] Looking for ssh-agent implementation... 05:03:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:58 $ docker exec 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 ssh-agent 05:03:58 SSH_AUTH_SOCK=/tmp/ssh-p7P7L89NrWYR/agent.32 05:03:58 SSH_AGENT_PID=38 05:03:58 Running ssh-add (command line suppressed) 05:03:58 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_776003690097552245.key (/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_776003690097552245.key) 05:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:03:59 + git tag --points-at HEAD [Pipeline] } 05:03:59 $ docker exec --env ******** --env ******** 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 ssh-agent -k 05:03:59 unset SSH_AUTH_SOCK; 05:03:59 unset SSH_AGENT_PID; 05:03:59 echo Agent pid 38 killed; 05:03:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:03:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:03:59 [ssh-agent] Looking for ssh-agent implementation... 05:03:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:03:59 $ docker exec 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 ssh-agent 05:03:59 SSH_AUTH_SOCK=/tmp/ssh-7sszxRmRXZEs/agent.71 05:03:59 SSH_AGENT_PID=78 05:03:59 Running ssh-add (command line suppressed) 05:03:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_5279070874473136167.key (/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/private_key_5279070874473136167.key) 05:03:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:00 + git semver init 05:04:00 2024-07-04 05:04:00,202 [run_init] DEBUG init version:0.0.0 force:False 05:04:00 2024-07-04 05:04:00,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver 05:04:00 2024-07-04 05:04:00,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver 05:04:00 2024-07-04 05:04:00,204 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677, universal_newlines=False, shell=None, istream=None) 05:04:01 2024-07-04 05:04:01,537 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.git/info/exclude 05:04:01 2024-07-04 05:04:01,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 with force:False 05:04:01 2024-07-04 05:04:01,537 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 05:04:01 2024-07-04 05:04:01,541 [execute] INFO git cat-file --batch-check 05:04:01 2024-07-04 05:04:01,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver, universal_newlines=False, shell=None, istream=) 05:04:01 2024-07-04 05:04:01,548 [execute] INFO git cat-file --batch 05:04:01 2024-07-04 05:04:01,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver, universal_newlines=False, shell=None, istream=) 05:04:01 2024-07-04 05:04:01,554 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-677/.semver/PR-677 05:04:01 0.0.0 [Pipeline] } 05:04:01 $ docker exec --env ******** --env ******** 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 ssh-agent -k 05:04:01 unset SSH_AUTH_SOCK; 05:04:01 unset SSH_AGENT_PID; 05:04:01 echo Agent pid 78 killed; 05:04:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:02 + git semver [Pipeline] } 05:04:02 $ docker stop --time=1 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 05:04:03 $ docker rm -f --volumes 28522b26e89c1c6961a1ef22fdc3880049beb921f050058dc99d593a160fd091 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:04 Stashed 1 file(s) [Pipeline] echo 05:04:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:04 provisioning config files... 05:04:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config2874243788760746739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:04 ---> ****-login.sh 05:04:04 nexus3.edgexfoundry.org:10001 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10002 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10003 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10004 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 ****.io 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 ---> ****-login.sh ends [Pipeline] } 05:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:04:05 ========================================================= 05:04:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:04:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:04:05 Sending build context to Docker daemon 21.06MB 05:04:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:04:05 Step 2/12 : FROM ${BASE} AS builder 05:04:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:05 619be1103602: Pulling fs layer 05:04:05 7862e08f4a3e: Pulling fs layer 05:04:05 5df492c9dc93: Pulling fs layer 05:04:05 7629e6793208: Pulling fs layer 05:04:05 4f4fb700ef54: Pulling fs layer 05:04:05 fb5054dd5b73: Pulling fs layer 05:04:05 eeca6798cff9: Pulling fs layer 05:04:05 aa269ceb94a6: Pulling fs layer 05:04:05 ada007ff1a6a: Pulling fs layer 05:04:05 7629e6793208: Waiting 05:04:05 4f4fb700ef54: Waiting 05:04:05 fb5054dd5b73: Waiting 05:04:05 ada007ff1a6a: Waiting 05:04:05 7862e08f4a3e: Verifying Checksum 05:04:05 7862e08f4a3e: Download complete 05:04:05 7629e6793208: Verifying Checksum 05:04:05 7629e6793208: Download complete 05:04:05 4f4fb700ef54: Download complete 05:04:05 619be1103602: Verifying Checksum 05:04:05 619be1103602: Download complete 05:04:05 fb5054dd5b73: Verifying Checksum 05:04:05 fb5054dd5b73: Download complete 05:04:05 eeca6798cff9: Verifying Checksum 05:04:05 eeca6798cff9: Download complete 05:04:05 619be1103602: Pull complete 05:04:06 ada007ff1a6a: Verifying Checksum 05:04:06 ada007ff1a6a: Download complete 05:04:06 7862e08f4a3e: Pull complete 05:04:06 5df492c9dc93: Verifying Checksum 05:04:06 5df492c9dc93: Download complete 05:04:06 aa269ceb94a6: Verifying Checksum 05:04:06 aa269ceb94a6: Download complete 05:04:10 5df492c9dc93: Pull complete 05:04:10 7629e6793208: Pull complete 05:04:10 4f4fb700ef54: Pull complete 05:04:10 fb5054dd5b73: Pull complete 05:04:10 eeca6798cff9: Pull complete 05:04:12 aa269ceb94a6: Pull complete 05:04:12 ada007ff1a6a: Pull complete 05:04:12 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:04:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:04:12 ---> f489d0715acc 05:04:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:04:17 ---> Running in 336b22b87ffb 05:04:17 Removing intermediate container 336b22b87ffb 05:04:17 ---> e77c1c6bb729 05:04:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:17 ---> Running in a5391faf153d 05:04:17 Removing intermediate container a5391faf153d 05:04:17 ---> f082b310f983 05:04:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:04:17 ---> Running in cb557ea205ca 05:04:17 Removing intermediate container cb557ea205ca 05:04:17 ---> 72e050ef696a 05:04:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:04:17 ---> Running in 1ea85fb75e4e 05:04:17 Removing intermediate container 1ea85fb75e4e 05:04:17 ---> 5868172c0582 05:04:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:17 ---> Running in 9cf21e5db477 05:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:04:17 (1/4) Installing openssh-keygen (9.3_p2-r2) 05:04:17 (2/4) Installing libedit (20221030.3.1-r1) 05:04:17 (3/4) Installing openssh-client-common (9.3_p2-r2) 05:04:17 (4/4) Installing openssh-client-default (9.3_p2-r2) 05:04:17 Executing busybox-1.36.1-r5.trigger 05:04:17 OK: 268 MiB in 56 packages 05:04:18 Removing intermediate container 9cf21e5db477 05:04:18 ---> 55b2685e354e 05:04:18 Step 8/12 : WORKDIR /device-mqtt-go 05:04:18 ---> Running in 0c939b5860cc 05:04:18 Removing intermediate container 0c939b5860cc 05:04:18 ---> 93474770d1a5 05:04:18 Step 9/12 : COPY go.mod vendor* ./ 05:04:18 ---> 99fbd88712a6 05:04:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:18 ---> Running in 00adfd715fdb 05:04:19 Still waiting to schedule task 05:04:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4984’ 05:05:04 Removing intermediate container 00adfd715fdb 05:05:04 ---> d9b8df6d2a58 05:05:04 Step 11/12 : COPY . . 05:05:04 ---> bf51ec8ad48a 05:05:04 Step 12/12 : RUN $MAKE 05:05:04 ---> Running in c89c407aee93 05:05:04 noop 05:05:04 Removing intermediate container c89c407aee93 05:05:04 ---> a1ecf83d144f 05:05:04 Successfully built a1ecf83d144f 05:05:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:05 + docker inspect -f . ci-base-image-x86_64 05:05:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:05 prd-ubuntu20.04-docker-8c-8g-4975 does not seem to be running inside a container 05:05:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:05 $ docker top e3739bf89cd00e01cd4888f6611640d2f81b62656e7ce42b1eab1d5477761e78 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:05 + go version 05:05:05 go version go1.21.9 linux/amd64 [Pipeline] } 05:05:05 $ docker stop --time=1 e3739bf89cd00e01cd4888f6611640d2f81b62656e7ce42b1eab1d5477761e78 05:05:07 $ docker rm -f --volumes e3739bf89cd00e01cd4888f6611640d2f81b62656e7ce42b1eab1d5477761e78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:07 + docker inspect -f . ci-base-image-x86_64 05:05:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:07 prd-ubuntu20.04-docker-8c-8g-4975 does not seem to be running inside a container 05:05:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:05:08 $ docker top 1513bf2afee248230346fee6975ce0fbb934f952593e37d5913750c4fc64f524 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] fileExists [Pipeline] sh 05:05:08 + make test 05:05:08 go test ./... -coverprofile=coverage.out ./... 05:05:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:05:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 05:05:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 05:05:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 05:05:40 go vet ./... 05:05:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:45 ./bin/test-attribution-txt.sh 05:05:45 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 05:05:45 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 05:05:45 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 05:05:45 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 05:05:45 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 05:05:45 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 05:05:45 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 05:05:45 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 05:05:45 An attribution for golang.org/x/term is missing from Attribution.txt, please add 05:05:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 05:05:45 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 05:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:05:45 $ docker stop --time=1 1513bf2afee248230346fee6975ce0fbb934f952593e37d5913750c4fc64f524 05:05:49 $ docker rm -f --volumes 1513bf2afee248230346fee6975ce0fbb934f952593e37d5913750c4fc64f524 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:50 + ls -al . 05:05:50 total 252 05:05:50 drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 05:05 . 05:05:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 05:03 .. 05:05:50 -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 05:03 .dockerignore 05:05:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 05:05 .git 05:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 .github 05:05:50 -rw-rw-r-- 1 jenkins jenkins 264 Jul 4 05:03 .gitignore 05:05:50 -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 05:03 .golangci.yml 05:05:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:04 .semver 05:05:50 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 4 05:03 Attribution.txt 05:05:50 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 4 05:03 CHANGELOG.md 05:05:50 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 4 05:03 Dockerfile 05:05:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 05:03 GOVERNANCE.md 05:05:50 -rw-rw-r-- 1 jenkins jenkins 657 Jul 4 05:03 Jenkinsfile 05:05:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 05:03 LICENSE 05:05:50 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 4 05:03 Makefile 05:05:50 -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 05:03 OWNERS.md 05:05:50 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 4 05:03 README.md 05:05:50 -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 05:04 VERSION 05:05:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:03 bin 05:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 cmd 05:05:50 -rw-r--r-- 1 jenkins jenkins 18506 Jul 4 05:05 coverage.out 05:05:50 -rw-rw-r-- 1 jenkins jenkins 7122 Jul 4 05:03 go.mod 05:05:50 -rw-rw-r-- 1 jenkins jenkins 101951 Jul 4 05:03 go.sum 05:05:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 05:03 internal 05:05:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 05:03 mock 05:05:50 -rw-rw-r-- 1 jenkins jenkins 227 Jul 4 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:51 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=44783c377c9c1d53a5125c444db379aa72c56d5f --label arch=amd64 --label version=0.0.0 . 05:05:51 Sending build context to Docker daemon 21.08MB 05:05:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 05:05:51 Step 2/25 : FROM ${BASE} AS builder 05:05:51 ---> a1ecf83d144f 05:05:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:05:51 ---> Running in 806206056f66 05:05:51 Removing intermediate container 806206056f66 05:05:51 ---> 9ec8a52bb4b8 05:05:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:05:51 ---> Running in 163f40e2dbb4 05:05:51 Removing intermediate container 163f40e2dbb4 05:05:51 ---> 0f4b1a37627a 05:05:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:05:51 ---> Running in 8f18e76b76d1 05:05:51 Removing intermediate container 8f18e76b76d1 05:05:51 ---> c19ed9507371 05:05:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:05:51 ---> Running in 4b9bd4615e0f 05:05:51 Removing intermediate container 4b9bd4615e0f 05:05:51 ---> 9950acd6090c 05:05:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:51 ---> Running in 0633bff2866f 05:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:05:52 OK: 268 MiB in 56 packages 05:05:52 Removing intermediate container 0633bff2866f 05:05:52 ---> b7c800fe550c 05:05:52 Step 8/25 : WORKDIR /device-mqtt-go 05:05:52 ---> Running in e90b911da415 05:05:52 Removing intermediate container e90b911da415 05:05:52 ---> e7db9bf9ea21 05:05:52 Step 9/25 : COPY go.mod vendor* ./ 05:05:52 ---> 2ef2a95ce7cc 05:05:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:52 ---> Running in 766d45ed9a4f 05:05:53 Removing intermediate container 766d45ed9a4f 05:05:53 ---> 3ee59ddc7888 05:05:53 Step 11/25 : COPY . . 05:05:54 ---> c9de751074ba 05:05:54 Step 12/25 : RUN $MAKE 05:05:54 ---> Running in 09be8f48553e 05:05:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 05:06:26 Removing intermediate container 09be8f48553e 05:06:26 ---> c19b0802eda8 05:06:26 Step 13/25 : FROM alpine:3.18 05:06:27 3.18: Pulling from library/alpine 05:06:27 73baa7ef167e: Pulling fs layer 05:06:27 73baa7ef167e: Verifying Checksum 05:06:27 73baa7ef167e: Download complete 05:06:27 73baa7ef167e: Pull complete 05:06:27 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 05:06:27 Status: Downloaded newer image for alpine:3.18 05:06:27 ---> 8fd7cac70a4a 05:06:27 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 05:06:27 ---> Running in edd989eb9efb 05:06:27 Removing intermediate container edd989eb9efb 05:06:27 ---> 08aba33f272c 05:06:27 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:06:27 ---> Running in f0fe84bad6ab 05:06:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:06:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:06:28 (1/1) Installing dumb-init (1.2.5-r2) 05:06:28 Executing busybox-1.36.1-r7.trigger 05:06:28 OK: 7 MiB in 16 packages 05:06:28 Removing intermediate container f0fe84bad6ab 05:06:28 ---> b25547034c2e 05:06:28 Step 16/25 : RUN apk --no-cache upgrade 05:06:28 ---> Running in 0436e73bb411 05:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:06:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:06:29 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 05:06:29 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 05:06:29 OK: 7 MiB in 16 packages 05:06:29 Removing intermediate container 0436e73bb411 05:06:29 ---> 27c8b33da06a 05:06:29 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:06:30 ---> b0633a36965c 05:06:30 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:06:31 ---> 2ca2155d35cd 05:06:31 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:06:31 ---> a50c48131ccb 05:06:31 Step 20/25 : EXPOSE 59982 05:06:31 ---> Running in fc7848d7c172 05:06:31 Removing intermediate container fc7848d7c172 05:06:31 ---> 8ca364a41612 05:06:31 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:06:31 ---> Running in 3c4213fe015c 05:06:31 Removing intermediate container 3c4213fe015c 05:06:31 ---> c347966816d3 05:06:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:06:31 ---> Running in 296b45d90498 05:06:31 Removing intermediate container 296b45d90498 05:06:31 ---> 38f0d6dfc7fb 05:06:31 Step 23/25 : LABEL arch=amd64 05:06:31 ---> Running in 16dd592825da 05:06:31 Removing intermediate container 16dd592825da 05:06:31 ---> 98a7948e9477 05:06:31 Step 24/25 : LABEL git_sha=44783c377c9c1d53a5125c444db379aa72c56d5f 05:06:31 ---> Running in 8b58bc5332a9 05:06:31 Removing intermediate container 8b58bc5332a9 05:06:31 ---> 9fba9c1a9216 05:06:31 Step 25/25 : LABEL version=0.0.0 05:06:31 ---> Running in 4a73e8886cc9 05:06:31 Removing intermediate container 4a73e8886cc9 05:06:31 ---> 8e2f215b8902 05:06:31 [Warning] One or more build-args [ARCH] were not consumed 05:06:31 Successfully built 8e2f215b8902 05:06:31 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:32 05:06:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:32 latest: Pulling from edgex-lftools-log-publisher 05:06:32 5eb5b503b376: Pulling fs layer 05:06:32 5c69ac0246d0: Pulling fs layer 05:06:32 ec43610c2a17: Pulling fs layer 05:06:32 3a2ae6a8a46f: Pulling fs layer 05:06:32 33b1e0a273af: Pulling fs layer 05:06:32 5d3b04190fa2: Pulling fs layer 05:06:32 2f39f015ded8: Pulling fs layer 05:06:32 33b1e0a273af: Waiting 05:06:32 2f39f015ded8: Waiting 05:06:32 5d3b04190fa2: Waiting 05:06:32 3a2ae6a8a46f: Waiting 05:06:32 5c69ac0246d0: Download complete 05:06:32 3a2ae6a8a46f: Verifying Checksum 05:06:32 3a2ae6a8a46f: Download complete 05:06:32 33b1e0a273af: Verifying Checksum 05:06:32 33b1e0a273af: Download complete 05:06:32 5d3b04190fa2: Download complete 05:06:32 ec43610c2a17: Verifying Checksum 05:06:32 ec43610c2a17: Download complete 05:06:32 5eb5b503b376: Verifying Checksum 05:06:32 5eb5b503b376: Download complete 05:06:33 2f39f015ded8: Verifying Checksum 05:06:33 2f39f015ded8: Download complete 05:06:34 5eb5b503b376: Pull complete 05:06:34 5c69ac0246d0: Pull complete 05:06:34 ec43610c2a17: Pull complete 05:06:34 3a2ae6a8a46f: Pull complete 05:06:35 33b1e0a273af: Pull complete 05:06:35 5d3b04190fa2: Pull complete 05:06:39 2f39f015ded8: Pull complete 05:06:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:06:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:06:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:06:39 prd-ubuntu20.04-docker-8c-8g-4975 does not seem to be running inside a container 05:06:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:06:42 $ docker top 2cd2311b479037e6be6e89edca03ba2d4a20a670189d0360e1c05f93015c4720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> job-cost.sh 05:06:43 lf-activate-venv: SKIPPING 05:06:43 INFO: No Stack... 05:06:43 INFO: Retrieving Pricing Info for: v3-standard-8 05:06:44 INFO: Archiving Costs [Pipeline] sh 05:06:44 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/cost.csv 05:06:44 + cut -d, -f6 [Pipeline] lock 05:06:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] 05:06:44 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] did not exist. Created. 05:06:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:06:44 + echo total: 0.6600000262260437 [Pipeline] stash 05:06:44 Stashed 1 file(s) [Pipeline] } 05:06:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:06:44 $ docker stop --time=1 2cd2311b479037e6be6e89edca03ba2d4a20a670189d0360e1c05f93015c4720 05:06:45 $ docker rm -f --volumes 2cd2311b479037e6be6e89edca03ba2d4a20a670189d0360e1c05f93015c4720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:07:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4991 in /w/workspace/gexfoundry_device-mqtt-go_PR-677 [Pipeline] { [Pipeline] ws 05:07:34 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:07:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:07:39 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:39 Dload Upload Total Spent Left Speed 05:07:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 05:07:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:07:40 + sudo tee /etc/docker/daemon.new 05:07:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:07:40 { 05:07:40 "registry-mirrors": [ 05:07:40 "https://nexus3.edgexfoundry.org:10001" 05:07:40 ], 05:07:40 "bip": "10.250.0.254/24", 05:07:40 "hosts": [ 05:07:40 "tcp://0.0.0.0:5555", 05:07:40 "unix:///var/run/docker.sock" 05:07:40 ], 05:07:40 "mtu": 1458, 05:07:40 "selinux-enabled": true, 05:07:40 "seccomp-profile": "/etc/docker/seccomp.json" 05:07:40 } [Pipeline] sh 05:07:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:07:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:00 provisioning config files... 05:08:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config8239030821346140284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:01 ---> ****-login.sh 05:08:01 nexus3.edgexfoundry.org:10001 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:02 Configure a credential helper to remove this warning. See 05:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:02 05:08:02 Login Succeeded 05:08:02 nexus3.edgexfoundry.org:10002 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:02 Configure a credential helper to remove this warning. See 05:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:02 05:08:02 Login Succeeded 05:08:02 nexus3.edgexfoundry.org:10003 05:08:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:02 Configure a credential helper to remove this warning. See 05:08:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:02 05:08:02 Login Succeeded 05:08:02 nexus3.edgexfoundry.org:10004 05:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:03 Configure a credential helper to remove this warning. See 05:08:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:03 05:08:03 Login Succeeded 05:08:03 ****.io 05:08:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:08:03 Configure a credential helper to remove this warning. See 05:08:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:08:03 05:08:03 Login Succeeded 05:08:03 ---> ****-login.sh ends [Pipeline] } 05:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:08:04 ========================================================= 05:08:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:08:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 05:08:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:08:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:08:05 c6b39de5b339: Pulling fs layer 05:08:05 a69c41024577: Pulling fs layer 05:08:05 d6de4b400683: Pulling fs layer 05:08:05 35cb2a7552d0: Pulling fs layer 05:08:05 4f4fb700ef54: Pulling fs layer 05:08:05 464afbd9ba4c: Pulling fs layer 05:08:05 00f215d4a9da: Pulling fs layer 05:08:05 d496ad576159: Pulling fs layer 05:08:05 35cb2a7552d0: Waiting 05:08:05 4f4fb700ef54: Waiting 05:08:05 464afbd9ba4c: Waiting 05:08:05 00f215d4a9da: Waiting 05:08:05 a69c41024577: Verifying Checksum 05:08:05 a69c41024577: Download complete 05:08:05 35cb2a7552d0: Verifying Checksum 05:08:05 35cb2a7552d0: Download complete 05:08:05 4f4fb700ef54: Verifying Checksum 05:08:05 4f4fb700ef54: Download complete 05:08:05 464afbd9ba4c: Verifying Checksum 05:08:05 464afbd9ba4c: Download complete 05:08:05 c6b39de5b339: Verifying Checksum 05:08:05 c6b39de5b339: Download complete 05:08:05 d496ad576159: Verifying Checksum 05:08:05 d496ad576159: Download complete 05:08:06 c6b39de5b339: Pull complete 05:08:06 a69c41024577: Pull complete 05:08:06 d6de4b400683: Verifying Checksum 05:08:06 d6de4b400683: Download complete 05:08:08 00f215d4a9da: Verifying Checksum 05:08:08 00f215d4a9da: Download complete 05:08:20 d6de4b400683: Pull complete 05:08:20 35cb2a7552d0: Pull complete 05:08:20 4f4fb700ef54: Pull complete 05:08:20 464afbd9ba4c: Pull complete 05:08:28 00f215d4a9da: Pull complete 05:08:30 d496ad576159: Pull complete 05:08:30 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:08:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 05:08:30 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:31 + docker inspect -f . ci-base-image-arm64 05:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:31 prd-ubuntu20.04-docker-arm64-4c-16g-4991 does not seem to be running inside a container 05:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:34 $ docker top d7c8ba48e472da51af493f4e3a4b033a48e79ad7e96537fcb693c3a4441a7b71 -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:35 + go version 05:08:35 go version go1.21.9 linux/arm64 [Pipeline] } 05:08:35 $ docker stop --time=1 d7c8ba48e472da51af493f4e3a4b033a48e79ad7e96537fcb693c3a4441a7b71 05:08:37 $ docker rm -f --volumes d7c8ba48e472da51af493f4e3a4b033a48e79ad7e96537fcb693c3a4441a7b71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:37 + docker inspect -f . ci-base-image-arm64 05:08:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:08:38 prd-ubuntu20.04-docker-arm64-4c-16g-4991 does not seem to be running inside a container 05:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:08:39 $ docker top 7e4a8de5bf5d03488e6f8f97899b5ef4ee808a8d99dafba16f87aadef2440c9f -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 05:08:41 + make test 05:08:41 make: *** No rule to make target 'test'. Stop. [Pipeline] } 05:08:41 $ docker stop --time=1 7e4a8de5bf5d03488e6f8f97899b5ef4ee808a8d99dafba16f87aadef2440c9f 05:08:42 $ docker rm -f --volumes 7e4a8de5bf5d03488e6f8f97899b5ef4ee808a8d99dafba16f87aadef2440c9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:43 05:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:08:43 arm64: Pulling from edgex-lftools-log-publisher 05:08:43 8998bd30e6a1: Pulling fs layer 05:08:43 04944245beec: Pulling fs layer 05:08:43 699f458cf7ca: Pulling fs layer 05:08:43 765212b225bb: Pulling fs layer 05:08:43 f23df028b6ca: Pulling fs layer 05:08:43 d65c8cfc05b1: Pulling fs layer 05:08:43 2437ff75d9bd: Pulling fs layer 05:08:43 765212b225bb: Waiting 05:08:43 f23df028b6ca: Waiting 05:08:43 d65c8cfc05b1: Waiting 05:08:43 2437ff75d9bd: Waiting 05:08:44 04944245beec: Verifying Checksum 05:08:44 04944245beec: Download complete 05:08:44 765212b225bb: Verifying Checksum 05:08:44 765212b225bb: Download complete 05:08:44 f23df028b6ca: Verifying Checksum 05:08:44 f23df028b6ca: Download complete 05:08:44 d65c8cfc05b1: Verifying Checksum 05:08:44 d65c8cfc05b1: Download complete 05:08:44 699f458cf7ca: Verifying Checksum 05:08:44 699f458cf7ca: Download complete 05:08:45 8998bd30e6a1: Verifying Checksum 05:08:45 8998bd30e6a1: Download complete 05:08:47 2437ff75d9bd: Verifying Checksum 05:08:47 2437ff75d9bd: Download complete 05:08:49 8998bd30e6a1: Pull complete 05:08:50 04944245beec: Pull complete 05:08:51 699f458cf7ca: Pull complete 05:08:51 765212b225bb: Pull complete 05:08:52 f23df028b6ca: Pull complete 05:08:53 d65c8cfc05b1: Pull complete 05:09:11 2437ff75d9bd: Pull complete 05:09:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:09:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:11 prd-ubuntu20.04-docker-arm64-4c-16g-4991 does not seem to be running inside a container 05:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:09:14 $ docker top 5142a9952e80f9c354afe237dadf20bc02ef4d8ef5e80dd5621cd4a4caad19d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:15 ---> job-cost.sh 05:09:15 lf-activate-venv: SKIPPING 05:09:15 INFO: No Stack... 05:09:15 INFO: Retrieving Pricing Info for: v3-standard-4 05:09:16 INFO: Archiving Costs [Pipeline] sh 05:09:17 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 05:09:17 + cut -d, -f6 [Pipeline] lock 05:09:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] 05:09:17 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] did not exist. Created. 05:09:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:09:17 /w/workspace/device-mqtt-go/2@tmp/durable-e31155f8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:09:18 + echo total: 0.10999999940395355 [Pipeline] stash 05:09:18 Warning: overwriting stash ‘stack-cost’ 05:09:19 Stashed 1 file(s) [Pipeline] } 05:09:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-677-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:09:19 $ docker stop --time=1 5142a9952e80f9c354afe237dadf20bc02ef4d8ef5e80dd5621cd4a4caad19d6 05:09:20 $ docker rm -f --volumes 5142a9952e80f9c354afe237dadf20bc02ef4d8ef5e80dd5621cd4a4caad19d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:09:21 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:09:22 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives ] 05:09:22 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 05:09:22 total 16 05:09:22 drwxr-xr-x 3 root root 4096 Jul 4 05:06 . 05:09:22 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:06 .. 05:09:22 drwxr-xr-x 2 root root 4096 Jul 4 05:06 cost 05:09:22 -rw-r--r-- 1 root root 88 Jul 4 05:06 cost.csv 05:09:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 05:09:22 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives 05:09:22 total 16 05:09:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 05:06 . 05:09:22 drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 05:06 .. 05:09:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 05:06 cost 05:09:22 -rw-r--r-- 1 jenkins jenkins 88 Jul 4 05:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:09:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:09:23 ---> package-listing.sh 05:09:23 ++ facter osfamily 05:09:23 ++ tr '[:upper:]' '[:lower:]' 05:09:23 + OS_FAMILY=debian 05:09:23 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-677 05:09:23 + START_PACKAGES=/tmp/packages_start.txt 05:09:23 + END_PACKAGES=/tmp/packages_end.txt 05:09:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:09:23 + PACKAGES=/tmp/packages_start.txt 05:09:23 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-677 ']' 05:09:23 + PACKAGES=/tmp/packages_end.txt 05:09:23 + case "${OS_FAMILY}" in 05:09:23 + dpkg -l 05:09:23 + grep '^ii' 05:09:23 + '[' -f /tmp/packages_start.txt ']' 05:09:23 + '[' -f /tmp/packages_end.txt ']' 05:09:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:09:23 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-677 ']' 05:09:23 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/ 05:09:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-677/archives/ [Pipeline] echo 05:09:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-677/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:09:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:09:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:24 prd-ubuntu20.04-docker-8c-8g-4975 does not seem to be running inside a container 05:09:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-677/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-677 -v /w/workspace/gexfoundry_device-mqtt-go_PR-677:/w/workspace/gexfoundry_device-mqtt-go_PR-677:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:09:24 $ docker top ee73db361786cb4aad43356788ef94be66fd64d1ee537c63f495bd9c97b3659f -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:09:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:09:25 + ls /var/log/sa-host 05:09:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:25 provisioning config files... 05:09:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-677@tmp/config6657316421700541883tmp [Pipeline] { [Pipeline] echo 05:09:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:09:26 ---> create-netrc.sh [Pipeline] } 05:09:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:09:26 ---> python-tools-install.sh [Pipeline] echo 05:09:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:09:26 ---> sudo-logs.sh 05:09:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:09:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:09:27 ---> job-cost.sh 05:09:27 lf-activate-venv: SKIPPING 05:09:27 DEBUG: total: 0.6600000262260437 05:09:27 INFO: Retrieving Stack Cost... 05:09:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:09:27 INFO: Archiving Costs [Pipeline] echo 05:09:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:09:27 ---> logs-deploy.sh 05:09:27 lf-activate-venv: SKIPPING 05:09:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-677/2 05:09:27 INFO: archiving workspace using pattern(s): 05:09:28 Archives upload complete. 05:09:28 INFO: archiving logs to Nexus