Pull request #354 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 911c04381f0c199884a51156653d77c167c4116f+a7b844beee09313a8b0584ee433be2eeca10ef2f (138aaa3dd2a2f79c675c450ee8b9b0d8c49de32b) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2421157779894798813.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8385568522106215777.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14893672606254562426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4215667782447297721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10702437705664001310.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-354/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh559836946475135646.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10579’ Running on prd-ubuntu20.04-docker-8c-8g-10601 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 911c04381f0c199884a51156653d77c167c4116f Merge succeeded, producing 911c04381f0c199884a51156653d77c167c4116f Checking out Revision 911c04381f0c199884a51156653d77c167c4116f (PR-354) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:25:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:25:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:25:55 ========================================================= 01:25:55 EdgeX Global Pipelines Version Info 01:25:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:25:56 ------------------- 01:25:56 stable info: 01:25:56 ------------------- 01:25:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:25:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:25:56 Message: update stable to v1.0.221 01:25:56 ------------------- 01:25:56 experimental info: 01:25:56 ------------------- 01:25:56 Commited By: **** collab-it+edgex@linuxfoundation.org 01:25:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:25:56 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:25:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 911c043 [Pipeline] echo 01:25:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:58 provisioning config files... 01:25:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config6290950374907418312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:59 ---> docker-login.sh 01:25:59 nexus3.edgexfoundry.org:10001 01:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:59 Configure a credential helper to remove this warning. See 01:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:59 01:25:59 Login Succeeded 01:25:59 nexus3.edgexfoundry.org:10002 01:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:59 Configure a credential helper to remove this warning. See 01:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:59 01:25:59 Login Succeeded 01:25:59 nexus3.edgexfoundry.org:10003 01:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:59 Configure a credential helper to remove this warning. See 01:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:59 01:25:59 Login Succeeded 01:25:59 nexus3.edgexfoundry.org:10004 01:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:59 Configure a credential helper to remove this warning. See 01:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:59 01:25:59 Login Succeeded 01:25:59 docker.io 01:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:00 Configure a credential helper to remove this warning. See 01:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:00 01:26:00 Login Succeeded 01:26:00 ---> docker-login.sh ends [Pipeline] } 01:26:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:26:01 + git rev-list -1 --merges 911c04381f0c199884a51156653d77c167c4116f~1..911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo 01:26:01 -----------> git rev-list -1 --merges 911c04381f0c199884a51156653d77c167c4116f~1..911c04381f0c199884a51156653d77c167c4116f 911c04381f0c199884a51156653d77c167c4116f [false] [Pipeline] sh 01:26:01 + git log --format=format:%s -1 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo 01:26:01 ========================================================= 01:26:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:26:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:01 + git log --format=format:%s -1 911c04381f0c199884a51156653d77c167c4116f [Pipeline] echo 01:26:01 [semverPrep] GIT_COMMIT: 911c04381f0c199884a51156653d77c167c4116f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 01:26:02 [semverPrep] This is not a build commit. [Pipeline] sh 01:26:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:02 + grep -v github /etc/ssh/ssh_known_hosts 01:26:02 + [ -e /tmp/ssh_known_hosts ] 01:26:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:26:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:26:02 + sudo tee -a /etc/ssh/ssh_known_hosts 01:26:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:26:02 01:26:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:26:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:26:03 latest: Pulling from edgex-devops/git-semver 01:26:03 a0d0a0d46f8b: Pulling fs layer 01:26:03 3e5f54012d9b: Pulling fs layer 01:26:03 4c7163046ea9: Pulling fs layer 01:26:03 0c2d73faf560: Pulling fs layer 01:26:03 0c2d73faf560: Waiting 01:26:03 3e5f54012d9b: Verifying Checksum 01:26:03 3e5f54012d9b: Download complete 01:26:03 a0d0a0d46f8b: Verifying Checksum 01:26:03 a0d0a0d46f8b: Download complete 01:26:03 0c2d73faf560: Verifying Checksum 01:26:03 0c2d73faf560: Download complete 01:26:03 4c7163046ea9: Download complete 01:26:03 a0d0a0d46f8b: Pull complete 01:26:03 3e5f54012d9b: Pull complete 01:26:04 4c7163046ea9: Pull complete 01:26:04 0c2d73faf560: Pull complete 01:26:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:26:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:26:04 prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container 01:26:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:26:05 $ docker top 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:05 [ssh-agent] Looking for ssh-agent implementation... 01:26:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:05 $ docker exec 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent 01:26:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNdnNFN/agent.14 01:26:05 SSH_AGENT_PID=20 01:26:05 Running ssh-add (command line suppressed) 01:26:05 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_6101788555653015862.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_6101788555653015862.key) 01:26:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:05 + git tag --points-at HEAD [Pipeline] } 01:26:06 $ docker exec --env ******** --env ******** 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent -k 01:26:06 unset SSH_AUTH_SOCK; 01:26:06 unset SSH_AGENT_PID; 01:26:06 echo Agent pid 20 killed; 01:26:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:26:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:06 [ssh-agent] Looking for ssh-agent implementation... 01:26:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:06 $ docker exec 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent 01:26:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAEnFlH/agent.52 01:26:06 SSH_AGENT_PID=58 01:26:06 Running ssh-add (command line suppressed) 01:26:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_1428395718050450004.key (/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/private_key_1428395718050450004.key) 01:26:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:06 + git semver init 01:26:06 # -> Open(): unable to determine branch for HEAD 01:26:06 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.git 01:26:06 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-354 01:26:06 # $SEMVER_REMOTE_NAME = origin 01:26:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:26:06 # $SEMVER_USER_NAME = edgex-jenkins 01:26:06 # $SEMVER_BRANCH = PR-354 01:26:06 # $SEMVER_TEMP = /tmp/semver-543650215 01:26:06 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 01:26:07 # '/tmp/semver-543650215' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver' 01:26:07 # -> Force: false 01:26:07 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-354/.semver [Pipeline] } 01:26:07 $ docker exec --env ******** --env ******** 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 ssh-agent -k 01:26:08 unset SSH_AUTH_SOCK; 01:26:08 unset SSH_AGENT_PID; 01:26:08 echo Agent pid 58 killed; 01:26:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:08 + git semver [Pipeline] } 01:26:08 $ docker stop --time=1 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 01:26:09 $ docker rm -f 695daab1d217bb74b56f23d086007ef939111a166e881b696febb83e6684fd91 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:26:10 Stashed 1 file(s) [Pipeline] echo 01:26:10 [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:26:11 provisioning config files... 01:26:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config2435878737676483102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:11 ---> docker-login.sh 01:26:11 nexus3.edgexfoundry.org:10001 01:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:11 Configure a credential helper to remove this warning. See 01:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:11 01:26:11 Login Succeeded 01:26:11 nexus3.edgexfoundry.org:10002 01:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:11 Configure a credential helper to remove this warning. See 01:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:11 01:26:11 Login Succeeded 01:26:11 nexus3.edgexfoundry.org:10003 01:26:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:11 Configure a credential helper to remove this warning. See 01:26:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:11 01:26:11 Login Succeeded 01:26:11 nexus3.edgexfoundry.org:10004 01:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:12 Configure a credential helper to remove this warning. See 01:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:12 01:26:12 Login Succeeded 01:26:12 docker.io 01:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:12 Configure a credential helper to remove this warning. See 01:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:12 01:26:12 Login Succeeded 01:26:12 ---> docker-login.sh ends [Pipeline] } 01:26:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:12 ========================================================= 01:26:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:26:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:26:13 + 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:26:13 Sending build context to Docker daemon 5.791MB 01:26:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:26:13 Step 2/12 : FROM ${BASE} AS builder 01:26:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:13 59bf1c3509f3: Pulling fs layer 01:26:13 666ba61612fd: Pulling fs layer 01:26:13 8ed8ca486205: Pulling fs layer 01:26:13 4fe6c5a15a65: Pulling fs layer 01:26:13 22a0e8bec74d: Pulling fs layer 01:26:13 640e595b4fbd: Pulling fs layer 01:26:13 763cafe07f6e: Pulling fs layer 01:26:13 0c0b528cf693: Pulling fs layer 01:26:13 10935f4eaf8b: Pulling fs layer 01:26:13 4fe6c5a15a65: Waiting 01:26:13 22a0e8bec74d: Waiting 01:26:13 763cafe07f6e: Waiting 01:26:13 0c0b528cf693: Waiting 01:26:13 640e595b4fbd: Waiting 01:26:13 10935f4eaf8b: Waiting 01:26:13 8ed8ca486205: Verifying Checksum 01:26:13 8ed8ca486205: Download complete 01:26:13 666ba61612fd: Download complete 01:26:13 22a0e8bec74d: Verifying Checksum 01:26:13 22a0e8bec74d: Download complete 01:26:13 640e595b4fbd: Verifying Checksum 01:26:13 640e595b4fbd: Download complete 01:26:13 59bf1c3509f3: Verifying Checksum 01:26:13 59bf1c3509f3: Download complete 01:26:13 763cafe07f6e: Download complete 01:26:13 0c0b528cf693: Verifying Checksum 01:26:13 0c0b528cf693: Download complete 01:26:13 59bf1c3509f3: Pull complete 01:26:13 666ba61612fd: Pull complete 01:26:13 8ed8ca486205: Pull complete 01:26:13 10935f4eaf8b: Verifying Checksum 01:26:13 10935f4eaf8b: Download complete 01:26:14 4fe6c5a15a65: Verifying Checksum 01:26:14 4fe6c5a15a65: Download complete 01:26:18 4fe6c5a15a65: Pull complete 01:26:18 22a0e8bec74d: Pull complete 01:26:18 640e595b4fbd: Pull complete 01:26:18 763cafe07f6e: Pull complete 01:26:18 0c0b528cf693: Pull complete 01:26:21 10935f4eaf8b: Pull complete 01:26:21 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:26:21 ---> 99d49a6021b9 01:26:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:26:23 ---> Running in a69981a3bc38 01:26:23 Removing intermediate container a69981a3bc38 01:26:23 ---> 058f964d7549 01:26:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:26:23 ---> Running in 0baacae6f9a5 01:26:23 Removing intermediate container 0baacae6f9a5 01:26:23 ---> dfde6ef59195 01:26:23 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:23 ---> Running in 813945638ad2 01:26:23 Removing intermediate container 813945638ad2 01:26:23 ---> 541998cc320d 01:26:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:23 ---> Running in 6ed4425b54a9 01:26:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:26:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:26:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:26:25 (2/4) Installing libedit (20210910.3.1-r0) 01:26:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:26:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:26:25 Executing busybox-1.34.1-r3.trigger 01:26:25 OK: 224 MiB in 56 packages 01:26:26 Still waiting to schedule task 01:26:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10597’ 01:26:26 Removing intermediate container 6ed4425b54a9 01:26:26 ---> 1e8288d6f5f4 01:26:26 Step 7/12 : WORKDIR /device-mqtt-go 01:26:26 ---> Running in 7cd9f456b097 01:26:26 Removing intermediate container 7cd9f456b097 01:26:26 ---> 319e056be073 01:26:26 Step 8/12 : COPY go.mod vendor* ./ 01:26:26 ---> 2cfdddc70cac 01:26:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:26 ---> Running in 2fbe0bbef1ae 01:26:53 Removing intermediate container 2fbe0bbef1ae 01:26:53 ---> d6385739fb5b 01:26:53 Step 10/12 : COPY . . 01:26:53 ---> f9e2ac990d65 01:26:53 Step 11/12 : ARG MAKE='make build' 01:26:53 ---> Running in 7ce7ed8e13b3 01:26:53 Removing intermediate container 7ce7ed8e13b3 01:26:53 ---> 55254b929110 01:26:53 Step 12/12 : RUN $MAKE 01:26:53 ---> Running in e8d4f97ad430 01:26:53 noop 01:26:53 Removing intermediate container e8d4f97ad430 01:26:53 ---> b2354949b544 01:26:53 Successfully built b2354949b544 01:26:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:26:54 + docker inspect -f . ci-base-image-x86_64 01:26:54 . [Pipeline] withDockerContainer 01:26:54 prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container 01:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:54 $ docker top 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:55 + go version 01:26:55 go version go1.17.6 linux/amd64 [Pipeline] } 01:26:55 $ docker stop --time=1 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd 01:26:56 $ docker rm -f 2a214c1cc99bfc8d858e3a40c1ff80e9ab617d3ada31eeb0fef0c37a00bc80cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:26:57 + docker inspect -f . ci-base-image-x86_64 01:26:57 . [Pipeline] withDockerContainer 01:26:57 prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container 01:26:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:57 $ docker top 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:26:58 + make test 01:26:58 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:26:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:27:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:27:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.5% of statements 01:27:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:27:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:27:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:08 ./bin/test-attribution-txt.sh [Pipeline] echo 01:27:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:27:09 $ docker stop --time=1 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 01:27:10 $ docker rm -f 1be8e04983ea3f381cfde24064594e32f53561c5b23e101572dd017c1fa44170 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:12 + ls -al . 01:27:12 total 184 01:27:12 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 01:27 . 01:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:25 .. 01:27:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 01:25 .dockerignore 01:27:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 01:25 .git 01:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 .github 01:27:12 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 01:25 .gitignore 01:27:12 drwx------ 3 jenkins jenkins 4096 Apr 4 01:26 .semver 01:27:12 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 01:25 Attribution.txt 01:27:12 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 01:25 CHANGELOG.md 01:27:12 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 01:25 Dockerfile 01:27:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 01:25 GOVERNANCE.md 01:27:12 -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 01:25 Jenkinsfile 01:27:12 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 01:25 LICENSE 01:27:12 -rw-rw-r-- 1 jenkins jenkins 1030 Apr 4 01:25 Makefile 01:27:12 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 01:25 OWNERS.md 01:27:12 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 01:25 README.md 01:27:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 01:26 VERSION 01:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:25 bin 01:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 cmd 01:27:12 -rw-r--r-- 1 jenkins jenkins 17452 Apr 4 01:27 coverage.out 01:27:12 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 01:25 go.mod 01:27:12 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 01:25 go.sum 01:27:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:25 internal 01:27:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:25 mock 01:27:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:25 snap 01:27:12 -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 01:25 version.go [Pipeline] isUnix [Pipeline] sh 01:27:12 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=911c04381f0c199884a51156653d77c167c4116f --label arch=amd64 --label version=0.0.0 . 01:27:12 Sending build context to Docker daemon 5.809MB 01:27:12 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:27:12 Step 2/24 : FROM ${BASE} AS builder 01:27:12 ---> b2354949b544 01:27:12 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:12 ---> Running in 2f2f564ac686 01:27:13 Removing intermediate container 2f2f564ac686 01:27:13 ---> c3adb51c33d5 01:27:13 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:27:13 ---> Running in dfdc4f6e667a 01:27:13 Removing intermediate container dfdc4f6e667a 01:27:13 ---> 5fbdd972b96f 01:27:13 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:13 ---> Running in 0de7221ed483 01:27:13 Removing intermediate container 0de7221ed483 01:27:13 ---> 3c2df073d1d4 01:27:13 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:14 ---> Running in 8595d2ded495 01:27:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:15 OK: 224 MiB in 56 packages 01:27:15 Removing intermediate container 8595d2ded495 01:27:15 ---> 8ca9c6ca964b 01:27:15 Step 7/24 : WORKDIR /device-mqtt-go 01:27:15 ---> Running in e0cd1b6303b7 01:27:15 Removing intermediate container e0cd1b6303b7 01:27:15 ---> e9c5c0a30301 01:27:15 Step 8/24 : COPY go.mod vendor* ./ 01:27:15 ---> 81111c22b5d1 01:27:15 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:15 ---> Running in 2d2987423b1b 01:27:16 Removing intermediate container 2d2987423b1b 01:27:16 ---> 0adaac17ac16 01:27:16 Step 10/24 : COPY . . 01:27:16 ---> 64c215ab55ec 01:27:16 Step 11/24 : ARG MAKE='make build' 01:27:16 ---> Running in ff9718eb6be9 01:27:17 Removing intermediate container ff9718eb6be9 01:27:17 ---> bb991dadf674 01:27:17 Step 12/24 : RUN $MAKE 01:27:17 ---> Running in 46a127aca1c6 01:27:17 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 01:27:25 Removing intermediate container 46a127aca1c6 01:27:25 ---> b5f11e056450 01:27:25 Step 13/24 : FROM alpine:3.14 01:27:25 3.14: Pulling from library/alpine 01:27:25 cfab2db72209: Pulling fs layer 01:27:25 cfab2db72209: Verifying Checksum 01:27:25 cfab2db72209: Download complete 01:27:25 cfab2db72209: Pull complete 01:27:25 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 01:27:25 Status: Downloaded newer image for alpine:3.14 01:27:25 ---> 84b07dd2d1fd 01:27:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:27:25 ---> Running in bb84a3b01f2c 01:27:25 Removing intermediate container bb84a3b01f2c 01:27:25 ---> 79e33b12e232 01:27:25 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:27:25 ---> Running in 3993a83fc07f 01:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:27:26 (1/6) Installing dumb-init (1.2.5-r1) 01:27:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:27:26 (3/6) Installing libsodium (1.0.18-r0) 01:27:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:27:26 (5/6) Installing libzmq (4.3.4-r0) 01:27:26 (6/6) Installing zeromq (4.3.4-r0) 01:27:26 Executing busybox-1.33.1-r6.trigger 01:27:26 OK: 8 MiB in 20 packages 01:27:26 Removing intermediate container 3993a83fc07f 01:27:26 ---> 1956ee335642 01:27:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:27:27 ---> e3f883d80697 01:27:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:27:27 ---> c49254953856 01:27:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:27:27 ---> 5d2ba0bfc28c 01:27:27 Step 19/24 : EXPOSE 59982 01:27:27 ---> Running in bbccd5203d2f 01:27:27 Removing intermediate container bbccd5203d2f 01:27:27 ---> 11f5bfd37265 01:27:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:27:27 ---> Running in 971d44878892 01:27:27 Removing intermediate container 971d44878892 01:27:27 ---> c838c975cece 01:27:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:27:27 ---> Running in 377e10190ac2 01:27:27 Removing intermediate container 377e10190ac2 01:27:27 ---> 2ae59d2964e9 01:27:27 Step 22/24 : LABEL arch=amd64 01:27:27 ---> Running in 348ccfcc371e 01:27:27 Removing intermediate container 348ccfcc371e 01:27:27 ---> 088d05f5b1a3 01:27:27 Step 23/24 : LABEL git_sha=911c04381f0c199884a51156653d77c167c4116f 01:27:27 ---> Running in 0f3a5ccd14f5 01:27:28 Removing intermediate container 0f3a5ccd14f5 01:27:28 ---> 15923868f3e9 01:27:28 Step 24/24 : LABEL version=0.0.0 01:27:28 ---> Running in ae354348cae6 01:27:28 Removing intermediate container ae354348cae6 01:27:28 ---> c10fe539e1b4 01:27:28 [Warning] One or more build-args [ARCH] were not consumed 01:27:28 Successfully built c10fe539e1b4 01:27:28 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:27:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:28 01:27:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:27:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:29 latest: Pulling from edgex-lftools-log-publisher 01:27:29 5eb5b503b376: Pulling fs layer 01:27:29 5c69ac0246d0: Pulling fs layer 01:27:29 ec43610c2a17: Pulling fs layer 01:27:29 3a2ae6a8a46f: Pulling fs layer 01:27:29 33b1e0a273af: Pulling fs layer 01:27:29 5d3b04190fa2: Pulling fs layer 01:27:29 2f39f015ded8: Pulling fs layer 01:27:29 3a2ae6a8a46f: Waiting 01:27:29 33b1e0a273af: Waiting 01:27:29 5d3b04190fa2: Waiting 01:27:29 2f39f015ded8: Waiting 01:27:29 5c69ac0246d0: Verifying Checksum 01:27:29 5c69ac0246d0: Download complete 01:27:29 3a2ae6a8a46f: Download complete 01:27:29 ec43610c2a17: Download complete 01:27:29 33b1e0a273af: Verifying Checksum 01:27:29 33b1e0a273af: Download complete 01:27:29 5d3b04190fa2: Verifying Checksum 01:27:29 5d3b04190fa2: Download complete 01:27:29 5eb5b503b376: Verifying Checksum 01:27:29 5eb5b503b376: Download complete 01:27:30 2f39f015ded8: Download complete 01:27:30 5eb5b503b376: Pull complete 01:27:30 5c69ac0246d0: Pull complete 01:27:31 ec43610c2a17: Pull complete 01:27:31 3a2ae6a8a46f: Pull complete 01:27:31 33b1e0a273af: Pull complete 01:27:31 5d3b04190fa2: Pull complete 01:27:35 2f39f015ded8: Pull complete 01:27:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:27:35 prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container 01:27:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:37 $ docker top 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:37 ---> job-cost.sh 01:27:37 lf-activate-venv: SKIPPING 01:27:37 INFO: No Stack... 01:27:38 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:38 INFO: Archiving Costs [Pipeline] sh 01:27:39 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/cost.csv 01:27:39 + cut -d, -f6 [Pipeline] lock 01:27:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] 01:27:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] did not exist. Created. 01:27:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:39 + echo total: 0.2199999988079071 [Pipeline] stash 01:27:39 Stashed 1 file(s) [Pipeline] } 01:27:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:39 $ docker stop --time=1 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 01:27:40 $ docker rm -f 8dba1a6060e71c74f8585887c4879ea04ae355a605c875526d835179fcb5c4f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:28:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10606 in /w/workspace/gexfoundry_device-mqtt-go_PR-354 [Pipeline] { [Pipeline] ws 01:28:43 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:28:43 Selected Git installation does not exist. Using Default 01:28:43 The recommended git tool is: NONE 01:28:52 using credential edgex-jenkins-ssh 01:28:52 Cloning the remote Git repository 01:28:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:28:52 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:28:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:28:52 > git --version # timeout=10 01:28:52 > git --version # 'git version 2.25.1' 01:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:54 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit 911c04381f0c199884a51156653d77c167c4116f 01:28:55 Merge succeeded, producing 911c04381f0c199884a51156653d77c167c4116f 01:28:55 Checking out Revision 911c04381f0c199884a51156653d77c167c4116f (PR-354) 01:28:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:28:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:28:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:28:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:28:54 > git config core.sparsecheckout # timeout=10 01:28:54 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 01:28:55 > git remote # timeout=10 01:28:55 > git config --get remote.origin.url # timeout=10 01:28:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:55 > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 01:28:55 > git rev-parse HEAD^{commit} # timeout=10 01:28:55 > git config core.sparsecheckout # timeout=10 01:28:55 > git checkout -f 911c04381f0c199884a51156653d77c167c4116f # timeout=10 01:28:59 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 01:28:59 > git --version # timeout=10 01:29:00 > git --version # 'git version 2.25.1' 01:29:00 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:01 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:01 Dload Upload Total Spent Left Speed 01:29:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46261 [Pipeline] sh 01:29:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 01:29:02 sudo tee /etc/docker/daemon.new 01:29:02 { 01:29:02 "registry-mirrors": [ 01:29:02 "https://nexus3.edgexfoundry.org:10001" 01:29:02 ], 01:29:02 "bip": "10.250.0.254/24", 01:29:02 "hosts": [ 01:29:02 "tcp://0.0.0.0:5555", 01:29:02 "unix:///var/run/docker.sock" 01:29:02 ], 01:29:02 "mtu": 1458, 01:29:02 "selinux-enabled": true, 01:29:02 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:02 } [Pipeline] sh 01:29:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:21 provisioning config files... 01:29:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config389800882230362580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:21 ---> docker-login.sh 01:29:21 nexus3.edgexfoundry.org:10001 01:29:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:22 Configure a credential helper to remove this warning. See 01:29:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:22 01:29:22 Login Succeeded 01:29:22 nexus3.edgexfoundry.org:10002 01:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:23 Configure a credential helper to remove this warning. See 01:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:23 01:29:23 Login Succeeded 01:29:23 nexus3.edgexfoundry.org:10003 01:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:23 Configure a credential helper to remove this warning. See 01:29:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:23 01:29:23 Login Succeeded 01:29:23 nexus3.edgexfoundry.org:10004 01:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:24 Configure a credential helper to remove this warning. See 01:29:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:24 01:29:24 Login Succeeded 01:29:24 docker.io 01:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:25 Configure a credential helper to remove this warning. See 01:29:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:25 01:29:25 Login Succeeded 01:29:25 ---> docker-login.sh ends [Pipeline] } 01:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:26 ========================================================= 01:29:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:29:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:29:26 + 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:29:26 Sending build context to Docker daemon 3.018MB 01:29:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:29:26 Step 2/12 : FROM ${BASE} AS builder 01:29:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:29:27 9b3977197b4f: Pulling fs layer 01:29:27 1a89e8eeedd5: Pulling fs layer 01:29:27 94645a83ff95: Pulling fs layer 01:29:27 3f3a8bcf1eab: Pulling fs layer 01:29:27 0c92f367c5e7: Pulling fs layer 01:29:27 f7c0051592d6: Pulling fs layer 01:29:27 a227ed2f7395: Pulling fs layer 01:29:27 7b1c46037f91: Pulling fs layer 01:29:27 0c92f367c5e7: Waiting 01:29:27 3f3a8bcf1eab: Waiting 01:29:27 7b1c46037f91: Waiting 01:29:27 f7c0051592d6: Waiting 01:29:27 a227ed2f7395: Waiting 01:29:27 94645a83ff95: Verifying Checksum 01:29:27 94645a83ff95: Download complete 01:29:27 1a89e8eeedd5: Verifying Checksum 01:29:27 1a89e8eeedd5: Download complete 01:29:27 0c92f367c5e7: Download complete 01:29:27 f7c0051592d6: Verifying Checksum 01:29:27 f7c0051592d6: Download complete 01:29:27 9b3977197b4f: Download complete 01:29:27 a227ed2f7395: Verifying Checksum 01:29:27 a227ed2f7395: Download complete 01:29:27 9b3977197b4f: Pull complete 01:29:28 1a89e8eeedd5: Pull complete 01:29:29 94645a83ff95: Pull complete 01:29:29 7b1c46037f91: Verifying Checksum 01:29:29 7b1c46037f91: Download complete 01:29:30 3f3a8bcf1eab: Verifying Checksum 01:29:30 3f3a8bcf1eab: Download complete 01:29:42 3f3a8bcf1eab: Pull complete 01:29:42 0c92f367c5e7: Pull complete 01:29:43 f7c0051592d6: Pull complete 01:29:43 a227ed2f7395: Pull complete 01:29:50 7b1c46037f91: Pull complete 01:29:50 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:29:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:29:50 ---> f79e39bc4007 01:29:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:29:51 ---> Running in b0a80bc29725 01:29:51 Removing intermediate container b0a80bc29725 01:29:51 ---> 77347bb42165 01:29:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:29:51 ---> Running in b893ee00bc4f 01:29:52 Removing intermediate container b893ee00bc4f 01:29:52 ---> 9202d753af17 01:29:52 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:52 ---> Running in b483c4c3f82e 01:29:54 Removing intermediate container b483c4c3f82e 01:29:54 ---> b781a5881361 01:29:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:54 ---> Running in 0857c4e06912 01:29:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:29:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:29:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:29:57 (2/4) Installing libedit (20210910.3.1-r0) 01:29:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:29:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:29:57 Executing busybox-1.34.1-r3.trigger 01:29:57 OK: 224 MiB in 56 packages 01:29:58 Removing intermediate container 0857c4e06912 01:29:58 ---> 74e91c74e15a 01:29:58 Step 7/12 : WORKDIR /device-mqtt-go 01:29:58 ---> Running in ebff888c369a 01:29:58 Removing intermediate container ebff888c369a 01:29:58 ---> 5b00431ad754 01:29:58 Step 8/12 : COPY go.mod vendor* ./ 01:29:59 ---> f51ee0ea7772 01:29:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:59 ---> Running in bec8430642d1 01:31:21 Removing intermediate container bec8430642d1 01:31:21 ---> 8f90ff772305 01:31:21 Step 10/12 : COPY . . 01:31:21 ---> 0473122e10fa 01:31:21 Step 11/12 : ARG MAKE='make build' 01:31:21 ---> Running in 5472b448417f 01:31:21 Removing intermediate container 5472b448417f 01:31:21 ---> dc5a711cd486 01:31:21 Step 12/12 : RUN $MAKE 01:31:21 ---> Running in 1db78d22d128 01:31:22 noop 01:31:23 Removing intermediate container 1db78d22d128 01:31:23 ---> 349ae8caae27 01:31:23 Successfully built 349ae8caae27 01:31:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:31:24 + docker inspect -f . ci-base-image-arm64 01:31:24 . [Pipeline] withDockerContainer 01:31:24 prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container 01:31:24 $ 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:31:25 $ docker top 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:26 + go version 01:31:26 go version go1.17.6 linux/arm64 [Pipeline] } 01:31:26 $ docker stop --time=1 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f 01:31:28 $ docker rm -f 0432765049d4557c052eb24dc71b25ca3370eeadb6b395cad96efcfbe9c12a7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:31:29 + docker inspect -f . ci-base-image-arm64 01:31:29 . [Pipeline] withDockerContainer 01:31:29 prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container 01:31:29 $ 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:31:31 $ docker top 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:31:32 + make test 01:31:32 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:31:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:32:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:32:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements 01:32:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:32:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:32:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:32:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:32:57 $ docker stop --time=1 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 01:32:59 $ docker rm -f 65e16a7450f2780a1293fde48c5c20efcaa27bfd2e53d00818bf2c46ccceac66 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:00 Warning: overwriting stash ‘coverage-report’ 01:33:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:01 + ls -al . 01:33:01 total 180 01:33:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 01:32 . 01:33:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:28 .. 01:33:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 4 01:28 .dockerignore 01:33:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 01:28 .git 01:33:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 .github 01:33:01 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 01:28 .gitignore 01:33:01 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 4 01:28 Attribution.txt 01:33:01 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 4 01:28 CHANGELOG.md 01:33:01 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 4 01:28 Dockerfile 01:33:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 01:28 GOVERNANCE.md 01:33:01 -rw-rw-r-- 1 jenkins jenkins 678 Apr 4 01:28 Jenkinsfile 01:33:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 01:28 LICENSE 01:33:01 -rw-rw-r-- 1 jenkins jenkins 1030 Apr 4 01:28 Makefile 01:33:01 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 01:28 OWNERS.md 01:33:01 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 4 01:28 README.md 01:33:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 01:26 VERSION 01:33:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:28 bin 01:33:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 cmd 01:33:01 -rw-r--r-- 1 jenkins jenkins 17452 Apr 4 01:32 coverage.out 01:33:01 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 4 01:28 go.mod 01:33:01 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 01:28 go.sum 01:33:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 01:28 internal 01:33:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 01:28 mock 01:33:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 01:28 snap 01:33:01 -rw-rw-r-- 1 jenkins jenkins 227 Apr 4 01:28 version.go [Pipeline] isUnix [Pipeline] sh 01:33:01 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=911c04381f0c199884a51156653d77c167c4116f --label arch=arm64 --label version=0.0.0 . 01:33:02 Sending build context to Docker daemon 3.037MB 01:33:02 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:33:02 Step 2/24 : FROM ${BASE} AS builder 01:33:02 ---> 349ae8caae27 01:33:02 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:02 ---> Running in e215b0b70737 01:33:02 Removing intermediate container e215b0b70737 01:33:02 ---> 414933dc0649 01:33:02 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:33:02 ---> Running in 3801e8a6a9e2 01:33:03 Removing intermediate container 3801e8a6a9e2 01:33:03 ---> f3bf9b54ce1b 01:33:03 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:03 ---> Running in ad04d2933c36 01:33:05 Removing intermediate container ad04d2933c36 01:33:05 ---> 53fd3d5cf05f 01:33:05 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:05 ---> Running in cdcb75940869 01:33:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:33:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:33:08 OK: 224 MiB in 56 packages 01:33:08 Removing intermediate container cdcb75940869 01:33:08 ---> c650a38c7ce7 01:33:08 Step 7/24 : WORKDIR /device-mqtt-go 01:33:09 ---> Running in 0023735b55d2 01:33:09 Removing intermediate container 0023735b55d2 01:33:09 ---> 66667dea19e2 01:33:09 Step 8/24 : COPY go.mod vendor* ./ 01:33:10 ---> 99ea7f0eb19c 01:33:10 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:10 ---> Running in 04556b3e6ccf 01:33:12 Removing intermediate container 04556b3e6ccf 01:33:12 ---> da8c6aed1e53 01:33:12 Step 10/24 : COPY . . 01:33:13 ---> 1ccbf7d2d045 01:33:13 Step 11/24 : ARG MAKE='make build' 01:33:13 ---> Running in ce4f0d44b6ab 01:33:13 Removing intermediate container ce4f0d44b6ab 01:33:13 ---> f2fc6e2d7b41 01:33:13 Step 12/24 : RUN $MAKE 01:33:13 ---> Running in ff5d5f9029f0 01:33:15 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 01:34:02 Removing intermediate container ff5d5f9029f0 01:34:02 ---> 4a85670eaa1a 01:34:02 Step 13/24 : FROM alpine:3.14 01:34:02 3.14: Pulling from library/alpine 01:34:02 810d54c7e01b: Pulling fs layer 01:34:02 810d54c7e01b: Verifying Checksum 01:34:02 810d54c7e01b: Download complete 01:34:02 810d54c7e01b: Pull complete 01:34:08 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 01:34:08 Status: Downloaded newer image for alpine:3.14 01:34:08 ---> cc3d11fa2d52 01:34:08 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:08 ---> Running in 0403ffe2229d 01:34:08 Removing intermediate container 0403ffe2229d 01:34:08 ---> 609d33bbfa1a 01:34:08 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:34:08 ---> Running in d10ad27474c2 01:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:34:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:34:10 (1/6) Installing dumb-init (1.2.5-r1) 01:34:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:34:10 (3/6) Installing libsodium (1.0.18-r0) 01:34:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:34:10 (5/6) Installing libzmq (4.3.4-r0) 01:34:10 (6/6) Installing zeromq (4.3.4-r0) 01:34:10 Executing busybox-1.33.1-r6.trigger 01:34:10 OK: 8 MiB in 20 packages 01:34:11 Removing intermediate container d10ad27474c2 01:34:11 ---> 3bb19fa2f892 01:34:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:34:12 ---> 9984ee86742d 01:34:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:13 ---> 1452d69deb79 01:34:13 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:14 ---> 8eb6cb3abcb4 01:34:14 Step 19/24 : EXPOSE 59982 01:34:14 ---> Running in 64c0d72d10a7 01:34:14 Removing intermediate container 64c0d72d10a7 01:34:14 ---> e7a370e86329 01:34:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:34:14 ---> Running in 409d740b7662 01:34:14 Removing intermediate container 409d740b7662 01:34:14 ---> f98000e543ec 01:34:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:15 ---> Running in a4ccd7081eea 01:34:15 Removing intermediate container a4ccd7081eea 01:34:15 ---> 2d50f229c311 01:34:15 Step 22/24 : LABEL arch=arm64 01:34:15 ---> Running in 5d221ddbfa13 01:34:16 Removing intermediate container 5d221ddbfa13 01:34:16 ---> 3055d3e9e15a 01:34:16 Step 23/24 : LABEL git_sha=911c04381f0c199884a51156653d77c167c4116f 01:34:16 ---> Running in 5ad1e906935c 01:34:16 Removing intermediate container 5ad1e906935c 01:34:16 ---> ccf873a895fa 01:34:16 Step 24/24 : LABEL version=0.0.0 01:34:16 ---> Running in d46bc680a8ad 01:34:16 Removing intermediate container d46bc680a8ad 01:34:16 ---> 9656e6c6029c 01:34:16 [Warning] One or more build-args [ARCH] were not consumed 01:34:16 Successfully built 9656e6c6029c 01:34:16 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:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:17 01:34:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:34:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:18 arm64: Pulling from edgex-lftools-log-publisher 01:34:18 8998bd30e6a1: Pulling fs layer 01:34:18 04944245beec: Pulling fs layer 01:34:18 699f458cf7ca: Pulling fs layer 01:34:18 765212b225bb: Pulling fs layer 01:34:18 f23df028b6ca: Pulling fs layer 01:34:18 d65c8cfc05b1: Pulling fs layer 01:34:18 2437ff75d9bd: Pulling fs layer 01:34:18 765212b225bb: Waiting 01:34:18 f23df028b6ca: Waiting 01:34:18 d65c8cfc05b1: Waiting 01:34:18 2437ff75d9bd: Waiting 01:34:18 04944245beec: Verifying Checksum 01:34:18 04944245beec: Download complete 01:34:18 765212b225bb: Verifying Checksum 01:34:18 765212b225bb: Download complete 01:34:18 f23df028b6ca: Verifying Checksum 01:34:18 f23df028b6ca: Download complete 01:34:18 d65c8cfc05b1: Verifying Checksum 01:34:18 d65c8cfc05b1: Download complete 01:34:18 699f458cf7ca: Verifying Checksum 01:34:18 699f458cf7ca: Download complete 01:34:18 8998bd30e6a1: Verifying Checksum 01:34:18 8998bd30e6a1: Download complete 01:34:21 2437ff75d9bd: Verifying Checksum 01:34:21 2437ff75d9bd: Download complete 01:34:23 8998bd30e6a1: Pull complete 01:34:24 04944245beec: Pull complete 01:34:25 699f458cf7ca: Pull complete 01:34:25 765212b225bb: Pull complete 01:34:26 f23df028b6ca: Pull complete 01:34:27 d65c8cfc05b1: Pull complete 01:34:42 2437ff75d9bd: Pull complete 01:34:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:34:42 prd-ubuntu20.04-docker-arm64-4c-16g-10606 does not seem to be running inside a container 01:34:42 $ 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:34:45 $ docker top de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:46 ---> job-cost.sh 01:34:46 lf-activate-venv: SKIPPING 01:34:46 INFO: No Stack... 01:34:46 INFO: Retrieving Pricing Info for: v3-standard-4 01:34:47 INFO: Archiving Costs [Pipeline] sh 01:34:48 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:34:48 + cut -d, -f6 [Pipeline] lock 01:34:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] 01:34:48 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] did not exist. Created. 01:34:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:49 /w/workspace/device-mqtt-go/1@tmp/durable-b33b3f5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:34:49 + echo total: 0.10999999940395355 [Pipeline] stash 01:34:49 Warning: overwriting stash ‘stack-cost’ 01:34:49 Stashed 1 file(s) [Pipeline] } 01:34:49 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:49 $ docker stop --time=1 de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 01:34:51 $ docker rm -f de164ce755a85b23e6fa7bcdc51e12b0d6638833f3cf653b4f680dbdf9563720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:34:52 provisioning config files... 01:34:52 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config7424813306991335642tmp [Pipeline] { [Pipeline] sh 01:34:52 + set +x 01:34:52 + curl -s https://codecov.io/bash 01:34:52 + bash -s -- 01:34:52 01:34:52 _____ _ 01:34:52 / ____| | | 01:34:52 | | ___ __| | ___ ___ _____ __ 01:34:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:34:52 | |___| (_) | (_| | __/ (_| (_) \ V / 01:34:52 \_____\___/ \__,_|\___|\___\___/ \_/ 01:34:52 Bash-1.0.6 01:34:52 01:34:52 01:34:52 ==> git version 2.25.1 found 01:34:52 ==> 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:34:52 Release-Date: 2020-01-08 01:34:52 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:34:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:34:52 ==> Jenkins CI detected. 01:34:52 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-354 01:34:52 project root: . 01:34:52 --> token set from env 01:34:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:34:52 ==> Running gcov in . (disable via -X gcov) 01:34:52 ==> Python coveragepy not found 01:34:52 ==> Searching for coverage reports in: 01:34:52 + . 01:34:52 -> Found 1 reports 01:34:52 ==> Detecting git/mercurial file structure 01:34:52 ==> Reading reports 01:34:52 + ./coverage.out bytes=17452 01:34:52 ==> Appending adjustments 01:34:52 https://docs.codecov.io/docs/fixing-reports 01:34:53 + Found adjustments 01:34:53 ==> Gzipping contents 01:34:53 4.0K /tmp/codecov.0fU8iz.gz 01:34:53 ==> Uploading reports 01:34:53 url: https://codecov.io 01:34:53 query: branch=PR-354&commit=911c04381f0c199884a51156653d77c167c4116f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= 01:34:53 -> Pinging Codecov 01:34:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-354&commit=911c04381f0c199884a51156653d77c167c4116f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=354&job=&cmd_args= 01:34:53 -> Uploading to 01:34:53 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/7D719EC7BBE17E464838252E33014C33/911c04381f0c199884a51156653d77c167c4116f/430835f1-005f-4ff2-987d-fd440f160580.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T013453Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=189f86a97cab646c68c5661ce7c865e0007f3451b571fd6548974d7635e989cf 01:34:53 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:53 Dload Upload Total Spent Left Speed 01:34:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3188 0 0 100 3188 0 13119 --:--:-- --:--:-- --:--:-- 13119 01:34:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/911c04381f0c199884a51156653d77c167c4116f [Pipeline] } 01:34:53 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:34:55 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives ] 01:34:55 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives 01:34:55 total 16 01:34:55 drwxr-xr-x 3 root root 4096 Apr 4 01:27 . 01:34:55 drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 01:27 .. 01:34:55 drwxr-xr-x 2 root root 4096 Apr 4 01:27 cost 01:34:55 -rw-r--r-- 1 root root 85 Apr 4 01:27 cost.csv 01:34:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives 01:34:55 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives 01:34:55 total 16 01:34:55 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 01:27 . 01:34:55 drwxrwxr-x 11 jenkins jenkins 4096 Apr 4 01:27 .. 01:34:55 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 01:27 cost 01:34:55 -rw-r--r-- 1 jenkins jenkins 85 Apr 4 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:34:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:34:56 ---> package-listing.sh 01:34:56 ++ facter osfamily 01:34:56 ++ tr '[:upper:]' '[:lower:]' 01:34:57 + OS_FAMILY=debian 01:34:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-354 01:34:57 + START_PACKAGES=/tmp/packages_start.txt 01:34:57 + END_PACKAGES=/tmp/packages_end.txt 01:34:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:34:57 + PACKAGES=/tmp/packages_start.txt 01:34:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' 01:34:57 + PACKAGES=/tmp/packages_end.txt 01:34:57 + case "${OS_FAMILY}" in 01:34:57 + dpkg -l 01:34:57 + grep '^ii' 01:34:57 + '[' -f /tmp/packages_start.txt ']' 01:34:57 + '[' -f /tmp/packages_end.txt ']' 01:34:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:34:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-354 ']' 01:34:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ 01:34:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-354/archives/ [Pipeline] echo 01:34:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:34:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:34:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:57 . [Pipeline] withDockerContainer 01:34:58 prd-ubuntu20.04-docker-8c-8g-10601 does not seem to be running inside a container 01:34:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-354 -v /w/workspace/gexfoundry_device-mqtt-go_PR-354:/w/workspace/gexfoundry_device-mqtt-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:58 $ docker top 5f092b99ec70347d62b5c0fad43c23ecfd28aee90d6e097140902124b89cf1e7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:58 + touch /tmp/pre-build-complete [Pipeline] sh 01:34:59 + mkdir -p /var/log/sysstat [Pipeline] sh 01:34:59 + ls /var/log/sa-host 01:34:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:59 provisioning config files... 01:34:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-354@tmp/config1791165320688851995tmp [Pipeline] { [Pipeline] echo 01:34:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:34:59 ---> create-netrc.sh [Pipeline] } 01:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:35:00 ---> python-tools-install.sh [Pipeline] echo 01:35:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:35:00 ---> sudo-logs.sh 01:35:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:35:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:35:01 ---> job-cost.sh 01:35:01 lf-activate-venv: SKIPPING 01:35:01 DEBUG: total: 0.2199999988079071 01:35:01 INFO: Retrieving Stack Cost... 01:35:01 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:01 INFO: Archiving Costs [Pipeline] echo 01:35:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:35:02 ---> logs-deploy.sh 01:35:02 lf-activate-venv: SKIPPING 01:35:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-354/1 01:35:02 INFO: archiving workspace using pattern(s): 01:35:03 Archives upload complete. 01:35:03 INFO: archiving logs to Nexus