Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from fd9a27eb9feca985b531b7e41b017e7d5070406d+a7b844beee09313a8b0584ee433be2eeca10ef2f (268aa39e9c0076fd6072a8acbb7e360b3034add9) 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-ssh9832447056375754636.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-ssh5374550297277207471.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-341/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18280074052860769090.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3628164898355359806.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-341/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-341/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15192380170368596230.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10514 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [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-341 # 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 fd9a27eb9feca985b531b7e41b017e7d5070406d Merge succeeded, producing e4fe2251d52458a880514928f2767286cd1b433a Checking out Revision e4fe2251d52458a880514928f2767286cd1b433a (PR-341) > 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/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # 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 e4fe2251d52458a880514928f2767286cd1b433a # timeout=10 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" > git rev-list --no-walk fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:17:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:17:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:17:48 ========================================================= 03:17:48 EdgeX Global Pipelines Version Info 03:17:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:17:49 ------------------- 03:17:49 stable info: 03:17:49 ------------------- 03:17:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:17:49 Message: update stable to v1.0.221 03:17:50 ------------------- 03:17:50 experimental info: 03:17:50 ------------------- 03:17:50 Commited By: **** collab-it+edgex@linuxfoundation.org 03:17:50 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:17:50 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4fe2251d52458a880514928f2767286cd1b433a [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4fe225 [Pipeline] echo 03:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:50 provisioning config files... 03:17:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config6522688085949584513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:51 ---> docker-login.sh 03:17:51 nexus3.edgexfoundry.org:10001 03:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:51 Configure a credential helper to remove this warning. See 03:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:51 03:17:51 Login Succeeded 03:17:51 nexus3.edgexfoundry.org:10002 03:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:51 Configure a credential helper to remove this warning. See 03:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:51 03:17:51 Login Succeeded 03:17:51 nexus3.edgexfoundry.org:10003 03:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:51 Configure a credential helper to remove this warning. See 03:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:51 03:17:51 Login Succeeded 03:17:51 nexus3.edgexfoundry.org:10004 03:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:51 Configure a credential helper to remove this warning. See 03:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:51 03:17:51 Login Succeeded 03:17:51 docker.io 03:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:52 Configure a credential helper to remove this warning. See 03:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:52 03:17:52 Login Succeeded 03:17:52 ---> docker-login.sh ends [Pipeline] } 03:17:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:17:52 + git rev-list -1 --merges e4fe2251d52458a880514928f2767286cd1b433a~1..e4fe2251d52458a880514928f2767286cd1b433a [Pipeline] echo 03:17:52 -----------> git rev-list -1 --merges e4fe2251d52458a880514928f2767286cd1b433a~1..e4fe2251d52458a880514928f2767286cd1b433a e4fe2251d52458a880514928f2767286cd1b433a 03:17:52 e4fe2251d52458a880514928f2767286cd1b433a [false] [Pipeline] sh 03:17:52 + git log --format=format:%s -1 e4fe2251d52458a880514928f2767286cd1b433a [Pipeline] echo 03:17:52 ========================================================= 03:17:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:17:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:53 + git log --format=format:%s -1 e4fe2251d52458a880514928f2767286cd1b433a [Pipeline] echo 03:17:53 [semverPrep] GIT_COMMIT: e4fe2251d52458a880514928f2767286cd1b433a, Commit Message: Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD [Pipeline] echo 03:17:53 [semverPrep] This is not a build commit. [Pipeline] sh 03:17:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:17:53 + grep -v github /etc/ssh/ssh_known_hosts 03:17:53 + [ -e /tmp/ssh_known_hosts ] 03:17:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:17:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:17:53 + sudo tee -a /etc/ssh/ssh_known_hosts 03:17:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:53 03:17:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:17:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:54 latest: Pulling from edgex-devops/git-semver 03:17:54 a0d0a0d46f8b: Pulling fs layer 03:17:54 3e5f54012d9b: Pulling fs layer 03:17:54 4c7163046ea9: Pulling fs layer 03:17:54 0c2d73faf560: Pulling fs layer 03:17:54 0c2d73faf560: Waiting 03:17:54 3e5f54012d9b: Verifying Checksum 03:17:54 3e5f54012d9b: Download complete 03:17:54 a0d0a0d46f8b: Verifying Checksum 03:17:54 a0d0a0d46f8b: Download complete 03:17:54 a0d0a0d46f8b: Pull complete 03:17:54 4c7163046ea9: Verifying Checksum 03:17:54 4c7163046ea9: Download complete 03:17:54 0c2d73faf560: Verifying Checksum 03:17:54 0c2d73faf560: Download complete 03:17:54 3e5f54012d9b: Pull complete 03:17:55 4c7163046ea9: Pull complete 03:17:55 0c2d73faf560: Pull complete 03:17:55 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:17:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:17:55 prd-ubuntu20.04-docker-8c-8g-10514 does not seem to be running inside a container 03:17:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:17:55 $ docker top 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:17:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:55 [ssh-agent] Looking for ssh-agent implementation... 03:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:56 $ docker exec 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 ssh-agent 03:17:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeoInkP/agent.14 03:17:56 SSH_AGENT_PID=20 03:17:56 Running ssh-add (command line suppressed) 03:17:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_6967916110604786308.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_6967916110604786308.key) 03:17:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:56 + git tag --points-at HEAD [Pipeline] } 03:17:56 $ docker exec --env ******** --env ******** 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 ssh-agent -k 03:17:56 unset SSH_AUTH_SOCK; 03:17:56 unset SSH_AGENT_PID; 03:17:56 echo Agent pid 20 killed; 03:17:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:56 [ssh-agent] Looking for ssh-agent implementation... 03:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:56 $ docker exec 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 ssh-agent 03:17:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAOkFII/agent.54 03:17:57 SSH_AGENT_PID=60 03:17:57 Running ssh-add (command line suppressed) 03:17:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_8220691592606067515.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_8220691592606067515.key) 03:17:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:57 + git semver init 03:17:57 # -> Open(): unable to determine branch for HEAD 03:17:57 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.git 03:17:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-341 03:17:57 # $SEMVER_REMOTE_NAME = origin 03:17:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:17:57 # $SEMVER_USER_NAME = edgex-jenkins 03:17:57 # $SEMVER_BRANCH = PR-341 03:17:57 # $SEMVER_TEMP = /tmp/semver-182678605 03:17:57 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:17:58 # '/tmp/semver-182678605' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver' 03:17:58 # -> Force: false 03:17:58 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver [Pipeline] } 03:17:58 $ docker exec --env ******** --env ******** 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 ssh-agent -k 03:17:58 unset SSH_AUTH_SOCK; 03:17:58 unset SSH_AGENT_PID; 03:17:58 echo Agent pid 60 killed; 03:17:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:17:58 + git semver [Pipeline] } 03:17:58 $ docker stop --time=1 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 03:18:00 $ docker rm -f 46546af8192f808ad4dad69884375f0786723f65d953850f9f5f0c79b369fcc1 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:18:00 Stashed 1 file(s) [Pipeline] echo 03:18:00 [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 03:18:01 provisioning config files... 03:18:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config2850150050403426469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:01 ---> docker-login.sh 03:18:01 nexus3.edgexfoundry.org:10001 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:01 Configure a credential helper to remove this warning. See 03:18:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:01 03:18:01 Login Succeeded 03:18:01 nexus3.edgexfoundry.org:10002 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:01 Configure a credential helper to remove this warning. See 03:18:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:01 03:18:01 Login Succeeded 03:18:01 nexus3.edgexfoundry.org:10003 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:01 Configure a credential helper to remove this warning. See 03:18:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:01 03:18:01 Login Succeeded 03:18:01 nexus3.edgexfoundry.org:10004 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:01 Configure a credential helper to remove this warning. See 03:18:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:01 03:18:01 Login Succeeded 03:18:01 docker.io 03:18:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:02 Configure a credential helper to remove this warning. See 03:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:02 03:18:02 Login Succeeded 03:18:02 ---> docker-login.sh ends [Pipeline] } 03:18:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:02 ========================================================= 03:18:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:18:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:18:02 + 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 . 03:18:02 Sending build context to Docker daemon 5.88MB 03:18:02 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:18:02 Step 2/12 : FROM ${BASE} AS builder 03:18:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:18:02 59bf1c3509f3: Pulling fs layer 03:18:02 666ba61612fd: Pulling fs layer 03:18:02 8ed8ca486205: Pulling fs layer 03:18:02 4fe6c5a15a65: Pulling fs layer 03:18:02 22a0e8bec74d: Pulling fs layer 03:18:02 640e595b4fbd: Pulling fs layer 03:18:02 763cafe07f6e: Pulling fs layer 03:18:02 0c0b528cf693: Pulling fs layer 03:18:02 10935f4eaf8b: Pulling fs layer 03:18:02 4fe6c5a15a65: Waiting 03:18:02 22a0e8bec74d: Waiting 03:18:02 640e595b4fbd: Waiting 03:18:02 763cafe07f6e: Waiting 03:18:02 10935f4eaf8b: Waiting 03:18:02 0c0b528cf693: Waiting 03:18:02 8ed8ca486205: Download complete 03:18:02 666ba61612fd: Download complete 03:18:02 22a0e8bec74d: Download complete 03:18:02 640e595b4fbd: Download complete 03:18:02 763cafe07f6e: Download complete 03:18:02 59bf1c3509f3: Verifying Checksum 03:18:02 59bf1c3509f3: Download complete 03:18:02 0c0b528cf693: Verifying Checksum 03:18:02 0c0b528cf693: Download complete 03:18:02 59bf1c3509f3: Pull complete 03:18:03 666ba61612fd: Pull complete 03:18:03 8ed8ca486205: Pull complete 03:18:03 10935f4eaf8b: Verifying Checksum 03:18:03 10935f4eaf8b: Download complete 03:18:03 4fe6c5a15a65: Verifying Checksum 03:18:03 4fe6c5a15a65: Download complete 03:18:07 4fe6c5a15a65: Pull complete 03:18:07 22a0e8bec74d: Pull complete 03:18:07 640e595b4fbd: Pull complete 03:18:07 763cafe07f6e: Pull complete 03:18:07 0c0b528cf693: Pull complete 03:18:09 10935f4eaf8b: Pull complete 03:18:09 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:18:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:18:09 ---> 99d49a6021b9 03:18:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:10 ---> Running in 1c294cd7f2b5 03:18:10 Removing intermediate container 1c294cd7f2b5 03:18:10 ---> 1bceac8502c5 03:18:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:18:10 ---> Running in 718c3212c2bc 03:18:10 Removing intermediate container 718c3212c2bc 03:18:10 ---> 75179a9a1c03 03:18:10 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:10 ---> Running in 30b8e8ccc069 03:18:11 Removing intermediate container 30b8e8ccc069 03:18:11 ---> 3de504c3b54a 03:18:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:11 ---> Running in 66018d27e0f4 03:18:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:18:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:18:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:18:12 (2/4) Installing libedit (20210910.3.1-r0) 03:18:12 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:18:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:18:13 Executing busybox-1.34.1-r3.trigger 03:18:13 OK: 224 MiB in 56 packages 03:18:13 Removing intermediate container 66018d27e0f4 03:18:13 ---> 5826ebfd352b 03:18:13 Step 7/12 : WORKDIR /device-mqtt-go 03:18:13 ---> Running in 9f527c4fdaaf 03:18:13 Removing intermediate container 9f527c4fdaaf 03:18:13 ---> d66124eaab03 03:18:13 Step 8/12 : COPY go.mod vendor* ./ 03:18:14 ---> cfbe719b516b 03:18:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:14 ---> Running in d5e943af0c62 03:18:15 Still waiting to schedule task 03:18:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:18:40 Removing intermediate container d5e943af0c62 03:18:40 ---> 78b0292f2c2b 03:18:40 Step 10/12 : COPY . . 03:18:40 ---> 0391360d6d60 03:18:40 Step 11/12 : ARG MAKE='make build' 03:18:40 ---> Running in cbb71077ea22 03:18:40 Removing intermediate container cbb71077ea22 03:18:40 ---> 879e2eb43d81 03:18:40 Step 12/12 : RUN $MAKE 03:18:40 ---> Running in a127a821cf6d 03:18:40 noop 03:18:40 Removing intermediate container a127a821cf6d 03:18:40 ---> c1bea753f315 03:18:40 Successfully built c1bea753f315 03:18:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:18:40 + docker inspect -f . ci-base-image-x86_64 03:18:40 . [Pipeline] withDockerContainer 03:18:40 prd-ubuntu20.04-docker-8c-8g-10514 does not seem to be running inside a container 03:18:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:18:41 $ docker top a1fc1db463c7ac906508afa129e7c2fa531c1a7a38cf28106211078fdc2c91a6 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:41 + go version 03:18:41 go version go1.17.6 linux/amd64 [Pipeline] } 03:18:41 $ docker stop --time=1 a1fc1db463c7ac906508afa129e7c2fa531c1a7a38cf28106211078fdc2c91a6 03:18:43 $ docker rm -f a1fc1db463c7ac906508afa129e7c2fa531c1a7a38cf28106211078fdc2c91a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:18:43 + docker inspect -f . ci-base-image-x86_64 03:18:43 . [Pipeline] withDockerContainer 03:18:43 prd-ubuntu20.04-docker-8c-8g-10514 does not seem to be running inside a container 03:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:18:43 $ docker top 01e2ecadd6cc81934d265c605baea133ddf3e2134790916432c2a16237d64110 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:18:44 + make test 03:18:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:18:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:18:51 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:18:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.5% of statements 03:18:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:18:51 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:18:54 ./bin/test-attribution-txt.sh [Pipeline] echo 03:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:18:54 $ docker stop --time=1 01e2ecadd6cc81934d265c605baea133ddf3e2134790916432c2a16237d64110 03:18:56 $ docker rm -f 01e2ecadd6cc81934d265c605baea133ddf3e2134790916432c2a16237d64110 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:18:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:18:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:18:57 + ls -al . 03:18:57 total 184 03:18:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 2 03:18 . 03:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:17 .. 03:18:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 03:17 .dockerignore 03:18:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 03:17 .git 03:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:17 .github 03:18:57 -rw-rw-r-- 1 jenkins jenkins 329 Apr 2 03:17 .gitignore 03:18:57 drwx------ 3 jenkins jenkins 4096 Apr 2 03:17 .semver 03:18:57 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 2 03:17 Attribution.txt 03:18:57 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 2 03:17 CHANGELOG.md 03:18:57 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 2 03:17 Dockerfile 03:18:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 03:17 GOVERNANCE.md 03:18:57 -rw-rw-r-- 1 jenkins jenkins 678 Apr 2 03:17 Jenkinsfile 03:18:57 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 2 03:17 LICENSE 03:18:57 -rw-rw-r-- 1 jenkins jenkins 1030 Apr 2 03:17 Makefile 03:18:57 -rw-rw-r-- 1 jenkins jenkins 620 Apr 2 03:17 OWNERS.md 03:18:57 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 2 03:17 README.md 03:18:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 03:18 VERSION 03:18:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:17 bin 03:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:17 cmd 03:18:57 -rw-r--r-- 1 jenkins jenkins 17452 Apr 2 03:18 coverage.out 03:18:57 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 2 03:17 go.mod 03:18:57 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 2 03:17 go.sum 03:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:17 internal 03:18:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:17 mock 03:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:17 snap 03:18:57 -rw-rw-r-- 1 jenkins jenkins 227 Apr 2 03:17 version.go [Pipeline] isUnix [Pipeline] sh 03:18:58 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e4fe2251d52458a880514928f2767286cd1b433a --label arch=amd64 --label version=0.0.0 . 03:18:58 Sending build context to Docker daemon 5.898MB 03:18:58 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:18:58 Step 2/24 : FROM ${BASE} AS builder 03:18:58 ---> c1bea753f315 03:18:58 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:58 ---> Running in d429f67992e5 03:18:58 Removing intermediate container d429f67992e5 03:18:58 ---> 3915f8a412f7 03:18:58 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:18:58 ---> Running in 5034671b0e2d 03:18:58 Removing intermediate container 5034671b0e2d 03:18:58 ---> d6c3583e5ded 03:18:58 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:58 ---> Running in fb1a57d4acdc 03:18:58 Removing intermediate container fb1a57d4acdc 03:18:58 ---> 1cc35c05f570 03:18:58 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:59 ---> Running in e0b444bc9e2b 03:18:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:19:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:19:00 OK: 224 MiB in 56 packages 03:19:00 Removing intermediate container e0b444bc9e2b 03:19:00 ---> f4d600a0be3c 03:19:00 Step 7/24 : WORKDIR /device-mqtt-go 03:19:00 ---> Running in 3e0b3a1d17d7 03:19:00 Removing intermediate container 3e0b3a1d17d7 03:19:00 ---> 5fc10463e234 03:19:00 Step 8/24 : COPY go.mod vendor* ./ 03:19:00 ---> 1635510dd816 03:19:00 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:19:01 ---> Running in 29c7036a930d 03:19:01 Removing intermediate container 29c7036a930d 03:19:01 ---> d78232b9c5f3 03:19:01 Step 10/24 : COPY . . 03:19:01 ---> cececd3ab493 03:19:01 Step 11/24 : ARG MAKE='make build' 03:19:01 ---> Running in 73e20426ac3f 03:19:02 Removing intermediate container 73e20426ac3f 03:19:02 ---> ac7c5f220b21 03:19:02 Step 12/24 : RUN $MAKE 03:19:02 ---> Running in ca9b69e35f39 03:19:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:19:10 Removing intermediate container ca9b69e35f39 03:19:10 ---> ee0eb72d261b 03:19:10 Step 13/24 : FROM alpine:3.14 03:19:10 3.14: Pulling from library/alpine 03:19:10 cfab2db72209: Pulling fs layer 03:19:10 cfab2db72209: Download complete 03:19:10 cfab2db72209: Pull complete 03:19:10 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 03:19:10 Status: Downloaded newer image for alpine:3.14 03:19:10 ---> 84b07dd2d1fd 03:19:10 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:19:10 ---> Running in 369e828c5ecb 03:19:10 Removing intermediate container 369e828c5ecb 03:19:10 ---> 8e6b947ae96d 03:19:10 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:19:10 ---> Running in a0cbeac94f8b 03:19:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:19:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:19:11 (1/6) Installing dumb-init (1.2.5-r1) 03:19:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:19:11 (3/6) Installing libsodium (1.0.18-r0) 03:19:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:19:11 (5/6) Installing libzmq (4.3.4-r0) 03:19:11 (6/6) Installing zeromq (4.3.4-r0) 03:19:11 Executing busybox-1.33.1-r6.trigger 03:19:11 OK: 8 MiB in 20 packages 03:19:11 Removing intermediate container a0cbeac94f8b 03:19:11 ---> 5c47c1c7ea7b 03:19:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:19:12 ---> 7600bd49edbd 03:19:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:19:12 ---> b149a47675e4 03:19:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:19:12 ---> e354a2c98088 03:19:12 Step 19/24 : EXPOSE 59982 03:19:12 ---> Running in 8b1396157711 03:19:12 Removing intermediate container 8b1396157711 03:19:12 ---> 7d8080a9ee05 03:19:12 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:19:12 ---> Running in b76e303b2409 03:19:12 Removing intermediate container b76e303b2409 03:19:12 ---> 1637c7ccc139 03:19:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:19:12 ---> Running in 6c77ba4b5c29 03:19:12 Removing intermediate container 6c77ba4b5c29 03:19:12 ---> f610d47b54ff 03:19:12 Step 22/24 : LABEL arch=amd64 03:19:12 ---> Running in b790d8b69413 03:19:12 Removing intermediate container b790d8b69413 03:19:12 ---> f910d029eb49 03:19:12 Step 23/24 : LABEL git_sha=e4fe2251d52458a880514928f2767286cd1b433a 03:19:12 ---> Running in 816e9665fd66 03:19:12 Removing intermediate container 816e9665fd66 03:19:12 ---> 4ccea5db53a8 03:19:12 Step 24/24 : LABEL version=0.0.0 03:19:12 ---> Running in a6c0cde76301 03:19:12 Removing intermediate container a6c0cde76301 03:19:12 ---> fb8929d51f9c 03:19:12 [Warning] One or more build-args [ARCH] were not consumed 03:19:12 Successfully built fb8929d51f9c 03:19:12 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 03:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:13 03:19:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:19:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:13 latest: Pulling from edgex-lftools-log-publisher 03:19:13 5eb5b503b376: Pulling fs layer 03:19:13 5c69ac0246d0: Pulling fs layer 03:19:13 ec43610c2a17: Pulling fs layer 03:19:13 3a2ae6a8a46f: Pulling fs layer 03:19:13 33b1e0a273af: Pulling fs layer 03:19:13 5d3b04190fa2: Pulling fs layer 03:19:13 2f39f015ded8: Pulling fs layer 03:19:13 3a2ae6a8a46f: Waiting 03:19:13 33b1e0a273af: Waiting 03:19:13 5d3b04190fa2: Waiting 03:19:13 2f39f015ded8: Waiting 03:19:13 5c69ac0246d0: Retrying in 5 seconds 03:19:13 ec43610c2a17: Verifying Checksum 03:19:13 ec43610c2a17: Download complete 03:19:13 3a2ae6a8a46f: Verifying Checksum 03:19:13 3a2ae6a8a46f: Download complete 03:19:13 33b1e0a273af: Verifying Checksum 03:19:13 33b1e0a273af: Download complete 03:19:13 5d3b04190fa2: Verifying Checksum 03:19:13 5d3b04190fa2: Download complete 03:19:13 5eb5b503b376: Verifying Checksum 03:19:13 5eb5b503b376: Download complete 03:19:14 2f39f015ded8: Download complete 03:19:14 5c69ac0246d0: Retrying in 4 seconds 03:19:14 5eb5b503b376: Pull complete 03:19:15 5c69ac0246d0: Retrying in 3 seconds 03:19:16 5c69ac0246d0: Retrying in 2 seconds 03:19:17 5c69ac0246d0: Retrying in 1 second 03:19:18 5c69ac0246d0: Retrying in 10 seconds 03:19:19 5c69ac0246d0: Retrying in 9 seconds 03:19:20 5c69ac0246d0: Retrying in 8 seconds 03:19:21 5c69ac0246d0: Retrying in 7 seconds 03:19:22 5c69ac0246d0: Retrying in 6 seconds 03:19:23 5c69ac0246d0: Retrying in 5 seconds 03:19:24 5c69ac0246d0: Retrying in 4 seconds 03:19:25 5c69ac0246d0: Retrying in 3 seconds 03:19:26 5c69ac0246d0: Retrying in 2 seconds 03:19:27 5c69ac0246d0: Retrying in 1 second 03:19:28 5c69ac0246d0: Verifying Checksum 03:19:28 5c69ac0246d0: Download complete 03:19:28 5c69ac0246d0: Pull complete 03:19:29 ec43610c2a17: Pull complete 03:19:29 3a2ae6a8a46f: Pull complete 03:19:29 33b1e0a273af: Pull complete 03:19:29 5d3b04190fa2: Pull complete 03:19:33 2f39f015ded8: Pull complete 03:19:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:19:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:19:33 prd-ubuntu20.04-docker-8c-8g-10514 does not seem to be running inside a container 03:19:33 $ 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-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:35 $ docker top 02bcb8d3008d2edcaecc0e5ff9fb6f5208817791b12067a14523d89712fcdb48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:35 ---> job-cost.sh 03:19:35 lf-activate-venv: SKIPPING 03:19:35 INFO: No Stack... 03:19:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:36 INFO: Archiving Costs [Pipeline] sh 03:19:36 + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/cost.csv 03:19:36 cut -d, -f6 [Pipeline] lock 03:19:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] 03:19:36 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] did not exist. Created. 03:19:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:37 + echo total: 0.2199999988079071 [Pipeline] stash 03:19:37 Stashed 1 file(s) [Pipeline] } 03:19:37 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:37 $ docker stop --time=1 02bcb8d3008d2edcaecc0e5ff9fb6f5208817791b12067a14523d89712fcdb48 03:19:38 $ docker rm -f 02bcb8d3008d2edcaecc0e5ff9fb6f5208817791b12067a14523d89712fcdb48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:20:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10517 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [Pipeline] { [Pipeline] ws 03:20:48 Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout 03:20:49 Selected Git installation does not exist. Using Default 03:20:49 The recommended git tool is: NONE 03:20:56 using credential edgex-jenkins-ssh 03:20:56 Cloning the remote Git repository 03:20:57 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:20:57 > git init /w/workspace/device-mqtt-go/10 # timeout=10 03:20:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:20:57 > git --version # timeout=10 03:20:57 > git --version # 'git version 2.25.1' 03:20:57 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:20:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:20:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:20:58 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:20:59 Merging remotes/origin/main commit a7b844beee09313a8b0584ee433be2eeca10ef2f into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d 03:20:59 Merge succeeded, producing d6a90f88bc6b641d768c9f12369f3c3c8b2dee3a 03:20:59 Checking out Revision d6a90f88bc6b641d768c9f12369f3c3c8b2dee3a (PR-341) 03:20:59 > git config core.sparsecheckout # timeout=10 03:20:59 > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 03:20:59 > git remote # timeout=10 03:20:59 > git config --get remote.origin.url # timeout=10 03:20:59 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:59 > git merge a7b844beee09313a8b0584ee433be2eeca10ef2f # timeout=10 03:20:59 > git rev-parse HEAD^{commit} # timeout=10 03:20:59 > git config core.sparsecheckout # timeout=10 03:20:59 > git checkout -f d6a90f88bc6b641d768c9f12369f3c3c8b2dee3a # timeout=10 03:21:04 Commit message: "Merge commit 'a7b844beee09313a8b0584ee433be2eeca10ef2f' into HEAD" 03:21:04 > git rev-list --no-walk fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:21:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:21:05 Dload Upload Total Spent Left Speed 03:21:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 03:21:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:21:06 + sudo tee /etc/docker/daemon.new 03:21:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:21:06 { 03:21:06 "registry-mirrors": [ 03:21:06 "https://nexus3.edgexfoundry.org:10001" 03:21:06 ], 03:21:06 "bip": "10.250.0.254/24", 03:21:06 "hosts": [ 03:21:06 "tcp://0.0.0.0:5555", 03:21:06 "unix:///var/run/docker.sock" 03:21:06 ], 03:21:06 "mtu": 1458, 03:21:06 "selinux-enabled": true, 03:21:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:21:06 } [Pipeline] sh 03:21:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:21:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:25 provisioning config files... 03:21:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config347909759734389001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:25 ---> docker-login.sh 03:21:25 nexus3.edgexfoundry.org:10001 03:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:26 Configure a credential helper to remove this warning. See 03:21:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:26 03:21:26 Login Succeeded 03:21:26 nexus3.edgexfoundry.org:10002 03:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:27 Configure a credential helper to remove this warning. See 03:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:27 03:21:27 Login Succeeded 03:21:27 nexus3.edgexfoundry.org:10003 03:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:27 Configure a credential helper to remove this warning. See 03:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:27 03:21:27 Login Succeeded 03:21:27 nexus3.edgexfoundry.org:10004 03:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:27 Configure a credential helper to remove this warning. See 03:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:27 03:21:27 Login Succeeded 03:21:27 docker.io 03:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:28 Configure a credential helper to remove this warning. See 03:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:28 03:21:28 Login Succeeded 03:21:28 ---> docker-login.sh ends [Pipeline] } 03:21:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:21:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:29 ========================================================= 03:21:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:21:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:21:29 + 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 . 03:21:29 Sending build context to Docker daemon 3.107MB 03:21:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:21:30 Step 2/12 : FROM ${BASE} AS builder 03:21:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:21:30 9b3977197b4f: Pulling fs layer 03:21:30 1a89e8eeedd5: Pulling fs layer 03:21:30 94645a83ff95: Pulling fs layer 03:21:30 3f3a8bcf1eab: Pulling fs layer 03:21:30 0c92f367c5e7: Pulling fs layer 03:21:30 f7c0051592d6: Pulling fs layer 03:21:30 a227ed2f7395: Pulling fs layer 03:21:30 7b1c46037f91: Pulling fs layer 03:21:30 3f3a8bcf1eab: Waiting 03:21:30 0c92f367c5e7: Waiting 03:21:30 f7c0051592d6: Waiting 03:21:30 a227ed2f7395: Waiting 03:21:30 7b1c46037f91: Waiting 03:21:30 94645a83ff95: Verifying Checksum 03:21:30 94645a83ff95: Download complete 03:21:30 1a89e8eeedd5: Verifying Checksum 03:21:30 1a89e8eeedd5: Download complete 03:21:30 0c92f367c5e7: Verifying Checksum 03:21:30 0c92f367c5e7: Download complete 03:21:30 f7c0051592d6: Verifying Checksum 03:21:30 f7c0051592d6: Download complete 03:21:30 9b3977197b4f: Verifying Checksum 03:21:30 9b3977197b4f: Download complete 03:21:30 a227ed2f7395: Verifying Checksum 03:21:30 a227ed2f7395: Download complete 03:21:30 9b3977197b4f: Pull complete 03:21:31 1a89e8eeedd5: Pull complete 03:21:31 94645a83ff95: Pull complete 03:21:32 7b1c46037f91: Verifying Checksum 03:21:33 3f3a8bcf1eab: Verifying Checksum 03:21:33 3f3a8bcf1eab: Download complete 03:21:45 3f3a8bcf1eab: Pull complete 03:21:45 0c92f367c5e7: Pull complete 03:21:45 f7c0051592d6: Pull complete 03:21:45 a227ed2f7395: Pull complete 03:21:52 7b1c46037f91: Pull complete 03:21:52 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:21:52 ---> f79e39bc4007 03:21:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:21:52 ---> Running in a2ae3e240bd2 03:21:53 Removing intermediate container a2ae3e240bd2 03:21:53 ---> cac24bad5bd1 03:21:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:21:53 ---> Running in 4c967a572bdb 03:21:53 Removing intermediate container 4c967a572bdb 03:21:53 ---> 03ac1c5dc54e 03:21:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:53 ---> Running in 1a3bb9c1fb52 03:21:55 Removing intermediate container 1a3bb9c1fb52 03:21:55 ---> 9669059e04fb 03:21:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:55 ---> Running in 60871aa53dd8 03:21:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:21:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:21:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:21:58 (2/4) Installing libedit (20210910.3.1-r0) 03:21:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:21:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:21:58 Executing busybox-1.34.1-r3.trigger 03:21:58 OK: 224 MiB in 56 packages 03:21:59 Removing intermediate container 60871aa53dd8 03:21:59 ---> 19ec9ce33ff6 03:21:59 Step 7/12 : WORKDIR /device-mqtt-go 03:21:59 ---> Running in a84e44cb8dee 03:22:00 Removing intermediate container a84e44cb8dee 03:22:00 ---> 04b5b7df34b7 03:22:00 Step 8/12 : COPY go.mod vendor* ./ 03:22:02 ---> 4a93dad2fbcb 03:22:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:02 ---> Running in e11d4966c170 03:23:24 Removing intermediate container e11d4966c170 03:23:24 ---> 4dc37f5f4306 03:23:24 Step 10/12 : COPY . . 03:23:24 ---> ec7ff0fd43e9 03:23:24 Step 11/12 : ARG MAKE='make build' 03:23:24 ---> Running in ca5c1d267ece 03:23:24 Removing intermediate container ca5c1d267ece 03:23:24 ---> 600d17bf4472 03:23:24 Step 12/12 : RUN $MAKE 03:23:24 ---> Running in d320452ea308 03:23:24 noop 03:23:24 Removing intermediate container d320452ea308 03:23:24 ---> aafaaf52c279 03:23:24 Successfully built aafaaf52c279 03:23:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:23:24 + docker inspect -f . ci-base-image-arm64 03:23:24 . [Pipeline] withDockerContainer 03:23:24 prd-ubuntu20.04-docker-arm64-4c-16g-10517 does not seem to be running inside a container 03:23:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:23:26 $ docker top 970d32b306cdd3d922a5b7ba228db0d151c158e0107a95cae5b9f9c920804c97 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:27 + go version 03:23:27 go version go1.17.6 linux/arm64 [Pipeline] } 03:23:27 $ docker stop --time=1 970d32b306cdd3d922a5b7ba228db0d151c158e0107a95cae5b9f9c920804c97 03:23:28 $ docker rm -f 970d32b306cdd3d922a5b7ba228db0d151c158e0107a95cae5b9f9c920804c97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:23:29 + docker inspect -f . ci-base-image-arm64 03:23:29 . [Pipeline] withDockerContainer 03:23:29 prd-ubuntu20.04-docker-arm64-4c-16g-10517 does not seem to be running inside a container 03:23:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:23:31 $ docker top 0c69ec75fecf4128d9b902e82fd9b42801e59d9ce1b20b703cebe2c9f422e682 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:23:32 + make test 03:23:32 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:23:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:24:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:24:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 22.5% of statements 03:24:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:24:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:24:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:52 ./bin/test-attribution-txt.sh [Pipeline] echo 03:24:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:24:52 $ docker stop --time=1 0c69ec75fecf4128d9b902e82fd9b42801e59d9ce1b20b703cebe2c9f422e682 03:24:54 $ docker rm -f 0c69ec75fecf4128d9b902e82fd9b42801e59d9ce1b20b703cebe2c9f422e682 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:24:55 Warning: overwriting stash ‘coverage-report’ 03:24:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:56 + ls -al . 03:24:56 total 180 03:24:56 drwxrwxr-x 9 jenkins jenkins 4096 Apr 2 03:24 . 03:24:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:20 .. 03:24:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 2 03:20 .dockerignore 03:24:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 2 03:21 .git 03:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:20 .github 03:24:56 -rw-rw-r-- 1 jenkins jenkins 329 Apr 2 03:20 .gitignore 03:24:56 -rw-rw-r-- 1 jenkins jenkins 7384 Apr 2 03:20 Attribution.txt 03:24:56 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 2 03:20 CHANGELOG.md 03:24:56 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 2 03:20 Dockerfile 03:24:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 2 03:20 GOVERNANCE.md 03:24:56 -rw-rw-r-- 1 jenkins jenkins 678 Apr 2 03:20 Jenkinsfile 03:24:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 2 03:20 LICENSE 03:24:56 -rw-rw-r-- 1 jenkins jenkins 1030 Apr 2 03:20 Makefile 03:24:56 -rw-rw-r-- 1 jenkins jenkins 620 Apr 2 03:20 OWNERS.md 03:24:56 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 2 03:20 README.md 03:24:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 2 03:18 VERSION 03:24:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:20 bin 03:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:20 cmd 03:24:56 -rw-r--r-- 1 jenkins jenkins 17452 Apr 2 03:24 coverage.out 03:24:56 -rw-rw-r-- 1 jenkins jenkins 2884 Apr 2 03:20 go.mod 03:24:56 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 2 03:20 go.sum 03:24:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 2 03:20 internal 03:24:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 2 03:20 mock 03:24:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 2 03:20 snap 03:24:56 -rw-rw-r-- 1 jenkins jenkins 227 Apr 2 03:20 version.go [Pipeline] isUnix [Pipeline] sh 03:24:56 + 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=d6a90f88bc6b641d768c9f12369f3c3c8b2dee3a --label arch=arm64 --label version=0.0.0 . 03:24:57 Sending build context to Docker daemon 3.126MB 03:24:57 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:24:57 Step 2/24 : FROM ${BASE} AS builder 03:24:57 ---> aafaaf52c279 03:24:57 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:24:57 ---> Running in ea8afe2e7037 03:24:57 Removing intermediate container ea8afe2e7037 03:24:57 ---> 9dc228d27846 03:24:57 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:24:58 ---> Running in 97d784cf0192 03:24:58 Removing intermediate container 97d784cf0192 03:24:58 ---> 75f0bda76deb 03:24:58 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:24:58 ---> Running in 5fd16bb90c17 03:25:00 Removing intermediate container 5fd16bb90c17 03:25:00 ---> dcb67921ffdf 03:25:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:00 ---> Running in 52eff8885b35 03:25:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:25:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:25:02 OK: 224 MiB in 56 packages 03:25:03 Removing intermediate container 52eff8885b35 03:25:03 ---> 0abcc32416f5 03:25:03 Step 7/24 : WORKDIR /device-mqtt-go 03:25:03 ---> Running in af2c29157951 03:25:04 Removing intermediate container af2c29157951 03:25:04 ---> 8a8cdf3050fa 03:25:04 Step 8/24 : COPY go.mod vendor* ./ 03:25:04 ---> a9eca74355eb 03:25:04 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:04 ---> Running in 917c554e4e1e 03:25:06 Removing intermediate container 917c554e4e1e 03:25:06 ---> 4dc481316982 03:25:06 Step 10/24 : COPY . . 03:25:08 ---> d1c3804eceec 03:25:08 Step 11/24 : ARG MAKE='make build' 03:25:08 ---> Running in 83df9f84cfa0 03:25:08 Removing intermediate container 83df9f84cfa0 03:25:08 ---> 33e1cc5a8ff0 03:25:08 Step 12/24 : RUN $MAKE 03:25:08 ---> Running in 40d0893d1e6c 03:25:09 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 03:25:56 Removing intermediate container 40d0893d1e6c 03:25:56 ---> c15f45ec304d 03:25:56 Step 13/24 : FROM alpine:3.14 03:25:56 3.14: Pulling from library/alpine 03:25:56 810d54c7e01b: Pulling fs layer 03:25:56 810d54c7e01b: Verifying Checksum 03:25:56 810d54c7e01b: Download complete 03:25:56 810d54c7e01b: Pull complete 03:25:56 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 03:25:56 Status: Downloaded newer image for alpine:3.14 03:25:56 ---> cc3d11fa2d52 03:25:56 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:25:56 ---> Running in 1d6a1e71a235 03:25:56 Removing intermediate container 1d6a1e71a235 03:25:56 ---> 763cea95eeac 03:25:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:25:56 ---> Running in 4ff6f0d38cbb 03:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:25:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:25:56 (1/6) Installing dumb-init (1.2.5-r1) 03:25:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:25:56 (3/6) Installing libsodium (1.0.18-r0) 03:25:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:25:56 (5/6) Installing libzmq (4.3.4-r0) 03:25:56 (6/6) Installing zeromq (4.3.4-r0) 03:25:56 Executing busybox-1.33.1-r6.trigger 03:25:56 OK: 8 MiB in 20 packages 03:25:56 Removing intermediate container 4ff6f0d38cbb 03:25:56 ---> 729cf510b9af 03:25:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:25:58 ---> 88dd6cc8f844 03:25:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:25:58 ---> 42bf86f522a2 03:25:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:25:59 ---> f5fd83216c2c 03:25:59 Step 19/24 : EXPOSE 59982 03:25:59 ---> Running in ba31e13a7f39 03:25:59 Removing intermediate container ba31e13a7f39 03:25:59 ---> 9aaf54fd22cd 03:25:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:25:59 ---> Running in ead26a40beee 03:25:59 Removing intermediate container ead26a40beee 03:25:59 ---> 1189f1ca2f19 03:25:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:25:59 ---> Running in 02b2a4f19c96 03:26:00 Removing intermediate container 02b2a4f19c96 03:26:00 ---> 07737b1977b0 03:26:00 Step 22/24 : LABEL arch=arm64 03:26:00 ---> Running in 2c563271444b 03:26:00 Removing intermediate container 2c563271444b 03:26:00 ---> dbe62039acd1 03:26:00 Step 23/24 : LABEL git_sha=d6a90f88bc6b641d768c9f12369f3c3c8b2dee3a 03:26:00 ---> Running in 121d6355c003 03:26:01 Removing intermediate container 121d6355c003 03:26:01 ---> d12da072b8d1 03:26:01 Step 24/24 : LABEL version=0.0.0 03:26:01 ---> Running in a202aefdd23d 03:26:01 Removing intermediate container a202aefdd23d 03:26:01 ---> 334e5acb30c3 03:26:01 [Warning] One or more build-args [ARCH] were not consumed 03:26:01 Successfully built 334e5acb30c3 03:26:01 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 03:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:02 03:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:26:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:02 arm64: Pulling from edgex-lftools-log-publisher 03:26:02 8998bd30e6a1: Pulling fs layer 03:26:02 04944245beec: Pulling fs layer 03:26:02 699f458cf7ca: Pulling fs layer 03:26:02 765212b225bb: Pulling fs layer 03:26:02 f23df028b6ca: Pulling fs layer 03:26:02 d65c8cfc05b1: Pulling fs layer 03:26:02 2437ff75d9bd: Pulling fs layer 03:26:02 f23df028b6ca: Waiting 03:26:02 d65c8cfc05b1: Waiting 03:26:02 2437ff75d9bd: Waiting 03:26:02 765212b225bb: Waiting 03:26:02 04944245beec: Verifying Checksum 03:26:02 04944245beec: Download complete 03:26:02 765212b225bb: Verifying Checksum 03:26:02 765212b225bb: Download complete 03:26:02 f23df028b6ca: Verifying Checksum 03:26:02 f23df028b6ca: Download complete 03:26:02 d65c8cfc05b1: Verifying Checksum 03:26:02 d65c8cfc05b1: Download complete 03:26:02 699f458cf7ca: Download complete 03:26:03 8998bd30e6a1: Download complete 03:26:05 2437ff75d9bd: Verifying Checksum 03:26:05 2437ff75d9bd: Download complete 03:26:07 8998bd30e6a1: Pull complete 03:26:08 04944245beec: Pull complete 03:26:09 699f458cf7ca: Pull complete 03:26:09 765212b225bb: Pull complete 03:26:10 f23df028b6ca: Pull complete 03:26:10 d65c8cfc05b1: Pull complete 03:26:25 2437ff75d9bd: Pull complete 03:26:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:26:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:26:26 prd-ubuntu20.04-docker-arm64-4c-16g-10517 does not seem to be running inside a container 03:26:26 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:26:29 $ docker top bc26571648f24c8fc221fbee001e472ebcbc6b8077465c47ef975431a8417187 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:30 ---> job-cost.sh 03:26:30 lf-activate-venv: SKIPPING 03:26:30 INFO: No Stack... 03:26:30 INFO: Retrieving Pricing Info for: v3-standard-4 03:26:31 INFO: Archiving Costs [Pipeline] sh 03:26:32 + cat /w/workspace/device-mqtt-go/10/archives/cost.csv 03:26:32 + cut -d, -f6 [Pipeline] lock 03:26:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] 03:26:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] did not exist. Created. 03:26:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:32 /w/workspace/device-mqtt-go/10@tmp/durable-0d510a0c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:26:33 + echo total: 0.10999999940395355 [Pipeline] stash 03:26:33 Warning: overwriting stash ‘stack-cost’ 03:26:33 Stashed 1 file(s) [Pipeline] } 03:26:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-10-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:33 $ docker stop --time=1 bc26571648f24c8fc221fbee001e472ebcbc6b8077465c47ef975431a8417187 03:26:35 $ docker rm -f bc26571648f24c8fc221fbee001e472ebcbc6b8077465c47ef975431a8417187 [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 03:26:35 provisioning config files... 03:26:35 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config6789859117850965442tmp [Pipeline] { [Pipeline] sh 03:26:36 + set +x 03:26:36 + curl -s https://codecov.io/bash 03:26:36 + bash -s -- 03:26:36 03:26:36 _____ _ 03:26:36 / ____| | | 03:26:36 | | ___ __| | ___ ___ _____ __ 03:26:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:26:36 | |___| (_) | (_| | __/ (_| (_) \ V / 03:26:36 \_____\___/ \__,_|\___|\___\___/ \_/ 03:26:36 Bash-1.0.6 03:26:36 03:26:36 03:26:36 ==> git version 2.25.1 found 03:26:36 ==> 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 03:26:36 Release-Date: 2020-01-08 03:26:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:26:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:26:36 ==> Jenkins CI detected. 03:26:36 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-341 03:26:36 project root: . 03:26:36 --> token set from env 03:26:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:26:36 ==> Running gcov in . (disable via -X gcov) 03:26:36 ==> Python coveragepy not found 03:26:36 ==> Searching for coverage reports in: 03:26:36 + . 03:26:36 -> Found 1 reports 03:26:36 ==> Detecting git/mercurial file structure 03:26:36 ==> Reading reports 03:26:36 + ./coverage.out bytes=17452 03:26:36 ==> Appending adjustments 03:26:36 https://docs.codecov.io/docs/fixing-reports 03:26:36 + Found adjustments 03:26:36 ==> Gzipping contents 03:26:36 4.0K /tmp/codecov.vjA4Qn.gz 03:26:36 ==> Uploading reports 03:26:36 url: https://codecov.io 03:26:36 query: branch=PR-341&commit=e4fe2251d52458a880514928f2767286cd1b433a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= 03:26:36 -> Pinging Codecov 03:26:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-341&commit=e4fe2251d52458a880514928f2767286cd1b433a&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= 03:26:36 -> Uploading to 03:26:36 https://storage.googleapis.com/codecov/v4/raw/2022-04-02/7D719EC7BBE17E464838252E33014C33/e4fe2251d52458a880514928f2767286cd1b433a/bebda638-b1d4-418f-b088-a5da4ef76cd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220402%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220402T032636Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9869fbedca16cb328a9eeb6be878cb598cdafb12584a8001e5055fb23bc7087 03:26:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:36 Dload Upload Total Spent Left Speed 03:26:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14559 --:--:-- --:--:-- --:--:-- 14493 100 3203 0 0 100 3203 0 13514 --:--:-- --:--:-- --:--:-- 13457 03:26:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/e4fe2251d52458a880514928f2767286cd1b433a [Pipeline] } 03:26:36 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 03:26:37 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives ] 03:26:37 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:26:37 total 16 03:26:37 drwxr-xr-x 3 root root 4096 Apr 2 03:19 . 03:26:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 03:19 .. 03:26:37 drwxr-xr-x 2 root root 4096 Apr 2 03:19 cost 03:26:37 -rw-r--r-- 1 root root 86 Apr 2 03:19 cost.csv 03:26:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:26:37 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:26:37 total 16 03:26:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 2 03:19 . 03:26:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 2 03:19 .. 03:26:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 2 03:19 cost 03:26:37 -rw-r--r-- 1 jenkins jenkins 86 Apr 2 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:38 ---> package-listing.sh 03:26:38 ++ facter osfamily 03:26:38 ++ tr '[:upper:]' '[:lower:]' 03:26:39 + OS_FAMILY=debian 03:26:39 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-341 03:26:39 + START_PACKAGES=/tmp/packages_start.txt 03:26:39 + END_PACKAGES=/tmp/packages_end.txt 03:26:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:39 + PACKAGES=/tmp/packages_start.txt 03:26:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' 03:26:39 + PACKAGES=/tmp/packages_end.txt 03:26:39 + case "${OS_FAMILY}" in 03:26:39 + dpkg -l 03:26:39 + grep '^ii' 03:26:39 + '[' -f /tmp/packages_start.txt ']' 03:26:39 + '[' -f /tmp/packages_end.txt ']' 03:26:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' 03:26:39 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ 03:26:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ [Pipeline] echo 03:26:39 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:26:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:39 . [Pipeline] withDockerContainer 03:26:39 prd-ubuntu20.04-docker-8c-8g-10514 does not seem to be running inside a container 03:26:39 $ 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-341/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-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:40 $ docker top f9b5657892bf899e38ad75289dcb3600e54b8871297498eedae30da55563a8ab -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:40 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:40 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:41 + ls /var/log/sa-host 03:26:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:41 provisioning config files... 03:26:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config6775083064127428343tmp [Pipeline] { [Pipeline] echo 03:26:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:41 ---> create-netrc.sh [Pipeline] } 03:26:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:41 ---> python-tools-install.sh [Pipeline] echo 03:26:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:42 ---> sudo-logs.sh 03:26:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:42 ---> job-cost.sh 03:26:42 lf-activate-venv: SKIPPING 03:26:42 DEBUG: total: 0.2199999988079071 03:26:42 INFO: Retrieving Stack Cost... 03:26:42 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:43 INFO: Archiving Costs [Pipeline] echo 03:26:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:43 ---> logs-deploy.sh 03:26:43 lf-activate-venv: SKIPPING 03:26:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-341/10 03:26:43 INFO: archiving workspace using pattern(s): 03:26:44 Archives upload complete. 03:26:44 INFO: archiving logs to Nexus