Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 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-ssh11429844079900259785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh6804599803486136809.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11772525836170022589.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh6977830676811967672.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6523165849256370299.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 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-47539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-47533’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47534’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47537’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47542’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-47535’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47536’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47538’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47541’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47543 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 Avoid second fetch Checking out Revision 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380)" > git rev-list --no-walk ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T12:10:10.297Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T12:10:10.361Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T12:10:10.378Z] ========================================================= [2022-05-10T12:10:10.378Z] EdgeX Global Pipelines Version Info [2022-05-10T12:10:10.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:10:11.522Z] ------------------- [2022-05-10T12:10:11.522Z] stable info: [2022-05-10T12:10:11.522Z] ------------------- [2022-05-10T12:10:11.522Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:10:11.522Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T12:10:11.522Z] Message: update stable to v1.0.227 [2022-05-10T12:10:11.784Z] ------------------- [2022-05-10T12:10:11.784Z] experimental info: [2022-05-10T12:10:11.784Z] ------------------- [2022-05-10T12:10:11.784Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T12:10:11.784Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T12:10:11.784Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T12:10:11.921Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-10T12:10:11.936Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-10T12:10:11.952Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T12:10:11.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T12:10:11.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T12:10:12.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T12:10:12.020Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T12:10:12.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T12:10:12.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T12:10:12.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T12:10:12.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T12:10:12.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-10T12:10:12.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T12:10:12.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T12:10:12.143Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:10:12.162Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T12:10:12.177Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:10:12.190Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T12:10:12.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T12:10:12.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T12:10:12.219Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T12:10:12.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T12:10:12.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T12:10:12.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T12:10:12.266Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T12:10:12.282Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T12:10:12.298Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-10T12:10:12.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-10T12:10:12.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-10T12:10:12.338Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo [2022-05-10T12:10:12.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c32965 [Pipeline] echo [2022-05-10T12:10:12.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:10:12.404Z] provisioning config files... [2022-05-10T12:10:12.419Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7491249144905247016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:10:12.759Z] ---> docker-login.sh [2022-05-10T12:10:12.759Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:10:13.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:13.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:13.019Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:13.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:13.019Z] [2022-05-10T12:10:13.019Z] Login Succeeded [2022-05-10T12:10:13.019Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:10:13.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:13.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:13.283Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:13.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:13.283Z] [2022-05-10T12:10:13.283Z] Login Succeeded [2022-05-10T12:10:13.283Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:10:13.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:13.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:13.283Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:13.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:13.283Z] [2022-05-10T12:10:13.283Z] Login Succeeded [2022-05-10T12:10:13.283Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:10:13.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:13.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:13.545Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:13.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:13.545Z] [2022-05-10T12:10:13.545Z] Login Succeeded [2022-05-10T12:10:13.545Z] docker.io [2022-05-10T12:10:13.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:14.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:14.118Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:14.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:14.118Z] [2022-05-10T12:10:14.118Z] Login Succeeded [2022-05-10T12:10:14.118Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:10:14.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T12:10:14.496Z] + git rev-list -1 --merges 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2~1..5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo [2022-05-10T12:10:14.597Z] -----------> git rev-list -1 --merges 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2~1..5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [false] [Pipeline] sh [2022-05-10T12:10:14.901Z] + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo [2022-05-10T12:10:14.917Z] ========================================================= [2022-05-10T12:10:14.917Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T12:10:14.917Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:10:15.264Z] + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo [2022-05-10T12:10:15.278Z] [semverPrep] GIT_COMMIT: 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380) [Pipeline] echo [2022-05-10T12:10:15.290Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T12:10:15.667Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:10:15.668Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T12:10:15.668Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T12:10:15.668Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T12:10:15.668Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T12:10:15.668Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T12:10:15.668Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:16.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:10:16.023Z] [2022-05-10T12:10:16.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:16.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:10:16.327Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T12:10:16.327Z] 1fe172e4850f: Pulling fs layer [2022-05-10T12:10:16.327Z] caf521ccaac6: Pulling fs layer [2022-05-10T12:10:16.327Z] 3ead6fa29328: Pulling fs layer [2022-05-10T12:10:16.327Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T12:10:16.327Z] a8d5f1318db7: Pulling fs layer [2022-05-10T12:10:16.327Z] c427282e49a2: Pulling fs layer [2022-05-10T12:10:16.327Z] 1827001aaf11: Pulling fs layer [2022-05-10T12:10:16.327Z] 0714d37db230: Pulling fs layer [2022-05-10T12:10:16.327Z] ac28cf19c067: Pulling fs layer [2022-05-10T12:10:16.327Z] ca983d60f3e2: Pulling fs layer [2022-05-10T12:10:16.327Z] 9f894cec8388: Pulling fs layer [2022-05-10T12:10:16.327Z] a8d5f1318db7: Waiting [2022-05-10T12:10:16.327Z] c427282e49a2: Waiting [2022-05-10T12:10:16.327Z] 1827001aaf11: Waiting [2022-05-10T12:10:16.328Z] 0714d37db230: Waiting [2022-05-10T12:10:16.328Z] 5c2a1cbceb83: Waiting [2022-05-10T12:10:16.328Z] ac28cf19c067: Waiting [2022-05-10T12:10:16.328Z] 9f894cec8388: Waiting [2022-05-10T12:10:16.328Z] ca983d60f3e2: Waiting [2022-05-10T12:10:16.328Z] caf521ccaac6: Download complete [2022-05-10T12:10:16.328Z] 5c2a1cbceb83: Download complete [2022-05-10T12:10:16.328Z] a8d5f1318db7: Verifying Checksum [2022-05-10T12:10:16.328Z] a8d5f1318db7: Download complete [2022-05-10T12:10:16.587Z] 3ead6fa29328: Verifying Checksum [2022-05-10T12:10:16.587Z] 3ead6fa29328: Download complete [2022-05-10T12:10:16.587Z] c427282e49a2: Download complete [2022-05-10T12:10:16.587Z] 0714d37db230: Download complete [2022-05-10T12:10:16.587Z] ac28cf19c067: Verifying Checksum [2022-05-10T12:10:16.587Z] ac28cf19c067: Download complete [2022-05-10T12:10:16.587Z] ca983d60f3e2: Verifying Checksum [2022-05-10T12:10:16.587Z] ca983d60f3e2: Download complete [2022-05-10T12:10:16.587Z] 9f894cec8388: Download complete [2022-05-10T12:10:16.587Z] 1fe172e4850f: Verifying Checksum [2022-05-10T12:10:16.587Z] 1fe172e4850f: Download complete [2022-05-10T12:10:16.848Z] 1827001aaf11: Verifying Checksum [2022-05-10T12:10:16.848Z] 1827001aaf11: Download complete [2022-05-10T12:10:17.788Z] 1fe172e4850f: Pull complete [2022-05-10T12:10:17.788Z] caf521ccaac6: Pull complete [2022-05-10T12:10:18.358Z] 3ead6fa29328: Pull complete [2022-05-10T12:10:18.358Z] 5c2a1cbceb83: Pull complete [2022-05-10T12:10:18.620Z] a8d5f1318db7: Pull complete [2022-05-10T12:10:18.880Z] c427282e49a2: Pull complete [2022-05-10T12:10:20.793Z] 1827001aaf11: Pull complete [2022-05-10T12:10:20.794Z] 0714d37db230: Pull complete [2022-05-10T12:10:21.054Z] ac28cf19c067: Pull complete [2022-05-10T12:10:21.054Z] ca983d60f3e2: Pull complete [2022-05-10T12:10:21.368Z] 9f894cec8388: Pull complete [2022-05-10T12:10:21.368Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T12:10:21.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:10:21.368Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T12:10:21.459Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:10:21.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:10:23.394Z] $ docker top 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 -eo pid,comm [2022-05-10T12:10:23.460Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-10T12:10:23.460Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:10:23.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:10:23.502Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:10:23.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:10:23.644Z] $ docker exec 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent [2022-05-10T12:10:23.770Z] SSH_AUTH_SOCK=/tmp/ssh-4Irj6Uy7Ouvc/agent.33 [2022-05-10T12:10:23.770Z] SSH_AGENT_PID=39 [2022-05-10T12:10:23.778Z] Running ssh-add (command line suppressed) [2022-05-10T12:10:23.906Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_514361661706425345.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_514361661706425345.key) [2022-05-10T12:10:23.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:10:24.203Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T12:10:24.220Z] $ docker exec --env ******** --env ******** 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent -k [2022-05-10T12:10:24.338Z] unset SSH_AUTH_SOCK; [2022-05-10T12:10:24.338Z] unset SSH_AGENT_PID; [2022-05-10T12:10:24.338Z] echo Agent pid 39 killed; [2022-05-10T12:10:24.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T12:10:24.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:10:24.366Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:10:24.483Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:10:24.488Z] $ docker exec 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent [2022-05-10T12:10:24.619Z] SSH_AUTH_SOCK=/tmp/ssh-vBk59YAC8YCm/agent.73 [2022-05-10T12:10:24.619Z] SSH_AGENT_PID=79 [2022-05-10T12:10:24.624Z] Running ssh-add (command line suppressed) [2022-05-10T12:10:24.757Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4098475028244575320.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4098475028244575320.key) [2022-05-10T12:10:24.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:10:25.060Z] + git semver init [2022-05-10T12:10:25.321Z] 2022-05-10 12:10:25,276 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T12:10:25.321Z] 2022-05-10 12:10:25,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-10T12:10:25.321Z] 2022-05-10 12:10:25,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-10T12:10:25.321Z] 2022-05-10 12:10:25,277 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:10:26.263Z] 2022-05-10 12:10:26,118 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-10T12:10:26.263Z] 2022-05-10 12:10:26,118 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-05-10T12:10:26.263Z] 2022-05-10 12:10:26,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:10:26.263Z] 2022-05-10 12:10:26,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:10:26.263Z] 2.2.0-dev.22 [Pipeline] } [2022-05-10T12:10:26.276Z] $ docker exec --env ******** --env ******** 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent -k [2022-05-10T12:10:26.409Z] unset SSH_AUTH_SOCK; [2022-05-10T12:10:26.410Z] unset SSH_AGENT_PID; [2022-05-10T12:10:26.410Z] echo Agent pid 79 killed; [2022-05-10T12:10:26.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:10:26.722Z] + git semver [Pipeline] } [2022-05-10T12:10:26.999Z] $ docker stop --time=1 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 [2022-05-10T12:10:28.314Z] $ docker rm -f 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:10:28.678Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T12:10:28.925Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T12:10:28.929Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.22 [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 [2022-05-10T12:10:29.077Z] provisioning config files... [2022-05-10T12:10:29.089Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4882631585270001392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:10:29.392Z] ---> docker-login.sh [2022-05-10T12:10:29.392Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:10:29.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:29.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:29.392Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:29.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:29.392Z] [2022-05-10T12:10:29.392Z] Login Succeeded [2022-05-10T12:10:29.392Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:10:29.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:29.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:29.653Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:29.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:29.653Z] [2022-05-10T12:10:29.653Z] Login Succeeded [2022-05-10T12:10:29.653Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:10:29.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:29.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:29.653Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:29.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:29.653Z] [2022-05-10T12:10:29.653Z] Login Succeeded [2022-05-10T12:10:29.653Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:10:29.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:29.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:29.915Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:29.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:29.915Z] [2022-05-10T12:10:29.915Z] Login Succeeded [2022-05-10T12:10:29.915Z] docker.io [2022-05-10T12:10:29.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:10:30.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:10:30.177Z] Configure a credential helper to remove this warning. See [2022-05-10T12:10:30.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:10:30.177Z] [2022-05-10T12:10:30.177Z] Login Succeeded [2022-05-10T12:10:30.177Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:10:30.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:10:30.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:10:30.269Z] ========================================================= [2022-05-10T12:10:30.269Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T12:10:30.269Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:30.580Z] + 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 . [2022-05-10T12:10:30.581Z] Sending build context to Docker daemon 5.905MB [2022-05-10T12:10:30.581Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:10:30.581Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T12:10:30.581Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T12:10:30.581Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T12:10:30.581Z] 666ba61612fd: Pulling fs layer [2022-05-10T12:10:30.581Z] 8ed8ca486205: Pulling fs layer [2022-05-10T12:10:30.581Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T12:10:30.581Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T12:10:30.581Z] ca2b28591e48: Pulling fs layer [2022-05-10T12:10:30.581Z] a51346096db8: Pulling fs layer [2022-05-10T12:10:30.581Z] daebc70d1ce1: Pulling fs layer [2022-05-10T12:10:30.581Z] 0e18a0eac166: Pulling fs layer [2022-05-10T12:10:30.581Z] 4fe6c5a15a65: Waiting [2022-05-10T12:10:30.581Z] a51346096db8: Waiting [2022-05-10T12:10:30.581Z] 22a0e8bec74d: Waiting [2022-05-10T12:10:30.581Z] daebc70d1ce1: Waiting [2022-05-10T12:10:30.581Z] ca2b28591e48: Waiting [2022-05-10T12:10:30.581Z] 0e18a0eac166: Waiting [2022-05-10T12:10:30.581Z] 8ed8ca486205: Verifying Checksum [2022-05-10T12:10:30.581Z] 8ed8ca486205: Download complete [2022-05-10T12:10:30.581Z] 666ba61612fd: Download complete [2022-05-10T12:10:30.842Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T12:10:30.842Z] 22a0e8bec74d: Download complete [2022-05-10T12:10:30.842Z] ca2b28591e48: Download complete [2022-05-10T12:10:30.842Z] a51346096db8: Verifying Checksum [2022-05-10T12:10:30.842Z] a51346096db8: Download complete [2022-05-10T12:10:30.842Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T12:10:30.842Z] 59bf1c3509f3: Download complete [2022-05-10T12:10:30.842Z] daebc70d1ce1: Verifying Checksum [2022-05-10T12:10:30.842Z] daebc70d1ce1: Download complete [2022-05-10T12:10:30.842Z] 59bf1c3509f3: Pull complete [2022-05-10T12:10:31.104Z] 666ba61612fd: Pull complete [2022-05-10T12:10:31.104Z] 8ed8ca486205: Pull complete [2022-05-10T12:10:31.681Z] 0e18a0eac166: Verifying Checksum [2022-05-10T12:10:31.681Z] 0e18a0eac166: Download complete [2022-05-10T12:10:31.681Z] 4fe6c5a15a65: Download complete [2022-05-10T12:10:35.878Z] 4fe6c5a15a65: Pull complete [2022-05-10T12:10:35.878Z] 22a0e8bec74d: Pull complete [2022-05-10T12:10:35.878Z] ca2b28591e48: Pull complete [2022-05-10T12:10:35.878Z] a51346096db8: Pull complete [2022-05-10T12:10:35.878Z] daebc70d1ce1: Pull complete [2022-05-10T12:10:37.790Z] 0e18a0eac166: Pull complete [2022-05-10T12:10:37.790Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T12:10:37.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T12:10:37.790Z] ---> f018257e8ee9 [2022-05-10T12:10:37.790Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:10:40.337Z] ---> Running in 8576e56fbeec [2022-05-10T12:10:40.337Z] Removing intermediate container 8576e56fbeec [2022-05-10T12:10:40.337Z] ---> 702c416cafa1 [2022-05-10T12:10:40.337Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:10:40.337Z] ---> Running in c88696ceabf1 [2022-05-10T12:10:40.337Z] Removing intermediate container c88696ceabf1 [2022-05-10T12:10:40.337Z] ---> d7640d32a481 [2022-05-10T12:10:40.337Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:10:40.337Z] ---> Running in f0db5bafdff3 [2022-05-10T12:10:40.911Z] Removing intermediate container f0db5bafdff3 [2022-05-10T12:10:40.911Z] ---> a0e61b12d80d [2022-05-10T12:10:40.911Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:10:40.911Z] ---> Running in d4df53872ae3 [2022-05-10T12:10:41.484Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:10:42.058Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:10:42.320Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:10:42.582Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:10:42.582Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:10:42.582Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:10:42.844Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:10:42.844Z] OK: 224 MiB in 56 packages [2022-05-10T12:10:43.105Z] Removing intermediate container d4df53872ae3 [2022-05-10T12:10:43.105Z] ---> 6d26ef70317b [2022-05-10T12:10:43.105Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T12:10:43.105Z] ---> Running in fa89438ffb7d [2022-05-10T12:10:43.366Z] Removing intermediate container fa89438ffb7d [2022-05-10T12:10:43.366Z] ---> eac4a1327db7 [2022-05-10T12:10:43.366Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T12:10:43.366Z] ---> 8df11f2c94b6 [2022-05-10T12:10:43.366Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:10:43.366Z] ---> Running in 09b4998fb4b9 [2022-05-10T12:10:44.029Z] Still waiting to schedule task [2022-05-10T12:10:44.030Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-10T12:10:58.277Z] Removing intermediate container 09b4998fb4b9 [2022-05-10T12:10:58.277Z] ---> 22360a8c0667 [2022-05-10T12:10:58.277Z] Step 10/12 : COPY . . [2022-05-10T12:10:58.277Z] ---> 93796658bf34 [2022-05-10T12:10:58.277Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T12:10:58.277Z] ---> Running in 673f378e4ad2 [2022-05-10T12:10:58.277Z] Removing intermediate container 673f378e4ad2 [2022-05-10T12:10:58.277Z] ---> 113635900145 [2022-05-10T12:10:58.277Z] Step 12/12 : RUN $MAKE [2022-05-10T12:10:58.277Z] ---> Running in 18f71e0942c4 [2022-05-10T12:10:58.277Z] noop [2022-05-10T12:10:58.277Z] Removing intermediate container 18f71e0942c4 [2022-05-10T12:10:58.277Z] ---> 44738304e61c [2022-05-10T12:10:58.277Z] Successfully built 44738304e61c [2022-05-10T12:10:58.277Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:10:58.593Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:10:58.594Z] . [Pipeline] withDockerContainer [2022-05-10T12:10:58.665Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:10:58.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-05-10T12:10:59.237Z] $ docker top cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:10:59.604Z] + go version [2022-05-10T12:10:59.604Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T12:10:59.621Z] $ docker stop --time=1 cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 [2022-05-10T12:11:01.066Z] $ docker rm -f cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:11:01.487Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T12:11:01.487Z] . [Pipeline] withDockerContainer [2022-05-10T12:11:01.556Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:11:01.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat [2022-05-10T12:11:02.198Z] $ docker top 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:11:02.576Z] + make test [2022-05-10T12:11:02.576Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:11:03.146Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T12:11:11.276Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T12:11:11.538Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-05-10T12:11:11.538Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T12:11:18.110Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:11:22.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:11:22.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:11:22.314Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:11:22.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:11:22.605Z] $ docker stop --time=1 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a [2022-05-10T12:11:24.351Z] $ docker rm -f 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:11:24.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:11:24.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T12:11:25.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:11:26.003Z] + ls -al . [2022-05-10T12:11:26.004Z] total 180 [2022-05-10T12:11:26.004Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:11 . [2022-05-10T12:11:26.004Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:10 .. [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:10 .dockerignore [2022-05-10T12:11:26.004Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:10 .git [2022-05-10T12:11:26.004Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 .github [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:10 .gitignore [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:10 .golangci.yml [2022-05-10T12:11:26.004Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:10 .semver [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 12:10 Attribution.txt [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 12:10 CHANGELOG.md [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:10 Dockerfile [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:10 GOVERNANCE.md [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 12:10 Jenkinsfile [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:10 LICENSE [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:10 Makefile [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:10 OWNERS.md [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 12:10 README.md [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:10 VERSION [2022-05-10T12:11:26.004Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:10 bin [2022-05-10T12:11:26.004Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 cmd [2022-05-10T12:11:26.004Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 12:11 coverage.out [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 12:10 go.mod [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 12:10 go.sum [2022-05-10T12:11:26.004Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 internal [2022-05-10T12:11:26.004Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:10 mock [2022-05-10T12:11:26.004Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:10 snap [2022-05-10T12:11:26.004Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 12:10 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:11:26.304Z] + 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=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 --label arch=amd64 --label version=2.2.0-dev.22 . [2022-05-10T12:11:26.304Z] Sending build context to Docker daemon 5.923MB [2022-05-10T12:11:26.304Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:11:26.304Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T12:11:26.304Z] ---> 44738304e61c [2022-05-10T12:11:26.304Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:11:26.304Z] ---> Running in e7dd56cb1d91 [2022-05-10T12:11:26.566Z] Removing intermediate container e7dd56cb1d91 [2022-05-10T12:11:26.566Z] ---> c11bbe5b1540 [2022-05-10T12:11:26.566Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:11:26.566Z] ---> Running in ae76593242de [2022-05-10T12:11:26.566Z] Removing intermediate container ae76593242de [2022-05-10T12:11:26.566Z] ---> 6d3ba71902d4 [2022-05-10T12:11:26.566Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:11:26.566Z] ---> Running in dd2e2122aca8 [2022-05-10T12:11:27.139Z] Removing intermediate container dd2e2122aca8 [2022-05-10T12:11:27.139Z] ---> d487d067b620 [2022-05-10T12:11:27.139Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:11:27.139Z] ---> Running in 2e7deabc1f2f [2022-05-10T12:11:27.400Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:28.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:28.602Z] OK: 224 MiB in 56 packages [2022-05-10T12:11:28.863Z] Removing intermediate container 2e7deabc1f2f [2022-05-10T12:11:28.863Z] ---> bff9738a17dc [2022-05-10T12:11:28.863Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T12:11:28.863Z] ---> Running in bef675e6a972 [2022-05-10T12:11:29.123Z] Removing intermediate container bef675e6a972 [2022-05-10T12:11:29.123Z] ---> 53c9d3af9e28 [2022-05-10T12:11:29.123Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T12:11:29.123Z] ---> 889686e41c58 [2022-05-10T12:11:29.123Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:11:29.123Z] ---> Running in 0d9e9b4ecc30 [2022-05-10T12:11:30.062Z] Removing intermediate container 0d9e9b4ecc30 [2022-05-10T12:11:30.062Z] ---> d2cd4fec11e1 [2022-05-10T12:11:30.062Z] Step 10/24 : COPY . . [2022-05-10T12:11:30.062Z] ---> d4b1da22f27b [2022-05-10T12:11:30.062Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T12:11:30.321Z] ---> Running in 352ef2ab71dd [2022-05-10T12:11:30.321Z] Removing intermediate container 352ef2ab71dd [2022-05-10T12:11:30.321Z] ---> 9ff525f77028 [2022-05-10T12:11:30.321Z] Step 12/24 : RUN $MAKE [2022-05-10T12:11:30.321Z] ---> Running in 1b9c1145e68d [2022-05-10T12:11:30.581Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T12:11:52.532Z] Removing intermediate container 1b9c1145e68d [2022-05-10T12:11:52.533Z] ---> c28c1932d844 [2022-05-10T12:11:52.533Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T12:11:52.533Z] 3.14: Pulling from library/alpine [2022-05-10T12:11:52.533Z] 8663204ce13b: Pulling fs layer [2022-05-10T12:11:52.533Z] 8663204ce13b: Verifying Checksum [2022-05-10T12:11:52.533Z] 8663204ce13b: Download complete [2022-05-10T12:11:52.533Z] 8663204ce13b: Pull complete [2022-05-10T12:11:52.533Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:11:52.533Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:11:52.533Z] ---> e04c818066af [2022-05-10T12:11:52.533Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T12:11:52.533Z] ---> Running in 62cadcf2c158 [2022-05-10T12:11:52.533Z] Removing intermediate container 62cadcf2c158 [2022-05-10T12:11:52.533Z] ---> 4187da80d6fa [2022-05-10T12:11:52.533Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:11:52.533Z] ---> Running in 402f24a47ed6 [2022-05-10T12:11:52.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:52.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T12:11:52.533Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:11:52.533Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:11:52.533Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:11:52.533Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:11:52.793Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:11:52.793Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:11:52.794Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:11:52.794Z] OK: 8 MiB in 20 packages [2022-05-10T12:11:53.054Z] Removing intermediate container 402f24a47ed6 [2022-05-10T12:11:53.054Z] ---> 98bd164aaafc [2022-05-10T12:11:53.054Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T12:11:54.010Z] ---> 3716b46c2c6b [2022-05-10T12:11:54.010Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T12:11:54.010Z] ---> 3a9d37833ee1 [2022-05-10T12:11:54.010Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T12:11:54.273Z] ---> c32569a04c0b [2022-05-10T12:11:54.273Z] Step 19/24 : EXPOSE 59982 [2022-05-10T12:11:54.273Z] ---> Running in c3e8a76b284c [2022-05-10T12:11:54.273Z] Removing intermediate container c3e8a76b284c [2022-05-10T12:11:54.273Z] ---> 9da2f2282f23 [2022-05-10T12:11:54.273Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T12:11:54.273Z] ---> Running in 1135e3908975 [2022-05-10T12:11:54.534Z] Removing intermediate container 1135e3908975 [2022-05-10T12:11:54.534Z] ---> c7087a0aa66e [2022-05-10T12:11:54.534Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:11:54.534Z] ---> Running in b0b5392f33b4 [2022-05-10T12:11:54.534Z] Removing intermediate container b0b5392f33b4 [2022-05-10T12:11:54.534Z] ---> 8af7e41021c1 [2022-05-10T12:11:54.534Z] Step 22/24 : LABEL arch=amd64 [2022-05-10T12:11:54.816Z] ---> Running in 020e537ccfc4 [2022-05-10T12:11:54.816Z] Removing intermediate container 020e537ccfc4 [2022-05-10T12:11:54.816Z] ---> cd9e59f59296 [2022-05-10T12:11:54.816Z] Step 23/24 : LABEL git_sha=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:11:54.816Z] ---> Running in acee95b11d10 [2022-05-10T12:11:54.816Z] Removing intermediate container acee95b11d10 [2022-05-10T12:11:54.816Z] ---> 8302e3f68e86 [2022-05-10T12:11:54.816Z] Step 24/24 : LABEL version=2.2.0-dev.22 [2022-05-10T12:11:55.078Z] ---> Running in ec8f891b4ed4 [2022-05-10T12:11:55.078Z] Removing intermediate container ec8f891b4ed4 [2022-05-10T12:11:55.078Z] ---> c7bd21bf4bb1 [2022-05-10T12:11:55.078Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:11:55.079Z] Successfully built c7bd21bf4bb1 [2022-05-10T12:11:55.079Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:11:55.147Z] provisioning config files... [2022-05-10T12:11:55.158Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9209101806306579145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:11:55.459Z] ---> docker-login.sh [2022-05-10T12:11:55.460Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:11:55.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:11:55.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:11:55.460Z] Configure a credential helper to remove this warning. See [2022-05-10T12:11:55.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:11:55.460Z] [2022-05-10T12:11:55.460Z] Login Succeeded [2022-05-10T12:11:55.460Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:11:55.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:11:55.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:11:55.721Z] Configure a credential helper to remove this warning. See [2022-05-10T12:11:55.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:11:55.721Z] [2022-05-10T12:11:55.721Z] Login Succeeded [2022-05-10T12:11:55.721Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:11:55.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:11:55.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:11:55.721Z] Configure a credential helper to remove this warning. See [2022-05-10T12:11:55.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:11:55.721Z] [2022-05-10T12:11:55.721Z] Login Succeeded [2022-05-10T12:11:55.721Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:11:55.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:11:55.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:11:55.982Z] Configure a credential helper to remove this warning. See [2022-05-10T12:11:55.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:11:55.982Z] [2022-05-10T12:11:55.982Z] Login Succeeded [2022-05-10T12:11:55.982Z] docker.io [2022-05-10T12:11:55.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:11:56.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:11:56.243Z] Configure a credential helper to remove this warning. See [2022-05-10T12:11:56.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:11:56.243Z] [2022-05-10T12:11:56.243Z] Login Succeeded [2022-05-10T12:11:56.505Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:11:56.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:11:56.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:11:56.571Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-10T12:11:56.571Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:11:56.571Z] latest [2022-05-10T12:11:56.571Z] 2.2.0-dev.22 [2022-05-10T12:11:56.571Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:11:56.571Z] main [2022-05-10T12:11:56.571Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:11:56.893Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:11:57.187Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:11:57.187Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T12:11:57.187Z] 10bb5d3f4ae1: Preparing [2022-05-10T12:11:57.187Z] f9438490287b: Preparing [2022-05-10T12:11:57.187Z] 2eb50b7d6620: Preparing [2022-05-10T12:11:57.187Z] ded6675d5921: Preparing [2022-05-10T12:11:57.187Z] b541d28bf3b4: Preparing [2022-05-10T12:11:57.187Z] b541d28bf3b4: Layer already exists [2022-05-10T12:11:57.187Z] f9438490287b: Pushed [2022-05-10T12:11:57.187Z] 10bb5d3f4ae1: Pushed [2022-05-10T12:11:57.448Z] ded6675d5921: Pushed [2022-05-10T12:12:00.750Z] 2eb50b7d6620: Pushed [2022-05-10T12:12:00.750Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:01.052Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:01.350Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-10T12:12:01.350Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T12:12:01.350Z] 10bb5d3f4ae1: Preparing [2022-05-10T12:12:01.350Z] f9438490287b: Preparing [2022-05-10T12:12:01.351Z] 2eb50b7d6620: Preparing [2022-05-10T12:12:01.351Z] ded6675d5921: Preparing [2022-05-10T12:12:01.351Z] b541d28bf3b4: Preparing [2022-05-10T12:12:01.351Z] f9438490287b: Layer already exists [2022-05-10T12:12:01.351Z] 10bb5d3f4ae1: Layer already exists [2022-05-10T12:12:01.351Z] b541d28bf3b4: Layer already exists [2022-05-10T12:12:01.351Z] ded6675d5921: Layer already exists [2022-05-10T12:12:01.351Z] 2eb50b7d6620: Layer already exists [2022-05-10T12:12:01.351Z] latest: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:01.654Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:01.958Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 [2022-05-10T12:12:01.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T12:12:01.958Z] 10bb5d3f4ae1: Preparing [2022-05-10T12:12:01.958Z] f9438490287b: Preparing [2022-05-10T12:12:01.958Z] 2eb50b7d6620: Preparing [2022-05-10T12:12:01.958Z] ded6675d5921: Preparing [2022-05-10T12:12:01.958Z] b541d28bf3b4: Preparing [2022-05-10T12:12:01.958Z] 10bb5d3f4ae1: Layer already exists [2022-05-10T12:12:01.958Z] b541d28bf3b4: Layer already exists [2022-05-10T12:12:01.958Z] 2eb50b7d6620: Layer already exists [2022-05-10T12:12:01.958Z] f9438490287b: Layer already exists [2022-05-10T12:12:01.958Z] ded6675d5921: Layer already exists [2022-05-10T12:12:01.958Z] 2.2.0-dev.22: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:02.261Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:02.559Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:12:02.559Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T12:12:02.559Z] 10bb5d3f4ae1: Preparing [2022-05-10T12:12:02.559Z] f9438490287b: Preparing [2022-05-10T12:12:02.559Z] 2eb50b7d6620: Preparing [2022-05-10T12:12:02.559Z] ded6675d5921: Preparing [2022-05-10T12:12:02.559Z] b541d28bf3b4: Preparing [2022-05-10T12:12:02.559Z] ded6675d5921: Layer already exists [2022-05-10T12:12:02.559Z] b541d28bf3b4: Layer already exists [2022-05-10T12:12:02.559Z] 2eb50b7d6620: Layer already exists [2022-05-10T12:12:02.559Z] f9438490287b: Layer already exists [2022-05-10T12:12:02.559Z] 10bb5d3f4ae1: Layer already exists [2022-05-10T12:12:02.559Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:02.863Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:03.158Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-10T12:12:03.158Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-10T12:12:03.158Z] 10bb5d3f4ae1: Preparing [2022-05-10T12:12:03.158Z] f9438490287b: Preparing [2022-05-10T12:12:03.158Z] 2eb50b7d6620: Preparing [2022-05-10T12:12:03.158Z] ded6675d5921: Preparing [2022-05-10T12:12:03.158Z] b541d28bf3b4: Preparing [2022-05-10T12:12:03.158Z] 2eb50b7d6620: Layer already exists [2022-05-10T12:12:03.158Z] 10bb5d3f4ae1: Layer already exists [2022-05-10T12:12:03.158Z] b541d28bf3b4: Layer already exists [2022-05-10T12:12:03.158Z] f9438490287b: Layer already exists [2022-05-10T12:12:03.158Z] ded6675d5921: Layer already exists [2022-05-10T12:12:03.158Z] main: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:12:03.199Z] ===================================================== [Pipeline] echo [2022-05-10T12:12:03.209Z] taggedImages: [2022-05-10T12:12:03.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:12:03.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-10T12:12:03.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 [2022-05-10T12:12:03.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:12:03.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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 [2022-05-10T12:12:03.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:12:03.597Z] [2022-05-10T12:12:03.597Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:12:03.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:12:03.907Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T12:12:03.907Z] 5eb5b503b376: Pulling fs layer [2022-05-10T12:12:03.907Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T12:12:03.907Z] ec43610c2a17: Pulling fs layer [2022-05-10T12:12:03.907Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T12:12:03.907Z] 33b1e0a273af: Pulling fs layer [2022-05-10T12:12:03.907Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T12:12:03.907Z] 2f39f015ded8: Pulling fs layer [2022-05-10T12:12:03.907Z] 33b1e0a273af: Waiting [2022-05-10T12:12:03.907Z] 3a2ae6a8a46f: Waiting [2022-05-10T12:12:03.907Z] 5d3b04190fa2: Waiting [2022-05-10T12:12:03.907Z] 2f39f015ded8: Waiting [2022-05-10T12:12:03.907Z] 5c69ac0246d0: Download complete [2022-05-10T12:12:03.907Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T12:12:03.907Z] 3a2ae6a8a46f: Download complete [2022-05-10T12:12:03.907Z] 33b1e0a273af: Verifying Checksum [2022-05-10T12:12:03.907Z] 33b1e0a273af: Download complete [2022-05-10T12:12:03.907Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T12:12:03.907Z] 5d3b04190fa2: Download complete [2022-05-10T12:12:04.167Z] ec43610c2a17: Verifying Checksum [2022-05-10T12:12:04.168Z] ec43610c2a17: Download complete [2022-05-10T12:12:04.168Z] 5eb5b503b376: Verifying Checksum [2022-05-10T12:12:04.168Z] 5eb5b503b376: Download complete [2022-05-10T12:12:04.738Z] 2f39f015ded8: Download complete [2022-05-10T12:12:05.681Z] 5eb5b503b376: Pull complete [2022-05-10T12:12:05.681Z] 5c69ac0246d0: Pull complete [2022-05-10T12:12:06.251Z] ec43610c2a17: Pull complete [2022-05-10T12:12:06.252Z] 3a2ae6a8a46f: Pull complete [2022-05-10T12:12:06.823Z] 33b1e0a273af: Pull complete [2022-05-10T12:12:06.823Z] 5d3b04190fa2: Pull complete [2022-05-10T12:12:12.105Z] 2f39f015ded8: Pull complete [2022-05-10T12:12:12.105Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T12:12:12.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:12:12.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T12:12:12.177Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:12:12.257Z] $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:12:13.855Z] $ docker top 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:12:14.261Z] ---> job-cost.sh [2022-05-10T12:12:14.261Z] lf-activate-venv: SKIPPING [2022-05-10T12:12:14.261Z] INFO: No Stack... [2022-05-10T12:12:14.834Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:12:15.096Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:12:15.395Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-10T12:12:15.395Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:12:15.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [2022-05-10T12:12:15.420Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] did not exist. Created. [2022-05-10T12:12:15.420Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:12:15.729Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T12:12:15.758Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:12:15.767Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:12:15.789Z] $ docker stop --time=1 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 [2022-05-10T12:12:16.951Z] $ docker rm -f 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T12:14:48.926Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47567 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-10T12:14:48.941Z] Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout [2022-05-10T12:14:49.285Z] Selected Git installation does not exist. Using Default [2022-05-10T12:14:49.285Z] The recommended git tool is: NONE [2022-05-10T12:14:56.491Z] using credential edgex-jenkins-ssh [2022-05-10T12:14:56.512Z] Cloning the remote Git repository [2022-05-10T12:14:56.590Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T12:14:56.693Z] > git init /w/workspace/device-mqtt-go/44 # timeout=10 [2022-05-10T12:14:56.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-10T12:14:56.800Z] > git --version # timeout=10 [2022-05-10T12:14:56.821Z] > git --version # 'git version 2.25.1' [2022-05-10T12:14:56.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T12:14:57.009Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:14:58.122Z] Avoid second fetch [2022-05-10T12:14:58.122Z] Checking out Revision 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 (main) [2022-05-10T12:14:58.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-10T12:14:58.109Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T12:14:58.146Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T12:14:58.160Z] > git checkout -f 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 # timeout=10 [2022-05-10T12:15:02.335Z] Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:15:03.271Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T12:15:03.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:15:03.271Z] Dload Upload Total Spent Left Speed [2022-05-10T12:15:03.271Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 77914 0 --:--:-- --:--:-- --:--:-- 77914 [Pipeline] sh [2022-05-10T12:15:03.790Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T12:15:04.137Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T12:15:04.137Z] + sudo tee /etc/docker/daemon.new [2022-05-10T12:15:04.137Z] { [2022-05-10T12:15:04.137Z] "registry-mirrors": [ [2022-05-10T12:15:04.137Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T12:15:04.137Z] ], [2022-05-10T12:15:04.137Z] "bip": "10.250.0.254/24", [2022-05-10T12:15:04.137Z] "hosts": [ [2022-05-10T12:15:04.137Z] "tcp://0.0.0.0:5555", [2022-05-10T12:15:04.137Z] "unix:///var/run/docker.sock" [2022-05-10T12:15:04.137Z] ], [2022-05-10T12:15:04.137Z] "mtu": 1458, [2022-05-10T12:15:04.137Z] "selinux-enabled": true, [2022-05-10T12:15:04.137Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T12:15:04.137Z] } [Pipeline] sh [2022-05-10T12:15:04.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T12:15:04.831Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:15:23.234Z] provisioning config files... [2022-05-10T12:15:23.263Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config4782984698922343844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:15:23.639Z] ---> docker-login.sh [2022-05-10T12:15:23.640Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:15:24.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:24.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:24.520Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:24.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:24.520Z] [2022-05-10T12:15:24.520Z] Login Succeeded [2022-05-10T12:15:24.520Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:15:25.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:25.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:25.124Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:25.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:25.124Z] [2022-05-10T12:15:25.124Z] Login Succeeded [2022-05-10T12:15:25.124Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:15:25.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:25.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:25.678Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:25.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:25.678Z] [2022-05-10T12:15:25.678Z] Login Succeeded [2022-05-10T12:15:25.678Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:15:25.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:25.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:25.949Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:25.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:25.949Z] [2022-05-10T12:15:25.949Z] Login Succeeded [2022-05-10T12:15:26.225Z] docker.io [2022-05-10T12:15:26.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:15:26.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:15:26.780Z] Configure a credential helper to remove this warning. See [2022-05-10T12:15:26.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:15:26.780Z] [2022-05-10T12:15:26.780Z] Login Succeeded [2022-05-10T12:15:26.780Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:15:26.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:15:27.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:15:27.383Z] ========================================================= [2022-05-10T12:15:27.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:15:27.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:15:27.738Z] + 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 . [2022-05-10T12:15:28.014Z] Sending build context to Docker daemon 3.061MB [2022-05-10T12:15:28.014Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:15:28.014Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T12:15:28.291Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:15:28.291Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:15:28.291Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:15:28.291Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:15:28.291Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:15:28.291Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:15:28.291Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:15:28.291Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:15:28.291Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:15:28.291Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:15:28.291Z] 0c92f367c5e7: Waiting [2022-05-10T12:15:28.291Z] 3096ccb668a1: Waiting [2022-05-10T12:15:28.291Z] e8cf19c19ddd: Waiting [2022-05-10T12:15:28.291Z] a4caa8a26152: Waiting [2022-05-10T12:15:28.291Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:15:28.291Z] 94645a83ff95: Download complete [2022-05-10T12:15:28.291Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:15:28.291Z] 1a89e8eeedd5: Download complete [2022-05-10T12:15:28.291Z] 0c92f367c5e7: Download complete [2022-05-10T12:15:28.291Z] 3096ccb668a1: Verifying Checksum [2022-05-10T12:15:28.291Z] 3096ccb668a1: Download complete [2022-05-10T12:15:28.291Z] 9b3977197b4f: Download complete [2022-05-10T12:15:28.291Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T12:15:28.291Z] e8cf19c19ddd: Download complete [2022-05-10T12:15:29.293Z] 9b3977197b4f: Pull complete [2022-05-10T12:15:29.900Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:15:30.181Z] 94645a83ff95: Pull complete [2022-05-10T12:15:30.458Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:15:30.458Z] a4caa8a26152: Download complete [2022-05-10T12:15:31.058Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:15:31.058Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:15:43.513Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:15:43.930Z] 0c92f367c5e7: Pull complete [2022-05-10T12:15:43.930Z] 3096ccb668a1: Pull complete [2022-05-10T12:15:44.208Z] e8cf19c19ddd: Pull complete [2022-05-10T12:15:50.952Z] a4caa8a26152: Pull complete [2022-05-10T12:15:50.952Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:15:50.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:15:50.952Z] ---> 725f1c02e7f9 [2022-05-10T12:15:50.952Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:15:51.556Z] ---> Running in f01d8f5fe85f [2022-05-10T12:15:51.832Z] Removing intermediate container f01d8f5fe85f [2022-05-10T12:15:51.832Z] ---> cd99ccd1523f [2022-05-10T12:15:51.832Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:15:52.107Z] ---> Running in 8de2ec178829 [2022-05-10T12:15:52.383Z] Removing intermediate container 8de2ec178829 [2022-05-10T12:15:52.383Z] ---> 2987a25638b4 [2022-05-10T12:15:52.383Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:15:52.383Z] ---> Running in 98eff28b6fcb [2022-05-10T12:15:54.383Z] Removing intermediate container 98eff28b6fcb [2022-05-10T12:15:54.383Z] ---> 0df51402e320 [2022-05-10T12:15:54.383Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:15:54.383Z] ---> Running in 365dc7fe07d0 [2022-05-10T12:15:55.366Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:15:56.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:15:57.332Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:15:57.332Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:15:57.607Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:15:57.607Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:15:57.890Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:15:57.890Z] OK: 224 MiB in 56 packages [2022-05-10T12:16:00.540Z] Removing intermediate container 365dc7fe07d0 [2022-05-10T12:16:00.540Z] ---> f05e1c018ebf [2022-05-10T12:16:00.540Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-10T12:16:00.540Z] ---> Running in ec8aa75f1041 [2022-05-10T12:16:00.540Z] Removing intermediate container ec8aa75f1041 [2022-05-10T12:16:00.540Z] ---> b59bb3dcb7de [2022-05-10T12:16:00.540Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-10T12:16:01.142Z] ---> 5aeac8a17b44 [2022-05-10T12:16:01.142Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:16:01.142Z] ---> Running in b4a546d75f59 [2022-05-10T12:16:48.172Z] Removing intermediate container b4a546d75f59 [2022-05-10T12:16:48.172Z] ---> c5c1e21cf8c4 [2022-05-10T12:16:48.172Z] Step 10/12 : COPY . . [2022-05-10T12:16:48.172Z] ---> af6101ab06f5 [2022-05-10T12:16:48.172Z] Step 11/12 : ARG MAKE='make build' [2022-05-10T12:16:48.172Z] ---> Running in 151079036b91 [2022-05-10T12:16:48.172Z] Removing intermediate container 151079036b91 [2022-05-10T12:16:48.172Z] ---> 00fbdd98ee11 [2022-05-10T12:16:48.172Z] Step 12/12 : RUN $MAKE [2022-05-10T12:16:48.172Z] ---> Running in 6e3848f181bd [2022-05-10T12:16:48.769Z] noop [2022-05-10T12:16:49.366Z] Removing intermediate container 6e3848f181bd [2022-05-10T12:16:49.366Z] ---> 5a9bfb1b4794 [2022-05-10T12:16:49.366Z] Successfully built 5a9bfb1b4794 [2022-05-10T12:16:49.366Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:16:49.714Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:16:49.714Z] . [Pipeline] withDockerContainer [2022-05-10T12:16:49.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container [2022-05-10T12:16:50.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** ci-base-image-arm64 cat [2022-05-10T12:16:51.263Z] $ docker top e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:16:52.138Z] + go version [2022-05-10T12:16:52.138Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:16:52.168Z] $ docker stop --time=1 e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 [2022-05-10T12:16:53.759Z] $ docker rm -f e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:16:54.348Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:16:54.348Z] . [Pipeline] withDockerContainer [2022-05-10T12:16:54.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container [2022-05-10T12:16:54.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** ci-base-image-arm64 cat [2022-05-10T12:16:55.888Z] $ docker top 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:16:56.795Z] + make test [2022-05-10T12:16:56.795Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:16:58.239Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-10T12:18:20.111Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-10T12:18:20.111Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-05-10T12:18:20.111Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-10T12:18:20.111Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:18:20.111Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:18:52.497Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:18:52.497Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:18:52.497Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:18:52.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:18:52.546Z] $ docker stop --time=1 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 [2022-05-10T12:18:54.301Z] $ docker rm -f 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:18:55.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:18:55.241Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:18:55.702Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:18:56.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:18:56.423Z] + ls -al . [2022-05-10T12:18:56.423Z] total 176 [2022-05-10T12:18:56.423Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:18 . [2022-05-10T12:18:56.423Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:14 .. [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:14 .dockerignore [2022-05-10T12:18:56.423Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:15 .git [2022-05-10T12:18:56.423Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 .github [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:14 .gitignore [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:14 .golangci.yml [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 10 12:14 Attribution.txt [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 11365 May 10 12:14 CHANGELOG.md [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:14 Dockerfile [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:14 GOVERNANCE.md [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 678 May 10 12:14 Jenkinsfile [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:14 LICENSE [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:14 Makefile [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:14 OWNERS.md [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 10 12:14 README.md [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:10 VERSION [2022-05-10T12:18:56.423Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:14 bin [2022-05-10T12:18:56.423Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 cmd [2022-05-10T12:18:56.423Z] -rw-r--r-- 1 jenkins jenkins 17887 May 10 12:18 coverage.out [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 10 12:14 go.mod [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 10 12:14 go.sum [2022-05-10T12:18:56.423Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 internal [2022-05-10T12:18:56.423Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:14 mock [2022-05-10T12:18:56.423Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:14 snap [2022-05-10T12:18:56.423Z] -rw-rw-r-- 1 jenkins jenkins 227 May 10 12:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:18:56.767Z] + 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=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 --label arch=arm64 --label version=2.2.0-dev.22 . [2022-05-10T12:18:57.038Z] Sending build context to Docker daemon 3.079MB [2022-05-10T12:18:57.038Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:18:57.038Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-10T12:18:57.038Z] ---> 5a9bfb1b4794 [2022-05-10T12:18:57.038Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:18:57.310Z] ---> Running in eba4c87e17bf [2022-05-10T12:18:57.582Z] Removing intermediate container eba4c87e17bf [2022-05-10T12:18:57.582Z] ---> 81fe3d91e5cb [2022-05-10T12:18:57.582Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:18:57.582Z] ---> Running in 925acd1d4795 [2022-05-10T12:18:57.862Z] Removing intermediate container 925acd1d4795 [2022-05-10T12:18:57.862Z] ---> 59917f12271a [2022-05-10T12:18:57.862Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:18:57.862Z] ---> Running in 57dc37c362f7 [2022-05-10T12:18:59.828Z] Removing intermediate container 57dc37c362f7 [2022-05-10T12:18:59.828Z] ---> 8f2abe869e14 [2022-05-10T12:18:59.828Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:18:59.828Z] ---> Running in befb87dec594 [2022-05-10T12:19:00.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:19:01.405Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:19:02.385Z] OK: 224 MiB in 56 packages [2022-05-10T12:19:02.979Z] Removing intermediate container befb87dec594 [2022-05-10T12:19:02.979Z] ---> d1096683cbc4 [2022-05-10T12:19:02.979Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-10T12:19:02.979Z] ---> Running in 5522d9f5323d [2022-05-10T12:19:03.578Z] Removing intermediate container 5522d9f5323d [2022-05-10T12:19:03.578Z] ---> 88c2463a0502 [2022-05-10T12:19:03.578Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-10T12:19:03.858Z] ---> bacaffda4af5 [2022-05-10T12:19:03.858Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:19:04.133Z] ---> Running in 2b8174243ce0 [2022-05-10T12:19:06.112Z] Removing intermediate container 2b8174243ce0 [2022-05-10T12:19:06.112Z] ---> 2fb526154661 [2022-05-10T12:19:06.112Z] Step 10/24 : COPY . . [2022-05-10T12:19:06.707Z] ---> 7da7e01ada2e [2022-05-10T12:19:06.707Z] Step 11/24 : ARG MAKE='make build' [2022-05-10T12:19:06.707Z] ---> Running in 743b1dcf1ed4 [2022-05-10T12:19:07.304Z] Removing intermediate container 743b1dcf1ed4 [2022-05-10T12:19:07.304Z] ---> 9690d98a3cc9 [2022-05-10T12:19:07.304Z] Step 12/24 : RUN $MAKE [2022-05-10T12:19:07.304Z] ---> Running in 781fd897ea79 [2022-05-10T12:19:08.282Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-10T12:21:15.179Z] Removing intermediate container 781fd897ea79 [2022-05-10T12:21:15.179Z] ---> 4bd7ea4c50d4 [2022-05-10T12:21:15.179Z] Step 13/24 : FROM alpine:3.14 [2022-05-10T12:21:15.179Z] 3.14: Pulling from library/alpine [2022-05-10T12:21:15.179Z] 455c02918c45: Pulling fs layer [2022-05-10T12:21:15.179Z] 455c02918c45: Download complete [2022-05-10T12:21:15.179Z] 455c02918c45: Pull complete [2022-05-10T12:21:15.179Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:21:15.179Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:21:15.179Z] ---> ac73e934f311 [2022-05-10T12:21:15.179Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-10T12:21:15.179Z] ---> Running in 7de71ae507ab [2022-05-10T12:21:15.179Z] Removing intermediate container 7de71ae507ab [2022-05-10T12:21:15.179Z] ---> bead6943a92a [2022-05-10T12:21:15.179Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:21:15.179Z] ---> Running in 3a3768d0d9ef [2022-05-10T12:21:15.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:21:15.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:21:15.179Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:21:15.179Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:21:15.179Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:21:15.179Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:21:15.179Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:21:15.179Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:21:15.179Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:21:15.179Z] OK: 8 MiB in 20 packages [2022-05-10T12:21:15.179Z] Removing intermediate container 3a3768d0d9ef [2022-05-10T12:21:15.179Z] ---> 1cc4db6165d0 [2022-05-10T12:21:15.179Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-10T12:21:15.179Z] ---> db0c27bd5677 [2022-05-10T12:21:15.179Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-10T12:21:15.179Z] ---> 84ebcc0d130c [2022-05-10T12:21:15.179Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-10T12:21:15.179Z] ---> f9e02614870f [2022-05-10T12:21:15.179Z] Step 19/24 : EXPOSE 59982 [2022-05-10T12:21:15.179Z] ---> Running in 372838bdf872 [2022-05-10T12:21:15.179Z] Removing intermediate container 372838bdf872 [2022-05-10T12:21:15.179Z] ---> 47e719720fb0 [2022-05-10T12:21:15.179Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-10T12:21:15.179Z] ---> Running in 513b16fd592b [2022-05-10T12:21:15.179Z] Removing intermediate container 513b16fd592b [2022-05-10T12:21:15.179Z] ---> 75d79ef9fa0a [2022-05-10T12:21:15.179Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-10T12:21:15.179Z] ---> Running in 11f4092b47f1 [2022-05-10T12:21:15.179Z] Removing intermediate container 11f4092b47f1 [2022-05-10T12:21:15.179Z] ---> 41869be23d7e [2022-05-10T12:21:15.179Z] Step 22/24 : LABEL arch=arm64 [2022-05-10T12:21:15.179Z] ---> Running in 61f98ad43fda [2022-05-10T12:21:15.179Z] Removing intermediate container 61f98ad43fda [2022-05-10T12:21:15.179Z] ---> df8d4eeff945 [2022-05-10T12:21:15.179Z] Step 23/24 : LABEL git_sha=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:21:15.179Z] ---> Running in 9ae672e09c32 [2022-05-10T12:21:15.179Z] Removing intermediate container 9ae672e09c32 [2022-05-10T12:21:15.179Z] ---> a1c7066151db [2022-05-10T12:21:15.179Z] Step 24/24 : LABEL version=2.2.0-dev.22 [2022-05-10T12:21:15.179Z] ---> Running in 9fceffa9acd5 [2022-05-10T12:21:15.179Z] Removing intermediate container 9fceffa9acd5 [2022-05-10T12:21:15.179Z] ---> ba4e16b7f39b [2022-05-10T12:21:15.179Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:21:15.179Z] Successfully built ba4e16b7f39b [2022-05-10T12:21:15.179Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:21:15.257Z] provisioning config files... [2022-05-10T12:21:15.278Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config9134182247118129138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:21:15.621Z] ---> docker-login.sh [2022-05-10T12:21:15.621Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:21:15.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:21:15.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:21:15.894Z] Configure a credential helper to remove this warning. See [2022-05-10T12:21:15.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:21:15.894Z] [2022-05-10T12:21:15.894Z] Login Succeeded [2022-05-10T12:21:15.894Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:21:16.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:21:16.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:21:16.490Z] Configure a credential helper to remove this warning. See [2022-05-10T12:21:16.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:21:16.490Z] [2022-05-10T12:21:16.490Z] Login Succeeded [2022-05-10T12:21:16.490Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:21:16.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:21:17.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:21:17.040Z] Configure a credential helper to remove this warning. See [2022-05-10T12:21:17.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:21:17.040Z] [2022-05-10T12:21:17.040Z] Login Succeeded [2022-05-10T12:21:17.040Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:21:17.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:21:17.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:21:17.311Z] Configure a credential helper to remove this warning. See [2022-05-10T12:21:17.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:21:17.311Z] [2022-05-10T12:21:17.311Z] Login Succeeded [2022-05-10T12:21:17.585Z] docker.io [2022-05-10T12:21:17.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:21:18.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:21:18.128Z] Configure a credential helper to remove this warning. See [2022-05-10T12:21:18.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:21:18.128Z] [2022-05-10T12:21:18.128Z] Login Succeeded [2022-05-10T12:21:18.128Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:21:18.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:21:18.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:21:18.205Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-10T12:21:18.205Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:21:18.205Z] latest [2022-05-10T12:21:18.205Z] 2.2.0-dev.22 [2022-05-10T12:21:18.205Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:21:18.205Z] main [2022-05-10T12:21:18.205Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:18.568Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:18.910Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:21:18.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T12:21:18.911Z] fb7a48b5d356: Preparing [2022-05-10T12:21:18.911Z] 71d3cc54911a: Preparing [2022-05-10T12:21:18.911Z] 1ed82d6085c7: Preparing [2022-05-10T12:21:18.911Z] 6965cbff6f94: Preparing [2022-05-10T12:21:18.911Z] f73e7dbfee58: Preparing [2022-05-10T12:21:18.911Z] f73e7dbfee58: Layer already exists [2022-05-10T12:21:19.188Z] fb7a48b5d356: Pushed [2022-05-10T12:21:19.188Z] 71d3cc54911a: Pushed [2022-05-10T12:21:19.786Z] 6965cbff6f94: Pushed [2022-05-10T12:21:25.183Z] 1ed82d6085c7: Pushed [2022-05-10T12:21:25.184Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:25.806Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:26.146Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-10T12:21:26.146Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T12:21:26.146Z] fb7a48b5d356: Preparing [2022-05-10T12:21:26.146Z] 71d3cc54911a: Preparing [2022-05-10T12:21:26.146Z] 1ed82d6085c7: Preparing [2022-05-10T12:21:26.146Z] 6965cbff6f94: Preparing [2022-05-10T12:21:26.146Z] f73e7dbfee58: Preparing [2022-05-10T12:21:26.146Z] fb7a48b5d356: Layer already exists [2022-05-10T12:21:26.146Z] 71d3cc54911a: Layer already exists [2022-05-10T12:21:26.146Z] 6965cbff6f94: Layer already exists [2022-05-10T12:21:26.146Z] f73e7dbfee58: Layer already exists [2022-05-10T12:21:26.146Z] 1ed82d6085c7: Layer already exists [2022-05-10T12:21:26.417Z] latest: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:26.772Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:27.123Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 [2022-05-10T12:21:27.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T12:21:27.123Z] fb7a48b5d356: Preparing [2022-05-10T12:21:27.123Z] 71d3cc54911a: Preparing [2022-05-10T12:21:27.123Z] 1ed82d6085c7: Preparing [2022-05-10T12:21:27.123Z] 6965cbff6f94: Preparing [2022-05-10T12:21:27.123Z] f73e7dbfee58: Preparing [2022-05-10T12:21:27.123Z] f73e7dbfee58: Layer already exists [2022-05-10T12:21:27.123Z] 71d3cc54911a: Layer already exists [2022-05-10T12:21:27.123Z] 6965cbff6f94: Layer already exists [2022-05-10T12:21:27.123Z] fb7a48b5d356: Layer already exists [2022-05-10T12:21:27.123Z] 1ed82d6085c7: Layer already exists [2022-05-10T12:21:27.396Z] 2.2.0-dev.22: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:27.748Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:28.090Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:21:28.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T12:21:28.090Z] fb7a48b5d356: Preparing [2022-05-10T12:21:28.090Z] 71d3cc54911a: Preparing [2022-05-10T12:21:28.091Z] 1ed82d6085c7: Preparing [2022-05-10T12:21:28.091Z] 6965cbff6f94: Preparing [2022-05-10T12:21:28.091Z] f73e7dbfee58: Preparing [2022-05-10T12:21:28.091Z] 1ed82d6085c7: Layer already exists [2022-05-10T12:21:28.091Z] f73e7dbfee58: Layer already exists [2022-05-10T12:21:28.091Z] 71d3cc54911a: Layer already exists [2022-05-10T12:21:28.091Z] fb7a48b5d356: Layer already exists [2022-05-10T12:21:28.091Z] 6965cbff6f94: Layer already exists [2022-05-10T12:21:28.362Z] 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:28.706Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:29.048Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-10T12:21:29.048Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-10T12:21:29.048Z] fb7a48b5d356: Preparing [2022-05-10T12:21:29.048Z] 71d3cc54911a: Preparing [2022-05-10T12:21:29.048Z] 1ed82d6085c7: Preparing [2022-05-10T12:21:29.048Z] 6965cbff6f94: Preparing [2022-05-10T12:21:29.048Z] f73e7dbfee58: Preparing [2022-05-10T12:21:29.048Z] f73e7dbfee58: Layer already exists [2022-05-10T12:21:29.048Z] 1ed82d6085c7: Layer already exists [2022-05-10T12:21:29.048Z] 6965cbff6f94: Layer already exists [2022-05-10T12:21:29.048Z] 71d3cc54911a: Layer already exists [2022-05-10T12:21:29.048Z] fb7a48b5d356: Layer already exists [2022-05-10T12:21:29.319Z] main: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-10T12:21:29.373Z] ===================================================== [Pipeline] echo [2022-05-10T12:21:29.382Z] taggedImages: [2022-05-10T12:21:29.382Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [2022-05-10T12:21:29.382Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-10T12:21:29.382Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 [2022-05-10T12:21:29.382Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [2022-05-10T12:21:29.382Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:29.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:21:29.742Z] [2022-05-10T12:21:29.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:21:30.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:21:30.374Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:21:30.374Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:21:30.374Z] 04944245beec: Pulling fs layer [2022-05-10T12:21:30.374Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:21:30.374Z] 765212b225bb: Pulling fs layer [2022-05-10T12:21:30.374Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:21:30.374Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:21:30.374Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:21:30.374Z] 765212b225bb: Waiting [2022-05-10T12:21:30.374Z] f23df028b6ca: Waiting [2022-05-10T12:21:30.374Z] d65c8cfc05b1: Waiting [2022-05-10T12:21:30.374Z] 2437ff75d9bd: Waiting [2022-05-10T12:21:30.374Z] 04944245beec: Verifying Checksum [2022-05-10T12:21:30.374Z] 04944245beec: Download complete [2022-05-10T12:21:30.374Z] 765212b225bb: Verifying Checksum [2022-05-10T12:21:30.374Z] 765212b225bb: Download complete [2022-05-10T12:21:30.374Z] f23df028b6ca: Download complete [2022-05-10T12:21:30.374Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:21:30.374Z] d65c8cfc05b1: Download complete [2022-05-10T12:21:30.653Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:21:30.654Z] 699f458cf7ca: Download complete [2022-05-10T12:21:30.930Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T12:21:30.930Z] 8998bd30e6a1: Download complete [2022-05-10T12:21:32.908Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T12:21:32.908Z] 2437ff75d9bd: Download complete [2022-05-10T12:21:34.888Z] 8998bd30e6a1: Pull complete [2022-05-10T12:21:35.485Z] 04944245beec: Pull complete [2022-05-10T12:21:36.925Z] 699f458cf7ca: Pull complete [2022-05-10T12:21:37.200Z] 765212b225bb: Pull complete [2022-05-10T12:21:38.186Z] f23df028b6ca: Pull complete [2022-05-10T12:21:38.463Z] d65c8cfc05b1: Pull complete [2022-05-10T12:21:53.571Z] 2437ff75d9bd: Pull complete [2022-05-10T12:21:53.571Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:21:53.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:21:53.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:21:53.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container [2022-05-10T12:21:53.899Z] $ 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/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T12:21:56.383Z] $ docker top fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:21:57.318Z] ---> job-cost.sh [2022-05-10T12:21:57.318Z] lf-activate-venv: SKIPPING [2022-05-10T12:21:57.318Z] INFO: No Stack... [2022-05-10T12:21:57.915Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:21:58.509Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:21:59.179Z] + cat /w/workspace/device-mqtt-go/44/archives/cost.csv [2022-05-10T12:21:59.179Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T12:21:59.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [2022-05-10T12:21:59.254Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] did not exist. Created. [2022-05-10T12:21:59.254Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:21:59.929Z] /w/workspace/device-mqtt-go/44@tmp/durable-eb0d8f27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:22:00.618Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:22:00.646Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:22:00.691Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:22:00.697Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:22:00.719Z] $ docker stop --time=1 fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f [2022-05-10T12:22:02.208Z] $ docker rm -f fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f [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 [2022-05-10T12:22:02.634Z] provisioning config files... [2022-05-10T12:22:02.642Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config210013267912367293tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:22:02.937Z] + set +x [2022-05-10T12:22:02.937Z] + curl -s https://codecov.io/bash [2022-05-10T12:22:02.937Z] + bash -s -- [2022-05-10T12:22:02.937Z] [2022-05-10T12:22:02.937Z] _____ _ [2022-05-10T12:22:02.937Z] / ____| | | [2022-05-10T12:22:02.937Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:22:02.937Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:22:02.937Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:22:02.937Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:22:02.937Z] Bash-1.0.6 [2022-05-10T12:22:02.937Z] [2022-05-10T12:22:02.937Z] [2022-05-10T12:22:02.937Z] ==> git version 2.25.1 found [2022-05-10T12:22:02.937Z] ==> 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 [2022-05-10T12:22:02.937Z] Release-Date: 2020-01-08 [2022-05-10T12:22:02.937Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-10T12:22:02.937Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:22:02.937Z] ==> Jenkins CI detected. [2022-05-10T12:22:02.937Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-10T12:22:02.937Z] project root: . [2022-05-10T12:22:02.937Z] --> token set from env [2022-05-10T12:22:02.937Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:22:02.937Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:22:02.937Z] ==> Python coveragepy not found [2022-05-10T12:22:02.937Z] ==> Searching for coverage reports in: [2022-05-10T12:22:02.937Z] + . [2022-05-10T12:22:02.937Z] -> Found 1 reports [2022-05-10T12:22:02.937Z] ==> Detecting git/mercurial file structure [2022-05-10T12:22:02.937Z] ==> Reading reports [2022-05-10T12:22:02.937Z] + ./coverage.out bytes=17887 [2022-05-10T12:22:02.937Z] ==> Appending adjustments [2022-05-10T12:22:02.937Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:22:03.197Z] + Found adjustments [2022-05-10T12:22:03.197Z] ==> Gzipping contents [2022-05-10T12:22:03.197Z] 4.0K /tmp/codecov.IGZbC8.gz [2022-05-10T12:22:03.197Z] ==> Uploading reports [2022-05-10T12:22:03.197Z] url: https://codecov.io [2022-05-10T12:22:03.197Z] query: branch=main&commit=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:22:03.197Z] -> Pinging Codecov [2022-05-10T12:22:03.197Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-10T12:22:03.459Z] -> Uploading to [2022-05-10T12:22:03.459Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/5c329650b3b8c4054c8b30f4ef8297f0a786fcf2/c60066a0-102b-4589-ad0f-46ea2c84312b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T122203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0a011c9b324fc2d10b9ccbc063dfa2d075a0c2391695544bb29c2db59dbca0c [2022-05-10T12:22:03.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:22:03.459Z] Dload Upload Total Spent Left Speed [2022-05-10T12:22:03.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 13759 --:--:-- --:--:-- --:--:-- 13759 [2022-05-10T12:22:03.721Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] } [2022-05-10T12:22:03.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-10T12:22:04.028Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-10T12:22:04.041Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:04.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:22:04.341Z] [2022-05-10T12:22:04.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:04.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:22:04.645Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-10T12:22:04.645Z] 188c0c94c7c5: Pulling fs layer [2022-05-10T12:22:04.645Z] 0ef7d3d256c8: Pulling fs layer [2022-05-10T12:22:04.645Z] de9db76c5a1d: Pulling fs layer [2022-05-10T12:22:04.645Z] 0eba1c9be4d2: Pulling fs layer [2022-05-10T12:22:04.645Z] 0d57e429df01: Pulling fs layer [2022-05-10T12:22:04.645Z] 4e4be7b47b0d: Pulling fs layer [2022-05-10T12:22:04.645Z] e1f770b5df2f: Pulling fs layer [2022-05-10T12:22:04.645Z] 85a0685a4137: Pulling fs layer [2022-05-10T12:22:04.645Z] 4e4be7b47b0d: Waiting [2022-05-10T12:22:04.645Z] 0eba1c9be4d2: Waiting [2022-05-10T12:22:04.645Z] 0d57e429df01: Waiting [2022-05-10T12:22:04.645Z] e1f770b5df2f: Waiting [2022-05-10T12:22:04.645Z] 85a0685a4137: Waiting [2022-05-10T12:22:04.645Z] de9db76c5a1d: Verifying Checksum [2022-05-10T12:22:04.645Z] de9db76c5a1d: Download complete [2022-05-10T12:22:04.645Z] 0ef7d3d256c8: Verifying Checksum [2022-05-10T12:22:04.645Z] 0ef7d3d256c8: Download complete [2022-05-10T12:22:04.645Z] 0d57e429df01: Verifying Checksum [2022-05-10T12:22:04.645Z] 0d57e429df01: Download complete [2022-05-10T12:22:04.645Z] 4e4be7b47b0d: Verifying Checksum [2022-05-10T12:22:04.645Z] 4e4be7b47b0d: Download complete [2022-05-10T12:22:04.645Z] 188c0c94c7c5: Verifying Checksum [2022-05-10T12:22:04.907Z] 188c0c94c7c5: Pull complete [2022-05-10T12:22:04.907Z] e1f770b5df2f: Verifying Checksum [2022-05-10T12:22:04.907Z] e1f770b5df2f: Download complete [2022-05-10T12:22:04.907Z] 0ef7d3d256c8: Pull complete [2022-05-10T12:22:05.169Z] de9db76c5a1d: Pull complete [2022-05-10T12:22:05.428Z] 0eba1c9be4d2: Verifying Checksum [2022-05-10T12:22:05.428Z] 0eba1c9be4d2: Download complete [2022-05-10T12:22:05.688Z] 85a0685a4137: Verifying Checksum [2022-05-10T12:22:05.689Z] 85a0685a4137: Download complete [2022-05-10T12:22:08.983Z] 0eba1c9be4d2: Pull complete [2022-05-10T12:22:09.244Z] 0d57e429df01: Pull complete [2022-05-10T12:22:09.244Z] 4e4be7b47b0d: Pull complete [2022-05-10T12:22:09.817Z] e1f770b5df2f: Pull complete [2022-05-10T12:22:13.114Z] 85a0685a4137: Pull complete [2022-05-10T12:22:13.114Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-10T12:22:13.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-10T12:22:13.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-10T12:22:13.451Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:13.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-10T12:22:15.477Z] $ docker top 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-10T12:22:15.559Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-10T12:22:15.840Z] + set -o pipefail [2022-05-10T12:22:15.840Z] + snyk monitor '--org=edgex-jenkins' [2022-05-10T12:22:21.138Z] [2022-05-10T12:22:21.138Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-10T12:22:21.138Z] [2022-05-10T12:22:21.138Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d7b13a78-f3b1-4742-8877-e6bfe96991c6 [2022-05-10T12:22:21.138Z] [2022-05-10T12:22:21.138Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-10T12:22:21.138Z] [2022-05-10T12:22:21.138Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-10T12:22:21.138Z] [2022-05-10T12:22:21.138Z] [Pipeline] } [2022-05-10T12:22:21.153Z] $ docker stop --time=1 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 [2022-05-10T12:22:23.293Z] $ docker rm -f 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:22:24.063Z] + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] sh [2022-05-10T12:22:24.372Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:22:24.372Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:24.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:22:24.676Z] . [Pipeline] withDockerContainer [2022-05-10T12:22:24.753Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:24.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:22:25.255Z] $ docker top aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:22:25.364Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:22:25.364Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:22:25.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:22:25.514Z] $ docker exec aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 ssh-agent [2022-05-10T12:22:25.648Z] SSH_AUTH_SOCK=/tmp/ssh-ui7cJeMo1Q56/agent.32 [2022-05-10T12:22:25.648Z] SSH_AGENT_PID=38 [2022-05-10T12:22:25.654Z] Running ssh-add (command line suppressed) [2022-05-10T12:22:25.802Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2005314574448830965.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2005314574448830965.key) [2022-05-10T12:22:25.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:22:26.144Z] + git semver tag [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,343 [run_tag] DEBUG tag force:False [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,343 [check_head_tag] DEBUG check head tag [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,344 [execute] INFO git cat-file --batch-check [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,349 [execute] INFO git cat-file --batch [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,368 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,368 [execute] INFO git tag -a v2.2.0-dev.22 -m v2.2.0-dev.22 [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,368 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.22', '-m', 'v2.2.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:22:26.404Z] 2022-05-10 12:22:26,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:26.404Z] 2.2.0-dev.22 [Pipeline] } [2022-05-10T12:22:26.417Z] $ docker exec --env ******** --env ******** aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 ssh-agent -k [2022-05-10T12:22:26.537Z] unset SSH_AUTH_SOCK; [2022-05-10T12:22:26.537Z] unset SSH_AGENT_PID; [2022-05-10T12:22:26.537Z] echo Agent pid 38 killed; [2022-05-10T12:22:26.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:22:26.867Z] + git semver [Pipeline] } [2022-05-10T12:22:27.145Z] $ docker stop --time=1 aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 [2022-05-10T12:22:28.443Z] $ docker rm -f aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:28.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:22:28.851Z] [2022-05-10T12:22:28.851Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:29.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:22:29.154Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-10T12:22:29.154Z] ab5ef0e58194: Pulling fs layer [2022-05-10T12:22:29.154Z] 9712f1f96733: Pulling fs layer [2022-05-10T12:22:29.154Z] 63f879dbbcfc: Pulling fs layer [2022-05-10T12:22:29.154Z] 0d9ebad4ef96: Pulling fs layer [2022-05-10T12:22:29.154Z] 0d9ebad4ef96: Waiting [2022-05-10T12:22:29.154Z] e9a5061849ea: Pulling fs layer [2022-05-10T12:22:29.154Z] d747dcd14b5f: Pulling fs layer [2022-05-10T12:22:29.154Z] 2de7ff778b66: Pulling fs layer [2022-05-10T12:22:29.154Z] e9a5061849ea: Waiting [2022-05-10T12:22:29.154Z] d747dcd14b5f: Waiting [2022-05-10T12:22:29.154Z] 9712f1f96733: Download complete [2022-05-10T12:22:29.726Z] 63f879dbbcfc: Verifying Checksum [2022-05-10T12:22:29.726Z] 63f879dbbcfc: Download complete [2022-05-10T12:22:29.726Z] 0d9ebad4ef96: Verifying Checksum [2022-05-10T12:22:29.726Z] 0d9ebad4ef96: Download complete [2022-05-10T12:22:29.726Z] d747dcd14b5f: Download complete [2022-05-10T12:22:29.726Z] e9a5061849ea: Verifying Checksum [2022-05-10T12:22:29.726Z] e9a5061849ea: Download complete [2022-05-10T12:22:29.726Z] ab5ef0e58194: Download complete [2022-05-10T12:22:29.726Z] 2de7ff778b66: Verifying Checksum [2022-05-10T12:22:33.022Z] ab5ef0e58194: Pull complete [2022-05-10T12:22:33.022Z] 9712f1f96733: Pull complete [2022-05-10T12:22:33.592Z] 63f879dbbcfc: Pull complete [2022-05-10T12:22:37.790Z] 0d9ebad4ef96: Pull complete [2022-05-10T12:22:38.359Z] e9a5061849ea: Pull complete [2022-05-10T12:22:38.359Z] d747dcd14b5f: Pull complete [2022-05-10T12:22:39.736Z] 2de7ff778b66: Pull complete [2022-05-10T12:22:39.736Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-10T12:22:39.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-10T12:22:39.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-10T12:22:39.801Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:39.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-10T12:22:41.917Z] $ docker top b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:22:42.004Z] provisioning config files... [2022-05-10T12:22:42.013Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5725047504862908264tmp [2022-05-10T12:22:42.024Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7310551621425388916tmp [2022-05-10T12:22:42.034Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4716380973475621943tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:22:42.048Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:22:42.335Z] ---> sigul-configuration.sh [2022-05-10T12:22:42.335Z] gpg: directory `/root/.gnupg' created [2022-05-10T12:22:42.335Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-10T12:22:42.335Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-10T12:22:42.335Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-10T12:22:42.336Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-10T12:22:42.336Z] gpg: CAST5 encrypted data [2022-05-10T12:22:42.336Z] gpg: encrypted with 1 passphrase [2022-05-10T12:22:42.336Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-10T12:22:42.627Z] + mkdir /home/jenkins [2022-05-10T12:22:42.627Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-10T12:22:42.915Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-05-10T12:22:42.925Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:22:43.215Z] ---> sigul-install.sh [2022-05-10T12:22:43.215Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-10T12:22:43.508Z] + git tag --list [2022-05-10T12:22:43.508Z] 0.7.1 [2022-05-10T12:22:43.508Z] v1.0.0 [2022-05-10T12:22:43.508Z] v1.1.0 [2022-05-10T12:22:43.508Z] v1.1.1 [2022-05-10T12:22:43.508Z] v1.2.2 [2022-05-10T12:22:43.508Z] v1.3.0 [2022-05-10T12:22:43.508Z] v1.3.1 [2022-05-10T12:22:43.508Z] v2.0.0 [2022-05-10T12:22:43.508Z] v2.0.1-dev.1 [2022-05-10T12:22:43.508Z] v2.0.1-dev.10 [2022-05-10T12:22:43.508Z] v2.0.1-dev.11 [2022-05-10T12:22:43.508Z] v2.0.1-dev.12 [2022-05-10T12:22:43.508Z] v2.0.1-dev.13 [2022-05-10T12:22:43.508Z] v2.0.1-dev.14 [2022-05-10T12:22:43.508Z] v2.0.1-dev.15 [2022-05-10T12:22:43.508Z] v2.0.1-dev.16 [2022-05-10T12:22:43.508Z] v2.0.1-dev.17 [2022-05-10T12:22:43.508Z] v2.0.1-dev.2 [2022-05-10T12:22:43.508Z] v2.0.1-dev.3 [2022-05-10T12:22:43.508Z] v2.0.1-dev.4 [2022-05-10T12:22:43.508Z] v2.0.1-dev.5 [2022-05-10T12:22:43.508Z] v2.0.1-dev.6 [2022-05-10T12:22:43.508Z] v2.0.1-dev.7 [2022-05-10T12:22:43.508Z] v2.0.1-dev.8 [2022-05-10T12:22:43.508Z] v2.0.1-dev.9 [2022-05-10T12:22:43.508Z] v2.1.0 [2022-05-10T12:22:43.508Z] v2.2.0-dev.1 [2022-05-10T12:22:43.508Z] v2.2.0-dev.10 [2022-05-10T12:22:43.508Z] v2.2.0-dev.11 [2022-05-10T12:22:43.508Z] v2.2.0-dev.12 [2022-05-10T12:22:43.508Z] v2.2.0-dev.13 [2022-05-10T12:22:43.508Z] v2.2.0-dev.14 [2022-05-10T12:22:43.508Z] v2.2.0-dev.15 [2022-05-10T12:22:43.508Z] v2.2.0-dev.16 [2022-05-10T12:22:43.508Z] v2.2.0-dev.17 [2022-05-10T12:22:43.508Z] v2.2.0-dev.18 [2022-05-10T12:22:43.508Z] v2.2.0-dev.19 [2022-05-10T12:22:43.508Z] v2.2.0-dev.2 [2022-05-10T12:22:43.508Z] v2.2.0-dev.20 [2022-05-10T12:22:43.508Z] v2.2.0-dev.21 [2022-05-10T12:22:43.508Z] v2.2.0-dev.22 [2022-05-10T12:22:43.508Z] v2.2.0-dev.3 [2022-05-10T12:22:43.508Z] v2.2.0-dev.4 [2022-05-10T12:22:43.508Z] v2.2.0-dev.5 [2022-05-10T12:22:43.508Z] v2.2.0-dev.6 [2022-05-10T12:22:43.508Z] v2.2.0-dev.7 [2022-05-10T12:22:43.508Z] v2.2.0-dev.8 [2022-05-10T12:22:43.508Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-10T12:22:43.803Z] + lftools sign git-tag v2.2.0-dev.22 [2022-05-10T12:22:44.373Z] Signing Git tag with Sigul... [2022-05-10T12:22:44.373Z] Signing v2.2.0-dev.22 [Pipeline] echo [2022-05-10T12:22:44.953Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:22:45.241Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-10T12:22:45.249Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-10T12:22:45.271Z] $ docker stop --time=1 b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 [2022-05-10T12:22:46.602Z] $ docker rm -f b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-10T12:22:47.037Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:22:47.037Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:47.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:22:47.339Z] . [Pipeline] withDockerContainer [2022-05-10T12:22:47.405Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:47.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:22:47.850Z] $ docker top a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:22:47.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:22:47.965Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:22:48.116Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:22:48.121Z] $ docker exec a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 ssh-agent [2022-05-10T12:22:48.259Z] SSH_AUTH_SOCK=/tmp/ssh-09Ipd9y2NDCv/agent.32 [2022-05-10T12:22:48.259Z] SSH_AGENT_PID=39 [2022-05-10T12:22:48.264Z] Running ssh-add (command line suppressed) [2022-05-10T12:22:48.391Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3488820216090137380.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3488820216090137380.key) [2022-05-10T12:22:48.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:22:48.696Z] + git semver bump pre [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,909 [bump_version] DEBUG bumping version:2.2.0-dev.22 on axis:pre with prefix:dev [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,910 [bump_version] DEBUG bumped version:2.2.0-dev.23 [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,910 [write_version] DEBUG write version:2.2.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,910 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,912 [execute] INFO git cat-file --batch-check [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,919 [execute] INFO git cat-file --batch [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T12:22:48.958Z] 2022-05-10 12:22:48,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:48.958Z] 2.2.0-dev.23 [Pipeline] } [2022-05-10T12:22:48.972Z] $ docker exec --env ******** --env ******** a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 ssh-agent -k [2022-05-10T12:22:49.090Z] unset SSH_AUTH_SOCK; [2022-05-10T12:22:49.090Z] unset SSH_AGENT_PID; [2022-05-10T12:22:49.091Z] echo Agent pid 39 killed; [2022-05-10T12:22:49.104Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:22:49.418Z] + git semver [Pipeline] } [2022-05-10T12:22:49.696Z] $ docker stop --time=1 a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 [2022-05-10T12:22:51.007Z] $ docker rm -f a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:22:51.374Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T12:22:51.374Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:51.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T12:22:51.670Z] . [Pipeline] withDockerContainer [2022-05-10T12:22:51.754Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:51.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T12:22:52.228Z] $ docker top 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T12:22:52.344Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T12:22:52.344Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T12:22:52.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T12:22:52.484Z] $ docker exec 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 ssh-agent [2022-05-10T12:22:52.615Z] SSH_AUTH_SOCK=/tmp/ssh-wvGVciCoNZcs/agent.32 [2022-05-10T12:22:52.615Z] SSH_AGENT_PID=38 [2022-05-10T12:22:52.622Z] Running ssh-add (command line suppressed) [2022-05-10T12:22:52.756Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4079602160284772430.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4079602160284772430.key) [2022-05-10T12:22:52.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T12:22:53.130Z] + git semver push [2022-05-10T12:22:53.391Z] 2022-05-10 12:22:53,305 [run_push] DEBUG push [2022-05-10T12:22:53.391Z] 2022-05-10 12:22:53,305 [execute] INFO git push origin semver [2022-05-10T12:22:53.391Z] 2022-05-10 12:22:53,306 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:22:54.335Z] 2022-05-10 12:22:54,027 [run_push] DEBUG push all version tags [2022-05-10T12:22:54.335Z] 2022-05-10 12:22:54,028 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-10T12:22:54.335Z] 2022-05-10 12:22:54,028 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-10T12:22:54.908Z] 2022-05-10 12:22:54,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-10T12:22:54.908Z] 2.2.0-dev.23 [Pipeline] } [2022-05-10T12:22:54.922Z] $ docker exec --env ******** --env ******** 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 ssh-agent -k [2022-05-10T12:22:55.042Z] unset SSH_AUTH_SOCK; [2022-05-10T12:22:55.042Z] unset SSH_AGENT_PID; [2022-05-10T12:22:55.042Z] echo Agent pid 38 killed; [2022-05-10T12:22:55.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T12:22:55.368Z] + git semver [Pipeline] } [2022-05-10T12:22:55.649Z] $ docker stop --time=1 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 [2022-05-10T12:22:56.995Z] $ docker rm -f 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 [2022-05-10T12:22:57.604Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-10T12:22:57.604Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T12:22:57.604Z] total 16 [2022-05-10T12:22:57.604Z] drwxr-xr-x 3 root root 4096 May 10 12:12 . [2022-05-10T12:22:57.604Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:22 .. [2022-05-10T12:22:57.604Z] drwxr-xr-x 2 root root 4096 May 10 12:12 cost [2022-05-10T12:22:57.604Z] -rw-r--r-- 1 root root 84 May 10 12:12 cost.csv [2022-05-10T12:22:57.604Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T12:22:57.604Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-10T12:22:57.604Z] total 16 [2022-05-10T12:22:57.604Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:12 . [2022-05-10T12:22:57.604Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:22 .. [2022-05-10T12:22:57.604Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:12 cost [2022-05-10T12:22:57.604Z] -rw-r--r-- 1 jenkins jenkins 84 May 10 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:22:57.903Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:22:58.773Z] ---> package-listing.sh [2022-05-10T12:22:58.773Z] ++ facter osfamily [2022-05-10T12:22:58.773Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:22:59.034Z] + OS_FAMILY=debian [2022-05-10T12:22:59.034Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-10T12:22:59.034Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:22:59.034Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:22:59.034Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:22:59.034Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:22:59.034Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-10T12:22:59.034Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:22:59.034Z] + case "${OS_FAMILY}" in [2022-05-10T12:22:59.034Z] + dpkg -l [2022-05-10T12:22:59.034Z] + grep '^ii' [2022-05-10T12:22:59.034Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:22:59.034Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:22:59.034Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:22:59.034Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-10T12:22:59.034Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-10T12:22:59.034Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-05-10T12:22:59.047Z] 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T12:22:59.329Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:22:59.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:22:59.886Z] . [Pipeline] withDockerContainer [2022-05-10T12:22:59.955Z] prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container [2022-05-10T12:22:59.991Z] $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:23:00.265Z] $ docker top 0dee18b53aa2911142351473f2386b6e663ac40f2569ce34ecd61b3826d62329 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:23:00.629Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:23:00.920Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:23:01.211Z] + ls /var/log/sa-host [2022-05-10T12:23:01.211Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:23:01.300Z] provisioning config files... [2022-05-10T12:23:01.309Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7382174358302198840tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:23:01.320Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:23:01.605Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:23:01.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:23:01.940Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:23:01.951Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:23:02.237Z] ---> sudo-logs.sh [2022-05-10T12:23:02.237Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:23:02.270Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:23:02.559Z] ---> job-cost.sh [2022-05-10T12:23:02.559Z] lf-activate-venv: SKIPPING [2022-05-10T12:23:02.559Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:23:02.559Z] INFO: Retrieving Stack Cost... [2022-05-10T12:23:03.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:23:03.390Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:23:03.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:23:03.702Z] ---> logs-deploy.sh [2022-05-10T12:23:03.702Z] lf-activate-venv: SKIPPING [2022-05-10T12:23:03.702Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/44 [2022-05-10T12:23:03.702Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:23:04.646Z] Archives upload complete. [2022-05-10T12:23:04.909Z] INFO: archiving logs to Nexus