Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45e704b8212ca39805298e898eb42b8dfe23ade0 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-ssh13685505303258236091.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh11922008714331556393.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12202998373148615060.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh13475755467486884589.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15655096077815223867.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21927 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 45e704b8212ca39805298e898eb42b8dfe23ade0 (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 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408)" > git rev-list --no-walk bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-04T09:47:22.121Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-04T09:47:22.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-04T09:47:22.204Z] ========================================================= [2022-08-04T09:47:22.204Z] EdgeX Global Pipelines Version Info [2022-08-04T09:47:22.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:47:22.972Z] ------------------- [2022-08-04T09:47:22.972Z] stable info: [2022-08-04T09:47:22.972Z] ------------------- [2022-08-04T09:47:22.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T09:47:22.972Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T09:47:22.972Z] Message: update stable to v1.0.238 [2022-08-04T09:47:23.547Z] ------------------- [2022-08-04T09:47:23.547Z] experimental info: [2022-08-04T09:47:23.547Z] ------------------- [2022-08-04T09:47:23.547Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-04T09:47:23.547Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-04T09:47:23.547Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-04T09:47:23.824Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-08-04T09:47:23.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-08-04T09:47:23.860Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-04T09:47:23.874Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-04T09:47:23.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-04T09:47:23.900Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-04T09:47:23.917Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-04T09:47:23.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-04T09:47:23.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-04T09:47:23.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-04T09:47:23.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-04T09:47:23.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-08-04T09:47:24.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-04T09:47:24.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-04T09:47:24.029Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T09:47:24.039Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-04T09:47:24.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T09:47:24.075Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-04T09:47:24.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-04T09:47:24.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-04T09:47:24.111Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-04T09:47:24.129Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-04T09:47:24.147Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-04T09:47:24.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-04T09:47:24.185Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-04T09:47:24.204Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-04T09:47:24.224Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-04T09:47:24.242Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-04T09:47:24.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-04T09:47:24.280Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-04T09:47:24.298Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo [2022-08-04T09:47:24.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45e704b [Pipeline] echo [2022-08-04T09:47:24.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:47:24.369Z] provisioning config files... [2022-08-04T09:47:24.385Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1657556919540399045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:47:24.689Z] ---> docker-login.sh [2022-08-04T09:47:24.689Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:47:24.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:25.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:25.212Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:25.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:25.212Z] [2022-08-04T09:47:25.212Z] Login Succeeded [2022-08-04T09:47:25.212Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:47:25.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:25.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:25.212Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:25.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:25.212Z] [2022-08-04T09:47:25.212Z] Login Succeeded [2022-08-04T09:47:25.212Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:47:25.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:25.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:25.475Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:25.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:25.475Z] [2022-08-04T09:47:25.475Z] Login Succeeded [2022-08-04T09:47:25.475Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:47:25.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:25.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:25.736Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:25.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:25.736Z] [2022-08-04T09:47:25.736Z] Login Succeeded [2022-08-04T09:47:25.736Z] docker.io [2022-08-04T09:47:25.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:25.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:25.998Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:25.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:25.998Z] [2022-08-04T09:47:25.998Z] Login Succeeded [2022-08-04T09:47:25.998Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:47:26.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-04T09:47:26.369Z] + git rev-list -1 --merges 45e704b8212ca39805298e898eb42b8dfe23ade0~1..45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo [2022-08-04T09:47:26.405Z] -----------> git rev-list -1 --merges 45e704b8212ca39805298e898eb42b8dfe23ade0~1..45e704b8212ca39805298e898eb42b8dfe23ade0 45e704b8212ca39805298e898eb42b8dfe23ade0 [false] [Pipeline] sh [2022-08-04T09:47:26.720Z] + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo [2022-08-04T09:47:26.736Z] ========================================================= [2022-08-04T09:47:26.736Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-04T09:47:26.736Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:47:27.083Z] + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] echo [2022-08-04T09:47:27.095Z] [semverPrep] GIT_COMMIT: 45e704b8212ca39805298e898eb42b8dfe23ade0, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408) [Pipeline] echo [2022-08-04T09:47:27.105Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-04T09:47:27.491Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T09:47:27.491Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-04T09:47:27.491Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-04T09:47:27.491Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-04T09:47:27.491Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-04T09:47:27.491Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-04T09:47:27.491Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:47:27.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:47:27.926Z] [2022-08-04T09:47:27.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:47:28.236Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:47:28.236Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-04T09:47:28.236Z] b85a868b505f: Pulling fs layer [2022-08-04T09:47:28.236Z] e2be974225ed: Pulling fs layer [2022-08-04T09:47:28.236Z] 339a4e72a1f5: Pulling fs layer [2022-08-04T09:47:28.236Z] 988bab9f4d93: Pulling fs layer [2022-08-04T09:47:28.236Z] 1469e6f7b9e6: Pulling fs layer [2022-08-04T09:47:28.236Z] eaf3925da568: Pulling fs layer [2022-08-04T09:47:28.236Z] bab4dde63d76: Pulling fs layer [2022-08-04T09:47:28.236Z] bde34c3a00c8: Pulling fs layer [2022-08-04T09:47:28.236Z] b352a97aabf1: Pulling fs layer [2022-08-04T09:47:28.236Z] 4872d77fe225: Pulling fs layer [2022-08-04T09:47:28.236Z] 5851b861e8e6: Pulling fs layer [2022-08-04T09:47:28.236Z] bab4dde63d76: Waiting [2022-08-04T09:47:28.236Z] 4872d77fe225: Waiting [2022-08-04T09:47:28.236Z] 5851b861e8e6: Waiting [2022-08-04T09:47:28.236Z] b352a97aabf1: Waiting [2022-08-04T09:47:28.236Z] 988bab9f4d93: Waiting [2022-08-04T09:47:28.236Z] 1469e6f7b9e6: Waiting [2022-08-04T09:47:28.236Z] e2be974225ed: Verifying Checksum [2022-08-04T09:47:28.236Z] e2be974225ed: Download complete [2022-08-04T09:47:28.236Z] 988bab9f4d93: Verifying Checksum [2022-08-04T09:47:28.236Z] 988bab9f4d93: Download complete [2022-08-04T09:47:28.498Z] 1469e6f7b9e6: Verifying Checksum [2022-08-04T09:47:28.498Z] 1469e6f7b9e6: Download complete [2022-08-04T09:47:28.498Z] eaf3925da568: Verifying Checksum [2022-08-04T09:47:28.498Z] eaf3925da568: Download complete [2022-08-04T09:47:28.498Z] 339a4e72a1f5: Verifying Checksum [2022-08-04T09:47:28.498Z] 339a4e72a1f5: Download complete [2022-08-04T09:47:28.498Z] bde34c3a00c8: Download complete [2022-08-04T09:47:28.498Z] b352a97aabf1: Download complete [2022-08-04T09:47:28.498Z] 4872d77fe225: Download complete [2022-08-04T09:47:28.498Z] 5851b861e8e6: Verifying Checksum [2022-08-04T09:47:28.498Z] 5851b861e8e6: Download complete [2022-08-04T09:47:28.498Z] b85a868b505f: Verifying Checksum [2022-08-04T09:47:28.498Z] b85a868b505f: Download complete [2022-08-04T09:47:28.758Z] bab4dde63d76: Verifying Checksum [2022-08-04T09:47:28.758Z] bab4dde63d76: Download complete [2022-08-04T09:47:30.156Z] b85a868b505f: Pull complete [2022-08-04T09:47:30.156Z] e2be974225ed: Pull complete [2022-08-04T09:47:30.728Z] 339a4e72a1f5: Pull complete [2022-08-04T09:47:30.728Z] 988bab9f4d93: Pull complete [2022-08-04T09:47:31.006Z] 1469e6f7b9e6: Pull complete [2022-08-04T09:47:31.267Z] eaf3925da568: Pull complete [2022-08-04T09:47:33.184Z] bab4dde63d76: Pull complete [2022-08-04T09:47:33.184Z] bde34c3a00c8: Pull complete [2022-08-04T09:47:33.445Z] b352a97aabf1: Pull complete [2022-08-04T09:47:33.445Z] 4872d77fe225: Pull complete [2022-08-04T09:47:33.707Z] 5851b861e8e6: Pull complete [2022-08-04T09:47:33.708Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-04T09:47:33.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:47:33.708Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:47:33.814Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:47:33.857Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-04T09:47:36.069Z] $ docker top 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b -eo pid,comm [2022-08-04T09:47:36.134Z] 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-08-04T09:47:36.134Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T09:47:36.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:47:36.173Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:47:36.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:47:36.313Z] $ docker exec 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent [2022-08-04T09:47:36.427Z] SSH_AUTH_SOCK=/tmp/ssh-iwgvFcgojb5t/agent.32 [2022-08-04T09:47:36.427Z] SSH_AGENT_PID=38 [2022-08-04T09:47:36.434Z] Running ssh-add (command line suppressed) [2022-08-04T09:47:36.554Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_860749511839649596.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_860749511839649596.key) [2022-08-04T09:47:36.571Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:47:36.867Z] + git tag --points-at HEAD [Pipeline] } [2022-08-04T09:47:36.884Z] $ docker exec --env ******** --env ******** 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent -k [2022-08-04T09:47:36.991Z] unset SSH_AUTH_SOCK; [2022-08-04T09:47:36.991Z] unset SSH_AGENT_PID; [2022-08-04T09:47:36.992Z] echo Agent pid 38 killed; [2022-08-04T09:47:36.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-04T09:47:37.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:47:37.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:47:37.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:47:37.166Z] $ docker exec 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent [2022-08-04T09:47:37.288Z] SSH_AUTH_SOCK=/tmp/ssh-aGqSBkllfYU1/agent.72 [2022-08-04T09:47:37.288Z] SSH_AGENT_PID=78 [2022-08-04T09:47:37.294Z] Running ssh-add (command line suppressed) [2022-08-04T09:47:37.420Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3282995787573976639.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3282995787573976639.key) [2022-08-04T09:47:37.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:47:37.723Z] + git semver init [2022-08-04T09:47:37.996Z] 2022-08-04 09:47:37,917 [run_init] DEBUG init version:0.0.0 force:False [2022-08-04T09:47:37.997Z] 2022-08-04 09:47:37,918 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-08-04T09:47:37.997Z] 2022-08-04 09:47:37,918 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-08-04T09:47:37.997Z] 2022-08-04 09:47:37,919 [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-08-04T09:47:38.941Z] 2022-08-04 09:47:38,668 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-08-04T09:47:38.941Z] 2022-08-04 09:47:38,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-08-04T09:47:38.941Z] 2022-08-04 09:47:38,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:47:38.941Z] 2022-08-04 09:47:38,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:47:38.941Z] 2.3.0-dev.13 [Pipeline] } [2022-08-04T09:47:38.956Z] $ docker exec --env ******** --env ******** 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b ssh-agent -k [2022-08-04T09:47:39.078Z] unset SSH_AUTH_SOCK; [2022-08-04T09:47:39.079Z] unset SSH_AGENT_PID; [2022-08-04T09:47:39.079Z] echo Agent pid 78 killed; [2022-08-04T09:47:39.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T09:47:39.397Z] + git semver [Pipeline] } [2022-08-04T09:47:39.677Z] $ docker stop --time=1 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b [2022-08-04T09:47:41.000Z] $ docker rm -f 9ae2138877442ad907d7f29c3402b5e624ff842d7d2e2cc0d5bc96cf8703990b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:47:41.360Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-04T09:47:41.629Z] Stashed 1 file(s) [Pipeline] echo [2022-08-04T09:47:41.632Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.13 [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-08-04T09:47:41.782Z] provisioning config files... [2022-08-04T09:47:41.792Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3717210250168407518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:47:42.095Z] ---> docker-login.sh [2022-08-04T09:47:42.095Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:47:42.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:42.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:42.095Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:42.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:42.095Z] [2022-08-04T09:47:42.095Z] Login Succeeded [2022-08-04T09:47:42.095Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:47:42.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:42.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:42.355Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:42.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:42.355Z] [2022-08-04T09:47:42.355Z] Login Succeeded [2022-08-04T09:47:42.355Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:47:42.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:42.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:42.355Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:42.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:42.355Z] [2022-08-04T09:47:42.355Z] Login Succeeded [2022-08-04T09:47:42.355Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:47:42.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:42.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:42.616Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:42.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:42.616Z] [2022-08-04T09:47:42.616Z] Login Succeeded [2022-08-04T09:47:42.616Z] docker.io [2022-08-04T09:47:42.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:47:42.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:47:42.877Z] Configure a credential helper to remove this warning. See [2022-08-04T09:47:42.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:47:42.877Z] [2022-08-04T09:47:42.877Z] Login Succeeded [2022-08-04T09:47:42.877Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:47:42.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T09:47:42.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:47:42.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:47:42.987Z] ========================================================= [2022-08-04T09:47:42.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-04T09:47:42.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:47:43.316Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-04T09:47:43.316Z] Sending build context to Docker daemon 6.073MB [2022-08-04T09:47:43.316Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:47:43.316Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T09:47:43.316Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-04T09:47:43.316Z] 2408cc74d12b: Pulling fs layer [2022-08-04T09:47:43.316Z] ea60b727a1ce: Pulling fs layer [2022-08-04T09:47:43.316Z] 30c4a7721957: Pulling fs layer [2022-08-04T09:47:43.316Z] 370296b7ddb6: Pulling fs layer [2022-08-04T09:47:43.316Z] 7c6cee850709: Pulling fs layer [2022-08-04T09:47:43.316Z] 39a5fcdaea64: Pulling fs layer [2022-08-04T09:47:43.316Z] d94ebbe4e438: Pulling fs layer [2022-08-04T09:47:43.316Z] bcfd1f05c69d: Pulling fs layer [2022-08-04T09:47:43.316Z] 59ccb84bbe0f: Pulling fs layer [2022-08-04T09:47:43.316Z] 370296b7ddb6: Waiting [2022-08-04T09:47:43.316Z] 7c6cee850709: Waiting [2022-08-04T09:47:43.316Z] 39a5fcdaea64: Waiting [2022-08-04T09:47:43.316Z] d94ebbe4e438: Waiting [2022-08-04T09:47:43.316Z] bcfd1f05c69d: Waiting [2022-08-04T09:47:43.316Z] 59ccb84bbe0f: Waiting [2022-08-04T09:47:43.316Z] 30c4a7721957: Download complete [2022-08-04T09:47:43.316Z] ea60b727a1ce: Verifying Checksum [2022-08-04T09:47:43.316Z] ea60b727a1ce: Download complete [2022-08-04T09:47:43.578Z] 7c6cee850709: Verifying Checksum [2022-08-04T09:47:43.578Z] 7c6cee850709: Download complete [2022-08-04T09:47:43.578Z] 2408cc74d12b: Download complete [2022-08-04T09:47:43.578Z] 39a5fcdaea64: Verifying Checksum [2022-08-04T09:47:43.578Z] 39a5fcdaea64: Download complete [2022-08-04T09:47:43.578Z] d94ebbe4e438: Verifying Checksum [2022-08-04T09:47:43.578Z] d94ebbe4e438: Download complete [2022-08-04T09:47:43.578Z] 2408cc74d12b: Pull complete [2022-08-04T09:47:43.842Z] ea60b727a1ce: Pull complete [2022-08-04T09:47:43.842Z] 30c4a7721957: Pull complete [2022-08-04T09:47:43.842Z] 59ccb84bbe0f: Verifying Checksum [2022-08-04T09:47:43.842Z] 59ccb84bbe0f: Download complete [2022-08-04T09:47:44.103Z] bcfd1f05c69d: Verifying Checksum [2022-08-04T09:47:44.103Z] bcfd1f05c69d: Download complete [2022-08-04T09:47:44.362Z] 370296b7ddb6: Verifying Checksum [2022-08-04T09:47:44.362Z] 370296b7ddb6: Download complete [2022-08-04T09:47:48.570Z] 370296b7ddb6: Pull complete [2022-08-04T09:47:48.831Z] 7c6cee850709: Pull complete [2022-08-04T09:47:48.831Z] 39a5fcdaea64: Pull complete [2022-08-04T09:47:48.831Z] d94ebbe4e438: Pull complete [2022-08-04T09:47:51.373Z] bcfd1f05c69d: Pull complete [2022-08-04T09:47:51.943Z] 59ccb84bbe0f: Pull complete [2022-08-04T09:47:51.943Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-04T09:47:51.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-04T09:47:51.943Z] ---> a4fb48ad2a94 [2022-08-04T09:47:51.943Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:47:56.161Z] ---> Running in b5a09318d7b7 [2022-08-04T09:47:56.162Z] Removing intermediate container b5a09318d7b7 [2022-08-04T09:47:56.162Z] ---> 28ee8e1bf7e3 [2022-08-04T09:47:56.162Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:47:56.162Z] ---> Running in 7033b751b9ed [2022-08-04T09:47:56.162Z] Removing intermediate container 7033b751b9ed [2022-08-04T09:47:56.162Z] ---> 100b1d1dbbd1 [2022-08-04T09:47:56.162Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:47:56.162Z] ---> Running in 18f3a7c6f3e9 [2022-08-04T09:47:56.733Z] Removing intermediate container 18f3a7c6f3e9 [2022-08-04T09:47:56.733Z] ---> 5784ce452974 [2022-08-04T09:47:56.733Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:47:56.733Z] ---> Running in 8ad3320c16cd [2022-08-04T09:47:56.752Z] Still waiting to schedule task [2022-08-04T09:47:56.753Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-04T09:47:57.304Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:47:57.874Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:47:58.444Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T09:47:58.444Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T09:47:58.444Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T09:47:58.705Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T09:47:58.705Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T09:47:58.705Z] OK: 216 MiB in 55 packages [2022-08-04T09:47:59.276Z] Removing intermediate container 8ad3320c16cd [2022-08-04T09:47:59.276Z] ---> a68c7e76aff1 [2022-08-04T09:47:59.276Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-04T09:47:59.276Z] ---> Running in 1adfdccf3a2c [2022-08-04T09:47:59.276Z] Removing intermediate container 1adfdccf3a2c [2022-08-04T09:47:59.276Z] ---> da8a80f596e1 [2022-08-04T09:47:59.276Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T09:47:59.537Z] ---> ba0d7b327f10 [2022-08-04T09:47:59.537Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:47:59.537Z] ---> Running in 81848983451d [2022-08-04T09:48:21.582Z] Removing intermediate container 81848983451d [2022-08-04T09:48:21.582Z] ---> 914f2dca9e85 [2022-08-04T09:48:21.582Z] Step 10/12 : COPY . . [2022-08-04T09:48:21.582Z] ---> 03fb72955ca2 [2022-08-04T09:48:21.582Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T09:48:21.582Z] ---> Running in 7cb52457c7c5 [2022-08-04T09:48:21.582Z] Removing intermediate container 7cb52457c7c5 [2022-08-04T09:48:21.582Z] ---> 9e4f785edba2 [2022-08-04T09:48:21.582Z] Step 12/12 : RUN $MAKE [2022-08-04T09:48:21.582Z] ---> Running in 98328061e859 [2022-08-04T09:48:21.842Z] noop [2022-08-04T09:48:22.416Z] Removing intermediate container 98328061e859 [2022-08-04T09:48:22.416Z] ---> bec27321c7a6 [2022-08-04T09:48:22.416Z] Successfully built bec27321c7a6 [2022-08-04T09:48:22.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:48:22.740Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T09:48:22.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:48:22.834Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:48:22.881Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-04T09:48:23.270Z] $ docker top e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:48:23.634Z] + go version [2022-08-04T09:48:23.635Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-04T09:48:23.652Z] $ docker stop --time=1 e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 [2022-08-04T09:48:24.920Z] $ docker rm -f e538c9fecfb170bf90f396cb2792a72c5ae045c3698173f8bbfc8c804602af50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:48:25.413Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-04T09:48:25.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:48:25.524Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:48:25.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-x86_64 cat [2022-08-04T09:48:25.923Z] $ docker top 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:48:26.289Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-04T09:48:26.594Z] + make test [2022-08-04T09:48:26.594Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-04T09:48:26.853Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-04T09:48:36.844Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-04T09:48:38.237Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-08-04T09:48:38.237Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-04T09:48:46.367Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-04T09:48:46.367Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T09:48:48.908Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T09:48:48.908Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T09:48:48.908Z] ./bin/test-attribution-txt.sh [2022-08-04T09:48:48.908Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T09:48:48.908Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T09:48:48.908Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T09:48:48.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T09:48:48.938Z] $ docker stop --time=1 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 [2022-08-04T09:48:51.136Z] $ docker rm -f 76d2d509af1187191b3737e2855b62b1b2d607deaa2284d630b35f515c78c8d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:48:51.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T09:48:51.635Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-04T09:48:52.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T09:48:52.449Z] + ls -al . [2022-08-04T09:48:52.449Z] total 180 [2022-08-04T09:48:52.450Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 09:48 . [2022-08-04T09:48:52.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:47 .. [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 09:47 .dockerignore [2022-08-04T09:48:52.450Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:48 .git [2022-08-04T09:48:52.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 .github [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 09:47 .gitignore [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:47 .golangci.yml [2022-08-04T09:48:52.450Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:47 .semver [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 09:47 Attribution.txt [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 09:47 CHANGELOG.md [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 09:47 Dockerfile [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:47 GOVERNANCE.md [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 09:47 Jenkinsfile [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:47 LICENSE [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 09:47 Makefile [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 09:47 OWNERS.md [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 09:47 README.md [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 09:47 VERSION [2022-08-04T09:48:52.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:47 bin [2022-08-04T09:48:52.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 cmd [2022-08-04T09:48:52.450Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 09:48 coverage.out [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 09:47 go.mod [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 09:47 go.sum [2022-08-04T09:48:52.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:47 internal [2022-08-04T09:48:52.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:47 mock [2022-08-04T09:48:52.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:47 snap [2022-08-04T09:48:52.450Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:48:52.768Z] + 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=45e704b8212ca39805298e898eb42b8dfe23ade0 --label arch=amd64 --label version=2.3.0-dev.13 . [2022-08-04T09:48:52.768Z] Sending build context to Docker daemon 6.091MB [2022-08-04T09:48:52.768Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:48:52.768Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-04T09:48:52.768Z] ---> bec27321c7a6 [2022-08-04T09:48:52.768Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:48:53.032Z] ---> Running in 7beda1b81beb [2022-08-04T09:48:53.032Z] Removing intermediate container 7beda1b81beb [2022-08-04T09:48:53.032Z] ---> ed04ab018670 [2022-08-04T09:48:53.032Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:48:53.032Z] ---> Running in 2865b7386d81 [2022-08-04T09:48:53.032Z] Removing intermediate container 2865b7386d81 [2022-08-04T09:48:53.032Z] ---> 062582381445 [2022-08-04T09:48:53.032Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:48:53.032Z] ---> Running in e4700201d742 [2022-08-04T09:48:53.604Z] Removing intermediate container e4700201d742 [2022-08-04T09:48:53.604Z] ---> 8785f51e0029 [2022-08-04T09:48:53.604Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:48:53.604Z] ---> Running in 67340d0c534f [2022-08-04T09:48:54.175Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:48:54.750Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:48:55.323Z] OK: 216 MiB in 55 packages [2022-08-04T09:48:55.592Z] Removing intermediate container 67340d0c534f [2022-08-04T09:48:55.592Z] ---> 0567c2a1aab0 [2022-08-04T09:48:55.592Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-04T09:48:55.592Z] ---> Running in 07951b141a4c [2022-08-04T09:48:55.592Z] Removing intermediate container 07951b141a4c [2022-08-04T09:48:55.592Z] ---> 785d68b99c2d [2022-08-04T09:48:55.592Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-04T09:48:55.592Z] ---> 8fca180b7a2b [2022-08-04T09:48:55.592Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:48:55.854Z] ---> Running in cae466300586 [2022-08-04T09:48:56.426Z] Removing intermediate container cae466300586 [2022-08-04T09:48:56.426Z] ---> b1e16900aaac [2022-08-04T09:48:56.426Z] Step 10/24 : COPY . . [2022-08-04T09:48:56.687Z] ---> 20f952f84320 [2022-08-04T09:48:56.687Z] Step 11/24 : ARG MAKE='make build' [2022-08-04T09:48:56.687Z] ---> Running in f01b1cb48628 [2022-08-04T09:48:56.947Z] Removing intermediate container f01b1cb48628 [2022-08-04T09:48:56.947Z] ---> 3fe9903785c9 [2022-08-04T09:48:56.947Z] Step 12/24 : RUN $MAKE [2022-08-04T09:48:56.947Z] ---> Running in 4c562a53457f [2022-08-04T09:48:57.209Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-04T09:49:23.802Z] Removing intermediate container 4c562a53457f [2022-08-04T09:49:23.802Z] ---> 65575ed0e282 [2022-08-04T09:49:23.802Z] Step 13/24 : FROM alpine:3.16 [2022-08-04T09:49:23.802Z] 3.16: Pulling from library/alpine [2022-08-04T09:49:23.802Z] 530afca65e2e: Pulling fs layer [2022-08-04T09:49:23.802Z] 530afca65e2e: Verifying Checksum [2022-08-04T09:49:23.802Z] 530afca65e2e: Download complete [2022-08-04T09:49:23.802Z] 530afca65e2e: Pull complete [2022-08-04T09:49:23.802Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T09:49:23.802Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T09:49:23.802Z] ---> d7d3d98c851f [2022-08-04T09:49:23.802Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-04T09:49:23.802Z] ---> Running in 0c595adeb4c0 [2022-08-04T09:49:23.802Z] Removing intermediate container 0c595adeb4c0 [2022-08-04T09:49:23.802Z] ---> 5c3932acb956 [2022-08-04T09:49:23.802Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T09:49:23.802Z] ---> Running in 7cf4befe4e52 [2022-08-04T09:49:23.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-04T09:49:23.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-04T09:49:24.064Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T09:49:24.064Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T09:49:24.064Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T09:49:24.064Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T09:49:24.064Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T09:49:24.064Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T09:49:24.064Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T09:49:24.064Z] OK: 8 MiB in 20 packages [2022-08-04T09:49:25.007Z] Removing intermediate container 7cf4befe4e52 [2022-08-04T09:49:25.007Z] ---> a43839b639cc [2022-08-04T09:49:25.007Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-04T09:49:25.584Z] ---> eccb960e6cd8 [2022-08-04T09:49:25.584Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-04T09:49:25.846Z] ---> e8be3857f352 [2022-08-04T09:49:25.846Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-04T09:49:26.106Z] ---> 1802af8d4ad4 [2022-08-04T09:49:26.106Z] Step 19/24 : EXPOSE 59982 [2022-08-04T09:49:26.369Z] ---> Running in dd060bff518d [2022-08-04T09:49:26.369Z] Removing intermediate container dd060bff518d [2022-08-04T09:49:26.369Z] ---> d4a9281f2fac [2022-08-04T09:49:26.369Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-04T09:49:26.629Z] ---> Running in 96e204315b84 [2022-08-04T09:49:26.890Z] Removing intermediate container 96e204315b84 [2022-08-04T09:49:26.890Z] ---> 51db32b0744b [2022-08-04T09:49:26.890Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T09:49:26.890Z] ---> Running in 596928663f35 [2022-08-04T09:49:27.149Z] Removing intermediate container 596928663f35 [2022-08-04T09:49:27.149Z] ---> 7ca147827615 [2022-08-04T09:49:27.149Z] Step 22/24 : LABEL arch=amd64 [2022-08-04T09:49:27.409Z] ---> Running in 1594eb4c67eb [2022-08-04T09:49:27.409Z] Removing intermediate container 1594eb4c67eb [2022-08-04T09:49:27.409Z] ---> 4c1c5fc74a28 [2022-08-04T09:49:27.409Z] Step 23/24 : LABEL git_sha=45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:49:27.670Z] ---> Running in e18deebd61f3 [2022-08-04T09:49:27.670Z] Removing intermediate container e18deebd61f3 [2022-08-04T09:49:27.670Z] ---> e514c9ca134f [2022-08-04T09:49:27.670Z] Step 24/24 : LABEL version=2.3.0-dev.13 [2022-08-04T09:49:27.930Z] ---> Running in d6793f6f9fed [2022-08-04T09:49:28.191Z] Removing intermediate container d6793f6f9fed [2022-08-04T09:49:28.191Z] ---> 9e1e6219ca0d [2022-08-04T09:49:28.191Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T09:49:28.191Z] Successfully built 9e1e6219ca0d [2022-08-04T09:49:28.191Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:49:28.283Z] provisioning config files... [2022-08-04T09:49:28.294Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8889318783920192928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:49:28.592Z] ---> docker-login.sh [2022-08-04T09:49:28.592Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:49:28.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:49:28.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:49:28.592Z] Configure a credential helper to remove this warning. See [2022-08-04T09:49:28.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:49:28.592Z] [2022-08-04T09:49:28.592Z] Login Succeeded [2022-08-04T09:49:28.592Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:49:28.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:49:28.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:49:28.853Z] Configure a credential helper to remove this warning. See [2022-08-04T09:49:28.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:49:28.853Z] [2022-08-04T09:49:28.853Z] Login Succeeded [2022-08-04T09:49:28.853Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:49:28.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:49:28.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:49:28.853Z] Configure a credential helper to remove this warning. See [2022-08-04T09:49:28.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:49:28.853Z] [2022-08-04T09:49:28.853Z] Login Succeeded [2022-08-04T09:49:28.853Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:49:29.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:49:29.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:49:29.114Z] Configure a credential helper to remove this warning. See [2022-08-04T09:49:29.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:49:29.114Z] [2022-08-04T09:49:29.114Z] Login Succeeded [2022-08-04T09:49:29.114Z] docker.io [2022-08-04T09:49:29.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:49:29.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:49:29.375Z] Configure a credential helper to remove this warning. See [2022-08-04T09:49:29.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:49:29.375Z] [2022-08-04T09:49:29.375Z] Login Succeeded [2022-08-04T09:49:29.375Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:49:29.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-04T09:49:29.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:49:29.443Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-08-04T09:49:29.443Z] 45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:49:29.443Z] latest [2022-08-04T09:49:29.443Z] 2.3.0-dev.13 [2022-08-04T09:49:29.443Z] 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:49:29.443Z] main [2022-08-04T09:49:29.443Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:29.778Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:30.087Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:49:30.087Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-04T09:49:30.087Z] faf9ecdd2c20: Preparing [2022-08-04T09:49:30.087Z] ed6fb488acb9: Preparing [2022-08-04T09:49:30.087Z] 005e94b46ded: Preparing [2022-08-04T09:49:30.088Z] be607a9f3483: Preparing [2022-08-04T09:49:30.088Z] ec34fcc1d526: Preparing [2022-08-04T09:49:30.088Z] ec34fcc1d526: Layer already exists [2022-08-04T09:49:30.088Z] ed6fb488acb9: Pushed [2022-08-04T09:49:30.088Z] faf9ecdd2c20: Pushed [2022-08-04T09:49:30.347Z] be607a9f3483: Pushed [2022-08-04T09:49:32.886Z] 005e94b46ded: Pushed [2022-08-04T09:49:33.149Z] 45e704b8212ca39805298e898eb42b8dfe23ade0: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:33.474Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:33.790Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-08-04T09:49:33.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-04T09:49:33.790Z] faf9ecdd2c20: Preparing [2022-08-04T09:49:33.790Z] ed6fb488acb9: Preparing [2022-08-04T09:49:33.790Z] 005e94b46ded: Preparing [2022-08-04T09:49:33.790Z] be607a9f3483: Preparing [2022-08-04T09:49:33.790Z] ec34fcc1d526: Preparing [2022-08-04T09:49:33.790Z] be607a9f3483: Layer already exists [2022-08-04T09:49:33.790Z] 005e94b46ded: Layer already exists [2022-08-04T09:49:33.790Z] ec34fcc1d526: Layer already exists [2022-08-04T09:49:33.790Z] ed6fb488acb9: Layer already exists [2022-08-04T09:49:33.790Z] faf9ecdd2c20: Layer already exists [2022-08-04T09:49:33.790Z] latest: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:34.112Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:34.427Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 [2022-08-04T09:49:34.427Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-04T09:49:34.427Z] faf9ecdd2c20: Preparing [2022-08-04T09:49:34.427Z] ed6fb488acb9: Preparing [2022-08-04T09:49:34.427Z] 005e94b46ded: Preparing [2022-08-04T09:49:34.427Z] be607a9f3483: Preparing [2022-08-04T09:49:34.427Z] ec34fcc1d526: Preparing [2022-08-04T09:49:34.427Z] 005e94b46ded: Layer already exists [2022-08-04T09:49:34.427Z] faf9ecdd2c20: Layer already exists [2022-08-04T09:49:34.427Z] ed6fb488acb9: Layer already exists [2022-08-04T09:49:34.427Z] be607a9f3483: Layer already exists [2022-08-04T09:49:34.427Z] ec34fcc1d526: Layer already exists [2022-08-04T09:49:34.427Z] 2.3.0-dev.13: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:34.748Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:35.059Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:49:35.059Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-04T09:49:35.059Z] faf9ecdd2c20: Preparing [2022-08-04T09:49:35.059Z] ed6fb488acb9: Preparing [2022-08-04T09:49:35.059Z] 005e94b46ded: Preparing [2022-08-04T09:49:35.059Z] be607a9f3483: Preparing [2022-08-04T09:49:35.059Z] ec34fcc1d526: Preparing [2022-08-04T09:49:35.059Z] faf9ecdd2c20: Layer already exists [2022-08-04T09:49:35.059Z] ed6fb488acb9: Layer already exists [2022-08-04T09:49:35.059Z] 005e94b46ded: Layer already exists [2022-08-04T09:49:35.059Z] be607a9f3483: Layer already exists [2022-08-04T09:49:35.059Z] ec34fcc1d526: Layer already exists [2022-08-04T09:49:35.059Z] 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:35.375Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:35.698Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-08-04T09:49:35.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-08-04T09:49:35.698Z] faf9ecdd2c20: Preparing [2022-08-04T09:49:35.698Z] ed6fb488acb9: Preparing [2022-08-04T09:49:35.698Z] 005e94b46ded: Preparing [2022-08-04T09:49:35.698Z] be607a9f3483: Preparing [2022-08-04T09:49:35.698Z] ec34fcc1d526: Preparing [2022-08-04T09:49:35.698Z] ec34fcc1d526: Layer already exists [2022-08-04T09:49:35.698Z] 005e94b46ded: Layer already exists [2022-08-04T09:49:35.698Z] faf9ecdd2c20: Layer already exists [2022-08-04T09:49:35.698Z] be607a9f3483: Layer already exists [2022-08-04T09:49:35.698Z] ed6fb488acb9: Layer already exists [2022-08-04T09:49:35.698Z] main: digest: sha256:0c4cd8c3ef320002f5443458f73ad57c377c173d43521b3c8d8ba55d651a70df size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-04T09:49:35.754Z] ===================================================== [Pipeline] echo [2022-08-04T09:49:35.768Z] taggedImages: [2022-08-04T09:49:35.768Z] - nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:49:35.768Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-08-04T09:49:35.768Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.3.0-dev.13 [2022-08-04T09:49:35.768Z] - nexus3.edgexfoundry.org:10004/device-mqtt:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:49:35.768Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:36.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:49:36.153Z] [2022-08-04T09:49:36.153Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:49:36.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:49:36.451Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-04T09:49:36.451Z] 5eb5b503b376: Pulling fs layer [2022-08-04T09:49:36.451Z] 5c69ac0246d0: Pulling fs layer [2022-08-04T09:49:36.451Z] ec43610c2a17: Pulling fs layer [2022-08-04T09:49:36.451Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-04T09:49:36.451Z] 33b1e0a273af: Pulling fs layer [2022-08-04T09:49:36.451Z] 5d3b04190fa2: Pulling fs layer [2022-08-04T09:49:36.451Z] 2f39f015ded8: Pulling fs layer [2022-08-04T09:49:36.451Z] 3a2ae6a8a46f: Waiting [2022-08-04T09:49:36.451Z] 33b1e0a273af: Waiting [2022-08-04T09:49:36.451Z] 5d3b04190fa2: Waiting [2022-08-04T09:49:36.451Z] 2f39f015ded8: Waiting [2022-08-04T09:49:36.451Z] 5c69ac0246d0: Download complete [2022-08-04T09:49:36.451Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-04T09:49:36.451Z] 3a2ae6a8a46f: Download complete [2022-08-04T09:49:36.711Z] 33b1e0a273af: Verifying Checksum [2022-08-04T09:49:36.711Z] 33b1e0a273af: Download complete [2022-08-04T09:49:36.711Z] 5d3b04190fa2: Verifying Checksum [2022-08-04T09:49:36.711Z] 5d3b04190fa2: Download complete [2022-08-04T09:49:36.711Z] ec43610c2a17: Verifying Checksum [2022-08-04T09:49:36.711Z] ec43610c2a17: Download complete [2022-08-04T09:49:36.711Z] 5eb5b503b376: Download complete [2022-08-04T09:49:36.865Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21928 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-08-04T09:49:36.878Z] Running in /w/workspace/device-mqtt-go/60 [Pipeline] { [Pipeline] checkout [2022-08-04T09:49:36.917Z] Selected Git installation does not exist. Using Default [2022-08-04T09:49:36.917Z] The recommended git tool is: NONE [2022-08-04T09:49:37.309Z] 2f39f015ded8: Download complete [2022-08-04T09:49:38.297Z] 5eb5b503b376: Pull complete [2022-08-04T09:49:38.297Z] 5c69ac0246d0: Pull complete [2022-08-04T09:49:38.866Z] ec43610c2a17: Pull complete [2022-08-04T09:49:38.866Z] 3a2ae6a8a46f: Pull complete [2022-08-04T09:49:39.126Z] 33b1e0a273af: Pull complete [2022-08-04T09:49:39.386Z] 5d3b04190fa2: Pull complete [2022-08-04T09:49:43.839Z] using credential edgex-jenkins-ssh [2022-08-04T09:49:43.858Z] Cloning the remote Git repository [2022-08-04T09:49:43.925Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-04T09:49:43.999Z] > git init /w/workspace/device-mqtt-go/60 # timeout=10 [2022-08-04T09:49:44.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-04T09:49:44.065Z] > git --version # timeout=10 [2022-08-04T09:49:44.082Z] > git --version # 'git version 2.25.1' [2022-08-04T09:49:44.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-04T09:49:44.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T09:49:44.666Z] 2f39f015ded8: Pull complete [2022-08-04T09:49:44.666Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-04T09:49:44.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:49:44.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:49:44.764Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:49:44.801Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-04T09:49:45.291Z] Avoid second fetch [2022-08-04T09:49:45.291Z] Checking out Revision 45e704b8212ca39805298e898eb42b8dfe23ade0 (main) [2022-08-04T09:49:45.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-04T09:49:45.268Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-04T09:49:45.316Z] > git config core.sparsecheckout # timeout=10 [2022-08-04T09:49:45.333Z] > git checkout -f 45e704b8212ca39805298e898eb42b8dfe23ade0 # timeout=10 [2022-08-04T09:49:49.042Z] $ docker top 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:49:49.473Z] ---> job-cost.sh [2022-08-04T09:49:49.474Z] lf-activate-venv: SKIPPING [2022-08-04T09:49:49.474Z] INFO: No Stack... [2022-08-04T09:49:49.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T09:49:49.863Z] Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2 (#408)" [2022-08-04T09:49:50.269Z] [2022-08-04T09:49:50.269Z] GitHub has been notified of this commit’s build result [2022-08-04T09:49:50.269Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2022-08-04T09:49:50.307Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:49:50.600Z] + + cut -d, -f6 [2022-08-04T09:49:50.600Z] cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock [2022-08-04T09:49:50.616Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [2022-08-04T09:49:50.622Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] did not exist. Created. [2022-08-04T09:49:50.622Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T09:49:50.889Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-04T09:49:50.889Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T09:49:50.889Z] Dload Upload Total Spent Left Speed [2022-08-04T09:49:50.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88085 0 --:--:-- --:--:-- --:--:-- 88085 [2022-08-04T09:49:50.930Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-04T09:49:50.962Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T09:49:50.969Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T09:49:50.989Z] $ docker stop --time=1 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 [2022-08-04T09:49:52.159Z] $ docker rm -f 945255245c9ec46f82ddae695cdf3b4871103c0753b8871dcb7d95743b74a3b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-04T09:49:52.556Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-04T09:49:52.897Z] + sudo tee /etc/docker/daemon.new [2022-08-04T09:49:52.897Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-04T09:49:52.897Z] { [2022-08-04T09:49:52.897Z] "registry-mirrors": [ [2022-08-04T09:49:52.897Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-04T09:49:52.897Z] ], [2022-08-04T09:49:52.897Z] "bip": "10.250.0.254/24", [2022-08-04T09:49:52.897Z] "hosts": [ [2022-08-04T09:49:52.897Z] "tcp://0.0.0.0:5555", [2022-08-04T09:49:52.897Z] "unix:///var/run/docker.sock" [2022-08-04T09:49:52.897Z] ], [2022-08-04T09:49:52.897Z] "mtu": 1458, [2022-08-04T09:49:52.897Z] "selinux-enabled": true, [2022-08-04T09:49:52.897Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-04T09:49:52.897Z] } [Pipeline] sh [2022-08-04T09:49:53.249Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-04T09:49:53.593Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:50:11.956Z] provisioning config files... [2022-08-04T09:50:11.979Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/60@tmp/config5487207453287593055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:50:12.341Z] ---> docker-login.sh [2022-08-04T09:50:12.341Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:50:12.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:50:13.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:50:13.216Z] Configure a credential helper to remove this warning. See [2022-08-04T09:50:13.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:50:13.216Z] [2022-08-04T09:50:13.216Z] Login Succeeded [2022-08-04T09:50:13.216Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:50:13.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:50:13.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:50:13.490Z] Configure a credential helper to remove this warning. See [2022-08-04T09:50:13.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:50:13.490Z] [2022-08-04T09:50:13.490Z] Login Succeeded [2022-08-04T09:50:13.490Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:50:14.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:50:14.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:50:14.088Z] Configure a credential helper to remove this warning. See [2022-08-04T09:50:14.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:50:14.088Z] [2022-08-04T09:50:14.088Z] Login Succeeded [2022-08-04T09:50:14.088Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:50:14.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:50:14.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:50:14.639Z] Configure a credential helper to remove this warning. See [2022-08-04T09:50:14.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:50:14.639Z] [2022-08-04T09:50:14.639Z] Login Succeeded [2022-08-04T09:50:14.639Z] docker.io [2022-08-04T09:50:14.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:50:15.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:50:15.508Z] Configure a credential helper to remove this warning. See [2022-08-04T09:50:15.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:50:15.508Z] [2022-08-04T09:50:15.508Z] Login Succeeded [2022-08-04T09:50:15.508Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:50:15.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-04T09:50:16.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:50:16.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:50:16.069Z] ========================================================= [2022-08-04T09:50:16.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-04T09:50:16.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:50:16.481Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-04T09:50:16.774Z] Sending build context to Docker daemon 3.135MB [2022-08-04T09:50:16.774Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:50:16.774Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-04T09:50:17.049Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-04T09:50:17.049Z] b3c136eddcbf: Pulling fs layer [2022-08-04T09:50:17.049Z] c0a3192eca97: Pulling fs layer [2022-08-04T09:50:17.049Z] a050256f5b6f: Pulling fs layer [2022-08-04T09:50:17.049Z] 656be50a0ddc: Pulling fs layer [2022-08-04T09:50:17.049Z] 2bbca73fdf42: Pulling fs layer [2022-08-04T09:50:17.049Z] 46d945488cbd: Pulling fs layer [2022-08-04T09:50:17.049Z] 8a5474983e97: Pulling fs layer [2022-08-04T09:50:17.049Z] 329c88fbcd65: Pulling fs layer [2022-08-04T09:50:17.049Z] 656be50a0ddc: Waiting [2022-08-04T09:50:17.049Z] 46d945488cbd: Waiting [2022-08-04T09:50:17.049Z] 2bbca73fdf42: Waiting [2022-08-04T09:50:17.049Z] 329c88fbcd65: Waiting [2022-08-04T09:50:17.049Z] 8a5474983e97: Waiting [2022-08-04T09:50:17.049Z] a050256f5b6f: Download complete [2022-08-04T09:50:17.049Z] c0a3192eca97: Download complete [2022-08-04T09:50:17.049Z] 2bbca73fdf42: Verifying Checksum [2022-08-04T09:50:17.049Z] 2bbca73fdf42: Download complete [2022-08-04T09:50:17.049Z] 46d945488cbd: Verifying Checksum [2022-08-04T09:50:17.049Z] 46d945488cbd: Download complete [2022-08-04T09:50:17.049Z] b3c136eddcbf: Verifying Checksum [2022-08-04T09:50:17.049Z] b3c136eddcbf: Download complete [2022-08-04T09:50:18.042Z] b3c136eddcbf: Pull complete [2022-08-04T09:50:18.042Z] 329c88fbcd65: Verifying Checksum [2022-08-04T09:50:18.042Z] 329c88fbcd65: Download complete [2022-08-04T09:50:18.656Z] c0a3192eca97: Pull complete [2022-08-04T09:50:18.943Z] a050256f5b6f: Pull complete [2022-08-04T09:50:19.220Z] 8a5474983e97: Verifying Checksum [2022-08-04T09:50:19.221Z] 8a5474983e97: Download complete [2022-08-04T09:50:19.822Z] 656be50a0ddc: Verifying Checksum [2022-08-04T09:50:19.822Z] 656be50a0ddc: Download complete [2022-08-04T09:50:34.950Z] 656be50a0ddc: Pull complete [2022-08-04T09:50:34.950Z] 2bbca73fdf42: Pull complete [2022-08-04T09:50:34.950Z] 46d945488cbd: Pull complete [2022-08-04T09:50:39.263Z] 8a5474983e97: Pull complete [2022-08-04T09:50:41.250Z] 329c88fbcd65: Pull complete [2022-08-04T09:50:41.523Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-04T09:50:41.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-04T09:50:41.524Z] ---> ff4287adb874 [2022-08-04T09:50:41.524Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:50:42.515Z] ---> Running in 580e742f338b [2022-08-04T09:50:42.515Z] Removing intermediate container 580e742f338b [2022-08-04T09:50:42.515Z] ---> ad8d2b100e33 [2022-08-04T09:50:42.515Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:50:42.788Z] ---> Running in 58f4cf9accf3 [2022-08-04T09:50:43.060Z] Removing intermediate container 58f4cf9accf3 [2022-08-04T09:50:43.060Z] ---> 9d9aa3214f74 [2022-08-04T09:50:43.060Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:50:43.060Z] ---> Running in 727e7f19e173 [2022-08-04T09:50:45.719Z] Removing intermediate container 727e7f19e173 [2022-08-04T09:50:45.719Z] ---> 68cdefede8bd [2022-08-04T09:50:45.719Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:50:45.719Z] ---> Running in ddbe2a9a66c3 [2022-08-04T09:50:46.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:50:47.687Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:50:48.284Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-04T09:50:48.557Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-04T09:50:48.557Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-04T09:50:48.834Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-04T09:50:48.834Z] Executing busybox-1.35.0-r13.trigger [2022-08-04T09:50:48.834Z] OK: 226 MiB in 55 packages [2022-08-04T09:50:49.821Z] Removing intermediate container ddbe2a9a66c3 [2022-08-04T09:50:49.822Z] ---> 45121b197aea [2022-08-04T09:50:49.822Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-04T09:50:49.822Z] ---> Running in 75c9b9fb9f02 [2022-08-04T09:50:50.097Z] Removing intermediate container 75c9b9fb9f02 [2022-08-04T09:50:50.097Z] ---> 84e45c38836a [2022-08-04T09:50:50.097Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-04T09:50:50.703Z] ---> 9f3be3cb053b [2022-08-04T09:50:50.703Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:50:50.703Z] ---> Running in 8e18de75ccbf [2022-08-04T09:51:37.688Z] Removing intermediate container 8e18de75ccbf [2022-08-04T09:51:37.688Z] ---> 048b59bb5966 [2022-08-04T09:51:37.688Z] Step 10/12 : COPY . . [2022-08-04T09:51:37.688Z] ---> 73fd620bd4ec [2022-08-04T09:51:37.688Z] Step 11/12 : ARG MAKE='make build' [2022-08-04T09:51:37.688Z] ---> Running in e2456d05bc39 [2022-08-04T09:51:37.961Z] Removing intermediate container e2456d05bc39 [2022-08-04T09:51:37.961Z] ---> b92e80348dfd [2022-08-04T09:51:37.961Z] Step 12/12 : RUN $MAKE [2022-08-04T09:51:38.239Z] ---> Running in 8d9ebf6c96b9 [2022-08-04T09:51:39.220Z] noop [2022-08-04T09:51:39.819Z] Removing intermediate container 8d9ebf6c96b9 [2022-08-04T09:51:39.819Z] ---> dc2fe0cc00e7 [2022-08-04T09:51:39.819Z] Successfully built dc2fe0cc00e7 [2022-08-04T09:51:39.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:51:40.194Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T09:51:40.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:51:40.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-08-04T09:51:40.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-04T09:51:41.799Z] $ docker top fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:51:42.689Z] + go version [2022-08-04T09:51:42.689Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-04T09:51:42.717Z] $ docker stop --time=1 fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e [2022-08-04T09:51:44.310Z] $ docker rm -f fe81d7386f04f20f142d86925df9f75e25073d99b38dac73a55a1236a01b179e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:51:44.918Z] + docker inspect -f . ci-base-image-arm64 [2022-08-04T09:51:44.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:51:45.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-08-04T09:51:45.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-04T09:51:46.446Z] $ docker top 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:51:47.333Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/60 [Pipeline] fileExists [Pipeline] sh [2022-08-04T09:51:48.004Z] + make test [2022-08-04T09:51:48.004Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-04T09:51:49.443Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-04T09:53:11.306Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-04T09:53:11.306Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements [2022-08-04T09:53:11.306Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-04T09:53:11.306Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-04T09:53:11.306Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-04T09:53:29.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-04T09:53:29.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-04T09:53:29.637Z] ./bin/test-attribution-txt.sh [2022-08-04T09:53:29.637Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-04T09:53:29.637Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-04T09:53:29.637Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-04T09:53:29.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-04T09:53:29.679Z] $ docker stop --time=1 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 [2022-08-04T09:53:31.473Z] $ docker rm -f 42b54b5cc72e2d4f862d57f1522e51f8560492f595009dd064fcffc22b71e7a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:53:32.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-04T09:53:32.475Z] Warning: overwriting stash ‘coverage-report’ [2022-08-04T09:53:32.936Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-04T09:53:33.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-04T09:53:33.678Z] + ls -al . [2022-08-04T09:53:33.678Z] total 176 [2022-08-04T09:53:33.678Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 09:51 . [2022-08-04T09:53:33.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:49 .. [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 09:49 .dockerignore [2022-08-04T09:53:33.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 09:49 .git [2022-08-04T09:53:33.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 .github [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 09:49 .gitignore [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 09:49 .golangci.yml [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 09:49 Attribution.txt [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 09:49 CHANGELOG.md [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 09:49 Dockerfile [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 09:49 GOVERNANCE.md [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 09:49 Jenkinsfile [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 09:49 LICENSE [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 09:49 Makefile [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 09:49 OWNERS.md [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 09:49 README.md [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 4 09:47 VERSION [2022-08-04T09:53:33.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:49 bin [2022-08-04T09:53:33.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 cmd [2022-08-04T09:53:33.678Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 09:53 coverage.out [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 09:49 go.mod [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 09:49 go.sum [2022-08-04T09:53:33.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 09:49 internal [2022-08-04T09:53:33.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 09:49 mock [2022-08-04T09:53:33.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 09:49 snap [2022-08-04T09:53:33.678Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 09:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:53:34.036Z] + 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=45e704b8212ca39805298e898eb42b8dfe23ade0 --label arch=arm64 --label version=2.3.0-dev.13 . [2022-08-04T09:53:34.308Z] Sending build context to Docker daemon 3.153MB [2022-08-04T09:53:34.308Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-04T09:53:34.308Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-04T09:53:34.308Z] ---> dc2fe0cc00e7 [2022-08-04T09:53:34.308Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-04T09:53:34.581Z] ---> Running in ad71496af7e4 [2022-08-04T09:53:34.855Z] Removing intermediate container ad71496af7e4 [2022-08-04T09:53:34.855Z] ---> 0c47529570a1 [2022-08-04T09:53:34.855Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-04T09:53:34.855Z] ---> Running in 1b72160b3e2e [2022-08-04T09:53:35.131Z] Removing intermediate container 1b72160b3e2e [2022-08-04T09:53:35.131Z] ---> 766caca14963 [2022-08-04T09:53:35.131Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-04T09:53:35.409Z] ---> Running in c3066bed79ff [2022-08-04T09:53:36.872Z] Removing intermediate container c3066bed79ff [2022-08-04T09:53:36.872Z] ---> 22ccc4aae54c [2022-08-04T09:53:36.872Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-04T09:53:36.872Z] ---> Running in a4c3b8912973 [2022-08-04T09:53:37.854Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:53:38.832Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:53:39.811Z] OK: 226 MiB in 55 packages [2022-08-04T09:53:40.408Z] Removing intermediate container a4c3b8912973 [2022-08-04T09:53:40.408Z] ---> 36c848275213 [2022-08-04T09:53:40.408Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-04T09:53:40.681Z] ---> Running in c2b409fa13bd [2022-08-04T09:53:40.956Z] Removing intermediate container c2b409fa13bd [2022-08-04T09:53:40.956Z] ---> 4ba393f0563f [2022-08-04T09:53:40.956Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-04T09:53:41.553Z] ---> 04ebdf5626c1 [2022-08-04T09:53:41.553Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-04T09:53:41.553Z] ---> Running in 2670d9536f00 [2022-08-04T09:53:43.526Z] Removing intermediate container 2670d9536f00 [2022-08-04T09:53:43.526Z] ---> 88d81af4cbcb [2022-08-04T09:53:43.526Z] Step 10/24 : COPY . . [2022-08-04T09:53:44.507Z] ---> 93f230432c95 [2022-08-04T09:53:44.507Z] Step 11/24 : ARG MAKE='make build' [2022-08-04T09:53:44.507Z] ---> Running in 22ed7224a24c [2022-08-04T09:53:44.780Z] Removing intermediate container 22ed7224a24c [2022-08-04T09:53:44.780Z] ---> ebe4a818fca7 [2022-08-04T09:53:44.780Z] Step 12/24 : RUN $MAKE [2022-08-04T09:53:44.780Z] ---> Running in 18905b1665b6 [2022-08-04T09:53:45.760Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-08-04T09:55:52.654Z] Removing intermediate container 18905b1665b6 [2022-08-04T09:55:52.654Z] ---> 31b213c597ed [2022-08-04T09:55:52.654Z] Step 13/24 : FROM alpine:3.16 [2022-08-04T09:55:52.654Z] 3.16: Pulling from library/alpine [2022-08-04T09:55:52.654Z] f97344484467: Pulling fs layer [2022-08-04T09:55:52.654Z] f97344484467: Verifying Checksum [2022-08-04T09:55:52.654Z] f97344484467: Download complete [2022-08-04T09:55:52.654Z] f97344484467: Pull complete [2022-08-04T09:55:52.654Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-04T09:55:52.654Z] Status: Downloaded newer image for alpine:3.16 [2022-08-04T09:55:52.654Z] ---> 3d81c46cd875 [2022-08-04T09:55:52.654Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-04T09:55:52.654Z] ---> Running in 866747839d95 [2022-08-04T09:55:52.654Z] Removing intermediate container 866747839d95 [2022-08-04T09:55:52.654Z] ---> e8bc08980e94 [2022-08-04T09:55:52.654Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-04T09:55:52.654Z] ---> Running in be53ea296bbf [2022-08-04T09:55:52.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-04T09:55:52.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-04T09:55:52.655Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-04T09:55:52.655Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-04T09:55:52.655Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-04T09:55:52.655Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-04T09:55:52.655Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-04T09:55:52.655Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-04T09:55:52.655Z] Executing busybox-1.35.0-r15.trigger [2022-08-04T09:55:52.655Z] OK: 8 MiB in 20 packages [2022-08-04T09:55:52.655Z] Removing intermediate container be53ea296bbf [2022-08-04T09:55:52.655Z] ---> b63d9c72a348 [2022-08-04T09:55:52.655Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-04T09:55:52.655Z] ---> cdd83be19162 [2022-08-04T09:55:52.655Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-04T09:55:52.655Z] ---> dc54c1f61613 [2022-08-04T09:55:52.655Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-04T09:55:52.655Z] ---> ca9e906f2616 [2022-08-04T09:55:52.655Z] Step 19/24 : EXPOSE 59982 [2022-08-04T09:55:52.655Z] ---> Running in c308246be509 [2022-08-04T09:55:52.928Z] Removing intermediate container c308246be509 [2022-08-04T09:55:52.928Z] ---> f4a3c2f77dd6 [2022-08-04T09:55:52.928Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-04T09:55:52.928Z] ---> Running in a0cf0405c8f9 [2022-08-04T09:55:53.203Z] Removing intermediate container a0cf0405c8f9 [2022-08-04T09:55:53.203Z] ---> 65549ca3ef31 [2022-08-04T09:55:53.203Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-04T09:55:53.477Z] ---> Running in 97ccaa8ca5f5 [2022-08-04T09:55:53.754Z] Removing intermediate container 97ccaa8ca5f5 [2022-08-04T09:55:53.754Z] ---> 0113ef8b61f7 [2022-08-04T09:55:53.754Z] Step 22/24 : LABEL arch=arm64 [2022-08-04T09:55:53.754Z] ---> Running in 7580ba75c215 [2022-08-04T09:55:54.031Z] Removing intermediate container 7580ba75c215 [2022-08-04T09:55:54.031Z] ---> 83cfa9ff53fa [2022-08-04T09:55:54.031Z] Step 23/24 : LABEL git_sha=45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:55:54.031Z] ---> Running in 431b63a4575a [2022-08-04T09:55:54.313Z] Removing intermediate container 431b63a4575a [2022-08-04T09:55:54.313Z] ---> b9abf1d020a9 [2022-08-04T09:55:54.313Z] Step 24/24 : LABEL version=2.3.0-dev.13 [2022-08-04T09:55:54.587Z] ---> Running in 8e062483d679 [2022-08-04T09:55:54.862Z] Removing intermediate container 8e062483d679 [2022-08-04T09:55:54.862Z] ---> e9f2322becd2 [2022-08-04T09:55:54.862Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-04T09:55:54.862Z] Successfully built e9f2322becd2 [2022-08-04T09:55:54.862Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:55:54.987Z] provisioning config files... [2022-08-04T09:55:55.006Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/60@tmp/config1949086345104364447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:55:55.364Z] ---> docker-login.sh [2022-08-04T09:55:55.364Z] nexus3.edgexfoundry.org:10001 [2022-08-04T09:55:55.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:55:55.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:55:55.640Z] Configure a credential helper to remove this warning. See [2022-08-04T09:55:55.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:55:55.640Z] [2022-08-04T09:55:55.640Z] Login Succeeded [2022-08-04T09:55:55.640Z] nexus3.edgexfoundry.org:10002 [2022-08-04T09:55:56.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:55:56.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:55:56.237Z] Configure a credential helper to remove this warning. See [2022-08-04T09:55:56.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:55:56.237Z] [2022-08-04T09:55:56.237Z] Login Succeeded [2022-08-04T09:55:56.237Z] nexus3.edgexfoundry.org:10003 [2022-08-04T09:55:56.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:55:56.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:55:56.787Z] Configure a credential helper to remove this warning. See [2022-08-04T09:55:56.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:55:56.787Z] [2022-08-04T09:55:56.787Z] Login Succeeded [2022-08-04T09:55:56.787Z] nexus3.edgexfoundry.org:10004 [2022-08-04T09:55:57.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:55:57.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:55:57.337Z] Configure a credential helper to remove this warning. See [2022-08-04T09:55:57.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:55:57.337Z] [2022-08-04T09:55:57.337Z] Login Succeeded [2022-08-04T09:55:57.337Z] docker.io [2022-08-04T09:55:57.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-04T09:55:57.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-04T09:55:57.882Z] Configure a credential helper to remove this warning. See [2022-08-04T09:55:57.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-04T09:55:57.882Z] [2022-08-04T09:55:57.882Z] Login Succeeded [2022-08-04T09:55:57.882Z] ---> docker-login.sh ends [Pipeline] } [2022-08-04T09:55:57.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-04T09:55:57.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-04T09:55:57.964Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-08-04T09:55:57.964Z] 45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:55:57.964Z] latest [2022-08-04T09:55:57.964Z] 2.3.0-dev.13 [2022-08-04T09:55:57.964Z] 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:55:57.964Z] main [2022-08-04T09:55:57.964Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:55:58.321Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:55:58.706Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:55:58.706Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-04T09:55:58.706Z] bc56b55497e5: Preparing [2022-08-04T09:55:58.706Z] 684a24582dd2: Preparing [2022-08-04T09:55:58.706Z] e0cbcd8e78fa: Preparing [2022-08-04T09:55:58.706Z] 159baa52ce2d: Preparing [2022-08-04T09:55:58.706Z] 5b7df235d876: Preparing [2022-08-04T09:55:58.979Z] 5b7df235d876: Layer already exists [2022-08-04T09:55:58.979Z] 684a24582dd2: Pushed [2022-08-04T09:55:58.979Z] bc56b55497e5: Pushed [2022-08-04T09:55:59.584Z] 159baa52ce2d: Pushed [2022-08-04T09:56:04.984Z] e0cbcd8e78fa: Pushed [2022-08-04T09:56:04.984Z] 45e704b8212ca39805298e898eb42b8dfe23ade0: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:05.349Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:05.714Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-08-04T09:56:05.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-04T09:56:05.714Z] bc56b55497e5: Preparing [2022-08-04T09:56:05.714Z] 684a24582dd2: Preparing [2022-08-04T09:56:05.714Z] e0cbcd8e78fa: Preparing [2022-08-04T09:56:05.714Z] 159baa52ce2d: Preparing [2022-08-04T09:56:05.714Z] 5b7df235d876: Preparing [2022-08-04T09:56:05.714Z] 159baa52ce2d: Layer already exists [2022-08-04T09:56:05.714Z] 5b7df235d876: Layer already exists [2022-08-04T09:56:05.714Z] e0cbcd8e78fa: Layer already exists [2022-08-04T09:56:05.714Z] bc56b55497e5: Layer already exists [2022-08-04T09:56:05.714Z] 684a24582dd2: Layer already exists [2022-08-04T09:56:05.987Z] latest: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:06.366Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:06.730Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 [2022-08-04T09:56:06.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-04T09:56:06.730Z] bc56b55497e5: Preparing [2022-08-04T09:56:06.730Z] 684a24582dd2: Preparing [2022-08-04T09:56:06.730Z] e0cbcd8e78fa: Preparing [2022-08-04T09:56:06.730Z] 159baa52ce2d: Preparing [2022-08-04T09:56:06.730Z] 5b7df235d876: Preparing [2022-08-04T09:56:06.730Z] 684a24582dd2: Layer already exists [2022-08-04T09:56:06.730Z] bc56b55497e5: Layer already exists [2022-08-04T09:56:06.730Z] 5b7df235d876: Layer already exists [2022-08-04T09:56:06.730Z] e0cbcd8e78fa: Layer already exists [2022-08-04T09:56:06.730Z] 159baa52ce2d: Layer already exists [2022-08-04T09:56:07.003Z] 2.3.0-dev.13: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:07.373Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:07.747Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:56:07.747Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-04T09:56:07.747Z] bc56b55497e5: Preparing [2022-08-04T09:56:07.747Z] 684a24582dd2: Preparing [2022-08-04T09:56:07.747Z] e0cbcd8e78fa: Preparing [2022-08-04T09:56:07.747Z] 159baa52ce2d: Preparing [2022-08-04T09:56:07.747Z] 5b7df235d876: Preparing [2022-08-04T09:56:07.747Z] 5b7df235d876: Layer already exists [2022-08-04T09:56:07.747Z] e0cbcd8e78fa: Layer already exists [2022-08-04T09:56:07.747Z] bc56b55497e5: Layer already exists [2022-08-04T09:56:07.747Z] 684a24582dd2: Layer already exists [2022-08-04T09:56:07.747Z] 159baa52ce2d: Layer already exists [2022-08-04T09:56:08.022Z] 45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:08.407Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:08.783Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-08-04T09:56:08.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-08-04T09:56:08.783Z] bc56b55497e5: Preparing [2022-08-04T09:56:08.783Z] 684a24582dd2: Preparing [2022-08-04T09:56:08.783Z] e0cbcd8e78fa: Preparing [2022-08-04T09:56:08.783Z] 159baa52ce2d: Preparing [2022-08-04T09:56:08.783Z] 5b7df235d876: Preparing [2022-08-04T09:56:08.783Z] e0cbcd8e78fa: Layer already exists [2022-08-04T09:56:08.783Z] 5b7df235d876: Layer already exists [2022-08-04T09:56:08.783Z] 159baa52ce2d: Layer already exists [2022-08-04T09:56:08.783Z] bc56b55497e5: Layer already exists [2022-08-04T09:56:08.783Z] 684a24582dd2: Layer already exists [2022-08-04T09:56:09.056Z] main: digest: sha256:85f1af5de641584af4c7137d752fdc9856901fba56ccb9b1e82133434dd23f20 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-04T09:56:09.120Z] ===================================================== [Pipeline] echo [2022-08-04T09:56:09.130Z] taggedImages: [2022-08-04T09:56:09.130Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0 [2022-08-04T09:56:09.130Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-08-04T09:56:09.130Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.3.0-dev.13 [2022-08-04T09:56:09.130Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:45e704b8212ca39805298e898eb42b8dfe23ade0-2.3.0-dev.13 [2022-08-04T09:56:09.130Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:09.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:56:09.509Z] [2022-08-04T09:56:09.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:09.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:56:10.142Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-04T09:56:10.142Z] 8998bd30e6a1: Pulling fs layer [2022-08-04T09:56:10.142Z] 04944245beec: Pulling fs layer [2022-08-04T09:56:10.142Z] 699f458cf7ca: Pulling fs layer [2022-08-04T09:56:10.142Z] 765212b225bb: Pulling fs layer [2022-08-04T09:56:10.142Z] f23df028b6ca: Pulling fs layer [2022-08-04T09:56:10.142Z] d65c8cfc05b1: Pulling fs layer [2022-08-04T09:56:10.142Z] 2437ff75d9bd: Pulling fs layer [2022-08-04T09:56:10.142Z] 765212b225bb: Waiting [2022-08-04T09:56:10.142Z] f23df028b6ca: Waiting [2022-08-04T09:56:10.142Z] d65c8cfc05b1: Waiting [2022-08-04T09:56:10.142Z] 2437ff75d9bd: Waiting [2022-08-04T09:56:10.142Z] 04944245beec: Verifying Checksum [2022-08-04T09:56:10.142Z] 04944245beec: Download complete [2022-08-04T09:56:10.142Z] 765212b225bb: Verifying Checksum [2022-08-04T09:56:10.142Z] 765212b225bb: Download complete [2022-08-04T09:56:10.142Z] f23df028b6ca: Verifying Checksum [2022-08-04T09:56:10.142Z] f23df028b6ca: Download complete [2022-08-04T09:56:10.142Z] d65c8cfc05b1: Verifying Checksum [2022-08-04T09:56:10.142Z] d65c8cfc05b1: Download complete [2022-08-04T09:56:10.419Z] 699f458cf7ca: Verifying Checksum [2022-08-04T09:56:10.419Z] 699f458cf7ca: Download complete [2022-08-04T09:56:10.694Z] 8998bd30e6a1: Verifying Checksum [2022-08-04T09:56:10.694Z] 8998bd30e6a1: Download complete [2022-08-04T09:56:13.323Z] 2437ff75d9bd: Verifying Checksum [2022-08-04T09:56:13.323Z] 2437ff75d9bd: Download complete [2022-08-04T09:56:15.302Z] 8998bd30e6a1: Pull complete [2022-08-04T09:56:15.576Z] 04944245beec: Pull complete [2022-08-04T09:56:17.015Z] 699f458cf7ca: Pull complete [2022-08-04T09:56:17.289Z] 765212b225bb: Pull complete [2022-08-04T09:56:17.891Z] f23df028b6ca: Pull complete [2022-08-04T09:56:18.167Z] d65c8cfc05b1: Pull complete [2022-08-04T09:56:33.263Z] 2437ff75d9bd: Pull complete [2022-08-04T09:56:33.263Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-04T09:56:33.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-04T09:56:33.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:56:33.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container [2022-08-04T09:56:33.588Z] $ 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/60 -v /w/workspace/device-mqtt-go/60:/w/workspace/device-mqtt-go/60:rw,z -v /w/workspace/device-mqtt-go/60@tmp:/w/workspace/device-mqtt-go/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-04T09:56:35.982Z] $ docker top f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:56:36.868Z] ---> job-cost.sh [2022-08-04T09:56:36.868Z] lf-activate-venv: SKIPPING [2022-08-04T09:56:36.868Z] INFO: No Stack... [2022-08-04T09:56:37.138Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-04T09:56:38.112Z] INFO: Archiving Costs [Pipeline] sh [2022-08-04T09:56:38.771Z] + cat /w/workspace/device-mqtt-go/60/archives/cost.csv [2022-08-04T09:56:38.771Z] + cut -d, -f6 [Pipeline] lock [2022-08-04T09:56:38.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [2022-08-04T09:56:38.840Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] did not exist. Created. [2022-08-04T09:56:38.840Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-04T09:56:39.512Z] /w/workspace/device-mqtt-go/60@tmp/durable-b07b71c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-04T09:56:40.186Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-04T09:56:40.211Z] Warning: overwriting stash ‘stack-cost’ [2022-08-04T09:56:40.253Z] Stashed 1 file(s) [Pipeline] } [2022-08-04T09:56:40.260Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-04T09:56:40.285Z] $ docker stop --time=1 f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a [2022-08-04T09:56:41.735Z] $ docker rm -f f54481391b08971e9f1530831f4c5488f7050d9ef5fb0bac63b5e4ce724fb21a [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-08-04T09:56:42.307Z] provisioning config files... [2022-08-04T09:56:42.317Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1574325278938330002tmp [Pipeline] { [Pipeline] sh [2022-08-04T09:56:42.620Z] + set +x [2022-08-04T09:56:42.620Z] + curl -s https://codecov.io/bash [2022-08-04T09:56:42.620Z] + bash -s -- [2022-08-04T09:56:42.620Z] [2022-08-04T09:56:42.620Z] _____ _ [2022-08-04T09:56:42.620Z] / ____| | | [2022-08-04T09:56:42.620Z] | | ___ __| | ___ ___ _____ __ [2022-08-04T09:56:42.620Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-04T09:56:42.620Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-04T09:56:42.620Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-04T09:56:42.620Z] Bash-1.0.6 [2022-08-04T09:56:42.620Z] [2022-08-04T09:56:42.620Z] [2022-08-04T09:56:42.620Z] ==> git version 2.25.1 found [2022-08-04T09:56:42.620Z] ==> 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-08-04T09:56:42.620Z] Release-Date: 2020-01-08 [2022-08-04T09:56:42.620Z] 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-08-04T09:56:42.620Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-04T09:56:42.620Z] ==> Jenkins CI detected. [2022-08-04T09:56:42.620Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-08-04T09:56:42.620Z] project root: . [2022-08-04T09:56:42.620Z] --> token set from env [2022-08-04T09:56:42.620Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-04T09:56:42.620Z] ==> Running gcov in . (disable via -X gcov) [2022-08-04T09:56:42.881Z] ==> Python coveragepy not found [2022-08-04T09:56:42.881Z] ==> Searching for coverage reports in: [2022-08-04T09:56:42.881Z] + . [2022-08-04T09:56:42.881Z] -> Found 1 reports [2022-08-04T09:56:42.881Z] ==> Detecting git/mercurial file structure [2022-08-04T09:56:42.881Z] ==> Reading reports [2022-08-04T09:56:42.881Z] + ./coverage.out bytes=17887 [2022-08-04T09:56:42.881Z] ==> Appending adjustments [2022-08-04T09:56:42.881Z] https://docs.codecov.io/docs/fixing-reports [2022-08-04T09:56:42.881Z] + Found adjustments [2022-08-04T09:56:42.881Z] ==> Gzipping contents [2022-08-04T09:56:42.881Z] 4.0K /tmp/codecov.gKtQmj.gz [2022-08-04T09:56:42.881Z] ==> Uploading reports [2022-08-04T09:56:42.881Z] url: https://codecov.io [2022-08-04T09:56:42.881Z] query: branch=main&commit=45e704b8212ca39805298e898eb42b8dfe23ade0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-04T09:56:42.881Z] -> Pinging Codecov [2022-08-04T09:56:42.881Z] 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=45e704b8212ca39805298e898eb42b8dfe23ade0&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-04T09:56:43.453Z] -> Uploading to [2022-08-04T09:56:43.453Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-04/7D719EC7BBE17E464838252E33014C33/45e704b8212ca39805298e898eb42b8dfe23ade0/97b23bcc-c0a5-4e23-8541-0a79238f7ad9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T095643Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9bff60a6e4e4c44bff9205376d32a805e73a98f5cd8c3ed715d1df05b58f089 [2022-08-04T09:56:43.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-04T09:56:43.453Z] Dload Upload Total Spent Left Speed [2022-08-04T09:56:43.714Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3225 0 0 100 3225 0 11159 --:--:-- --:--:-- --:--:-- 11159 [2022-08-04T09:56:43.714Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] } [2022-08-04T09:56:43.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-04T09:56:43.927Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-04T09:56:43.937Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:44.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-04T09:56:44.236Z] [2022-08-04T09:56:44.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:56:44.546Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-04T09:56:44.546Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-04T09:56:44.546Z] df9b9388f04a: Pulling fs layer [2022-08-04T09:56:44.546Z] 52dc419b0ee2: Pulling fs layer [2022-08-04T09:56:44.546Z] 25bc292e5bac: Pulling fs layer [2022-08-04T09:56:44.546Z] 114826534d7a: Pulling fs layer [2022-08-04T09:56:44.546Z] 4657fd5d0bcf: Pulling fs layer [2022-08-04T09:56:44.546Z] 6ad1cebc031e: Pulling fs layer [2022-08-04T09:56:44.546Z] 8a3aa393b2d8: Pulling fs layer [2022-08-04T09:56:44.546Z] 114826534d7a: Waiting [2022-08-04T09:56:44.546Z] 8a3aa393b2d8: Waiting [2022-08-04T09:56:44.546Z] 4657fd5d0bcf: Waiting [2022-08-04T09:56:44.546Z] 6ad1cebc031e: Waiting [2022-08-04T09:56:44.546Z] 25bc292e5bac: Verifying Checksum [2022-08-04T09:56:44.546Z] 25bc292e5bac: Download complete [2022-08-04T09:56:44.546Z] 52dc419b0ee2: Download complete [2022-08-04T09:56:44.546Z] 4657fd5d0bcf: Verifying Checksum [2022-08-04T09:56:44.546Z] 4657fd5d0bcf: Download complete [2022-08-04T09:56:44.546Z] df9b9388f04a: Download complete [2022-08-04T09:56:44.808Z] 6ad1cebc031e: Verifying Checksum [2022-08-04T09:56:44.809Z] 6ad1cebc031e: Download complete [2022-08-04T09:56:44.809Z] df9b9388f04a: Pull complete [2022-08-04T09:56:44.809Z] 52dc419b0ee2: Pull complete [2022-08-04T09:56:45.072Z] 25bc292e5bac: Pull complete [2022-08-04T09:56:45.333Z] 114826534d7a: Verifying Checksum [2022-08-04T09:56:45.333Z] 114826534d7a: Download complete [2022-08-04T09:56:45.333Z] 8a3aa393b2d8: Verifying Checksum [2022-08-04T09:56:45.333Z] 8a3aa393b2d8: Download complete [2022-08-04T09:56:49.535Z] 114826534d7a: Pull complete [2022-08-04T09:56:49.535Z] 4657fd5d0bcf: Pull complete [2022-08-04T09:56:49.795Z] 6ad1cebc031e: Pull complete [2022-08-04T09:56:54.002Z] 8a3aa393b2d8: Pull complete [2022-08-04T09:56:54.002Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-04T09:56:54.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-04T09:56:54.002Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:56:54.101Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:56:54.142Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-08-04T09:56:57.472Z] $ docker top b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-04T09:56:57.568Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-08-04T09:56:57.853Z] + set -o pipefail [2022-08-04T09:56:57.854Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-08-04T09:57:03.168Z] [2022-08-04T09:57:03.168Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-08-04T09:57:03.168Z] [2022-08-04T09:57:03.168Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/70676dc0-3046-4f25-8977-90ec4feaef56 [2022-08-04T09:57:03.168Z] [2022-08-04T09:57:03.168Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-04T09:57:03.168Z] [2022-08-04T09:57:03.168Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-04T09:57:03.168Z] [2022-08-04T09:57:03.168Z] [Pipeline] } [2022-08-04T09:57:03.183Z] $ docker stop --time=1 b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe [2022-08-04T09:57:06.746Z] $ docker rm -f b8f60c18ce12012b53f8c387b4e9a712c416f0adcdf2d1c118efd5a6dcc04cfe [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-08-04T09:57:07.475Z] + git log --format=format:%s -1 45e704b8212ca39805298e898eb42b8dfe23ade0 [Pipeline] sh [2022-08-04T09:57:07.772Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T09:57:07.772Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:08.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:57:08.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:57:08.164Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:57:08.201Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-04T09:57:08.655Z] $ docker top 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T09:57:08.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:57:08.765Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:57:08.920Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:57:08.926Z] $ docker exec 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c ssh-agent [2022-08-04T09:57:09.052Z] SSH_AUTH_SOCK=/tmp/ssh-VOsagRtW3f3y/agent.33 [2022-08-04T09:57:09.052Z] SSH_AGENT_PID=39 [2022-08-04T09:57:09.058Z] Running ssh-add (command line suppressed) [2022-08-04T09:57:09.193Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6520160323549801036.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6520160323549801036.key) [2022-08-04T09:57:09.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:57:09.500Z] + git semver tag [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,714 [run_tag] DEBUG tag force:False [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,714 [check_head_tag] DEBUG check head tag [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,715 [execute] INFO git cat-file --batch-check [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,719 [execute] INFO git cat-file --batch [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,733 [execute] INFO git tag -a v2.3.0-dev.13 -m v2.3.0-dev.13 [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,733 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.13', '-m', 'v2.3.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-04T09:57:09.761Z] 2022-08-04 09:57:09,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:09.761Z] 2.3.0-dev.13 [Pipeline] } [2022-08-04T09:57:09.775Z] $ docker exec --env ******** --env ******** 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c ssh-agent -k [2022-08-04T09:57:09.887Z] unset SSH_AUTH_SOCK; [2022-08-04T09:57:09.887Z] unset SSH_AGENT_PID; [2022-08-04T09:57:09.887Z] echo Agent pid 39 killed; [2022-08-04T09:57:09.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T09:57:10.213Z] + git semver [Pipeline] } [2022-08-04T09:57:10.491Z] $ docker stop --time=1 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c [2022-08-04T09:57:11.759Z] $ docker rm -f 74738c158ab7224ea21ac9da6479c471ee3b41dd5a1dacb023a3eb9d56fdcf5c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:12.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-04T09:57:12.174Z] [2022-08-04T09:57:12.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:12.485Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-04T09:57:12.485Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-04T09:57:12.485Z] ab5ef0e58194: Pulling fs layer [2022-08-04T09:57:12.485Z] 9712f1f96733: Pulling fs layer [2022-08-04T09:57:12.485Z] 63f879dbbcfc: Pulling fs layer [2022-08-04T09:57:12.485Z] 0d9ebad4ef96: Pulling fs layer [2022-08-04T09:57:12.485Z] e9a5061849ea: Pulling fs layer [2022-08-04T09:57:12.485Z] d747dcd14b5f: Pulling fs layer [2022-08-04T09:57:12.485Z] 2de7ff778b66: Pulling fs layer [2022-08-04T09:57:12.485Z] e9a5061849ea: Waiting [2022-08-04T09:57:12.485Z] 0d9ebad4ef96: Waiting [2022-08-04T09:57:12.485Z] 2de7ff778b66: Waiting [2022-08-04T09:57:12.485Z] 9712f1f96733: Verifying Checksum [2022-08-04T09:57:12.485Z] 9712f1f96733: Download complete [2022-08-04T09:57:12.754Z] 63f879dbbcfc: Verifying Checksum [2022-08-04T09:57:12.754Z] 63f879dbbcfc: Download complete [2022-08-04T09:57:13.016Z] e9a5061849ea: Verifying Checksum [2022-08-04T09:57:13.016Z] e9a5061849ea: Download complete [2022-08-04T09:57:13.016Z] d747dcd14b5f: Download complete [2022-08-04T09:57:13.016Z] ab5ef0e58194: Verifying Checksum [2022-08-04T09:57:13.016Z] ab5ef0e58194: Download complete [2022-08-04T09:57:13.016Z] 0d9ebad4ef96: Verifying Checksum [2022-08-04T09:57:13.016Z] 0d9ebad4ef96: Download complete [2022-08-04T09:57:13.275Z] 2de7ff778b66: Verifying Checksum [2022-08-04T09:57:13.275Z] 2de7ff778b66: Download complete [2022-08-04T09:57:16.574Z] ab5ef0e58194: Pull complete [2022-08-04T09:57:16.574Z] 9712f1f96733: Pull complete [2022-08-04T09:57:17.144Z] 63f879dbbcfc: Pull complete [2022-08-04T09:57:22.430Z] 0d9ebad4ef96: Pull complete [2022-08-04T09:57:22.430Z] e9a5061849ea: Pull complete [2022-08-04T09:57:22.430Z] d747dcd14b5f: Pull complete [2022-08-04T09:57:23.370Z] 2de7ff778b66: Pull complete [2022-08-04T09:57:23.370Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-04T09:57:23.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-04T09:57:23.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:57:23.473Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:57:23.511Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-08-04T09:57:30.881Z] $ docker top 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:57:30.970Z] provisioning config files... [2022-08-04T09:57:30.978Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6591198251755250831tmp [2022-08-04T09:57:30.989Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1854750888568240498tmp [2022-08-04T09:57:31.001Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5478076609220892743tmp [Pipeline] { [Pipeline] echo [2022-08-04T09:57:31.019Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:31.306Z] ---> sigul-configuration.sh [2022-08-04T09:57:31.306Z] gpg: directory `/root/.gnupg' created [2022-08-04T09:57:31.306Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-04T09:57:31.306Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-04T09:57:31.306Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-04T09:57:31.306Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-04T09:57:31.306Z] gpg: CAST5 encrypted data [2022-08-04T09:57:31.306Z] gpg: encrypted with 1 passphrase [2022-08-04T09:57:31.306Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-04T09:57:31.595Z] + mkdir /home/jenkins [2022-08-04T09:57:31.595Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-04T09:57:31.886Z] + 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-08-04T09:57:31.896Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:32.183Z] ---> sigul-install.sh [2022-08-04T09:57:32.183Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-04T09:57:32.473Z] + git tag --list [2022-08-04T09:57:32.473Z] 0.7.1 [2022-08-04T09:57:32.473Z] v1.0.0 [2022-08-04T09:57:32.473Z] v1.1.0 [2022-08-04T09:57:32.473Z] v1.1.1 [2022-08-04T09:57:32.473Z] v1.2.2 [2022-08-04T09:57:32.473Z] v1.3.0 [2022-08-04T09:57:32.473Z] v1.3.1 [2022-08-04T09:57:32.473Z] v2.0.0 [2022-08-04T09:57:32.473Z] v2.1.0 [2022-08-04T09:57:32.473Z] v2.1.1 [2022-08-04T09:57:32.473Z] v2.1.1-dev.1 [2022-08-04T09:57:32.473Z] v2.1.1-dev.2 [2022-08-04T09:57:32.473Z] v2.2.0 [2022-08-04T09:57:32.473Z] v2.2.1-dev.1 [2022-08-04T09:57:32.473Z] v2.2.1-dev.10 [2022-08-04T09:57:32.473Z] v2.2.1-dev.2 [2022-08-04T09:57:32.473Z] v2.2.1-dev.3 [2022-08-04T09:57:32.473Z] v2.2.1-dev.4 [2022-08-04T09:57:32.473Z] v2.2.1-dev.5 [2022-08-04T09:57:32.473Z] v2.2.1-dev.6 [2022-08-04T09:57:32.473Z] v2.2.1-dev.7 [2022-08-04T09:57:32.473Z] v2.2.1-dev.8 [2022-08-04T09:57:32.473Z] v2.2.1-dev.9 [2022-08-04T09:57:32.473Z] v2.3.0-dev.10 [2022-08-04T09:57:32.473Z] v2.3.0-dev.11 [2022-08-04T09:57:32.473Z] v2.3.0-dev.12 [2022-08-04T09:57:32.473Z] v2.3.0-dev.13 [Pipeline] sh [2022-08-04T09:57:32.765Z] + lftools sign git-tag v2.3.0-dev.13 [2022-08-04T09:57:33.338Z] Signing Git tag with Sigul... [2022-08-04T09:57:33.338Z] Signing v2.3.0-dev.13 [Pipeline] echo [2022-08-04T09:57:33.608Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:33.898Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-04T09:57:33.907Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-04T09:57:33.929Z] $ docker stop --time=1 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 [2022-08-04T09:57:35.221Z] $ docker rm -f 53fd50616d3c7f28b78473a0172e36bba2200b07fa78177e7e86685a1e6974f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-04T09:57:35.662Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T09:57:35.662Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:35.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:57:35.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:57:36.058Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:57:36.098Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-04T09:57:36.434Z] $ docker top 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T09:57:36.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:57:36.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:57:36.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:57:36.680Z] $ docker exec 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 ssh-agent [2022-08-04T09:57:36.792Z] SSH_AUTH_SOCK=/tmp/ssh-gZuOoVYERqVe/agent.33 [2022-08-04T09:57:36.792Z] SSH_AGENT_PID=39 [2022-08-04T09:57:36.798Z] Running ssh-add (command line suppressed) [2022-08-04T09:57:36.915Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1339803855894683621.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1339803855894683621.key) [2022-08-04T09:57:36.928Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:57:37.218Z] + git semver bump pre [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,407 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,407 [bump_version] DEBUG bumping version:2.3.0-dev.13 on axis:pre with prefix:dev [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,407 [bump_version] DEBUG bumped version:2.3.0-dev.14 [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,408 [write_version] DEBUG write version:2.3.0-dev.14 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,408 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,409 [execute] INFO git cat-file --batch-check [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,415 [execute] INFO git cat-file --batch [2022-08-04T09:57:37.478Z] 2022-08-04 09:57:37,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-04T09:57:37.479Z] 2022-08-04 09:57:37,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:37.479Z] 2.3.0-dev.14 [Pipeline] } [2022-08-04T09:57:37.492Z] $ docker exec --env ******** --env ******** 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 ssh-agent -k [2022-08-04T09:57:37.601Z] unset SSH_AUTH_SOCK; [2022-08-04T09:57:37.602Z] unset SSH_AGENT_PID; [2022-08-04T09:57:37.602Z] echo Agent pid 39 killed; [2022-08-04T09:57:37.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T09:57:37.914Z] + git semver [Pipeline] } [2022-08-04T09:57:38.191Z] $ docker stop --time=1 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 [2022-08-04T09:57:39.485Z] $ docker rm -f 8b3d4baea385fea0444fe47526d601af65158757fe28956d809046259ff7e263 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-04T09:57:39.843Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-04T09:57:39.843Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:40.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-04T09:57:40.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:57:40.238Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:57:40.281Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-04T09:57:40.627Z] $ docker top 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-04T09:57:40.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-04T09:57:40.717Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-04T09:57:40.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-04T09:57:40.844Z] $ docker exec 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad ssh-agent [2022-08-04T09:57:40.968Z] SSH_AUTH_SOCK=/tmp/ssh-b4p4wMlbhtdR/agent.32 [2022-08-04T09:57:40.968Z] SSH_AGENT_PID=39 [2022-08-04T09:57:40.974Z] Running ssh-add (command line suppressed) [2022-08-04T09:57:41.088Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4451295023010642569.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4451295023010642569.key) [2022-08-04T09:57:41.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-04T09:57:41.393Z] + git semver push [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,601 [run_push] DEBUG push [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,602 [execute] INFO git cat-file --batch-check [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,606 [execute] INFO git rev-list a1b4ab438154dc088eb6d998ea91da3c436fe25b -- [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,607 [execute] DEBUG Popen(['git', 'rev-list', 'a1b4ab438154dc088eb6d998ea91da3c436fe25b', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,614 [execute] INFO git fetch -v origin [2022-08-04T09:57:41.664Z] 2022-08-04 09:57:41,614 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-04T09:57:42.301Z] 2022-08-04 09:57:42,090 [run_push] DEBUG no remote changes detected [2022-08-04T09:57:42.301Z] 2022-08-04 09:57:42,090 [execute] INFO git push origin semver [2022-08-04T09:57:42.301Z] 2022-08-04 09:57:42,091 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-04T09:57:42.878Z] 2022-08-04 09:57:42,838 [run_push] DEBUG push all version tags [2022-08-04T09:57:42.878Z] 2022-08-04 09:57:42,839 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-04T09:57:42.878Z] 2022-08-04 09:57:42,839 [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-08-04T09:57:43.860Z] 2022-08-04 09:57:43,554 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-08-04T09:57:43.860Z] 2.3.0-dev.14 [Pipeline] } [2022-08-04T09:57:43.873Z] $ docker exec --env ******** --env ******** 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad ssh-agent -k [2022-08-04T09:57:43.984Z] unset SSH_AUTH_SOCK; [2022-08-04T09:57:43.985Z] unset SSH_AGENT_PID; [2022-08-04T09:57:43.985Z] echo Agent pid 39 killed; [2022-08-04T09:57:43.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-04T09:57:44.307Z] + git semver [Pipeline] } [2022-08-04T09:57:44.586Z] $ docker stop --time=1 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad [2022-08-04T09:57:45.883Z] $ docker rm -f 0020935c28d935226ed0936034bc908043cb1cdf4403907b346898c82d0e56ad [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-08-04T09:57:46.486Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-08-04T09:57:46.486Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-04T09:57:46.486Z] total 16 [2022-08-04T09:57:46.486Z] drwxr-xr-x 3 root root 4096 Aug 4 09:49 . [2022-08-04T09:57:46.486Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 09:57 .. [2022-08-04T09:57:46.486Z] drwxr-xr-x 2 root root 4096 Aug 4 09:49 cost [2022-08-04T09:57:46.486Z] -rw-r--r-- 1 root root 85 Aug 4 09:49 cost.csv [2022-08-04T09:57:46.486Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-04T09:57:46.486Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-08-04T09:57:46.486Z] total 16 [2022-08-04T09:57:46.486Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 09:49 . [2022-08-04T09:57:46.486Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 09:57 .. [2022-08-04T09:57:46.486Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 09:49 cost [2022-08-04T09:57:46.486Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 4 09:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:46.780Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:47.644Z] ---> package-listing.sh [2022-08-04T09:57:47.644Z] ++ facter osfamily [2022-08-04T09:57:47.644Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-04T09:57:47.905Z] + OS_FAMILY=debian [2022-08-04T09:57:47.905Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-08-04T09:57:47.905Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-04T09:57:47.905Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-04T09:57:47.905Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-04T09:57:47.905Z] + PACKAGES=/tmp/packages_start.txt [2022-08-04T09:57:47.905Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-08-04T09:57:47.905Z] + PACKAGES=/tmp/packages_end.txt [2022-08-04T09:57:47.905Z] + case "${OS_FAMILY}" in [2022-08-04T09:57:47.905Z] + dpkg -l [2022-08-04T09:57:47.905Z] + grep '^ii' [2022-08-04T09:57:47.905Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-04T09:57:47.905Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-04T09:57:47.905Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-04T09:57:47.905Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-08-04T09:57:47.905Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-08-04T09:57:47.905Z] + 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-08-04T09:57:47.917Z] 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-08-04T09:57:48.195Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-04T09:57:48.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-04T09:57:48.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-04T09:57:48.868Z] prd-ubuntu20.04-docker-8c-8g-21927 does not seem to be running inside a container [2022-08-04T09:57:48.908Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-04T09:57:49.160Z] $ docker top 931e6bbea10fc0b2d6234da0f30180c3bc05b02d4c6e79fa0429b44f6a06451d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-04T09:57:49.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-04T09:57:49.810Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-04T09:57:50.097Z] + ls /var/log/sa-host [2022-08-04T09:57:50.097Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-04T09:57:50.227Z] provisioning config files... [2022-08-04T09:57:50.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8535962910532712317tmp [Pipeline] { [Pipeline] echo [2022-08-04T09:57:50.248Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:50.533Z] ---> create-netrc.sh [Pipeline] } [2022-08-04T09:57:50.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:50.877Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-04T09:57:50.887Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:51.174Z] ---> sudo-logs.sh [2022-08-04T09:57:51.174Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-04T09:57:51.203Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:51.488Z] ---> job-cost.sh [2022-08-04T09:57:51.488Z] lf-activate-venv: SKIPPING [2022-08-04T09:57:51.488Z] DEBUG: total: 0.2199999988079071 [2022-08-04T09:57:51.488Z] INFO: Retrieving Stack Cost... [2022-08-04T09:57:52.061Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-04T09:57:52.321Z] INFO: Archiving Costs [Pipeline] echo [2022-08-04T09:57:52.333Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-04T09:57:52.619Z] ---> logs-deploy.sh [2022-08-04T09:57:52.619Z] lf-activate-venv: SKIPPING [2022-08-04T09:57:52.619Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/60 [2022-08-04T09:57:52.619Z] INFO: archiving workspace using pattern(s): [2022-08-04T09:57:53.564Z] Archives upload complete. [2022-08-04T09:57:53.824Z] INFO: archiving logs to Nexus