Pull request #354 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 911c04381f0c199884a51156653d77c167c4116f+a7b844beee09313a8b0584ee433be2eeca10ef2f (138aaa3dd2a2f79c675c450ee8b9b0d8c49de32b) 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-ssh2421157779894798813.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8385568522106215777.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/edgex-global-pipelines # timeout=10 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-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14893672606254562426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4215667782447297721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh10702437705664001310.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/lf-pipelines # timeout=10 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-354/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh559836946475135646.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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, buildSnap:false] ========================================================= [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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10579’ Running on prd-ubuntu20.04-docker-8c-8g-10601 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-354 # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 911c04381f0c199884a51156653d77c167c4116f Merge succeeded, producing 911c04381f0c199884a51156653d77c167c4116f Checking out Revision 911c04381f0c199884a51156653d77c167c4116f (PR-354) > 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/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # 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 a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T01:25:55.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T01:25:55.447Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T01:25:55.552Z] ========================================================= [2022-04-04T01:25:55.552Z] EdgeX Global Pipelines Version Info [2022-04-04T01:25:55.552Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:25:56.374Z] ------------------- [2022-04-04T01:25:56.375Z] stable info: [2022-04-04T01:25:56.375Z] ------------------- [2022-04-04T01:25:56.375Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T01:25:56.375Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T01:25:56.375Z] Message: update stable to v1.0.221 [2022-04-04T01:25:56.945Z] ------------------- [2022-04-04T01:25:56.945Z] experimental info: [2022-04-04T01:25:56.945Z] ------------------- [2022-04-04T01:25:56.945Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T01:25:56.945Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T01:25:56.945Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T01:25:57.200Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-04T01:25:57.240Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-04T01:25:57.284Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T01:25:57.322Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T01:25:57.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T01:25:57.408Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T01:25:57.449Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T01:25:57.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T01:25:57.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T01:25:57.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T01:25:57.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T01:25:57.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-04T01:25:57.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T01:25:57.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T01:25:57.759Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T01:25:57.793Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T01:25:57.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T01:25:57.884Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T01:25:57.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T01:25:57.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T01:25:58.016Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T01:25:58.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T01:25:58.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T01:25:58.152Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T01:25:58.195Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T01:25:58.242Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T01:25:58.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo [2022-04-04T01:25:58.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo [2022-04-04T01:25:58.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo [2022-04-04T01:25:58.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo [2022-04-04T01:25:58.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 911c043 [Pipeline] echo [2022-04-04T01:25:58.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T01:25:58.600Z] provisioning config files... [2022-04-04T01:25:58.615Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config6290950374907418312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:25:59.046Z] ---> docker-login.sh [2022-04-04T01:25:59.046Z] nexus3.edgexfoundry.org:10001 [2022-04-04T01:25:59.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:25:59.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:25:59.311Z] Configure a credential helper to remove this warning. See [2022-04-04T01:25:59.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:25:59.311Z] [2022-04-04T01:25:59.311Z] Login Succeeded [2022-04-04T01:25:59.311Z] nexus3.edgexfoundry.org:10002 [2022-04-04T01:25:59.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:25:59.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:25:59.571Z] Configure a credential helper to remove this warning. See [2022-04-04T01:25:59.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:25:59.571Z] [2022-04-04T01:25:59.571Z] Login Succeeded [2022-04-04T01:25:59.571Z] nexus3.edgexfoundry.org:10003 [2022-04-04T01:25:59.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:25:59.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:25:59.571Z] Configure a credential helper to remove this warning. See [2022-04-04T01:25:59.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:25:59.571Z] [2022-04-04T01:25:59.571Z] Login Succeeded [2022-04-04T01:25:59.571Z] nexus3.edgexfoundry.org:10004 [2022-04-04T01:25:59.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:25:59.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:25:59.833Z] Configure a credential helper to remove this warning. See [2022-04-04T01:25:59.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:25:59.833Z] [2022-04-04T01:25:59.833Z] Login Succeeded [2022-04-04T01:25:59.833Z] docker.io [2022-04-04T01:25:59.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:00.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:00.409Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:00.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:00.409Z] [2022-04-04T01:26:00.409Z] Login Succeeded [2022-04-04T01:26:00.409Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T01:26:00.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T01:26:01.070Z] + git rev-list -1 --merges 911c04381f0c199884a51156653d77c167c4116f~1..911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo [2022-04-04T01:26:01.121Z] -----------> git rev-list -1 --merges 911c04381f0c199884a51156653d77c167c4116f~1..911c04381f0c199884a51156653d77c167c4116f 911c04381f0c199884a51156653d77c167c4116f [false] [Pipeline] sh [2022-04-04T01:26:01.445Z] + git log --format=format:%s -1 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo [2022-04-04T01:26:01.482Z] ========================================================= [2022-04-04T01:26:01.482Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T01:26:01.482Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T01:26:01.942Z] + git log --format=format:%s -1 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo [2022-04-04T01:26:01.977Z] [semverPrep] GIT_COMMIT: 911c04381f0c199884a51156653d77c167c4116f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-04T01:26:02.009Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T01:26:02.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T01:26:02.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T01:26:02.488Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T01:26:02.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T01:26:02.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T01:26:02.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T01:26:02.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:26:02.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T01:26:02.962Z] [2022-04-04T01:26:02.962Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:26:03.313Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T01:26:03.314Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T01:26:03.314Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T01:26:03.314Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T01:26:03.314Z] 4c7163046ea9: Pulling fs layer [2022-04-04T01:26:03.314Z] 0c2d73faf560: Pulling fs layer [2022-04-04T01:26:03.314Z] 0c2d73faf560: Waiting [2022-04-04T01:26:03.314Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T01:26:03.314Z] 3e5f54012d9b: Download complete [2022-04-04T01:26:03.314Z] a0d0a0d46f8b: Verifying Checksum [2022-04-04T01:26:03.314Z] a0d0a0d46f8b: Download complete [2022-04-04T01:26:03.314Z] 0c2d73faf560: Verifying Checksum [2022-04-04T01:26:03.314Z] 0c2d73faf560: Download complete [2022-04-04T01:26:03.314Z] 4c7163046ea9: Download complete [2022-04-04T01:26:03.575Z] a0d0a0d46f8b: Pull complete [2022-04-04T01:26:03.575Z] 3e5f54012d9b: Pull complete [2022-04-04T01:26:04.151Z] 4c7163046ea9: Pull complete [2022-04-04T01:26:04.151Z] 0c2d73faf560: Pull complete [2022-04-04T01:26:04.151Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T01:26:04.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T01:26:04.151Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T01:26:04.250Z] prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container [2022-04-04T01:26:04.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T01:26:05.022Z] $ docker top 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T01:26:05.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T01:26:05.210Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T01:26:05.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T01:26:05.364Z] $ docker exec 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent [2022-04-04T01:26:05.492Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNdnNFN/agent.14 [2022-04-04T01:26:05.492Z] SSH_AGENT_PID=20 [2022-04-04T01:26:05.501Z] Running ssh-add (command line suppressed) [2022-04-04T01:26:05.650Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_6101788555653015862.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_6101788555653015862.key) [2022-04-04T01:26:05.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T01:26:05.991Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T01:26:06.021Z] $ docker exec --env ******** --env ******** 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent -k [2022-04-04T01:26:06.136Z] unset SSH_AUTH_SOCK; [2022-04-04T01:26:06.137Z] unset SSH_AGENT_PID; [2022-04-04T01:26:06.137Z] echo Agent pid 20 killed; [2022-04-04T01:26:06.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T01:26:06.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T01:26:06.228Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T01:26:06.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T01:26:06.391Z] $ docker exec 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent [2022-04-04T01:26:06.508Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAEnFlH/agent.52 [2022-04-04T01:26:06.508Z] SSH_AGENT_PID=58 [2022-04-04T01:26:06.512Z] Running ssh-add (command line suppressed) [2022-04-04T01:26:06.639Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_1428395718050450004.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_1428395718050450004.key) [2022-04-04T01:26:06.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T01:26:06.979Z] + git semver init [2022-04-04T01:26:06.979Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T01:26:06.979Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.git [2022-04-04T01:26:06.979Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-04T01:26:06.979Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T01:26:06.979Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T01:26:06.979Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T01:26:06.979Z] # $SEMVER_BRANCH = PR-354 [2022-04-04T01:26:06.979Z] # $SEMVER_TEMP = /tmp/semver-543650215 [2022-04-04T01:26:06.979Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-04T01:26:07.923Z] # '/tmp/semver-543650215' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver' [2022-04-04T01:26:07.923Z] # -> Force: false [2022-04-04T01:26:07.923Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver [Pipeline] } [2022-04-04T01:26:07.955Z] $ docker exec --env ******** --env ******** 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent -k [2022-04-04T01:26:08.065Z] unset SSH_AUTH_SOCK; [2022-04-04T01:26:08.065Z] unset SSH_AGENT_PID; [2022-04-04T01:26:08.065Z] echo Agent pid 58 killed; [2022-04-04T01:26:08.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T01:26:08.510Z] + git semver [Pipeline] } [2022-04-04T01:26:08.550Z] $ docker stop --time=1 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 [2022-04-04T01:26:09.953Z] $ docker rm -f 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T01:26:10.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T01:26:10.699Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T01:26:10.719Z] [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 [2022-04-04T01:26:11.321Z] provisioning config files... [2022-04-04T01:26:11.331Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config2435878737676483102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:26:11.693Z] ---> docker-login.sh [2022-04-04T01:26:11.693Z] nexus3.edgexfoundry.org:10001 [2022-04-04T01:26:11.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:11.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:11.693Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:11.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:11.693Z] [2022-04-04T01:26:11.693Z] Login Succeeded [2022-04-04T01:26:11.693Z] nexus3.edgexfoundry.org:10002 [2022-04-04T01:26:11.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:11.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:11.953Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:11.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:11.953Z] [2022-04-04T01:26:11.953Z] Login Succeeded [2022-04-04T01:26:11.953Z] nexus3.edgexfoundry.org:10003 [2022-04-04T01:26:11.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:11.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:11.953Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:11.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:11.953Z] [2022-04-04T01:26:11.953Z] Login Succeeded [2022-04-04T01:26:11.953Z] nexus3.edgexfoundry.org:10004 [2022-04-04T01:26:12.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:12.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:12.213Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:12.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:12.213Z] [2022-04-04T01:26:12.213Z] Login Succeeded [2022-04-04T01:26:12.213Z] docker.io [2022-04-04T01:26:12.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:26:12.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:26:12.471Z] Configure a credential helper to remove this warning. See [2022-04-04T01:26:12.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:26:12.471Z] [2022-04-04T01:26:12.471Z] Login Succeeded [2022-04-04T01:26:12.471Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T01:26:12.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T01:26:12.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T01:26:12.707Z] ========================================================= [2022-04-04T01:26:12.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T01:26:12.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:26:13.115Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T01:26:13.115Z] Sending build context to Docker daemon 5.791MB [2022-04-04T01:26:13.115Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T01:26:13.115Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T01:26:13.115Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T01:26:13.115Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T01:26:13.115Z] 666ba61612fd: Pulling fs layer [2022-04-04T01:26:13.115Z] 8ed8ca486205: Pulling fs layer [2022-04-04T01:26:13.115Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T01:26:13.115Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T01:26:13.115Z] 640e595b4fbd: Pulling fs layer [2022-04-04T01:26:13.115Z] 763cafe07f6e: Pulling fs layer [2022-04-04T01:26:13.115Z] 0c0b528cf693: Pulling fs layer [2022-04-04T01:26:13.115Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T01:26:13.115Z] 4fe6c5a15a65: Waiting [2022-04-04T01:26:13.115Z] 22a0e8bec74d: Waiting [2022-04-04T01:26:13.115Z] 763cafe07f6e: Waiting [2022-04-04T01:26:13.115Z] 0c0b528cf693: Waiting [2022-04-04T01:26:13.115Z] 640e595b4fbd: Waiting [2022-04-04T01:26:13.115Z] 10935f4eaf8b: Waiting [2022-04-04T01:26:13.115Z] 8ed8ca486205: Verifying Checksum [2022-04-04T01:26:13.115Z] 8ed8ca486205: Download complete [2022-04-04T01:26:13.115Z] 666ba61612fd: Download complete [2022-04-04T01:26:13.377Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T01:26:13.377Z] 22a0e8bec74d: Download complete [2022-04-04T01:26:13.377Z] 640e595b4fbd: Verifying Checksum [2022-04-04T01:26:13.377Z] 640e595b4fbd: Download complete [2022-04-04T01:26:13.377Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T01:26:13.377Z] 59bf1c3509f3: Download complete [2022-04-04T01:26:13.377Z] 763cafe07f6e: Download complete [2022-04-04T01:26:13.377Z] 0c0b528cf693: Verifying Checksum [2022-04-04T01:26:13.377Z] 0c0b528cf693: Download complete [2022-04-04T01:26:13.377Z] 59bf1c3509f3: Pull complete [2022-04-04T01:26:13.636Z] 666ba61612fd: Pull complete [2022-04-04T01:26:13.636Z] 8ed8ca486205: Pull complete [2022-04-04T01:26:13.894Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T01:26:13.894Z] 10935f4eaf8b: Download complete [2022-04-04T01:26:14.154Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T01:26:14.154Z] 4fe6c5a15a65: Download complete [2022-04-04T01:26:18.352Z] 4fe6c5a15a65: Pull complete [2022-04-04T01:26:18.352Z] 22a0e8bec74d: Pull complete [2022-04-04T01:26:18.352Z] 640e595b4fbd: Pull complete [2022-04-04T01:26:18.352Z] 763cafe07f6e: Pull complete [2022-04-04T01:26:18.613Z] 0c0b528cf693: Pull complete [2022-04-04T01:26:21.153Z] 10935f4eaf8b: Pull complete [2022-04-04T01:26:21.153Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T01:26:21.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T01:26:21.153Z] ---> 99d49a6021b9 [2022-04-04T01:26:21.153Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T01:26:23.071Z] ---> Running in a69981a3bc38 [2022-04-04T01:26:23.071Z] Removing intermediate container a69981a3bc38 [2022-04-04T01:26:23.071Z] ---> 058f964d7549 [2022-04-04T01:26:23.071Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T01:26:23.071Z] ---> Running in 0baacae6f9a5 [2022-04-04T01:26:23.071Z] Removing intermediate container 0baacae6f9a5 [2022-04-04T01:26:23.071Z] ---> dfde6ef59195 [2022-04-04T01:26:23.071Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T01:26:23.071Z] ---> Running in 813945638ad2 [2022-04-04T01:26:23.642Z] Removing intermediate container 813945638ad2 [2022-04-04T01:26:23.642Z] ---> 541998cc320d [2022-04-04T01:26:23.642Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T01:26:23.642Z] ---> Running in 6ed4425b54a9 [2022-04-04T01:26:24.216Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T01:26:25.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T01:26:25.424Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T01:26:25.424Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T01:26:25.424Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T01:26:25.684Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T01:26:25.684Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T01:26:25.684Z] OK: 224 MiB in 56 packages [2022-04-04T01:26:26.128Z] Still waiting to schedule task [2022-04-04T01:26:26.128Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10597’ [2022-04-04T01:26:26.254Z] Removing intermediate container 6ed4425b54a9 [2022-04-04T01:26:26.254Z] ---> 1e8288d6f5f4 [2022-04-04T01:26:26.254Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-04T01:26:26.254Z] ---> Running in 7cd9f456b097 [2022-04-04T01:26:26.254Z] Removing intermediate container 7cd9f456b097 [2022-04-04T01:26:26.254Z] ---> 319e056be073 [2022-04-04T01:26:26.254Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T01:26:26.514Z] ---> 2cfdddc70cac [2022-04-04T01:26:26.514Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T01:26:26.514Z] ---> Running in 2fbe0bbef1ae [2022-04-04T01:26:53.155Z] Removing intermediate container 2fbe0bbef1ae [2022-04-04T01:26:53.155Z] ---> d6385739fb5b [2022-04-04T01:26:53.155Z] Step 10/12 : COPY . . [2022-04-04T01:26:53.418Z] ---> f9e2ac990d65 [2022-04-04T01:26:53.418Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T01:26:53.418Z] ---> Running in 7ce7ed8e13b3 [2022-04-04T01:26:53.418Z] Removing intermediate container 7ce7ed8e13b3 [2022-04-04T01:26:53.418Z] ---> 55254b929110 [2022-04-04T01:26:53.418Z] Step 12/12 : RUN $MAKE [2022-04-04T01:26:53.418Z] ---> Running in e8d4f97ad430 [2022-04-04T01:26:53.678Z] noop [2022-04-04T01:26:53.941Z] Removing intermediate container e8d4f97ad430 [2022-04-04T01:26:53.941Z] ---> b2354949b544 [2022-04-04T01:26:53.941Z] Successfully built b2354949b544 [2022-04-04T01:26:53.941Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:26:54.283Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T01:26:54.283Z] . [Pipeline] withDockerContainer [2022-04-04T01:26:54.378Z] prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container [2022-04-04T01:26:54.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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 ******** ci-base-image-x86_64 cat [2022-04-04T01:26:54.820Z] $ docker top 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T01:26:55.242Z] + go version [2022-04-04T01:26:55.242Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T01:26:55.322Z] $ docker stop --time=1 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd [2022-04-04T01:26:56.623Z] $ docker rm -f 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:26:57.325Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T01:26:57.326Z] . [Pipeline] withDockerContainer [2022-04-04T01:26:57.422Z] prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container [2022-04-04T01:26:57.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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 ******** ci-base-image-x86_64 cat [2022-04-04T01:26:57.852Z] $ docker top 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T01:26:58.287Z] + make test [2022-04-04T01:26:58.287Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T01:26:58.549Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-04T01:27:05.156Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-04T01:27:05.416Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.5% of statements [2022-04-04T01:27:05.416Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-04T01:27:05.416Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T01:27:08.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T01:27:08.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T01:27:08.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T01:27:09.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T01:27:09.033Z] $ docker stop --time=1 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 [2022-04-04T01:27:10.653Z] $ docker rm -f 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T01:27:11.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T01:27:11.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T01:27:12.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T01:27:12.625Z] + ls -al . [2022-04-04T01:27:12.625Z] total 184 [2022-04-04T01:27:12.625Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 01:27 . [2022-04-04T01:27:12.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:25 .. [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 01:25 .dockerignore [2022-04-04T01:27:12.625Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 01:25 .git [2022-04-04T01:27:12.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 .github [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 01:25 .gitignore [2022-04-04T01:27:12.625Z] drwx------ 3 jenkins jenkins 4096 Apr 4 01:26 .semver [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 01:25 Attribution.txt [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 01:25 CHANGELOG.md [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 01:25 Dockerfile [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 01:25 GOVERNANCE.md [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 01:25 Jenkinsfile [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 01:25 LICENSE [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 4 01:25 Makefile [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 01:25 OWNERS.md [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 01:25 README.md [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 01:26 VERSION [2022-04-04T01:27:12.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:25 bin [2022-04-04T01:27:12.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 cmd [2022-04-04T01:27:12.625Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 4 01:27 coverage.out [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 01:25 go.mod [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 01:25 go.sum [2022-04-04T01:27:12.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 internal [2022-04-04T01:27:12.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:25 mock [2022-04-04T01:27:12.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:25 snap [2022-04-04T01:27:12.625Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 01:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:27:12.960Z] + 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=911c04381f0c199884a51156653d77c167c4116f --label arch=amd64 --label version=0.0.0 . [2022-04-04T01:27:12.960Z] Sending build context to Docker daemon 5.809MB [2022-04-04T01:27:12.960Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T01:27:12.960Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T01:27:12.960Z] ---> b2354949b544 [2022-04-04T01:27:12.960Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T01:27:12.960Z] ---> Running in 2f2f564ac686 [2022-04-04T01:27:13.219Z] Removing intermediate container 2f2f564ac686 [2022-04-04T01:27:13.219Z] ---> c3adb51c33d5 [2022-04-04T01:27:13.219Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T01:27:13.219Z] ---> Running in dfdc4f6e667a [2022-04-04T01:27:13.219Z] Removing intermediate container dfdc4f6e667a [2022-04-04T01:27:13.219Z] ---> 5fbdd972b96f [2022-04-04T01:27:13.219Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T01:27:13.219Z] ---> Running in 0de7221ed483 [2022-04-04T01:27:13.786Z] Removing intermediate container 0de7221ed483 [2022-04-04T01:27:13.786Z] ---> 3c2df073d1d4 [2022-04-04T01:27:13.786Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T01:27:14.054Z] ---> Running in 8595d2ded495 [2022-04-04T01:27:14.314Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T01:27:14.886Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T01:27:15.458Z] OK: 224 MiB in 56 packages [2022-04-04T01:27:15.725Z] Removing intermediate container 8595d2ded495 [2022-04-04T01:27:15.725Z] ---> 8ca9c6ca964b [2022-04-04T01:27:15.725Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-04T01:27:15.725Z] ---> Running in e0cd1b6303b7 [2022-04-04T01:27:15.725Z] Removing intermediate container e0cd1b6303b7 [2022-04-04T01:27:15.725Z] ---> e9c5c0a30301 [2022-04-04T01:27:15.725Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-04T01:27:15.986Z] ---> 81111c22b5d1 [2022-04-04T01:27:15.986Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T01:27:15.986Z] ---> Running in 2d2987423b1b [2022-04-04T01:27:16.557Z] Removing intermediate container 2d2987423b1b [2022-04-04T01:27:16.557Z] ---> 0adaac17ac16 [2022-04-04T01:27:16.557Z] Step 10/24 : COPY . . [2022-04-04T01:27:16.817Z] ---> 64c215ab55ec [2022-04-04T01:27:16.817Z] Step 11/24 : ARG MAKE='make build' [2022-04-04T01:27:16.817Z] ---> Running in ff9718eb6be9 [2022-04-04T01:27:17.077Z] Removing intermediate container ff9718eb6be9 [2022-04-04T01:27:17.077Z] ---> bb991dadf674 [2022-04-04T01:27:17.077Z] Step 12/24 : RUN $MAKE [2022-04-04T01:27:17.077Z] ---> Running in 46a127aca1c6 [2022-04-04T01:27:17.337Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-04T01:27:25.473Z] Removing intermediate container 46a127aca1c6 [2022-04-04T01:27:25.473Z] ---> b5f11e056450 [2022-04-04T01:27:25.473Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T01:27:25.473Z] 3.14: Pulling from library/alpine [2022-04-04T01:27:25.473Z] cfab2db72209: Pulling fs layer [2022-04-04T01:27:25.473Z] cfab2db72209: Verifying Checksum [2022-04-04T01:27:25.473Z] cfab2db72209: Download complete [2022-04-04T01:27:25.473Z] cfab2db72209: Pull complete [2022-04-04T01:27:25.473Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T01:27:25.473Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T01:27:25.473Z] ---> 84b07dd2d1fd [2022-04-04T01:27:25.473Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-04T01:27:25.473Z] ---> Running in bb84a3b01f2c [2022-04-04T01:27:25.733Z] Removing intermediate container bb84a3b01f2c [2022-04-04T01:27:25.733Z] ---> 79e33b12e232 [2022-04-04T01:27:25.733Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T01:27:25.733Z] ---> Running in 3993a83fc07f [2022-04-04T01:27:25.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-04T01:27:26.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-04T01:27:26.254Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T01:27:26.254Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T01:27:26.254Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T01:27:26.254Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T01:27:26.530Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T01:27:26.530Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T01:27:26.530Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T01:27:26.530Z] OK: 8 MiB in 20 packages [2022-04-04T01:27:26.790Z] Removing intermediate container 3993a83fc07f [2022-04-04T01:27:26.790Z] ---> 1956ee335642 [2022-04-04T01:27:26.790Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-04T01:27:27.050Z] ---> e3f883d80697 [2022-04-04T01:27:27.050Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-04T01:27:27.309Z] ---> c49254953856 [2022-04-04T01:27:27.309Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-04T01:27:27.309Z] ---> 5d2ba0bfc28c [2022-04-04T01:27:27.309Z] Step 19/24 : EXPOSE 59982 [2022-04-04T01:27:27.309Z] ---> Running in bbccd5203d2f [2022-04-04T01:27:27.570Z] Removing intermediate container bbccd5203d2f [2022-04-04T01:27:27.570Z] ---> 11f5bfd37265 [2022-04-04T01:27:27.570Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-04T01:27:27.570Z] ---> Running in 971d44878892 [2022-04-04T01:27:27.570Z] Removing intermediate container 971d44878892 [2022-04-04T01:27:27.570Z] ---> c838c975cece [2022-04-04T01:27:27.570Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T01:27:27.570Z] ---> Running in 377e10190ac2 [2022-04-04T01:27:27.831Z] Removing intermediate container 377e10190ac2 [2022-04-04T01:27:27.831Z] ---> 2ae59d2964e9 [2022-04-04T01:27:27.831Z] Step 22/24 : LABEL arch=amd64 [2022-04-04T01:27:27.831Z] ---> Running in 348ccfcc371e [2022-04-04T01:27:27.831Z] Removing intermediate container 348ccfcc371e [2022-04-04T01:27:27.831Z] ---> 088d05f5b1a3 [2022-04-04T01:27:27.831Z] Step 23/24 : LABEL git_sha=911c04381f0c199884a51156653d77c167c4116f [2022-04-04T01:27:27.831Z] ---> Running in 0f3a5ccd14f5 [2022-04-04T01:27:28.093Z] Removing intermediate container 0f3a5ccd14f5 [2022-04-04T01:27:28.093Z] ---> 15923868f3e9 [2022-04-04T01:27:28.093Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T01:27:28.093Z] ---> Running in ae354348cae6 [2022-04-04T01:27:28.093Z] Removing intermediate container ae354348cae6 [2022-04-04T01:27:28.093Z] ---> c10fe539e1b4 [2022-04-04T01:27:28.093Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T01:27:28.093Z] Successfully built c10fe539e1b4 [2022-04-04T01:27:28.093Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:27:28.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T01:27:28.843Z] [2022-04-04T01:27:28.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:27:29.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T01:27:29.182Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T01:27:29.182Z] 5eb5b503b376: Pulling fs layer [2022-04-04T01:27:29.182Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T01:27:29.182Z] ec43610c2a17: Pulling fs layer [2022-04-04T01:27:29.182Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T01:27:29.183Z] 33b1e0a273af: Pulling fs layer [2022-04-04T01:27:29.183Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T01:27:29.183Z] 2f39f015ded8: Pulling fs layer [2022-04-04T01:27:29.183Z] 3a2ae6a8a46f: Waiting [2022-04-04T01:27:29.183Z] 33b1e0a273af: Waiting [2022-04-04T01:27:29.183Z] 5d3b04190fa2: Waiting [2022-04-04T01:27:29.183Z] 2f39f015ded8: Waiting [2022-04-04T01:27:29.183Z] 5c69ac0246d0: Verifying Checksum [2022-04-04T01:27:29.183Z] 5c69ac0246d0: Download complete [2022-04-04T01:27:29.183Z] 3a2ae6a8a46f: Download complete [2022-04-04T01:27:29.183Z] ec43610c2a17: Download complete [2022-04-04T01:27:29.183Z] 33b1e0a273af: Verifying Checksum [2022-04-04T01:27:29.183Z] 33b1e0a273af: Download complete [2022-04-04T01:27:29.183Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T01:27:29.183Z] 5d3b04190fa2: Download complete [2022-04-04T01:27:29.442Z] 5eb5b503b376: Verifying Checksum [2022-04-04T01:27:29.442Z] 5eb5b503b376: Download complete [2022-04-04T01:27:30.011Z] 2f39f015ded8: Download complete [2022-04-04T01:27:30.580Z] 5eb5b503b376: Pull complete [2022-04-04T01:27:30.840Z] 5c69ac0246d0: Pull complete [2022-04-04T01:27:31.408Z] ec43610c2a17: Pull complete [2022-04-04T01:27:31.408Z] 3a2ae6a8a46f: Pull complete [2022-04-04T01:27:31.667Z] 33b1e0a273af: Pull complete [2022-04-04T01:27:31.667Z] 5d3b04190fa2: Pull complete [2022-04-04T01:27:35.860Z] 2f39f015ded8: Pull complete [2022-04-04T01:27:35.860Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T01:27:35.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T01:27:35.860Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T01:27:35.944Z] prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container [2022-04-04T01:27:35.983Z] $ 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-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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-lftools-log-publisher:latest cat [2022-04-04T01:27:37.471Z] $ docker top 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:27:37.924Z] ---> job-cost.sh [2022-04-04T01:27:37.924Z] lf-activate-venv: SKIPPING [2022-04-04T01:27:37.924Z] INFO: No Stack... [2022-04-04T01:27:38.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T01:27:38.757Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T01:27:39.088Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/cost.csv [2022-04-04T01:27:39.089Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T01:27:39.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [2022-04-04T01:27:39.132Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] did not exist. Created. [2022-04-04T01:27:39.132Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T01:27:39.514Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T01:27:39.565Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T01:27:39.589Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T01:27:39.661Z] $ docker stop --time=1 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 [2022-04-04T01:27:40.839Z] $ docker rm -f 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T01:28:43.128Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10606 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [Pipeline] { [Pipeline] ws [2022-04-04T01:28:43.170Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T01:28:43.540Z] Selected Git installation does not exist. Using Default [2022-04-04T01:28:43.540Z] The recommended git tool is: NONE [2022-04-04T01:28:52.000Z] using credential edgex-jenkins-ssh [2022-04-04T01:28:52.025Z] Cloning the remote Git repository [2022-04-04T01:28:52.110Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T01:28:52.252Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-04-04T01:28:52.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T01:28:52.415Z] > git --version # timeout=10 [2022-04-04T01:28:52.480Z] > git --version # 'git version 2.25.1' [2022-04-04T01:28:52.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T01:28:52.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T01:28:54.865Z] Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 911c04381f0c199884a51156653d77c167c4116f [2022-04-04T01:28:55.129Z] Merge succeeded, producing 911c04381f0c199884a51156653d77c167c4116f [2022-04-04T01:28:55.130Z] Checking out Revision 911c04381f0c199884a51156653d77c167c4116f (PR-354) [2022-04-04T01:28:54.183Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-04T01:28:54.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T01:28:54.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-04T01:28:54.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-04T01:28:54.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T01:28:54.303Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T01:28:54.890Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T01:28:54.911Z] > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 [2022-04-04T01:28:55.009Z] > git remote # timeout=10 [2022-04-04T01:28:55.033Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T01:28:55.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T01:28:55.069Z] > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 [2022-04-04T01:28:55.102Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T01:28:55.144Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T01:28:55.173Z] > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 [2022-04-04T01:28:59.918Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-04-04T01:28:59.993Z] > git --version # timeout=10 [2022-04-04T01:29:00.005Z] > git --version # 'git version 2.25.1' [2022-04-04T01:29:00.020Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T01:29:01.121Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T01:29:01.121Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T01:29:01.121Z] Dload Upload Total Spent Left Speed [2022-04-04T01:29:01.121Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh [2022-04-04T01:29:01.717Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T01:29:02.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-04-04T01:29:02.083Z] sudo tee /etc/docker/daemon.new [2022-04-04T01:29:02.083Z] { [2022-04-04T01:29:02.083Z] "registry-mirrors": [ [2022-04-04T01:29:02.083Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T01:29:02.083Z] ], [2022-04-04T01:29:02.083Z] "bip": "10.250.0.254/24", [2022-04-04T01:29:02.083Z] "hosts": [ [2022-04-04T01:29:02.083Z] "tcp://0.0.0.0:5555", [2022-04-04T01:29:02.083Z] "unix:///var/run/docker.sock" [2022-04-04T01:29:02.083Z] ], [2022-04-04T01:29:02.083Z] "mtu": 1458, [2022-04-04T01:29:02.083Z] "selinux-enabled": true, [2022-04-04T01:29:02.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T01:29:02.083Z] } [Pipeline] sh [2022-04-04T01:29:02.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T01:29:02.858Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T01:29:21.282Z] provisioning config files... [2022-04-04T01:29:21.313Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config389800882230362580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:29:21.733Z] ---> docker-login.sh [2022-04-04T01:29:21.733Z] nexus3.edgexfoundry.org:10001 [2022-04-04T01:29:22.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:29:22.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:29:22.618Z] Configure a credential helper to remove this warning. See [2022-04-04T01:29:22.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:29:22.618Z] [2022-04-04T01:29:22.618Z] Login Succeeded [2022-04-04T01:29:22.618Z] nexus3.edgexfoundry.org:10002 [2022-04-04T01:29:23.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:29:23.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:29:23.226Z] Configure a credential helper to remove this warning. See [2022-04-04T01:29:23.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:29:23.226Z] [2022-04-04T01:29:23.226Z] Login Succeeded [2022-04-04T01:29:23.226Z] nexus3.edgexfoundry.org:10003 [2022-04-04T01:29:23.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:29:23.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:29:23.791Z] Configure a credential helper to remove this warning. See [2022-04-04T01:29:23.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:29:23.791Z] [2022-04-04T01:29:23.791Z] Login Succeeded [2022-04-04T01:29:23.791Z] nexus3.edgexfoundry.org:10004 [2022-04-04T01:29:24.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:29:24.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:29:24.341Z] Configure a credential helper to remove this warning. See [2022-04-04T01:29:24.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:29:24.341Z] [2022-04-04T01:29:24.341Z] Login Succeeded [2022-04-04T01:29:24.341Z] docker.io [2022-04-04T01:29:24.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T01:29:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T01:29:25.217Z] Configure a credential helper to remove this warning. See [2022-04-04T01:29:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T01:29:25.217Z] [2022-04-04T01:29:25.217Z] Login Succeeded [2022-04-04T01:29:25.217Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T01:29:25.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T01:29:26.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T01:29:26.054Z] ========================================================= [2022-04-04T01:29:26.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T01:29:26.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:29:26.535Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T01:29:26.809Z] Sending build context to Docker daemon 3.018MB [2022-04-04T01:29:26.809Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T01:29:26.809Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T01:29:27.084Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T01:29:27.084Z] 9b3977197b4f: Pulling fs layer [2022-04-04T01:29:27.084Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T01:29:27.084Z] 94645a83ff95: Pulling fs layer [2022-04-04T01:29:27.084Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T01:29:27.084Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T01:29:27.084Z] f7c0051592d6: Pulling fs layer [2022-04-04T01:29:27.084Z] a227ed2f7395: Pulling fs layer [2022-04-04T01:29:27.084Z] 7b1c46037f91: Pulling fs layer [2022-04-04T01:29:27.084Z] 0c92f367c5e7: Waiting [2022-04-04T01:29:27.084Z] 3f3a8bcf1eab: Waiting [2022-04-04T01:29:27.084Z] 7b1c46037f91: Waiting [2022-04-04T01:29:27.084Z] f7c0051592d6: Waiting [2022-04-04T01:29:27.084Z] a227ed2f7395: Waiting [2022-04-04T01:29:27.084Z] 94645a83ff95: Verifying Checksum [2022-04-04T01:29:27.084Z] 94645a83ff95: Download complete [2022-04-04T01:29:27.084Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T01:29:27.084Z] 1a89e8eeedd5: Download complete [2022-04-04T01:29:27.084Z] 0c92f367c5e7: Download complete [2022-04-04T01:29:27.084Z] f7c0051592d6: Verifying Checksum [2022-04-04T01:29:27.084Z] f7c0051592d6: Download complete [2022-04-04T01:29:27.371Z] 9b3977197b4f: Download complete [2022-04-04T01:29:27.371Z] a227ed2f7395: Verifying Checksum [2022-04-04T01:29:27.371Z] a227ed2f7395: Download complete [2022-04-04T01:29:27.977Z] 9b3977197b4f: Pull complete [2022-04-04T01:29:28.587Z] 1a89e8eeedd5: Pull complete [2022-04-04T01:29:29.191Z] 94645a83ff95: Pull complete [2022-04-04T01:29:29.466Z] 7b1c46037f91: Verifying Checksum [2022-04-04T01:29:29.466Z] 7b1c46037f91: Download complete [2022-04-04T01:29:30.069Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T01:29:30.069Z] 3f3a8bcf1eab: Download complete [2022-04-04T01:29:42.506Z] 3f3a8bcf1eab: Pull complete [2022-04-04T01:29:42.782Z] 0c92f367c5e7: Pull complete [2022-04-04T01:29:43.059Z] f7c0051592d6: Pull complete [2022-04-04T01:29:43.335Z] a227ed2f7395: Pull complete [2022-04-04T01:29:50.075Z] 7b1c46037f91: Pull complete [2022-04-04T01:29:50.075Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T01:29:50.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T01:29:50.075Z] ---> f79e39bc4007 [2022-04-04T01:29:50.075Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T01:29:51.512Z] ---> Running in b0a80bc29725 [2022-04-04T01:29:51.512Z] Removing intermediate container b0a80bc29725 [2022-04-04T01:29:51.512Z] ---> 77347bb42165 [2022-04-04T01:29:51.512Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T01:29:51.785Z] ---> Running in b893ee00bc4f [2022-04-04T01:29:52.069Z] Removing intermediate container b893ee00bc4f [2022-04-04T01:29:52.069Z] ---> 9202d753af17 [2022-04-04T01:29:52.069Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T01:29:52.069Z] ---> Running in b483c4c3f82e [2022-04-04T01:29:54.060Z] Removing intermediate container b483c4c3f82e [2022-04-04T01:29:54.060Z] ---> b781a5881361 [2022-04-04T01:29:54.060Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T01:29:54.060Z] ---> Running in 0857c4e06912 [2022-04-04T01:29:55.043Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T01:29:56.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T01:29:57.014Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T01:29:57.014Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T01:29:57.014Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T01:29:57.288Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T01:29:57.288Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T01:29:57.571Z] OK: 224 MiB in 56 packages [2022-04-04T01:29:58.558Z] Removing intermediate container 0857c4e06912 [2022-04-04T01:29:58.558Z] ---> 74e91c74e15a [2022-04-04T01:29:58.558Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-04T01:29:58.558Z] ---> Running in ebff888c369a [2022-04-04T01:29:58.835Z] Removing intermediate container ebff888c369a [2022-04-04T01:29:58.835Z] ---> 5b00431ad754 [2022-04-04T01:29:58.835Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-04T01:29:59.438Z] ---> f51ee0ea7772 [2022-04-04T01:29:59.439Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T01:29:59.439Z] ---> Running in bec8430642d1 [2022-04-04T01:31:21.285Z] Removing intermediate container bec8430642d1 [2022-04-04T01:31:21.285Z] ---> 8f90ff772305 [2022-04-04T01:31:21.285Z] Step 10/12 : COPY . . [2022-04-04T01:31:21.285Z] ---> 0473122e10fa [2022-04-04T01:31:21.285Z] Step 11/12 : ARG MAKE='make build' [2022-04-04T01:31:21.285Z] ---> Running in 5472b448417f [2022-04-04T01:31:21.285Z] Removing intermediate container 5472b448417f [2022-04-04T01:31:21.285Z] ---> dc5a711cd486 [2022-04-04T01:31:21.285Z] Step 12/12 : RUN $MAKE [2022-04-04T01:31:21.560Z] ---> Running in 1db78d22d128 [2022-04-04T01:31:22.549Z] noop [2022-04-04T01:31:23.148Z] Removing intermediate container 1db78d22d128 [2022-04-04T01:31:23.148Z] ---> 349ae8caae27 [2022-04-04T01:31:23.422Z] Successfully built 349ae8caae27 [2022-04-04T01:31:23.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:31:24.059Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T01:31:24.059Z] . [Pipeline] withDockerContainer [2022-04-04T01:31:24.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container [2022-04-04T01:31:24.422Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-04-04T01:31:25.897Z] $ docker top 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T01:31:26.902Z] + go version [2022-04-04T01:31:26.903Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T01:31:26.941Z] $ docker stop --time=1 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f [2022-04-04T01:31:28.627Z] $ docker rm -f 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:31:29.567Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T01:31:29.568Z] . [Pipeline] withDockerContainer [2022-04-04T01:31:29.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container [2022-04-04T01:31:29.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-04-04T01:31:31.324Z] $ docker top 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T01:31:32.364Z] + make test [2022-04-04T01:31:32.364Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-04T01:31:33.807Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-04T01:32:30.465Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-04T01:32:30.465Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements [2022-04-04T01:32:30.465Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-04T01:32:30.465Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T01:32:57.287Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T01:32:57.287Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T01:32:57.287Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T01:32:57.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T01:32:57.368Z] $ docker stop --time=1 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 [2022-04-04T01:32:59.105Z] $ docker rm -f 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T01:33:00.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T01:33:00.052Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T01:33:00.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T01:33:01.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T01:33:01.574Z] + ls -al . [2022-04-04T01:33:01.574Z] total 180 [2022-04-04T01:33:01.574Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 01:32 . [2022-04-04T01:33:01.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:28 .. [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 01:28 .dockerignore [2022-04-04T01:33:01.574Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 01:28 .git [2022-04-04T01:33:01.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 .github [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 01:28 .gitignore [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 01:28 Attribution.txt [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 01:28 CHANGELOG.md [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 01:28 Dockerfile [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 01:28 GOVERNANCE.md [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 01:28 Jenkinsfile [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 01:28 LICENSE [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 1030 Apr 4 01:28 Makefile [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 01:28 OWNERS.md [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 01:28 README.md [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 01:26 VERSION [2022-04-04T01:33:01.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:28 bin [2022-04-04T01:33:01.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 cmd [2022-04-04T01:33:01.574Z] -rw-r--r-- 1 jenkins jenkins 17452 Apr 4 01:32 coverage.out [2022-04-04T01:33:01.574Z] -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 01:28 go.mod [2022-04-04T01:33:01.575Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 01:28 go.sum [2022-04-04T01:33:01.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 internal [2022-04-04T01:33:01.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:28 mock [2022-04-04T01:33:01.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:28 snap [2022-04-04T01:33:01.575Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 01:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:33:01.945Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=911c04381f0c199884a51156653d77c167c4116f --label arch=arm64 --label version=0.0.0 . [2022-04-04T01:33:02.230Z] Sending build context to Docker daemon 3.037MB [2022-04-04T01:33:02.230Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T01:33:02.230Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-04T01:33:02.230Z] ---> 349ae8caae27 [2022-04-04T01:33:02.230Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T01:33:02.503Z] ---> Running in e215b0b70737 [2022-04-04T01:33:02.776Z] Removing intermediate container e215b0b70737 [2022-04-04T01:33:02.776Z] ---> 414933dc0649 [2022-04-04T01:33:02.776Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T01:33:02.776Z] ---> Running in 3801e8a6a9e2 [2022-04-04T01:33:03.375Z] Removing intermediate container 3801e8a6a9e2 [2022-04-04T01:33:03.375Z] ---> f3bf9b54ce1b [2022-04-04T01:33:03.375Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T01:33:03.375Z] ---> Running in ad04d2933c36 [2022-04-04T01:33:05.361Z] Removing intermediate container ad04d2933c36 [2022-04-04T01:33:05.361Z] ---> 53fd3d5cf05f [2022-04-04T01:33:05.361Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T01:33:05.361Z] ---> Running in cdcb75940869 [2022-04-04T01:33:06.349Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T01:33:07.339Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T01:33:08.325Z] OK: 224 MiB in 56 packages [2022-04-04T01:33:08.928Z] Removing intermediate container cdcb75940869 [2022-04-04T01:33:08.928Z] ---> c650a38c7ce7 [2022-04-04T01:33:08.928Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-04T01:33:09.207Z] ---> Running in 0023735b55d2 [2022-04-04T01:33:09.483Z] Removing intermediate container 0023735b55d2 [2022-04-04T01:33:09.483Z] ---> 66667dea19e2 [2022-04-04T01:33:09.483Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-04T01:33:10.089Z] ---> 99ea7f0eb19c [2022-04-04T01:33:10.089Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T01:33:10.089Z] ---> Running in 04556b3e6ccf [2022-04-04T01:33:12.727Z] Removing intermediate container 04556b3e6ccf [2022-04-04T01:33:12.727Z] ---> da8c6aed1e53 [2022-04-04T01:33:12.727Z] Step 10/24 : COPY . . [2022-04-04T01:33:13.326Z] ---> 1ccbf7d2d045 [2022-04-04T01:33:13.326Z] Step 11/24 : ARG MAKE='make build' [2022-04-04T01:33:13.326Z] ---> Running in ce4f0d44b6ab [2022-04-04T01:33:13.927Z] Removing intermediate container ce4f0d44b6ab [2022-04-04T01:33:13.927Z] ---> f2fc6e2d7b41 [2022-04-04T01:33:13.927Z] Step 12/24 : RUN $MAKE [2022-04-04T01:33:13.927Z] ---> Running in ff5d5f9029f0 [2022-04-04T01:33:15.377Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-04T01:34:02.422Z] Removing intermediate container ff5d5f9029f0 [2022-04-04T01:34:02.422Z] ---> 4a85670eaa1a [2022-04-04T01:34:02.422Z] Step 13/24 : FROM alpine:3.14 [2022-04-04T01:34:02.422Z] 3.14: Pulling from library/alpine [2022-04-04T01:34:02.422Z] 810d54c7e01b: Pulling fs layer [2022-04-04T01:34:02.422Z] 810d54c7e01b: Verifying Checksum [2022-04-04T01:34:02.422Z] 810d54c7e01b: Download complete [2022-04-04T01:34:02.697Z] 810d54c7e01b: Pull complete [2022-04-04T01:34:08.111Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T01:34:08.111Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T01:34:08.111Z] ---> cc3d11fa2d52 [2022-04-04T01:34:08.111Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-04T01:34:08.111Z] ---> Running in 0403ffe2229d [2022-04-04T01:34:08.387Z] Removing intermediate container 0403ffe2229d [2022-04-04T01:34:08.387Z] ---> 609d33bbfa1a [2022-04-04T01:34:08.387Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T01:34:08.676Z] ---> Running in d10ad27474c2 [2022-04-04T01:34:09.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-04T01:34:09.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-04T01:34:10.943Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T01:34:10.943Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T01:34:10.943Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T01:34:10.943Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T01:34:10.943Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T01:34:10.943Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T01:34:10.943Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T01:34:10.943Z] OK: 8 MiB in 20 packages [2022-04-04T01:34:11.936Z] Removing intermediate container d10ad27474c2 [2022-04-04T01:34:11.936Z] ---> 3bb19fa2f892 [2022-04-04T01:34:11.936Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-04T01:34:12.930Z] ---> 9984ee86742d [2022-04-04T01:34:12.930Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-04T01:34:13.540Z] ---> 1452d69deb79 [2022-04-04T01:34:13.540Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-04T01:34:14.155Z] ---> 8eb6cb3abcb4 [2022-04-04T01:34:14.155Z] Step 19/24 : EXPOSE 59982 [2022-04-04T01:34:14.433Z] ---> Running in 64c0d72d10a7 [2022-04-04T01:34:14.708Z] Removing intermediate container 64c0d72d10a7 [2022-04-04T01:34:14.708Z] ---> e7a370e86329 [2022-04-04T01:34:14.708Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-04T01:34:14.708Z] ---> Running in 409d740b7662 [2022-04-04T01:34:14.990Z] Removing intermediate container 409d740b7662 [2022-04-04T01:34:14.990Z] ---> f98000e543ec [2022-04-04T01:34:14.990Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-04T01:34:15.267Z] ---> Running in a4ccd7081eea [2022-04-04T01:34:15.542Z] Removing intermediate container a4ccd7081eea [2022-04-04T01:34:15.542Z] ---> 2d50f229c311 [2022-04-04T01:34:15.542Z] Step 22/24 : LABEL arch=arm64 [2022-04-04T01:34:15.542Z] ---> Running in 5d221ddbfa13 [2022-04-04T01:34:16.143Z] Removing intermediate container 5d221ddbfa13 [2022-04-04T01:34:16.143Z] ---> 3055d3e9e15a [2022-04-04T01:34:16.143Z] Step 23/24 : LABEL git_sha=911c04381f0c199884a51156653d77c167c4116f [2022-04-04T01:34:16.143Z] ---> Running in 5ad1e906935c [2022-04-04T01:34:16.420Z] Removing intermediate container 5ad1e906935c [2022-04-04T01:34:16.420Z] ---> ccf873a895fa [2022-04-04T01:34:16.420Z] Step 24/24 : LABEL version=0.0.0 [2022-04-04T01:34:16.420Z] ---> Running in d46bc680a8ad [2022-04-04T01:34:16.695Z] Removing intermediate container d46bc680a8ad [2022-04-04T01:34:16.695Z] ---> 9656e6c6029c [2022-04-04T01:34:16.695Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T01:34:16.695Z] Successfully built 9656e6c6029c [2022-04-04T01:34:16.970Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:34:17.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T01:34:17.714Z] [2022-04-04T01:34:17.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:34:18.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T01:34:18.399Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T01:34:18.399Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T01:34:18.399Z] 04944245beec: Pulling fs layer [2022-04-04T01:34:18.399Z] 699f458cf7ca: Pulling fs layer [2022-04-04T01:34:18.399Z] 765212b225bb: Pulling fs layer [2022-04-04T01:34:18.399Z] f23df028b6ca: Pulling fs layer [2022-04-04T01:34:18.399Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T01:34:18.399Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T01:34:18.399Z] 765212b225bb: Waiting [2022-04-04T01:34:18.399Z] f23df028b6ca: Waiting [2022-04-04T01:34:18.399Z] d65c8cfc05b1: Waiting [2022-04-04T01:34:18.399Z] 2437ff75d9bd: Waiting [2022-04-04T01:34:18.399Z] 04944245beec: Verifying Checksum [2022-04-04T01:34:18.399Z] 04944245beec: Download complete [2022-04-04T01:34:18.399Z] 765212b225bb: Verifying Checksum [2022-04-04T01:34:18.399Z] 765212b225bb: Download complete [2022-04-04T01:34:18.399Z] f23df028b6ca: Verifying Checksum [2022-04-04T01:34:18.399Z] f23df028b6ca: Download complete [2022-04-04T01:34:18.399Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T01:34:18.399Z] d65c8cfc05b1: Download complete [2022-04-04T01:34:18.679Z] 699f458cf7ca: Verifying Checksum [2022-04-04T01:34:18.679Z] 699f458cf7ca: Download complete [2022-04-04T01:34:18.956Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T01:34:18.956Z] 8998bd30e6a1: Download complete [2022-04-04T01:34:21.611Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T01:34:21.611Z] 2437ff75d9bd: Download complete [2022-04-04T01:34:23.600Z] 8998bd30e6a1: Pull complete [2022-04-04T01:34:24.201Z] 04944245beec: Pull complete [2022-04-04T01:34:25.643Z] 699f458cf7ca: Pull complete [2022-04-04T01:34:25.921Z] 765212b225bb: Pull complete [2022-04-04T01:34:26.909Z] f23df028b6ca: Pull complete [2022-04-04T01:34:27.190Z] d65c8cfc05b1: Pull complete [2022-04-04T01:34:42.299Z] 2437ff75d9bd: Pull complete [2022-04-04T01:34:42.299Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T01:34:42.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T01:34:42.299Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T01:34:42.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container [2022-04-04T01:34:42.630Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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-lftools-log-publisher:arm64 cat [2022-04-04T01:34:45.233Z] $ docker top de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:34:46.249Z] ---> job-cost.sh [2022-04-04T01:34:46.249Z] lf-activate-venv: SKIPPING [2022-04-04T01:34:46.249Z] INFO: No Stack... [2022-04-04T01:34:46.522Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T01:34:47.502Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T01:34:48.194Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-04-04T01:34:48.194Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T01:34:48.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [2022-04-04T01:34:48.285Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] did not exist. Created. [2022-04-04T01:34:48.285Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T01:34:49.038Z] /w/workspace/device-mqtt-go/1@tmp/durable-b33b3f5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T01:34:49.750Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T01:34:49.786Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T01:34:49.835Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T01:34:49.849Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T01:34:49.938Z] $ docker stop --time=1 de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 [2022-04-04T01:34:51.456Z] $ docker rm -f de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-04T01:34:52.542Z] provisioning config files... [2022-04-04T01:34:52.557Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config7424813306991335642tmp [Pipeline] { [Pipeline] sh [2022-04-04T01:34:52.917Z] + set +x [2022-04-04T01:34:52.917Z] + curl -s https://codecov.io/bash [2022-04-04T01:34:52.917Z] + bash -s -- [2022-04-04T01:34:52.917Z] [2022-04-04T01:34:52.917Z] _____ _ [2022-04-04T01:34:52.917Z] / ____| | | [2022-04-04T01:34:52.917Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T01:34:52.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T01:34:52.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T01:34:52.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T01:34:52.917Z] Bash-1.0.6 [2022-04-04T01:34:52.917Z] [2022-04-04T01:34:52.917Z] [2022-04-04T01:34:52.917Z] ==> git version 2.25.1 found [2022-04-04T01:34:52.917Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-04T01:34:52.917Z] Release-Date: 2020-01-08 [2022-04-04T01:34:52.917Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-04T01:34:52.917Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T01:34:52.917Z] ==> Jenkins CI detected. [2022-04-04T01:34:52.917Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-04T01:34:52.917Z] project root: . [2022-04-04T01:34:52.917Z] --> token set from env [2022-04-04T01:34:52.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T01:34:52.917Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T01:34:52.917Z] ==> Python coveragepy not found [2022-04-04T01:34:52.917Z] ==> Searching for coverage reports in: [2022-04-04T01:34:52.917Z] + . [2022-04-04T01:34:52.917Z] -> Found 1 reports [2022-04-04T01:34:52.917Z] ==> Detecting git/mercurial file structure [2022-04-04T01:34:52.917Z] ==> Reading reports [2022-04-04T01:34:52.917Z] + ./coverage.out bytes=17452 [2022-04-04T01:34:52.917Z] ==> Appending adjustments [2022-04-04T01:34:52.917Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T01:34:53.176Z] + Found adjustments [2022-04-04T01:34:53.176Z] ==> Gzipping contents [2022-04-04T01:34:53.176Z] 4.0K /tmp/codecov.0fU8iz.gz [2022-04-04T01:34:53.176Z] ==> Uploading reports [2022-04-04T01:34:53.176Z] url: https://codecov.io [2022-04-04T01:34:53.176Z] query: branch=PR-354&commit=911c04381f0c199884a51156653d77c167c4116f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-04-04T01:34:53.176Z] -> Pinging Codecov [2022-04-04T01:34:53.176Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-354&commit=911c04381f0c199884a51156653d77c167c4116f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2022-04-04T01:34:53.436Z] -> Uploading to [2022-04-04T01:34:53.436Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/7D719EC7BBE17E464838252E33014C33/911c04381f0c199884a51156653d77c167c4116f/430835f1-005f-4ff2-987d-fd440f160580.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T013453Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=189f86a97cab646c68c5661ce7c865e0007f3451b571fd6548974d7635e989cf [2022-04-04T01:34:53.436Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T01:34:53.436Z] Dload Upload Total Spent Left Speed [2022-04-04T01:34:53.697Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3188 0 0 100 3188 0 13119 --:--:-- --:--:-- --:--:-- 13119 [2022-04-04T01:34:53.697Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/911c04381f0c199884a51156653d77c167c4116f [Pipeline] } [2022-04-04T01:34:53.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-04T01:34:55.537Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives ] [2022-04-04T01:34:55.537Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-04T01:34:55.537Z] total 16 [2022-04-04T01:34:55.537Z] drwxr-xr-x 3 root root 4096 Apr 4 01:27 . [2022-04-04T01:34:55.537Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 01:27 .. [2022-04-04T01:34:55.537Z] drwxr-xr-x 2 root root 4096 Apr 4 01:27 cost [2022-04-04T01:34:55.537Z] -rw-r--r-- 1 root root 85 Apr 4 01:27 cost.csv [2022-04-04T01:34:55.537Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-04T01:34:55.537Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives [2022-04-04T01:34:55.537Z] total 16 [2022-04-04T01:34:55.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 01:27 . [2022-04-04T01:34:55.537Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 01:27 .. [2022-04-04T01:34:55.537Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 01:27 cost [2022-04-04T01:34:55.537Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 4 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:34:55.876Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:34:56.774Z] ---> package-listing.sh [2022-04-04T01:34:56.774Z] ++ facter osfamily [2022-04-04T01:34:56.774Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T01:34:57.034Z] + OS_FAMILY=debian [2022-04-04T01:34:57.034Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-354 [2022-04-04T01:34:57.034Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T01:34:57.034Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T01:34:57.034Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T01:34:57.034Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T01:34:57.034Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' [2022-04-04T01:34:57.034Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T01:34:57.034Z] + case "${OS_FAMILY}" in [2022-04-04T01:34:57.034Z] + dpkg -l [2022-04-04T01:34:57.034Z] + grep '^ii' [2022-04-04T01:34:57.035Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T01:34:57.035Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T01:34:57.035Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T01:34:57.035Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' [2022-04-04T01:34:57.035Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ [2022-04-04T01:34:57.035Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ [Pipeline] echo [2022-04-04T01:34:57.071Z] 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-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T01:34:57.373Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T01:34:57.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T01:34:57.960Z] . [Pipeline] withDockerContainer [2022-04-04T01:34:58.045Z] prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container [2022-04-04T01:34:58.084Z] $ 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-354/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-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T01:34:58.333Z] $ docker top 5f092b99ec70347d62b5c0fad43c23ecfd28aee90d6e097140902124b89cf1e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T01:34:58.738Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T01:34:59.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T01:34:59.362Z] + ls /var/log/sa-host [2022-04-04T01:34:59.362Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T01:34:59.509Z] provisioning config files... [2022-04-04T01:34:59.520Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config1791165320688851995tmp [Pipeline] { [Pipeline] echo [2022-04-04T01:34:59.570Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:34:59.885Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T01:34:59.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:35:00.319Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T01:35:00.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:35:00.665Z] ---> sudo-logs.sh [2022-04-04T01:35:00.665Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T01:35:00.745Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:35:01.065Z] ---> job-cost.sh [2022-04-04T01:35:01.065Z] lf-activate-venv: SKIPPING [2022-04-04T01:35:01.065Z] DEBUG: total: 0.2199999988079071 [2022-04-04T01:35:01.065Z] INFO: Retrieving Stack Cost... [2022-04-04T01:35:01.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T01:35:01.898Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T01:35:01.935Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T01:35:02.258Z] ---> logs-deploy.sh [2022-04-04T01:35:02.259Z] lf-activate-venv: SKIPPING [2022-04-04T01:35:02.259Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-354/1 [2022-04-04T01:35:02.259Z] INFO: archiving workspace using pattern(s): [2022-04-04T01:35:03.200Z] Archives upload complete. [2022-04-04T01:35:03.200Z] INFO: archiving logs to Nexus