Pull request #357 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6a0d17f3443cfc2038c22736989c6b24159166ee rather than edad8006891888ca7215767c557239a2add3fda6 Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh18106704083325900132.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-ssh10744218192418764404.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-357/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9860789293098701433.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 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-ssh2888142302161537576.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-357/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2010949556175068511.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-10845’ Running on prd-ubuntu20.04-docker-8c-8g-10871 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [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-357 # 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 > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit edad8006891888ca7215767c557239a2add3fda6 Merge succeeded, producing edad8006891888ca7215767c557239a2add3fda6 Checking out Revision edad8006891888ca7215767c557239a2add3fda6 (PR-357) > git config core.sparsecheckout # timeout=10 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # 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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 Commit message: "build(deps): Update device-sdk-go and other deps" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:23:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:23:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:23:39 ========================================================= 02:23:39 EdgeX Global Pipelines Version Info 02:23:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 02:23:40 ------------------- 02:23:40 stable info: 02:23:40 ------------------- 02:23:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:23:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:23:40 Message: update stable to v1.0.221 02:23:41 ------------------- 02:23:41 experimental info: 02:23:41 ------------------- 02:23:41 Commited By: **** collab-it+edgex@linuxfoundation.org 02:23:41 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:23:41 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edad800 [Pipeline] echo 02:23:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:41 provisioning config files... 02:23:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config6977518378037969694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:42 ---> docker-login.sh 02:23:42 nexus3.edgexfoundry.org:10001 02:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:42 Configure a credential helper to remove this warning. See 02:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:42 02:23:42 Login Succeeded 02:23:42 nexus3.edgexfoundry.org:10002 02:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:42 Configure a credential helper to remove this warning. See 02:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:42 02:23:42 Login Succeeded 02:23:42 nexus3.edgexfoundry.org:10003 02:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:42 Configure a credential helper to remove this warning. See 02:23:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:42 02:23:42 Login Succeeded 02:23:42 nexus3.edgexfoundry.org:10004 02:23:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:43 Configure a credential helper to remove this warning. See 02:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:43 02:23:43 Login Succeeded 02:23:43 docker.io 02:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:43 Configure a credential helper to remove this warning. See 02:23:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:43 02:23:43 Login Succeeded 02:23:43 ---> docker-login.sh ends [Pipeline] } 02:23:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:23:43 + git rev-list -1 --merges edad8006891888ca7215767c557239a2add3fda6~1..edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo 02:23:43 -----------> git rev-list -1 --merges edad8006891888ca7215767c557239a2add3fda6~1..edad8006891888ca7215767c557239a2add3fda6 edad8006891888ca7215767c557239a2add3fda6 [false] [Pipeline] sh 02:23:44 + git log --format=format:%s -1 edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo 02:23:44 ========================================================= 02:23:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:23:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:23:44 + git log --format=format:%s -1 edad8006891888ca7215767c557239a2add3fda6 [Pipeline] echo 02:23:44 [semverPrep] GIT_COMMIT: edad8006891888ca7215767c557239a2add3fda6, Commit Message: build(deps): Update device-sdk-go and other deps [Pipeline] echo 02:23:44 [semverPrep] This is not a build commit. [Pipeline] sh 02:23:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:23:45 + grep -v github /etc/ssh/ssh_known_hosts 02:23:45 + [ -e /tmp/ssh_known_hosts ] 02:23:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:23:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:23:45 + sudo tee -a /etc/ssh/ssh_known_hosts 02:23:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:23:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:23:45 02:23:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:23:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:23:45 latest: Pulling from edgex-devops/git-semver 02:23:45 a0d0a0d46f8b: Pulling fs layer 02:23:45 3e5f54012d9b: Pulling fs layer 02:23:45 4c7163046ea9: Pulling fs layer 02:23:45 0c2d73faf560: Pulling fs layer 02:23:45 0c2d73faf560: Waiting 02:23:45 3e5f54012d9b: Verifying Checksum 02:23:45 3e5f54012d9b: Download complete 02:23:45 a0d0a0d46f8b: Download complete 02:23:45 0c2d73faf560: Verifying Checksum 02:23:45 0c2d73faf560: Download complete 02:23:46 4c7163046ea9: Verifying Checksum 02:23:46 4c7163046ea9: Download complete 02:23:46 a0d0a0d46f8b: Pull complete 02:23:46 3e5f54012d9b: Pull complete 02:23:46 4c7163046ea9: Pull complete 02:23:46 0c2d73faf560: Pull complete 02:23:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:23:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:23:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:23:46 prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container 02:23:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:23:47 $ docker top e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:23:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:47 [ssh-agent] Looking for ssh-agent implementation... 02:23:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:47 $ docker exec e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent 02:23:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlKBgHN/agent.15 02:23:48 SSH_AGENT_PID=21 02:23:48 Running ssh-add (command line suppressed) 02:23:48 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6516419853020228023.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6516419853020228023.key) 02:23:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:48 + git tag --points-at HEAD [Pipeline] } 02:23:48 $ docker exec --env ******** --env ******** e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent -k 02:23:48 unset SSH_AUTH_SOCK; 02:23:48 unset SSH_AGENT_PID; 02:23:48 echo Agent pid 21 killed; 02:23:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:23:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:23:48 [ssh-agent] Looking for ssh-agent implementation... 02:23:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:23:48 $ docker exec e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent 02:23:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEkkhgB/agent.56 02:23:48 SSH_AGENT_PID=62 02:23:48 Running ssh-add (command line suppressed) 02:23:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_598311471240991721.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_598311471240991721.key) 02:23:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:23:49 + git semver init 02:23:49 # -> Open(): unable to determine branch for HEAD 02:23:49 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.git 02:23:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-357 02:23:49 # $SEMVER_REMOTE_NAME = origin 02:23:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:23:49 # $SEMVER_USER_NAME = edgex-jenkins 02:23:49 # $SEMVER_BRANCH = PR-357 02:23:49 # $SEMVER_TEMP = /tmp/semver-117400252 02:23:49 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 02:23:50 # '/tmp/semver-117400252' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver' 02:23:50 # -> Force: false 02:23:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver [Pipeline] } 02:23:50 $ docker exec --env ******** --env ******** e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba ssh-agent -k 02:23:50 unset SSH_AUTH_SOCK; 02:23:50 unset SSH_AGENT_PID; 02:23:50 echo Agent pid 62 killed; 02:23:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:23:50 + git semver [Pipeline] } 02:23:50 $ docker stop --time=1 e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba 02:23:52 $ docker rm -f e23d27936c7597fe9c060d42f485c216a5aa474b513e79e87a16d5a9ce6e73ba [Pipeline] // withDockerContainer [Pipeline] sh 02:23:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:23:52 Stashed 1 file(s) [Pipeline] echo 02:23:52 [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 02:23:53 provisioning config files... 02:23:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config8343360200158690858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:53 ---> docker-login.sh 02:23:53 nexus3.edgexfoundry.org:10001 02:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:53 Configure a credential helper to remove this warning. See 02:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:53 02:23:53 Login Succeeded 02:23:53 nexus3.edgexfoundry.org:10002 02:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:53 Configure a credential helper to remove this warning. See 02:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:53 02:23:53 Login Succeeded 02:23:53 nexus3.edgexfoundry.org:10003 02:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:53 Configure a credential helper to remove this warning. See 02:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:53 02:23:53 Login Succeeded 02:23:53 nexus3.edgexfoundry.org:10004 02:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:53 Configure a credential helper to remove this warning. See 02:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:53 02:23:53 Login Succeeded 02:23:53 docker.io 02:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:23:54 Configure a credential helper to remove this warning. See 02:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:23:54 02:23:54 Login Succeeded 02:23:54 ---> docker-login.sh ends [Pipeline] } 02:23:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:23:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:23:54 ========================================================= 02:23:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:23:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:23:54 + 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 . 02:23:54 Sending build context to Docker daemon 5.847MB 02:23:54 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:23:54 Step 2/12 : FROM ${BASE} AS builder 02:23:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:23:54 59bf1c3509f3: Pulling fs layer 02:23:54 666ba61612fd: Pulling fs layer 02:23:54 8ed8ca486205: Pulling fs layer 02:23:54 4fe6c5a15a65: Pulling fs layer 02:23:54 22a0e8bec74d: Pulling fs layer 02:23:54 640e595b4fbd: Pulling fs layer 02:23:54 763cafe07f6e: Pulling fs layer 02:23:54 0c0b528cf693: Pulling fs layer 02:23:54 10935f4eaf8b: Pulling fs layer 02:23:54 4fe6c5a15a65: Waiting 02:23:54 22a0e8bec74d: Waiting 02:23:54 640e595b4fbd: Waiting 02:23:54 763cafe07f6e: Waiting 02:23:54 10935f4eaf8b: Waiting 02:23:54 8ed8ca486205: Download complete 02:23:54 666ba61612fd: Download complete 02:23:54 22a0e8bec74d: Verifying Checksum 02:23:54 640e595b4fbd: Verifying Checksum 02:23:54 640e595b4fbd: Download complete 02:23:54 59bf1c3509f3: Verifying Checksum 02:23:54 59bf1c3509f3: Download complete 02:23:54 763cafe07f6e: Download complete 02:23:54 0c0b528cf693: Verifying Checksum 02:23:54 0c0b528cf693: Download complete 02:23:54 59bf1c3509f3: Pull complete 02:23:55 666ba61612fd: Pull complete 02:23:55 8ed8ca486205: Pull complete 02:23:55 10935f4eaf8b: Verifying Checksum 02:23:55 10935f4eaf8b: Download complete 02:23:55 4fe6c5a15a65: Verifying Checksum 02:23:55 4fe6c5a15a65: Download complete 02:23:59 4fe6c5a15a65: Pull complete 02:23:59 22a0e8bec74d: Pull complete 02:24:00 640e595b4fbd: Pull complete 02:24:00 763cafe07f6e: Pull complete 02:24:00 0c0b528cf693: Pull complete 02:24:02 10935f4eaf8b: Pull complete 02:24:02 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:24:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:24:02 ---> 99d49a6021b9 02:24:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:24:04 ---> Running in 07b4abaf4178 02:24:04 Removing intermediate container 07b4abaf4178 02:24:04 ---> 9b0361a68ff9 02:24:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:24:04 ---> Running in 7ecac6c517cd 02:24:04 Removing intermediate container 7ecac6c517cd 02:24:04 ---> 82ce77c23b9a 02:24:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:04 ---> Running in 4205cb823d05 02:24:05 Removing intermediate container 4205cb823d05 02:24:05 ---> 7709de2bb7cf 02:24:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:24:05 ---> Running in 98085f81d92c 02:24:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:24:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:24:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:24:06 (2/4) Installing libedit (20210910.3.1-r0) 02:24:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:24:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:24:07 Executing busybox-1.34.1-r3.trigger 02:24:07 OK: 224 MiB in 56 packages 02:24:07 Removing intermediate container 98085f81d92c 02:24:07 ---> 6a49d661993e 02:24:07 Step 7/12 : WORKDIR /device-mqtt-go 02:24:07 ---> Running in 7e6084a345c8 02:24:07 Removing intermediate container 7e6084a345c8 02:24:07 ---> 75b88b2f1741 02:24:07 Step 8/12 : COPY go.mod vendor* ./ 02:24:07 Still waiting to schedule task 02:24:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10847’ 02:24:08 ---> aff5c8d036c9 02:24:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:24:08 ---> Running in 55b7006fe9b8 02:24:26 Removing intermediate container 55b7006fe9b8 02:24:26 ---> 48f451e5edc5 02:24:26 Step 10/12 : COPY . . 02:24:26 ---> e3c7248a7cb1 02:24:26 Step 11/12 : ARG MAKE='make build' 02:24:26 ---> Running in d4c315a8ce38 02:24:26 Removing intermediate container d4c315a8ce38 02:24:26 ---> c025e078506a 02:24:26 Step 12/12 : RUN $MAKE 02:24:26 ---> Running in 0e077cd12800 02:24:26 noop 02:24:26 Removing intermediate container 0e077cd12800 02:24:26 ---> e12f7085bb0a 02:24:26 Successfully built e12f7085bb0a 02:24:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:24:26 + docker inspect -f . ci-base-image-x86_64 02:24:26 . [Pipeline] withDockerContainer 02:24:26 prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container 02:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:26 $ docker top 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:24:27 + go version 02:24:27 go version go1.17.6 linux/amd64 [Pipeline] } 02:24:27 $ docker stop --time=1 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 02:24:28 $ docker rm -f 8855ea836e487242fd034b70a55481bcfed236e0098a6c86094d55e373975cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:24:29 + docker inspect -f . ci-base-image-x86_64 02:24:29 . [Pipeline] withDockerContainer 02:24:29 prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container 02:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:24:29 $ docker top 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:24:30 + make test 02:24:30 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:24:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:24:42 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:24:42 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 02:24:42 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:24:50 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:24:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:24:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:24:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:24:55 $ docker stop --time=1 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c 02:24:57 $ docker rm -f 745e02aa0a13088591770b2e112d4f2f057f0e956a036e5025fd5b0cec6f4e3c [Pipeline] // withDockerContainer [Pipeline] sh 02:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:24:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:24:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:24:58 + ls -al . 02:24:58 total 176 02:24:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 02:24 . 02:24:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:23 .. 02:24:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:23 .dockerignore 02:24:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:23 .git 02:24:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 .github 02:24:58 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 02:23 .gitignore 02:24:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 02:23 .golangci.yml 02:24:58 drwx------ 3 jenkins jenkins 4096 Apr 6 02:23 .semver 02:24:58 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 02:23 Attribution.txt 02:24:58 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 02:23 CHANGELOG.md 02:24:58 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 02:23 Dockerfile 02:24:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 02:23 GOVERNANCE.md 02:24:58 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 02:23 Jenkinsfile 02:24:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 02:23 LICENSE 02:24:58 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 02:23 Makefile 02:24:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 02:23 OWNERS.md 02:24:58 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 02:23 README.md 02:24:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:23 VERSION 02:24:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:23 bin 02:24:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 cmd 02:24:58 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 02:24 coverage.out 02:24:58 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 02:23 go.mod 02:24:58 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 02:23 go.sum 02:24:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:23 internal 02:24:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:23 mock 02:24:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:23 snap 02:24:58 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 02:23 version.go [Pipeline] isUnix [Pipeline] sh 02:24:58 + 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=edad8006891888ca7215767c557239a2add3fda6 --label arch=amd64 --label version=0.0.0 . 02:24:58 Sending build context to Docker daemon 5.865MB 02:24:58 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:24:58 Step 2/24 : FROM ${BASE} AS builder 02:24:58 ---> e12f7085bb0a 02:24:58 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:24:58 ---> Running in 64f5866626c8 02:24:59 Removing intermediate container 64f5866626c8 02:24:59 ---> 31e5c6e7a7b0 02:24:59 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:24:59 ---> Running in 66c854594454 02:24:59 Removing intermediate container 66c854594454 02:24:59 ---> 8f527218d5b3 02:24:59 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:24:59 ---> Running in a778858d2763 02:25:00 Removing intermediate container a778858d2763 02:25:00 ---> 1bd0114c29d7 02:25:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:25:00 ---> Running in ad806db82879 02:25:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:25:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:25:02 OK: 224 MiB in 56 packages 02:25:02 Removing intermediate container ad806db82879 02:25:02 ---> 806d2f288ec2 02:25:02 Step 7/24 : WORKDIR /device-mqtt-go 02:25:02 ---> Running in e4180dd6d5e6 02:25:02 Removing intermediate container e4180dd6d5e6 02:25:02 ---> 36c8d31e9997 02:25:02 Step 8/24 : COPY go.mod vendor* ./ 02:25:02 ---> 0d2bbbaec49d 02:25:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:03 ---> Running in fe8d15ad41b3 02:25:03 Removing intermediate container fe8d15ad41b3 02:25:03 ---> 6cf7dfd65bd9 02:25:03 Step 10/24 : COPY . . 02:25:04 ---> 1965038e74a7 02:25:04 Step 11/24 : ARG MAKE='make build' 02:25:04 ---> Running in 97219bb1f1c5 02:25:04 Removing intermediate container 97219bb1f1c5 02:25:04 ---> de14ecbc3f30 02:25:04 Step 12/24 : RUN $MAKE 02:25:04 ---> Running in 942ede48510f 02:25:04 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 02:25:19 Removing intermediate container 942ede48510f 02:25:19 ---> 0f039e1a0ecf 02:25:19 Step 13/24 : FROM alpine:3.14 02:25:19 3.14: Pulling from library/alpine 02:25:19 8663204ce13b: Pulling fs layer 02:25:19 8663204ce13b: Verifying Checksum 02:25:19 8663204ce13b: Download complete 02:25:19 8663204ce13b: Pull complete 02:25:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:25:19 Status: Downloaded newer image for alpine:3.14 02:25:19 ---> e04c818066af 02:25:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:25:19 ---> Running in bf4c97069aa1 02:25:19 Removing intermediate container bf4c97069aa1 02:25:19 ---> b8552cc6ad42 02:25:19 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:25:19 ---> Running in 90657f919a25 02:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:25:19 (1/6) Installing dumb-init (1.2.5-r1) 02:25:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:25:19 (3/6) Installing libsodium (1.0.18-r0) 02:25:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:25:19 (5/6) Installing libzmq (4.3.4-r0) 02:25:19 (6/6) Installing zeromq (4.3.4-r0) 02:25:19 Executing busybox-1.33.1-r7.trigger 02:25:19 OK: 8 MiB in 20 packages 02:25:19 Removing intermediate container 90657f919a25 02:25:19 ---> 8e5cb3cf474b 02:25:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:25:20 ---> d628697e8be5 02:25:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:25:20 ---> 6eb53229d023 02:25:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:25:21 ---> e877f38375a8 02:25:21 Step 19/24 : EXPOSE 59982 02:25:21 ---> Running in ea17058a3a6f 02:25:21 Removing intermediate container ea17058a3a6f 02:25:21 ---> c91c0b7a3fe7 02:25:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:25:21 ---> Running in a55a6b623892 02:25:21 Removing intermediate container a55a6b623892 02:25:21 ---> 0bd69c11fd74 02:25:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:25:21 ---> Running in 17a65ddae7c5 02:25:21 Removing intermediate container 17a65ddae7c5 02:25:21 ---> 068a4fb566f1 02:25:21 Step 22/24 : LABEL arch=amd64 02:25:21 ---> Running in edd06ef17d3f 02:25:21 Removing intermediate container edd06ef17d3f 02:25:21 ---> 45dce0a802c4 02:25:21 Step 23/24 : LABEL git_sha=edad8006891888ca7215767c557239a2add3fda6 02:25:21 ---> Running in 56b400efef36 02:25:21 Removing intermediate container 56b400efef36 02:25:21 ---> 692aa9c672dc 02:25:21 Step 24/24 : LABEL version=0.0.0 02:25:21 ---> Running in 9fc95b030eab 02:25:22 Removing intermediate container 9fc95b030eab 02:25:22 ---> 6117281014fc 02:25:22 [Warning] One or more build-args [ARCH] were not consumed 02:25:22 Successfully built 6117281014fc 02:25:22 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 02:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:22 02:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:25:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:22 latest: Pulling from edgex-lftools-log-publisher 02:25:22 5eb5b503b376: Pulling fs layer 02:25:22 5c69ac0246d0: Pulling fs layer 02:25:22 ec43610c2a17: Pulling fs layer 02:25:22 3a2ae6a8a46f: Pulling fs layer 02:25:22 33b1e0a273af: Pulling fs layer 02:25:22 5d3b04190fa2: Pulling fs layer 02:25:22 2f39f015ded8: Pulling fs layer 02:25:22 3a2ae6a8a46f: Waiting 02:25:22 33b1e0a273af: Waiting 02:25:22 5d3b04190fa2: Waiting 02:25:22 2f39f015ded8: Waiting 02:25:22 5c69ac0246d0: Verifying Checksum 02:25:22 5c69ac0246d0: Download complete 02:25:22 3a2ae6a8a46f: Verifying Checksum 02:25:22 3a2ae6a8a46f: Download complete 02:25:23 33b1e0a273af: Verifying Checksum 02:25:23 33b1e0a273af: Download complete 02:25:23 ec43610c2a17: Verifying Checksum 02:25:23 ec43610c2a17: Download complete 02:25:23 5d3b04190fa2: Verifying Checksum 02:25:23 5d3b04190fa2: Download complete 02:25:23 5eb5b503b376: Verifying Checksum 02:25:23 5eb5b503b376: Download complete 02:25:24 2f39f015ded8: Download complete 02:25:24 5eb5b503b376: Pull complete 02:25:24 5c69ac0246d0: Pull complete 02:25:25 ec43610c2a17: Pull complete 02:25:25 3a2ae6a8a46f: Pull complete 02:25:25 33b1e0a273af: Pull complete 02:25:25 5d3b04190fa2: Pull complete 02:25:31 2f39f015ded8: Pull complete 02:25:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:25:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:25:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:25:31 prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container 02:25:31 $ 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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:25:33 $ docker top 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:25:34 ---> job-cost.sh 02:25:34 lf-activate-venv: SKIPPING 02:25:34 INFO: No Stack... 02:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:25:34 INFO: Archiving Costs [Pipeline] sh 02:25:35 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/cost.csv 02:25:35 + cut -d, -f6 [Pipeline] lock 02:25:35 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] 02:25:35 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] did not exist. Created. 02:25:35 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:25:35 + echo total: 0.2199999988079071 [Pipeline] stash 02:25:35 Stashed 1 file(s) [Pipeline] } 02:25:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:25:35 $ docker stop --time=1 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 02:25:36 $ docker rm -f 12f1fc398d27fb25d80c3746eb278ab5c6dd3e9c3458643d14f4e1dff9fb28a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:27:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10875 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [Pipeline] { [Pipeline] ws 02:27:50 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 02:27:50 Selected Git installation does not exist. Using Default 02:27:50 The recommended git tool is: NONE 02:27:58 using credential edgex-jenkins-ssh 02:27:58 Cloning the remote Git repository 02:27:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:27:58 > git init /w/workspace/device-mqtt-go/3 # timeout=10 02:27:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:27:58 > git --version # timeout=10 02:27:58 > git --version # 'git version 2.25.1' 02:27:58 using GIT_SSH to set credentials SSH Credentials for GitHub 02:27:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:28:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:28:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:28:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:28:00 Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit edad8006891888ca7215767c557239a2add3fda6 02:28:00 Merge succeeded, producing edad8006891888ca7215767c557239a2add3fda6 02:28:00 Checking out Revision edad8006891888ca7215767c557239a2add3fda6 (PR-357) 02:28:00 > git config core.sparsecheckout # timeout=10 02:28:00 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 02:28:00 > git remote # timeout=10 02:28:00 > git config --get remote.origin.url # timeout=10 02:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:28:00 > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 02:28:00 > git rev-parse HEAD^{commit} # timeout=10 02:28:00 > git config core.sparsecheckout # timeout=10 02:28:00 > git checkout -f edad8006891888ca7215767c557239a2add3fda6 # timeout=10 02:28:05 Commit message: "build(deps): Update device-sdk-go and other deps" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:28:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:28:06 % Total % Received % Xferd Average Speed Time Time Time Current 02:28:06 Dload Upload Total Spent Left Speed 02:28:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44190 [Pipeline] sh 02:28:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:28:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:28:07 + sudo tee /etc/docker/daemon.new 02:28:07 { 02:28:07 "registry-mirrors": [ 02:28:07 "https://nexus3.edgexfoundry.org:10001" 02:28:07 ], 02:28:07 "bip": "10.250.0.254/24", 02:28:07 "hosts": [ 02:28:07 "tcp://0.0.0.0:5555", 02:28:07 "unix:///var/run/docker.sock" 02:28:07 ], 02:28:07 "mtu": 1458, 02:28:07 "selinux-enabled": true, 02:28:07 "seccomp-profile": "/etc/docker/seccomp.json" 02:28:07 } [Pipeline] sh 02:28:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:28:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:26 provisioning config files... 02:28:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config7442813411735662792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:26 ---> docker-login.sh 02:28:26 nexus3.edgexfoundry.org:10001 02:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:27 Configure a credential helper to remove this warning. See 02:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:27 02:28:27 Login Succeeded 02:28:27 nexus3.edgexfoundry.org:10002 02:28:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:27 Configure a credential helper to remove this warning. See 02:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:27 02:28:27 Login Succeeded 02:28:27 nexus3.edgexfoundry.org:10003 02:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:28 Configure a credential helper to remove this warning. See 02:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:28 02:28:28 Login Succeeded 02:28:28 nexus3.edgexfoundry.org:10004 02:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:29 Configure a credential helper to remove this warning. See 02:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:29 02:28:29 Login Succeeded 02:28:29 docker.io 02:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:28:29 Configure a credential helper to remove this warning. See 02:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:28:29 02:28:29 Login Succeeded 02:28:29 ---> docker-login.sh ends [Pipeline] } 02:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:28:30 ========================================================= 02:28:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:28:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:28:30 + 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 . 02:28:30 Sending build context to Docker daemon 3.063MB 02:28:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:28:30 Step 2/12 : FROM ${BASE} AS builder 02:28:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:28:31 9b3977197b4f: Pulling fs layer 02:28:31 1a89e8eeedd5: Pulling fs layer 02:28:31 94645a83ff95: Pulling fs layer 02:28:31 3f3a8bcf1eab: Pulling fs layer 02:28:31 0c92f367c5e7: Pulling fs layer 02:28:31 f7c0051592d6: Pulling fs layer 02:28:31 a227ed2f7395: Pulling fs layer 02:28:31 7b1c46037f91: Pulling fs layer 02:28:31 f7c0051592d6: Waiting 02:28:31 a227ed2f7395: Waiting 02:28:31 3f3a8bcf1eab: Waiting 02:28:31 7b1c46037f91: Waiting 02:28:31 0c92f367c5e7: Waiting 02:28:31 94645a83ff95: Verifying Checksum 02:28:31 94645a83ff95: Download complete 02:28:31 1a89e8eeedd5: Verifying Checksum 02:28:31 1a89e8eeedd5: Download complete 02:28:31 0c92f367c5e7: Verifying Checksum 02:28:31 0c92f367c5e7: Download complete 02:28:31 f7c0051592d6: Verifying Checksum 02:28:31 f7c0051592d6: Download complete 02:28:31 9b3977197b4f: Verifying Checksum 02:28:31 9b3977197b4f: Download complete 02:28:31 a227ed2f7395: Verifying Checksum 02:28:31 a227ed2f7395: Download complete 02:28:32 9b3977197b4f: Pull complete 02:28:32 1a89e8eeedd5: Pull complete 02:28:32 94645a83ff95: Pull complete 02:28:33 3f3a8bcf1eab: Verifying Checksum 02:28:33 3f3a8bcf1eab: Download complete 02:28:34 7b1c46037f91: Verifying Checksum 02:28:34 7b1c46037f91: Download complete 02:28:46 3f3a8bcf1eab: Pull complete 02:28:46 0c92f367c5e7: Pull complete 02:28:46 f7c0051592d6: Pull complete 02:28:47 a227ed2f7395: Pull complete 02:28:53 7b1c46037f91: Pull complete 02:28:53 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:28:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:28:53 ---> f79e39bc4007 02:28:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:28:53 ---> Running in 4589edb27ee0 02:28:54 Removing intermediate container 4589edb27ee0 02:28:54 ---> 4a429dc8e61b 02:28:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:28:54 ---> Running in b75e2071a706 02:28:54 Removing intermediate container b75e2071a706 02:28:54 ---> aa618e61fea5 02:28:54 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:28:54 ---> Running in bdc87f070353 02:28:56 Removing intermediate container bdc87f070353 02:28:56 ---> 2f094b68d1ab 02:28:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:28:56 ---> Running in d2a6d37d42e0 02:28:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:28:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:29:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:29:02 (2/4) Installing libedit (20210910.3.1-r0) 02:29:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:29:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:29:07 Executing busybox-1.34.1-r3.trigger 02:29:07 OK: 224 MiB in 56 packages 02:29:08 Removing intermediate container d2a6d37d42e0 02:29:08 ---> dc4601845ee3 02:29:08 Step 7/12 : WORKDIR /device-mqtt-go 02:29:08 ---> Running in 3ce97e24d9c3 02:29:08 Removing intermediate container 3ce97e24d9c3 02:29:08 ---> e44c0a191784 02:29:08 Step 8/12 : COPY go.mod vendor* ./ 02:29:09 ---> 0aa8ba9bcab5 02:29:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:29:09 ---> Running in 82ffa38d9ea8 02:30:06 Removing intermediate container 82ffa38d9ea8 02:30:06 ---> 5406adc186bf 02:30:06 Step 10/12 : COPY . . 02:30:06 ---> 31804c5c4dcf 02:30:06 Step 11/12 : ARG MAKE='make build' 02:30:06 ---> Running in 4eb96a60348d 02:30:06 Removing intermediate container 4eb96a60348d 02:30:06 ---> 79f293dad986 02:30:06 Step 12/12 : RUN $MAKE 02:30:06 ---> Running in cbcb76278e3d 02:30:06 noop 02:30:06 Removing intermediate container cbcb76278e3d 02:30:06 ---> cb9d6f0f5f80 02:30:06 Successfully built cb9d6f0f5f80 02:30:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:30:06 + docker inspect -f . ci-base-image-arm64 02:30:06 . [Pipeline] withDockerContainer 02:30:06 prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container 02:30:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:30:08 $ docker top f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 -eo pid,comm [Pipeline] { [Pipeline] sh 02:30:09 + go version 02:30:09 go version go1.17.6 linux/arm64 [Pipeline] } 02:30:09 $ docker stop --time=1 f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 02:30:10 $ docker rm -f f8d1986f5bc0b2570d572f976a3e6babf3b3c302e1080cbdd566d9cfe70f6d44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:30:11 + docker inspect -f . ci-base-image-arm64 02:30:11 . [Pipeline] withDockerContainer 02:30:11 prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container 02:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:30:13 $ docker top c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:30:14 + make test 02:30:14 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:30:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:31:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:31:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 02:31:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:31:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:31:37 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:31:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:59 ./bin/test-attribution-txt.sh [Pipeline] echo 02:32:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:32:01 $ docker stop --time=1 c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 02:32:03 $ docker rm -f c803a7332a1ddcd638f74aa63f3cd4e6bb1eb12c8aba27fa064490d21f49edf1 [Pipeline] // withDockerContainer [Pipeline] sh 02:32:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:32:04 Warning: overwriting stash ‘coverage-report’ 02:32:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:05 + ls -al . 02:32:05 total 172 02:32:05 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 02:32 . 02:32:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:27 .. 02:32:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 02:28 .dockerignore 02:32:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 02:28 .git 02:32:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 .github 02:32:05 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 02:28 .gitignore 02:32:05 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 02:28 .golangci.yml 02:32:05 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 02:28 Attribution.txt 02:32:05 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 02:28 CHANGELOG.md 02:32:05 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 02:28 Dockerfile 02:32:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 02:28 GOVERNANCE.md 02:32:05 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 02:28 Jenkinsfile 02:32:05 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 02:28 LICENSE 02:32:05 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 02:28 Makefile 02:32:05 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 02:28 OWNERS.md 02:32:05 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 02:28 README.md 02:32:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 02:23 VERSION 02:32:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:28 bin 02:32:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 cmd 02:32:05 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 02:31 coverage.out 02:32:05 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 02:28 go.mod 02:32:05 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 02:28 go.sum 02:32:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 02:28 internal 02:32:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 02:28 mock 02:32:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 02:28 snap 02:32:05 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 02:28 version.go [Pipeline] isUnix [Pipeline] sh 02:32:05 + 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=edad8006891888ca7215767c557239a2add3fda6 --label arch=arm64 --label version=0.0.0 . 02:32:05 Sending build context to Docker daemon 3.081MB 02:32:05 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:32:05 Step 2/24 : FROM ${BASE} AS builder 02:32:05 ---> cb9d6f0f5f80 02:32:05 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:32:06 ---> Running in 523be9379d25 02:32:06 Removing intermediate container 523be9379d25 02:32:06 ---> 79be3298e795 02:32:06 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:32:06 ---> Running in 0b2061ea1821 02:32:06 Removing intermediate container 0b2061ea1821 02:32:06 ---> 106ff34f0148 02:32:06 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:32:07 ---> Running in 533234fa1d42 02:32:08 Removing intermediate container 533234fa1d42 02:32:08 ---> 53dca976ef88 02:32:08 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:08 ---> Running in 06578ade2968 02:32:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:32:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:32:11 OK: 224 MiB in 56 packages 02:32:12 Removing intermediate container 06578ade2968 02:32:12 ---> dfadbdef6e53 02:32:12 Step 7/24 : WORKDIR /device-mqtt-go 02:32:12 ---> Running in 9d6e6b38e2a0 02:32:12 Removing intermediate container 9d6e6b38e2a0 02:32:12 ---> d5c98fea444b 02:32:12 Step 8/24 : COPY go.mod vendor* ./ 02:32:13 ---> 07da4065edd4 02:32:13 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:13 ---> Running in c2609460f7ff 02:32:15 Removing intermediate container c2609460f7ff 02:32:15 ---> 7e7a5283c7c2 02:32:15 Step 10/24 : COPY . . 02:32:16 ---> e36357f07c57 02:32:16 Step 11/24 : ARG MAKE='make build' 02:32:16 ---> Running in 16115c323c9b 02:32:16 Removing intermediate container 16115c323c9b 02:32:16 ---> bc68109259d6 02:32:16 Step 12/24 : RUN $MAKE 02:32:16 ---> Running in a674f0cb7316 02:32:17 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 02:33:39 Removing intermediate container a674f0cb7316 02:33:39 ---> 917674cf8bd8 02:33:39 Step 13/24 : FROM alpine:3.14 02:33:39 3.14: Pulling from library/alpine 02:33:39 455c02918c45: Pulling fs layer 02:33:39 455c02918c45: Verifying Checksum 02:33:39 455c02918c45: Download complete 02:33:39 455c02918c45: Pull complete 02:33:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:33:39 Status: Downloaded newer image for alpine:3.14 02:33:39 ---> ac73e934f311 02:33:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:33:39 ---> Running in 945fa620e2a0 02:33:39 Removing intermediate container 945fa620e2a0 02:33:39 ---> f6730c701938 02:33:39 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:33:39 ---> Running in a49c82b5aa64 02:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:33:39 (1/6) Installing dumb-init (1.2.5-r1) 02:33:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:33:39 (3/6) Installing libsodium (1.0.18-r0) 02:33:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:33:39 (5/6) Installing libzmq (4.3.4-r0) 02:33:39 (6/6) Installing zeromq (4.3.4-r0) 02:33:39 Executing busybox-1.33.1-r7.trigger 02:33:39 OK: 8 MiB in 20 packages 02:33:39 Removing intermediate container a49c82b5aa64 02:33:39 ---> cff6a1e3ff92 02:33:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:33:39 ---> 9da7be76ddf8 02:33:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:33:39 ---> a247aa7ebf99 02:33:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:33:39 ---> 75d3f0658677 02:33:39 Step 19/24 : EXPOSE 59982 02:33:39 ---> Running in d5f5df20e6a8 02:33:39 Removing intermediate container d5f5df20e6a8 02:33:39 ---> f8a4e009cc8e 02:33:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:33:39 ---> Running in d7b4905245c0 02:33:39 Removing intermediate container d7b4905245c0 02:33:39 ---> eb27f682c7da 02:33:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:33:39 ---> Running in beaeba930d62 02:33:39 Removing intermediate container beaeba930d62 02:33:39 ---> 33533f976dd1 02:33:39 Step 22/24 : LABEL arch=arm64 02:33:39 ---> Running in 677641752ab8 02:33:39 Removing intermediate container 677641752ab8 02:33:39 ---> 7ae43baf6284 02:33:39 Step 23/24 : LABEL git_sha=edad8006891888ca7215767c557239a2add3fda6 02:33:39 ---> Running in 58a0ed167639 02:33:39 Removing intermediate container 58a0ed167639 02:33:39 ---> f1df6b4ac968 02:33:39 Step 24/24 : LABEL version=0.0.0 02:33:39 ---> Running in d7edafb8b8e6 02:33:39 Removing intermediate container d7edafb8b8e6 02:33:39 ---> efbbc9197e47 02:33:39 [Warning] One or more build-args [ARCH] were not consumed 02:33:39 Successfully built efbbc9197e47 02:33:39 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 02:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:39 02:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:33:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:40 arm64: Pulling from edgex-lftools-log-publisher 02:33:40 8998bd30e6a1: Pulling fs layer 02:33:40 04944245beec: Pulling fs layer 02:33:40 699f458cf7ca: Pulling fs layer 02:33:40 765212b225bb: Pulling fs layer 02:33:40 f23df028b6ca: Pulling fs layer 02:33:40 d65c8cfc05b1: Pulling fs layer 02:33:40 2437ff75d9bd: Pulling fs layer 02:33:40 f23df028b6ca: Waiting 02:33:40 2437ff75d9bd: Waiting 02:33:40 d65c8cfc05b1: Waiting 02:33:40 765212b225bb: Waiting 02:33:40 04944245beec: Verifying Checksum 02:33:40 04944245beec: Download complete 02:33:40 765212b225bb: Verifying Checksum 02:33:40 765212b225bb: Download complete 02:33:40 f23df028b6ca: Verifying Checksum 02:33:40 f23df028b6ca: Download complete 02:33:40 d65c8cfc05b1: Verifying Checksum 02:33:40 d65c8cfc05b1: Download complete 02:33:40 699f458cf7ca: Verifying Checksum 02:33:40 699f458cf7ca: Download complete 02:33:40 8998bd30e6a1: Verifying Checksum 02:33:40 8998bd30e6a1: Download complete 02:33:43 2437ff75d9bd: Verifying Checksum 02:33:43 2437ff75d9bd: Download complete 02:33:44 8998bd30e6a1: Pull complete 02:33:45 04944245beec: Pull complete 02:33:47 699f458cf7ca: Pull complete 02:33:47 765212b225bb: Pull complete 02:33:47 f23df028b6ca: Pull complete 02:33:48 d65c8cfc05b1: Pull complete 02:34:03 2437ff75d9bd: Pull complete 02:34:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:34:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:34:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:34:03 prd-ubuntu20.04-docker-arm64-4c-16g-10875 does not seem to be running inside a container 02:34:03 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:34:06 $ docker top ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:07 ---> job-cost.sh 02:34:07 lf-activate-venv: SKIPPING 02:34:07 INFO: No Stack... 02:34:07 INFO: Retrieving Pricing Info for: v3-standard-4 02:34:08 INFO: Archiving Costs [Pipeline] sh 02:34:09 + + catcut /w/workspace/device-mqtt-go/3/archives/cost.csv -d, 02:34:09 -f6 [Pipeline] lock 02:34:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] 02:34:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] did not exist. Created. 02:34:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:10 /w/workspace/device-mqtt-go/3@tmp/durable-6533ba28/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:34:10 + echo total: 0.10999999940395355 [Pipeline] stash 02:34:10 Warning: overwriting stash ‘stack-cost’ 02:34:10 Stashed 1 file(s) [Pipeline] } 02:34:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:10 $ docker stop --time=1 ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 02:34:12 $ docker rm -f ad2e4cf132b719abb6dedab10e00fb757f9a3336120e2090e8176d619b2fd589 [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 02:34:12 provisioning config files... 02:34:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config5790089467102431216tmp [Pipeline] { [Pipeline] sh 02:34:13 + set +x 02:34:13 + bash -s -- 02:34:13 + curl -s https://codecov.io/bash 02:34:13 02:34:13 _____ _ 02:34:13 / ____| | | 02:34:13 | | ___ __| | ___ ___ _____ __ 02:34:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:34:13 | |___| (_) | (_| | __/ (_| (_) \ V / 02:34:13 \_____\___/ \__,_|\___|\___\___/ \_/ 02:34:13 Bash-1.0.6 02:34:13 02:34:13 02:34:13 ==> git version 2.25.1 found 02:34:13 ==> 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 02:34:13 Release-Date: 2020-01-08 02:34:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:34:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:34:13 ==> Jenkins CI detected. 02:34:13 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-357 02:34:13 project root: . 02:34:13 --> token set from env 02:34:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:34:13 ==> Running gcov in . (disable via -X gcov) 02:34:13 ==> Python coveragepy not found 02:34:13 ==> Searching for coverage reports in: 02:34:13 + . 02:34:13 -> Found 1 reports 02:34:13 ==> Detecting git/mercurial file structure 02:34:13 ==> Reading reports 02:34:13 + ./coverage.out bytes=17887 02:34:13 ==> Appending adjustments 02:34:13 https://docs.codecov.io/docs/fixing-reports 02:34:13 + Found adjustments 02:34:13 ==> Gzipping contents 02:34:13 4.0K /tmp/codecov.m7c6E9.gz 02:34:13 ==> Uploading reports 02:34:13 url: https://codecov.io 02:34:13 query: branch=PR-357&commit=edad8006891888ca7215767c557239a2add3fda6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= 02:34:13 -> Pinging Codecov 02:34:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-357&commit=edad8006891888ca7215767c557239a2add3fda6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= 02:34:14 -> Uploading to 02:34:14 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/edad8006891888ca7215767c557239a2add3fda6/fd65cc69-6602-463f-ba0e-98e669408bc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T023413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3893427b189fc24fce7391fd4077c43f2ae08ca3209ce0169b902fd295b72cf 02:34:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:14 Dload Upload Total Spent Left Speed 02:34:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 11601 --:--:-- --:--:-- --:--:-- 11560 100 3260 0 0 100 3260 0 11560 --:--:-- --:--:-- --:--:-- 11560 02:34:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/edad8006891888ca7215767c557239a2add3fda6 [Pipeline] } 02:34:14 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 02:34:15 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives ] 02:34:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 02:34:15 total 16 02:34:15 drwxr-xr-x 3 root root 4096 Apr 6 02:25 . 02:34:15 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 02:25 .. 02:34:15 drwxr-xr-x 2 root root 4096 Apr 6 02:25 cost 02:34:15 -rw-r--r-- 1 root root 85 Apr 6 02:25 cost.csv 02:34:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 02:34:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 02:34:15 total 16 02:34:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 02:25 . 02:34:15 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 02:25 .. 02:34:15 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 02:25 cost 02:34:15 -rw-r--r-- 1 jenkins jenkins 85 Apr 6 02:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:34:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:34:16 ---> package-listing.sh 02:34:16 ++ tr '[:upper:]' '[:lower:]' 02:34:16 ++ facter osfamily 02:34:16 + OS_FAMILY=debian 02:34:16 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-357 02:34:16 + START_PACKAGES=/tmp/packages_start.txt 02:34:16 + END_PACKAGES=/tmp/packages_end.txt 02:34:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:34:16 + PACKAGES=/tmp/packages_start.txt 02:34:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' 02:34:16 + PACKAGES=/tmp/packages_end.txt 02:34:16 + case "${OS_FAMILY}" in 02:34:16 + dpkg -l 02:34:16 + grep '^ii' 02:34:16 + '[' -f /tmp/packages_start.txt ']' 02:34:16 + '[' -f /tmp/packages_end.txt ']' 02:34:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:34:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' 02:34:16 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ 02:34:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [Pipeline] echo 02:34:16 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:34:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:17 . [Pipeline] withDockerContainer 02:34:17 prd-ubuntu20.04-docker-8c-8g-10871 does not seem to be running inside a container 02:34:17 $ 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-357/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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:18 $ docker top 27ec82dbe3a2f8ce6f74e72af14098573ba45f93c3c35aebe4fef0e3e8903fe3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:18 + touch /tmp/pre-build-complete [Pipeline] sh 02:34:18 + mkdir -p /var/log/sysstat [Pipeline] sh 02:34:19 + ls /var/log/sa-host 02:34:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:19 provisioning config files... 02:34:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config1089505686271348799tmp [Pipeline] { [Pipeline] echo 02:34:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:34:19 ---> create-netrc.sh [Pipeline] } 02:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:34:19 ---> python-tools-install.sh [Pipeline] echo 02:34:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:34:20 ---> sudo-logs.sh 02:34:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:34:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:34:20 ---> job-cost.sh 02:34:20 lf-activate-venv: SKIPPING 02:34:20 DEBUG: total: 0.2199999988079071 02:34:20 INFO: Retrieving Stack Cost... 02:34:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:21 INFO: Archiving Costs [Pipeline] echo 02:34:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:34:21 ---> logs-deploy.sh 02:34:21 lf-activate-venv: SKIPPING 02:34:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-357/3 02:34:21 INFO: archiving workspace using pattern(s): 02:34:22 Archives upload complete. 02:34:23 INFO: archiving logs to Nexus