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+f2e2f8ada396003354e6b6ef510b55319cadc912 (79dad04522eeba5593fad010ce59de0d87ed6b18) 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-ssh9626016328606250468.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-ssh4427008230764143469.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-ssh1439795749845897.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-ssh9387412243261287214.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-ssh17946598264059512405.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-11385 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 f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d Merge succeeded, producing 1a55f4adae1ba8778254e62c86c4e2cde5785df0 Checking out Revision 1a55f4adae1ba8778254e62c86c4e2cde5785df0 (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 f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a55f4adae1ba8778254e62c86c4e2cde5785df0 # timeout=10 Commit message: "Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:17:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 0a415ea9bfe36a85a856b5e78368d178a3d08c44 # timeout=10 [Pipeline] withCredentials 03:17:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:17:16 ========================================================= 03:17:16 EdgeX Global Pipelines Version Info 03:17:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:17:16 ------------------- 03:17:16 stable info: 03:17:16 ------------------- 03:17:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:16 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:17:16 Message: update stable to v1.0.221 03:17:17 ------------------- 03:17:17 experimental info: 03:17:17 ------------------- 03:17:17 Commited By: **** collab-it+edgex@linuxfoundation.org 03:17:17 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:17:17 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo 03:17:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo 03:17:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo 03:17:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a55f4a [Pipeline] echo 03:17:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:18 provisioning config files... 03:17:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config1649329955203051128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:18 ---> docker-login.sh 03:17:18 nexus3.edgexfoundry.org:10001 03:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:18 Configure a credential helper to remove this warning. See 03:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:18 03:17:18 Login Succeeded 03:17:18 nexus3.edgexfoundry.org:10002 03:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:18 Configure a credential helper to remove this warning. See 03:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:18 03:17:18 Login Succeeded 03:17:18 nexus3.edgexfoundry.org:10003 03:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:19 Configure a credential helper to remove this warning. See 03:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:19 03:17:19 Login Succeeded 03:17:19 nexus3.edgexfoundry.org:10004 03:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:19 Configure a credential helper to remove this warning. See 03:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:19 03:17:19 Login Succeeded 03:17:19 docker.io 03:17:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:19 Configure a credential helper to remove this warning. See 03:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:19 03:17:19 Login Succeeded 03:17:19 ---> docker-login.sh ends [Pipeline] } 03:17:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:17:20 + git rev-list -1 --merges 1a55f4adae1ba8778254e62c86c4e2cde5785df0~1..1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo 03:17:20 -----------> git rev-list -1 --merges 1a55f4adae1ba8778254e62c86c4e2cde5785df0~1..1a55f4adae1ba8778254e62c86c4e2cde5785df0 1a55f4adae1ba8778254e62c86c4e2cde5785df0 03:17:20 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [false] [Pipeline] sh 03:17:20 + git log --format=format:%s -1 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo 03:17:20 ========================================================= 03:17:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:17:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:20 + git log --format=format:%s -1 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo 03:17:20 [semverPrep] GIT_COMMIT: 1a55f4adae1ba8778254e62c86c4e2cde5785df0, Commit Message: Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD [Pipeline] echo 03:17:20 [semverPrep] This is not a build commit. [Pipeline] sh 03:17:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:17:21 + grep -v github /etc/ssh/ssh_known_hosts 03:17:21 + [ -e /tmp/ssh_known_hosts ] 03:17:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:17:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:17:21 + sudo tee -a /etc/ssh/ssh_known_hosts 03:17:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:21 03:17:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:17:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:22 latest: Pulling from edgex-devops/git-semver 03:17:22 a0d0a0d46f8b: Pulling fs layer 03:17:22 3e5f54012d9b: Pulling fs layer 03:17:22 4c7163046ea9: Pulling fs layer 03:17:22 0c2d73faf560: Pulling fs layer 03:17:22 0c2d73faf560: Waiting 03:17:22 3e5f54012d9b: Download complete 03:17:22 a0d0a0d46f8b: Verifying Checksum 03:17:22 a0d0a0d46f8b: Download complete 03:17:22 a0d0a0d46f8b: Pull complete 03:17:22 0c2d73faf560: Verifying Checksum 03:17:22 0c2d73faf560: Download complete 03:17:22 4c7163046ea9: Verifying Checksum 03:17:22 4c7163046ea9: Download complete 03:17:22 3e5f54012d9b: Pull complete 03:17:22 4c7163046ea9: Pull complete 03:17:23 0c2d73faf560: Pull complete 03:17:23 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:17:23 prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container 03:17:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:17:24 $ docker top 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:17:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:24 [ssh-agent] Looking for ssh-agent implementation... 03:17:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:24 $ docker exec 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent 03:17:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFPhHe/agent.14 03:17:24 SSH_AGENT_PID=20 03:17:24 Running ssh-add (command line suppressed) 03:17:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7619384532381843602.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7619384532381843602.key) 03:17:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:24 + git tag --points-at HEAD [Pipeline] } 03:17:24 $ docker exec --env ******** --env ******** 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent -k 03:17:24 unset SSH_AUTH_SOCK; 03:17:24 unset SSH_AGENT_PID; 03:17:24 echo Agent pid 20 killed; 03:17:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:17:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:25 [ssh-agent] Looking for ssh-agent implementation... 03:17:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:25 $ docker exec 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent 03:17:25 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGmmalj/agent.52 03:17:25 SSH_AGENT_PID=58 03:17:25 Running ssh-add (command line suppressed) 03:17:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7001978755963087614.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7001978755963087614.key) 03:17:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:25 + git semver init 03:17:25 # -> Open(): unable to determine branch for HEAD 03:17:25 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.git 03:17:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-341 03:17:25 # $SEMVER_REMOTE_NAME = origin 03:17:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:17:25 # $SEMVER_USER_NAME = edgex-jenkins 03:17:25 # $SEMVER_BRANCH = PR-341 03:17:25 # $SEMVER_TEMP = /tmp/semver-280127142 03:17:25 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:17:26 # '/tmp/semver-280127142' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver' 03:17:26 # -> Force: false 03:17:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver [Pipeline] } 03:17:26 $ docker exec --env ******** --env ******** 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent -k 03:17:26 unset SSH_AUTH_SOCK; 03:17:26 unset SSH_AGENT_PID; 03:17:26 echo Agent pid 58 killed; 03:17:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:17:27 + git semver [Pipeline] } 03:17:27 $ docker stop --time=1 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 03:17:28 $ docker rm -f 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:17:29 Stashed 1 file(s) [Pipeline] echo 03:17:29 [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:17:29 provisioning config files... 03:17:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config4810438451913508125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:29 ---> docker-login.sh 03:17:29 nexus3.edgexfoundry.org:10001 03:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:29 Configure a credential helper to remove this warning. See 03:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:29 03:17:29 Login Succeeded 03:17:29 nexus3.edgexfoundry.org:10002 03:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:29 Configure a credential helper to remove this warning. See 03:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:29 03:17:29 Login Succeeded 03:17:29 nexus3.edgexfoundry.org:10003 03:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:29 Configure a credential helper to remove this warning. See 03:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:29 03:17:29 Login Succeeded 03:17:29 nexus3.edgexfoundry.org:10004 03:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:30 Configure a credential helper to remove this warning. See 03:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:30 03:17:30 Login Succeeded 03:17:30 docker.io 03:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:30 Configure a credential helper to remove this warning. See 03:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:30 03:17:30 Login Succeeded 03:17:30 ---> docker-login.sh ends [Pipeline] } 03:17:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:30 ========================================================= 03:17:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:17:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:17:31 + 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:17:31 Sending build context to Docker daemon 5.906MB 03:17:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:17:31 Step 2/12 : FROM ${BASE} AS builder 03:17:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:17:31 59bf1c3509f3: Pulling fs layer 03:17:31 666ba61612fd: Pulling fs layer 03:17:31 8ed8ca486205: Pulling fs layer 03:17:31 4fe6c5a15a65: Pulling fs layer 03:17:31 22a0e8bec74d: Pulling fs layer 03:17:31 640e595b4fbd: Pulling fs layer 03:17:31 763cafe07f6e: Pulling fs layer 03:17:31 0c0b528cf693: Pulling fs layer 03:17:31 10935f4eaf8b: Pulling fs layer 03:17:31 4fe6c5a15a65: Waiting 03:17:31 763cafe07f6e: Waiting 03:17:31 0c0b528cf693: Waiting 03:17:31 22a0e8bec74d: Waiting 03:17:31 10935f4eaf8b: Waiting 03:17:31 640e595b4fbd: Waiting 03:17:31 8ed8ca486205: Verifying Checksum 03:17:31 8ed8ca486205: Download complete 03:17:31 666ba61612fd: Verifying Checksum 03:17:31 666ba61612fd: Download complete 03:17:31 59bf1c3509f3: Verifying Checksum 03:17:31 59bf1c3509f3: Download complete 03:17:31 640e595b4fbd: Verifying Checksum 03:17:31 640e595b4fbd: Download complete 03:17:31 22a0e8bec74d: Download complete 03:17:31 763cafe07f6e: Verifying Checksum 03:17:31 763cafe07f6e: Download complete 03:17:31 59bf1c3509f3: Pull complete 03:17:31 0c0b528cf693: Verifying Checksum 03:17:31 0c0b528cf693: Download complete 03:17:31 666ba61612fd: Pull complete 03:17:31 8ed8ca486205: Pull complete 03:17:32 4fe6c5a15a65: Verifying Checksum 03:17:32 4fe6c5a15a65: Download complete 03:17:32 10935f4eaf8b: Verifying Checksum 03:17:32 10935f4eaf8b: Download complete 03:17:36 4fe6c5a15a65: Pull complete 03:17:36 22a0e8bec74d: Pull complete 03:17:36 640e595b4fbd: Pull complete 03:17:36 763cafe07f6e: Pull complete 03:17:37 0c0b528cf693: Pull complete 03:17:39 10935f4eaf8b: Pull complete 03:17:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:17:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:17:39 ---> 99d49a6021b9 03:17:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:17:40 ---> Running in f03b0c4c5357 03:17:40 Removing intermediate container f03b0c4c5357 03:17:40 ---> ba9010c1fc42 03:17:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:17:40 ---> Running in 1db0c7a46b77 03:17:40 Removing intermediate container 1db0c7a46b77 03:17:40 ---> b9fac22b55a4 03:17:40 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:40 ---> Running in db9e3ce99541 03:17:41 Removing intermediate container db9e3ce99541 03:17:41 ---> c5a03bf2fb44 03:17:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:41 ---> Running in fc1cd934795d 03:17:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:17:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:17:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:17:43 (2/4) Installing libedit (20210910.3.1-r0) 03:17:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:17:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:17:43 Executing busybox-1.34.1-r3.trigger 03:17:43 OK: 224 MiB in 56 packages 03:17:44 Removing intermediate container fc1cd934795d 03:17:44 ---> fc653bb30e49 03:17:44 Step 7/12 : WORKDIR /device-mqtt-go 03:17:44 ---> Running in 82854e1b1073 03:17:44 Removing intermediate container 82854e1b1073 03:17:44 ---> f5ce97c17518 03:17:44 Step 8/12 : COPY go.mod vendor* ./ 03:17:44 Still waiting to schedule task 03:17:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:17:44 ---> d4998329e92d 03:17:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:44 ---> Running in d25cd768da85 03:18:02 Removing intermediate container d25cd768da85 03:18:02 ---> 451f5a7f82cc 03:18:02 Step 10/12 : COPY . . 03:18:02 ---> 8b223d2c4278 03:18:02 Step 11/12 : ARG MAKE='make build' 03:18:02 ---> Running in f92da1c6d479 03:18:02 Removing intermediate container f92da1c6d479 03:18:02 ---> cc55c38779d0 03:18:02 Step 12/12 : RUN $MAKE 03:18:02 ---> Running in f5c3196943dc 03:18:02 noop 03:18:02 Removing intermediate container f5c3196943dc 03:18:02 ---> 228e66643d4d 03:18:02 Successfully built 228e66643d4d 03:18:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:18:02 + docker inspect -f . ci-base-image-x86_64 03:18:02 . [Pipeline] withDockerContainer 03:18:02 prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container 03:18:02 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:18:03 $ docker top b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:03 + go version 03:18:03 go version go1.17.6 linux/amd64 [Pipeline] } 03:18:03 $ docker stop --time=1 b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e 03:18:05 $ docker rm -f b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:18:05 + docker inspect -f . ci-base-image-x86_64 03:18:05 . [Pipeline] withDockerContainer 03:18:05 prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container 03:18:05 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:18:06 $ docker top 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:18:06 + make test 03:18:06 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:18:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:18:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:18:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 03:18:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:18:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:18:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:18:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:18:29 ./bin/test-attribution-txt.sh [Pipeline] echo 03:18:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:18:29 $ docker stop --time=1 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 03:18:31 $ docker rm -f 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:18:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:18:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:18:32 + ls -al . 03:18:32 total 176 03:18:32 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 03:18 . 03:18:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:17 .. 03:18:32 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 03:17 .dockerignore 03:18:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 03:17 .git 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 .github 03:18:32 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 03:17 .gitignore 03:18:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 03:17 .golangci.yml 03:18:32 drwx------ 3 jenkins jenkins 4096 Apr 7 03:17 .semver 03:18:32 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 03:17 Attribution.txt 03:18:32 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 03:17 CHANGELOG.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 03:17 Dockerfile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 03:17 GOVERNANCE.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 03:17 Jenkinsfile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 03:17 LICENSE 03:18:32 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 7 03:17 Makefile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 03:17 OWNERS.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 03:17 README.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 03:17 VERSION 03:18:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:17 bin 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 cmd 03:18:32 -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 03:18 coverage.out 03:18:32 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 03:17 go.mod 03:18:32 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 03:17 go.sum 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 internal 03:18:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:17 mock 03:18:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:17 snap 03:18:32 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 03:17 version.go [Pipeline] isUnix [Pipeline] sh 03:18:33 + 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=1a55f4adae1ba8778254e62c86c4e2cde5785df0 --label arch=amd64 --label version=0.0.0 . 03:18:33 Sending build context to Docker daemon 5.924MB 03:18:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:18:33 Step 2/24 : FROM ${BASE} AS builder 03:18:33 ---> 228e66643d4d 03:18:33 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:33 ---> Running in 45db4bda291c 03:18:33 Removing intermediate container 45db4bda291c 03:18:33 ---> 4657344671c0 03:18:33 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:18:33 ---> Running in 7093f489ba53 03:18:33 Removing intermediate container 7093f489ba53 03:18:33 ---> ba9ee5949a8e 03:18:33 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:33 ---> Running in 80c44896c737 03:18:34 Removing intermediate container 80c44896c737 03:18:34 ---> a1f0c621f7dd 03:18:34 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:34 ---> Running in 8509e81344c6 03:18:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:18:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:18:35 OK: 224 MiB in 56 packages 03:18:36 Removing intermediate container 8509e81344c6 03:18:36 ---> 63a4695c1186 03:18:36 Step 7/24 : WORKDIR /device-mqtt-go 03:18:36 ---> Running in b794f0ea871c 03:18:36 Removing intermediate container b794f0ea871c 03:18:36 ---> 8ab83fd5c60e 03:18:36 Step 8/24 : COPY go.mod vendor* ./ 03:18:36 ---> 964f1c50a7d1 03:18:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:36 ---> Running in b870adca63fe 03:18:37 Removing intermediate container b870adca63fe 03:18:37 ---> c3bf59eb9576 03:18:37 Step 10/24 : COPY . . 03:18:37 ---> dd6228eac165 03:18:37 Step 11/24 : ARG MAKE='make build' 03:18:37 ---> Running in 99040f6c5f57 03:18:37 Removing intermediate container 99040f6c5f57 03:18:37 ---> 94b24eb26cae 03:18:37 Step 12/24 : RUN $MAKE 03:18:37 ---> Running in b80cbdbf084b 03:18:37 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:18:52 Removing intermediate container b80cbdbf084b 03:18:52 ---> 155866fbd0c3 03:18:52 Step 13/24 : FROM alpine:3.14 03:18:52 3.14: Pulling from library/alpine 03:18:52 8663204ce13b: Pulling fs layer 03:18:52 8663204ce13b: Verifying Checksum 03:18:52 8663204ce13b: Download complete 03:18:52 8663204ce13b: Pull complete 03:18:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:18:52 Status: Downloaded newer image for alpine:3.14 03:18:52 ---> e04c818066af 03:18:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:18:52 ---> Running in 5ea9735c05a9 03:18:52 Removing intermediate container 5ea9735c05a9 03:18:52 ---> d1f60960697c 03:18:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:18:52 ---> Running in af9202d18bc4 03:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:18:52 (1/6) Installing dumb-init (1.2.5-r1) 03:18:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:18:52 (3/6) Installing libsodium (1.0.18-r0) 03:18:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:18:52 (5/6) Installing libzmq (4.3.4-r0) 03:18:52 (6/6) Installing zeromq (4.3.4-r0) 03:18:52 Executing busybox-1.33.1-r7.trigger 03:18:52 OK: 8 MiB in 20 packages 03:18:53 Removing intermediate container af9202d18bc4 03:18:53 ---> 86a52aaebcfa 03:18:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:18:54 ---> 02da98d74c1b 03:18:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:18:54 ---> ffd82ef5fac2 03:18:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:18:54 ---> 9ac8678bd577 03:18:54 Step 19/24 : EXPOSE 59982 03:18:54 ---> Running in 5745792ab8d0 03:18:54 Removing intermediate container 5745792ab8d0 03:18:54 ---> 8a58081230fa 03:18:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:18:54 ---> Running in ceb146ec5d33 03:18:54 Removing intermediate container ceb146ec5d33 03:18:54 ---> 57ad62194973 03:18:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:18:54 ---> Running in ed3cdfd96f26 03:18:54 Removing intermediate container ed3cdfd96f26 03:18:54 ---> 891112872c3b 03:18:54 Step 22/24 : LABEL arch=amd64 03:18:54 ---> Running in c8c52b695244 03:18:54 Removing intermediate container c8c52b695244 03:18:54 ---> 56c03ccf72b7 03:18:54 Step 23/24 : LABEL git_sha=1a55f4adae1ba8778254e62c86c4e2cde5785df0 03:18:54 ---> Running in 2ce9ae2132e5 03:18:54 Removing intermediate container 2ce9ae2132e5 03:18:54 ---> 3416ee131931 03:18:54 Step 24/24 : LABEL version=0.0.0 03:18:55 ---> Running in 7d98bdbcb369 03:18:55 Removing intermediate container 7d98bdbcb369 03:18:55 ---> 4cc88131ebe6 03:18:55 [Warning] One or more build-args [ARCH] were not consumed 03:18:55 Successfully built 4cc88131ebe6 03:18:55 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:18:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:55 03:18:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:18:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:55 latest: Pulling from edgex-lftools-log-publisher 03:18:55 5eb5b503b376: Pulling fs layer 03:18:55 5c69ac0246d0: Pulling fs layer 03:18:55 ec43610c2a17: Pulling fs layer 03:18:55 3a2ae6a8a46f: Pulling fs layer 03:18:55 33b1e0a273af: Pulling fs layer 03:18:55 5d3b04190fa2: Pulling fs layer 03:18:55 2f39f015ded8: Pulling fs layer 03:18:55 33b1e0a273af: Waiting 03:18:55 2f39f015ded8: Waiting 03:18:55 3a2ae6a8a46f: Waiting 03:18:55 5c69ac0246d0: Verifying Checksum 03:18:55 5c69ac0246d0: Download complete 03:18:55 3a2ae6a8a46f: Verifying Checksum 03:18:55 3a2ae6a8a46f: Download complete 03:18:56 33b1e0a273af: Verifying Checksum 03:18:56 33b1e0a273af: Download complete 03:18:56 5d3b04190fa2: Verifying Checksum 03:18:56 5d3b04190fa2: Download complete 03:18:56 ec43610c2a17: Verifying Checksum 03:18:56 5eb5b503b376: Verifying Checksum 03:18:56 5eb5b503b376: Download complete 03:18:56 2f39f015ded8: Download complete 03:18:57 5eb5b503b376: Pull complete 03:18:57 5c69ac0246d0: Pull complete 03:18:58 ec43610c2a17: Pull complete 03:18:58 3a2ae6a8a46f: Pull complete 03:18:58 33b1e0a273af: Pull complete 03:18:58 5d3b04190fa2: Pull complete 03:19:03 2f39f015ded8: Pull complete 03:19:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:19:04 prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container 03:19:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:05 $ docker top 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:06 ---> job-cost.sh 03:19:06 lf-activate-venv: SKIPPING 03:19:06 INFO: No Stack... 03:19:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:06 INFO: Archiving Costs [Pipeline] sh 03:19:07 + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/cost.csv 03:19:07 cut -d, -f6 [Pipeline] lock 03:19:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] 03:19:07 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] did not exist. Created. 03:19:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:07 + echo total: 0.2199999988079071 [Pipeline] stash 03:19:07 Stashed 1 file(s) [Pipeline] } 03:19:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:07 $ docker stop --time=1 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 03:19:08 $ docker rm -f 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11386 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [Pipeline] { [Pipeline] ws 03:19:18 Running in /w/workspace/device-mqtt-go/12 [Pipeline] { [Pipeline] checkout 03:19:19 Selected Git installation does not exist. Using Default 03:19:19 The recommended git tool is: NONE 03:19:26 using credential edgex-jenkins-ssh 03:19:26 Cloning the remote Git repository 03:19:26 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:19:26 > git init /w/workspace/device-mqtt-go/12 # timeout=10 03:19:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:26 > git --version # timeout=10 03:19:27 > git --version # 'git version 2.25.1' 03:19:27 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:29 Merging remotes/origin/main commit f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d 03:19:29 Merge succeeded, producing 50a080a4fed696b372d69fd9a55d92737e59f87b 03:19:29 Checking out Revision 50a080a4fed696b372d69fd9a55d92737e59f87b (PR-341) 03:19:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:28 > 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:19:29 > git config core.sparsecheckout # timeout=10 03:19:29 > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 03:19:29 > git remote # timeout=10 03:19:29 > git config --get remote.origin.url # timeout=10 03:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:29 > git merge f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 03:19:29 > git rev-parse HEAD^{commit} # timeout=10 03:19:29 > git config core.sparsecheckout # timeout=10 03:19:29 > git checkout -f 50a080a4fed696b372d69fd9a55d92737e59f87b # timeout=10 03:19:33 Commit message: "Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD" 03:19:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:33 > git rev-list --no-walk 0a415ea9bfe36a85a856b5e78368d178a3d08c44 # timeout=10 03:19:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:19:34 % Total % Received % Xferd Average Speed Time Time Time Current 03:19:34 Dload Upload Total Spent Left Speed 03:19:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50182 0 --:--:-- --:--:-- --:--:-- 50182 [Pipeline] sh 03:19:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:19:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:19:35 + sudo tee /etc/docker/daemon.new 03:19:35 { 03:19:35 "registry-mirrors": [ 03:19:35 "https://nexus3.edgexfoundry.org:10001" 03:19:35 ], 03:19:35 "bip": "10.250.0.254/24", 03:19:35 "hosts": [ 03:19:35 "tcp://0.0.0.0:5555", 03:19:35 "unix:///var/run/docker.sock" 03:19:35 ], 03:19:35 "mtu": 1458, 03:19:35 "selinux-enabled": true, 03:19:35 "seccomp-profile": "/etc/docker/seccomp.json" 03:19:35 } [Pipeline] sh 03:19:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:19:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:54 provisioning config files... 03:19:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/12@tmp/config1756319358679435352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:55 ---> docker-login.sh 03:19:55 nexus3.edgexfoundry.org:10001 03:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:56 Configure a credential helper to remove this warning. See 03:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:56 03:19:56 Login Succeeded 03:19:56 nexus3.edgexfoundry.org:10002 03:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:56 Configure a credential helper to remove this warning. See 03:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:56 03:19:56 Login Succeeded 03:19:56 nexus3.edgexfoundry.org:10003 03:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:56 Configure a credential helper to remove this warning. See 03:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:56 03:19:56 Login Succeeded 03:19:56 nexus3.edgexfoundry.org:10004 03:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:57 Configure a credential helper to remove this warning. See 03:19:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:57 03:19:57 Login Succeeded 03:19:57 docker.io 03:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:58 Configure a credential helper to remove this warning. See 03:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:58 03:19:58 Login Succeeded 03:19:58 ---> docker-login.sh ends [Pipeline] } 03:19:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:19:58 ========================================================= 03:19:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:19:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:19:59 + 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:19:59 Sending build context to Docker daemon 3.115MB 03:19:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:19:59 Step 2/12 : FROM ${BASE} AS builder 03:19:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:19:59 9b3977197b4f: Pulling fs layer 03:19:59 1a89e8eeedd5: Pulling fs layer 03:19:59 94645a83ff95: Pulling fs layer 03:19:59 3f3a8bcf1eab: Pulling fs layer 03:19:59 0c92f367c5e7: Pulling fs layer 03:19:59 f7c0051592d6: Pulling fs layer 03:19:59 a227ed2f7395: Pulling fs layer 03:19:59 7b1c46037f91: Pulling fs layer 03:19:59 3f3a8bcf1eab: Waiting 03:19:59 f7c0051592d6: Waiting 03:19:59 0c92f367c5e7: Waiting 03:19:59 7b1c46037f91: Waiting 03:19:59 94645a83ff95: Verifying Checksum 03:19:59 94645a83ff95: Download complete 03:19:59 1a89e8eeedd5: Verifying Checksum 03:19:59 1a89e8eeedd5: Download complete 03:19:59 0c92f367c5e7: Verifying Checksum 03:19:59 0c92f367c5e7: Download complete 03:19:59 f7c0051592d6: Download complete 03:19:59 9b3977197b4f: Verifying Checksum 03:19:59 9b3977197b4f: Download complete 03:19:59 a227ed2f7395: Verifying Checksum 03:19:59 a227ed2f7395: Download complete 03:20:00 9b3977197b4f: Pull complete 03:20:01 1a89e8eeedd5: Pull complete 03:20:01 94645a83ff95: Pull complete 03:20:01 7b1c46037f91: Verifying Checksum 03:20:01 7b1c46037f91: Download complete 03:20:02 3f3a8bcf1eab: Download complete 03:20:14 3f3a8bcf1eab: Pull complete 03:20:14 0c92f367c5e7: Pull complete 03:20:14 f7c0051592d6: Pull complete 03:20:14 a227ed2f7395: Pull complete 03:20:21 7b1c46037f91: Pull complete 03:20:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:20:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:20:21 ---> f79e39bc4007 03:20:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:20:22 ---> Running in 7f395e2a525f 03:20:22 Removing intermediate container 7f395e2a525f 03:20:22 ---> c6a2cb7db20e 03:20:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:20:22 ---> Running in ad9ab420684d 03:20:23 Removing intermediate container ad9ab420684d 03:20:23 ---> c6d9befad4ff 03:20:23 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:23 ---> Running in cded68c687ae 03:20:25 Removing intermediate container cded68c687ae 03:20:25 ---> 2f1ee026b3c6 03:20:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:25 ---> Running in b4317c15ea73 03:20:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:20:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:20:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:20:27 (2/4) Installing libedit (20210910.3.1-r0) 03:20:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:20:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:20:27 Executing busybox-1.34.1-r3.trigger 03:20:28 OK: 224 MiB in 56 packages 03:20:29 Removing intermediate container b4317c15ea73 03:20:29 ---> 7a52d339f4e7 03:20:29 Step 7/12 : WORKDIR /device-mqtt-go 03:20:29 ---> Running in 4068a88f2955 03:20:29 Removing intermediate container 4068a88f2955 03:20:29 ---> 19910b4b83a6 03:20:29 Step 8/12 : COPY go.mod vendor* ./ 03:20:29 ---> 3031f41b9001 03:20:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:29 ---> Running in 503fcdb340d8 03:21:16 Removing intermediate container 503fcdb340d8 03:21:16 ---> 36533ba5ac96 03:21:16 Step 10/12 : COPY . . 03:21:16 ---> 23f56148d837 03:21:16 Step 11/12 : ARG MAKE='make build' 03:21:16 ---> Running in 9f1b8e7b159a 03:21:16 Removing intermediate container 9f1b8e7b159a 03:21:16 ---> dac792cfc87d 03:21:16 Step 12/12 : RUN $MAKE 03:21:16 ---> Running in cfa99b1a76ed 03:21:17 noop 03:21:18 Removing intermediate container cfa99b1a76ed 03:21:18 ---> 39487d6ef06a 03:21:18 Successfully built 39487d6ef06a 03:21:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:21:18 + docker inspect -f . ci-base-image-arm64 03:21:18 . [Pipeline] withDockerContainer 03:21:18 prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container 03:21:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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:21:20 $ docker top 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:21 + go version 03:21:21 go version go1.17.6 linux/arm64 [Pipeline] } 03:21:21 $ docker stop --time=1 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a 03:21:22 $ docker rm -f 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:21:23 + docker inspect -f . ci-base-image-arm64 03:21:23 . [Pipeline] withDockerContainer 03:21:23 prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container 03:21:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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:21:24 $ docker top 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:21:25 + make test 03:21:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:21:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:22:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:22:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 03:22:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:22:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:22:49 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:23:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:23:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:23:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:23:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:23:12 $ docker stop --time=1 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 03:23:14 $ docker rm -f 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:15 Warning: overwriting stash ‘coverage-report’ 03:23:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:23:16 + ls -al . 03:23:16 total 172 03:23:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 03:23 . 03:23:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:19 .. 03:23:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 03:19 .dockerignore 03:23:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 03:19 .git 03:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 .github 03:23:16 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 03:19 .gitignore 03:23:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 03:19 .golangci.yml 03:23:16 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 03:19 Attribution.txt 03:23:16 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 03:19 CHANGELOG.md 03:23:16 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 03:19 Dockerfile 03:23:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 03:19 GOVERNANCE.md 03:23:16 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 03:19 Jenkinsfile 03:23:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 03:19 LICENSE 03:23:16 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 7 03:19 Makefile 03:23:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 03:19 OWNERS.md 03:23:16 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 03:19 README.md 03:23:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 03:17 VERSION 03:23:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:19 bin 03:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 cmd 03:23:16 -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 03:22 coverage.out 03:23:16 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 03:19 go.mod 03:23:16 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 03:19 go.sum 03:23:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 internal 03:23:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:19 mock 03:23:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:19 snap 03:23:16 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 03:19 version.go [Pipeline] isUnix [Pipeline] sh 03:23:16 + 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=50a080a4fed696b372d69fd9a55d92737e59f87b --label arch=arm64 --label version=0.0.0 . 03:23:16 Sending build context to Docker daemon 3.133MB 03:23:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:23:17 Step 2/24 : FROM ${BASE} AS builder 03:23:17 ---> 39487d6ef06a 03:23:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:23:17 ---> Running in b0d58eaf4d54 03:23:17 Removing intermediate container b0d58eaf4d54 03:23:17 ---> 39c3988c2990 03:23:17 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:23:17 ---> Running in e1fd8084b4f0 03:23:17 Removing intermediate container e1fd8084b4f0 03:23:17 ---> 5ddf67a18151 03:23:17 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:18 ---> Running in 060c1116fc4d 03:23:19 Removing intermediate container 060c1116fc4d 03:23:19 ---> cf3ab8cce4b8 03:23:19 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:19 ---> Running in baffc93905b7 03:23:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:23:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:23:22 OK: 224 MiB in 56 packages 03:23:23 Removing intermediate container baffc93905b7 03:23:23 ---> dfbc44181765 03:23:23 Step 7/24 : WORKDIR /device-mqtt-go 03:23:23 ---> Running in 02cc16aac7df 03:23:23 Removing intermediate container 02cc16aac7df 03:23:23 ---> 4c4e7947e77c 03:23:23 Step 8/24 : COPY go.mod vendor* ./ 03:23:23 ---> 7938229b0bf6 03:23:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:23 ---> Running in e876e5792543 03:23:26 Removing intermediate container e876e5792543 03:23:26 ---> 4d7bf3b6abc2 03:23:26 Step 10/24 : COPY . . 03:23:27 ---> 4deb42b13c13 03:23:27 Step 11/24 : ARG MAKE='make build' 03:23:27 ---> Running in f7c698c27216 03:23:27 Removing intermediate container f7c698c27216 03:23:27 ---> 039148035ac5 03:23:27 Step 12/24 : RUN $MAKE 03:23:27 ---> Running in bed08bce9e82 03:23:28 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:24:50 Removing intermediate container bed08bce9e82 03:24:50 ---> 60abfc601404 03:24:50 Step 13/24 : FROM alpine:3.14 03:24:50 3.14: Pulling from library/alpine 03:24:50 455c02918c45: Pulling fs layer 03:24:50 455c02918c45: Download complete 03:24:50 455c02918c45: Pull complete 03:24:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:24:50 Status: Downloaded newer image for alpine:3.14 03:24:50 ---> ac73e934f311 03:24:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:24:50 ---> Running in 206adcd45ff0 03:24:50 Removing intermediate container 206adcd45ff0 03:24:50 ---> a05f23d3eb97 03:24:50 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:24:50 ---> Running in 9b526649264c 03:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:24:50 (1/6) Installing dumb-init (1.2.5-r1) 03:24:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:24:50 (3/6) Installing libsodium (1.0.18-r0) 03:24:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:24:50 (5/6) Installing libzmq (4.3.4-r0) 03:24:50 (6/6) Installing zeromq (4.3.4-r0) 03:24:50 Executing busybox-1.33.1-r7.trigger 03:24:50 OK: 8 MiB in 20 packages 03:24:50 Removing intermediate container 9b526649264c 03:24:50 ---> f36fe683f77a 03:24:50 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:24:50 ---> c09f8afaa0b0 03:24:50 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:24:50 ---> 1ad2824c0869 03:24:50 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:24:50 ---> 85a60c913e13 03:24:50 Step 19/24 : EXPOSE 59982 03:24:50 ---> Running in f21080d185f3 03:24:50 Removing intermediate container f21080d185f3 03:24:50 ---> c1f66aa63d43 03:24:50 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:24:50 ---> Running in 0720c0e66d5b 03:24:50 Removing intermediate container 0720c0e66d5b 03:24:50 ---> 12046bba8a2c 03:24:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:24:50 ---> Running in 2e80a3d086dd 03:24:50 Removing intermediate container 2e80a3d086dd 03:24:50 ---> 50d67b392909 03:24:50 Step 22/24 : LABEL arch=arm64 03:24:50 ---> Running in 2d0acf48325c 03:24:50 Removing intermediate container 2d0acf48325c 03:24:50 ---> 8aeb2ad9c110 03:24:50 Step 23/24 : LABEL git_sha=50a080a4fed696b372d69fd9a55d92737e59f87b 03:24:50 ---> Running in 06298db0f9d2 03:24:50 Removing intermediate container 06298db0f9d2 03:24:50 ---> 7afdca35934a 03:24:50 Step 24/24 : LABEL version=0.0.0 03:24:50 ---> Running in 824bdd4c61d5 03:24:50 Removing intermediate container 824bdd4c61d5 03:24:50 ---> 91590436c57c 03:24:50 [Warning] One or more build-args [ARCH] were not consumed 03:24:50 Successfully built 91590436c57c 03:24:50 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:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:51 03:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:24:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:51 arm64: Pulling from edgex-lftools-log-publisher 03:24:51 8998bd30e6a1: Pulling fs layer 03:24:51 04944245beec: Pulling fs layer 03:24:51 699f458cf7ca: Pulling fs layer 03:24:51 765212b225bb: Pulling fs layer 03:24:51 f23df028b6ca: Pulling fs layer 03:24:51 d65c8cfc05b1: Pulling fs layer 03:24:51 2437ff75d9bd: Pulling fs layer 03:24:51 765212b225bb: Waiting 03:24:51 f23df028b6ca: Waiting 03:24:51 d65c8cfc05b1: Waiting 03:24:51 2437ff75d9bd: Waiting 03:24:51 04944245beec: Verifying Checksum 03:24:51 04944245beec: Download complete 03:24:51 765212b225bb: Verifying Checksum 03:24:51 765212b225bb: Download complete 03:24:51 f23df028b6ca: Verifying Checksum 03:24:51 f23df028b6ca: Download complete 03:24:51 d65c8cfc05b1: Verifying Checksum 03:24:51 d65c8cfc05b1: Download complete 03:24:51 699f458cf7ca: Verifying Checksum 03:24:51 699f458cf7ca: Download complete 03:24:52 8998bd30e6a1: Download complete 03:24:54 2437ff75d9bd: Verifying Checksum 03:24:54 2437ff75d9bd: Download complete 03:24:56 8998bd30e6a1: Pull complete 03:24:56 04944245beec: Pull complete 03:24:58 699f458cf7ca: Pull complete 03:24:58 765212b225bb: Pull complete 03:24:59 f23df028b6ca: Pull complete 03:24:59 d65c8cfc05b1: Pull complete 03:25:14 2437ff75d9bd: Pull complete 03:25:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:25:14 prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container 03:25:14 $ 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/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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:25:17 $ docker top e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:18 ---> job-cost.sh 03:25:18 lf-activate-venv: SKIPPING 03:25:18 INFO: No Stack... 03:25:19 INFO: Retrieving Pricing Info for: v3-standard-4 03:25:19 INFO: Archiving Costs [Pipeline] sh 03:25:20 + cat /w/workspace/device-mqtt-go/12/archives/cost.csv 03:25:20 + cut -d, -f6 [Pipeline] lock 03:25:20 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] 03:25:20 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] did not exist. Created. 03:25:20 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:21 /w/workspace/device-mqtt-go/12@tmp/durable-3b5cff60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:25:21 + echo total: 0.10999999940395355 [Pipeline] stash 03:25:21 Warning: overwriting stash ‘stack-cost’ 03:25:21 Stashed 1 file(s) [Pipeline] } 03:25:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:21 $ docker stop --time=1 e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 03:25:23 $ docker rm -f e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 [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:25:23 provisioning config files... 03:25:23 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config438126868245830161tmp [Pipeline] { [Pipeline] sh 03:25:24 + set +x 03:25:24 + curl -s https://codecov.io/bash 03:25:24 + bash -s -- 03:25:24 03:25:24 _____ _ 03:25:24 / ____| | | 03:25:24 | | ___ __| | ___ ___ _____ __ 03:25:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:25:24 | |___| (_) | (_| | __/ (_| (_) \ V / 03:25:24 \_____\___/ \__,_|\___|\___\___/ \_/ 03:25:24 Bash-1.0.6 03:25:24 03:25:24 03:25:24 ==> git version 2.25.1 found 03:25:24 ==> 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:25:24 Release-Date: 2020-01-08 03:25:24 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:25:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:25:24 ==> Jenkins CI detected. 03:25:24 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-341 03:25:24 project root: . 03:25:24 --> token set from env 03:25:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:25:24 ==> Running gcov in . (disable via -X gcov) 03:25:24 ==> Python coveragepy not found 03:25:24 ==> Searching for coverage reports in: 03:25:24 + . 03:25:24 -> Found 1 reports 03:25:24 ==> Detecting git/mercurial file structure 03:25:24 ==> Reading reports 03:25:24 + ./coverage.out bytes=17887 03:25:24 ==> Appending adjustments 03:25:24 https://docs.codecov.io/docs/fixing-reports 03:25:24 + Found adjustments 03:25:24 ==> Gzipping contents 03:25:24 4.0K /tmp/codecov.Zbm7Rp.gz 03:25:24 ==> Uploading reports 03:25:24 url: https://codecov.io 03:25:24 query: branch=PR-341&commit=1a55f4adae1ba8778254e62c86c4e2cde5785df0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= 03:25:24 -> Pinging Codecov 03:25:24 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=1a55f4adae1ba8778254e62c86c4e2cde5785df0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= 03:25:24 -> Uploading to 03:25:24 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/7D719EC7BBE17E464838252E33014C33/1a55f4adae1ba8778254e62c86c4e2cde5785df0/0e667387-c1ae-4cde-b217-30a887b4c468.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T032524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b44014c13680cb325aa9208b08927e1d59b3d0eb31f1e4e7f778925787a409a 03:25:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:24 Dload Upload Total Spent Left Speed 03:25:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3241 0 0 100 3241 0 12230 --:--:-- --:--:-- --:--:-- 12230 03:25:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] } 03:25:25 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:25:25 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives ] 03:25:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:25:25 total 16 03:25:25 drwxr-xr-x 3 root root 4096 Apr 7 03:19 . 03:25:25 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:19 .. 03:25:25 drwxr-xr-x 2 root root 4096 Apr 7 03:19 cost 03:25:25 -rw-r--r-- 1 root root 86 Apr 7 03:19 cost.csv 03:25:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:25:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives 03:25:25 total 16 03:25:25 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 03:19 . 03:25:25 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:19 .. 03:25:25 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 03:19 cost 03:25:25 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:25:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:25:26 ---> package-listing.sh 03:25:26 ++ facter osfamily 03:25:26 ++ tr '[:upper:]' '[:lower:]' 03:25:27 + OS_FAMILY=debian 03:25:27 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-341 03:25:27 + START_PACKAGES=/tmp/packages_start.txt 03:25:27 + END_PACKAGES=/tmp/packages_end.txt 03:25:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:25:27 + PACKAGES=/tmp/packages_start.txt 03:25:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' 03:25:27 + PACKAGES=/tmp/packages_end.txt 03:25:27 + case "${OS_FAMILY}" in 03:25:27 + dpkg -l 03:25:27 + grep '^ii' 03:25:27 + '[' -f /tmp/packages_start.txt ']' 03:25:27 + '[' -f /tmp/packages_end.txt ']' 03:25:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:25:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' 03:25:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ 03:25:27 + 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:25:27 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:25:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:28 . [Pipeline] withDockerContainer 03:25:28 prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container 03:25:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:25:28 $ docker top 7fa108098e242bfe89a5f29db893cd0d6375f7bba8b12f982b3e72949d91b630 -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:28 + touch /tmp/pre-build-complete [Pipeline] sh 03:25:29 + mkdir -p /var/log/sysstat [Pipeline] sh 03:25:29 + ls /var/log/sa-host 03:25:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:29 provisioning config files... 03:25:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config4042856153472094714tmp [Pipeline] { [Pipeline] echo 03:25:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:25:30 ---> create-netrc.sh [Pipeline] } 03:25:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:25:30 ---> python-tools-install.sh [Pipeline] echo 03:25:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:25:30 ---> sudo-logs.sh 03:25:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:25:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:25:31 ---> job-cost.sh 03:25:31 lf-activate-venv: SKIPPING 03:25:31 DEBUG: total: 0.2199999988079071 03:25:31 INFO: Retrieving Stack Cost... 03:25:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:31 INFO: Archiving Costs [Pipeline] echo 03:25:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:25:32 ---> logs-deploy.sh 03:25:32 lf-activate-venv: SKIPPING 03:25:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-341/12 03:25:32 INFO: archiving workspace using pattern(s): 03:25:33 Archives upload complete. 03:25:33 INFO: archiving logs to Nexus