Pull request #363 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eff5c27fd54bad87d805a8608d239d4b128f915d+4d191eb3dac98c01714bec6e3dd8edd5055992ab (6202ecf5f2efb57f43f055952c2dd66ed89d6cea) 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-ssh15032075943910330047.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-ssh687057970952433715.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-363/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-363/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9752878119692895459.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-363/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7565292027125476422.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-ssh14428275156064884174.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-363/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-363/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4487504396810790834.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-21170’ Running on prd-ubuntu20.04-docker-8c-8g-21177 in /w/workspace/gexfoundry_device-mqtt-go_PR-363 [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-363 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit eff5c27fd54bad87d805a8608d239d4b128f915d Merge succeeded, producing eff5c27fd54bad87d805a8608d239d4b128f915d Checking out Revision eff5c27fd54bad87d805a8608d239d4b128f915d (PR-363) > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eff5c27fd54bad87d805a8608d239d4b128f915d # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eff5c27fd54bad87d805a8608d239d4b128f915d # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/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 01:24:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:30 ========================================================= 01:24:30 EdgeX Global Pipelines Version Info 01:24:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:31 ------------------- 01:24:31 stable info: 01:24:31 ------------------- 01:24:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:24:31 Message: update stable to v1.0.221 01:24:31 ------------------- 01:24:31 experimental info: 01:24:31 ------------------- 01:24:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:31 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 01:24:31 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:24:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eff5c27fd54bad87d805a8608d239d4b128f915d [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eff5c27 [Pipeline] echo 01:24:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:33 provisioning config files... 01:24:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/config6602181391722057191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:34 ---> docker-login.sh 01:24:34 nexus3.edgexfoundry.org:10001 01:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:34 Configure a credential helper to remove this warning. See 01:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:34 01:24:34 Login Succeeded 01:24:34 nexus3.edgexfoundry.org:10002 01:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:34 Configure a credential helper to remove this warning. See 01:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:34 01:24:34 Login Succeeded 01:24:34 nexus3.edgexfoundry.org:10003 01:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:34 Configure a credential helper to remove this warning. See 01:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:34 01:24:34 Login Succeeded 01:24:34 nexus3.edgexfoundry.org:10004 01:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:35 Configure a credential helper to remove this warning. See 01:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:35 01:24:35 Login Succeeded 01:24:35 docker.io 01:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:35 Configure a credential helper to remove this warning. See 01:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:35 01:24:35 Login Succeeded 01:24:35 ---> docker-login.sh ends [Pipeline] } 01:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:35 + git rev-list -1 --merges eff5c27fd54bad87d805a8608d239d4b128f915d~1..eff5c27fd54bad87d805a8608d239d4b128f915d [Pipeline] echo 01:24:35 -----------> git rev-list -1 --merges eff5c27fd54bad87d805a8608d239d4b128f915d~1..eff5c27fd54bad87d805a8608d239d4b128f915d eff5c27fd54bad87d805a8608d239d4b128f915d [false] [Pipeline] sh 01:24:36 + git log --format=format:%s -1 eff5c27fd54bad87d805a8608d239d4b128f915d [Pipeline] echo 01:24:36 ========================================================= 01:24:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:36 + git log --format=format:%s -1 eff5c27fd54bad87d805a8608d239d4b128f915d [Pipeline] echo 01:24:36 [semverPrep] GIT_COMMIT: eff5c27fd54bad87d805a8608d239d4b128f915d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:24:36 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:37 + grep -v github /etc/ssh/ssh_known_hosts 01:24:37 + [ -e /tmp/ssh_known_hosts ] 01:24:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:37 sudo tee -a /etc/ssh/ssh_known_hosts 01:24:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:37 01:24:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:24:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:38 latest: Pulling from edgex-devops/git-semver 01:24:38 a0d0a0d46f8b: Pulling fs layer 01:24:38 3e5f54012d9b: Pulling fs layer 01:24:38 4c7163046ea9: Pulling fs layer 01:24:38 0c2d73faf560: Pulling fs layer 01:24:38 3e5f54012d9b: Verifying Checksum 01:24:38 3e5f54012d9b: Download complete 01:24:38 a0d0a0d46f8b: Download complete 01:24:38 0c2d73faf560: Verifying Checksum 01:24:38 0c2d73faf560: Download complete 01:24:38 4c7163046ea9: Verifying Checksum 01:24:38 a0d0a0d46f8b: Pull complete 01:24:38 3e5f54012d9b: Pull complete 01:24:38 4c7163046ea9: Pull complete 01:24:38 0c2d73faf560: Pull complete 01:24:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:24:38 prd-ubuntu20.04-docker-8c-8g-21177 does not seem to be running inside a container 01:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-363 -v /w/workspace/gexfoundry_device-mqtt-go_PR-363:/w/workspace/gexfoundry_device-mqtt-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-363@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 01:24:39 $ docker top d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:39 [ssh-agent] Looking for ssh-agent implementation... 01:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:40 $ docker exec d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 ssh-agent 01:24:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBkoKIo/agent.14 01:24:40 SSH_AGENT_PID=20 01:24:40 Running ssh-add (command line suppressed) 01:24:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/private_key_4676145960718457051.key (/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/private_key_4676145960718457051.key) 01:24:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:40 + git tag --points-at HEAD [Pipeline] } 01:24:40 $ docker exec --env ******** --env ******** d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 ssh-agent -k 01:24:40 unset SSH_AUTH_SOCK; 01:24:40 unset SSH_AGENT_PID; 01:24:40 echo Agent pid 20 killed; 01:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:24:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:40 [ssh-agent] Looking for ssh-agent implementation... 01:24:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:41 $ docker exec d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 ssh-agent 01:24:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdbKPKo/agent.55 01:24:41 SSH_AGENT_PID=62 01:24:41 Running ssh-add (command line suppressed) 01:24:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/private_key_6281079746647309730.key (/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/private_key_6281079746647309730.key) 01:24:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:41 + git semver init 01:24:41 # -> Open(): unable to determine branch for HEAD 01:24:41 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-363/.git 01:24:41 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-363 01:24:41 # $SEMVER_REMOTE_NAME = origin 01:24:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:24:41 # $SEMVER_USER_NAME = edgex-jenkins 01:24:41 # $SEMVER_BRANCH = PR-363 01:24:41 # $SEMVER_TEMP = /tmp/semver-290136697 01:24:41 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 01:24:42 # '/tmp/semver-290136697' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-363/.semver' 01:24:42 # -> Force: false 01:24:42 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-363/.semver [Pipeline] } 01:24:42 $ docker exec --env ******** --env ******** d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 ssh-agent -k 01:24:42 unset SSH_AUTH_SOCK; 01:24:42 unset SSH_AGENT_PID; 01:24:42 echo Agent pid 62 killed; 01:24:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:43 + git semver [Pipeline] } 01:24:43 $ docker stop --time=1 d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 01:24:44 $ docker rm -f d5774091c7b64a9f3dd53ecd3e7fcaa15ee3101f90845e711a017fb85b3fdb89 [Pipeline] // withDockerContainer [Pipeline] sh 01:24:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:24:45 Stashed 1 file(s) [Pipeline] echo 01:24:45 [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 01:24:45 provisioning config files... 01:24:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/config5745616770104376438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:46 ---> docker-login.sh 01:24:46 nexus3.edgexfoundry.org:10001 01:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:46 Configure a credential helper to remove this warning. See 01:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:46 01:24:46 Login Succeeded 01:24:46 nexus3.edgexfoundry.org:10002 01:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:46 Configure a credential helper to remove this warning. See 01:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:46 01:24:46 Login Succeeded 01:24:46 nexus3.edgexfoundry.org:10003 01:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:46 Configure a credential helper to remove this warning. See 01:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:46 01:24:46 Login Succeeded 01:24:46 nexus3.edgexfoundry.org:10004 01:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:46 Configure a credential helper to remove this warning. See 01:24:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:46 01:24:46 Login Succeeded 01:24:46 docker.io 01:24:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:47 Configure a credential helper to remove this warning. See 01:24:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:47 01:24:47 Login Succeeded 01:24:47 ---> docker-login.sh ends [Pipeline] } 01:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:24:47 ========================================================= 01:24:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:24:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:24:47 + 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 . 01:24:47 Sending build context to Docker daemon 5.836MB 01:24:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:24:47 Step 2/12 : FROM ${BASE} AS builder 01:24:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:24:47 59bf1c3509f3: Pulling fs layer 01:24:47 666ba61612fd: Pulling fs layer 01:24:47 8ed8ca486205: Pulling fs layer 01:24:47 4fe6c5a15a65: Pulling fs layer 01:24:47 22a0e8bec74d: Pulling fs layer 01:24:47 640e595b4fbd: Pulling fs layer 01:24:47 763cafe07f6e: Pulling fs layer 01:24:47 0c0b528cf693: Pulling fs layer 01:24:47 10935f4eaf8b: Pulling fs layer 01:24:47 4fe6c5a15a65: Waiting 01:24:47 22a0e8bec74d: Waiting 01:24:47 640e595b4fbd: Waiting 01:24:47 763cafe07f6e: Waiting 01:24:47 0c0b528cf693: Waiting 01:24:47 10935f4eaf8b: Waiting 01:24:47 8ed8ca486205: Download complete 01:24:47 666ba61612fd: Verifying Checksum 01:24:47 666ba61612fd: Download complete 01:24:48 22a0e8bec74d: Download complete 01:24:48 640e595b4fbd: Verifying Checksum 01:24:48 640e595b4fbd: Download complete 01:24:48 59bf1c3509f3: Verifying Checksum 01:24:48 763cafe07f6e: Verifying Checksum 01:24:48 763cafe07f6e: Download complete 01:24:48 0c0b528cf693: Verifying Checksum 01:24:48 0c0b528cf693: Download complete 01:24:48 59bf1c3509f3: Pull complete 01:24:48 666ba61612fd: Pull complete 01:24:48 8ed8ca486205: Pull complete 01:24:48 10935f4eaf8b: Verifying Checksum 01:24:48 10935f4eaf8b: Download complete 01:24:48 4fe6c5a15a65: Verifying Checksum 01:24:48 4fe6c5a15a65: Download complete 01:24:52 4fe6c5a15a65: Pull complete 01:24:52 22a0e8bec74d: Pull complete 01:24:52 640e595b4fbd: Pull complete 01:24:52 763cafe07f6e: Pull complete 01:24:52 0c0b528cf693: Pull complete 01:24:54 10935f4eaf8b: Pull complete 01:24:54 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:24:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:24:54 ---> 99d49a6021b9 01:24:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:24:57 ---> Running in 315c30ec1a4f 01:24:57 Removing intermediate container 315c30ec1a4f 01:24:57 ---> bca3eebb5d6c 01:24:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:24:57 ---> Running in b2601a4c7104 01:24:57 Removing intermediate container b2601a4c7104 01:24:57 ---> c7c84a2fe013 01:24:57 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:24:57 ---> Running in bb7324eb0a27 01:24:58 Removing intermediate container bb7324eb0a27 01:24:58 ---> 9090744d1d61 01:24:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:24:58 ---> Running in 29f0178670ae 01:24:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:24:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:24:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:24:59 (2/4) Installing libedit (20210910.3.1-r0) 01:24:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:25:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:25:00 Executing busybox-1.34.1-r3.trigger 01:25:00 OK: 224 MiB in 56 packages 01:25:00 Still waiting to schedule task 01:25:00 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21174’ 01:25:00 Removing intermediate container 29f0178670ae 01:25:00 ---> a2e5b0be6d38 01:25:00 Step 7/12 : WORKDIR /device-mqtt-go 01:25:00 ---> Running in 34eb12ff5dbe 01:25:00 Removing intermediate container 34eb12ff5dbe 01:25:00 ---> 62e0b55a0501 01:25:00 Step 8/12 : COPY go.mod vendor* ./ 01:25:01 ---> 2706166f2e3a 01:25:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:01 ---> Running in c898c1751218 01:25:15 Removing intermediate container c898c1751218 01:25:15 ---> 44fa8e65e15d 01:25:15 Step 10/12 : COPY . . 01:25:15 ---> ec0a4c6ac61f 01:25:15 Step 11/12 : ARG MAKE='make build' 01:25:15 ---> Running in 57561abac2d9 01:25:15 Removing intermediate container 57561abac2d9 01:25:15 ---> 762e0082b6b7 01:25:15 Step 12/12 : RUN $MAKE 01:25:15 ---> Running in 970599d40e31 01:25:15 noop 01:25:15 Removing intermediate container 970599d40e31 01:25:15 ---> 2d231f2ff798 01:25:15 Successfully built 2d231f2ff798 01:25:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:25:16 + docker inspect -f . ci-base-image-x86_64 01:25:16 . [Pipeline] withDockerContainer 01:25:16 prd-ubuntu20.04-docker-8c-8g-21177 does not seem to be running inside a container 01:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-363 -v /w/workspace/gexfoundry_device-mqtt-go_PR-363:/w/workspace/gexfoundry_device-mqtt-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-363@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 01:25:16 $ docker top 6222a195f5c3c80a970b0b0757aeb8b9c1e5be66b0011784bb7d90df7345db4f -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:17 + go version 01:25:17 go version go1.17.6 linux/amd64 [Pipeline] } 01:25:17 $ docker stop --time=1 6222a195f5c3c80a970b0b0757aeb8b9c1e5be66b0011784bb7d90df7345db4f 01:25:18 $ docker rm -f 6222a195f5c3c80a970b0b0757aeb8b9c1e5be66b0011784bb7d90df7345db4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:25:19 + docker inspect -f . ci-base-image-x86_64 01:25:19 . [Pipeline] withDockerContainer 01:25:19 prd-ubuntu20.04-docker-8c-8g-21177 does not seem to be running inside a container 01:25:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-363 -v /w/workspace/gexfoundry_device-mqtt-go_PR-363:/w/workspace/gexfoundry_device-mqtt-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-363@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 01:25:20 $ docker top e0f8132705c87bc03a9764552bc94564100985223f0ae36b38135e10c77681f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:25:20 + make test 01:25:20 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:25:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:25:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:25:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 01:25:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:25:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:25:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:25:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:25:40 ./bin/test-attribution-txt.sh [Pipeline] echo 01:25:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:25:40 $ docker stop --time=1 e0f8132705c87bc03a9764552bc94564100985223f0ae36b38135e10c77681f1 01:25:42 $ docker rm -f e0f8132705c87bc03a9764552bc94564100985223f0ae36b38135e10c77681f1 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:25:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:25:44 + ls -al . 01:25:44 total 196 01:25:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 01:25 . 01:25:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:24 .. 01:25:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 01:24 .dockerignore 01:25:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:24 .git 01:25:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:24 .github 01:25:44 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 01:24 .gitignore 01:25:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:24 .golangci.yml 01:25:44 drwx------ 3 jenkins jenkins 4096 Apr 18 01:24 .semver 01:25:44 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 18 01:24 Attribution.txt 01:25:44 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 18 01:24 CHANGELOG.md 01:25:44 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:24 Dockerfile 01:25:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:24 GOVERNANCE.md 01:25:44 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 01:24 Jenkinsfile 01:25:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:24 LICENSE 01:25:44 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:24 Makefile 01:25:44 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 01:24 OWNERS.md 01:25:44 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 18 01:24 README.md 01:25:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 01:24 VERSION 01:25:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:24 bin 01:25:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:24 cmd 01:25:44 -rw-r--r-- 1 jenkins jenkins 17887 Apr 18 01:25 coverage.out 01:25:44 -rw-rw-r-- 1 jenkins jenkins 3217 Apr 18 01:24 go.mod 01:25:44 -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 01:24 go.sum 01:25:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:24 internal 01:25:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:24 mock 01:25:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:24 snap 01:25:44 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 01:24 version.go [Pipeline] isUnix [Pipeline] sh 01:25:44 + 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=eff5c27fd54bad87d805a8608d239d4b128f915d --label arch=amd64 --label version=0.0.0 . 01:25:44 Sending build context to Docker daemon 5.854MB 01:25:44 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:25:44 Step 2/24 : FROM ${BASE} AS builder 01:25:44 ---> 2d231f2ff798 01:25:44 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:44 ---> Running in 9c06439f4a20 01:25:44 Removing intermediate container 9c06439f4a20 01:25:44 ---> 5c7fd7ecc1ee 01:25:44 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:25:44 ---> Running in de9304c4623e 01:25:44 Removing intermediate container de9304c4623e 01:25:44 ---> 36035994de5c 01:25:44 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:44 ---> Running in a2743e8f6c8b 01:25:45 Removing intermediate container a2743e8f6c8b 01:25:45 ---> 2648593bba1d 01:25:45 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:45 ---> Running in 6c4db5aea973 01:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:25:47 OK: 224 MiB in 56 packages 01:25:47 Removing intermediate container 6c4db5aea973 01:25:47 ---> 4ee83196d0a1 01:25:47 Step 7/24 : WORKDIR /device-mqtt-go 01:25:47 ---> Running in 6904791957e7 01:25:47 Removing intermediate container 6904791957e7 01:25:47 ---> a3dc8ce607a2 01:25:47 Step 8/24 : COPY go.mod vendor* ./ 01:25:47 ---> 1e89da1464ab 01:25:47 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:47 ---> Running in 1c20a8f5c8b0 01:25:48 Removing intermediate container 1c20a8f5c8b0 01:25:48 ---> dd0f77e9121c 01:25:48 Step 10/24 : COPY . . 01:25:48 ---> 21fd4834cafa 01:25:48 Step 11/24 : ARG MAKE='make build' 01:25:48 ---> Running in 7a9f9b16bd67 01:25:48 Removing intermediate container 7a9f9b16bd67 01:25:48 ---> fc8a4a9cce23 01:25:48 Step 12/24 : RUN $MAKE 01:25:48 ---> Running in ada90f745f33 01:25:49 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:26:11 Removing intermediate container ada90f745f33 01:26:11 ---> b7d906d91eb9 01:26:11 Step 13/24 : FROM alpine:3.14 01:26:11 3.14: Pulling from library/alpine 01:26:11 8663204ce13b: Pulling fs layer 01:26:11 8663204ce13b: Verifying Checksum 01:26:11 8663204ce13b: Download complete 01:26:11 8663204ce13b: Pull complete 01:26:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:26:11 Status: Downloaded newer image for alpine:3.14 01:26:11 ---> e04c818066af 01:26:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:26:11 ---> Running in 4a668a970e4a 01:26:11 Removing intermediate container 4a668a970e4a 01:26:11 ---> cf574142ae4d 01:26:11 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:26:11 ---> Running in 495cbb1d0b59 01:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:26:11 (1/6) Installing dumb-init (1.2.5-r1) 01:26:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:26:11 (3/6) Installing libsodium (1.0.18-r0) 01:26:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:26:11 (5/6) Installing libzmq (4.3.4-r0) 01:26:11 (6/6) Installing zeromq (4.3.4-r0) 01:26:11 Executing busybox-1.33.1-r7.trigger 01:26:11 OK: 8 MiB in 20 packages 01:26:11 Removing intermediate container 495cbb1d0b59 01:26:11 ---> 02f564d54364 01:26:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:26:11 ---> 9755e673c365 01:26:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:26:11 ---> e1e2518c2d1c 01:26:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:26:11 ---> 426757c40b72 01:26:11 Step 19/24 : EXPOSE 59982 01:26:11 ---> Running in fd4e78c1dcb7 01:26:11 Removing intermediate container fd4e78c1dcb7 01:26:11 ---> 74a0a5dbc4ca 01:26:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:26:11 ---> Running in 1bb51152ad1e 01:26:11 Removing intermediate container 1bb51152ad1e 01:26:11 ---> ce6777dd310d 01:26:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:26:11 ---> Running in d7bff3d39b8a 01:26:11 Removing intermediate container d7bff3d39b8a 01:26:11 ---> e59ebd356a47 01:26:11 Step 22/24 : LABEL arch=amd64 01:26:11 ---> Running in 038dc92b2805 01:26:11 Removing intermediate container 038dc92b2805 01:26:11 ---> 5d82616a2498 01:26:11 Step 23/24 : LABEL git_sha=eff5c27fd54bad87d805a8608d239d4b128f915d 01:26:11 ---> Running in 00ae15af0294 01:26:11 Removing intermediate container 00ae15af0294 01:26:11 ---> 95e293bbbbed 01:26:11 Step 24/24 : LABEL version=0.0.0 01:26:11 ---> Running in 25672feabe37 01:26:11 Removing intermediate container 25672feabe37 01:26:11 ---> a5f84fc79883 01:26:11 [Warning] One or more build-args [ARCH] were not consumed 01:26:11 Successfully built a5f84fc79883 01:26:11 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 01:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:12 01:26:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:26:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:12 latest: Pulling from edgex-lftools-log-publisher 01:26:12 5eb5b503b376: Pulling fs layer 01:26:12 5c69ac0246d0: Pulling fs layer 01:26:12 ec43610c2a17: Pulling fs layer 01:26:12 3a2ae6a8a46f: Pulling fs layer 01:26:12 33b1e0a273af: Pulling fs layer 01:26:12 5d3b04190fa2: Pulling fs layer 01:26:12 2f39f015ded8: Pulling fs layer 01:26:12 3a2ae6a8a46f: Waiting 01:26:12 33b1e0a273af: Waiting 01:26:12 5d3b04190fa2: Waiting 01:26:12 2f39f015ded8: Waiting 01:26:12 5c69ac0246d0: Verifying Checksum 01:26:12 5c69ac0246d0: Download complete 01:26:12 3a2ae6a8a46f: Download complete 01:26:12 33b1e0a273af: Verifying Checksum 01:26:12 33b1e0a273af: Download complete 01:26:12 5d3b04190fa2: Verifying Checksum 01:26:12 5d3b04190fa2: Download complete 01:26:12 ec43610c2a17: Verifying Checksum 01:26:12 ec43610c2a17: Download complete 01:26:12 5eb5b503b376: Verifying Checksum 01:26:12 5eb5b503b376: Download complete 01:26:13 2f39f015ded8: Download complete 01:26:13 5eb5b503b376: Pull complete 01:26:14 5c69ac0246d0: Pull complete 01:26:14 ec43610c2a17: Pull complete 01:26:14 3a2ae6a8a46f: Pull complete 01:26:14 33b1e0a273af: Pull complete 01:26:14 5d3b04190fa2: Pull complete 01:26:19 2f39f015ded8: Pull complete 01:26:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:26:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:26:19 prd-ubuntu20.04-docker-8c-8g-21177 does not seem to be running inside a container 01:26:19 $ 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-363 -v /w/workspace/gexfoundry_device-mqtt-go_PR-363:/w/workspace/gexfoundry_device-mqtt-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-363@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 01:26:21 $ docker top 785d670d55bb4ea8e066a63e7db2bba84d6908dc093f7f0cc53f01c06745bf47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:21 ---> job-cost.sh 01:26:21 lf-activate-venv: SKIPPING 01:26:21 INFO: No Stack... 01:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 01:26:22 INFO: Archiving Costs [Pipeline] sh 01:26:22 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives/cost.csv 01:26:22 + cut -d, -f6 [Pipeline] lock 01:26:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] 01:26:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] did not exist. Created. 01:26:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:23 + echo total: 0.2199999988079071 [Pipeline] stash 01:26:23 Stashed 1 file(s) [Pipeline] } 01:26:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:23 $ docker stop --time=1 785d670d55bb4ea8e066a63e7db2bba84d6908dc093f7f0cc53f01c06745bf47 01:26:24 $ docker rm -f 785d670d55bb4ea8e066a63e7db2bba84d6908dc093f7f0cc53f01c06745bf47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:28:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21180 in /w/workspace/gexfoundry_device-mqtt-go_PR-363 [Pipeline] { [Pipeline] ws 01:28:04 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:28:04 Selected Git installation does not exist. Using Default 01:28:04 The recommended git tool is: NONE 01:28:09 using credential edgex-jenkins-ssh 01:28:09 Cloning the remote Git repository 01:28:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:28:10 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:28:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:28:10 > git --version # timeout=10 01:28:10 > git --version # 'git version 2.25.1' 01:28:10 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:28:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:11 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:28:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:28:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:28:12 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit eff5c27fd54bad87d805a8608d239d4b128f915d 01:28:12 Merge succeeded, producing eff5c27fd54bad87d805a8608d239d4b128f915d 01:28:12 Checking out Revision eff5c27fd54bad87d805a8608d239d4b128f915d (PR-363) 01:28:12 > git config core.sparsecheckout # timeout=10 01:28:12 > git checkout -f eff5c27fd54bad87d805a8608d239d4b128f915d # timeout=10 01:28:12 > git remote # timeout=10 01:28:12 > git config --get remote.origin.url # timeout=10 01:28:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:12 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 01:28:12 > git rev-parse HEAD^{commit} # timeout=10 01:28:12 > git config core.sparsecheckout # timeout=10 01:28:12 > git checkout -f eff5c27fd54bad87d805a8608d239d4b128f915d # timeout=10 01:28:16 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:28:16 > git --version # timeout=10 01:28:16 > git --version # 'git version 2.25.1' 01:28:16 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:28:18 Dload Upload Total Spent Left Speed 01:28:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 156k 0 --:--:-- --:--:-- --:--:-- 158k [Pipeline] sh 01:28:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:28:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:28:19 + sudo tee /etc/docker/daemon.new 01:28:19 { 01:28:19 "registry-mirrors": [ 01:28:19 "https://nexus3.edgexfoundry.org:10001" 01:28:19 ], 01:28:19 "bip": "10.250.0.254/24", 01:28:19 "hosts": [ 01:28:19 "tcp://0.0.0.0:5555", 01:28:19 "unix:///var/run/docker.sock" 01:28:19 ], 01:28:19 "mtu": 1458, 01:28:19 "selinux-enabled": true, 01:28:19 "seccomp-profile": "/etc/docker/seccomp.json" 01:28:19 } [Pipeline] sh 01:28:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:28:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:38 provisioning config files... 01:28:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6871406435118393893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:38 ---> docker-login.sh 01:28:38 nexus3.edgexfoundry.org:10001 01:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:39 Configure a credential helper to remove this warning. See 01:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:39 01:28:39 Login Succeeded 01:28:39 nexus3.edgexfoundry.org:10002 01:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:40 Configure a credential helper to remove this warning. See 01:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:40 01:28:40 Login Succeeded 01:28:40 nexus3.edgexfoundry.org:10003 01:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:41 Configure a credential helper to remove this warning. See 01:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:41 01:28:41 Login Succeeded 01:28:41 nexus3.edgexfoundry.org:10004 01:28:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:41 Configure a credential helper to remove this warning. See 01:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:41 01:28:41 Login Succeeded 01:28:41 docker.io 01:28:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:42 Configure a credential helper to remove this warning. See 01:28:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:42 01:28:42 Login Succeeded 01:28:42 ---> docker-login.sh ends [Pipeline] } 01:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:28:43 ========================================================= 01:28:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:28:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:28:43 + 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 . 01:28:43 Sending build context to Docker daemon 3.041MB 01:28:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:28:44 Step 2/12 : FROM ${BASE} AS builder 01:28:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:28:44 9b3977197b4f: Pulling fs layer 01:28:44 1a89e8eeedd5: Pulling fs layer 01:28:44 94645a83ff95: Pulling fs layer 01:28:44 3f3a8bcf1eab: Pulling fs layer 01:28:44 0c92f367c5e7: Pulling fs layer 01:28:44 f7c0051592d6: Pulling fs layer 01:28:44 a227ed2f7395: Pulling fs layer 01:28:44 7b1c46037f91: Pulling fs layer 01:28:44 f7c0051592d6: Waiting 01:28:44 a227ed2f7395: Waiting 01:28:44 7b1c46037f91: Waiting 01:28:44 3f3a8bcf1eab: Waiting 01:28:44 0c92f367c5e7: Waiting 01:28:44 94645a83ff95: Verifying Checksum 01:28:44 94645a83ff95: Download complete 01:28:44 1a89e8eeedd5: Verifying Checksum 01:28:44 1a89e8eeedd5: Download complete 01:28:44 0c92f367c5e7: Verifying Checksum 01:28:44 0c92f367c5e7: Download complete 01:28:44 f7c0051592d6: Verifying Checksum 01:28:44 f7c0051592d6: Download complete 01:28:44 9b3977197b4f: Verifying Checksum 01:28:44 9b3977197b4f: Download complete 01:28:44 a227ed2f7395: Verifying Checksum 01:28:44 a227ed2f7395: Download complete 01:28:45 9b3977197b4f: Pull complete 01:28:45 1a89e8eeedd5: Pull complete 01:28:45 94645a83ff95: Pull complete 01:28:46 7b1c46037f91: Verifying Checksum 01:28:46 7b1c46037f91: Download complete 01:28:47 3f3a8bcf1eab: Verifying Checksum 01:28:47 3f3a8bcf1eab: Download complete 01:28:59 3f3a8bcf1eab: Pull complete 01:28:59 0c92f367c5e7: Pull complete 01:28:59 f7c0051592d6: Pull complete 01:28:59 a227ed2f7395: Pull complete 01:29:04 7b1c46037f91: Pull complete 01:29:04 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:29:04 ---> f79e39bc4007 01:29:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:29:06 ---> Running in 7bf91cbe6d6f 01:29:06 Removing intermediate container 7bf91cbe6d6f 01:29:06 ---> 2e46042c1982 01:29:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:29:06 ---> Running in 09ec3da6d0be 01:29:07 Removing intermediate container 09ec3da6d0be 01:29:07 ---> 3143dd63df1a 01:29:07 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:07 ---> Running in adb263394d5b 01:29:09 Removing intermediate container adb263394d5b 01:29:09 ---> 875b5f318924 01:29:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:09 ---> Running in f1aac4fa848b 01:29:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:29:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:29:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:29:13 (2/4) Installing libedit (20210910.3.1-r0) 01:29:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:29:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:29:13 Executing busybox-1.34.1-r3.trigger 01:29:13 OK: 224 MiB in 56 packages 01:29:14 Removing intermediate container f1aac4fa848b 01:29:14 ---> f4a420eae5cc 01:29:14 Step 7/12 : WORKDIR /device-mqtt-go 01:29:14 ---> Running in da3c9d0c8948 01:29:14 Removing intermediate container da3c9d0c8948 01:29:14 ---> 3a141b40dde8 01:29:14 Step 8/12 : COPY go.mod vendor* ./ 01:29:15 ---> bb2a70e6be54 01:29:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:15 ---> Running in 99c1ab028374 01:30:02 Removing intermediate container 99c1ab028374 01:30:02 ---> 05b840f4326f 01:30:02 Step 10/12 : COPY . . 01:30:03 ---> 7beaa8fb323f 01:30:03 Step 11/12 : ARG MAKE='make build' 01:30:03 ---> Running in e17c83d5c30b 01:30:03 Removing intermediate container e17c83d5c30b 01:30:03 ---> b805b979fc4a 01:30:03 Step 12/12 : RUN $MAKE 01:30:04 ---> Running in 9c47b47f8de6 01:30:05 noop 01:30:05 Removing intermediate container 9c47b47f8de6 01:30:05 ---> d69d32ab9b35 01:30:05 Successfully built d69d32ab9b35 01:30:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:30:06 + docker inspect -f . ci-base-image-arm64 01:30:06 . [Pipeline] withDockerContainer 01:30:06 prd-ubuntu20.04-docker-arm64-4c-16g-21180 does not seem to be running inside a container 01:30:06 $ 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 01:30:07 $ docker top e2a9c2c7c75ecec054b5119f9380f0afe92b0212067c3589565539b4806ca7b5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:08 + go version 01:30:08 go version go1.17.6 linux/arm64 [Pipeline] } 01:30:09 $ docker stop --time=1 e2a9c2c7c75ecec054b5119f9380f0afe92b0212067c3589565539b4806ca7b5 01:30:10 $ docker rm -f e2a9c2c7c75ecec054b5119f9380f0afe92b0212067c3589565539b4806ca7b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:30:11 + docker inspect -f . ci-base-image-arm64 01:30:11 . [Pipeline] withDockerContainer 01:30:11 prd-ubuntu20.04-docker-arm64-4c-16g-21180 does not seem to be running inside a container 01:30:11 $ 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 01:30:13 $ docker top e5d9f86cd33b0ee98457e6388a98fd5d6d17aa4e28850a957ea8f58e225f608e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:30:14 + make test 01:30:14 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:30:16 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:31:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:31:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 21.8% of statements 01:31:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:31:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:31:53 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:32:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:32:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:32:17 $ docker stop --time=1 e5d9f86cd33b0ee98457e6388a98fd5d6d17aa4e28850a957ea8f58e225f608e 01:32:18 $ docker rm -f e5d9f86cd33b0ee98457e6388a98fd5d6d17aa4e28850a957ea8f58e225f608e [Pipeline] // withDockerContainer [Pipeline] sh 01:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:20 Warning: overwriting stash ‘coverage-report’ 01:32:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:21 + ls -al . 01:32:21 total 192 01:32:21 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 01:32 . 01:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:28 .. 01:32:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 01:28 .dockerignore 01:32:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:28 .git 01:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:28 .github 01:32:21 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 01:28 .gitignore 01:32:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:28 .golangci.yml 01:32:21 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 18 01:28 Attribution.txt 01:32:21 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 18 01:28 CHANGELOG.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:28 Dockerfile 01:32:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:28 GOVERNANCE.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 01:28 Jenkinsfile 01:32:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:28 LICENSE 01:32:21 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:28 Makefile 01:32:21 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 01:28 OWNERS.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 18 01:28 README.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 01:24 VERSION 01:32:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:28 bin 01:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:28 cmd 01:32:21 -rw-r--r-- 1 jenkins jenkins 17887 Apr 18 01:31 coverage.out 01:32:21 -rw-rw-r-- 1 jenkins jenkins 3217 Apr 18 01:28 go.mod 01:32:21 -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 01:28 go.sum 01:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:28 internal 01:32:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:28 mock 01:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:28 snap 01:32:21 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 01:28 version.go [Pipeline] isUnix [Pipeline] sh 01:32:22 + 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=eff5c27fd54bad87d805a8608d239d4b128f915d --label arch=arm64 --label version=0.0.0 . 01:32:22 Sending build context to Docker daemon 3.06MB 01:32:22 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:32:22 Step 2/24 : FROM ${BASE} AS builder 01:32:22 ---> d69d32ab9b35 01:32:22 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:32:22 ---> Running in f440fade4df8 01:32:22 Removing intermediate container f440fade4df8 01:32:22 ---> f929a74104bf 01:32:22 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:32:23 ---> Running in 8ac9922a765e 01:32:23 Removing intermediate container 8ac9922a765e 01:32:23 ---> 1f17e6e77831 01:32:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:23 ---> Running in 089cf4a97c1c 01:32:25 Removing intermediate container 089cf4a97c1c 01:32:25 ---> a84207aa2e50 01:32:25 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:25 ---> Running in 7078ea8d1fde 01:32:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:32:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:32:28 OK: 224 MiB in 56 packages 01:32:29 Removing intermediate container 7078ea8d1fde 01:32:29 ---> c8886aa52f1a 01:32:29 Step 7/24 : WORKDIR /device-mqtt-go 01:32:29 ---> Running in 69bc3d23b19b 01:32:30 Removing intermediate container 69bc3d23b19b 01:32:30 ---> 1a281f86424d 01:32:30 Step 8/24 : COPY go.mod vendor* ./ 01:32:30 ---> 5bc7dde55118 01:32:30 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:30 ---> Running in 2f9730831ee8 01:32:32 Removing intermediate container 2f9730831ee8 01:32:32 ---> 082249a57616 01:32:32 Step 10/24 : COPY . . 01:32:33 ---> c1e5762c3f97 01:32:33 Step 11/24 : ARG MAKE='make build' 01:32:33 ---> Running in 9f4cc344f767 01:32:34 Removing intermediate container 9f4cc344f767 01:32:34 ---> 2ad55fc89cb6 01:32:34 Step 12/24 : RUN $MAKE 01:32:34 ---> Running in d959e7c84d4c 01:32:35 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:34:57 Removing intermediate container d959e7c84d4c 01:34:57 ---> 93af0122f18b 01:34:57 Step 13/24 : FROM alpine:3.14 01:34:57 3.14: Pulling from library/alpine 01:34:57 455c02918c45: Pulling fs layer 01:34:57 455c02918c45: Verifying Checksum 01:34:57 455c02918c45: Download complete 01:34:57 455c02918c45: Pull complete 01:34:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:34:57 Status: Downloaded newer image for alpine:3.14 01:34:57 ---> ac73e934f311 01:34:57 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:57 ---> Running in daab8ccce19f 01:34:57 Removing intermediate container daab8ccce19f 01:34:57 ---> c8b02e4033ac 01:34:57 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:34:57 ---> Running in 8a2fa9bb2922 01:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:34:57 (1/6) Installing dumb-init (1.2.5-r1) 01:34:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:34:57 (3/6) Installing libsodium (1.0.18-r0) 01:34:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:34:57 (5/6) Installing libzmq (4.3.4-r0) 01:34:57 (6/6) Installing zeromq (4.3.4-r0) 01:34:57 Executing busybox-1.33.1-r7.trigger 01:34:57 OK: 8 MiB in 20 packages 01:34:57 Removing intermediate container 8a2fa9bb2922 01:34:57 ---> f130bc794797 01:34:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:34:57 ---> dee9e55ffeb7 01:34:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:57 ---> 64d8fbbd63ec 01:34:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:57 ---> 520d4f27ad15 01:34:57 Step 19/24 : EXPOSE 59982 01:34:57 ---> Running in 8b049ad8763e 01:34:57 Removing intermediate container 8b049ad8763e 01:34:57 ---> 2965972a5677 01:34:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:34:57 ---> Running in 8fe222200ef7 01:34:57 Removing intermediate container 8fe222200ef7 01:34:57 ---> d22437123043 01:34:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:57 ---> Running in 28fa02a3580a 01:34:57 Removing intermediate container 28fa02a3580a 01:34:57 ---> 4e6715fa6a37 01:34:57 Step 22/24 : LABEL arch=arm64 01:34:57 ---> Running in 34199d1b15df 01:34:57 Removing intermediate container 34199d1b15df 01:34:57 ---> 3a9d4a7d0b31 01:34:57 Step 23/24 : LABEL git_sha=eff5c27fd54bad87d805a8608d239d4b128f915d 01:34:57 ---> Running in d6177542ff7b 01:34:57 Removing intermediate container d6177542ff7b 01:34:57 ---> 2f5ed15ef8bf 01:34:57 Step 24/24 : LABEL version=0.0.0 01:34:57 ---> Running in 45e71450048a 01:34:57 Removing intermediate container 45e71450048a 01:34:57 ---> c15b24b17ac8 01:34:57 [Warning] One or more build-args [ARCH] were not consumed 01:34:57 Successfully built c15b24b17ac8 01:34:57 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 01:34:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:58 01:34:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:34:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:58 arm64: Pulling from edgex-lftools-log-publisher 01:34:58 8998bd30e6a1: Pulling fs layer 01:34:58 04944245beec: Pulling fs layer 01:34:58 699f458cf7ca: Pulling fs layer 01:34:58 765212b225bb: Pulling fs layer 01:34:58 f23df028b6ca: Pulling fs layer 01:34:58 d65c8cfc05b1: Pulling fs layer 01:34:58 2437ff75d9bd: Pulling fs layer 01:34:58 f23df028b6ca: Waiting 01:34:58 d65c8cfc05b1: Waiting 01:34:58 2437ff75d9bd: Waiting 01:34:58 765212b225bb: Waiting 01:34:58 04944245beec: Download complete 01:34:58 765212b225bb: Verifying Checksum 01:34:58 765212b225bb: Download complete 01:34:58 f23df028b6ca: Verifying Checksum 01:34:58 f23df028b6ca: Download complete 01:34:58 d65c8cfc05b1: Verifying Checksum 01:34:58 d65c8cfc05b1: Download complete 01:34:58 699f458cf7ca: Verifying Checksum 01:34:58 699f458cf7ca: Download complete 01:34:59 8998bd30e6a1: Verifying Checksum 01:34:59 8998bd30e6a1: Download complete 01:35:01 2437ff75d9bd: Verifying Checksum 01:35:01 2437ff75d9bd: Download complete 01:35:03 8998bd30e6a1: Pull complete 01:35:03 04944245beec: Pull complete 01:35:05 699f458cf7ca: Pull complete 01:35:05 765212b225bb: Pull complete 01:35:06 f23df028b6ca: Pull complete 01:35:06 d65c8cfc05b1: Pull complete 01:35:22 2437ff75d9bd: Pull complete 01:35:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:35:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:35:22 prd-ubuntu20.04-docker-arm64-4c-16g-21180 does not seem to be running inside a container 01:35:22 $ 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 01:35:24 $ docker top f37f419886134502214dc7d682fafb89164153e4b6eaeb9eb00a283681f61297 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:25 ---> job-cost.sh 01:35:25 lf-activate-venv: SKIPPING 01:35:25 INFO: No Stack... 01:35:26 INFO: Retrieving Pricing Info for: v3-standard-4 01:35:27 INFO: Archiving Costs [Pipeline] sh 01:35:27 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:35:27 + cut -d, -f6 [Pipeline] lock 01:35:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] 01:35:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] did not exist. Created. 01:35:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:28 /w/workspace/device-mqtt-go/1@tmp/durable-8fd9d9c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:35:29 + echo total: 0.10999999940395355 [Pipeline] stash 01:35:29 Warning: overwriting stash ‘stack-cost’ 01:35:29 Stashed 1 file(s) [Pipeline] } 01:35:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:29 $ docker stop --time=1 f37f419886134502214dc7d682fafb89164153e4b6eaeb9eb00a283681f61297 01:35:31 $ docker rm -f f37f419886134502214dc7d682fafb89164153e4b6eaeb9eb00a283681f61297 [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 01:35:32 provisioning config files... 01:35:32 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/config6934736169666780971tmp [Pipeline] { [Pipeline] sh 01:35:32 + set +x 01:35:32 + curl -s https://codecov.io/bash 01:35:32 + bash -s -- 01:35:32 01:35:32 _____ _ 01:35:32 / ____| | | 01:35:32 | | ___ __| | ___ ___ _____ __ 01:35:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:35:32 | |___| (_) | (_| | __/ (_| (_) \ V / 01:35:32 \_____\___/ \__,_|\___|\___\___/ \_/ 01:35:32 Bash-1.0.6 01:35:32 01:35:32 01:35:32 ==> git version 2.25.1 found 01:35:32 ==> 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 01:35:32 Release-Date: 2020-01-08 01:35:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:35:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:35:32 ==> Jenkins CI detected. 01:35:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-363 01:35:32 project root: . 01:35:32 --> token set from env 01:35:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:35:32 ==> Running gcov in . (disable via -X gcov) 01:35:32 ==> Python coveragepy not found 01:35:32 ==> Searching for coverage reports in: 01:35:32 + . 01:35:32 -> Found 1 reports 01:35:32 ==> Detecting git/mercurial file structure 01:35:32 ==> Reading reports 01:35:32 + ./coverage.out bytes=17887 01:35:32 ==> Appending adjustments 01:35:32 https://docs.codecov.io/docs/fixing-reports 01:35:32 + Found adjustments 01:35:32 ==> Gzipping contents 01:35:32 4.0K /tmp/codecov.zoQoyz.gz 01:35:32 ==> Uploading reports 01:35:32 url: https://codecov.io 01:35:32 query: branch=PR-363&commit=eff5c27fd54bad87d805a8608d239d4b128f915d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=363&job=&cmd_args= 01:35:32 -> Pinging Codecov 01:35:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-363&commit=eff5c27fd54bad87d805a8608d239d4b128f915d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=363&job=&cmd_args= 01:35:33 -> Uploading to 01:35:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/7D719EC7BBE17E464838252E33014C33/eff5c27fd54bad87d805a8608d239d4b128f915d/75597d78-f880-4462-bac1-966ab7211e17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T013532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4686e36c249cc052ee11932d62bdad0c668f0e14e95097c95823065d7d462e9c 01:35:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:33 Dload Upload Total Spent Left Speed 01:35:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3254 0 0 100 3254 0 13672 --:--:-- --:--:-- --:--:-- 13672 01:35:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/eff5c27fd54bad87d805a8608d239d4b128f915d [Pipeline] } 01:35:33 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 01:35:35 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives ] 01:35:35 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives 01:35:35 total 16 01:35:35 drwxr-xr-x 3 root root 4096 Apr 18 01:26 . 01:35:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 01:26 .. 01:35:35 drwxr-xr-x 2 root root 4096 Apr 18 01:26 cost 01:35:35 -rw-r--r-- 1 root root 85 Apr 18 01:26 cost.csv 01:35:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives 01:35:35 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives 01:35:35 total 16 01:35:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 01:26 . 01:35:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 01:26 .. 01:35:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 01:26 cost 01:35:35 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:35:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:35:36 ---> package-listing.sh 01:35:36 ++ facter osfamily 01:35:36 ++ tr '[:upper:]' '[:lower:]' 01:35:36 + OS_FAMILY=debian 01:35:36 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-363 01:35:36 + START_PACKAGES=/tmp/packages_start.txt 01:35:36 + END_PACKAGES=/tmp/packages_end.txt 01:35:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:35:36 + PACKAGES=/tmp/packages_start.txt 01:35:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-363 ']' 01:35:36 + PACKAGES=/tmp/packages_end.txt 01:35:36 + case "${OS_FAMILY}" in 01:35:36 + dpkg -l 01:35:36 + grep '^ii' 01:35:36 + '[' -f /tmp/packages_start.txt ']' 01:35:36 + '[' -f /tmp/packages_end.txt ']' 01:35:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:35:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-363 ']' 01:35:36 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives/ 01:35:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-363/archives/ [Pipeline] echo 01:35:36 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:35:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:35:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:37 . [Pipeline] withDockerContainer 01:35:37 prd-ubuntu20.04-docker-8c-8g-21177 does not seem to be running inside a container 01:35:37 $ 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-363/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-363 -v /w/workspace/gexfoundry_device-mqtt-go_PR-363:/w/workspace/gexfoundry_device-mqtt-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-363@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 01:35:37 $ docker top 3a7807b498f000f0d0c0d60a85bbb89eadefe6c8a52153b163c3a6f79da5e6dc -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:38 + touch /tmp/pre-build-complete [Pipeline] sh 01:35:38 + mkdir -p /var/log/sysstat [Pipeline] sh 01:35:39 + ls /var/log/sa-host 01:35:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:39 provisioning config files... 01:35:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-363@tmp/config3436405117014824500tmp [Pipeline] { [Pipeline] echo 01:35:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:35:39 ---> create-netrc.sh [Pipeline] } 01:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:35:40 ---> python-tools-install.sh [Pipeline] echo 01:35:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:35:40 ---> sudo-logs.sh 01:35:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:35:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:35:40 ---> job-cost.sh 01:35:40 lf-activate-venv: SKIPPING 01:35:40 DEBUG: total: 0.2199999988079071 01:35:40 INFO: Retrieving Stack Cost... 01:35:41 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:41 INFO: Archiving Costs [Pipeline] echo 01:35:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:35:41 ---> logs-deploy.sh 01:35:41 lf-activate-venv: SKIPPING 01:35:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-363/1 01:35:41 INFO: archiving workspace using pattern(s): 01:35:42 Archives upload complete. 01:35:42 INFO: archiving logs to Nexus