Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 996c7dc504458e30104dd4fabba147269fefd7c5 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-ssh16682438416324369984.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14334285781632165665.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh10793706087796287283.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh5951387285188599059.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-ssh5529392821609212238.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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5760 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 996c7dc504458e30104dd4fabba147269fefd7c5 (main) Commit message: "Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" > 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 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 > git rev-list --no-walk 6f4870105b6de4608a6fa1c66d7959f9992f8cce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T01:45:32.342Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T01:45:32.387Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T01:45:32.401Z] ========================================================= [2023-09-11T01:45:32.401Z] EdgeX Global Pipelines Version Info [2023-09-11T01:45:32.401Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:45:33.109Z] ------------------- [2023-09-11T01:45:33.109Z] stable info: [2023-09-11T01:45:33.109Z] ------------------- [2023-09-11T01:45:33.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T01:45:33.109Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:45:33.109Z] Message: update stable to v1.0.253 [2023-09-11T01:45:33.679Z] ------------------- [2023-09-11T01:45:33.679Z] experimental info: [2023-09-11T01:45:33.679Z] ------------------- [2023-09-11T01:45:33.679Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T01:45:33.679Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T01:45:33.679Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T01:45:33.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-11T01:45:33.859Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-11T01:45:33.871Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T01:45:33.884Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T01:45:33.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T01:45:33.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T01:45:33.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T01:45:33.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T01:45:33.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T01:45:33.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T01:45:33.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T01:45:33.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-11T01:45:33.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T01:45:33.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T01:45:34.017Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:45:34.038Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T01:45:34.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:45:34.069Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T01:45:34.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T01:45:34.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T01:45:34.104Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T01:45:34.123Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T01:45:34.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T01:45:34.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T01:45:34.173Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T01:45:34.191Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T01:45:34.210Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T01:45:34.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T01:45:34.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T01:45:34.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T01:45:34.283Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo [2023-09-11T01:45:34.295Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 996c7dc [Pipeline] echo [2023-09-11T01:45:34.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:45:34.352Z] provisioning config files... [2023-09-11T01:45:34.366Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2353984246805732859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:45:34.672Z] ---> docker-login.sh [2023-09-11T01:45:34.672Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:45:34.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:34.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:34.933Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:34.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:34.933Z] [2023-09-11T01:45:34.933Z] Login Succeeded [2023-09-11T01:45:34.933Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:45:35.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:35.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:35.194Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:35.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:35.194Z] [2023-09-11T01:45:35.194Z] Login Succeeded [2023-09-11T01:45:35.194Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:45:35.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:35.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:35.194Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:35.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:35.194Z] [2023-09-11T01:45:35.194Z] Login Succeeded [2023-09-11T01:45:35.194Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:45:35.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:35.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:35.454Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:35.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:35.454Z] [2023-09-11T01:45:35.454Z] Login Succeeded [2023-09-11T01:45:35.454Z] docker.io [2023-09-11T01:45:35.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:35.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:35.714Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:35.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:35.714Z] [2023-09-11T01:45:35.714Z] Login Succeeded [2023-09-11T01:45:35.714Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:45:35.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T01:45:36.101Z] + git rev-list -1 --merges 996c7dc504458e30104dd4fabba147269fefd7c5~1..996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo [2023-09-11T01:45:36.143Z] -----------> git rev-list -1 --merges 996c7dc504458e30104dd4fabba147269fefd7c5~1..996c7dc504458e30104dd4fabba147269fefd7c5 996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:45:36.143Z] 996c7dc504458e30104dd4fabba147269fefd7c5 [false] [Pipeline] sh [2023-09-11T01:45:36.433Z] + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo [2023-09-11T01:45:36.449Z] ========================================================= [2023-09-11T01:45:36.449Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T01:45:36.449Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:45:36.794Z] + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] echo [2023-09-11T01:45:36.806Z] [semverPrep] GIT_COMMIT: 996c7dc504458e30104dd4fabba147269fefd7c5, Commit Message: Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20 [Pipeline] echo [2023-09-11T01:45:36.816Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T01:45:37.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:45:37.243Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T01:45:37.243Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T01:45:37.243Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T01:45:37.243Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-11T01:45:37.243Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-11T01:45:37.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:45:37.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:45:37.653Z] [2023-09-11T01:45:37.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:45:37.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:45:37.966Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T01:45:37.966Z] b85a868b505f: Pulling fs layer [2023-09-11T01:45:37.966Z] e2be974225ed: Pulling fs layer [2023-09-11T01:45:37.966Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T01:45:37.966Z] 988bab9f4d93: Pulling fs layer [2023-09-11T01:45:37.966Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T01:45:37.966Z] eaf3925da568: Pulling fs layer [2023-09-11T01:45:37.966Z] bab4dde63d76: Pulling fs layer [2023-09-11T01:45:37.966Z] bde34c3a00c8: Pulling fs layer [2023-09-11T01:45:37.966Z] b352a97aabf1: Pulling fs layer [2023-09-11T01:45:37.966Z] 4872d77fe225: Pulling fs layer [2023-09-11T01:45:37.966Z] 5851b861e8e6: Pulling fs layer [2023-09-11T01:45:37.966Z] 1469e6f7b9e6: Waiting [2023-09-11T01:45:37.966Z] eaf3925da568: Waiting [2023-09-11T01:45:37.966Z] bab4dde63d76: Waiting [2023-09-11T01:45:37.966Z] bde34c3a00c8: Waiting [2023-09-11T01:45:37.966Z] b352a97aabf1: Waiting [2023-09-11T01:45:37.966Z] 4872d77fe225: Waiting [2023-09-11T01:45:37.966Z] 5851b861e8e6: Waiting [2023-09-11T01:45:37.966Z] 988bab9f4d93: Waiting [2023-09-11T01:45:37.966Z] e2be974225ed: Download complete [2023-09-11T01:45:37.966Z] 988bab9f4d93: Verifying Checksum [2023-09-11T01:45:37.966Z] 988bab9f4d93: Download complete [2023-09-11T01:45:38.230Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T01:45:38.230Z] 1469e6f7b9e6: Download complete [2023-09-11T01:45:38.230Z] eaf3925da568: Download complete [2023-09-11T01:45:38.230Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T01:45:38.230Z] 339a4e72a1f5: Download complete [2023-09-11T01:45:38.230Z] bde34c3a00c8: Download complete [2023-09-11T01:45:38.230Z] b352a97aabf1: Verifying Checksum [2023-09-11T01:45:38.230Z] b352a97aabf1: Download complete [2023-09-11T01:45:38.230Z] 4872d77fe225: Verifying Checksum [2023-09-11T01:45:38.230Z] 4872d77fe225: Download complete [2023-09-11T01:45:38.230Z] 5851b861e8e6: Verifying Checksum [2023-09-11T01:45:38.230Z] 5851b861e8e6: Download complete [2023-09-11T01:45:38.230Z] b85a868b505f: Verifying Checksum [2023-09-11T01:45:38.230Z] b85a868b505f: Download complete [2023-09-11T01:45:38.801Z] bab4dde63d76: Verifying Checksum [2023-09-11T01:45:38.801Z] bab4dde63d76: Download complete [2023-09-11T01:45:39.739Z] b85a868b505f: Pull complete [2023-09-11T01:45:39.739Z] e2be974225ed: Pull complete [2023-09-11T01:45:40.306Z] 339a4e72a1f5: Pull complete [2023-09-11T01:45:40.306Z] 988bab9f4d93: Pull complete [2023-09-11T01:45:40.570Z] 1469e6f7b9e6: Pull complete [2023-09-11T01:45:40.571Z] eaf3925da568: Pull complete [2023-09-11T01:45:42.493Z] bab4dde63d76: Pull complete [2023-09-11T01:45:42.493Z] bde34c3a00c8: Pull complete [2023-09-11T01:45:42.493Z] b352a97aabf1: Pull complete [2023-09-11T01:45:42.754Z] 4872d77fe225: Pull complete [2023-09-11T01:45:42.755Z] 5851b861e8e6: Pull complete [2023-09-11T01:45:42.755Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T01:45:42.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:45:42.755Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:45:42.848Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:45:42.874Z] $ 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-09-11T01:45:45.251Z] $ docker top ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 -eo pid,comm [2023-09-11T01:45:45.315Z] 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-09-11T01:45:45.315Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:45:45.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:45:45.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:45:45.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:45:45.481Z] $ docker exec ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent [2023-09-11T01:45:45.602Z] SSH_AUTH_SOCK=/tmp/ssh-RtL3h1VLN05y/agent.32 [2023-09-11T01:45:45.602Z] SSH_AGENT_PID=39 [2023-09-11T01:45:45.609Z] Running ssh-add (command line suppressed) [2023-09-11T01:45:45.698Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1295738096257572119.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1295738096257572119.key) [2023-09-11T01:45:45.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:45:46.010Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T01:45:46.021Z] $ docker exec --env ******** --env ******** ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent -k [2023-09-11T01:45:46.135Z] unset SSH_AUTH_SOCK; [2023-09-11T01:45:46.136Z] unset SSH_AGENT_PID; [2023-09-11T01:45:46.136Z] echo Agent pid 39 killed; [2023-09-11T01:45:46.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T01:45:46.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:45:46.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:45:46.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:45:46.286Z] $ docker exec ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent [2023-09-11T01:45:46.399Z] SSH_AUTH_SOCK=/tmp/ssh-fV3E912E2D1U/agent.71 [2023-09-11T01:45:46.399Z] SSH_AGENT_PID=77 [2023-09-11T01:45:46.404Z] Running ssh-add (command line suppressed) [2023-09-11T01:45:46.497Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15104355081888696109.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_15104355081888696109.key) [2023-09-11T01:45:46.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:45:46.806Z] + git semver init [2023-09-11T01:45:47.068Z] 2023-09-11 01:45:46,972 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T01:45:47.068Z] 2023-09-11 01:45:46,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-11T01:45:47.068Z] 2023-09-11 01:45:46,973 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-09-11T01:45:47.068Z] 2023-09-11 01:45:46,974 [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-09-11T01:45:48.009Z] 2023-09-11 01:45:47,793 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-09-11T01:45:48.009Z] 2023-09-11 01:45:47,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-09-11T01:45:48.009Z] 2023-09-11 01:45:47,794 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:45:48.009Z] 2023-09-11 01:45:47,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:45:48.009Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T01:45:48.011Z] $ docker exec --env ******** --env ******** ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 ssh-agent -k [2023-09-11T01:45:48.135Z] unset SSH_AUTH_SOCK; [2023-09-11T01:45:48.137Z] unset SSH_AGENT_PID; [2023-09-11T01:45:48.137Z] echo Agent pid 77 killed; [2023-09-11T01:45:48.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:45:48.455Z] + git semver [Pipeline] } [2023-09-11T01:45:48.725Z] $ docker stop --time=1 ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 [2023-09-11T01:45:50.004Z] $ docker rm -f --volumes ab46ec3434280b910b552ec335752a70bea1262a602cbaa7aa3d2a14a661ac67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:45:50.345Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T01:45:50.568Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T01:45:50.571Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.8 [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-09-11T01:45:50.703Z] provisioning config files... [2023-09-11T01:45:50.714Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16586390080844563845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:45:51.007Z] ---> docker-login.sh [2023-09-11T01:45:51.007Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:45:51.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:51.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:51.007Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:51.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:51.007Z] [2023-09-11T01:45:51.007Z] Login Succeeded [2023-09-11T01:45:51.007Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:45:51.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:51.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:51.007Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:51.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:51.007Z] [2023-09-11T01:45:51.007Z] Login Succeeded [2023-09-11T01:45:51.007Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:45:51.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:51.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:51.266Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:51.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:51.266Z] [2023-09-11T01:45:51.266Z] Login Succeeded [2023-09-11T01:45:51.266Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:45:51.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:51.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:51.266Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:51.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:51.266Z] [2023-09-11T01:45:51.266Z] Login Succeeded [2023-09-11T01:45:51.266Z] docker.io [2023-09-11T01:45:51.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:45:51.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:45:51.526Z] Configure a credential helper to remove this warning. See [2023-09-11T01:45:51.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:45:51.526Z] [2023-09-11T01:45:51.526Z] Login Succeeded [2023-09-11T01:45:51.526Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:45:51.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:45:51.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:45:51.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:45:51.608Z] ========================================================= [2023-09-11T01:45:51.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T01:45:51.608Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:45:51.911Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T01:45:51.911Z] Sending build context to Docker daemon 6.471MB [2023-09-11T01:45:51.911Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:45:51.911Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:45:51.911Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T01:45:51.911Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T01:45:51.911Z] 6911f1a30b25: Pulling fs layer [2023-09-11T01:45:51.911Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T01:45:51.911Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T01:45:51.911Z] ec0bb842ea78: Pulling fs layer [2023-09-11T01:45:51.911Z] 40a00589a448: Pulling fs layer [2023-09-11T01:45:51.911Z] 6c08303d61cc: Pulling fs layer [2023-09-11T01:45:51.911Z] 6863d3e3a2b1: Waiting [2023-09-11T01:45:51.911Z] ec0bb842ea78: Waiting [2023-09-11T01:45:51.911Z] 40a00589a448: Waiting [2023-09-11T01:45:51.911Z] 798269fcf238: Pulling fs layer [2023-09-11T01:45:51.911Z] 6c08303d61cc: Waiting [2023-09-11T01:45:51.911Z] 798269fcf238: Waiting [2023-09-11T01:45:51.911Z] 6911f1a30b25: Download complete [2023-09-11T01:45:51.911Z] 6863d3e3a2b1: Verifying Checksum [2023-09-11T01:45:51.911Z] 6863d3e3a2b1: Download complete [2023-09-11T01:45:51.911Z] ec0bb842ea78: Verifying Checksum [2023-09-11T01:45:51.911Z] ec0bb842ea78: Download complete [2023-09-11T01:45:52.183Z] 4db1b89c0bd1: Verifying Checksum [2023-09-11T01:45:52.183Z] 4db1b89c0bd1: Download complete [2023-09-11T01:45:52.183Z] 40a00589a448: Verifying Checksum [2023-09-11T01:45:52.183Z] 40a00589a448: Download complete [2023-09-11T01:45:52.183Z] 4db1b89c0bd1: Pull complete [2023-09-11T01:45:52.462Z] 6911f1a30b25: Pull complete [2023-09-11T01:45:53.033Z] 798269fcf238: Verifying Checksum [2023-09-11T01:45:53.034Z] 798269fcf238: Download complete [2023-09-11T01:45:53.034Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T01:45:53.034Z] e194b8c5c2a9: Download complete [2023-09-11T01:45:53.292Z] 6c08303d61cc: Verifying Checksum [2023-09-11T01:45:53.292Z] 6c08303d61cc: Download complete [2023-09-11T01:45:56.576Z] e194b8c5c2a9: Pull complete [2023-09-11T01:45:56.576Z] 6863d3e3a2b1: Pull complete [2023-09-11T01:45:56.576Z] ec0bb842ea78: Pull complete [2023-09-11T01:45:56.576Z] 40a00589a448: Pull complete [2023-09-11T01:45:59.118Z] 6c08303d61cc: Pull complete [2023-09-11T01:45:59.686Z] 798269fcf238: Pull complete [2023-09-11T01:45:59.686Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T01:45:59.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T01:45:59.686Z] ---> ec979cd7f677 [2023-09-11T01:45:59.686Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:46:02.975Z] ---> Running in e83ad88ece7c [2023-09-11T01:46:02.975Z] Removing intermediate container e83ad88ece7c [2023-09-11T01:46:02.975Z] ---> 39b37b7190e9 [2023-09-11T01:46:02.975Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:46:02.975Z] ---> Running in 3d64f28b43c7 [2023-09-11T01:46:03.233Z] Removing intermediate container 3d64f28b43c7 [2023-09-11T01:46:03.233Z] ---> 9e4c916c6bed [2023-09-11T01:46:03.233Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:46:03.233Z] ---> Running in 83a4ef512b9d [2023-09-11T01:46:03.233Z] Removing intermediate container 83a4ef512b9d [2023-09-11T01:46:03.233Z] ---> 02ebc935f39a [2023-09-11T01:46:03.233Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:46:03.233Z] ---> Running in 0c16b66a736b [2023-09-11T01:46:03.233Z] Removing intermediate container 0c16b66a736b [2023-09-11T01:46:03.233Z] ---> 026e871a4d29 [2023-09-11T01:46:03.233Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:46:03.491Z] ---> Running in d8e0e1587f74 [2023-09-11T01:46:03.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:46:03.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:46:04.009Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:46:04.009Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:46:04.009Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:46:04.274Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:46:04.274Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:46:04.274Z] OK: 269 MiB in 57 packages [2023-09-11T01:46:04.534Z] Removing intermediate container d8e0e1587f74 [2023-09-11T01:46:04.534Z] ---> 0e59aa2aefcb [2023-09-11T01:46:04.534Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-11T01:46:04.534Z] ---> Running in c34ba03e03b2 [2023-09-11T01:46:04.793Z] Removing intermediate container c34ba03e03b2 [2023-09-11T01:46:04.793Z] ---> 415b0963d6ea [2023-09-11T01:46:04.793Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:46:04.793Z] ---> 5d39ff67a802 [2023-09-11T01:46:04.793Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:46:04.793Z] ---> Running in b5438e174807 [2023-09-11T01:46:05.671Z] Still waiting to schedule task [2023-09-11T01:46:05.671Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5757’ [2023-09-11T01:46:43.518Z] Removing intermediate container b5438e174807 [2023-09-11T01:46:43.518Z] ---> c73f60f05851 [2023-09-11T01:46:43.518Z] Step 11/12 : COPY . . [2023-09-11T01:46:43.518Z] ---> 633c5e9214d9 [2023-09-11T01:46:43.518Z] Step 12/12 : RUN $MAKE [2023-09-11T01:46:43.518Z] ---> Running in 2154e31548ea [2023-09-11T01:46:43.518Z] noop [2023-09-11T01:46:43.518Z] Removing intermediate container 2154e31548ea [2023-09-11T01:46:43.518Z] ---> e769e40c25b5 [2023-09-11T01:46:43.518Z] Successfully built e769e40c25b5 [2023-09-11T01:46:43.518Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:46:43.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:46:43.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:46:43.932Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:46:43.968Z] $ 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-09-11T01:46:44.295Z] $ docker top 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:46:44.628Z] + go version [2023-09-11T01:46:44.628Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T01:46:44.645Z] $ docker stop --time=1 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc [2023-09-11T01:46:45.966Z] $ docker rm -f --volumes 87449cabf295909845936f6bdf08ee4884c4e3e56d7675bcf43146799b4df2fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:46:46.390Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T01:46:46.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:46:46.462Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:46:46.498Z] $ 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-09-11T01:46:46.837Z] $ docker top 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:46:47.178Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:46:47.475Z] + make test [2023-09-11T01:46:47.475Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:46:52.741Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-11T01:47:02.700Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-11T01:47:02.700Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-11T01:47:02.700Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements [2023-09-11T01:47:07.962Z] go vet ./... [2023-09-11T01:47:11.245Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:47:11.245Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:47:11.245Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:47:11.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:47:11.274Z] $ docker stop --time=1 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 [2023-09-11T01:47:15.139Z] $ docker rm -f --volumes 6688bf39070abdcee35db380f5013233e4854dd906e7603d0a766582e2038733 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:47:15.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:47:15.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T01:47:16.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:47:16.519Z] + ls -al . [2023-09-11T01:47:16.520Z] total 188 [2023-09-11T01:47:16.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 01:46 . [2023-09-11T01:47:16.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:45 .. [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 01:45 .dockerignore [2023-09-11T01:47:16.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:45 .git [2023-09-11T01:47:16.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 .github [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:45 .gitignore [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:45 .golangci.yml [2023-09-11T01:47:16.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:45 .semver [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 11 01:45 Attribution.txt [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 11 01:45 CHANGELOG.md [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 11 01:45 Dockerfile [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:45 GOVERNANCE.md [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 11 01:45 Jenkinsfile [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:45 LICENSE [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 11 01:45 Makefile [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:45 OWNERS.md [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 11 01:45 README.md [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:45 VERSION [2023-09-11T01:47:16.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:45 bin [2023-09-11T01:47:16.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 cmd [2023-09-11T01:47:16.520Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 11 01:47 coverage.out [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 11 01:45 go.mod [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:45 go.sum [2023-09-11T01:47:16.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:45 internal [2023-09-11T01:47:16.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:45 mock [2023-09-11T01:47:16.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:45 snap [2023-09-11T01:47:16.520Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 11 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:16.844Z] + 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=996c7dc504458e30104dd4fabba147269fefd7c5 --label arch=amd64 --label version=3.1.0-dev.8 . [2023-09-11T01:47:16.844Z] Sending build context to Docker daemon 6.491MB [2023-09-11T01:47:16.844Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:47:16.844Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-11T01:47:16.844Z] ---> e769e40c25b5 [2023-09-11T01:47:16.844Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:47:17.104Z] ---> Running in 22074ac0d031 [2023-09-11T01:47:17.104Z] Removing intermediate container 22074ac0d031 [2023-09-11T01:47:17.104Z] ---> 45dbb402e099 [2023-09-11T01:47:17.104Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:47:17.104Z] ---> Running in 5aa5368d1b72 [2023-09-11T01:47:17.104Z] Removing intermediate container 5aa5368d1b72 [2023-09-11T01:47:17.104Z] ---> 67ab24ab816f [2023-09-11T01:47:17.104Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:47:17.104Z] ---> Running in 785cfead645e [2023-09-11T01:47:17.364Z] Removing intermediate container 785cfead645e [2023-09-11T01:47:17.364Z] ---> c295c569d21f [2023-09-11T01:47:17.364Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:47:17.364Z] ---> Running in f330e4914136 [2023-09-11T01:47:17.364Z] Removing intermediate container f330e4914136 [2023-09-11T01:47:17.364Z] ---> 76a72342faa0 [2023-09-11T01:47:17.364Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:47:17.364Z] ---> Running in a470161d391e [2023-09-11T01:47:17.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:47:17.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:47:18.141Z] OK: 269 MiB in 57 packages [2023-09-11T01:47:18.400Z] Removing intermediate container a470161d391e [2023-09-11T01:47:18.400Z] ---> a415fd053948 [2023-09-11T01:47:18.400Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-11T01:47:18.400Z] ---> Running in 2110ef8e4603 [2023-09-11T01:47:18.658Z] Removing intermediate container 2110ef8e4603 [2023-09-11T01:47:18.658Z] ---> 8cafc9ad6498 [2023-09-11T01:47:18.658Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-11T01:47:18.658Z] ---> ca5c117dc1ee [2023-09-11T01:47:18.658Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:47:18.658Z] ---> Running in b7dd3e2f3de2 [2023-09-11T01:47:19.226Z] Removing intermediate container b7dd3e2f3de2 [2023-09-11T01:47:19.226Z] ---> f329da2b7865 [2023-09-11T01:47:19.226Z] Step 11/24 : COPY . . [2023-09-11T01:47:19.795Z] ---> 27976301c2a5 [2023-09-11T01:47:19.795Z] Step 12/24 : RUN $MAKE [2023-09-11T01:47:19.795Z] ---> Running in b0dba532d5e1 [2023-09-11T01:47:20.053Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-11T01:47:38.193Z] Removing intermediate container b0dba532d5e1 [2023-09-11T01:47:38.193Z] ---> 8fe139935682 [2023-09-11T01:47:38.193Z] Step 13/24 : FROM alpine:3.17 [2023-09-11T01:47:38.811Z] 3.17: Pulling from library/alpine [2023-09-11T01:47:38.811Z] 9398808236ff: Pulling fs layer [2023-09-11T01:47:39.131Z] 9398808236ff: Verifying Checksum [2023-09-11T01:47:39.131Z] 9398808236ff: Download complete [2023-09-11T01:47:39.131Z] 9398808236ff: Pull complete [2023-09-11T01:47:39.131Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:47:39.131Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:47:39.131Z] ---> 1e0b8b5322fc [2023-09-11T01:47:39.131Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-11T01:47:39.411Z] ---> Running in 2b1d6de66b87 [2023-09-11T01:47:39.411Z] Removing intermediate container 2b1d6de66b87 [2023-09-11T01:47:39.411Z] ---> 97b03056217c [2023-09-11T01:47:39.411Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-11T01:47:39.411Z] ---> Running in 9b679d55d28b [2023-09-11T01:47:39.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T01:47:39.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T01:47:40.197Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T01:47:40.197Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:47:40.197Z] OK: 7 MiB in 16 packages [2023-09-11T01:47:40.455Z] Removing intermediate container 9b679d55d28b [2023-09-11T01:47:40.455Z] ---> c5d36a28a8ad [2023-09-11T01:47:40.455Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-11T01:47:41.044Z] ---> 77d5b55774c0 [2023-09-11T01:47:41.044Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-11T01:47:41.303Z] ---> 545adf577c52 [2023-09-11T01:47:41.303Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-11T01:47:41.303Z] ---> 7d8784347f72 [2023-09-11T01:47:41.303Z] Step 19/24 : EXPOSE 59982 [2023-09-11T01:47:41.303Z] ---> Running in c3eb67a44091 [2023-09-11T01:47:41.303Z] Removing intermediate container c3eb67a44091 [2023-09-11T01:47:41.303Z] ---> 5ec929af6f53 [2023-09-11T01:47:41.303Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-11T01:47:41.605Z] ---> Running in 2eb8da618eb3 [2023-09-11T01:47:41.605Z] Removing intermediate container 2eb8da618eb3 [2023-09-11T01:47:41.605Z] ---> fff5b9d9694f [2023-09-11T01:47:41.605Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T01:47:41.605Z] ---> Running in 8d572cff49ea [2023-09-11T01:47:41.605Z] Removing intermediate container 8d572cff49ea [2023-09-11T01:47:41.605Z] ---> ba00a066eb64 [2023-09-11T01:47:41.605Z] Step 22/24 : LABEL arch=amd64 [2023-09-11T01:47:41.605Z] ---> Running in 47acca884510 [2023-09-11T01:47:41.605Z] Removing intermediate container 47acca884510 [2023-09-11T01:47:41.605Z] ---> fa38c104acac [2023-09-11T01:47:41.605Z] Step 23/24 : LABEL git_sha=996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:47:41.863Z] ---> Running in a1207e88c89e [2023-09-11T01:47:41.863Z] Removing intermediate container a1207e88c89e [2023-09-11T01:47:41.863Z] ---> b0c290dca5d8 [2023-09-11T01:47:41.863Z] Step 24/24 : LABEL version=3.1.0-dev.8 [2023-09-11T01:47:41.863Z] ---> Running in 02ca5be85bc3 [2023-09-11T01:47:42.121Z] Removing intermediate container 02ca5be85bc3 [2023-09-11T01:47:42.121Z] ---> 3987992efbb3 [2023-09-11T01:47:42.121Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:47:42.121Z] Successfully built 3987992efbb3 [2023-09-11T01:47:42.121Z] 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-09-11T01:47:42.234Z] provisioning config files... [2023-09-11T01:47:42.242Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4464380811216289706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:47:42.534Z] ---> docker-login.sh [2023-09-11T01:47:42.534Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:47:42.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:47:42.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:47:42.534Z] Configure a credential helper to remove this warning. See [2023-09-11T01:47:42.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:47:42.534Z] [2023-09-11T01:47:42.534Z] Login Succeeded [2023-09-11T01:47:42.534Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:47:42.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:47:42.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:47:42.534Z] Configure a credential helper to remove this warning. See [2023-09-11T01:47:42.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:47:42.534Z] [2023-09-11T01:47:42.534Z] Login Succeeded [2023-09-11T01:47:42.534Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:47:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:47:42.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:47:42.794Z] Configure a credential helper to remove this warning. See [2023-09-11T01:47:42.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:47:42.794Z] [2023-09-11T01:47:42.794Z] Login Succeeded [2023-09-11T01:47:42.794Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:47:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:47:42.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:47:42.794Z] Configure a credential helper to remove this warning. See [2023-09-11T01:47:42.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:47:42.794Z] [2023-09-11T01:47:42.794Z] Login Succeeded [2023-09-11T01:47:42.794Z] docker.io [2023-09-11T01:47:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:47:43.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:47:43.053Z] Configure a credential helper to remove this warning. See [2023-09-11T01:47:43.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:47:43.053Z] [2023-09-11T01:47:43.053Z] Login Succeeded [2023-09-11T01:47:43.053Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:47:43.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:47:43.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:47:43.103Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-09-11T01:47:43.103Z] 996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:47:43.103Z] latest [2023-09-11T01:47:43.103Z] 3.1.0-dev.8 [2023-09-11T01:47:43.103Z] 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:47:43.103Z] main [2023-09-11T01:47:43.103Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:43.431Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:43.742Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:47:43.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-11T01:47:43.743Z] cc775f451273: Preparing [2023-09-11T01:47:43.743Z] afe437b15bf4: Preparing [2023-09-11T01:47:43.743Z] f85609d76a0d: Preparing [2023-09-11T01:47:43.743Z] 771eb439cf9f: Preparing [2023-09-11T01:47:43.743Z] 36b50b131297: Preparing [2023-09-11T01:47:43.743Z] 36b50b131297: Layer already exists [2023-09-11T01:47:43.743Z] cc775f451273: Pushed [2023-09-11T01:47:43.743Z] 771eb439cf9f: Pushed [2023-09-11T01:47:43.743Z] afe437b15bf4: Pushed [2023-09-11T01:47:46.282Z] f85609d76a0d: Pushed [2023-09-11T01:47:46.282Z] 996c7dc504458e30104dd4fabba147269fefd7c5: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:46.604Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:46.916Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-11T01:47:46.916Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-11T01:47:46.916Z] cc775f451273: Preparing [2023-09-11T01:47:46.916Z] afe437b15bf4: Preparing [2023-09-11T01:47:46.916Z] f85609d76a0d: Preparing [2023-09-11T01:47:46.916Z] 771eb439cf9f: Preparing [2023-09-11T01:47:46.916Z] 36b50b131297: Preparing [2023-09-11T01:47:46.916Z] f85609d76a0d: Layer already exists [2023-09-11T01:47:46.916Z] afe437b15bf4: Layer already exists [2023-09-11T01:47:46.916Z] 771eb439cf9f: Layer already exists [2023-09-11T01:47:46.916Z] cc775f451273: Layer already exists [2023-09-11T01:47:46.916Z] 36b50b131297: Layer already exists [2023-09-11T01:47:46.916Z] latest: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:47.236Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:47.544Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 [2023-09-11T01:47:47.544Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-11T01:47:47.544Z] cc775f451273: Preparing [2023-09-11T01:47:47.544Z] afe437b15bf4: Preparing [2023-09-11T01:47:47.544Z] f85609d76a0d: Preparing [2023-09-11T01:47:47.544Z] 771eb439cf9f: Preparing [2023-09-11T01:47:47.544Z] 36b50b131297: Preparing [2023-09-11T01:47:47.544Z] afe437b15bf4: Layer already exists [2023-09-11T01:47:47.544Z] 36b50b131297: Layer already exists [2023-09-11T01:47:47.544Z] 771eb439cf9f: Layer already exists [2023-09-11T01:47:47.544Z] cc775f451273: Layer already exists [2023-09-11T01:47:47.544Z] f85609d76a0d: Layer already exists [2023-09-11T01:47:47.544Z] 3.1.0-dev.8: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:47.855Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:48.171Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:47:48.171Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-11T01:47:48.171Z] cc775f451273: Preparing [2023-09-11T01:47:48.171Z] afe437b15bf4: Preparing [2023-09-11T01:47:48.171Z] f85609d76a0d: Preparing [2023-09-11T01:47:48.171Z] 771eb439cf9f: Preparing [2023-09-11T01:47:48.171Z] 36b50b131297: Preparing [2023-09-11T01:47:48.171Z] 36b50b131297: Layer already exists [2023-09-11T01:47:48.171Z] f85609d76a0d: Layer already exists [2023-09-11T01:47:48.171Z] 771eb439cf9f: Layer already exists [2023-09-11T01:47:48.171Z] cc775f451273: Layer already exists [2023-09-11T01:47:48.171Z] afe437b15bf4: Layer already exists [2023-09-11T01:47:48.171Z] 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:48.491Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:48.803Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-09-11T01:47:48.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-09-11T01:47:48.803Z] cc775f451273: Preparing [2023-09-11T01:47:48.803Z] afe437b15bf4: Preparing [2023-09-11T01:47:48.803Z] f85609d76a0d: Preparing [2023-09-11T01:47:48.803Z] 771eb439cf9f: Preparing [2023-09-11T01:47:48.803Z] 36b50b131297: Preparing [2023-09-11T01:47:48.803Z] cc775f451273: Layer already exists [2023-09-11T01:47:48.803Z] 36b50b131297: Layer already exists [2023-09-11T01:47:48.803Z] f85609d76a0d: Layer already exists [2023-09-11T01:47:48.803Z] afe437b15bf4: Layer already exists [2023-09-11T01:47:48.803Z] 771eb439cf9f: Layer already exists [2023-09-11T01:47:48.803Z] main: digest: sha256:a0a23fc8d7c8e5da384bdb669a885c4be271b5be9a330478c3e62eb1cd7d2ac6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:47:48.845Z] ===================================================== [Pipeline] echo [2023-09-11T01:47:48.853Z] taggedImages: [2023-09-11T01:47:48.853Z] - nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:47:48.853Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-09-11T01:47:48.853Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0-dev.8 [2023-09-11T01:47:48.853Z] - nexus3.edgexfoundry.org:10004/device-mqtt:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:47:48.853Z] - 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-09-11T01:47:49.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:47:49.243Z] [2023-09-11T01:47:49.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:47:49.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:47:49.551Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T01:47:49.551Z] 5eb5b503b376: Pulling fs layer [2023-09-11T01:47:49.551Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T01:47:49.551Z] ec43610c2a17: Pulling fs layer [2023-09-11T01:47:49.551Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T01:47:49.551Z] 33b1e0a273af: Pulling fs layer [2023-09-11T01:47:49.551Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T01:47:49.551Z] 2f39f015ded8: Pulling fs layer [2023-09-11T01:47:49.551Z] 3a2ae6a8a46f: Waiting [2023-09-11T01:47:49.551Z] 33b1e0a273af: Waiting [2023-09-11T01:47:49.551Z] 5d3b04190fa2: Waiting [2023-09-11T01:47:49.551Z] 2f39f015ded8: Waiting [2023-09-11T01:47:49.551Z] 5c69ac0246d0: Download complete [2023-09-11T01:47:49.551Z] 3a2ae6a8a46f: Download complete [2023-09-11T01:47:49.824Z] 33b1e0a273af: Verifying Checksum [2023-09-11T01:47:49.824Z] 33b1e0a273af: Download complete [2023-09-11T01:47:49.824Z] 5d3b04190fa2: Verifying Checksum [2023-09-11T01:47:49.824Z] 5d3b04190fa2: Download complete [2023-09-11T01:47:49.824Z] ec43610c2a17: Verifying Checksum [2023-09-11T01:47:49.824Z] 5eb5b503b376: Verifying Checksum [2023-09-11T01:47:49.824Z] 5eb5b503b376: Download complete [2023-09-11T01:47:50.767Z] 2f39f015ded8: Verifying Checksum [2023-09-11T01:47:50.767Z] 2f39f015ded8: Download complete [2023-09-11T01:47:51.026Z] 5eb5b503b376: Pull complete [2023-09-11T01:47:51.286Z] 5c69ac0246d0: Pull complete [2023-09-11T01:47:51.545Z] ec43610c2a17: Pull complete [2023-09-11T01:47:51.545Z] 3a2ae6a8a46f: Pull complete [2023-09-11T01:47:51.804Z] 33b1e0a273af: Pull complete [2023-09-11T01:47:51.804Z] 5d3b04190fa2: Pull complete [2023-09-11T01:47:55.988Z] 2f39f015ded8: Pull complete [2023-09-11T01:47:55.988Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T01:47:55.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:47:55.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:47:56.071Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:47:56.116Z] $ 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-09-11T01:47:59.380Z] $ docker top 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:47:59.776Z] ---> job-cost.sh [2023-09-11T01:47:59.776Z] lf-activate-venv: SKIPPING [2023-09-11T01:47:59.776Z] INFO: No Stack... [2023-09-11T01:48:00.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:48:00.294Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:48:00.582Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-09-11T01:48:00.582Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:48:00.595Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [2023-09-11T01:48:00.603Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] did not exist. Created. [2023-09-11T01:48:00.603Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:48:00.905Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T01:48:00.938Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:48:00.944Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:48:00.966Z] $ docker stop --time=1 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 [2023-09-11T01:48:02.139Z] $ docker rm -f --volumes 1b85c211aca4fd9f7f8356e27ea600c38f3ddd0718a24f5fd2b22a8cad0dc4a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-11T01:49:43.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5762 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-09-11T01:49:43.930Z] Running in /w/workspace/device-mqtt-go/136 [Pipeline] { [Pipeline] checkout [2023-09-11T01:49:43.957Z] The recommended git tool is: git [2023-09-11T01:49:48.971Z] using credential edgex-jenkins-ssh [2023-09-11T01:49:48.993Z] Cloning the remote Git repository [2023-09-11T01:49:49.028Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-11T01:49:49.115Z] > git init /w/workspace/device-mqtt-go/136 # timeout=10 [2023-09-11T01:49:49.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-11T01:49:49.245Z] > git --version # timeout=10 [2023-09-11T01:49:49.265Z] > git --version # 'git version 2.25.1' [2023-09-11T01:49:49.267Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T01:49:49.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:49:53.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-11T01:49:53.516Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T01:49:54.339Z] Avoid second fetch [2023-09-11T01:49:54.339Z] Checking out Revision 996c7dc504458e30104dd4fabba147269fefd7c5 (main) [2023-09-11T01:49:54.846Z] Commit message: "Merge pull request #623 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:49:54.353Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T01:49:54.423Z] > git checkout -f 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 [2023-09-11T01:49:55.753Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T01:49:55.753Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:49:55.753Z] Dload Upload Total Spent Left Speed [2023-09-11T01:49:55.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-09-11T01:49:56.387Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T01:49:56.718Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T01:49:56.718Z] + sudo tee /etc/docker/daemon.new [2023-09-11T01:49:56.718Z] { [2023-09-11T01:49:56.718Z] "registry-mirrors": [ [2023-09-11T01:49:56.718Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T01:49:56.718Z] ], [2023-09-11T01:49:56.718Z] "bip": "10.250.0.254/24", [2023-09-11T01:49:56.718Z] "hosts": [ [2023-09-11T01:49:56.718Z] "tcp://0.0.0.0:5555", [2023-09-11T01:49:56.718Z] "unix:///var/run/docker.sock" [2023-09-11T01:49:56.718Z] ], [2023-09-11T01:49:56.718Z] "mtu": 1458, [2023-09-11T01:49:56.718Z] "selinux-enabled": true, [2023-09-11T01:49:56.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T01:49:56.718Z] } [Pipeline] sh [2023-09-11T01:49:57.048Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T01:49:57.379Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:50:15.631Z] provisioning config files... [2023-09-11T01:50:15.656Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/136@tmp/config17604306103623983333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:50:16.007Z] ---> docker-login.sh [2023-09-11T01:50:16.007Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:50:16.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:50:16.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:50:16.545Z] Configure a credential helper to remove this warning. See [2023-09-11T01:50:16.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:50:16.545Z] [2023-09-11T01:50:16.545Z] Login Succeeded [2023-09-11T01:50:16.545Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:50:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:50:16.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:50:16.815Z] Configure a credential helper to remove this warning. See [2023-09-11T01:50:16.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:50:16.815Z] [2023-09-11T01:50:16.815Z] Login Succeeded [2023-09-11T01:50:16.815Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:50:17.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:50:17.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:50:17.352Z] Configure a credential helper to remove this warning. See [2023-09-11T01:50:17.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:50:17.352Z] [2023-09-11T01:50:17.352Z] Login Succeeded [2023-09-11T01:50:17.352Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:50:17.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:50:17.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:50:17.623Z] Configure a credential helper to remove this warning. See [2023-09-11T01:50:17.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:50:17.623Z] [2023-09-11T01:50:17.623Z] Login Succeeded [2023-09-11T01:50:17.623Z] docker.io [2023-09-11T01:50:17.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:50:18.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:50:18.159Z] Configure a credential helper to remove this warning. See [2023-09-11T01:50:18.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:50:18.160Z] [2023-09-11T01:50:18.160Z] Login Succeeded [2023-09-11T01:50:18.160Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:50:18.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T01:50:18.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:50:18.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:50:18.448Z] ========================================================= [2023-09-11T01:50:18.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T01:50:18.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:50:18.792Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T01:50:19.060Z] Sending build context to Docker daemon 3.347MB [2023-09-11T01:50:19.060Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:50:19.060Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-11T01:50:22.405Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T01:50:22.405Z] edb6bdbacee9: Pulling fs layer [2023-09-11T01:50:22.405Z] 5f9638ab2659: Pulling fs layer [2023-09-11T01:50:22.405Z] 8d51d6327a98: Pulling fs layer [2023-09-11T01:50:22.405Z] 8b374f2dd631: Pulling fs layer [2023-09-11T01:50:22.405Z] ec14aa9079de: Pulling fs layer [2023-09-11T01:50:22.405Z] 2f466654f4bb: Pulling fs layer [2023-09-11T01:50:22.405Z] 554e91adad29: Pulling fs layer [2023-09-11T01:50:22.405Z] ec14aa9079de: Waiting [2023-09-11T01:50:22.405Z] 554e91adad29: Waiting [2023-09-11T01:50:22.405Z] 2f466654f4bb: Waiting [2023-09-11T01:50:22.405Z] 8b374f2dd631: Waiting [2023-09-11T01:50:22.405Z] 5f9638ab2659: Verifying Checksum [2023-09-11T01:50:22.405Z] 5f9638ab2659: Download complete [2023-09-11T01:50:22.405Z] 8b374f2dd631: Verifying Checksum [2023-09-11T01:50:22.405Z] 8b374f2dd631: Download complete [2023-09-11T01:50:22.405Z] ec14aa9079de: Verifying Checksum [2023-09-11T01:50:22.405Z] ec14aa9079de: Download complete [2023-09-11T01:50:22.405Z] edb6bdbacee9: Download complete [2023-09-11T01:50:23.002Z] edb6bdbacee9: Pull complete [2023-09-11T01:50:23.590Z] 554e91adad29: Verifying Checksum [2023-09-11T01:50:23.590Z] 554e91adad29: Download complete [2023-09-11T01:50:23.590Z] 5f9638ab2659: Pull complete [2023-09-11T01:50:24.564Z] 8d51d6327a98: Verifying Checksum [2023-09-11T01:50:24.564Z] 8d51d6327a98: Download complete [2023-09-11T01:50:24.564Z] 2f466654f4bb: Download complete [2023-09-11T01:50:36.884Z] 8d51d6327a98: Pull complete [2023-09-11T01:50:36.884Z] 8b374f2dd631: Pull complete [2023-09-11T01:50:36.884Z] ec14aa9079de: Pull complete [2023-09-11T01:50:42.229Z] 2f466654f4bb: Pull complete [2023-09-11T01:50:44.176Z] 554e91adad29: Pull complete [2023-09-11T01:50:44.176Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T01:50:44.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T01:50:44.443Z] ---> 1e15ea492957 [2023-09-11T01:50:44.443Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:50:46.388Z] ---> Running in 8a5dd67fd67a [2023-09-11T01:50:46.388Z] Removing intermediate container 8a5dd67fd67a [2023-09-11T01:50:46.388Z] ---> 8509ebc487af [2023-09-11T01:50:46.388Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:50:46.655Z] ---> Running in de207c6c6001 [2023-09-11T01:50:46.922Z] Removing intermediate container de207c6c6001 [2023-09-11T01:50:46.922Z] ---> a145cc3a95a8 [2023-09-11T01:50:46.922Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:50:46.922Z] ---> Running in c37a82128523 [2023-09-11T01:50:47.188Z] Removing intermediate container c37a82128523 [2023-09-11T01:50:47.189Z] ---> fc4fd15504a7 [2023-09-11T01:50:47.189Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:50:47.189Z] ---> Running in b5abe5a449c8 [2023-09-11T01:50:47.466Z] Removing intermediate container b5abe5a449c8 [2023-09-11T01:50:47.466Z] ---> ebaa94e292ab [2023-09-11T01:50:47.466Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:50:47.806Z] ---> Running in 53f039258468 [2023-09-11T01:50:48.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:50:49.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:50:50.323Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T01:50:50.323Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-11T01:50:50.323Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T01:50:50.323Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T01:50:50.323Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:50:50.592Z] OK: 268 MiB in 57 packages [2023-09-11T01:50:51.552Z] Removing intermediate container 53f039258468 [2023-09-11T01:50:51.552Z] ---> 8148a1b7dc46 [2023-09-11T01:50:51.552Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-11T01:50:51.552Z] ---> Running in 67576093c81b [2023-09-11T01:50:51.819Z] Removing intermediate container 67576093c81b [2023-09-11T01:50:51.819Z] ---> be65dbb38277 [2023-09-11T01:50:51.819Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-11T01:50:52.414Z] ---> 5a69ae3970d7 [2023-09-11T01:50:52.414Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:50:52.414Z] ---> Running in 623a117ea07e [2023-09-11T01:52:00.299Z] Removing intermediate container 623a117ea07e [2023-09-11T01:52:00.299Z] ---> 6e48678bdd40 [2023-09-11T01:52:00.299Z] Step 11/12 : COPY . . [2023-09-11T01:52:00.299Z] ---> 4ab419091dc7 [2023-09-11T01:52:00.299Z] Step 12/12 : RUN $MAKE [2023-09-11T01:52:00.299Z] ---> Running in 7dcc07130ff6 [2023-09-11T01:52:00.299Z] noop [2023-09-11T01:52:00.299Z] Removing intermediate container 7dcc07130ff6 [2023-09-11T01:52:00.299Z] ---> 404646e123fc [2023-09-11T01:52:00.299Z] Successfully built 404646e123fc [2023-09-11T01:52:00.299Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:52:00.646Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:52:00.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:52:00.829Z] prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container [2023-09-11T01:52:00.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@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-09-11T01:52:01.971Z] $ docker top 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:52:02.782Z] + go version [2023-09-11T01:52:02.782Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-11T01:52:02.808Z] $ docker stop --time=1 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c [2023-09-11T01:52:04.398Z] $ docker rm -f --volumes 30672757f4960ff128676b2e7a34e2a296262facb7879551d86f9afd1aa8d95c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:52:04.891Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T01:52:04.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:52:05.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container [2023-09-11T01:52:05.122Z] $ 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/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@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-09-11T01:52:06.166Z] $ docker top cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:52:06.644Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/136 [Pipeline] fileExists [Pipeline] sh [2023-09-11T01:52:06.969Z] + make test [2023-09-11T01:52:06.969Z] go test ./... -coverprofile=coverage.out ./... [2023-09-11T01:52:39.181Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-11T01:54:45.912Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-11T01:54:45.912Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-11T01:54:45.912Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.080s coverage: 22.8% of statements [2023-09-11T01:54:45.912Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T01:54:45.912Z] go vet ./... [2023-09-11T01:55:04.321Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T01:55:04.321Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T01:55:04.321Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T01:55:04.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T01:55:04.950Z] $ docker stop --time=1 cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d [2023-09-11T01:55:08.172Z] $ docker rm -f --volumes cfe67a1ee812b7c8728141ce135c542a07082258affc3a99f50a3cdf1875149d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:55:09.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T01:55:09.310Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T01:55:09.701Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T01:55:10.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T01:55:10.418Z] + ls -al . [2023-09-11T01:55:10.418Z] total 184 [2023-09-11T01:55:10.418Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 01:52 . [2023-09-11T01:55:10.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:49 .. [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 01:49 .dockerignore [2023-09-11T01:55:10.418Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 01:49 .git [2023-09-11T01:55:10.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 .github [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 11 01:49 .gitignore [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 01:49 .golangci.yml [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 11 01:49 Attribution.txt [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 11 01:49 CHANGELOG.md [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 11 01:49 Dockerfile [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 01:49 GOVERNANCE.md [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 11 01:49 Jenkinsfile [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 01:49 LICENSE [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 11 01:49 Makefile [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 11 01:49 OWNERS.md [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 11 01:49 README.md [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 01:45 VERSION [2023-09-11T01:55:10.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:49 bin [2023-09-11T01:55:10.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 cmd [2023-09-11T01:55:10.418Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 11 01:54 coverage.out [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 11 01:49 go.mod [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 11 01:49 go.sum [2023-09-11T01:55:10.418Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 01:49 internal [2023-09-11T01:55:10.418Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 01:49 mock [2023-09-11T01:55:10.418Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 01:49 snap [2023-09-11T01:55:10.418Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 11 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:55:10.754Z] + 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=996c7dc504458e30104dd4fabba147269fefd7c5 --label arch=arm64 --label version=3.1.0-dev.8 . [2023-09-11T01:55:11.023Z] Sending build context to Docker daemon 3.366MB [2023-09-11T01:55:11.023Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T01:55:11.023Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-11T01:55:11.023Z] ---> 404646e123fc [2023-09-11T01:55:11.023Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-11T01:55:11.023Z] ---> Running in a7093e31c447 [2023-09-11T01:55:11.291Z] Removing intermediate container a7093e31c447 [2023-09-11T01:55:11.291Z] ---> da467b7bb661 [2023-09-11T01:55:11.291Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T01:55:11.558Z] ---> Running in 155a66853f1d [2023-09-11T01:55:11.823Z] Removing intermediate container 155a66853f1d [2023-09-11T01:55:11.823Z] ---> 7e29b98dbac6 [2023-09-11T01:55:11.823Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-11T01:55:11.823Z] ---> Running in 8811fda59842 [2023-09-11T01:55:12.092Z] Removing intermediate container 8811fda59842 [2023-09-11T01:55:12.092Z] ---> db5dad34e37e [2023-09-11T01:55:12.092Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-11T01:55:12.092Z] ---> Running in 5e279e69f26d [2023-09-11T01:55:12.360Z] Removing intermediate container 5e279e69f26d [2023-09-11T01:55:12.360Z] ---> 5b158992ecd2 [2023-09-11T01:55:12.360Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-11T01:55:12.628Z] ---> Running in ef8067fa351f [2023-09-11T01:55:13.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:55:14.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:55:15.145Z] OK: 268 MiB in 57 packages [2023-09-11T01:55:16.106Z] Removing intermediate container ef8067fa351f [2023-09-11T01:55:16.106Z] ---> 69c130f76731 [2023-09-11T01:55:16.106Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-11T01:55:16.106Z] ---> Running in c74e4d14891d [2023-09-11T01:55:16.373Z] Removing intermediate container c74e4d14891d [2023-09-11T01:55:16.373Z] ---> f9b27cf99032 [2023-09-11T01:55:16.373Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-11T01:55:16.641Z] ---> 662277cf66d5 [2023-09-11T01:55:16.641Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T01:55:16.911Z] ---> Running in e9143db12037 [2023-09-11T01:55:20.249Z] Removing intermediate container e9143db12037 [2023-09-11T01:55:20.249Z] ---> d001befd8d84 [2023-09-11T01:55:20.249Z] Step 11/24 : COPY . . [2023-09-11T01:55:20.831Z] ---> cc5aea666c40 [2023-09-11T01:55:20.831Z] Step 12/24 : RUN $MAKE [2023-09-11T01:55:20.831Z] ---> Running in 81854baf292f [2023-09-11T01:55:21.790Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-11T01:57:43.505Z] Removing intermediate container 81854baf292f [2023-09-11T01:57:43.505Z] ---> 5be7eb1d8a68 [2023-09-11T01:57:43.505Z] Step 13/24 : FROM alpine:3.17 [2023-09-11T01:57:43.505Z] 3.17: Pulling from library/alpine [2023-09-11T01:57:43.505Z] 4060ece20d7a: Pulling fs layer [2023-09-11T01:57:43.505Z] 4060ece20d7a: Download complete [2023-09-11T01:57:43.505Z] 4060ece20d7a: Pull complete [2023-09-11T01:57:43.505Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T01:57:43.505Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T01:57:43.505Z] ---> 8650cd65339b [2023-09-11T01:57:43.505Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-11T01:57:43.505Z] ---> Running in 62498fe59703 [2023-09-11T01:57:43.505Z] Removing intermediate container 62498fe59703 [2023-09-11T01:57:43.505Z] ---> ae6e342236fb [2023-09-11T01:57:43.505Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-11T01:57:43.505Z] ---> Running in 5e75743235f4 [2023-09-11T01:57:43.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T01:57:43.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T01:57:43.505Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T01:57:43.505Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T01:57:43.505Z] OK: 8 MiB in 16 packages [2023-09-11T01:57:43.505Z] Removing intermediate container 5e75743235f4 [2023-09-11T01:57:43.505Z] ---> 2b31244727b9 [2023-09-11T01:57:43.505Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-11T01:57:43.505Z] ---> 5727f32b0fc5 [2023-09-11T01:57:43.505Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-11T01:57:43.505Z] ---> 8afc047a8e30 [2023-09-11T01:57:43.505Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-11T01:57:43.505Z] ---> 31c61e6086b3 [2023-09-11T01:57:43.505Z] Step 19/24 : EXPOSE 59982 [2023-09-11T01:57:43.505Z] ---> Running in 83f1b84d6a4e [2023-09-11T01:57:43.505Z] Removing intermediate container 83f1b84d6a4e [2023-09-11T01:57:43.505Z] ---> 6ba543562479 [2023-09-11T01:57:43.505Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-11T01:57:43.505Z] ---> Running in 9a2bbf7a98d3 [2023-09-11T01:57:43.505Z] Removing intermediate container 9a2bbf7a98d3 [2023-09-11T01:57:43.505Z] ---> e640c17ea7d5 [2023-09-11T01:57:43.505Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T01:57:43.505Z] ---> Running in d62028166cfe [2023-09-11T01:57:43.505Z] Removing intermediate container d62028166cfe [2023-09-11T01:57:43.505Z] ---> 7fa63481a900 [2023-09-11T01:57:43.505Z] Step 22/24 : LABEL arch=arm64 [2023-09-11T01:57:43.505Z] ---> Running in eaea8c753fb6 [2023-09-11T01:57:43.505Z] Removing intermediate container eaea8c753fb6 [2023-09-11T01:57:43.505Z] ---> 4de15e4bf735 [2023-09-11T01:57:43.505Z] Step 23/24 : LABEL git_sha=996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:57:43.505Z] ---> Running in 8e7f1ea55ec8 [2023-09-11T01:57:43.505Z] Removing intermediate container 8e7f1ea55ec8 [2023-09-11T01:57:43.505Z] ---> 8cd10f834ced [2023-09-11T01:57:43.505Z] Step 24/24 : LABEL version=3.1.0-dev.8 [2023-09-11T01:57:43.505Z] ---> Running in f12ec4ea8f12 [2023-09-11T01:57:43.773Z] Removing intermediate container f12ec4ea8f12 [2023-09-11T01:57:43.773Z] ---> 3e7626581df0 [2023-09-11T01:57:43.773Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T01:57:43.773Z] Successfully built 3e7626581df0 [2023-09-11T01:57:43.773Z] 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-09-11T01:57:43.881Z] provisioning config files... [2023-09-11T01:57:43.896Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/136@tmp/config11306415975891434958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:57:44.226Z] ---> docker-login.sh [2023-09-11T01:57:44.226Z] nexus3.edgexfoundry.org:10001 [2023-09-11T01:57:44.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:57:44.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:57:44.494Z] Configure a credential helper to remove this warning. See [2023-09-11T01:57:44.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:57:44.494Z] [2023-09-11T01:57:44.494Z] Login Succeeded [2023-09-11T01:57:44.494Z] nexus3.edgexfoundry.org:10002 [2023-09-11T01:57:44.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:57:44.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:57:44.760Z] Configure a credential helper to remove this warning. See [2023-09-11T01:57:44.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:57:44.760Z] [2023-09-11T01:57:44.760Z] Login Succeeded [2023-09-11T01:57:44.760Z] nexus3.edgexfoundry.org:10003 [2023-09-11T01:57:45.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:57:45.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:57:45.297Z] Configure a credential helper to remove this warning. See [2023-09-11T01:57:45.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:57:45.297Z] [2023-09-11T01:57:45.297Z] Login Succeeded [2023-09-11T01:57:45.297Z] nexus3.edgexfoundry.org:10004 [2023-09-11T01:57:45.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:57:45.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:57:45.564Z] Configure a credential helper to remove this warning. See [2023-09-11T01:57:45.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:57:45.564Z] [2023-09-11T01:57:45.564Z] Login Succeeded [2023-09-11T01:57:45.564Z] docker.io [2023-09-11T01:57:45.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T01:57:46.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T01:57:46.100Z] Configure a credential helper to remove this warning. See [2023-09-11T01:57:46.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T01:57:46.100Z] [2023-09-11T01:57:46.100Z] Login Succeeded [2023-09-11T01:57:46.100Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T01:57:46.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:57:46.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T01:57:46.158Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-09-11T01:57:46.158Z] 996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:57:46.158Z] latest [2023-09-11T01:57:46.158Z] 3.1.0-dev.8 [2023-09-11T01:57:46.158Z] 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:57:46.158Z] main [2023-09-11T01:57:46.158Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:46.502Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:46.843Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:57:46.843Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-11T01:57:46.843Z] 4b9765397835: Preparing [2023-09-11T01:57:46.843Z] fd1dcabef51d: Preparing [2023-09-11T01:57:46.843Z] 795efaa36795: Preparing [2023-09-11T01:57:46.843Z] 4b7842448bdf: Preparing [2023-09-11T01:57:46.843Z] d2d9d24a8c2a: Preparing [2023-09-11T01:57:46.843Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:57:47.110Z] 4b7842448bdf: Pushed [2023-09-11T01:57:47.110Z] 4b9765397835: Pushed [2023-09-11T01:57:47.110Z] fd1dcabef51d: Pushed [2023-09-11T01:57:53.750Z] 795efaa36795: Pushed [2023-09-11T01:57:53.750Z] 996c7dc504458e30104dd4fabba147269fefd7c5: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:54.096Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:54.432Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-11T01:57:54.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-11T01:57:54.432Z] 4b9765397835: Preparing [2023-09-11T01:57:54.432Z] fd1dcabef51d: Preparing [2023-09-11T01:57:54.432Z] 795efaa36795: Preparing [2023-09-11T01:57:54.432Z] 4b7842448bdf: Preparing [2023-09-11T01:57:54.432Z] d2d9d24a8c2a: Preparing [2023-09-11T01:57:54.432Z] 4b7842448bdf: Layer already exists [2023-09-11T01:57:54.432Z] 795efaa36795: Layer already exists [2023-09-11T01:57:54.432Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:57:54.432Z] fd1dcabef51d: Layer already exists [2023-09-11T01:57:54.432Z] 4b9765397835: Layer already exists [2023-09-11T01:57:54.432Z] latest: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:54.810Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:55.178Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 [2023-09-11T01:57:55.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-11T01:57:55.179Z] 4b9765397835: Preparing [2023-09-11T01:57:55.179Z] fd1dcabef51d: Preparing [2023-09-11T01:57:55.179Z] 795efaa36795: Preparing [2023-09-11T01:57:55.179Z] 4b7842448bdf: Preparing [2023-09-11T01:57:55.179Z] d2d9d24a8c2a: Preparing [2023-09-11T01:57:55.179Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:57:55.179Z] fd1dcabef51d: Layer already exists [2023-09-11T01:57:55.179Z] 4b9765397835: Layer already exists [2023-09-11T01:57:55.179Z] 4b7842448bdf: Layer already exists [2023-09-11T01:57:55.179Z] 795efaa36795: Layer already exists [2023-09-11T01:57:55.179Z] 3.1.0-dev.8: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:55.574Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:55.924Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:57:55.924Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-11T01:57:55.924Z] 4b9765397835: Preparing [2023-09-11T01:57:55.924Z] fd1dcabef51d: Preparing [2023-09-11T01:57:55.924Z] 795efaa36795: Preparing [2023-09-11T01:57:55.924Z] 4b7842448bdf: Preparing [2023-09-11T01:57:55.924Z] d2d9d24a8c2a: Preparing [2023-09-11T01:57:55.924Z] fd1dcabef51d: Layer already exists [2023-09-11T01:57:55.924Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:57:55.924Z] 4b7842448bdf: Layer already exists [2023-09-11T01:57:55.924Z] 4b9765397835: Layer already exists [2023-09-11T01:57:55.924Z] 795efaa36795: Layer already exists [2023-09-11T01:57:55.924Z] 996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:56.267Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:56.605Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-09-11T01:57:56.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-09-11T01:57:56.605Z] 4b9765397835: Preparing [2023-09-11T01:57:56.605Z] fd1dcabef51d: Preparing [2023-09-11T01:57:56.605Z] 795efaa36795: Preparing [2023-09-11T01:57:56.605Z] 4b7842448bdf: Preparing [2023-09-11T01:57:56.605Z] d2d9d24a8c2a: Preparing [2023-09-11T01:57:56.605Z] d2d9d24a8c2a: Layer already exists [2023-09-11T01:57:56.605Z] 4b9765397835: Layer already exists [2023-09-11T01:57:56.605Z] 4b7842448bdf: Layer already exists [2023-09-11T01:57:56.605Z] fd1dcabef51d: Layer already exists [2023-09-11T01:57:56.605Z] 795efaa36795: Layer already exists [2023-09-11T01:57:56.873Z] main: digest: sha256:76dae1c5066f0949ba8a05f96aa2888945e6f0153b97cd79f559c24d7d93e93b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T01:57:56.916Z] ===================================================== [Pipeline] echo [2023-09-11T01:57:56.922Z] taggedImages: [2023-09-11T01:57:56.922Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5 [2023-09-11T01:57:56.922Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-09-11T01:57:56.922Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0-dev.8 [2023-09-11T01:57:56.922Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:996c7dc504458e30104dd4fabba147269fefd7c5-3.1.0-dev.8 [2023-09-11T01:57:56.922Z] - 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-09-11T01:57:57.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:57:57.283Z] [2023-09-11T01:57:57.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:57:57.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:57:57.612Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T01:57:57.612Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T01:57:57.612Z] 04944245beec: Pulling fs layer [2023-09-11T01:57:57.612Z] 699f458cf7ca: Pulling fs layer [2023-09-11T01:57:57.612Z] 765212b225bb: Pulling fs layer [2023-09-11T01:57:57.612Z] f23df028b6ca: Pulling fs layer [2023-09-11T01:57:57.612Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T01:57:57.612Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T01:57:57.612Z] 765212b225bb: Waiting [2023-09-11T01:57:57.612Z] f23df028b6ca: Waiting [2023-09-11T01:57:57.612Z] d65c8cfc05b1: Waiting [2023-09-11T01:57:57.612Z] 2437ff75d9bd: Waiting [2023-09-11T01:57:57.880Z] 04944245beec: Verifying Checksum [2023-09-11T01:57:57.880Z] 04944245beec: Download complete [2023-09-11T01:57:57.880Z] 765212b225bb: Verifying Checksum [2023-09-11T01:57:57.880Z] 765212b225bb: Download complete [2023-09-11T01:57:57.880Z] f23df028b6ca: Verifying Checksum [2023-09-11T01:57:57.880Z] f23df028b6ca: Download complete [2023-09-11T01:57:57.880Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T01:57:57.880Z] d65c8cfc05b1: Download complete [2023-09-11T01:57:58.147Z] 699f458cf7ca: Verifying Checksum [2023-09-11T01:57:58.148Z] 699f458cf7ca: Download complete [2023-09-11T01:57:58.416Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T01:57:58.416Z] 8998bd30e6a1: Download complete [2023-09-11T01:58:00.997Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T01:58:00.997Z] 2437ff75d9bd: Download complete [2023-09-11T01:58:02.401Z] 8998bd30e6a1: Pull complete [2023-09-11T01:58:02.997Z] 04944245beec: Pull complete [2023-09-11T01:58:04.403Z] 699f458cf7ca: Pull complete [2023-09-11T01:58:04.403Z] 765212b225bb: Pull complete [2023-09-11T01:58:05.364Z] f23df028b6ca: Pull complete [2023-09-11T01:58:05.364Z] d65c8cfc05b1: Pull complete [2023-09-11T01:58:20.355Z] 2437ff75d9bd: Pull complete [2023-09-11T01:58:20.355Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T01:58:20.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T01:58:20.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:58:20.536Z] prd-ubuntu20.04-docker-arm64-4c-16g-5762 does not seem to be running inside a container [2023-09-11T01:58:20.614Z] $ 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/136 -v /w/workspace/device-mqtt-go/136:/w/workspace/device-mqtt-go/136:rw,z -v /w/workspace/device-mqtt-go/136@tmp:/w/workspace/device-mqtt-go/136@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-09-11T01:58:23.346Z] $ docker top 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:58:24.194Z] ---> job-cost.sh [2023-09-11T01:58:24.194Z] lf-activate-venv: SKIPPING [2023-09-11T01:58:24.194Z] INFO: No Stack... [2023-09-11T01:58:24.462Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T01:58:25.423Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T01:58:26.060Z] + cat /w/workspace/device-mqtt-go/136/archives/cost.csv [2023-09-11T01:58:26.060Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T01:58:26.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [2023-09-11T01:58:26.136Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] did not exist. Created. [2023-09-11T01:58:26.136Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T01:58:26.796Z] /w/workspace/device-mqtt-go/136@tmp/durable-8a3389bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T01:58:27.453Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T01:58:27.477Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T01:58:27.537Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T01:58:27.544Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-136-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T01:58:27.579Z] $ docker stop --time=1 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 [2023-09-11T01:58:29.928Z] $ docker rm -f --volumes 004cd0325d1f5a0a7ebf81e04a0cabaee7cf805fc9017320a6d2406498244974 [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-09-11T01:58:30.390Z] provisioning config files... [2023-09-11T01:58:30.397Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1808327827236181708tmp [Pipeline] { [Pipeline] sh [2023-09-11T01:58:30.686Z] + set +x [2023-09-11T01:58:30.686Z] + curl -s https://codecov.io/bash [2023-09-11T01:58:30.686Z] + bash -s -- [2023-09-11T01:58:30.686Z] [2023-09-11T01:58:30.686Z] _____ _ [2023-09-11T01:58:30.686Z] / ____| | | [2023-09-11T01:58:30.686Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T01:58:30.686Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T01:58:30.686Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T01:58:30.686Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T01:58:30.686Z] Bash-1.0.6 [2023-09-11T01:58:30.686Z] [2023-09-11T01:58:30.686Z] [2023-09-11T01:58:30.686Z] ==> git version 2.25.1 found [2023-09-11T01:58:30.686Z] ==> 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-09-11T01:58:30.686Z] Release-Date: 2020-01-08 [2023-09-11T01:58:30.686Z] 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-09-11T01:58:30.686Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T01:58:30.686Z] ==> Jenkins CI detected. [2023-09-11T01:58:30.686Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-11T01:58:30.686Z] project root: . [2023-09-11T01:58:30.686Z] --> token set from env [2023-09-11T01:58:30.686Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T01:58:30.686Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T01:58:30.686Z] ==> Python coveragepy not found [2023-09-11T01:58:30.686Z] ==> Searching for coverage reports in: [2023-09-11T01:58:30.686Z] + . [2023-09-11T01:58:30.686Z] -> Found 1 reports [2023-09-11T01:58:30.686Z] ==> Detecting git/mercurial file structure [2023-09-11T01:58:30.945Z] ==> Reading reports [2023-09-11T01:58:30.945Z] + ./coverage.out bytes=18506 [2023-09-11T01:58:30.945Z] ==> Appending adjustments [2023-09-11T01:58:30.945Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T01:58:30.945Z] + Found adjustments [2023-09-11T01:58:30.945Z] ==> Gzipping contents [2023-09-11T01:58:30.945Z] 4.0K /tmp/codecov.9gqW5D.gz [2023-09-11T01:58:30.945Z] ==> Uploading reports [2023-09-11T01:58:30.945Z] url: https://codecov.io [2023-09-11T01:58:30.945Z] query: branch=main&commit=996c7dc504458e30104dd4fabba147269fefd7c5&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:58:30.945Z] -> Pinging Codecov [2023-09-11T01:58:30.945Z] 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=996c7dc504458e30104dd4fabba147269fefd7c5&build=136&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F136%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T01:58:30.945Z] -> Uploading to [2023-09-11T01:58:30.945Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/7D719EC7BBE17E464838252E33014C33/996c7dc504458e30104dd4fabba147269fefd7c5/3e10e115-2e90-4287-a076-d0fcf03a120c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T015830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cb057ef1d7c87c0fc13f0c34acf98b465f2d47639292036f43899362ebe3a28 [2023-09-11T01:58:30.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T01:58:30.945Z] Dload Upload Total Spent Left Speed [2023-09-11T01:58:31.204Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 14434 --:--:-- --:--:-- --:--:-- 14434 [2023-09-11T01:58:31.204Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] } [2023-09-11T01:58:31.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T01:58:31.429Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T01:58:31.438Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:58:31.737Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:58:31.737Z] [2023-09-11T01:58:31.737Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:58:32.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:58:32.052Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T01:58:32.052Z] df9b9388f04a: Pulling fs layer [2023-09-11T01:58:32.052Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T01:58:32.052Z] 25bc292e5bac: Pulling fs layer [2023-09-11T01:58:32.052Z] 114826534d7a: Pulling fs layer [2023-09-11T01:58:32.052Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T01:58:32.052Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T01:58:32.052Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T01:58:32.052Z] 114826534d7a: Waiting [2023-09-11T01:58:32.052Z] 4657fd5d0bcf: Waiting [2023-09-11T01:58:32.052Z] 6ad1cebc031e: Waiting [2023-09-11T01:58:32.052Z] 8a3aa393b2d8: Waiting [2023-09-11T01:58:32.052Z] 25bc292e5bac: Verifying Checksum [2023-09-11T01:58:32.052Z] 25bc292e5bac: Download complete [2023-09-11T01:58:32.052Z] 52dc419b0ee2: Verifying Checksum [2023-09-11T01:58:32.052Z] 52dc419b0ee2: Download complete [2023-09-11T01:58:32.052Z] 4657fd5d0bcf: Verifying Checksum [2023-09-11T01:58:32.052Z] 4657fd5d0bcf: Download complete [2023-09-11T01:58:32.052Z] df9b9388f04a: Verifying Checksum [2023-09-11T01:58:32.052Z] df9b9388f04a: Download complete [2023-09-11T01:58:32.330Z] df9b9388f04a: Pull complete [2023-09-11T01:58:32.330Z] 52dc419b0ee2: Pull complete [2023-09-11T01:58:32.330Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T01:58:32.330Z] 6ad1cebc031e: Download complete [2023-09-11T01:58:32.330Z] 25bc292e5bac: Pull complete [2023-09-11T01:58:32.898Z] 114826534d7a: Download complete [2023-09-11T01:58:33.156Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T01:58:33.156Z] 8a3aa393b2d8: Download complete [2023-09-11T01:58:36.434Z] 114826534d7a: Pull complete [2023-09-11T01:58:36.435Z] 4657fd5d0bcf: Pull complete [2023-09-11T01:58:36.435Z] 6ad1cebc031e: Pull complete [2023-09-11T01:58:38.959Z] 8a3aa393b2d8: Pull complete [2023-09-11T01:58:38.959Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T01:58:38.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T01:58:38.959Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:58:39.036Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:58:39.081Z] $ 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-09-11T01:58:43.039Z] $ docker top 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T01:58:43.091Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-09-11T01:58:43.369Z] + set -o pipefail [2023-09-11T01:58:43.369Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/04c75c0e-522a-49bd-b6a4-8e213aefb76a [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] [2023-09-11T01:58:49.964Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T01:58:49.964Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T01:58:49.964Z] More details here: https://snyk.co/ue1NS [2023-09-11T01:58:49.964Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T01:58:49.964Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T01:58:49.987Z] $ docker stop --time=1 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 [2023-09-11T01:58:52.779Z] $ docker rm -f --volumes 1a19cba30fd5182c50b17a05281540f26f8c6bc9d186a6ee212215d9994bcf35 [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-09-11T01:58:53.505Z] + git log --format=format:%s -1 996c7dc504458e30104dd4fabba147269fefd7c5 [Pipeline] sh [2023-09-11T01:58:53.794Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:58:53.794Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:58:54.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:58:54.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:58:54.159Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:58:54.202Z] $ 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-09-11T01:58:54.579Z] $ docker top 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f -eo pid,comm [2023-09-11T01:58:54.612Z] 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-09-11T01:58:54.612Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:58:54.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:58:54.648Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:58:54.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:58:54.787Z] $ docker exec 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f ssh-agent [2023-09-11T01:58:54.877Z] SSH_AUTH_SOCK=/tmp/ssh-r03keopBP3uU/agent.31 [2023-09-11T01:58:54.877Z] SSH_AGENT_PID=37 [2023-09-11T01:58:54.883Z] Running ssh-add (command line suppressed) [2023-09-11T01:58:54.994Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17128944504713997139.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17128944504713997139.key) [2023-09-11T01:58:54.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:58:55.279Z] + git semver tag [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,469 [run_tag] DEBUG tag force:False [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,469 [check_head_tag] DEBUG check head tag [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,470 [execute] INFO git cat-file --batch-check [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,474 [execute] INFO git cat-file --batch [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,474 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,484 [execute] INFO git tag -a v3.1.0-dev.8 -m v3.1.0-dev.8 [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,484 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.8', '-m', 'v3.1.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:58:55.538Z] 2023-09-11 01:58:55,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:58:55.538Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T01:58:55.557Z] $ docker exec --env ******** --env ******** 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f ssh-agent -k [2023-09-11T01:58:55.651Z] unset SSH_AUTH_SOCK; [2023-09-11T01:58:55.651Z] unset SSH_AGENT_PID; [2023-09-11T01:58:55.651Z] echo Agent pid 37 killed; [2023-09-11T01:58:55.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:58:55.983Z] + git semver [Pipeline] } [2023-09-11T01:58:56.267Z] $ docker stop --time=1 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f [2023-09-11T01:58:57.671Z] $ docker rm -f --volumes 7385a09ef072492e435c4198420c3a0186948400d7a8a4d6295d03bcf341842f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:58:58.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:58:58.045Z] [2023-09-11T01:58:58.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:58:58.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:58:58.350Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T01:58:58.350Z] ab5ef0e58194: Pulling fs layer [2023-09-11T01:58:58.350Z] 9712f1f96733: Pulling fs layer [2023-09-11T01:58:58.350Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T01:58:58.350Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T01:58:58.350Z] e9a5061849ea: Pulling fs layer [2023-09-11T01:58:58.350Z] d747dcd14b5f: Pulling fs layer [2023-09-11T01:58:58.350Z] 2de7ff778b66: Pulling fs layer [2023-09-11T01:58:58.350Z] d747dcd14b5f: Waiting [2023-09-11T01:58:58.350Z] 2de7ff778b66: Waiting [2023-09-11T01:58:58.350Z] 0d9ebad4ef96: Waiting [2023-09-11T01:58:58.350Z] e9a5061849ea: Waiting [2023-09-11T01:58:58.350Z] 9712f1f96733: Download complete [2023-09-11T01:58:58.612Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T01:58:58.612Z] 63f879dbbcfc: Download complete [2023-09-11T01:58:58.870Z] e9a5061849ea: Verifying Checksum [2023-09-11T01:58:58.870Z] e9a5061849ea: Download complete [2023-09-11T01:58:58.870Z] d747dcd14b5f: Download complete [2023-09-11T01:58:58.870Z] 0d9ebad4ef96: Verifying Checksum [2023-09-11T01:58:58.870Z] 0d9ebad4ef96: Download complete [2023-09-11T01:58:58.871Z] ab5ef0e58194: Download complete [2023-09-11T01:58:59.128Z] 2de7ff778b66: Verifying Checksum [2023-09-11T01:58:59.128Z] 2de7ff778b66: Download complete [2023-09-11T01:59:01.655Z] ab5ef0e58194: Pull complete [2023-09-11T01:59:01.655Z] 9712f1f96733: Pull complete [2023-09-11T01:59:02.221Z] 63f879dbbcfc: Pull complete [2023-09-11T01:59:05.502Z] 0d9ebad4ef96: Pull complete [2023-09-11T01:59:05.502Z] e9a5061849ea: Pull complete [2023-09-11T01:59:05.502Z] d747dcd14b5f: Pull complete [2023-09-11T01:59:06.069Z] 2de7ff778b66: Pull complete [2023-09-11T01:59:06.069Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T01:59:06.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T01:59:06.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:59:06.149Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:59:06.190Z] $ 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-09-11T01:59:09.963Z] $ docker top 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:59:10.014Z] provisioning config files... [2023-09-11T01:59:10.022Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15308370060693415931tmp [2023-09-11T01:59:10.030Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16402896395485862656tmp [2023-09-11T01:59:10.037Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5298457752025862418tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:59:10.053Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:10.332Z] ---> sigul-configuration.sh [2023-09-11T01:59:10.332Z] gpg: directory `/root/.gnupg' created [2023-09-11T01:59:10.332Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T01:59:10.332Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T01:59:10.332Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T01:59:10.332Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T01:59:10.332Z] gpg: CAST5 encrypted data [2023-09-11T01:59:10.332Z] gpg: encrypted with 1 passphrase [2023-09-11T01:59:10.332Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T01:59:10.615Z] + mkdir /home/jenkins [2023-09-11T01:59:10.615Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T01:59:10.899Z] + 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-09-11T01:59:10.907Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:11.188Z] ---> sigul-install.sh [2023-09-11T01:59:11.188Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T01:59:11.477Z] + git tag --list [2023-09-11T01:59:11.477Z] 0.7.1 [2023-09-11T01:59:11.477Z] v1.0.0 [2023-09-11T01:59:11.477Z] v1.1.0 [2023-09-11T01:59:11.477Z] v1.1.1 [2023-09-11T01:59:11.477Z] v1.2.2 [2023-09-11T01:59:11.477Z] v1.3.0 [2023-09-11T01:59:11.477Z] v1.3.1 [2023-09-11T01:59:11.477Z] v2.0.0 [2023-09-11T01:59:11.477Z] v2.1.0 [2023-09-11T01:59:11.477Z] v2.1.1 [2023-09-11T01:59:11.477Z] v2.2.0 [2023-09-11T01:59:11.477Z] v2.3.0 [2023-09-11T01:59:11.477Z] v3.0 [2023-09-11T01:59:11.477Z] v3.0.0 [2023-09-11T01:59:11.477Z] v3.1.0-dev.1 [2023-09-11T01:59:11.477Z] v3.1.0-dev.2 [2023-09-11T01:59:11.477Z] v3.1.0-dev.3 [2023-09-11T01:59:11.477Z] v3.1.0-dev.4 [2023-09-11T01:59:11.477Z] v3.1.0-dev.5 [2023-09-11T01:59:11.477Z] v3.1.0-dev.6 [2023-09-11T01:59:11.477Z] v3.1.0-dev.7 [2023-09-11T01:59:11.477Z] v3.1.0-dev.8 [Pipeline] sh [2023-09-11T01:59:11.761Z] + lftools sign git-tag v3.1.0-dev.8 [2023-09-11T01:59:12.328Z] Signing Git tag with Sigul... [2023-09-11T01:59:12.328Z] Signing v3.1.0-dev.8 [Pipeline] echo [2023-09-11T01:59:12.594Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:12.873Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T01:59:12.879Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T01:59:12.915Z] $ docker stop --time=1 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f [2023-09-11T01:59:14.220Z] $ docker rm -f --volumes 3c97404980b735704987f31e08f1f1f3b52e54f842057c03dbdd992667be013f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T01:59:14.636Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:59:14.636Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:59:14.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:59:14.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:59:14.991Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:59:15.031Z] $ 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-09-11T01:59:15.327Z] $ docker top 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f -eo pid,comm [2023-09-11T01:59:15.358Z] 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-09-11T01:59:15.358Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:59:15.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:59:15.400Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:59:15.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:59:15.511Z] $ docker exec 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f ssh-agent [2023-09-11T01:59:15.604Z] SSH_AUTH_SOCK=/tmp/ssh-HxM78Jj32k7Y/agent.33 [2023-09-11T01:59:15.604Z] SSH_AGENT_PID=39 [2023-09-11T01:59:15.609Z] Running ssh-add (command line suppressed) [2023-09-11T01:59:15.716Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_772833773551246379.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_772833773551246379.key) [2023-09-11T01:59:15.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:59:16.001Z] + git semver bump pre [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,179 [bump_version] DEBUG bumping version:3.1.0-dev.8 on axis:pre with prefix:dev [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,180 [bump_version] DEBUG bumped version:3.1.0-dev.9 [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,180 [write_version] DEBUG write version:3.1.0-dev.9 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,180 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,182 [execute] INFO git cat-file --batch-check [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,187 [execute] INFO git cat-file --batch [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:59:16.261Z] 2023-09-11 01:59:16,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:59:16.261Z] 3.1.0-dev.9 [Pipeline] } [2023-09-11T01:59:16.282Z] $ docker exec --env ******** --env ******** 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f ssh-agent -k [2023-09-11T01:59:16.370Z] unset SSH_AUTH_SOCK; [2023-09-11T01:59:16.371Z] unset SSH_AGENT_PID; [2023-09-11T01:59:16.371Z] echo Agent pid 39 killed; [2023-09-11T01:59:16.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:59:16.663Z] + git semver [Pipeline] } [2023-09-11T01:59:16.947Z] $ docker stop --time=1 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f [2023-09-11T01:59:18.221Z] $ docker rm -f --volumes 2c82a20613edf939209aa927068f3555f8186a58f845abf03a00d087a0fed34f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T01:59:18.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T01:59:18.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:59:18.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T01:59:18.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:59:18.908Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:59:18.948Z] $ 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-09-11T01:59:19.267Z] $ docker top ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 -eo pid,comm [2023-09-11T01:59:19.302Z] 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-09-11T01:59:19.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T01:59:19.340Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T01:59:19.340Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T01:59:19.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T01:59:19.451Z] $ docker exec ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 ssh-agent [2023-09-11T01:59:19.545Z] SSH_AUTH_SOCK=/tmp/ssh-zmPMh336qOG1/agent.32 [2023-09-11T01:59:19.545Z] SSH_AGENT_PID=38 [2023-09-11T01:59:19.551Z] Running ssh-add (command line suppressed) [2023-09-11T01:59:19.664Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9407561929188301732.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9407561929188301732.key) [2023-09-11T01:59:19.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T01:59:19.952Z] + git semver push [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,121 [run_push] DEBUG push [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,122 [execute] INFO git cat-file --batch-check [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,125 [execute] INFO git rev-list bf837316ba6218847f520782a4b54f8f62938681 -- [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,126 [execute] DEBUG Popen(['git', 'rev-list', 'bf837316ba6218847f520782a4b54f8f62938681', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,134 [execute] INFO git fetch -v origin [2023-09-11T01:59:20.211Z] 2023-09-11 01:59:20,135 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T01:59:20.779Z] 2023-09-11 01:59:20,593 [run_push] DEBUG no remote changes detected [2023-09-11T01:59:20.779Z] 2023-09-11 01:59:20,593 [execute] INFO git push origin semver [2023-09-11T01:59:20.779Z] 2023-09-11 01:59:20,594 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T01:59:24.067Z] 2023-09-11 01:59:23,624 [run_push] DEBUG push all version tags [2023-09-11T01:59:24.067Z] 2023-09-11 01:59:23,624 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T01:59:24.067Z] 2023-09-11 01:59:23,625 [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-09-11T01:59:24.325Z] 2023-09-11 01:59:24,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-09-11T01:59:24.325Z] 3.1.0-dev.9 [Pipeline] } [2023-09-11T01:59:24.604Z] $ docker exec --env ******** --env ******** ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 ssh-agent -k [2023-09-11T01:59:24.706Z] unset SSH_AUTH_SOCK; [2023-09-11T01:59:24.708Z] unset SSH_AGENT_PID; [2023-09-11T01:59:24.708Z] echo Agent pid 38 killed; [2023-09-11T01:59:24.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T01:59:25.002Z] + git semver [Pipeline] } [2023-09-11T01:59:25.287Z] $ docker stop --time=1 ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 [2023-09-11T01:59:26.575Z] $ docker rm -f --volumes ea29590ec52b1655ab86715fe0981d4a0b803dd984b21fbd11a1bc59368c19c0 [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-09-11T01:59:27.154Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-09-11T01:59:27.154Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-11T01:59:27.154Z] total 16 [2023-09-11T01:59:27.154Z] drwxr-xr-x 3 root root 4096 Sep 11 01:48 . [2023-09-11T01:59:27.154Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 01:59 .. [2023-09-11T01:59:27.154Z] drwxr-xr-x 2 root root 4096 Sep 11 01:48 cost [2023-09-11T01:59:27.154Z] -rw-r--r-- 1 root root 86 Sep 11 01:48 cost.csv [2023-09-11T01:59:27.154Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-11T01:59:27.154Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-09-11T01:59:27.154Z] total 16 [2023-09-11T01:59:27.154Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 01:48 . [2023-09-11T01:59:27.154Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 01:59 .. [2023-09-11T01:59:27.154Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 01:48 cost [2023-09-11T01:59:27.154Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 11 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:27.444Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:28.305Z] ---> package-listing.sh [2023-09-11T01:59:28.306Z] ++ facter osfamily [2023-09-11T01:59:28.306Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T01:59:28.591Z] + OS_FAMILY=debian [2023-09-11T01:59:28.591Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-09-11T01:59:28.591Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T01:59:28.591Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T01:59:28.591Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T01:59:28.591Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T01:59:28.591Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-11T01:59:28.591Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T01:59:28.591Z] + case "${OS_FAMILY}" in [2023-09-11T01:59:28.591Z] + dpkg -l [2023-09-11T01:59:28.591Z] + grep '^ii' [2023-09-11T01:59:28.591Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T01:59:28.591Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T01:59:28.591Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T01:59:28.591Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-09-11T01:59:28.591Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-09-11T01:59:28.591Z] + 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-09-11T01:59:28.645Z] 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-09-11T01:59:28.966Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T01:59:29.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T01:59:29.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T01:59:29.648Z] prd-ubuntu20.04-docker-8c-8g-5760 does not seem to be running inside a container [2023-09-11T01:59:29.689Z] $ 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-09-11T01:59:29.921Z] $ docker top 79e7c15fa4803b253e034bc967131c2dfbb4a856c609f4ab8ccc804b20fb4386 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T01:59:30.252Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T01:59:30.536Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T01:59:30.822Z] + ls /var/log/sa-host [2023-09-11T01:59:30.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T01:59:30.985Z] provisioning config files... [2023-09-11T01:59:30.993Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17609675703931462244tmp [Pipeline] { [Pipeline] echo [2023-09-11T01:59:31.008Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:31.290Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T01:59:31.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:31.646Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T01:59:31.656Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:31.940Z] ---> sudo-logs.sh [2023-09-11T01:59:31.940Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T01:59:31.963Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:32.244Z] ---> job-cost.sh [2023-09-11T01:59:32.244Z] lf-activate-venv: SKIPPING [2023-09-11T01:59:32.244Z] DEBUG: total: 0.2199999988079071 [2023-09-11T01:59:32.244Z] INFO: Retrieving Stack Cost... [2023-09-11T01:59:32.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T01:59:33.071Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T01:59:33.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T01:59:33.362Z] ---> logs-deploy.sh [2023-09-11T01:59:33.362Z] lf-activate-venv: SKIPPING [2023-09-11T01:59:33.362Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/136 [2023-09-11T01:59:33.362Z] INFO: archiving workspace using pattern(s): [2023-09-11T01:59:34.297Z] Archives upload complete. [2023-09-11T01:59:34.297Z] INFO: archiving logs to Nexus