Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a20e3f699be50ae0fa7b260dcb78cdd891955ce4 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-ssh16903960983953146863.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh6575622011482329049.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh18249276402884244325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9775563836015761463.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh2804180666661656924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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] ========================================================= [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.21 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 ‘prd-centos7-builder-2c-1g-12229’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-12215’ is offline ‘prd-ubuntu20.04-docker-8c-8g-12216’ is offline ‘prd-ubuntu20.04-docker-8c-8g-12217’ is offline ‘prd-ubuntu20.04-docker-8c-8g-12231’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-12218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-12227’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12232 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 (main) Commit message: "Merge pull request #638 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" > 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 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 > git rev-list --no-walk e3ae1edce94ca0342fe1654abfca1e19ca67aac7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-27T02:10:55.573Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-27T02:10:55.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-27T02:10:55.644Z] ========================================================= [2023-10-27T02:10:55.644Z] EdgeX Global Pipelines Version Info [2023-10-27T02:10:55.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:10:56.343Z] ------------------- [2023-10-27T02:10:56.343Z] stable info: [2023-10-27T02:10:56.343Z] ------------------- [2023-10-27T02:10:56.343Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T02:10:56.343Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T02:10:56.343Z] Message: update stable to v1.0.254 [2023-10-27T02:10:56.910Z] ------------------- [2023-10-27T02:10:56.910Z] experimental info: [2023-10-27T02:10:56.910Z] ------------------- [2023-10-27T02:10:56.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T02:10:56.910Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T02:10:56.910Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T02:10:57.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-27T02:10:57.063Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-27T02:10:57.072Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T02:10:57.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T02:10:57.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T02:10:57.123Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T02:10:57.135Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T02:10:57.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-27T02:10:57.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T02:10:57.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T02:10:57.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T02:10:57.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-27T02:10:57.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T02:10:57.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T02:10:57.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T02:10:57.265Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T02:10:57.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T02:10:57.290Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T02:10:57.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T02:10:57.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T02:10:57.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-27T02:10:57.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-27T02:10:57.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T02:10:57.374Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T02:10:57.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T02:10:57.404Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T02:10:57.417Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T02:10:57.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-27T02:10:57.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-27T02:10:57.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-27T02:10:57.461Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] echo [2023-10-27T02:10:57.482Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a20e3f6 [Pipeline] echo [2023-10-27T02:10:57.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:10:57.542Z] provisioning config files... [2023-10-27T02:10:57.563Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14086488175274672486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:10:57.881Z] ---> docker-login.sh [2023-10-27T02:10:57.881Z] nexus3.edgexfoundry.org:10001 [2023-10-27T02:10:57.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:10:58.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:10:58.148Z] Configure a credential helper to remove this warning. See [2023-10-27T02:10:58.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:10:58.148Z] [2023-10-27T02:10:58.148Z] Login Succeeded [2023-10-27T02:10:58.148Z] nexus3.edgexfoundry.org:10002 [2023-10-27T02:10:58.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:10:58.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:10:58.148Z] Configure a credential helper to remove this warning. See [2023-10-27T02:10:58.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:10:58.148Z] [2023-10-27T02:10:58.148Z] Login Succeeded [2023-10-27T02:10:58.408Z] nexus3.edgexfoundry.org:10003 [2023-10-27T02:10:58.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:10:58.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:10:58.408Z] Configure a credential helper to remove this warning. See [2023-10-27T02:10:58.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:10:58.408Z] [2023-10-27T02:10:58.408Z] Login Succeeded [2023-10-27T02:10:58.408Z] nexus3.edgexfoundry.org:10004 [2023-10-27T02:10:58.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:10:58.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:10:58.409Z] Configure a credential helper to remove this warning. See [2023-10-27T02:10:58.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:10:58.409Z] [2023-10-27T02:10:58.409Z] Login Succeeded [2023-10-27T02:10:58.409Z] docker.io [2023-10-27T02:10:58.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:10:58.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:10:58.931Z] Configure a credential helper to remove this warning. See [2023-10-27T02:10:58.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:10:58.931Z] [2023-10-27T02:10:58.931Z] Login Succeeded [2023-10-27T02:10:58.931Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T02:10:58.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T02:10:59.305Z] + git rev-list -1 --merges a20e3f699be50ae0fa7b260dcb78cdd891955ce4~1..a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] echo [2023-10-27T02:10:59.348Z] -----------> git rev-list -1 --merges a20e3f699be50ae0fa7b260dcb78cdd891955ce4~1..a20e3f699be50ae0fa7b260dcb78cdd891955ce4 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:10:59.348Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [false] [Pipeline] sh [2023-10-27T02:10:59.641Z] + git log --format=format:%s -1 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] echo [2023-10-27T02:10:59.654Z] ========================================================= [2023-10-27T02:10:59.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T02:10:59.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T02:10:59.999Z] + git log --format=format:%s -1 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] echo [2023-10-27T02:11:00.011Z] [semverPrep] GIT_COMMIT: a20e3f699be50ae0fa7b260dcb78cdd891955ce4, Commit Message: Merge pull request #638 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37 [Pipeline] echo [2023-10-27T02:11:00.021Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T02:11:00.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T02:11:00.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T02:11:00.403Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T02:11:00.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T02:11:00.403Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T02:11:00.403Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T02:11:00.403Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:11:00.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:11:00.841Z] [2023-10-27T02:11:00.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:11:01.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:11:01.138Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T02:11:01.138Z] b85a868b505f: Pulling fs layer [2023-10-27T02:11:01.138Z] e2be974225ed: Pulling fs layer [2023-10-27T02:11:01.138Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T02:11:01.138Z] 988bab9f4d93: Pulling fs layer [2023-10-27T02:11:01.138Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T02:11:01.138Z] eaf3925da568: Pulling fs layer [2023-10-27T02:11:01.138Z] bab4dde63d76: Pulling fs layer [2023-10-27T02:11:01.138Z] bde34c3a00c8: Pulling fs layer [2023-10-27T02:11:01.138Z] b352a97aabf1: Pulling fs layer [2023-10-27T02:11:01.138Z] 4872d77fe225: Pulling fs layer [2023-10-27T02:11:01.138Z] 5851b861e8e6: Pulling fs layer [2023-10-27T02:11:01.138Z] 1469e6f7b9e6: Waiting [2023-10-27T02:11:01.138Z] eaf3925da568: Waiting [2023-10-27T02:11:01.138Z] bab4dde63d76: Waiting [2023-10-27T02:11:01.138Z] 988bab9f4d93: Waiting [2023-10-27T02:11:01.138Z] 4872d77fe225: Waiting [2023-10-27T02:11:01.138Z] 5851b861e8e6: Waiting [2023-10-27T02:11:01.138Z] b352a97aabf1: Waiting [2023-10-27T02:11:01.138Z] bde34c3a00c8: Waiting [2023-10-27T02:11:01.138Z] e2be974225ed: Download complete [2023-10-27T02:11:01.138Z] 988bab9f4d93: Verifying Checksum [2023-10-27T02:11:01.138Z] 988bab9f4d93: Download complete [2023-10-27T02:11:01.397Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T02:11:01.397Z] 1469e6f7b9e6: Download complete [2023-10-27T02:11:01.397Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T02:11:01.397Z] 339a4e72a1f5: Download complete [2023-10-27T02:11:01.397Z] eaf3925da568: Download complete [2023-10-27T02:11:01.397Z] bde34c3a00c8: Download complete [2023-10-27T02:11:01.397Z] b352a97aabf1: Verifying Checksum [2023-10-27T02:11:01.397Z] 4872d77fe225: Verifying Checksum [2023-10-27T02:11:01.397Z] 5851b861e8e6: Download complete [2023-10-27T02:11:01.397Z] b85a868b505f: Verifying Checksum [2023-10-27T02:11:01.397Z] b85a868b505f: Download complete [2023-10-27T02:11:01.658Z] bab4dde63d76: Verifying Checksum [2023-10-27T02:11:01.658Z] bab4dde63d76: Download complete [2023-10-27T02:11:02.594Z] b85a868b505f: Pull complete [2023-10-27T02:11:02.594Z] e2be974225ed: Pull complete [2023-10-27T02:11:03.160Z] 339a4e72a1f5: Pull complete [2023-10-27T02:11:03.160Z] 988bab9f4d93: Pull complete [2023-10-27T02:11:03.418Z] 1469e6f7b9e6: Pull complete [2023-10-27T02:11:03.676Z] eaf3925da568: Pull complete [2023-10-27T02:11:05.579Z] bab4dde63d76: Pull complete [2023-10-27T02:11:05.579Z] bde34c3a00c8: Pull complete [2023-10-27T02:11:05.579Z] b352a97aabf1: Pull complete [2023-10-27T02:11:05.579Z] 4872d77fe225: Pull complete [2023-10-27T02:11:05.579Z] 5851b861e8e6: Pull complete [2023-10-27T02:11:05.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T02:11:05.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:11:05.579Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:11:05.676Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:11:05.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T02:11:09.327Z] $ docker top 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c -eo pid,comm [2023-10-27T02:11:09.383Z] 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). [2023-10-27T02:11:09.383Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T02:11:09.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T02:11:09.423Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T02:11:09.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T02:11:09.553Z] $ docker exec 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c ssh-agent [2023-10-27T02:11:09.671Z] SSH_AUTH_SOCK=/tmp/ssh-Ty3fDzV4hPI6/agent.31 [2023-10-27T02:11:09.671Z] SSH_AGENT_PID=38 [2023-10-27T02:11:09.677Z] Running ssh-add (command line suppressed) [2023-10-27T02:11:09.777Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11146406194954489838.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11146406194954489838.key) [2023-10-27T02:11:09.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T02:11:10.079Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T02:11:10.094Z] $ docker exec --env ******** --env ******** 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c ssh-agent -k [2023-10-27T02:11:10.194Z] unset SSH_AUTH_SOCK; [2023-10-27T02:11:10.195Z] unset SSH_AGENT_PID; [2023-10-27T02:11:10.195Z] echo Agent pid 38 killed; [2023-10-27T02:11:10.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T02:11:10.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T02:11:10.229Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T02:11:10.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T02:11:10.333Z] $ docker exec 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c ssh-agent [2023-10-27T02:11:10.435Z] SSH_AUTH_SOCK=/tmp/ssh-GThm2bWZ8FqF/agent.70 [2023-10-27T02:11:10.435Z] SSH_AGENT_PID=76 [2023-10-27T02:11:10.439Z] Running ssh-add (command line suppressed) [2023-10-27T02:11:10.542Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10269603839823277549.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_10269603839823277549.key) [2023-10-27T02:11:10.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T02:11:10.838Z] + git semver init [2023-10-27T02:11:11.098Z] 2023-10-27 02:11:11,042 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T02:11:11.098Z] 2023-10-27 02:11:11,043 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-27T02:11:11.098Z] 2023-10-27 02:11:11,043 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-10-27T02:11:11.098Z] 2023-10-27 02:11:11,044 [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) [2023-10-27T02:11:12.036Z] 2023-10-27 02:11:11,901 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-10-27T02:11:12.036Z] 2023-10-27 02:11:11,902 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-10-27T02:11:12.036Z] 2023-10-27 02:11:11,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:11:12.036Z] 2023-10-27 02:11:11,902 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:11:12.036Z] 3.1.0-dev.21 [Pipeline] } [2023-10-27T02:11:12.046Z] $ docker exec --env ******** --env ******** 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c ssh-agent -k [2023-10-27T02:11:12.143Z] unset SSH_AUTH_SOCK; [2023-10-27T02:11:12.143Z] unset SSH_AGENT_PID; [2023-10-27T02:11:12.143Z] echo Agent pid 76 killed; [2023-10-27T02:11:12.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T02:11:12.459Z] + git semver [Pipeline] } [2023-10-27T02:11:12.731Z] $ docker stop --time=1 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c [2023-10-27T02:11:14.019Z] $ docker rm -f --volumes 0bb23f5a91e73ab2a1428bb1387e683f533c7ee68f7de31a156a2b939197c14c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T02:11:14.353Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T02:11:14.574Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T02:11:14.577Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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 [2023-10-27T02:11:14.692Z] provisioning config files... [2023-10-27T02:11:14.701Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12771753860492799100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:11:14.993Z] ---> docker-login.sh [2023-10-27T02:11:14.993Z] nexus3.edgexfoundry.org:10001 [2023-10-27T02:11:14.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:11:14.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:11:14.993Z] Configure a credential helper to remove this warning. See [2023-10-27T02:11:14.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:11:14.993Z] [2023-10-27T02:11:14.993Z] Login Succeeded [2023-10-27T02:11:14.993Z] nexus3.edgexfoundry.org:10002 [2023-10-27T02:11:14.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:11:14.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:11:14.993Z] Configure a credential helper to remove this warning. See [2023-10-27T02:11:14.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:11:14.993Z] [2023-10-27T02:11:14.993Z] Login Succeeded [2023-10-27T02:11:14.993Z] nexus3.edgexfoundry.org:10003 [2023-10-27T02:11:15.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:11:15.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:11:15.252Z] Configure a credential helper to remove this warning. See [2023-10-27T02:11:15.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:11:15.252Z] [2023-10-27T02:11:15.252Z] Login Succeeded [2023-10-27T02:11:15.252Z] nexus3.edgexfoundry.org:10004 [2023-10-27T02:11:15.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:11:15.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:11:15.252Z] Configure a credential helper to remove this warning. See [2023-10-27T02:11:15.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:11:15.252Z] [2023-10-27T02:11:15.252Z] Login Succeeded [2023-10-27T02:11:15.252Z] docker.io [2023-10-27T02:11:15.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:11:15.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:11:15.511Z] Configure a credential helper to remove this warning. See [2023-10-27T02:11:15.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:11:15.511Z] [2023-10-27T02:11:15.511Z] Login Succeeded [2023-10-27T02:11:15.511Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T02:11:15.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T02:11:15.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:11:15.600Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:11:15.613Z] ========================================================= [2023-10-27T02:11:15.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T02:11:15.613Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:11:15.936Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T02:11:15.936Z] Sending build context to Docker daemon 6.542MB [2023-10-27T02:11:15.936Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T02:11:15.936Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T02:11:15.936Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T02:11:15.936Z] 7264a8db6415: Pulling fs layer [2023-10-27T02:11:15.936Z] c4d48a809fc2: Pulling fs layer [2023-10-27T02:11:15.936Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T02:11:15.936Z] ad3a456e5733: Pulling fs layer [2023-10-27T02:11:15.936Z] 33e27b845d1e: Pulling fs layer [2023-10-27T02:11:15.936Z] c68163c4e522: Pulling fs layer [2023-10-27T02:11:15.936Z] 50da416c3ac9: Pulling fs layer [2023-10-27T02:11:15.936Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T02:11:15.936Z] ad3a456e5733: Waiting [2023-10-27T02:11:15.936Z] 33e27b845d1e: Waiting [2023-10-27T02:11:15.936Z] c68163c4e522: Waiting [2023-10-27T02:11:15.936Z] 50da416c3ac9: Waiting [2023-10-27T02:11:15.936Z] 23d2d4c4bb30: Waiting [2023-10-27T02:11:15.936Z] c4d48a809fc2: Verifying Checksum [2023-10-27T02:11:15.936Z] c4d48a809fc2: Download complete [2023-10-27T02:11:15.936Z] ad3a456e5733: Verifying Checksum [2023-10-27T02:11:15.936Z] ad3a456e5733: Download complete [2023-10-27T02:11:16.247Z] 33e27b845d1e: Verifying Checksum [2023-10-27T02:11:16.247Z] 33e27b845d1e: Download complete [2023-10-27T02:11:16.247Z] 7264a8db6415: Verifying Checksum [2023-10-27T02:11:16.247Z] 7264a8db6415: Download complete [2023-10-27T02:11:16.247Z] c68163c4e522: Verifying Checksum [2023-10-27T02:11:16.247Z] c68163c4e522: Download complete [2023-10-27T02:11:16.247Z] 7264a8db6415: Pull complete [2023-10-27T02:11:16.247Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T02:11:16.247Z] 23d2d4c4bb30: Download complete [2023-10-27T02:11:16.515Z] c4d48a809fc2: Pull complete [2023-10-27T02:11:16.515Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T02:11:16.515Z] 4f1c88b9dad5: Download complete [2023-10-27T02:11:16.772Z] 50da416c3ac9: Verifying Checksum [2023-10-27T02:11:16.772Z] 50da416c3ac9: Download complete [2023-10-27T02:11:20.126Z] 4f1c88b9dad5: Pull complete [2023-10-27T02:11:20.127Z] ad3a456e5733: Pull complete [2023-10-27T02:11:20.127Z] 33e27b845d1e: Pull complete [2023-10-27T02:11:20.127Z] c68163c4e522: Pull complete [2023-10-27T02:11:22.653Z] 50da416c3ac9: Pull complete [2023-10-27T02:11:22.911Z] 23d2d4c4bb30: Pull complete [2023-10-27T02:11:22.911Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T02:11:22.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T02:11:22.911Z] ---> 0786185ac409 [2023-10-27T02:11:22.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T02:11:28.230Z] ---> Running in f46acfdc2eac [2023-10-27T02:11:28.230Z] Removing intermediate container f46acfdc2eac [2023-10-27T02:11:28.230Z] ---> c64f609252bf [2023-10-27T02:11:28.230Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T02:11:28.230Z] ---> Running in cb0657155f3c [2023-10-27T02:11:28.230Z] Removing intermediate container cb0657155f3c [2023-10-27T02:11:28.230Z] ---> f356e27a13d7 [2023-10-27T02:11:28.230Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T02:11:28.230Z] ---> Running in 2b20859d72a0 [2023-10-27T02:11:28.230Z] Removing intermediate container 2b20859d72a0 [2023-10-27T02:11:28.230Z] ---> 25508446f055 [2023-10-27T02:11:28.230Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T02:11:28.230Z] ---> Running in 5c79c625e47f [2023-10-27T02:11:28.489Z] Removing intermediate container 5c79c625e47f [2023-10-27T02:11:28.489Z] ---> 879d98f0d6ae [2023-10-27T02:11:28.489Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T02:11:28.489Z] ---> Running in 18f38418c918 [2023-10-27T02:11:28.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T02:11:29.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T02:11:29.267Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T02:11:29.267Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T02:11:29.267Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T02:11:29.267Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T02:11:29.267Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T02:11:29.267Z] OK: 268 MiB in 56 packages [2023-10-27T02:11:29.650Z] Still waiting to schedule task [2023-10-27T02:11:29.650Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-27T02:11:30.014Z] Removing intermediate container 18f38418c918 [2023-10-27T02:11:30.014Z] ---> ebc844dda631 [2023-10-27T02:11:30.014Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-27T02:11:30.015Z] ---> Running in a7f076e3cde6 [2023-10-27T02:11:30.015Z] Removing intermediate container a7f076e3cde6 [2023-10-27T02:11:30.015Z] ---> 5d66f21e86a0 [2023-10-27T02:11:30.015Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-27T02:11:30.015Z] ---> b46921044918 [2023-10-27T02:11:30.015Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T02:11:30.015Z] ---> Running in 665b8bf8fb99 [2023-10-27T02:12:26.262Z] Removing intermediate container 665b8bf8fb99 [2023-10-27T02:12:26.262Z] ---> 50634d24f438 [2023-10-27T02:12:26.262Z] Step 11/12 : COPY . . [2023-10-27T02:12:26.262Z] ---> 10bed8d12be5 [2023-10-27T02:12:26.262Z] Step 12/12 : RUN $MAKE [2023-10-27T02:12:26.262Z] ---> Running in 3c2c28e18150 [2023-10-27T02:12:26.262Z] noop [2023-10-27T02:12:26.262Z] Removing intermediate container 3c2c28e18150 [2023-10-27T02:12:26.262Z] ---> 767696314800 [2023-10-27T02:12:26.262Z] Successfully built 767696314800 [2023-10-27T02:12:26.262Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:12:26.576Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T02:12:26.576Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:12:26.649Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:12:26.684Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T02:12:26.982Z] $ docker top d5a0495ce79939e3bbd42c1dc156da17a2a997f80aea2dd4d6a917d9c567a661 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:12:27.305Z] + go version [2023-10-27T02:12:27.306Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T02:12:27.322Z] $ docker stop --time=1 d5a0495ce79939e3bbd42c1dc156da17a2a997f80aea2dd4d6a917d9c567a661 [2023-10-27T02:12:28.562Z] $ docker rm -f --volumes d5a0495ce79939e3bbd42c1dc156da17a2a997f80aea2dd4d6a917d9c567a661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:12:28.959Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T02:12:28.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:12:29.025Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:12:29.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T02:12:29.373Z] $ docker top e3afa1fbdf676ee8fd347b7dd242206b7e5937a555af01070a529fea54e7c600 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:12:29.711Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-27T02:12:30.008Z] + make test [2023-10-27T02:12:30.008Z] go test ./... -coverprofile=coverage.out ./... [2023-10-27T02:12:31.382Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-27T02:12:41.340Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-27T02:12:41.340Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-27T02:12:41.340Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements [2023-10-27T02:12:47.892Z] go vet ./... [2023-10-27T02:12:51.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T02:12:51.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T02:12:51.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T02:12:51.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T02:12:51.194Z] $ docker stop --time=1 e3afa1fbdf676ee8fd347b7dd242206b7e5937a555af01070a529fea54e7c600 [2023-10-27T02:12:54.290Z] $ docker rm -f --volumes e3afa1fbdf676ee8fd347b7dd242206b7e5937a555af01070a529fea54e7c600 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T02:12:54.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T02:12:54.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T02:12:55.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T02:12:55.598Z] + ls -al . [2023-10-27T02:12:55.598Z] total 184 [2023-10-27T02:12:55.598Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 02:12 . [2023-10-27T02:12:55.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:10 .. [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 02:10 .dockerignore [2023-10-27T02:12:55.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:12 .git [2023-10-27T02:12:55.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:10 .github [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 27 02:10 .gitignore [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 02:10 .golangci.yml [2023-10-27T02:12:55.598Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 02:11 .semver [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 27 02:10 Attribution.txt [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 27 02:10 CHANGELOG.md [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 27 02:10 Dockerfile [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 02:10 GOVERNANCE.md [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 27 02:10 Jenkinsfile [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 02:10 LICENSE [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 27 02:10 Makefile [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 02:10 OWNERS.md [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 27 02:10 README.md [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 02:11 VERSION [2023-10-27T02:12:55.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:10 bin [2023-10-27T02:12:55.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:10 cmd [2023-10-27T02:12:55.598Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 27 02:12 coverage.out [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 27 02:10 go.mod [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 27 02:10 go.sum [2023-10-27T02:12:55.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:10 internal [2023-10-27T02:12:55.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:10 mock [2023-10-27T02:12:55.598Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 27 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:12:56.028Z] + 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=a20e3f699be50ae0fa7b260dcb78cdd891955ce4 --label arch=amd64 --label version=3.1.0-dev.21 . [2023-10-27T02:12:56.028Z] Sending build context to Docker daemon 6.561MB [2023-10-27T02:12:56.028Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T02:12:56.028Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-27T02:12:56.028Z] ---> 767696314800 [2023-10-27T02:12:56.028Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-27T02:12:56.028Z] ---> Running in 45fd026a6c6d [2023-10-27T02:12:56.312Z] Removing intermediate container 45fd026a6c6d [2023-10-27T02:12:56.312Z] ---> c50ab3b59c89 [2023-10-27T02:12:56.312Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T02:12:56.312Z] ---> Running in 3416a38ab78c [2023-10-27T02:12:56.312Z] Removing intermediate container 3416a38ab78c [2023-10-27T02:12:56.312Z] ---> 68022a409e3c [2023-10-27T02:12:56.312Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T02:12:56.312Z] ---> Running in aa99c9ae3da3 [2023-10-27T02:12:56.312Z] Removing intermediate container aa99c9ae3da3 [2023-10-27T02:12:56.312Z] ---> 3cb2766ceb8d [2023-10-27T02:12:56.312Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T02:12:56.312Z] ---> Running in cf558068cc3d [2023-10-27T02:12:56.589Z] Removing intermediate container cf558068cc3d [2023-10-27T02:12:56.589Z] ---> fbdf25b348c1 [2023-10-27T02:12:56.589Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T02:12:56.589Z] ---> Running in 5a6070433cef [2023-10-27T02:12:56.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T02:12:56.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T02:12:57.422Z] OK: 268 MiB in 56 packages [2023-10-27T02:12:57.680Z] Removing intermediate container 5a6070433cef [2023-10-27T02:12:57.680Z] ---> 9c76f1b9b00e [2023-10-27T02:12:57.680Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-27T02:12:57.680Z] ---> Running in 93dae6234f0b [2023-10-27T02:12:57.680Z] Removing intermediate container 93dae6234f0b [2023-10-27T02:12:57.680Z] ---> b07316750c0f [2023-10-27T02:12:57.680Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-27T02:12:57.939Z] ---> 17fa5b82c99e [2023-10-27T02:12:57.939Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T02:12:57.939Z] ---> Running in 37e0594cfbfa [2023-10-27T02:12:58.505Z] Removing intermediate container 37e0594cfbfa [2023-10-27T02:12:58.506Z] ---> ce189d6f28c2 [2023-10-27T02:12:58.506Z] Step 11/24 : COPY . . [2023-10-27T02:12:58.763Z] ---> 7851bd3554ce [2023-10-27T02:12:58.763Z] Step 12/24 : RUN $MAKE [2023-10-27T02:12:58.763Z] ---> Running in 73ca698663da [2023-10-27T02:12:59.021Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-27T02:13:20.927Z] Removing intermediate container 73ca698663da [2023-10-27T02:13:20.927Z] ---> 06d4a3243902 [2023-10-27T02:13:20.927Z] Step 13/24 : FROM alpine:3.18 [2023-10-27T02:13:20.927Z] 3.18: Pulling from library/alpine [2023-10-27T02:13:20.927Z] 96526aa774ef: Pulling fs layer [2023-10-27T02:13:20.927Z] 96526aa774ef: Verifying Checksum [2023-10-27T02:13:20.927Z] 96526aa774ef: Download complete [2023-10-27T02:13:21.187Z] 96526aa774ef: Pull complete [2023-10-27T02:13:21.187Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T02:13:21.187Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T02:13:21.187Z] ---> 8ca4688f4f35 [2023-10-27T02:13:21.187Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-27T02:13:21.187Z] ---> Running in 7152c5356a99 [2023-10-27T02:13:21.187Z] Removing intermediate container 7152c5356a99 [2023-10-27T02:13:21.187Z] ---> 541e20d04379 [2023-10-27T02:13:21.187Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-27T02:13:21.187Z] ---> Running in 151c0069af2f [2023-10-27T02:13:21.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T02:13:21.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T02:13:21.991Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T02:13:21.991Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T02:13:21.991Z] OK: 7 MiB in 16 packages [2023-10-27T02:13:22.249Z] Removing intermediate container 151c0069af2f [2023-10-27T02:13:22.249Z] ---> 53c8029db211 [2023-10-27T02:13:22.249Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-27T02:13:22.822Z] ---> 506519320eb6 [2023-10-27T02:13:22.822Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-27T02:13:22.822Z] ---> 2a219a60c495 [2023-10-27T02:13:22.822Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-27T02:13:23.082Z] ---> 8c19760694bb [2023-10-27T02:13:23.082Z] Step 19/24 : EXPOSE 59982 [2023-10-27T02:13:23.082Z] ---> Running in c37dd990dca1 [2023-10-27T02:13:23.082Z] Removing intermediate container c37dd990dca1 [2023-10-27T02:13:23.082Z] ---> 6bbeb8a8292d [2023-10-27T02:13:23.082Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-27T02:13:23.082Z] ---> Running in 8a055d84d311 [2023-10-27T02:13:23.082Z] Removing intermediate container 8a055d84d311 [2023-10-27T02:13:23.082Z] ---> 67d6a8d8065c [2023-10-27T02:13:23.082Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T02:13:23.082Z] ---> Running in d28493fc8821 [2023-10-27T02:13:23.354Z] Removing intermediate container d28493fc8821 [2023-10-27T02:13:23.354Z] ---> 023dc6a76fa1 [2023-10-27T02:13:23.354Z] Step 22/24 : LABEL arch=amd64 [2023-10-27T02:13:23.354Z] ---> Running in a25350b12281 [2023-10-27T02:13:23.354Z] Removing intermediate container a25350b12281 [2023-10-27T02:13:23.354Z] ---> 19587b75ece7 [2023-10-27T02:13:23.354Z] Step 23/24 : LABEL git_sha=a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:13:23.354Z] ---> Running in f79d4470bfb6 [2023-10-27T02:13:23.354Z] Removing intermediate container f79d4470bfb6 [2023-10-27T02:13:23.354Z] ---> b5b13984d21c [2023-10-27T02:13:23.354Z] Step 24/24 : LABEL version=3.1.0-dev.21 [2023-10-27T02:13:23.354Z] ---> Running in cef524296539 [2023-10-27T02:13:23.354Z] Removing intermediate container cef524296539 [2023-10-27T02:13:23.354Z] ---> 7caa17326940 [2023-10-27T02:13:23.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T02:13:23.354Z] Successfully built 7caa17326940 [2023-10-27T02:13:23.612Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:13:23.703Z] provisioning config files... [2023-10-27T02:13:23.711Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config810039771723778595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:13:24.006Z] ---> docker-login.sh [2023-10-27T02:13:24.006Z] nexus3.edgexfoundry.org:10001 [2023-10-27T02:13:24.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:13:24.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:13:24.006Z] Configure a credential helper to remove this warning. See [2023-10-27T02:13:24.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:13:24.006Z] [2023-10-27T02:13:24.006Z] Login Succeeded [2023-10-27T02:13:24.006Z] nexus3.edgexfoundry.org:10002 [2023-10-27T02:13:24.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:13:24.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:13:24.006Z] Configure a credential helper to remove this warning. See [2023-10-27T02:13:24.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:13:24.006Z] [2023-10-27T02:13:24.006Z] Login Succeeded [2023-10-27T02:13:24.006Z] nexus3.edgexfoundry.org:10003 [2023-10-27T02:13:24.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:13:24.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:13:24.264Z] Configure a credential helper to remove this warning. See [2023-10-27T02:13:24.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:13:24.264Z] [2023-10-27T02:13:24.264Z] Login Succeeded [2023-10-27T02:13:24.264Z] nexus3.edgexfoundry.org:10004 [2023-10-27T02:13:24.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:13:24.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:13:24.264Z] Configure a credential helper to remove this warning. See [2023-10-27T02:13:24.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:13:24.264Z] [2023-10-27T02:13:24.264Z] Login Succeeded [2023-10-27T02:13:24.264Z] docker.io [2023-10-27T02:13:24.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:13:24.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:13:24.523Z] Configure a credential helper to remove this warning. See [2023-10-27T02:13:24.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:13:24.523Z] [2023-10-27T02:13:24.523Z] Login Succeeded [2023-10-27T02:13:24.523Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T02:13:24.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T02:13:24.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:13:24.574Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-10-27T02:13:24.574Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:13:24.574Z] latest [2023-10-27T02:13:24.574Z] 3.1.0-dev.21 [2023-10-27T02:13:24.574Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:13:24.574Z] main [2023-10-27T02:13:24.574Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:24.882Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:25.185Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:13:25.185Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-27T02:13:25.185Z] 741877400204: Preparing [2023-10-27T02:13:25.185Z] 36b9d1df4443: Preparing [2023-10-27T02:13:25.185Z] ec540af2cb8f: Preparing [2023-10-27T02:13:25.185Z] fe663bb95cb2: Preparing [2023-10-27T02:13:25.185Z] cc2447e1835a: Preparing [2023-10-27T02:13:25.185Z] cc2447e1835a: Layer already exists [2023-10-27T02:13:25.185Z] 36b9d1df4443: Pushed [2023-10-27T02:13:25.185Z] fe663bb95cb2: Pushed [2023-10-27T02:13:25.185Z] 741877400204: Pushed [2023-10-27T02:13:28.473Z] ec540af2cb8f: Pushed [2023-10-27T02:13:28.473Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4: digest: sha256:6cae4111fefba707e047b30f1d295abd4d62e74c895c39a9bcff02d275c289a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:28.787Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:29.094Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-27T02:13:29.094Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-27T02:13:29.095Z] 741877400204: Preparing [2023-10-27T02:13:29.095Z] 36b9d1df4443: Preparing [2023-10-27T02:13:29.095Z] ec540af2cb8f: Preparing [2023-10-27T02:13:29.095Z] fe663bb95cb2: Preparing [2023-10-27T02:13:29.095Z] cc2447e1835a: Preparing [2023-10-27T02:13:29.095Z] fe663bb95cb2: Layer already exists [2023-10-27T02:13:29.095Z] cc2447e1835a: Layer already exists [2023-10-27T02:13:29.095Z] 36b9d1df4443: Layer already exists [2023-10-27T02:13:29.095Z] ec540af2cb8f: Layer already exists [2023-10-27T02:13:29.095Z] 741877400204: Layer already exists [2023-10-27T02:13:29.095Z] latest: digest: sha256:6cae4111fefba707e047b30f1d295abd4d62e74c895c39a9bcff02d275c289a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:29.412Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:29.728Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.21 [2023-10-27T02:13:29.728Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-27T02:13:29.728Z] 741877400204: Preparing [2023-10-27T02:13:29.728Z] 36b9d1df4443: Preparing [2023-10-27T02:13:29.728Z] ec540af2cb8f: Preparing [2023-10-27T02:13:29.728Z] fe663bb95cb2: Preparing [2023-10-27T02:13:29.728Z] cc2447e1835a: Preparing [2023-10-27T02:13:29.728Z] 36b9d1df4443: Layer already exists [2023-10-27T02:13:29.728Z] fe663bb95cb2: Layer already exists [2023-10-27T02:13:29.728Z] cc2447e1835a: Layer already exists [2023-10-27T02:13:29.728Z] ec540af2cb8f: Layer already exists [2023-10-27T02:13:29.728Z] 741877400204: Layer already exists [2023-10-27T02:13:29.728Z] 3.1.0-dev.21: digest: sha256:6cae4111fefba707e047b30f1d295abd4d62e74c895c39a9bcff02d275c289a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:30.051Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:30.362Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:13:30.362Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-27T02:13:30.362Z] 741877400204: Preparing [2023-10-27T02:13:30.362Z] 36b9d1df4443: Preparing [2023-10-27T02:13:30.362Z] ec540af2cb8f: Preparing [2023-10-27T02:13:30.362Z] fe663bb95cb2: Preparing [2023-10-27T02:13:30.362Z] cc2447e1835a: Preparing [2023-10-27T02:13:30.362Z] cc2447e1835a: Layer already exists [2023-10-27T02:13:30.362Z] fe663bb95cb2: Layer already exists [2023-10-27T02:13:30.362Z] 741877400204: Layer already exists [2023-10-27T02:13:30.362Z] ec540af2cb8f: Layer already exists [2023-10-27T02:13:30.363Z] 36b9d1df4443: Layer already exists [2023-10-27T02:13:30.363Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21: digest: sha256:6cae4111fefba707e047b30f1d295abd4d62e74c895c39a9bcff02d275c289a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:30.690Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:30.995Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-10-27T02:13:30.995Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-10-27T02:13:30.995Z] 741877400204: Preparing [2023-10-27T02:13:30.995Z] 36b9d1df4443: Preparing [2023-10-27T02:13:30.995Z] ec540af2cb8f: Preparing [2023-10-27T02:13:30.995Z] fe663bb95cb2: Preparing [2023-10-27T02:13:30.995Z] cc2447e1835a: Preparing [2023-10-27T02:13:30.995Z] 36b9d1df4443: Layer already exists [2023-10-27T02:13:30.995Z] cc2447e1835a: Layer already exists [2023-10-27T02:13:30.995Z] fe663bb95cb2: Layer already exists [2023-10-27T02:13:30.995Z] ec540af2cb8f: Layer already exists [2023-10-27T02:13:30.995Z] 741877400204: Layer already exists [2023-10-27T02:13:30.995Z] main: digest: sha256:6cae4111fefba707e047b30f1d295abd4d62e74c895c39a9bcff02d275c289a2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T02:13:31.047Z] ===================================================== [Pipeline] echo [2023-10-27T02:13:31.059Z] taggedImages: [2023-10-27T02:13:31.059Z] - nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:13:31.059Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-10-27T02:13:31.059Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.21 [2023-10-27T02:13:31.059Z] - nexus3.edgexfoundry.org:10004/device-mqtt:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:13:31.059Z] - 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 [2023-10-27T02:13:31.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T02:13:31.436Z] [2023-10-27T02:13:31.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:13:31.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T02:13:31.733Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T02:13:31.733Z] 5eb5b503b376: Pulling fs layer [2023-10-27T02:13:31.733Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T02:13:31.733Z] ec43610c2a17: Pulling fs layer [2023-10-27T02:13:31.733Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T02:13:31.733Z] 33b1e0a273af: Pulling fs layer [2023-10-27T02:13:31.733Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T02:13:31.733Z] 2f39f015ded8: Pulling fs layer [2023-10-27T02:13:31.733Z] 3a2ae6a8a46f: Waiting [2023-10-27T02:13:31.733Z] 33b1e0a273af: Waiting [2023-10-27T02:13:31.733Z] 2f39f015ded8: Waiting [2023-10-27T02:13:31.733Z] 5d3b04190fa2: Waiting [2023-10-27T02:13:31.733Z] 5c69ac0246d0: Download complete [2023-10-27T02:13:31.733Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T02:13:31.733Z] 3a2ae6a8a46f: Download complete [2023-10-27T02:13:31.733Z] 33b1e0a273af: Verifying Checksum [2023-10-27T02:13:31.733Z] 33b1e0a273af: Download complete [2023-10-27T02:13:31.733Z] ec43610c2a17: Verifying Checksum [2023-10-27T02:13:31.733Z] ec43610c2a17: Download complete [2023-10-27T02:13:31.733Z] 5d3b04190fa2: Verifying Checksum [2023-10-27T02:13:31.733Z] 5d3b04190fa2: Download complete [2023-10-27T02:13:31.990Z] 5eb5b503b376: Verifying Checksum [2023-10-27T02:13:31.990Z] 5eb5b503b376: Download complete [2023-10-27T02:13:32.555Z] 2f39f015ded8: Download complete [2023-10-27T02:13:33.120Z] 5eb5b503b376: Pull complete [2023-10-27T02:13:33.120Z] 5c69ac0246d0: Pull complete [2023-10-27T02:13:33.377Z] ec43610c2a17: Pull complete [2023-10-27T02:13:33.641Z] 3a2ae6a8a46f: Pull complete [2023-10-27T02:13:33.641Z] 33b1e0a273af: Pull complete [2023-10-27T02:13:33.899Z] 5d3b04190fa2: Pull complete [2023-10-27T02:13:38.078Z] 2f39f015ded8: Pull complete [2023-10-27T02:13:38.078Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T02:13:38.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T02:13:38.078Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:13:38.160Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:13:38.195Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T02:13:44.167Z] $ docker top f1b578b1065ae0faf7d4e6f1164aec7395539bb7ed878eebb806b764035ecadb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:13:44.556Z] ---> job-cost.sh [2023-10-27T02:13:44.556Z] lf-activate-venv: SKIPPING [2023-10-27T02:13:44.556Z] INFO: No Stack... [2023-10-27T02:13:44.816Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T02:13:45.383Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T02:13:45.673Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-10-27T02:13:45.673Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T02:13:45.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [2023-10-27T02:13:45.692Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] did not exist. Created. [2023-10-27T02:13:45.692Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T02:13:45.991Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-27T02:13:46.014Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T02:13:46.020Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T02:13:46.046Z] $ docker stop --time=1 f1b578b1065ae0faf7d4e6f1164aec7395539bb7ed878eebb806b764035ecadb [2023-10-27T02:13:47.450Z] $ docker rm -f --volumes f1b578b1065ae0faf7d4e6f1164aec7395539bb7ed878eebb806b764035ecadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-27T02:17:44.444Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12267 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-10-27T02:17:44.457Z] Running in /w/workspace/device-mqtt-go/149 [Pipeline] { [Pipeline] checkout [2023-10-27T02:17:44.502Z] The recommended git tool is: git [2023-10-27T02:17:51.916Z] using credential edgex-jenkins-ssh [2023-10-27T02:17:51.934Z] Cloning the remote Git repository [2023-10-27T02:17:52.003Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-27T02:17:52.126Z] > git init /w/workspace/device-mqtt-go/149 # timeout=10 [2023-10-27T02:17:52.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-27T02:17:52.331Z] > git --version # timeout=10 [2023-10-27T02:17:52.364Z] > git --version # 'git version 2.25.1' [2023-10-27T02:17:52.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T02:17:52.573Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T02:17:54.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-27T02:17:54.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T02:17:55.385Z] Avoid second fetch [2023-10-27T02:17:55.386Z] Checking out Revision a20e3f699be50ae0fa7b260dcb78cdd891955ce4 (main) [2023-10-27T02:17:56.238Z] Commit message: "Merge pull request #638 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.37" [2023-10-27T02:17:55.418Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T02:17:55.500Z] > git checkout -f a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T02:17:57.282Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T02:17:57.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T02:17:57.282Z] Dload Upload Total Spent Left Speed [2023-10-27T02:17:57.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh [2023-10-27T02:17:57.961Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T02:17:58.317Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T02:17:58.317Z] + sudo tee /etc/docker/daemon.new [2023-10-27T02:17:58.317Z] { [2023-10-27T02:17:58.317Z] "registry-mirrors": [ [2023-10-27T02:17:58.317Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T02:17:58.317Z] ], [2023-10-27T02:17:58.317Z] "bip": "10.250.0.254/24", [2023-10-27T02:17:58.317Z] "hosts": [ [2023-10-27T02:17:58.317Z] "tcp://0.0.0.0:5555", [2023-10-27T02:17:58.317Z] "unix:///var/run/docker.sock" [2023-10-27T02:17:58.317Z] ], [2023-10-27T02:17:58.317Z] "mtu": 1458, [2023-10-27T02:17:58.317Z] "selinux-enabled": true, [2023-10-27T02:17:58.317Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T02:17:58.317Z] } [Pipeline] sh [2023-10-27T02:17:58.694Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T02:17:59.044Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:18:17.352Z] provisioning config files... [2023-10-27T02:18:17.380Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/149@tmp/config13108203656056566367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:18:17.742Z] ---> docker-login.sh [2023-10-27T02:18:17.742Z] nexus3.edgexfoundry.org:10001 [2023-10-27T02:18:18.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:18:18.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:18:18.333Z] Configure a credential helper to remove this warning. See [2023-10-27T02:18:18.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:18:18.333Z] [2023-10-27T02:18:18.333Z] Login Succeeded [2023-10-27T02:18:18.333Z] nexus3.edgexfoundry.org:10002 [2023-10-27T02:18:18.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:18:18.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:18:18.889Z] Configure a credential helper to remove this warning. See [2023-10-27T02:18:18.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:18:18.889Z] [2023-10-27T02:18:18.889Z] Login Succeeded [2023-10-27T02:18:18.889Z] nexus3.edgexfoundry.org:10003 [2023-10-27T02:18:19.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:18:19.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:18:19.164Z] Configure a credential helper to remove this warning. See [2023-10-27T02:18:19.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:18:19.164Z] [2023-10-27T02:18:19.164Z] Login Succeeded [2023-10-27T02:18:19.164Z] nexus3.edgexfoundry.org:10004 [2023-10-27T02:18:19.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:18:19.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:18:19.718Z] Configure a credential helper to remove this warning. See [2023-10-27T02:18:19.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:18:19.718Z] [2023-10-27T02:18:19.718Z] Login Succeeded [2023-10-27T02:18:19.718Z] docker.io [2023-10-27T02:18:19.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:18:20.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:18:20.323Z] Configure a credential helper to remove this warning. See [2023-10-27T02:18:20.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:18:20.323Z] [2023-10-27T02:18:20.323Z] Login Succeeded [2023-10-27T02:18:20.323Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T02:18:20.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T02:18:20.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:18:20.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:18:20.686Z] ========================================================= [2023-10-27T02:18:20.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T02:18:20.686Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:18:21.052Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-27T02:18:21.323Z] Sending build context to Docker daemon 3.366MB [2023-10-27T02:18:21.323Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T02:18:21.323Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T02:18:21.596Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T02:18:21.596Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T02:18:21.596Z] 5d54e960e981: Pulling fs layer [2023-10-27T02:18:21.596Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T02:18:21.596Z] f0e02332f6b5: Pulling fs layer [2023-10-27T02:18:21.596Z] cefa15bbcfad: Pulling fs layer [2023-10-27T02:18:21.596Z] 17808c966233: Pulling fs layer [2023-10-27T02:18:21.596Z] f4c1fc716caa: Pulling fs layer [2023-10-27T02:18:21.596Z] f0e02332f6b5: Waiting [2023-10-27T02:18:21.596Z] cefa15bbcfad: Waiting [2023-10-27T02:18:21.596Z] 17808c966233: Waiting [2023-10-27T02:18:21.596Z] f4c1fc716caa: Waiting [2023-10-27T02:18:21.596Z] 5d54e960e981: Verifying Checksum [2023-10-27T02:18:21.596Z] 5d54e960e981: Download complete [2023-10-27T02:18:21.596Z] f0e02332f6b5: Download complete [2023-10-27T02:18:21.868Z] cefa15bbcfad: Verifying Checksum [2023-10-27T02:18:21.868Z] cefa15bbcfad: Download complete [2023-10-27T02:18:21.868Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T02:18:21.868Z] 9fda8d8052c6: Download complete [2023-10-27T02:18:22.137Z] f4c1fc716caa: Verifying Checksum [2023-10-27T02:18:22.137Z] f4c1fc716caa: Download complete [2023-10-27T02:18:23.118Z] 9fda8d8052c6: Pull complete [2023-10-27T02:18:23.390Z] 5d54e960e981: Pull complete [2023-10-27T02:18:23.670Z] c4a7e357bf2a: Verifying Checksum [2023-10-27T02:18:23.670Z] c4a7e357bf2a: Download complete [2023-10-27T02:18:24.648Z] 17808c966233: Verifying Checksum [2023-10-27T02:18:24.648Z] 17808c966233: Download complete [2023-10-27T02:18:36.989Z] c4a7e357bf2a: Pull complete [2023-10-27T02:18:36.989Z] f0e02332f6b5: Pull complete [2023-10-27T02:18:36.989Z] cefa15bbcfad: Pull complete [2023-10-27T02:18:45.218Z] 17808c966233: Pull complete [2023-10-27T02:18:47.331Z] f4c1fc716caa: Pull complete [2023-10-27T02:18:47.331Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T02:18:47.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T02:18:47.331Z] ---> ea914061e18c [2023-10-27T02:18:47.331Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T02:18:49.291Z] ---> Running in b694e3c840c9 [2023-10-27T02:18:49.879Z] Removing intermediate container b694e3c840c9 [2023-10-27T02:18:49.879Z] ---> 80bccafdc51e [2023-10-27T02:18:49.879Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T02:18:49.879Z] ---> Running in ca31da216278 [2023-10-27T02:18:50.147Z] Removing intermediate container ca31da216278 [2023-10-27T02:18:50.147Z] ---> 971c77613b42 [2023-10-27T02:18:50.147Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T02:18:50.419Z] ---> Running in 94a0d28693c6 [2023-10-27T02:18:50.688Z] Removing intermediate container 94a0d28693c6 [2023-10-27T02:18:50.688Z] ---> 9272d760fc94 [2023-10-27T02:18:50.688Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T02:18:50.688Z] ---> Running in 2dfacfc54fff [2023-10-27T02:18:51.292Z] Removing intermediate container 2dfacfc54fff [2023-10-27T02:18:51.292Z] ---> 930fbc291b71 [2023-10-27T02:18:51.292Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T02:18:51.292Z] ---> Running in 3d87e737f7d8 [2023-10-27T02:18:52.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T02:18:54.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T02:18:56.729Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T02:18:56.729Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T02:18:56.729Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T02:18:56.729Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T02:18:56.729Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T02:18:56.729Z] OK: 270 MiB in 56 packages [2023-10-27T02:19:02.119Z] Removing intermediate container 3d87e737f7d8 [2023-10-27T02:19:02.119Z] ---> dac443cd0d57 [2023-10-27T02:19:02.119Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-27T02:19:02.119Z] ---> Running in fb03b8131e4e [2023-10-27T02:19:02.387Z] Removing intermediate container fb03b8131e4e [2023-10-27T02:19:02.387Z] ---> 446283b36268 [2023-10-27T02:19:02.387Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-27T02:19:02.976Z] ---> 7b4283c8c97e [2023-10-27T02:19:02.976Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T02:19:02.976Z] ---> Running in 3841d1ecdbf1 [2023-10-27T02:21:09.697Z] Removing intermediate container 3841d1ecdbf1 [2023-10-27T02:21:09.697Z] ---> 89c35fe451f2 [2023-10-27T02:21:09.697Z] Step 11/12 : COPY . . [2023-10-27T02:21:09.697Z] ---> c552ebb61b0c [2023-10-27T02:21:09.697Z] Step 12/12 : RUN $MAKE [2023-10-27T02:21:09.697Z] ---> Running in a1bc4b0027f8 [2023-10-27T02:21:09.697Z] noop [2023-10-27T02:21:09.697Z] Removing intermediate container a1bc4b0027f8 [2023-10-27T02:21:09.697Z] ---> d9c332e88304 [2023-10-27T02:21:09.697Z] Successfully built d9c332e88304 [2023-10-27T02:21:09.697Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:21:10.087Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T02:21:10.087Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:21:10.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-12267 does not seem to be running inside a container [2023-10-27T02:21:10.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/149 -v /w/workspace/device-mqtt-go/149:/w/workspace/device-mqtt-go/149:rw,z -v /w/workspace/device-mqtt-go/149@tmp:/w/workspace/device-mqtt-go/149@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 [2023-10-27T02:21:11.767Z] $ docker top cad5c65e435008f4de87ca0183900b41a1889403592b8f9d312d2a68b264712d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:21:12.643Z] + go version [2023-10-27T02:21:12.643Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T02:21:12.666Z] $ docker stop --time=1 cad5c65e435008f4de87ca0183900b41a1889403592b8f9d312d2a68b264712d [2023-10-27T02:21:14.390Z] $ docker rm -f --volumes cad5c65e435008f4de87ca0183900b41a1889403592b8f9d312d2a68b264712d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:21:15.041Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T02:21:15.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:21:15.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-12267 does not seem to be running inside a container [2023-10-27T02:21:15.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/149 -v /w/workspace/device-mqtt-go/149:/w/workspace/device-mqtt-go/149:rw,z -v /w/workspace/device-mqtt-go/149@tmp:/w/workspace/device-mqtt-go/149@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 [2023-10-27T02:21:16.636Z] $ docker top dec4e009f012cdbad530379ebe30ff66385e22550c25cd296650df8b29124af3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:21:17.525Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/149 [Pipeline] fileExists [Pipeline] sh [2023-10-27T02:21:18.193Z] + make test [2023-10-27T02:21:18.194Z] go test ./... -coverprofile=coverage.out ./... [2023-10-27T02:21:24.851Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-27T02:23:31.612Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-27T02:23:34.961Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-27T02:23:34.961Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements [2023-10-27T02:23:35.543Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T02:23:35.543Z] go vet ./... [2023-10-27T02:24:02.254Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T02:24:02.254Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T02:24:02.254Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T02:24:02.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T02:24:02.286Z] $ docker stop --time=1 dec4e009f012cdbad530379ebe30ff66385e22550c25cd296650df8b29124af3 [2023-10-27T02:24:04.294Z] $ docker rm -f --volumes dec4e009f012cdbad530379ebe30ff66385e22550c25cd296650df8b29124af3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T02:24:05.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T02:24:05.636Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T02:24:06.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T02:24:06.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T02:24:06.823Z] + ls -al . [2023-10-27T02:24:06.823Z] total 180 [2023-10-27T02:24:06.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:21 . [2023-10-27T02:24:06.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 02:17 .. [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 02:17 .dockerignore [2023-10-27T02:24:06.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:17 .git [2023-10-27T02:24:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:17 .github [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 27 02:17 .gitignore [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 02:17 .golangci.yml [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 27 02:17 Attribution.txt [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 27 02:17 CHANGELOG.md [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 27 02:17 Dockerfile [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 02:17 GOVERNANCE.md [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 27 02:17 Jenkinsfile [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 02:17 LICENSE [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 27 02:17 Makefile [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 02:17 OWNERS.md [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 27 02:17 README.md [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 27 02:11 VERSION [2023-10-27T02:24:06.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:17 bin [2023-10-27T02:24:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:17 cmd [2023-10-27T02:24:06.823Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 27 02:23 coverage.out [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 27 02:17 go.mod [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 27 02:17 go.sum [2023-10-27T02:24:06.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 02:17 internal [2023-10-27T02:24:06.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 02:17 mock [2023-10-27T02:24:06.823Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 27 02:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:24:07.163Z] + 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=a20e3f699be50ae0fa7b260dcb78cdd891955ce4 --label arch=arm64 --label version=3.1.0-dev.21 . [2023-10-27T02:24:07.431Z] Sending build context to Docker daemon 3.386MB [2023-10-27T02:24:07.431Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T02:24:07.431Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-27T02:24:07.431Z] ---> d9c332e88304 [2023-10-27T02:24:07.431Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-27T02:24:07.703Z] ---> Running in af1fc7ed5f97 [2023-10-27T02:24:08.288Z] Removing intermediate container af1fc7ed5f97 [2023-10-27T02:24:08.288Z] ---> 77634b04b389 [2023-10-27T02:24:08.288Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T02:24:08.288Z] ---> Running in 8e6dd7d8775b [2023-10-27T02:24:08.556Z] Removing intermediate container 8e6dd7d8775b [2023-10-27T02:24:08.556Z] ---> ac407df3c470 [2023-10-27T02:24:08.556Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T02:24:08.556Z] ---> Running in 97bea3e5fd2e [2023-10-27T02:24:08.824Z] Removing intermediate container 97bea3e5fd2e [2023-10-27T02:24:08.824Z] ---> 854bba61cf25 [2023-10-27T02:24:08.824Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T02:24:09.091Z] ---> Running in 2d190ac60eee [2023-10-27T02:24:09.359Z] Removing intermediate container 2d190ac60eee [2023-10-27T02:24:09.360Z] ---> c46d12637ab9 [2023-10-27T02:24:09.360Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T02:24:09.360Z] ---> Running in 8baaefa44a1d [2023-10-27T02:24:10.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T02:24:11.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T02:24:12.693Z] OK: 270 MiB in 56 packages [2023-10-27T02:24:13.655Z] Removing intermediate container 8baaefa44a1d [2023-10-27T02:24:13.655Z] ---> 5a701485326d [2023-10-27T02:24:13.655Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-27T02:24:13.655Z] ---> Running in 1830fa4acc2f [2023-10-27T02:24:13.924Z] Removing intermediate container 1830fa4acc2f [2023-10-27T02:24:13.924Z] ---> 66202e9c8d6f [2023-10-27T02:24:13.924Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-27T02:24:14.514Z] ---> 3dcbe809f4d0 [2023-10-27T02:24:14.514Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T02:24:14.514Z] ---> Running in 92588f69d7ce [2023-10-27T02:24:17.116Z] Removing intermediate container 92588f69d7ce [2023-10-27T02:24:17.116Z] ---> d841b2139872 [2023-10-27T02:24:17.116Z] Step 11/24 : COPY . . [2023-10-27T02:24:17.704Z] ---> a3f104325455 [2023-10-27T02:24:17.704Z] Step 12/24 : RUN $MAKE [2023-10-27T02:24:17.704Z] ---> Running in fa5ab954ad0b [2023-10-27T02:24:19.137Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-27T02:26:25.855Z] Removing intermediate container fa5ab954ad0b [2023-10-27T02:26:25.855Z] ---> 601284d6b464 [2023-10-27T02:26:25.855Z] Step 13/24 : FROM alpine:3.18 [2023-10-27T02:26:25.855Z] 3.18: Pulling from library/alpine [2023-10-27T02:26:25.855Z] 579b34f0a95b: Pulling fs layer [2023-10-27T02:26:25.855Z] 579b34f0a95b: Verifying Checksum [2023-10-27T02:26:25.855Z] 579b34f0a95b: Pull complete [2023-10-27T02:26:25.855Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T02:26:25.855Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T02:26:25.855Z] ---> 3cc203321400 [2023-10-27T02:26:25.856Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-27T02:26:27.834Z] ---> Running in 5990d51fdf25 [2023-10-27T02:26:28.102Z] Removing intermediate container 5990d51fdf25 [2023-10-27T02:26:28.102Z] ---> 2fff52f0e363 [2023-10-27T02:26:28.102Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-27T02:26:28.102Z] ---> Running in c7171834532b [2023-10-27T02:26:29.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T02:26:29.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T02:26:31.333Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T02:26:31.333Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T02:26:31.333Z] OK: 8 MiB in 16 packages [2023-10-27T02:26:31.918Z] Removing intermediate container c7171834532b [2023-10-27T02:26:31.918Z] ---> d251f749d2c3 [2023-10-27T02:26:31.918Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-27T02:26:33.334Z] ---> d07af7e95189 [2023-10-27T02:26:33.334Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-27T02:26:33.918Z] ---> 9ca96d9d2aa5 [2023-10-27T02:26:33.918Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-27T02:26:34.504Z] ---> c418fb21d138 [2023-10-27T02:26:34.504Z] Step 19/24 : EXPOSE 59982 [2023-10-27T02:26:34.504Z] ---> Running in 08a04dc9d229 [2023-10-27T02:26:35.088Z] Removing intermediate container 08a04dc9d229 [2023-10-27T02:26:35.088Z] ---> 05f4d37b0c64 [2023-10-27T02:26:35.088Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-27T02:26:35.088Z] ---> Running in 5bbe7ac411f5 [2023-10-27T02:26:35.354Z] Removing intermediate container 5bbe7ac411f5 [2023-10-27T02:26:35.354Z] ---> bc6a073f9246 [2023-10-27T02:26:35.354Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T02:26:35.624Z] ---> Running in 99f21c741459 [2023-10-27T02:26:35.897Z] Removing intermediate container 99f21c741459 [2023-10-27T02:26:35.897Z] ---> 9d3f32b5a90b [2023-10-27T02:26:35.897Z] Step 22/24 : LABEL arch=arm64 [2023-10-27T02:26:35.897Z] ---> Running in 2d671b68a9e0 [2023-10-27T02:26:36.164Z] Removing intermediate container 2d671b68a9e0 [2023-10-27T02:26:36.164Z] ---> ad3e01e7e668 [2023-10-27T02:26:36.164Z] Step 23/24 : LABEL git_sha=a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:26:36.436Z] ---> Running in 76ddf22dc967 [2023-10-27T02:26:36.708Z] Removing intermediate container 76ddf22dc967 [2023-10-27T02:26:36.708Z] ---> 276dca63bf5a [2023-10-27T02:26:36.708Z] Step 24/24 : LABEL version=3.1.0-dev.21 [2023-10-27T02:26:36.708Z] ---> Running in 312288a701a6 [2023-10-27T02:26:36.973Z] Removing intermediate container 312288a701a6 [2023-10-27T02:26:36.973Z] ---> 2e23ebf5d22b [2023-10-27T02:26:36.973Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T02:26:36.973Z] Successfully built 2e23ebf5d22b [2023-10-27T02:26:36.973Z] 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 [2023-10-27T02:26:37.083Z] provisioning config files... [2023-10-27T02:26:37.097Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/149@tmp/config17536589846865585160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:26:37.541Z] ---> docker-login.sh [2023-10-27T02:26:37.541Z] nexus3.edgexfoundry.org:10001 [2023-10-27T02:26:37.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:26:37.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:26:37.814Z] Configure a credential helper to remove this warning. See [2023-10-27T02:26:37.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:26:37.814Z] [2023-10-27T02:26:37.814Z] Login Succeeded [2023-10-27T02:26:37.814Z] nexus3.edgexfoundry.org:10002 [2023-10-27T02:26:38.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:26:38.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:26:38.363Z] Configure a credential helper to remove this warning. See [2023-10-27T02:26:38.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:26:38.363Z] [2023-10-27T02:26:38.363Z] Login Succeeded [2023-10-27T02:26:38.363Z] nexus3.edgexfoundry.org:10003 [2023-10-27T02:26:38.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:26:38.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:26:38.635Z] Configure a credential helper to remove this warning. See [2023-10-27T02:26:38.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:26:38.635Z] [2023-10-27T02:26:38.635Z] Login Succeeded [2023-10-27T02:26:38.635Z] nexus3.edgexfoundry.org:10004 [2023-10-27T02:26:39.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:26:39.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:26:39.229Z] Configure a credential helper to remove this warning. See [2023-10-27T02:26:39.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:26:39.229Z] [2023-10-27T02:26:39.229Z] Login Succeeded [2023-10-27T02:26:39.229Z] docker.io [2023-10-27T02:26:39.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T02:26:39.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T02:26:39.802Z] Configure a credential helper to remove this warning. See [2023-10-27T02:26:39.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T02:26:39.802Z] [2023-10-27T02:26:39.802Z] Login Succeeded [2023-10-27T02:26:39.802Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T02:26:39.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T02:26:39.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T02:26:39.878Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-10-27T02:26:39.878Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:26:39.878Z] latest [2023-10-27T02:26:39.878Z] 3.1.0-dev.21 [2023-10-27T02:26:39.878Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:26:39.878Z] main [2023-10-27T02:26:39.878Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:40.237Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:40.591Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:26:40.591Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-27T02:26:40.591Z] b3d1d565b804: Preparing [2023-10-27T02:26:40.591Z] 4a80344393dd: Preparing [2023-10-27T02:26:40.591Z] 740e7bc5283d: Preparing [2023-10-27T02:26:40.591Z] fd0db8e1159f: Preparing [2023-10-27T02:26:40.591Z] 5f4d9fc4d98d: Preparing [2023-10-27T02:26:40.591Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T02:26:40.857Z] 4a80344393dd: Pushed [2023-10-27T02:26:40.857Z] b3d1d565b804: Pushed [2023-10-27T02:26:40.857Z] fd0db8e1159f: Pushed [2023-10-27T02:26:47.531Z] 740e7bc5283d: Pushed [2023-10-27T02:26:47.531Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4: digest: sha256:33b12c247ea03434ea8fa71a94c209da1e52ba3c2acd372632242ac280b65e3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:47.893Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:48.232Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-27T02:26:48.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-27T02:26:48.232Z] b3d1d565b804: Preparing [2023-10-27T02:26:48.232Z] 4a80344393dd: Preparing [2023-10-27T02:26:48.232Z] 740e7bc5283d: Preparing [2023-10-27T02:26:48.232Z] fd0db8e1159f: Preparing [2023-10-27T02:26:48.232Z] 5f4d9fc4d98d: Preparing [2023-10-27T02:26:48.232Z] fd0db8e1159f: Layer already exists [2023-10-27T02:26:48.232Z] 4a80344393dd: Layer already exists [2023-10-27T02:26:48.232Z] 740e7bc5283d: Layer already exists [2023-10-27T02:26:48.232Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T02:26:48.232Z] b3d1d565b804: Layer already exists [2023-10-27T02:26:48.502Z] latest: digest: sha256:33b12c247ea03434ea8fa71a94c209da1e52ba3c2acd372632242ac280b65e3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:48.857Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:49.208Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.21 [2023-10-27T02:26:49.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-27T02:26:49.208Z] b3d1d565b804: Preparing [2023-10-27T02:26:49.208Z] 4a80344393dd: Preparing [2023-10-27T02:26:49.208Z] 740e7bc5283d: Preparing [2023-10-27T02:26:49.208Z] fd0db8e1159f: Preparing [2023-10-27T02:26:49.208Z] 5f4d9fc4d98d: Preparing [2023-10-27T02:26:49.208Z] b3d1d565b804: Layer already exists [2023-10-27T02:26:49.208Z] 740e7bc5283d: Layer already exists [2023-10-27T02:26:49.208Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T02:26:49.208Z] 4a80344393dd: Layer already exists [2023-10-27T02:26:49.208Z] fd0db8e1159f: Layer already exists [2023-10-27T02:26:49.476Z] 3.1.0-dev.21: digest: sha256:33b12c247ea03434ea8fa71a94c209da1e52ba3c2acd372632242ac280b65e3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:49.828Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:50.162Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:26:50.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-27T02:26:50.162Z] b3d1d565b804: Preparing [2023-10-27T02:26:50.162Z] 4a80344393dd: Preparing [2023-10-27T02:26:50.162Z] 740e7bc5283d: Preparing [2023-10-27T02:26:50.162Z] fd0db8e1159f: Preparing [2023-10-27T02:26:50.162Z] 5f4d9fc4d98d: Preparing [2023-10-27T02:26:50.162Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T02:26:50.162Z] 4a80344393dd: Layer already exists [2023-10-27T02:26:50.162Z] fd0db8e1159f: Layer already exists [2023-10-27T02:26:50.162Z] 740e7bc5283d: Layer already exists [2023-10-27T02:26:50.162Z] b3d1d565b804: Layer already exists [2023-10-27T02:26:50.432Z] a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21: digest: sha256:33b12c247ea03434ea8fa71a94c209da1e52ba3c2acd372632242ac280b65e3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:50.803Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:51.157Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-10-27T02:26:51.157Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-10-27T02:26:51.157Z] b3d1d565b804: Preparing [2023-10-27T02:26:51.157Z] 4a80344393dd: Preparing [2023-10-27T02:26:51.157Z] 740e7bc5283d: Preparing [2023-10-27T02:26:51.157Z] fd0db8e1159f: Preparing [2023-10-27T02:26:51.157Z] 5f4d9fc4d98d: Preparing [2023-10-27T02:26:51.157Z] 4a80344393dd: Layer already exists [2023-10-27T02:26:51.157Z] 5f4d9fc4d98d: Layer already exists [2023-10-27T02:26:51.157Z] b3d1d565b804: Layer already exists [2023-10-27T02:26:51.157Z] fd0db8e1159f: Layer already exists [2023-10-27T02:26:51.157Z] 740e7bc5283d: Layer already exists [2023-10-27T02:26:51.425Z] main: digest: sha256:33b12c247ea03434ea8fa71a94c209da1e52ba3c2acd372632242ac280b65e3d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-27T02:26:51.484Z] ===================================================== [Pipeline] echo [2023-10-27T02:26:51.495Z] taggedImages: [2023-10-27T02:26:51.495Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [2023-10-27T02:26:51.495Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-10-27T02:26:51.495Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.21 [2023-10-27T02:26:51.495Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a20e3f699be50ae0fa7b260dcb78cdd891955ce4-3.1.0-dev.21 [2023-10-27T02:26:51.495Z] - 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 [2023-10-27T02:26:51.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:26:51.857Z] [2023-10-27T02:26:51.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:26:52.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:26:52.469Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T02:26:52.469Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T02:26:52.469Z] 04944245beec: Pulling fs layer [2023-10-27T02:26:52.469Z] 699f458cf7ca: Pulling fs layer [2023-10-27T02:26:52.469Z] 765212b225bb: Pulling fs layer [2023-10-27T02:26:52.469Z] f23df028b6ca: Pulling fs layer [2023-10-27T02:26:52.469Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T02:26:52.469Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T02:26:52.469Z] f23df028b6ca: Waiting [2023-10-27T02:26:52.469Z] 765212b225bb: Waiting [2023-10-27T02:26:52.469Z] d65c8cfc05b1: Waiting [2023-10-27T02:26:52.469Z] 04944245beec: Verifying Checksum [2023-10-27T02:26:52.469Z] 04944245beec: Download complete [2023-10-27T02:26:52.469Z] 765212b225bb: Verifying Checksum [2023-10-27T02:26:52.469Z] 765212b225bb: Download complete [2023-10-27T02:26:52.469Z] f23df028b6ca: Verifying Checksum [2023-10-27T02:26:52.469Z] f23df028b6ca: Download complete [2023-10-27T02:26:52.469Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T02:26:52.738Z] d65c8cfc05b1: Download complete [2023-10-27T02:26:52.738Z] 699f458cf7ca: Verifying Checksum [2023-10-27T02:26:52.738Z] 699f458cf7ca: Download complete [2023-10-27T02:26:53.006Z] 8998bd30e6a1: Verifying Checksum [2023-10-27T02:26:53.006Z] 8998bd30e6a1: Download complete [2023-10-27T02:26:55.647Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T02:26:55.647Z] 2437ff75d9bd: Download complete [2023-10-27T02:26:57.599Z] 8998bd30e6a1: Pull complete [2023-10-27T02:26:57.870Z] 04944245beec: Pull complete [2023-10-27T02:26:59.279Z] 699f458cf7ca: Pull complete [2023-10-27T02:26:59.546Z] 765212b225bb: Pull complete [2023-10-27T02:27:00.537Z] f23df028b6ca: Pull complete [2023-10-27T02:27:00.537Z] d65c8cfc05b1: Pull complete [2023-10-27T02:27:18.737Z] 2437ff75d9bd: Pull complete [2023-10-27T02:27:18.737Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T02:27:18.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:27:18.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:27:18.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-12267 does not seem to be running inside a container [2023-10-27T02:27:19.020Z] $ 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/149 -v /w/workspace/device-mqtt-go/149:/w/workspace/device-mqtt-go/149:rw,z -v /w/workspace/device-mqtt-go/149@tmp:/w/workspace/device-mqtt-go/149@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 [2023-10-27T02:27:22.467Z] $ docker top fd503f6947001f6890dc8802925cc75905f9cdbf9d825190343ef2c09b936168 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:27:23.346Z] ---> job-cost.sh [2023-10-27T02:27:23.346Z] lf-activate-venv: SKIPPING [2023-10-27T02:27:23.346Z] INFO: No Stack... [2023-10-27T02:27:23.927Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T02:27:24.509Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T02:27:25.148Z] + cut -d, -f6 [2023-10-27T02:27:25.148Z] + cat /w/workspace/device-mqtt-go/149/archives/cost.csv [Pipeline] lock [2023-10-27T02:27:25.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [2023-10-27T02:27:25.224Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] did not exist. Created. [2023-10-27T02:27:25.224Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T02:27:25.879Z] /w/workspace/device-mqtt-go/149@tmp/durable-62afcdd6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T02:27:26.525Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-27T02:27:26.549Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T02:27:26.615Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T02:27:26.658Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-149-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T02:27:26.702Z] $ docker stop --time=1 fd503f6947001f6890dc8802925cc75905f9cdbf9d825190343ef2c09b936168 [2023-10-27T02:27:28.321Z] $ docker rm -f --volumes fd503f6947001f6890dc8802925cc75905f9cdbf9d825190343ef2c09b936168 [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 [2023-10-27T02:27:28.711Z] provisioning config files... [2023-10-27T02:27:28.717Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3272866464722964524tmp [Pipeline] { [Pipeline] sh [2023-10-27T02:27:29.013Z] + set +x [2023-10-27T02:27:29.014Z] + curl -s https://codecov.io/bash [2023-10-27T02:27:29.014Z] + bash -s -- [2023-10-27T02:27:29.014Z] [2023-10-27T02:27:29.014Z] _____ _ [2023-10-27T02:27:29.014Z] / ____| | | [2023-10-27T02:27:29.014Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T02:27:29.014Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T02:27:29.014Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T02:27:29.014Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T02:27:29.014Z] Bash-1.0.6 [2023-10-27T02:27:29.014Z] [2023-10-27T02:27:29.014Z] [2023-10-27T02:27:29.014Z] ==> git version 2.25.1 found [2023-10-27T02:27:29.014Z] ==> 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 [2023-10-27T02:27:29.014Z] Release-Date: 2020-01-08 [2023-10-27T02:27:29.014Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-27T02:27:29.014Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T02:27:29.014Z] ==> Jenkins CI detected. [2023-10-27T02:27:29.014Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-27T02:27:29.014Z] project root: . [2023-10-27T02:27:29.014Z] --> token set from env [2023-10-27T02:27:29.014Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T02:27:29.014Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T02:27:29.014Z] ==> Python coveragepy not found [2023-10-27T02:27:29.014Z] ==> Searching for coverage reports in: [2023-10-27T02:27:29.014Z] + . [2023-10-27T02:27:29.014Z] -> Found 1 reports [2023-10-27T02:27:29.014Z] ==> Detecting git/mercurial file structure [2023-10-27T02:27:29.014Z] ==> Reading reports [2023-10-27T02:27:29.014Z] + ./coverage.out bytes=18506 [2023-10-27T02:27:29.014Z] ==> Appending adjustments [2023-10-27T02:27:29.014Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T02:27:29.272Z] + Found adjustments [2023-10-27T02:27:29.272Z] ==> Gzipping contents [2023-10-27T02:27:29.272Z] 4.0K /tmp/codecov.FFuiM8.gz [2023-10-27T02:27:29.272Z] ==> Uploading reports [2023-10-27T02:27:29.272Z] url: https://codecov.io [2023-10-27T02:27:29.272Z] query: branch=main&commit=a20e3f699be50ae0fa7b260dcb78cdd891955ce4&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T02:27:29.272Z] -> Pinging Codecov [2023-10-27T02:27:29.272Z] 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=a20e3f699be50ae0fa7b260dcb78cdd891955ce4&build=149&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F149%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-27T02:27:29.272Z] -> Uploading to [2023-10-27T02:27:29.272Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/7D719EC7BBE17E464838252E33014C33/a20e3f699be50ae0fa7b260dcb78cdd891955ce4/f08dfc64-247e-4726-977c-81d59a4baf25.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T022729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d82210ed4dfed05ba88d14d269a353b71fab1bbada848c627fd501e7338d6316 [2023-10-27T02:27:29.272Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T02:27:29.272Z] Dload Upload Total Spent Left Speed [2023-10-27T02:27:29.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 10586 --:--:-- --:--:-- --:--:-- 10586 [2023-10-27T02:27:29.531Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] } [2023-10-27T02:27:29.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-27T02:27:29.740Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-27T02:27:29.749Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:27:30.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T02:27:30.070Z] [2023-10-27T02:27:30.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:27:30.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T02:27:30.363Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-27T02:27:30.363Z] df9b9388f04a: Pulling fs layer [2023-10-27T02:27:30.363Z] 52dc419b0ee2: Pulling fs layer [2023-10-27T02:27:30.363Z] 25bc292e5bac: Pulling fs layer [2023-10-27T02:27:30.363Z] 114826534d7a: Pulling fs layer [2023-10-27T02:27:30.363Z] 4657fd5d0bcf: Pulling fs layer [2023-10-27T02:27:30.363Z] 6ad1cebc031e: Pulling fs layer [2023-10-27T02:27:30.363Z] 8a3aa393b2d8: Pulling fs layer [2023-10-27T02:27:30.363Z] 114826534d7a: Waiting [2023-10-27T02:27:30.363Z] 4657fd5d0bcf: Waiting [2023-10-27T02:27:30.363Z] 6ad1cebc031e: Waiting [2023-10-27T02:27:30.363Z] 8a3aa393b2d8: Waiting [2023-10-27T02:27:30.363Z] 25bc292e5bac: Verifying Checksum [2023-10-27T02:27:30.363Z] 25bc292e5bac: Download complete [2023-10-27T02:27:30.363Z] 52dc419b0ee2: Download complete [2023-10-27T02:27:30.363Z] 4657fd5d0bcf: Download complete [2023-10-27T02:27:30.363Z] df9b9388f04a: Verifying Checksum [2023-10-27T02:27:30.363Z] df9b9388f04a: Download complete [2023-10-27T02:27:30.629Z] df9b9388f04a: Pull complete [2023-10-27T02:27:30.629Z] 6ad1cebc031e: Download complete [2023-10-27T02:27:30.629Z] 52dc419b0ee2: Pull complete [2023-10-27T02:27:30.890Z] 25bc292e5bac: Pull complete [2023-10-27T02:27:31.151Z] 114826534d7a: Verifying Checksum [2023-10-27T02:27:31.151Z] 114826534d7a: Download complete [2023-10-27T02:27:31.409Z] 8a3aa393b2d8: Verifying Checksum [2023-10-27T02:27:31.409Z] 8a3aa393b2d8: Download complete [2023-10-27T02:27:35.591Z] 114826534d7a: Pull complete [2023-10-27T02:27:35.591Z] 4657fd5d0bcf: Pull complete [2023-10-27T02:27:35.591Z] 6ad1cebc031e: Pull complete [2023-10-27T02:27:39.858Z] 8a3aa393b2d8: Pull complete [2023-10-27T02:27:39.858Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-27T02:27:39.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-27T02:27:39.858Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:27:39.933Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:27:39.972Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-27T02:27:46.924Z] $ docker top c9e8879b98ed220e11227213dea12aa03f5ad7526b3e040314a345710a2e6035 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-27T02:27:46.984Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-10-27T02:27:47.267Z] + set -o pipefail [2023-10-27T02:27:47.267Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-10-27T02:27:53.824Z] [2023-10-27T02:27:53.824Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-10-27T02:27:53.824Z] [2023-10-27T02:27:53.824Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/210e11c9-5852-4c12-8622-9af07e6cf4e4 [2023-10-27T02:27:53.824Z] [2023-10-27T02:27:53.824Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-27T02:27:53.824Z] [2023-10-27T02:27:53.824Z] [2023-10-27T02:27:53.824Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-27T02:27:53.824Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-27T02:27:53.824Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-27T02:27:53.840Z] $ docker stop --time=1 c9e8879b98ed220e11227213dea12aa03f5ad7526b3e040314a345710a2e6035 [2023-10-27T02:27:58.535Z] $ docker rm -f --volumes c9e8879b98ed220e11227213dea12aa03f5ad7526b3e040314a345710a2e6035 [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 [2023-10-27T02:27:59.299Z] + git log --format=format:%s -1 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 [Pipeline] sh [2023-10-27T02:27:59.591Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T02:27:59.591Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:27:59.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:27:59.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:27:59.964Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:27:59.997Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T02:28:00.361Z] $ docker top ffab734ad9744bfb80f9f75ccd1e0110066fe8ade245421b33d37116b13a166e -eo pid,comm [2023-10-27T02:28:00.405Z] 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). [2023-10-27T02:28:00.405Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T02:28:00.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T02:28:00.442Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T02:28:00.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T02:28:00.554Z] $ docker exec ffab734ad9744bfb80f9f75ccd1e0110066fe8ade245421b33d37116b13a166e ssh-agent [2023-10-27T02:28:00.668Z] SSH_AUTH_SOCK=/tmp/ssh-BfDU1y1vKiG4/agent.32 [2023-10-27T02:28:00.668Z] SSH_AGENT_PID=37 [2023-10-27T02:28:00.673Z] Running ssh-add (command line suppressed) [2023-10-27T02:28:00.789Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12668195267229591964.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12668195267229591964.key) [2023-10-27T02:28:00.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T02:28:01.087Z] + git semver tag [2023-10-27T02:28:01.656Z] 2023-10-27 02:28:01,483 [run_tag] DEBUG tag force:False [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,483 [check_head_tag] DEBUG check head tag [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,484 [execute] INFO git cat-file --batch-check [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,484 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,488 [execute] INFO git cat-file --batch [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,501 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,501 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-27T02:28:01.657Z] 2023-10-27 02:28:01,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:01.657Z] 3.1.0-dev.21 [Pipeline] } [2023-10-27T02:28:01.670Z] $ docker exec --env ******** --env ******** ffab734ad9744bfb80f9f75ccd1e0110066fe8ade245421b33d37116b13a166e ssh-agent -k [2023-10-27T02:28:01.770Z] unset SSH_AUTH_SOCK; [2023-10-27T02:28:01.771Z] unset SSH_AGENT_PID; [2023-10-27T02:28:01.771Z] echo Agent pid 37 killed; [2023-10-27T02:28:01.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T02:28:02.088Z] + git semver [Pipeline] } [2023-10-27T02:28:02.364Z] $ docker stop --time=1 ffab734ad9744bfb80f9f75ccd1e0110066fe8ade245421b33d37116b13a166e [2023-10-27T02:28:03.672Z] $ docker rm -f --volumes ffab734ad9744bfb80f9f75ccd1e0110066fe8ade245421b33d37116b13a166e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:28:04.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T02:28:04.056Z] [2023-10-27T02:28:04.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:28:04.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T02:28:04.355Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-27T02:28:04.355Z] ab5ef0e58194: Pulling fs layer [2023-10-27T02:28:04.355Z] 9712f1f96733: Pulling fs layer [2023-10-27T02:28:04.355Z] 63f879dbbcfc: Pulling fs layer [2023-10-27T02:28:04.355Z] 0d9ebad4ef96: Pulling fs layer [2023-10-27T02:28:04.355Z] e9a5061849ea: Pulling fs layer [2023-10-27T02:28:04.355Z] d747dcd14b5f: Pulling fs layer [2023-10-27T02:28:04.355Z] 2de7ff778b66: Pulling fs layer [2023-10-27T02:28:04.355Z] d747dcd14b5f: Waiting [2023-10-27T02:28:04.355Z] 2de7ff778b66: Waiting [2023-10-27T02:28:04.355Z] 0d9ebad4ef96: Waiting [2023-10-27T02:28:04.355Z] e9a5061849ea: Waiting [2023-10-27T02:28:04.355Z] 9712f1f96733: Verifying Checksum [2023-10-27T02:28:04.355Z] 9712f1f96733: Download complete [2023-10-27T02:28:04.925Z] 63f879dbbcfc: Verifying Checksum [2023-10-27T02:28:04.925Z] 63f879dbbcfc: Download complete [2023-10-27T02:28:04.925Z] e9a5061849ea: Verifying Checksum [2023-10-27T02:28:04.925Z] e9a5061849ea: Download complete [2023-10-27T02:28:04.925Z] d747dcd14b5f: Verifying Checksum [2023-10-27T02:28:04.925Z] d747dcd14b5f: Download complete [2023-10-27T02:28:04.925Z] ab5ef0e58194: Verifying Checksum [2023-10-27T02:28:04.925Z] ab5ef0e58194: Download complete [2023-10-27T02:28:05.183Z] 0d9ebad4ef96: Verifying Checksum [2023-10-27T02:28:05.183Z] 0d9ebad4ef96: Download complete [2023-10-27T02:28:05.183Z] 2de7ff778b66: Verifying Checksum [2023-10-27T02:28:05.183Z] 2de7ff778b66: Download complete [2023-10-27T02:28:07.712Z] ab5ef0e58194: Pull complete [2023-10-27T02:28:07.712Z] 9712f1f96733: Pull complete [2023-10-27T02:28:08.644Z] 63f879dbbcfc: Pull complete [2023-10-27T02:28:11.925Z] 0d9ebad4ef96: Pull complete [2023-10-27T02:28:12.184Z] e9a5061849ea: Pull complete [2023-10-27T02:28:12.443Z] d747dcd14b5f: Pull complete [2023-10-27T02:28:13.378Z] 2de7ff778b66: Pull complete [2023-10-27T02:28:13.378Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-27T02:28:13.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-27T02:28:13.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:28:13.462Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:28:13.497Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-27T02:28:21.125Z] $ docker top ce51696a562d817a9a64da0989929f7742514bc6819feb1aef99b9eb430ffc09 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:28:21.190Z] provisioning config files... [2023-10-27T02:28:21.197Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1128197834950926217tmp [2023-10-27T02:28:21.205Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11041479317088570668tmp [2023-10-27T02:28:21.213Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4357862218264217709tmp [Pipeline] { [Pipeline] echo [2023-10-27T02:28:21.228Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:21.510Z] ---> sigul-configuration.sh [2023-10-27T02:28:21.510Z] gpg: directory `/root/.gnupg' created [2023-10-27T02:28:21.510Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-27T02:28:21.510Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-27T02:28:21.510Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-27T02:28:21.510Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-27T02:28:21.510Z] gpg: CAST5 encrypted data [2023-10-27T02:28:21.510Z] gpg: encrypted with 1 passphrase [2023-10-27T02:28:21.510Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-27T02:28:21.788Z] + mkdir /home/jenkins [2023-10-27T02:28:21.788Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-27T02:28:22.068Z] + 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 [2023-10-27T02:28:22.074Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:22.356Z] ---> sigul-install.sh [2023-10-27T02:28:22.356Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-27T02:28:22.637Z] + git tag --list [2023-10-27T02:28:22.637Z] 0.7.1 [2023-10-27T02:28:22.637Z] v1.0.0 [2023-10-27T02:28:22.637Z] v1.1.0 [2023-10-27T02:28:22.637Z] v1.1.1 [2023-10-27T02:28:22.637Z] v1.2.2 [2023-10-27T02:28:22.637Z] v1.3.0 [2023-10-27T02:28:22.637Z] v1.3.1 [2023-10-27T02:28:22.637Z] v2.0.0 [2023-10-27T02:28:22.637Z] v2.1.0 [2023-10-27T02:28:22.637Z] v2.1.1 [2023-10-27T02:28:22.637Z] v2.2.0 [2023-10-27T02:28:22.637Z] v2.3.0 [2023-10-27T02:28:22.637Z] v3.0 [2023-10-27T02:28:22.637Z] v3.0.0 [2023-10-27T02:28:22.637Z] v3.1.0-dev.1 [2023-10-27T02:28:22.637Z] v3.1.0-dev.10 [2023-10-27T02:28:22.637Z] v3.1.0-dev.11 [2023-10-27T02:28:22.637Z] v3.1.0-dev.12 [2023-10-27T02:28:22.637Z] v3.1.0-dev.13 [2023-10-27T02:28:22.637Z] v3.1.0-dev.14 [2023-10-27T02:28:22.637Z] v3.1.0-dev.15 [2023-10-27T02:28:22.637Z] v3.1.0-dev.16 [2023-10-27T02:28:22.637Z] v3.1.0-dev.17 [2023-10-27T02:28:22.637Z] v3.1.0-dev.18 [2023-10-27T02:28:22.637Z] v3.1.0-dev.19 [2023-10-27T02:28:22.637Z] v3.1.0-dev.2 [2023-10-27T02:28:22.637Z] v3.1.0-dev.20 [2023-10-27T02:28:22.637Z] v3.1.0-dev.21 [2023-10-27T02:28:22.637Z] v3.1.0-dev.3 [2023-10-27T02:28:22.637Z] v3.1.0-dev.4 [2023-10-27T02:28:22.637Z] v3.1.0-dev.5 [2023-10-27T02:28:22.637Z] v3.1.0-dev.6 [2023-10-27T02:28:22.637Z] v3.1.0-dev.7 [2023-10-27T02:28:22.637Z] v3.1.0-dev.8 [2023-10-27T02:28:22.637Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-27T02:28:22.918Z] + lftools sign git-tag v3.1.0-dev.21 [2023-10-27T02:28:23.483Z] Signing Git tag with Sigul... [2023-10-27T02:28:23.483Z] Signing v3.1.0-dev.21 [Pipeline] echo [2023-10-27T02:28:24.057Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:24.340Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-27T02:28:24.346Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-27T02:28:24.369Z] $ docker stop --time=1 ce51696a562d817a9a64da0989929f7742514bc6819feb1aef99b9eb430ffc09 [2023-10-27T02:28:25.646Z] $ docker rm -f --volumes ce51696a562d817a9a64da0989929f7742514bc6819feb1aef99b9eb430ffc09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-27T02:28:26.039Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T02:28:26.039Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:28:26.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:28:26.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:28:26.404Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:28:26.440Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T02:28:26.901Z] $ docker top 24da7fca16eb763f7ad92b847d001375a4c206c402abae9f4924c70af5a60fd5 -eo pid,comm [2023-10-27T02:28:26.940Z] 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). [2023-10-27T02:28:26.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T02:28:26.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T02:28:26.980Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T02:28:27.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T02:28:27.090Z] $ docker exec 24da7fca16eb763f7ad92b847d001375a4c206c402abae9f4924c70af5a60fd5 ssh-agent [2023-10-27T02:28:27.189Z] SSH_AUTH_SOCK=/tmp/ssh-ES2F2yohEaW3/agent.32 [2023-10-27T02:28:27.189Z] SSH_AGENT_PID=38 [2023-10-27T02:28:27.194Z] Running ssh-add (command line suppressed) [2023-10-27T02:28:27.294Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6074740656091405965.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6074740656091405965.key) [2023-10-27T02:28:27.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T02:28:27.591Z] + git semver bump pre [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [bump_version] DEBUG bumped version:3.1.0-dev.22 [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,791 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,793 [execute] INFO git cat-file --batch-check [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,799 [execute] INFO git cat-file --batch [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T02:28:27.849Z] 2023-10-27 02:28:27,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:27.849Z] 3.1.0-dev.22 [Pipeline] } [2023-10-27T02:28:27.863Z] $ docker exec --env ******** --env ******** 24da7fca16eb763f7ad92b847d001375a4c206c402abae9f4924c70af5a60fd5 ssh-agent -k [2023-10-27T02:28:27.958Z] unset SSH_AUTH_SOCK; [2023-10-27T02:28:27.958Z] unset SSH_AGENT_PID; [2023-10-27T02:28:27.958Z] echo Agent pid 38 killed; [2023-10-27T02:28:27.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T02:28:28.264Z] + git semver [Pipeline] } [2023-10-27T02:28:28.538Z] $ docker stop --time=1 24da7fca16eb763f7ad92b847d001375a4c206c402abae9f4924c70af5a60fd5 [2023-10-27T02:28:29.944Z] $ docker rm -f --volumes 24da7fca16eb763f7ad92b847d001375a4c206c402abae9f4924c70af5a60fd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T02:28:30.273Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T02:28:30.273Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:28:30.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T02:28:30.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:28:30.637Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:28:30.672Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T02:28:31.283Z] $ docker top 14d5a16631e6e5ebfdd6d25bce370c04257a7319ff4166d864adddcad0e09e76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T02:28:31.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T02:28:31.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T02:28:31.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T02:28:31.521Z] $ docker exec 14d5a16631e6e5ebfdd6d25bce370c04257a7319ff4166d864adddcad0e09e76 ssh-agent [2023-10-27T02:28:31.624Z] SSH_AUTH_SOCK=/tmp/ssh-hA4G0gRs2p54/agent.32 [2023-10-27T02:28:31.624Z] SSH_AGENT_PID=38 [2023-10-27T02:28:31.628Z] Running ssh-add (command line suppressed) [2023-10-27T02:28:31.734Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8257950193639270561.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8257950193639270561.key) [2023-10-27T02:28:31.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T02:28:32.032Z] + git semver push [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,238 [run_push] DEBUG push [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,239 [execute] INFO git cat-file --batch-check [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,245 [execute] INFO git rev-list 66c04715470110a4aa5ce15dea085c7f81d8e1f1 -- [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,245 [execute] DEBUG Popen(['git', 'rev-list', '66c04715470110a4aa5ce15dea085c7f81d8e1f1', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,256 [execute] INFO git fetch -v origin [2023-10-27T02:28:32.291Z] 2023-10-27 02:28:32,256 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-27T02:28:32.858Z] 2023-10-27 02:28:32,785 [run_push] DEBUG no remote changes detected [2023-10-27T02:28:32.858Z] 2023-10-27 02:28:32,786 [execute] INFO git push origin semver [2023-10-27T02:28:32.858Z] 2023-10-27 02:28:32,786 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-27T02:28:33.794Z] 2023-10-27 02:28:33,519 [run_push] DEBUG push all version tags [2023-10-27T02:28:33.794Z] 2023-10-27 02:28:33,519 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-27T02:28:33.794Z] 2023-10-27 02:28:33,520 [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) [2023-10-27T02:28:34.361Z] 2023-10-27 02:28:34,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-10-27T02:28:34.361Z] 3.1.0-dev.22 [Pipeline] } [2023-10-27T02:28:34.374Z] $ docker exec --env ******** --env ******** 14d5a16631e6e5ebfdd6d25bce370c04257a7319ff4166d864adddcad0e09e76 ssh-agent -k [2023-10-27T02:28:34.463Z] unset SSH_AUTH_SOCK; [2023-10-27T02:28:34.464Z] unset SSH_AGENT_PID; [2023-10-27T02:28:34.464Z] echo Agent pid 38 killed; [2023-10-27T02:28:34.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T02:28:34.766Z] + git semver [Pipeline] } [2023-10-27T02:28:35.039Z] $ docker stop --time=1 14d5a16631e6e5ebfdd6d25bce370c04257a7319ff4166d864adddcad0e09e76 [2023-10-27T02:28:36.342Z] $ docker rm -f --volumes 14d5a16631e6e5ebfdd6d25bce370c04257a7319ff4166d864adddcad0e09e76 [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 [2023-10-27T02:28:36.880Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-10-27T02:28:36.880Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-27T02:28:36.880Z] total 16 [2023-10-27T02:28:36.880Z] drwxr-xr-x 3 root root 4096 Oct 27 02:13 . [2023-10-27T02:28:36.880Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 02:28 .. [2023-10-27T02:28:36.880Z] drwxr-xr-x 2 root root 4096 Oct 27 02:13 cost [2023-10-27T02:28:36.880Z] -rw-r--r-- 1 root root 86 Oct 27 02:13 cost.csv [2023-10-27T02:28:36.880Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-27T02:28:36.880Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-10-27T02:28:36.880Z] total 16 [2023-10-27T02:28:36.880Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 02:13 . [2023-10-27T02:28:36.880Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 02:28 .. [2023-10-27T02:28:36.880Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 02:13 cost [2023-10-27T02:28:36.880Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 27 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:37.170Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:38.028Z] ---> package-listing.sh [2023-10-27T02:28:38.028Z] ++ facter osfamily [2023-10-27T02:28:38.028Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T02:28:38.321Z] + OS_FAMILY=debian [2023-10-27T02:28:38.321Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-10-27T02:28:38.321Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T02:28:38.321Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T02:28:38.321Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T02:28:38.321Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T02:28:38.321Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-27T02:28:38.321Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T02:28:38.321Z] + case "${OS_FAMILY}" in [2023-10-27T02:28:38.321Z] + dpkg -l [2023-10-27T02:28:38.321Z] + grep '^ii' [2023-10-27T02:28:38.321Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T02:28:38.321Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T02:28:38.321Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T02:28:38.321Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-10-27T02:28:38.321Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-10-27T02:28:38.321Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-10-27T02:28:38.376Z] 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 [2023-10-27T02:28:38.727Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:28:39.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T02:28:39.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:28:39.130Z] prd-ubuntu20.04-docker-8c-8g-12232 does not seem to be running inside a container [2023-10-27T02:28:39.163Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T02:28:39.397Z] $ docker top 53081eb0f643ca1f7a2ad4364e7393106e01c0da73284566287507e591a8426a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:28:39.744Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T02:28:40.026Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T02:28:40.312Z] + ls /var/log/sa-host [2023-10-27T02:28:40.312Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:28:40.387Z] provisioning config files... [2023-10-27T02:28:40.394Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18016885269166820090tmp [Pipeline] { [Pipeline] echo [2023-10-27T02:28:40.405Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:40.684Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T02:28:40.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:41.025Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T02:28:41.032Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:41.314Z] ---> sudo-logs.sh [2023-10-27T02:28:41.314Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T02:28:41.345Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:41.626Z] ---> job-cost.sh [2023-10-27T02:28:41.626Z] lf-activate-venv: SKIPPING [2023-10-27T02:28:41.626Z] DEBUG: total: 0.2199999988079071 [2023-10-27T02:28:41.626Z] INFO: Retrieving Stack Cost... [2023-10-27T02:28:41.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T02:28:42.453Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T02:28:42.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:28:42.747Z] ---> logs-deploy.sh [2023-10-27T02:28:42.747Z] lf-activate-venv: SKIPPING [2023-10-27T02:28:42.747Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/149 [2023-10-27T02:28:42.747Z] INFO: archiving workspace using pattern(s): [2023-10-27T02:28:43.684Z] Archives upload complete. [2023-10-27T02:28:43.684Z] INFO: archiving logs to Nexus