Started by upstream project "edgexfoundry/cd-management/release-lts" build number 56 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c8369be06a5c5a29b6c14d39caafaee9c646641 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-ssh7878395420716837517.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17632461840603155333.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17369694502209468181.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh4066781466516213833.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13619141621994421034.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-18192’ is offline Running on prd-ubuntu20.04-docker-8c-8g-18303 in /w/workspace/edgexfoundry_device-mqtt-go_napa [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_napa # 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 > 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 Avoid second fetch Checking out Revision 6c8369be06a5c5a29b6c14d39caafaee9c646641 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @2e27f69" > git config core.sparsecheckout # timeout=10 > git checkout -f 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 > git rev-list --no-walk 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T22:59:26.502Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T22:59:26.559Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T22:59:26.571Z] ========================================================= [2023-11-15T22:59:26.571Z] EdgeX Global Pipelines Version Info [2023-11-15T22:59:26.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:59:27.267Z] ------------------- [2023-11-15T22:59:27.268Z] stable info: [2023-11-15T22:59:27.268Z] ------------------- [2023-11-15T22:59:27.268Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-15T22:59:27.268Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:59:27.268Z] Message: update stable to v1.0.258 [2023-11-15T22:59:27.836Z] ------------------- [2023-11-15T22:59:27.836Z] experimental info: [2023-11-15T22:59:27.836Z] ------------------- [2023-11-15T22:59:27.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T22:59:27.836Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-15T22:59:27.836Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T22:59:27.996Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-15T22:59:28.013Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-15T22:59:28.028Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T22:59:28.036Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T22:59:28.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T22:59:28.055Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T22:59:28.074Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T22:59:28.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T22:59:28.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T22:59:28.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T22:59:28.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T22:59:28.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-15T22:59:28.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T22:59:28.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T22:59:28.209Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:59:28.219Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T22:59:28.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:59:28.243Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T22:59:28.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T22:59:28.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T22:59:28.272Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-15T22:59:28.282Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-15T22:59:28.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T22:59:28.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T22:59:28.331Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T22:59:28.350Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T22:59:28.369Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T22:59:28.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2023-11-15T22:59:28.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2023-11-15T22:59:28.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2023-11-15T22:59:28.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo [2023-11-15T22:59:28.449Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c8369b [Pipeline] echo [2023-11-15T22:59:28.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:59:28.506Z] provisioning config files... [2023-11-15T22:59:28.518Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config16647185927221982739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:59:28.824Z] ---> docker-login.sh [2023-11-15T22:59:28.824Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:59:29.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:29.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:29.085Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:29.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:29.085Z] [2023-11-15T22:59:29.085Z] Login Succeeded [2023-11-15T22:59:29.085Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:59:29.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:29.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:29.347Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:29.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:29.347Z] [2023-11-15T22:59:29.347Z] Login Succeeded [2023-11-15T22:59:29.347Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:59:29.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:29.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:29.347Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:29.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:29.347Z] [2023-11-15T22:59:29.347Z] Login Succeeded [2023-11-15T22:59:29.347Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:59:29.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:29.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:29.608Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:29.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:29.608Z] [2023-11-15T22:59:29.608Z] Login Succeeded [2023-11-15T22:59:29.608Z] docker.io [2023-11-15T22:59:29.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:29.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:29.868Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:29.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:29.868Z] [2023-11-15T22:59:29.868Z] Login Succeeded [2023-11-15T22:59:29.868Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:59:29.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T22:59:30.254Z] + git rev-list -1 --merges 6c8369be06a5c5a29b6c14d39caafaee9c646641~1..6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo [2023-11-15T22:59:30.339Z] -----------> git rev-list -1 --merges 6c8369be06a5c5a29b6c14d39caafaee9c646641~1..6c8369be06a5c5a29b6c14d39caafaee9c646641 6c8369be06a5c5a29b6c14d39caafaee9c646641 [false] [Pipeline] sh [2023-11-15T22:59:30.628Z] + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo [2023-11-15T22:59:30.643Z] ========================================================= [2023-11-15T22:59:30.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-11-15T22:59:30.643Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:59:30.965Z] + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] echo [2023-11-15T22:59:30.978Z] [semverPrep] GIT_COMMIT: 6c8369be06a5c5a29b6c14d39caafaee9c646641, Commit Message: ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] echo [2023-11-15T22:59:30.988Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T22:59:31.403Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T22:59:31.403Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T22:59:31.403Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T22:59:31.403Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T22:59:31.403Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T22:59:31.403Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T22:59:31.404Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:59:31.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:59:31.812Z] [2023-11-15T22:59:31.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:59:32.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:59:32.117Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T22:59:32.117Z] b85a868b505f: Pulling fs layer [2023-11-15T22:59:32.117Z] e2be974225ed: Pulling fs layer [2023-11-15T22:59:32.117Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T22:59:32.117Z] 988bab9f4d93: Pulling fs layer [2023-11-15T22:59:32.117Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T22:59:32.117Z] eaf3925da568: Pulling fs layer [2023-11-15T22:59:32.117Z] bab4dde63d76: Pulling fs layer [2023-11-15T22:59:32.117Z] bde34c3a00c8: Pulling fs layer [2023-11-15T22:59:32.117Z] b352a97aabf1: Pulling fs layer [2023-11-15T22:59:32.117Z] 988bab9f4d93: Waiting [2023-11-15T22:59:32.117Z] 1469e6f7b9e6: Waiting [2023-11-15T22:59:32.117Z] eaf3925da568: Waiting [2023-11-15T22:59:32.117Z] bab4dde63d76: Waiting [2023-11-15T22:59:32.117Z] bde34c3a00c8: Waiting [2023-11-15T22:59:32.117Z] 4872d77fe225: Pulling fs layer [2023-11-15T22:59:32.117Z] 5851b861e8e6: Pulling fs layer [2023-11-15T22:59:32.117Z] 4872d77fe225: Waiting [2023-11-15T22:59:32.117Z] e2be974225ed: Verifying Checksum [2023-11-15T22:59:32.117Z] e2be974225ed: Download complete [2023-11-15T22:59:32.117Z] 988bab9f4d93: Download complete [2023-11-15T22:59:32.117Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T22:59:32.117Z] 1469e6f7b9e6: Download complete [2023-11-15T22:59:32.377Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T22:59:32.377Z] 339a4e72a1f5: Download complete [2023-11-15T22:59:32.377Z] eaf3925da568: Verifying Checksum [2023-11-15T22:59:32.377Z] eaf3925da568: Download complete [2023-11-15T22:59:32.377Z] bde34c3a00c8: Download complete [2023-11-15T22:59:32.377Z] b352a97aabf1: Verifying Checksum [2023-11-15T22:59:32.377Z] b352a97aabf1: Download complete [2023-11-15T22:59:32.377Z] 4872d77fe225: Download complete [2023-11-15T22:59:32.377Z] 5851b861e8e6: Verifying Checksum [2023-11-15T22:59:32.377Z] 5851b861e8e6: Download complete [2023-11-15T22:59:32.377Z] b85a868b505f: Verifying Checksum [2023-11-15T22:59:32.377Z] b85a868b505f: Download complete [2023-11-15T22:59:32.638Z] bab4dde63d76: Verifying Checksum [2023-11-15T22:59:32.638Z] bab4dde63d76: Download complete [2023-11-15T22:59:34.018Z] b85a868b505f: Pull complete [2023-11-15T22:59:34.018Z] e2be974225ed: Pull complete [2023-11-15T22:59:34.292Z] 339a4e72a1f5: Pull complete [2023-11-15T22:59:34.591Z] 988bab9f4d93: Pull complete [2023-11-15T22:59:34.854Z] 1469e6f7b9e6: Pull complete [2023-11-15T22:59:34.854Z] eaf3925da568: Pull complete [2023-11-15T22:59:36.784Z] bab4dde63d76: Pull complete [2023-11-15T22:59:36.784Z] bde34c3a00c8: Pull complete [2023-11-15T22:59:37.044Z] b352a97aabf1: Pull complete [2023-11-15T22:59:37.044Z] 4872d77fe225: Pull complete [2023-11-15T22:59:37.044Z] 5851b861e8e6: Pull complete [2023-11-15T22:59:37.044Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T22:59:37.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T22:59:37.044Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T22:59:37.138Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T22:59:37.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T22:59:40.949Z] $ docker top d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b -eo pid,comm [2023-11-15T22:59:41.004Z] 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-11-15T22:59:41.004Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T22:59:41.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:59:41.045Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:59:41.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:59:41.192Z] $ docker exec d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent [2023-11-15T22:59:41.308Z] SSH_AUTH_SOCK=/tmp/ssh-SnekNWGXz9At/agent.32 [2023-11-15T22:59:41.308Z] SSH_AGENT_PID=38 [2023-11-15T22:59:41.315Z] Running ssh-add (command line suppressed) [2023-11-15T22:59:41.423Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_5742013528374615199.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_5742013528374615199.key) [2023-11-15T22:59:41.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:59:41.727Z] + git tag --points-at 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [2023-11-15T22:59:41.740Z] $ docker exec --env ******** --env ******** d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent -k [2023-11-15T22:59:41.834Z] unset SSH_AUTH_SOCK; [2023-11-15T22:59:41.835Z] unset SSH_AGENT_PID; [2023-11-15T22:59:41.836Z] echo Agent pid 38 killed; [2023-11-15T22:59:41.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-11-15T22:59:41.863Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.0' [Pipeline] sshagent [2023-11-15T22:59:41.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T22:59:41.884Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T22:59:41.990Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T22:59:41.994Z] $ docker exec d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent [2023-11-15T22:59:42.143Z] SSH_AUTH_SOCK=/tmp/ssh-0dXTCFujO8R4/agent.70 [2023-11-15T22:59:42.143Z] SSH_AGENT_PID=76 [2023-11-15T22:59:42.149Z] Running ssh-add (command line suppressed) [2023-11-15T22:59:42.250Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_17784169067096667098.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_17784169067096667098.key) [2023-11-15T22:59:42.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T22:59:42.551Z] + git semver init [2023-11-15T22:59:42.811Z] 2023-11-15 22:59:42,740 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T22:59:42.811Z] 2023-11-15 22:59:42,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2023-11-15T22:59:42.811Z] 2023-11-15 22:59:42,741 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2023-11-15T22:59:42.811Z] 2023-11-15 22:59:42,741 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_napa, universal_newlines=False, shell=None, istream=None) [2023-11-15T22:59:44.192Z] 2023-11-15 22:59:43,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude [2023-11-15T22:59:44.192Z] 2023-11-15 22:59:43,867 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False [2023-11-15T22:59:44.192Z] 2023-11-15 22:59:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2023-11-15T22:59:44.192Z] 2023-11-15 22:59:43,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2023-11-15T22:59:44.192Z] 3.1.0 [Pipeline] } [2023-11-15T22:59:44.205Z] $ docker exec --env ******** --env ******** d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b ssh-agent -k [2023-11-15T22:59:44.303Z] unset SSH_AUTH_SOCK; [2023-11-15T22:59:44.303Z] unset SSH_AGENT_PID; [2023-11-15T22:59:44.303Z] echo Agent pid 76 killed; [2023-11-15T22:59:44.312Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T22:59:44.624Z] + git semver [Pipeline] } [2023-11-15T22:59:44.899Z] $ docker stop --time=1 d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b [2023-11-15T22:59:46.222Z] $ docker rm -f --volumes d63740e6a94d7c9276f7c0b8052d45aa02cf851ad9070a0eda5a684ffe0e170b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T22:59:46.560Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T22:59:46.758Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T22:59:46.763Z] [edgeXSemver]: initialized semver on version 3.1.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:59:47.005Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18300 in /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] { [Pipeline] ws [2023-11-15T22:59:47.018Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2023-11-15T22:59:47.050Z] The recommended git tool is: git [2023-11-15T22:59:47.170Z] + git checkout 6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T22:59:47.170Z] HEAD is now at 6c8369b ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T22:59:47.193Z] provisioning config files... [2023-11-15T22:59:47.202Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6051311628742285472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T22:59:47.498Z] ---> docker-login.sh [2023-11-15T22:59:47.498Z] nexus3.edgexfoundry.org:10001 [2023-11-15T22:59:47.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:47.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:47.498Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:47.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:47.498Z] [2023-11-15T22:59:47.498Z] Login Succeeded [2023-11-15T22:59:47.498Z] nexus3.edgexfoundry.org:10002 [2023-11-15T22:59:47.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:47.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:47.498Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:47.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:47.498Z] [2023-11-15T22:59:47.498Z] Login Succeeded [2023-11-15T22:59:47.498Z] nexus3.edgexfoundry.org:10003 [2023-11-15T22:59:47.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:47.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:47.757Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:47.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:47.757Z] [2023-11-15T22:59:47.757Z] Login Succeeded [2023-11-15T22:59:47.757Z] nexus3.edgexfoundry.org:10004 [2023-11-15T22:59:47.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:47.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:47.757Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:47.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:47.757Z] [2023-11-15T22:59:47.757Z] Login Succeeded [2023-11-15T22:59:47.757Z] docker.io [2023-11-15T22:59:48.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T22:59:48.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T22:59:48.274Z] Configure a credential helper to remove this warning. See [2023-11-15T22:59:48.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T22:59:48.274Z] [2023-11-15T22:59:48.274Z] Login Succeeded [2023-11-15T22:59:48.274Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T22:59:48.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T22:59:48.352Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T22:59:48.640Z] + grep ^go [0-9].[0-9]* go.mod [2023-11-15T22:59:48.641Z] + cut -d -f 2 [Pipeline] echo [2023-11-15T22:59:48.657Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T22:59:48.668Z] ========================================================= [2023-11-15T22:59:48.668Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2023-11-15T22:59:48.668Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T22:59:48.990Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T22:59:49.248Z] Sending build context to Docker daemon 44.5MB [2023-11-15T22:59:49.248Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T22:59:49.248Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T22:59:49.508Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2023-11-15T22:59:49.508Z] 7264a8db6415: Pulling fs layer [2023-11-15T22:59:49.508Z] c4d48a809fc2: Pulling fs layer [2023-11-15T22:59:49.508Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T22:59:49.508Z] ad3a456e5733: Pulling fs layer [2023-11-15T22:59:49.508Z] f0163c21ed6d: Pulling fs layer [2023-11-15T22:59:49.508Z] 04c35c34e31e: Pulling fs layer [2023-11-15T22:59:49.508Z] 0c7b0fd20c02: Pulling fs layer [2023-11-15T22:59:49.508Z] d22eed83c68c: Pulling fs layer [2023-11-15T22:59:49.508Z] 04c35c34e31e: Waiting [2023-11-15T22:59:49.508Z] 0c7b0fd20c02: Waiting [2023-11-15T22:59:49.508Z] d22eed83c68c: Waiting [2023-11-15T22:59:49.508Z] ad3a456e5733: Waiting [2023-11-15T22:59:49.508Z] f0163c21ed6d: Waiting [2023-11-15T22:59:49.508Z] c4d48a809fc2: Verifying Checksum [2023-11-15T22:59:49.508Z] c4d48a809fc2: Download complete [2023-11-15T22:59:49.508Z] ad3a456e5733: Verifying Checksum [2023-11-15T22:59:49.508Z] ad3a456e5733: Download complete [2023-11-15T22:59:49.508Z] f0163c21ed6d: Verifying Checksum [2023-11-15T22:59:49.508Z] f0163c21ed6d: Download complete [2023-11-15T22:59:49.508Z] 7264a8db6415: Verifying Checksum [2023-11-15T22:59:49.508Z] 7264a8db6415: Download complete [2023-11-15T22:59:49.508Z] 04c35c34e31e: Verifying Checksum [2023-11-15T22:59:49.508Z] 04c35c34e31e: Download complete [2023-11-15T22:59:49.767Z] 7264a8db6415: Pull complete [2023-11-15T22:59:49.767Z] d22eed83c68c: Verifying Checksum [2023-11-15T22:59:49.767Z] d22eed83c68c: Download complete [2023-11-15T22:59:49.767Z] c4d48a809fc2: Pull complete [2023-11-15T22:59:50.026Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T22:59:50.026Z] 4f1c88b9dad5: Download complete [2023-11-15T22:59:50.284Z] 0c7b0fd20c02: Verifying Checksum [2023-11-15T22:59:50.284Z] 0c7b0fd20c02: Download complete [2023-11-15T22:59:51.350Z] using credential edgex-jenkins-ssh [2023-11-15T22:59:51.370Z] Cloning the remote Git repository [2023-11-15T22:59:51.405Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-15T22:59:51.480Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2023-11-15T22:59:51.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-15T22:59:51.608Z] > git --version # timeout=10 [2023-11-15T22:59:51.624Z] > git --version # 'git version 2.25.1' [2023-11-15T22:59:51.628Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T22:59:51.760Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:59:53.596Z] 4f1c88b9dad5: Pull complete [2023-11-15T22:59:53.597Z] ad3a456e5733: Pull complete [2023-11-15T22:59:53.597Z] f0163c21ed6d: Pull complete [2023-11-15T22:59:53.597Z] 04c35c34e31e: Pull complete [2023-11-15T22:59:53.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-15T22:59:53.612Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T22:59:54.548Z] Avoid second fetch [2023-11-15T22:59:54.548Z] Checking out Revision 6c8369be06a5c5a29b6c14d39caafaee9c646641 (napa) [2023-11-15T22:59:55.541Z] 0c7b0fd20c02: Pull complete [2023-11-15T22:59:54.558Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T22:59:54.612Z] > git checkout -f 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 [2023-11-15T22:59:55.824Z] Commit message: "ci(lts-release): LTS release v3.1.0 @2e27f69" [2023-11-15T22:59:56.109Z] d22eed83c68c: Pull complete [2023-11-15T22:59:56.109Z] Digest: sha256:fe58882aa44958920ad7d0df1d98a3315c303dabb14c96e5e08e67421444f3de [2023-11-15T22:59:56.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2023-11-15T22:59:56.109Z] ---> 8a661f5c53af [2023-11-15T22:59:56.109Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T22:59:56.684Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T22:59:56.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T22:59:56.684Z] Dload Upload Total Spent Left Speed [2023-11-15T22:59:56.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98310 0 --:--:-- --:--:-- --:--:-- 98310 [Pipeline] sh [2023-11-15T22:59:57.318Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T22:59:57.643Z] + sudo tee /etc/docker/daemon.new [2023-11-15T22:59:57.643Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T22:59:57.643Z] { [2023-11-15T22:59:57.643Z] "registry-mirrors": [ [2023-11-15T22:59:57.643Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T22:59:57.643Z] ], [2023-11-15T22:59:57.643Z] "bip": "10.250.0.254/24", [2023-11-15T22:59:57.643Z] "hosts": [ [2023-11-15T22:59:57.643Z] "tcp://0.0.0.0:5555", [2023-11-15T22:59:57.643Z] "unix:///var/run/docker.sock" [2023-11-15T22:59:57.643Z] ], [2023-11-15T22:59:57.643Z] "mtu": 1458, [2023-11-15T22:59:57.643Z] "selinux-enabled": true, [2023-11-15T22:59:57.643Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T22:59:57.643Z] } [Pipeline] sh [2023-11-15T22:59:57.965Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T22:59:58.280Z] + sudo service docker restart [2023-11-15T23:00:04.472Z] ---> Running in 1da41286070f [2023-11-15T23:00:04.472Z] Removing intermediate container 1da41286070f [2023-11-15T23:00:04.472Z] ---> 5962b55657b1 [2023-11-15T23:00:04.472Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T23:00:04.472Z] ---> Running in b26ec15f770a [2023-11-15T23:00:04.472Z] Removing intermediate container b26ec15f770a [2023-11-15T23:00:04.472Z] ---> 2c0df15ace6e [2023-11-15T23:00:04.472Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T23:00:04.472Z] ---> Running in b8184042b323 [2023-11-15T23:00:04.472Z] Removing intermediate container b8184042b323 [2023-11-15T23:00:04.472Z] ---> a0726e204404 [2023-11-15T23:00:04.472Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T23:00:04.472Z] ---> Running in e4a51f4e787c [2023-11-15T23:00:04.730Z] Removing intermediate container e4a51f4e787c [2023-11-15T23:00:04.730Z] ---> 31410cc63b3e [2023-11-15T23:00:04.730Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T23:00:04.730Z] ---> Running in bb58cca21eeb [2023-11-15T23:00:04.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T23:00:04.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T23:00:05.251Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T23:00:05.251Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T23:00:05.251Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T23:00:05.251Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T23:00:05.251Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T23:00:05.251Z] OK: 268 MiB in 56 packages [2023-11-15T23:00:06.186Z] Removing intermediate container bb58cca21eeb [2023-11-15T23:00:06.186Z] ---> 1703cc1797fd [2023-11-15T23:00:06.186Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-15T23:00:06.186Z] ---> Running in 91b3194a8b4c [2023-11-15T23:00:06.186Z] Removing intermediate container 91b3194a8b4c [2023-11-15T23:00:06.186Z] ---> 035cee98ac23 [2023-11-15T23:00:06.186Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T23:00:09.497Z] ---> d088bbd592e4 [2023-11-15T23:00:09.497Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T23:00:09.497Z] ---> Running in d1b8e5e4db44 [Pipeline] sh [2023-11-15T23:00:16.817Z] + git checkout 6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:00:17.084Z] HEAD is now at 6c8369b ci(lts-release): LTS release v3.1.0 @2e27f69 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T23:00:17.114Z] provisioning config files... [2023-11-15T23:00:17.138Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config4339644872679686208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:00:17.481Z] ---> docker-login.sh [2023-11-15T23:00:17.481Z] nexus3.edgexfoundry.org:10001 [2023-11-15T23:00:17.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:00:18.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:00:18.019Z] Configure a credential helper to remove this warning. See [2023-11-15T23:00:18.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:00:18.019Z] [2023-11-15T23:00:18.019Z] Login Succeeded [2023-11-15T23:00:18.019Z] nexus3.edgexfoundry.org:10002 [2023-11-15T23:00:18.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:00:18.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:00:18.289Z] Configure a credential helper to remove this warning. See [2023-11-15T23:00:18.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:00:18.289Z] [2023-11-15T23:00:18.289Z] Login Succeeded [2023-11-15T23:00:18.289Z] nexus3.edgexfoundry.org:10003 [2023-11-15T23:00:18.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:00:18.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:00:18.826Z] Configure a credential helper to remove this warning. See [2023-11-15T23:00:18.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:00:18.826Z] [2023-11-15T23:00:18.826Z] Login Succeeded [2023-11-15T23:00:18.826Z] nexus3.edgexfoundry.org:10004 [2023-11-15T23:00:19.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:00:19.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:00:19.098Z] Configure a credential helper to remove this warning. See [2023-11-15T23:00:19.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:00:19.098Z] [2023-11-15T23:00:19.098Z] Login Succeeded [2023-11-15T23:00:19.098Z] docker.io [2023-11-15T23:00:19.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:00:19.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:00:19.630Z] Configure a credential helper to remove this warning. See [2023-11-15T23:00:19.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:00:19.630Z] [2023-11-15T23:00:19.630Z] Login Succeeded [2023-11-15T23:00:19.630Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T23:00:19.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T23:00:19.848Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T23:00:20.166Z] + grep ^go [0-9].[0-9]* go.mod [2023-11-15T23:00:20.166Z] + cut -d -f 2 [Pipeline] echo [2023-11-15T23:00:20.200Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T23:00:20.216Z] ========================================================= [2023-11-15T23:00:20.216Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2023-11-15T23:00:20.216Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:00:20.554Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2023-11-15T23:00:23.154Z] Sending build context to Docker daemon 35.95MB [2023-11-15T23:00:23.154Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T23:00:23.154Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T23:00:23.154Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T23:00:23.154Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T23:00:23.154Z] 5d54e960e981: Pulling fs layer [2023-11-15T23:00:23.154Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T23:00:23.154Z] f0e02332f6b5: Pulling fs layer [2023-11-15T23:00:23.154Z] 57b776a6bec4: Pulling fs layer [2023-11-15T23:00:23.154Z] 8b19151f9e34: Pulling fs layer [2023-11-15T23:00:23.154Z] eb6a9f2d7ee3: Pulling fs layer [2023-11-15T23:00:23.154Z] 8b19151f9e34: Waiting [2023-11-15T23:00:23.154Z] eb6a9f2d7ee3: Waiting [2023-11-15T23:00:23.154Z] f0e02332f6b5: Waiting [2023-11-15T23:00:23.154Z] 57b776a6bec4: Waiting [2023-11-15T23:00:23.154Z] 5d54e960e981: Verifying Checksum [2023-11-15T23:00:23.154Z] 5d54e960e981: Download complete [2023-11-15T23:00:23.154Z] f0e02332f6b5: Verifying Checksum [2023-11-15T23:00:23.154Z] f0e02332f6b5: Download complete [2023-11-15T23:00:23.154Z] 57b776a6bec4: Verifying Checksum [2023-11-15T23:00:23.154Z] 57b776a6bec4: Download complete [2023-11-15T23:00:23.154Z] 9fda8d8052c6: Verifying Checksum [2023-11-15T23:00:23.155Z] 9fda8d8052c6: Download complete [2023-11-15T23:00:23.425Z] eb6a9f2d7ee3: Verifying Checksum [2023-11-15T23:00:23.425Z] eb6a9f2d7ee3: Download complete [2023-11-15T23:00:24.012Z] 9fda8d8052c6: Pull complete [2023-11-15T23:00:24.598Z] 5d54e960e981: Pull complete [2023-11-15T23:00:24.869Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T23:00:24.869Z] c4a7e357bf2a: Download complete [2023-11-15T23:00:25.850Z] 8b19151f9e34: Verifying Checksum [2023-11-15T23:00:25.850Z] 8b19151f9e34: Download complete [2023-11-15T23:00:38.170Z] c4a7e357bf2a: Pull complete [2023-11-15T23:00:38.170Z] f0e02332f6b5: Pull complete [2023-11-15T23:00:38.170Z] 57b776a6bec4: Pull complete [2023-11-15T23:00:46.381Z] 8b19151f9e34: Pull complete [2023-11-15T23:00:48.099Z] eb6a9f2d7ee3: Pull complete [2023-11-15T23:00:48.099Z] Digest: sha256:43c8aebfe3f5401c93948777c5378ae198e405b68e9c259f1e89903f1e2008ff [2023-11-15T23:00:48.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2023-11-15T23:00:48.099Z] ---> ca1e05e92614 [2023-11-15T23:00:48.099Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T23:00:51.221Z] Removing intermediate container d1b8e5e4db44 [2023-11-15T23:00:51.221Z] ---> 4419317e33cc [2023-11-15T23:00:51.221Z] Step 11/12 : COPY . . [2023-11-15T23:00:51.227Z] ---> Running in 09906a1187db [2023-11-15T23:00:51.227Z] Removing intermediate container 09906a1187db [2023-11-15T23:00:51.227Z] ---> 9c61d9070751 [2023-11-15T23:00:51.227Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T23:00:51.227Z] ---> Running in 8037185746c6 [2023-11-15T23:00:51.227Z] Removing intermediate container 8037185746c6 [2023-11-15T23:00:51.227Z] ---> c316b111c4e7 [2023-11-15T23:00:51.227Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T23:00:51.227Z] ---> Running in d7919c878821 [2023-11-15T23:00:51.227Z] Removing intermediate container d7919c878821 [2023-11-15T23:00:51.227Z] ---> 63fab9420b7b [2023-11-15T23:00:51.227Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T23:00:51.227Z] ---> Running in 2fa60cf0ab19 [2023-11-15T23:00:51.227Z] Removing intermediate container 2fa60cf0ab19 [2023-11-15T23:00:51.227Z] ---> 1b15c761da80 [2023-11-15T23:00:51.227Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T23:00:51.494Z] ---> Running in baed3a6587ee [2023-11-15T23:00:52.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T23:00:53.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T23:00:53.288Z] ---> 6bfd3c8fd7a1 [2023-11-15T23:00:53.288Z] Step 12/12 : RUN $MAKE [2023-11-15T23:00:53.288Z] ---> Running in 5b160ab3dcdf [2023-11-15T23:00:53.288Z] noop [2023-11-15T23:00:53.549Z] Removing intermediate container 5b160ab3dcdf [2023-11-15T23:00:53.549Z] ---> f3dde1fcc417 [2023-11-15T23:00:53.549Z] Successfully built f3dde1fcc417 [2023-11-15T23:00:53.549Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:00:53.862Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T23:00:53.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:00:53.932Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:00:55.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T23:00:53.984Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-15T23:00:53.984Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-15T23:00:53.984Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-15T23:00:53.984Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-15T23:00:53.984Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T23:00:53.984Z] OK: 271 MiB in 56 packages [2023-11-15T23:00:55.432Z] $ docker top dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T23:00:54.683Z] + go version [2023-11-15T23:00:54.683Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T23:00:55.786Z] $ docker stop --time=1 dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 [2023-11-15T23:00:54.945Z] Removing intermediate container baed3a6587ee [2023-11-15T23:00:54.945Z] ---> 17943bd6ba53 [2023-11-15T23:00:54.945Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-15T23:00:55.214Z] ---> Running in e44698f9f362 [2023-11-15T23:00:55.480Z] Removing intermediate container e44698f9f362 [2023-11-15T23:00:55.480Z] ---> a35115c0dbab [2023-11-15T23:00:55.480Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-15T23:00:57.053Z] $ docker rm -f --volumes dfc42fe34a34a4b065e0c3f71eb1a3b067519543eeff7a3ee2d071a5423c6266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:00:56.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T23:00:56.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:00:56.429Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:00:57.551Z] $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T23:00:57.864Z] $ docker top 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T23:00:57.113Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh [2023-11-15T23:00:57.415Z] + make test [2023-11-15T23:00:57.415Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T23:00:58.795Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-15T23:01:02.114Z] ---> 0d422cb58bfa [2023-11-15T23:01:02.114Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T23:01:03.068Z] ---> Running in e9d16b88af96 [2023-11-15T23:01:08.790Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-15T23:01:08.790Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-15T23:01:08.790Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2023-11-15T23:01:16.892Z] go vet ./... [2023-11-15T23:01:20.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T23:01:20.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T23:01:20.171Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T23:01:20.184Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T23:01:20.475Z] + go mod tidy [Pipeline] } [2023-11-15T23:01:21.053Z] $ docker stop --time=1 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a [2023-11-15T23:01:24.917Z] $ docker rm -f --volumes 6031bba64379b49f4a4bf957c2e842809ee67eeff93f6a5077e27c192adc631a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T23:01:25.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T23:01:25.590Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T23:01:26.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T23:01:26.453Z] + ls -al . [2023-11-15T23:01:26.453Z] total 188 [2023-11-15T23:01:26.453Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 23:00 . [2023-11-15T23:01:26.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:59 .. [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:59 .dockerignore [2023-11-15T23:01:26.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:01 .git [2023-11-15T23:01:26.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 .github [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:59 .gitignore [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:59 .golangci.yml [2023-11-15T23:01:26.453Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 22:59 .semver [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 15 22:59 Attribution.txt [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 15 22:59 CHANGELOG.md [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 15 22:59 Dockerfile [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:59 GOVERNANCE.md [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 15 22:59 Jenkinsfile [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:59 LICENSE [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 15 22:59 Makefile [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:59 OWNERS.md [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 15 22:59 README.md [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:59 VERSION [2023-11-15T23:01:26.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 bin [2023-11-15T23:01:26.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 cmd [2023-11-15T23:01:26.453Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 15 23:01 coverage.out [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 15 22:59 go.mod [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:59 go.sum [2023-11-15T23:01:26.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 internal [2023-11-15T23:01:26.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 mock [2023-11-15T23:01:26.453Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:59 vendor [2023-11-15T23:01:26.453Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 15 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:01:26.750Z] + 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=6c8369be06a5c5a29b6c14d39caafaee9c646641 --label arch=amd64 --label version=3.1.0 . [2023-11-15T23:01:27.009Z] Sending build context to Docker daemon 44.52MB [2023-11-15T23:01:27.009Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T23:01:27.009Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-15T23:01:27.009Z] ---> f3dde1fcc417 [2023-11-15T23:01:27.009Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-15T23:01:27.947Z] ---> Running in 78276fcfc1d2 [2023-11-15T23:01:27.947Z] Removing intermediate container 78276fcfc1d2 [2023-11-15T23:01:27.947Z] ---> 88e67d8428ee [2023-11-15T23:01:27.947Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T23:01:27.947Z] ---> Running in db2d235e2df2 [2023-11-15T23:01:27.947Z] Removing intermediate container db2d235e2df2 [2023-11-15T23:01:27.947Z] ---> 7b4466d2cf8e [2023-11-15T23:01:27.947Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T23:01:27.947Z] ---> Running in 625d9c68ea54 [2023-11-15T23:01:27.947Z] Removing intermediate container 625d9c68ea54 [2023-11-15T23:01:27.947Z] ---> cc93ab4362f0 [2023-11-15T23:01:27.947Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T23:01:27.947Z] ---> Running in 51e54abdb85e [2023-11-15T23:01:28.205Z] Removing intermediate container 51e54abdb85e [2023-11-15T23:01:28.205Z] ---> d3d22a2aedff [2023-11-15T23:01:28.205Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T23:01:28.205Z] ---> Running in fc410a7609ed [2023-11-15T23:01:28.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:28.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:29.041Z] OK: 268 MiB in 56 packages [2023-11-15T23:01:29.299Z] Removing intermediate container fc410a7609ed [2023-11-15T23:01:29.299Z] ---> ddb4923ae772 [2023-11-15T23:01:29.299Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-15T23:01:29.299Z] ---> Running in 8105c8ad3eb1 [2023-11-15T23:01:29.299Z] Removing intermediate container 8105c8ad3eb1 [2023-11-15T23:01:29.299Z] ---> 49d940bcee93 [2023-11-15T23:01:29.299Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-15T23:01:31.204Z] ---> ba01dbec1de5 [2023-11-15T23:01:31.204Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T23:01:31.204Z] ---> Running in f260c7183b9c [2023-11-15T23:01:31.468Z] skipping... [2023-11-15T23:01:31.726Z] Removing intermediate container f260c7183b9c [2023-11-15T23:01:31.726Z] ---> 49dba65d46a5 [2023-11-15T23:01:31.726Z] Step 11/25 : COPY . . [2023-11-15T23:01:34.252Z] ---> 8c880c76e8c5 [2023-11-15T23:01:34.253Z] Step 12/25 : RUN $MAKE [2023-11-15T23:01:34.253Z] ---> Running in dc70ba310fed [2023-11-15T23:01:34.253Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-15T23:01:56.171Z] Removing intermediate container dc70ba310fed [2023-11-15T23:01:56.171Z] ---> 63d94afb7f26 [2023-11-15T23:01:56.171Z] Step 13/25 : FROM alpine:3.18 [2023-11-15T23:01:56.171Z] 3.18: Pulling from library/alpine [2023-11-15T23:01:56.171Z] 96526aa774ef: Pulling fs layer [2023-11-15T23:01:56.171Z] 96526aa774ef: Verifying Checksum [2023-11-15T23:01:56.171Z] 96526aa774ef: Download complete [2023-11-15T23:01:56.171Z] 96526aa774ef: Pull complete [2023-11-15T23:01:56.171Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T23:01:56.171Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T23:01:56.171Z] ---> 8ca4688f4f35 [2023-11-15T23:01:56.171Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-15T23:01:56.171Z] ---> Running in b7938863f5be [2023-11-15T23:01:56.171Z] Removing intermediate container b7938863f5be [2023-11-15T23:01:56.171Z] ---> a24ef44a5b71 [2023-11-15T23:01:56.171Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-15T23:01:56.171Z] ---> Running in 6e884a0ba757 [2023-11-15T23:01:56.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:56.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:56.171Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T23:01:56.171Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T23:01:56.171Z] OK: 7 MiB in 16 packages [2023-11-15T23:01:56.171Z] Removing intermediate container 6e884a0ba757 [2023-11-15T23:01:56.171Z] ---> c67fbaf3fd5f [2023-11-15T23:01:56.171Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-15T23:01:56.171Z] ---> Running in 62453c70cd61 [2023-11-15T23:01:56.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:56.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T23:01:56.431Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T23:01:56.431Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:01:56.692Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T23:01:56.692Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:01:56.692Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T23:01:56.692Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T23:01:56.692Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:01:56.692Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T23:01:56.692Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T23:01:56.692Z] OK: 7 MiB in 16 packages [2023-11-15T23:01:57.258Z] Removing intermediate container 62453c70cd61 [2023-11-15T23:01:57.258Z] ---> 87fdcbf565b1 [2023-11-15T23:01:57.258Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-15T23:01:58.225Z] ---> c4958742d8e0 [2023-11-15T23:01:58.225Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-15T23:01:58.225Z] ---> f417530dfb03 [2023-11-15T23:01:58.225Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-15T23:01:58.484Z] ---> 84e320b35392 [2023-11-15T23:01:58.484Z] Step 20/25 : EXPOSE 59982 [2023-11-15T23:01:58.484Z] ---> Running in 3ef3ff9cc807 [2023-11-15T23:01:58.484Z] Removing intermediate container 3ef3ff9cc807 [2023-11-15T23:01:58.484Z] ---> 841eeb5cc23f [2023-11-15T23:01:58.484Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-15T23:01:58.744Z] ---> Running in 81cd7a66fcdb [2023-11-15T23:01:58.744Z] Removing intermediate container 81cd7a66fcdb [2023-11-15T23:01:58.744Z] ---> e96dbf5bf17d [2023-11-15T23:01:58.744Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T23:01:58.744Z] ---> Running in b6ade2dff455 [2023-11-15T23:01:58.745Z] Removing intermediate container b6ade2dff455 [2023-11-15T23:01:58.745Z] ---> 5bcbc163180a [2023-11-15T23:01:58.745Z] Step 23/25 : LABEL arch=amd64 [2023-11-15T23:01:58.745Z] ---> Running in fee78dfb830c [2023-11-15T23:01:59.013Z] Removing intermediate container fee78dfb830c [2023-11-15T23:01:59.013Z] ---> 7b5743107efa [2023-11-15T23:01:59.013Z] Step 24/25 : LABEL git_sha=6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:01:59.013Z] ---> Running in d1fbc0311df1 [2023-11-15T23:01:59.013Z] Removing intermediate container d1fbc0311df1 [2023-11-15T23:01:59.013Z] ---> 387ab0bee43c [2023-11-15T23:01:59.013Z] Step 25/25 : LABEL version=3.1.0 [2023-11-15T23:01:59.013Z] ---> Running in d9f0f31b1969 [2023-11-15T23:01:59.013Z] Removing intermediate container d9f0f31b1969 [2023-11-15T23:01:59.013Z] ---> 9d5d5fa346a1 [2023-11-15T23:01:59.013Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T23:01:59.013Z] Successfully built 9d5d5fa346a1 [2023-11-15T23:01:59.272Z] 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-11-15T23:01:59.398Z] provisioning config files... [2023-11-15T23:01:59.407Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config16090244795781552827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:01:59.707Z] ---> docker-login.sh [2023-11-15T23:01:59.707Z] nexus3.edgexfoundry.org:10001 [2023-11-15T23:01:59.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:01:59.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:01:59.707Z] Configure a credential helper to remove this warning. See [2023-11-15T23:01:59.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:01:59.707Z] [2023-11-15T23:01:59.707Z] Login Succeeded [2023-11-15T23:01:59.707Z] nexus3.edgexfoundry.org:10002 [2023-11-15T23:01:59.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:01:59.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:01:59.707Z] Configure a credential helper to remove this warning. See [2023-11-15T23:01:59.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:01:59.707Z] [2023-11-15T23:01:59.707Z] Login Succeeded [2023-11-15T23:01:59.707Z] nexus3.edgexfoundry.org:10003 [2023-11-15T23:01:59.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:01:59.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:01:59.967Z] Configure a credential helper to remove this warning. See [2023-11-15T23:01:59.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:01:59.967Z] [2023-11-15T23:01:59.967Z] Login Succeeded [2023-11-15T23:01:59.967Z] nexus3.edgexfoundry.org:10004 [2023-11-15T23:01:59.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:01:59.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:01:59.967Z] Configure a credential helper to remove this warning. See [2023-11-15T23:01:59.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:01:59.967Z] [2023-11-15T23:01:59.967Z] Login Succeeded [2023-11-15T23:01:59.967Z] docker.io [2023-11-15T23:01:59.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:02:00.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:02:00.226Z] Configure a credential helper to remove this warning. See [2023-11-15T23:02:00.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:02:00.226Z] [2023-11-15T23:02:00.226Z] Login Succeeded [2023-11-15T23:02:00.226Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T23:02:00.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T23:02:00.258Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T23:02:00.273Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-11-15T23:02:00.273Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:02:00.273Z] 3.1.0 [2023-11-15T23:02:00.273Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:02:00.273Z] napa [2023-11-15T23:02:00.273Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:00.581Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:00.889Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:02:00.889Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-15T23:02:00.889Z] bbe8d09b4bab: Preparing [2023-11-15T23:02:00.889Z] 0f10c1fffe39: Preparing [2023-11-15T23:02:00.889Z] fb839d937587: Preparing [2023-11-15T23:02:00.889Z] f546dc6b8eaa: Preparing [2023-11-15T23:02:00.889Z] 18a5893b6148: Preparing [2023-11-15T23:02:00.889Z] cc2447e1835a: Preparing [2023-11-15T23:02:00.889Z] cc2447e1835a: Waiting [2023-11-15T23:02:00.889Z] 0f10c1fffe39: Pushed [2023-11-15T23:02:00.889Z] bbe8d09b4bab: Pushed [2023-11-15T23:02:00.889Z] 18a5893b6148: Pushed [2023-11-15T23:02:00.889Z] cc2447e1835a: Layer already exists [2023-11-15T23:02:01.825Z] f546dc6b8eaa: Pushed [2023-11-15T23:02:03.731Z] fb839d937587: Pushed [2023-11-15T23:02:03.992Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:04.305Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:04.612Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 [2023-11-15T23:02:04.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-15T23:02:04.612Z] bbe8d09b4bab: Preparing [2023-11-15T23:02:04.612Z] 0f10c1fffe39: Preparing [2023-11-15T23:02:04.612Z] fb839d937587: Preparing [2023-11-15T23:02:04.612Z] f546dc6b8eaa: Preparing [2023-11-15T23:02:04.612Z] 18a5893b6148: Preparing [2023-11-15T23:02:04.612Z] cc2447e1835a: Preparing [2023-11-15T23:02:04.612Z] cc2447e1835a: Waiting [2023-11-15T23:02:04.612Z] 18a5893b6148: Layer already exists [2023-11-15T23:02:04.612Z] bbe8d09b4bab: Layer already exists [2023-11-15T23:02:04.612Z] 0f10c1fffe39: Layer already exists [2023-11-15T23:02:04.612Z] f546dc6b8eaa: Layer already exists [2023-11-15T23:02:04.612Z] fb839d937587: Layer already exists [2023-11-15T23:02:04.612Z] cc2447e1835a: Layer already exists [2023-11-15T23:02:04.612Z] 3.1.0: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:04.923Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:05.240Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:02:05.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-15T23:02:05.240Z] bbe8d09b4bab: Preparing [2023-11-15T23:02:05.240Z] 0f10c1fffe39: Preparing [2023-11-15T23:02:05.240Z] fb839d937587: Preparing [2023-11-15T23:02:05.240Z] f546dc6b8eaa: Preparing [2023-11-15T23:02:05.240Z] 18a5893b6148: Preparing [2023-11-15T23:02:05.240Z] cc2447e1835a: Preparing [2023-11-15T23:02:05.240Z] 0f10c1fffe39: Layer already exists [2023-11-15T23:02:05.240Z] fb839d937587: Layer already exists [2023-11-15T23:02:05.240Z] f546dc6b8eaa: Layer already exists [2023-11-15T23:02:05.240Z] 18a5893b6148: Layer already exists [2023-11-15T23:02:05.240Z] bbe8d09b4bab: Layer already exists [2023-11-15T23:02:05.240Z] cc2447e1835a: Layer already exists [2023-11-15T23:02:05.240Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:05.568Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:05.889Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa [2023-11-15T23:02:05.889Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-11-15T23:02:05.889Z] bbe8d09b4bab: Preparing [2023-11-15T23:02:05.889Z] 0f10c1fffe39: Preparing [2023-11-15T23:02:05.889Z] fb839d937587: Preparing [2023-11-15T23:02:05.889Z] f546dc6b8eaa: Preparing [2023-11-15T23:02:05.889Z] 18a5893b6148: Preparing [2023-11-15T23:02:05.889Z] cc2447e1835a: Preparing [2023-11-15T23:02:05.889Z] cc2447e1835a: Waiting [2023-11-15T23:02:05.889Z] 0f10c1fffe39: Layer already exists [2023-11-15T23:02:05.889Z] fb839d937587: Layer already exists [2023-11-15T23:02:05.889Z] bbe8d09b4bab: Layer already exists [2023-11-15T23:02:05.889Z] 18a5893b6148: Layer already exists [2023-11-15T23:02:05.889Z] f546dc6b8eaa: Layer already exists [2023-11-15T23:02:05.889Z] cc2447e1835a: Layer already exists [2023-11-15T23:02:05.889Z] napa: digest: sha256:1b8388b61b3e0ae8b29ea2b1a28995e356b81c17fb756db0d0546bec465f8d21 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T23:02:05.936Z] ===================================================== [Pipeline] echo [2023-11-15T23:02:05.947Z] taggedImages: [2023-11-15T23:02:05.947Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:02:05.947Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.0 [2023-11-15T23:02:05.947Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:02:05.947Z] - nexus3.edgexfoundry.org:10004/device-mqtt:napa [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-11-15T23:02:06.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T23:02:06.319Z] [2023-11-15T23:02:06.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:06.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T23:02:06.622Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T23:02:06.622Z] 5eb5b503b376: Pulling fs layer [2023-11-15T23:02:06.622Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T23:02:06.622Z] ec43610c2a17: Pulling fs layer [2023-11-15T23:02:06.622Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T23:02:06.622Z] 33b1e0a273af: Pulling fs layer [2023-11-15T23:02:06.622Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T23:02:06.622Z] 2f39f015ded8: Pulling fs layer [2023-11-15T23:02:06.622Z] 3a2ae6a8a46f: Waiting [2023-11-15T23:02:06.622Z] 33b1e0a273af: Waiting [2023-11-15T23:02:06.622Z] 5d3b04190fa2: Waiting [2023-11-15T23:02:06.622Z] 2f39f015ded8: Waiting [2023-11-15T23:02:06.622Z] 5c69ac0246d0: Verifying Checksum [2023-11-15T23:02:06.622Z] 5c69ac0246d0: Download complete [2023-11-15T23:02:06.622Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T23:02:06.622Z] 3a2ae6a8a46f: Download complete [2023-11-15T23:02:06.622Z] 33b1e0a273af: Verifying Checksum [2023-11-15T23:02:06.622Z] 33b1e0a273af: Download complete [2023-11-15T23:02:06.622Z] ec43610c2a17: Verifying Checksum [2023-11-15T23:02:06.622Z] ec43610c2a17: Download complete [2023-11-15T23:02:06.622Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T23:02:06.622Z] 5d3b04190fa2: Download complete [2023-11-15T23:02:06.880Z] 5eb5b503b376: Verifying Checksum [2023-11-15T23:02:06.880Z] 5eb5b503b376: Download complete [2023-11-15T23:02:08.255Z] 5eb5b503b376: Pull complete [2023-11-15T23:02:08.255Z] 5c69ac0246d0: Pull complete [2023-11-15T23:02:08.513Z] ec43610c2a17: Pull complete [2023-11-15T23:02:08.513Z] 3a2ae6a8a46f: Pull complete [2023-11-15T23:02:08.772Z] 33b1e0a273af: Pull complete [2023-11-15T23:02:08.772Z] 5d3b04190fa2: Pull complete [2023-11-15T23:02:12.959Z] 2f39f015ded8: Pull complete [2023-11-15T23:02:12.959Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T23:02:12.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T23:02:12.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:02:13.043Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:02:13.075Z] $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-11-15T23:02:18.480Z] $ docker top 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:02:18.893Z] ---> job-cost.sh [2023-11-15T23:02:18.893Z] lf-activate-venv: SKIPPING [2023-11-15T23:02:18.893Z] INFO: No Stack... [2023-11-15T23:02:19.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T23:02:19.719Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T23:02:20.014Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv [2023-11-15T23:02:20.014Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T23:02:20.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [2023-11-15T23:02:20.070Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] did not exist. Created. [2023-11-15T23:02:20.070Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T23:02:20.369Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T23:02:20.428Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T23:02:20.435Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T23:02:20.451Z] $ docker stop --time=1 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc [2023-11-15T23:02:21.621Z] $ docker rm -f --volumes 363bec094eef4841ae069dc3e3477dc22d6d9faf0d7e48acf1120f0a1c0932cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T23:02:24.664Z] Removing intermediate container e9d16b88af96 [2023-11-15T23:02:24.665Z] ---> ab92359afba3 [2023-11-15T23:02:24.665Z] Step 11/12 : COPY . . [2023-11-15T23:02:24.665Z] ---> c2a514638f73 [2023-11-15T23:02:24.665Z] Step 12/12 : RUN $MAKE [2023-11-15T23:02:24.665Z] ---> Running in 554e969f5c63 [2023-11-15T23:02:24.665Z] noop [2023-11-15T23:02:24.665Z] Removing intermediate container 554e969f5c63 [2023-11-15T23:02:24.665Z] ---> e3be1cf3a1ad [2023-11-15T23:02:24.665Z] Successfully built e3be1cf3a1ad [2023-11-15T23:02:24.665Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:25.003Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T23:02:25.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:02:25.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container [2023-11-15T23:02:25.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T23:02:26.450Z] $ docker top 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T23:02:27.275Z] + go version [2023-11-15T23:02:27.275Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T23:02:27.287Z] $ docker stop --time=1 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 [2023-11-15T23:02:28.871Z] $ docker rm -f --volumes 8a066b192ba39d872070b909b73f2cf4240438a73aa51bcd1ba5b56ba4d7fa24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:02:29.408Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T23:02:29.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:02:29.579Z] prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container [2023-11-15T23:02:29.636Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T23:02:30.823Z] $ docker top 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T23:02:31.652Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh [2023-11-15T23:02:31.978Z] + make test [2023-11-15T23:02:31.978Z] go test ./... -coverprofile=coverage.out ./... [2023-11-15T23:02:34.562Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-15T23:04:11.378Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-15T23:04:11.378Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-15T23:04:11.378Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.8% of statements [2023-11-15T23:04:11.378Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T23:04:11.378Z] go vet ./... [2023-11-15T23:04:21.453Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T23:04:21.453Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T23:04:21.453Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T23:04:21.738Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2023-11-15T23:04:22.061Z] + go mod tidy [Pipeline] } [2023-11-15T23:04:25.408Z] $ docker stop --time=1 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 [2023-11-15T23:04:27.324Z] $ docker rm -f --volumes 32430bb4f373bbe2c274c739670c2603f308cc62a1106627c0b5e0ed93eae755 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T23:04:28.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T23:04:28.616Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T23:04:29.465Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T23:04:29.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T23:04:30.165Z] + ls -al . [2023-11-15T23:04:30.166Z] total 184 [2023-11-15T23:04:30.166Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 23:02 . [2023-11-15T23:04:30.166Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 22:59 .. [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 22:59 .dockerignore [2023-11-15T23:04:30.166Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:00 .git [2023-11-15T23:04:30.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 .github [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 256 Nov 15 22:59 .gitignore [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 22:59 .golangci.yml [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 15 22:59 Attribution.txt [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 15 22:59 CHANGELOG.md [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 15 22:59 Dockerfile [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 22:59 GOVERNANCE.md [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 15 22:59 Jenkinsfile [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 22:59 LICENSE [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 15 22:59 Makefile [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 22:59 OWNERS.md [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 15 22:59 README.md [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 22:59 VERSION [2023-11-15T23:04:30.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 bin [2023-11-15T23:04:30.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 cmd [2023-11-15T23:04:30.166Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 15 23:04 coverage.out [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 15 22:59 go.mod [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 15 22:59 go.sum [2023-11-15T23:04:30.166Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 22:59 internal [2023-11-15T23:04:30.166Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 22:59 mock [2023-11-15T23:04:30.166Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 15 22:59 vendor [2023-11-15T23:04:30.166Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 15 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:04:30.495Z] + 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=6c8369be06a5c5a29b6c14d39caafaee9c646641 --label arch=arm64 --label version=3.1.0 . [2023-11-15T23:04:33.107Z] Sending build context to Docker daemon 35.97MB [2023-11-15T23:04:33.107Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T23:04:33.107Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-15T23:04:33.107Z] ---> e3be1cf3a1ad [2023-11-15T23:04:33.107Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-15T23:04:33.107Z] ---> Running in 5d35fe67e9a0 [2023-11-15T23:04:33.375Z] Removing intermediate container 5d35fe67e9a0 [2023-11-15T23:04:33.375Z] ---> 46c64827f27c [2023-11-15T23:04:33.375Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T23:04:33.375Z] ---> Running in 6337c460471f [2023-11-15T23:04:33.649Z] Removing intermediate container 6337c460471f [2023-11-15T23:04:33.649Z] ---> 72f98c8dc954 [2023-11-15T23:04:33.649Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-15T23:04:33.922Z] ---> Running in d77c05633013 [2023-11-15T23:04:34.189Z] Removing intermediate container d77c05633013 [2023-11-15T23:04:34.189Z] ---> c63135c1ee6d [2023-11-15T23:04:34.189Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T23:04:34.189Z] ---> Running in 8ef73e760330 [2023-11-15T23:04:34.456Z] Removing intermediate container 8ef73e760330 [2023-11-15T23:04:34.456Z] ---> 513cd7f52bf9 [2023-11-15T23:04:34.456Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T23:04:34.456Z] ---> Running in d1b362c25345 [2023-11-15T23:04:35.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T23:04:35.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T23:04:36.958Z] OK: 271 MiB in 56 packages [2023-11-15T23:04:37.927Z] Removing intermediate container d1b362c25345 [2023-11-15T23:04:37.927Z] ---> bee8eb685a0d [2023-11-15T23:04:37.927Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-15T23:04:37.927Z] ---> Running in 4d903a09adbc [2023-11-15T23:04:38.194Z] Removing intermediate container 4d903a09adbc [2023-11-15T23:04:38.194Z] ---> 4b4f238d126a [2023-11-15T23:04:38.194Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-15T23:04:44.837Z] ---> f84536571224 [2023-11-15T23:04:44.837Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T23:04:45.106Z] ---> Running in 9ca3a1fdb385 [2023-11-15T23:04:46.083Z] skipping... [2023-11-15T23:04:46.672Z] Removing intermediate container 9ca3a1fdb385 [2023-11-15T23:04:46.672Z] ---> 41cf3233ecb3 [2023-11-15T23:04:46.672Z] Step 11/25 : COPY . . [2023-11-15T23:04:54.874Z] ---> 0688b49d0327 [2023-11-15T23:04:54.874Z] Step 12/25 : RUN $MAKE [2023-11-15T23:04:54.874Z] ---> Running in 133f80263d11 [2023-11-15T23:04:54.874Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-15T23:06:46.757Z] Removing intermediate container 133f80263d11 [2023-11-15T23:06:46.757Z] ---> 6ab9ac87a442 [2023-11-15T23:06:46.757Z] Step 13/25 : FROM alpine:3.18 [2023-11-15T23:06:46.757Z] 3.18: Pulling from library/alpine [2023-11-15T23:06:46.757Z] 579b34f0a95b: Pulling fs layer [2023-11-15T23:06:46.757Z] 579b34f0a95b: Verifying Checksum [2023-11-15T23:06:46.757Z] 579b34f0a95b: Download complete [2023-11-15T23:06:46.757Z] 579b34f0a95b: Pull complete [2023-11-15T23:06:46.757Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T23:06:46.757Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T23:06:46.757Z] ---> 3cc203321400 [2023-11-15T23:06:46.757Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-15T23:06:46.757Z] ---> Running in cd062bb0c897 [2023-11-15T23:06:46.757Z] Removing intermediate container cd062bb0c897 [2023-11-15T23:06:46.757Z] ---> 1daf8fc2e82f [2023-11-15T23:06:46.757Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-15T23:06:46.757Z] ---> Running in 75dbad815d11 [2023-11-15T23:06:46.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T23:06:46.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T23:06:46.757Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-15T23:06:46.757Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T23:06:46.757Z] OK: 8 MiB in 16 packages [2023-11-15T23:06:46.757Z] Removing intermediate container 75dbad815d11 [2023-11-15T23:06:46.757Z] ---> d15a8a2d9f0e [2023-11-15T23:06:46.757Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-15T23:06:46.757Z] ---> Running in 10f33ef52331 [2023-11-15T23:06:46.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T23:06:46.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T23:06:46.757Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T23:06:46.757Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:06:46.757Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T23:06:46.757Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:06:46.757Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T23:06:46.757Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T23:06:46.757Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T23:06:46.757Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T23:06:46.757Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T23:06:46.757Z] OK: 8 MiB in 16 packages [2023-11-15T23:06:46.757Z] Removing intermediate container 10f33ef52331 [2023-11-15T23:06:46.757Z] ---> 1914ed86ddaa [2023-11-15T23:06:46.757Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-15T23:06:46.757Z] ---> 10c0fbeb0f9d [2023-11-15T23:06:46.757Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-15T23:06:46.757Z] ---> a320061c1cd9 [2023-11-15T23:06:46.757Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-15T23:06:46.757Z] ---> d3d8dbba4e15 [2023-11-15T23:06:46.757Z] Step 20/25 : EXPOSE 59982 [2023-11-15T23:06:46.757Z] ---> Running in 55ae614ca9ea [2023-11-15T23:06:46.757Z] Removing intermediate container 55ae614ca9ea [2023-11-15T23:06:46.757Z] ---> 77db8253de18 [2023-11-15T23:06:46.757Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-15T23:06:46.757Z] ---> Running in 2e93f9583439 [2023-11-15T23:06:47.022Z] Removing intermediate container 2e93f9583439 [2023-11-15T23:06:47.022Z] ---> adb939789bc9 [2023-11-15T23:06:47.022Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-15T23:06:47.289Z] ---> Running in 3198ed17ce18 [2023-11-15T23:06:47.557Z] Removing intermediate container 3198ed17ce18 [2023-11-15T23:06:47.557Z] ---> 003e54dafc9f [2023-11-15T23:06:47.557Z] Step 23/25 : LABEL arch=arm64 [2023-11-15T23:06:47.557Z] ---> Running in 44ac7c8ac667 [2023-11-15T23:06:47.822Z] Removing intermediate container 44ac7c8ac667 [2023-11-15T23:06:47.822Z] ---> 070bfc86bfb8 [2023-11-15T23:06:47.822Z] Step 24/25 : LABEL git_sha=6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:06:47.822Z] ---> Running in 7f9bb19eb72d [2023-11-15T23:06:48.088Z] Removing intermediate container 7f9bb19eb72d [2023-11-15T23:06:48.088Z] ---> d2ada20192c0 [2023-11-15T23:06:48.088Z] Step 25/25 : LABEL version=3.1.0 [2023-11-15T23:06:48.362Z] ---> Running in 3c75f155decd [2023-11-15T23:06:48.625Z] Removing intermediate container 3c75f155decd [2023-11-15T23:06:48.625Z] ---> f55eb785c6d9 [2023-11-15T23:06:48.625Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T23:06:48.889Z] Successfully built f55eb785c6d9 [2023-11-15T23:06:48.889Z] 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-11-15T23:06:49.010Z] provisioning config files... [2023-11-15T23:06:49.021Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config9361721783434818200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:06:49.345Z] ---> docker-login.sh [2023-11-15T23:06:49.345Z] nexus3.edgexfoundry.org:10001 [2023-11-15T23:06:49.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:06:49.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:06:49.612Z] Configure a credential helper to remove this warning. See [2023-11-15T23:06:49.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:06:49.612Z] [2023-11-15T23:06:49.612Z] Login Succeeded [2023-11-15T23:06:49.612Z] nexus3.edgexfoundry.org:10002 [2023-11-15T23:06:49.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:06:49.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:06:49.879Z] Configure a credential helper to remove this warning. See [2023-11-15T23:06:49.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:06:49.879Z] [2023-11-15T23:06:49.879Z] Login Succeeded [2023-11-15T23:06:49.879Z] nexus3.edgexfoundry.org:10003 [2023-11-15T23:06:50.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:06:50.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:06:50.410Z] Configure a credential helper to remove this warning. See [2023-11-15T23:06:50.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:06:50.410Z] [2023-11-15T23:06:50.410Z] Login Succeeded [2023-11-15T23:06:50.410Z] nexus3.edgexfoundry.org:10004 [2023-11-15T23:06:50.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:06:50.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:06:50.677Z] Configure a credential helper to remove this warning. See [2023-11-15T23:06:50.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:06:50.677Z] [2023-11-15T23:06:50.677Z] Login Succeeded [2023-11-15T23:06:50.677Z] docker.io [2023-11-15T23:06:50.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T23:06:51.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T23:06:51.205Z] Configure a credential helper to remove this warning. See [2023-11-15T23:06:51.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T23:06:51.205Z] [2023-11-15T23:06:51.205Z] Login Succeeded [2023-11-15T23:06:51.205Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T23:06:51.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T23:06:51.248Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T23:06:51.272Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-11-15T23:06:51.272Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:06:51.272Z] 3.1.0 [2023-11-15T23:06:51.272Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:06:51.272Z] napa [2023-11-15T23:06:51.272Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:51.636Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:51.997Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:06:51.997Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-15T23:06:51.997Z] 8c4ad46b9781: Preparing [2023-11-15T23:06:51.997Z] 8d4d0644ace3: Preparing [2023-11-15T23:06:51.997Z] 9e571ef9d990: Preparing [2023-11-15T23:06:51.997Z] 8bd8c1c139cb: Preparing [2023-11-15T23:06:51.997Z] 17f7d87dec4a: Preparing [2023-11-15T23:06:51.997Z] 5f4d9fc4d98d: Preparing [2023-11-15T23:06:51.997Z] 5f4d9fc4d98d: Waiting [2023-11-15T23:06:52.267Z] 17f7d87dec4a: Pushed [2023-11-15T23:06:52.267Z] 8c4ad46b9781: Pushed [2023-11-15T23:06:52.267Z] 8d4d0644ace3: Pushed [2023-11-15T23:06:52.267Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T23:06:53.672Z] 8bd8c1c139cb: Pushed [2023-11-15T23:06:57.909Z] 9e571ef9d990: Pushed [2023-11-15T23:06:58.173Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:58.508Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:58.841Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 [2023-11-15T23:06:58.841Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-15T23:06:58.841Z] 8c4ad46b9781: Preparing [2023-11-15T23:06:58.841Z] 8d4d0644ace3: Preparing [2023-11-15T23:06:58.841Z] 9e571ef9d990: Preparing [2023-11-15T23:06:58.841Z] 8bd8c1c139cb: Preparing [2023-11-15T23:06:58.841Z] 17f7d87dec4a: Preparing [2023-11-15T23:06:58.841Z] 5f4d9fc4d98d: Preparing [2023-11-15T23:06:58.841Z] 5f4d9fc4d98d: Waiting [2023-11-15T23:06:58.841Z] 17f7d87dec4a: Layer already exists [2023-11-15T23:06:58.841Z] 8d4d0644ace3: Layer already exists [2023-11-15T23:06:58.841Z] 8bd8c1c139cb: Layer already exists [2023-11-15T23:06:58.841Z] 9e571ef9d990: Layer already exists [2023-11-15T23:06:58.841Z] 8c4ad46b9781: Layer already exists [2023-11-15T23:06:58.841Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T23:06:58.841Z] 3.1.0: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:59.443Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:06:59.774Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:06:59.774Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-15T23:06:59.774Z] 8c4ad46b9781: Preparing [2023-11-15T23:06:59.774Z] 8d4d0644ace3: Preparing [2023-11-15T23:06:59.774Z] 9e571ef9d990: Preparing [2023-11-15T23:06:59.774Z] 8bd8c1c139cb: Preparing [2023-11-15T23:06:59.774Z] 17f7d87dec4a: Preparing [2023-11-15T23:06:59.774Z] 5f4d9fc4d98d: Preparing [2023-11-15T23:06:59.774Z] 5f4d9fc4d98d: Waiting [2023-11-15T23:06:59.774Z] 8bd8c1c139cb: Layer already exists [2023-11-15T23:06:59.774Z] 17f7d87dec4a: Layer already exists [2023-11-15T23:06:59.774Z] 8c4ad46b9781: Layer already exists [2023-11-15T23:06:59.774Z] 8d4d0644ace3: Layer already exists [2023-11-15T23:06:59.774Z] 9e571ef9d990: Layer already exists [2023-11-15T23:06:59.774Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T23:06:59.774Z] 6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:00.109Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:00.439Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [2023-11-15T23:07:00.440Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-11-15T23:07:00.440Z] 8c4ad46b9781: Preparing [2023-11-15T23:07:00.440Z] 8d4d0644ace3: Preparing [2023-11-15T23:07:00.440Z] 9e571ef9d990: Preparing [2023-11-15T23:07:00.440Z] 8bd8c1c139cb: Preparing [2023-11-15T23:07:00.440Z] 17f7d87dec4a: Preparing [2023-11-15T23:07:00.440Z] 5f4d9fc4d98d: Preparing [2023-11-15T23:07:00.440Z] 5f4d9fc4d98d: Waiting [2023-11-15T23:07:00.440Z] 8bd8c1c139cb: Layer already exists [2023-11-15T23:07:00.440Z] 9e571ef9d990: Layer already exists [2023-11-15T23:07:00.440Z] 17f7d87dec4a: Layer already exists [2023-11-15T23:07:00.440Z] 8c4ad46b9781: Layer already exists [2023-11-15T23:07:00.440Z] 8d4d0644ace3: Layer already exists [2023-11-15T23:07:00.440Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T23:07:00.440Z] napa: digest: sha256:ac20b28ace187b133e9ce878fb11b4b5d5741232ba83486a8d075c844132189d size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T23:07:00.484Z] ===================================================== [Pipeline] echo [2023-11-15T23:07:00.491Z] taggedImages: [2023-11-15T23:07:00.491Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641 [2023-11-15T23:07:00.491Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.0 [2023-11-15T23:07:00.491Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6c8369be06a5c5a29b6c14d39caafaee9c646641-3.1.0 [2023-11-15T23:07:00.491Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:00.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T23:07:00.835Z] [2023-11-15T23:07:00.835Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:01.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T23:07:01.429Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T23:07:01.429Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T23:07:01.429Z] 04944245beec: Pulling fs layer [2023-11-15T23:07:01.429Z] 699f458cf7ca: Pulling fs layer [2023-11-15T23:07:01.429Z] 765212b225bb: Pulling fs layer [2023-11-15T23:07:01.429Z] f23df028b6ca: Pulling fs layer [2023-11-15T23:07:01.429Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T23:07:01.429Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T23:07:01.429Z] 765212b225bb: Waiting [2023-11-15T23:07:01.429Z] f23df028b6ca: Waiting [2023-11-15T23:07:01.429Z] d65c8cfc05b1: Waiting [2023-11-15T23:07:01.429Z] 2437ff75d9bd: Waiting [2023-11-15T23:07:01.429Z] 04944245beec: Verifying Checksum [2023-11-15T23:07:01.429Z] 04944245beec: Download complete [2023-11-15T23:07:01.429Z] 765212b225bb: Verifying Checksum [2023-11-15T23:07:01.429Z] 765212b225bb: Download complete [2023-11-15T23:07:01.429Z] f23df028b6ca: Download complete [2023-11-15T23:07:01.429Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T23:07:01.429Z] d65c8cfc05b1: Download complete [2023-11-15T23:07:01.696Z] 699f458cf7ca: Verifying Checksum [2023-11-15T23:07:01.696Z] 699f458cf7ca: Download complete [2023-11-15T23:07:01.963Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T23:07:01.963Z] 8998bd30e6a1: Download complete [2023-11-15T23:07:04.545Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T23:07:04.545Z] 2437ff75d9bd: Download complete [2023-11-15T23:07:06.480Z] 8998bd30e6a1: Pull complete [2023-11-15T23:07:07.060Z] 04944245beec: Pull complete [2023-11-15T23:07:08.484Z] 699f458cf7ca: Pull complete [2023-11-15T23:07:08.748Z] 765212b225bb: Pull complete [2023-11-15T23:07:09.704Z] f23df028b6ca: Pull complete [2023-11-15T23:07:09.704Z] d65c8cfc05b1: Pull complete [2023-11-15T23:07:27.901Z] 2437ff75d9bd: Pull complete [2023-11-15T23:07:27.901Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T23:07:27.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T23:07:27.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:07:28.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-18300 does not seem to be running inside a container [2023-11-15T23:07:28.222Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T23:07:30.844Z] $ docker top 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:07:31.412Z] ---> job-cost.sh [2023-11-15T23:07:31.680Z] lf-activate-venv: SKIPPING [2023-11-15T23:07:31.680Z] INFO: No Stack... [2023-11-15T23:07:32.263Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T23:07:32.845Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T23:07:33.474Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2023-11-15T23:07:33.474Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T23:07:33.496Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [2023-11-15T23:07:33.516Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] did not exist. Created. [2023-11-15T23:07:33.516Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T23:07:34.161Z] /w/workspace/device-mqtt-go/4@tmp/durable-4b49b5a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T23:07:34.803Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T23:07:34.825Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T23:07:35.202Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T23:07:35.211Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-napa-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T23:07:35.218Z] $ docker stop --time=1 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed [2023-11-15T23:07:36.686Z] $ docker rm -f --volumes 9cdab220628a8252c0f42ded08ea81dedf17197df746aa569329e77510f5dbed [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-11-15T23:07:37.110Z] provisioning config files... [2023-11-15T23:07:37.115Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config11503462486984792911tmp [Pipeline] { [Pipeline] sh [2023-11-15T23:07:37.412Z] + set +x [2023-11-15T23:07:37.412Z] + + curl -s https://codecov.io/bash [2023-11-15T23:07:37.412Z] bash -s -- [2023-11-15T23:07:37.412Z] [2023-11-15T23:07:37.412Z] _____ _ [2023-11-15T23:07:37.412Z] / ____| | | [2023-11-15T23:07:37.412Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T23:07:37.412Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T23:07:37.412Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T23:07:37.412Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T23:07:37.412Z] Bash-1.0.6 [2023-11-15T23:07:37.412Z] [2023-11-15T23:07:37.412Z] [2023-11-15T23:07:37.412Z] ==> git version 2.25.1 found [2023-11-15T23:07:37.412Z] ==> 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-11-15T23:07:37.412Z] Release-Date: 2020-01-08 [2023-11-15T23:07:37.412Z] 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-11-15T23:07:37.412Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T23:07:37.412Z] ==> Jenkins CI detected. [2023-11-15T23:07:37.412Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa [2023-11-15T23:07:37.412Z] project root: . [2023-11-15T23:07:37.412Z] --> token set from env [2023-11-15T23:07:37.412Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2023-11-15T23:07:37.671Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T23:07:37.671Z] ==> Python coveragepy not found [2023-11-15T23:07:37.671Z] ==> Searching for coverage reports in: [2023-11-15T23:07:37.671Z] + . [2023-11-15T23:07:37.671Z] -> Found 1 reports [2023-11-15T23:07:37.671Z] ==> Detecting git/mercurial file structure [2023-11-15T23:07:37.671Z] ==> Reading reports [2023-11-15T23:07:37.671Z] + ./coverage.out bytes=18506 [2023-11-15T23:07:37.671Z] ==> Appending adjustments [2023-11-15T23:07:37.671Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T23:07:37.671Z] + Found adjustments [2023-11-15T23:07:37.671Z] ==> Gzipping contents [2023-11-15T23:07:37.671Z] 16K /tmp/codecov.W1NiCd.gz [2023-11-15T23:07:37.671Z] ==> Uploading reports [2023-11-15T23:07:37.671Z] url: https://codecov.io [2023-11-15T23:07:37.671Z] query: branch=napa&commit=6c8369be06a5c5a29b6c14d39caafaee9c646641&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T23:07:37.671Z] -> Pinging Codecov [2023-11-15T23:07:37.671Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=napa&commit=6c8369be06a5c5a29b6c14d39caafaee9c646641&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-11-15T23:07:37.930Z] -> Uploading to [2023-11-15T23:07:37.930Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/7D719EC7BBE17E464838252E33014C33/6c8369be06a5c5a29b6c14d39caafaee9c646641/23577e84-2080-4740-8fd3-2f309cc6bad4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T230737Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df97cfbb7cc4d1da519f42660761c080ef27d184181b9b350cc38c2eaa261a9a [2023-11-15T23:07:37.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T23:07:37.930Z] Dload Upload Total Spent Left Speed [2023-11-15T23:07:38.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14838 0 0 100 14838 0 47254 --:--:-- --:--:-- --:--:-- 47254 [2023-11-15T23:07:38.189Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] } [2023-11-15T23:07:38.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-11-15T23:07:38.377Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-11-15T23:07:38.388Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:38.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T23:07:38.685Z] [2023-11-15T23:07:38.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:38.986Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T23:07:38.986Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-11-15T23:07:38.986Z] df9b9388f04a: Pulling fs layer [2023-11-15T23:07:38.986Z] 52dc419b0ee2: Pulling fs layer [2023-11-15T23:07:38.986Z] 25bc292e5bac: Pulling fs layer [2023-11-15T23:07:38.986Z] 114826534d7a: Pulling fs layer [2023-11-15T23:07:38.986Z] 4657fd5d0bcf: Pulling fs layer [2023-11-15T23:07:38.986Z] 6ad1cebc031e: Pulling fs layer [2023-11-15T23:07:38.986Z] 8a3aa393b2d8: Pulling fs layer [2023-11-15T23:07:38.986Z] 4657fd5d0bcf: Waiting [2023-11-15T23:07:38.986Z] 6ad1cebc031e: Waiting [2023-11-15T23:07:38.986Z] 114826534d7a: Waiting [2023-11-15T23:07:38.986Z] 8a3aa393b2d8: Waiting [2023-11-15T23:07:38.986Z] 25bc292e5bac: Verifying Checksum [2023-11-15T23:07:38.986Z] 25bc292e5bac: Download complete [2023-11-15T23:07:38.986Z] 52dc419b0ee2: Verifying Checksum [2023-11-15T23:07:38.986Z] 52dc419b0ee2: Download complete [2023-11-15T23:07:38.986Z] 4657fd5d0bcf: Verifying Checksum [2023-11-15T23:07:38.986Z] 4657fd5d0bcf: Download complete [2023-11-15T23:07:38.986Z] df9b9388f04a: Download complete [2023-11-15T23:07:39.247Z] df9b9388f04a: Pull complete [2023-11-15T23:07:39.247Z] 6ad1cebc031e: Verifying Checksum [2023-11-15T23:07:39.247Z] 6ad1cebc031e: Download complete [2023-11-15T23:07:39.247Z] 52dc419b0ee2: Pull complete [2023-11-15T23:07:39.508Z] 25bc292e5bac: Pull complete [2023-11-15T23:07:39.770Z] 114826534d7a: Download complete [2023-11-15T23:07:40.028Z] 8a3aa393b2d8: Verifying Checksum [2023-11-15T23:07:40.028Z] 8a3aa393b2d8: Download complete [2023-11-15T23:07:44.226Z] 114826534d7a: Pull complete [2023-11-15T23:07:44.226Z] 4657fd5d0bcf: Pull complete [2023-11-15T23:07:44.226Z] 6ad1cebc031e: Pull complete [2023-11-15T23:07:46.756Z] 8a3aa393b2d8: Pull complete [2023-11-15T23:07:46.756Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-11-15T23:07:46.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-11-15T23:07:46.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:07:46.836Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:07:46.868Z] $ 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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-11-15T23:07:51.768Z] $ docker top dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-11-15T23:07:51.828Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh [2023-11-15T23:07:52.103Z] + set -o pipefail [2023-11-15T23:07:52.103Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' [2023-11-15T23:07:54.637Z] [2023-11-15T23:07:54.637Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa (github.com/edgexfoundry/device-mqtt-go)... [2023-11-15T23:07:54.637Z] [2023-11-15T23:07:54.637Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/b39a022b-44c5-437a-bf64-26747daf1255/history/262d2d50-ff09-4ca7-856e-4629b58c530b [2023-11-15T23:07:54.637Z] [2023-11-15T23:07:54.637Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-11-15T23:07:54.637Z] [2023-11-15T23:07:54.637Z] [2023-11-15T23:07:54.637Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-11-15T23:07:54.637Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-11-15T23:07:54.637Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-11-15T23:07:54.649Z] $ docker stop --time=1 dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 [2023-11-15T23:07:55.930Z] $ docker rm -f --volumes dbe3b2fe40b6ce24ae8cc85aa861125c2f74a06ee46691777dd85e6a64721119 [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-11-15T23:07:56.389Z] + git log --format=format:%s -1 6c8369be06a5c5a29b6c14d39caafaee9c646641 [Pipeline] sh [2023-11-15T23:07:56.678Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T23:07:56.678Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:56.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T23:07:56.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:07:57.044Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:07:57.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T23:07:57.375Z] $ docker top 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b -eo pid,comm [2023-11-15T23:07:57.418Z] 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-11-15T23:07:57.418Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T23:07:57.441Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T23:07:57.731Z] + git semver [Pipeline] } [2023-11-15T23:07:58.004Z] $ docker stop --time=1 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b [2023-11-15T23:07:59.300Z] $ docker rm -f --volumes 730d9bb96cde15cd9359f48877179030185518e47361c3082c41f5d210cb753b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:59.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T23:07:59.681Z] [2023-11-15T23:07:59.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:07:59.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T23:07:59.975Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-11-15T23:07:59.975Z] ab5ef0e58194: Pulling fs layer [2023-11-15T23:07:59.975Z] 9712f1f96733: Pulling fs layer [2023-11-15T23:07:59.975Z] 63f879dbbcfc: Pulling fs layer [2023-11-15T23:07:59.975Z] 0d9ebad4ef96: Pulling fs layer [2023-11-15T23:07:59.975Z] e9a5061849ea: Pulling fs layer [2023-11-15T23:07:59.975Z] d747dcd14b5f: Pulling fs layer [2023-11-15T23:07:59.975Z] 2de7ff778b66: Pulling fs layer [2023-11-15T23:07:59.975Z] d747dcd14b5f: Waiting [2023-11-15T23:07:59.975Z] 2de7ff778b66: Waiting [2023-11-15T23:07:59.975Z] 0d9ebad4ef96: Waiting [2023-11-15T23:07:59.975Z] e9a5061849ea: Waiting [2023-11-15T23:07:59.975Z] 9712f1f96733: Verifying Checksum [2023-11-15T23:07:59.975Z] 9712f1f96733: Download complete [2023-11-15T23:08:00.238Z] 63f879dbbcfc: Verifying Checksum [2023-11-15T23:08:00.238Z] 63f879dbbcfc: Download complete [2023-11-15T23:08:00.497Z] 0d9ebad4ef96: Verifying Checksum [2023-11-15T23:08:00.497Z] 0d9ebad4ef96: Download complete [2023-11-15T23:08:00.497Z] e9a5061849ea: Verifying Checksum [2023-11-15T23:08:00.497Z] e9a5061849ea: Download complete [2023-11-15T23:08:00.497Z] d747dcd14b5f: Verifying Checksum [2023-11-15T23:08:00.497Z] d747dcd14b5f: Download complete [2023-11-15T23:08:00.497Z] 2de7ff778b66: Verifying Checksum [2023-11-15T23:08:00.497Z] 2de7ff778b66: Download complete [2023-11-15T23:08:00.755Z] ab5ef0e58194: Verifying Checksum [2023-11-15T23:08:00.755Z] ab5ef0e58194: Download complete [2023-11-15T23:08:04.031Z] ab5ef0e58194: Pull complete [2023-11-15T23:08:04.031Z] 9712f1f96733: Pull complete [2023-11-15T23:08:04.601Z] 63f879dbbcfc: Pull complete [2023-11-15T23:08:08.793Z] 0d9ebad4ef96: Pull complete [2023-11-15T23:08:09.359Z] e9a5061849ea: Pull complete [2023-11-15T23:08:09.359Z] d747dcd14b5f: Pull complete [2023-11-15T23:08:10.300Z] 2de7ff778b66: Pull complete [2023-11-15T23:08:10.300Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-11-15T23:08:10.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-11-15T23:08:10.300Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:08:10.378Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:08:10.405Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-11-15T23:08:16.389Z] $ docker top 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-11-15T23:08:16.457Z] provisioning config files... [2023-11-15T23:08:16.465Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6446227321263897516tmp [2023-11-15T23:08:16.476Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config5062129325813128542tmp [2023-11-15T23:08:16.483Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config17161609231495637218tmp [Pipeline] { [Pipeline] echo [2023-11-15T23:08:16.496Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:16.778Z] ---> sigul-configuration.sh [2023-11-15T23:08:16.778Z] gpg: directory `/root/.gnupg' created [2023-11-15T23:08:16.778Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-11-15T23:08:16.778Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-11-15T23:08:16.778Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-11-15T23:08:16.778Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-11-15T23:08:16.778Z] gpg: CAST5 encrypted data [2023-11-15T23:08:16.778Z] gpg: encrypted with 1 passphrase [2023-11-15T23:08:16.778Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-11-15T23:08:17.067Z] + mkdir /home/jenkins [2023-11-15T23:08:17.067Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-11-15T23:08:17.354Z] + 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-11-15T23:08:17.362Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:17.647Z] ---> sigul-install.sh [2023-11-15T23:08:17.647Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-11-15T23:08:17.932Z] + git tag --list [2023-11-15T23:08:17.932Z] 0.7.1 [2023-11-15T23:08:17.932Z] v1.0.0 [2023-11-15T23:08:17.932Z] v1.1.0 [2023-11-15T23:08:17.932Z] v1.1.1 [2023-11-15T23:08:17.932Z] v1.2.2 [2023-11-15T23:08:17.932Z] v1.3.0 [2023-11-15T23:08:17.932Z] v1.3.1 [2023-11-15T23:08:17.932Z] v2.0.0 [2023-11-15T23:08:17.932Z] v2.1.0 [2023-11-15T23:08:17.932Z] v2.1.1 [2023-11-15T23:08:17.932Z] v2.2.0 [2023-11-15T23:08:17.932Z] v2.3.0 [2023-11-15T23:08:17.932Z] v3.0 [2023-11-15T23:08:17.932Z] v3.0.0 [2023-11-15T23:08:17.932Z] v3.1 [2023-11-15T23:08:17.932Z] v3.1.0 [2023-11-15T23:08:17.932Z] v3.1.0-dev.1 [2023-11-15T23:08:17.932Z] v3.1.0-dev.10 [2023-11-15T23:08:17.932Z] v3.1.0-dev.11 [2023-11-15T23:08:17.932Z] v3.1.0-dev.12 [2023-11-15T23:08:17.932Z] v3.1.0-dev.13 [2023-11-15T23:08:17.932Z] v3.1.0-dev.14 [2023-11-15T23:08:17.932Z] v3.1.0-dev.15 [2023-11-15T23:08:17.932Z] v3.1.0-dev.16 [2023-11-15T23:08:17.932Z] v3.1.0-dev.17 [2023-11-15T23:08:17.932Z] v3.1.0-dev.18 [2023-11-15T23:08:17.932Z] v3.1.0-dev.19 [2023-11-15T23:08:17.932Z] v3.1.0-dev.2 [2023-11-15T23:08:17.932Z] v3.1.0-dev.20 [2023-11-15T23:08:17.932Z] v3.1.0-dev.21 [2023-11-15T23:08:17.932Z] v3.1.0-dev.22 [2023-11-15T23:08:17.932Z] v3.1.0-dev.23 [2023-11-15T23:08:17.932Z] v3.1.0-dev.24 [2023-11-15T23:08:17.932Z] v3.1.0-dev.25 [2023-11-15T23:08:17.932Z] v3.1.0-dev.3 [2023-11-15T23:08:17.932Z] v3.1.0-dev.4 [2023-11-15T23:08:17.932Z] v3.1.0-dev.5 [2023-11-15T23:08:17.932Z] v3.1.0-dev.6 [2023-11-15T23:08:17.932Z] v3.1.0-dev.7 [2023-11-15T23:08:17.932Z] v3.1.0-dev.8 [2023-11-15T23:08:17.932Z] v3.1.0-dev.9 [Pipeline] sh [2023-11-15T23:08:18.226Z] + lftools sign git-tag v3.1.0 [2023-11-15T23:08:18.795Z] Signing Git tag with Sigul... [2023-11-15T23:08:18.795Z] Signing v3.1.0 [Pipeline] echo [2023-11-15T23:08:19.376Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:19.665Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-11-15T23:08:19.672Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-11-15T23:08:19.692Z] $ docker stop --time=1 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 [2023-11-15T23:08:21.002Z] $ docker rm -f --volumes 8f770095972f41da3aa3a1605d8b35d201fa290fae5f1c3495d5478097422f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-11-15T23:08:21.411Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T23:08:21.411Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:08:21.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T23:08:21.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:08:21.774Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:08:21.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T23:08:22.128Z] $ docker top 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 -eo pid,comm [2023-11-15T23:08:22.181Z] 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-11-15T23:08:22.181Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T23:08:22.209Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T23:08:22.500Z] + git semver [Pipeline] } [2023-11-15T23:08:22.773Z] $ docker stop --time=1 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 [2023-11-15T23:08:24.031Z] $ docker rm -f --volumes 1504ef64bf0f4e35d2ac387ee6fc12407ed151b7aa22db01eae589a2d0960f53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T23:08:24.373Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T23:08:24.373Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:08:24.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T23:08:24.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:08:24.749Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:08:24.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T23:08:25.140Z] $ docker top b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd -eo pid,comm [2023-11-15T23:08:25.188Z] 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-11-15T23:08:25.188Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T23:08:25.216Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T23:08:25.503Z] + git semver [Pipeline] } [2023-11-15T23:08:25.773Z] $ docker stop --time=1 b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd [2023-11-15T23:08:27.040Z] $ docker rm -f --volumes b9ba66edd6e2cd274031df13c1089607c1e23f41e0059504e96c4f02f1dc79cd [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-11-15T23:08:27.609Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] [2023-11-15T23:08:27.609Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2023-11-15T23:08:27.609Z] total 16 [2023-11-15T23:08:27.609Z] drwxr-xr-x 3 root root 4096 Nov 15 23:02 . [2023-11-15T23:08:27.609Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 23:08 .. [2023-11-15T23:08:27.609Z] drwxr-xr-x 2 root root 4096 Nov 15 23:02 cost [2023-11-15T23:08:27.609Z] -rw-r--r-- 1 root root 84 Nov 15 23:02 cost.csv [2023-11-15T23:08:27.609Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2023-11-15T23:08:27.609Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2023-11-15T23:08:27.609Z] total 16 [2023-11-15T23:08:27.609Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 23:02 . [2023-11-15T23:08:27.609Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 23:08 .. [2023-11-15T23:08:27.609Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 23:02 cost [2023-11-15T23:08:27.609Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 15 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:27.898Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:28.752Z] ---> package-listing.sh [2023-11-15T23:08:28.752Z] ++ facter osfamily [2023-11-15T23:08:28.752Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T23:08:29.011Z] + OS_FAMILY=debian [2023-11-15T23:08:29.011Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa [2023-11-15T23:08:29.011Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T23:08:29.011Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T23:08:29.011Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T23:08:29.011Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T23:08:29.011Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2023-11-15T23:08:29.011Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T23:08:29.011Z] + case "${OS_FAMILY}" in [2023-11-15T23:08:29.011Z] + dpkg -l [2023-11-15T23:08:29.011Z] + grep '^ii' [2023-11-15T23:08:29.011Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T23:08:29.011Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T23:08:29.011Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T23:08:29.011Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2023-11-15T23:08:29.011Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [2023-11-15T23:08:29.011Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo [2023-11-15T23:08:29.021Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T23:08:29.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T23:08:29.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T23:08:29.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T23:08:29.920Z] prd-ubuntu20.04-docker-8c-8g-18303 does not seem to be running inside a container [2023-11-15T23:08:29.950Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T23:08:30.211Z] $ docker top a704d2256c991bf4b794aed9fad0e74edca519208f5ab7b217de8343c461c053 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T23:08:30.625Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T23:08:30.948Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T23:08:31.228Z] + ls /var/log/sa-host [2023-11-15T23:08:31.228Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T23:08:31.370Z] provisioning config files... [2023-11-15T23:08:31.376Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config2858819492156458605tmp [Pipeline] { [Pipeline] echo [2023-11-15T23:08:31.393Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:31.671Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T23:08:31.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:32.003Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T23:08:32.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:32.299Z] ---> sudo-logs.sh [2023-11-15T23:08:32.300Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T23:08:32.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:32.601Z] ---> job-cost.sh [2023-11-15T23:08:32.601Z] lf-activate-venv: SKIPPING [2023-11-15T23:08:32.601Z] DEBUG: total: 0.2199999988079071 [2023-11-15T23:08:32.601Z] INFO: Retrieving Stack Cost... [2023-11-15T23:08:32.861Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T23:08:33.429Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T23:08:33.442Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T23:08:33.727Z] ---> logs-deploy.sh [2023-11-15T23:08:33.727Z] lf-activate-venv: SKIPPING [2023-11-15T23:08:33.727Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/4 [2023-11-15T23:08:33.727Z] INFO: archiving workspace using pattern(s): [2023-11-15T23:08:34.666Z] Archives upload complete. [2023-11-15T23:08:34.666Z] INFO: archiving logs to Nexus