Started by upstream project "edgexfoundry/cd-management/release" build number 151 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 076aceae7774eed065da4ce17ac21a3c9dad675d 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-ssh6140294597186439428.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6318903101349050657.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3750430109492394560.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7609922113557972483.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7007907081095749019.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17540’ Running on prd-ubuntu20.04-docker-8c-8g-17542 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 076aceae7774eed065da4ce17ac21a3c9dad675d (main) Commit message: "docs: Add main branch warning (#612)" > git config core.sparsecheckout # timeout=10 > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 > git rev-list --no-walk 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-31T20:37:28.927Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-31T20:37:28.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:37:29.011Z] ========================================================= [2023-05-31T20:37:29.011Z] EdgeX Global Pipelines Version Info [2023-05-31T20:37:29.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:29.730Z] ------------------- [2023-05-31T20:37:29.730Z] stable info: [2023-05-31T20:37:29.730Z] ------------------- [2023-05-31T20:37:29.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-31T20:37:29.730Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:37:29.730Z] Message: update stable to v1.0.249 [2023-05-31T20:37:30.305Z] ------------------- [2023-05-31T20:37:30.305Z] experimental info: [2023-05-31T20:37:30.305Z] ------------------- [2023-05-31T20:37:30.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-31T20:37:30.305Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-31T20:37:30.305Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-31T20:37:30.486Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-05-31T20:37:30.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-05-31T20:37:30.512Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-31T20:37:30.523Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-31T20:37:30.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-31T20:37:30.548Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-31T20:37:30.560Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-31T20:37:30.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-31T20:37:30.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-31T20:37:30.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-31T20:37:30.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-31T20:37:30.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-05-31T20:37:30.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-31T20:37:30.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-31T20:37:30.671Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:37:30.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-31T20:37:30.697Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:37:30.720Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-31T20:37:30.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-31T20:37:30.755Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-31T20:37:30.766Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-31T20:37:30.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-31T20:37:30.800Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-31T20:37:30.817Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-31T20:37:30.831Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-31T20:37:30.841Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-31T20:37:30.860Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-31T20:37:30.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-31T20:37:30.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-31T20:37:30.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-31T20:37:30.906Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo [2023-05-31T20:37:30.919Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 076acea [Pipeline] echo [2023-05-31T20:37:30.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:37:30.981Z] provisioning config files... [2023-05-31T20:37:30.996Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5880367421089997519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:31.301Z] ---> docker-login.sh [2023-05-31T20:37:31.301Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:37:31.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:31.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:31.563Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:31.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:31.563Z] [2023-05-31T20:37:31.563Z] Login Succeeded [2023-05-31T20:37:31.563Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:37:31.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:31.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:31.823Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:31.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:31.823Z] [2023-05-31T20:37:31.823Z] Login Succeeded [2023-05-31T20:37:31.823Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:37:31.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:31.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:31.823Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:31.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:31.823Z] [2023-05-31T20:37:31.823Z] Login Succeeded [2023-05-31T20:37:31.823Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:37:32.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:32.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:32.082Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:32.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:32.082Z] [2023-05-31T20:37:32.082Z] Login Succeeded [2023-05-31T20:37:32.082Z] docker.io [2023-05-31T20:37:32.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:32.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:32.341Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:32.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:32.341Z] [2023-05-31T20:37:32.341Z] Login Succeeded [2023-05-31T20:37:32.341Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:37:32.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-31T20:37:32.736Z] + git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo [2023-05-31T20:37:32.783Z] -----------> git rev-list -1 --merges 076aceae7774eed065da4ce17ac21a3c9dad675d~1..076aceae7774eed065da4ce17ac21a3c9dad675d 076aceae7774eed065da4ce17ac21a3c9dad675d [false] [Pipeline] sh [2023-05-31T20:37:33.079Z] + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo [2023-05-31T20:37:33.100Z] ========================================================= [2023-05-31T20:37:33.100Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-05-31T20:37:33.100Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:37:33.441Z] + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] echo [2023-05-31T20:37:33.454Z] [semverPrep] GIT_COMMIT: 076aceae7774eed065da4ce17ac21a3c9dad675d, Commit Message: docs: Add main branch warning (#612) [Pipeline] echo [2023-05-31T20:37:33.465Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-31T20:37:33.813Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:37:33.813Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-31T20:37:33.813Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-31T20:37:33.813Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-31T20:37:33.813Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-31T20:37:33.813Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-31T20:37:33.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:37:34.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:34.174Z] [2023-05-31T20:37:34.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:37:34.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:34.746Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-31T20:37:34.746Z] b85a868b505f: Pulling fs layer [2023-05-31T20:37:34.746Z] e2be974225ed: Pulling fs layer [2023-05-31T20:37:34.746Z] 339a4e72a1f5: Pulling fs layer [2023-05-31T20:37:34.746Z] 988bab9f4d93: Pulling fs layer [2023-05-31T20:37:34.746Z] 1469e6f7b9e6: Pulling fs layer [2023-05-31T20:37:34.746Z] eaf3925da568: Pulling fs layer [2023-05-31T20:37:34.746Z] bab4dde63d76: Pulling fs layer [2023-05-31T20:37:34.746Z] bde34c3a00c8: Pulling fs layer [2023-05-31T20:37:34.746Z] b352a97aabf1: Pulling fs layer [2023-05-31T20:37:34.746Z] 4872d77fe225: Pulling fs layer [2023-05-31T20:37:34.746Z] 5851b861e8e6: Pulling fs layer [2023-05-31T20:37:34.746Z] 4872d77fe225: Waiting [2023-05-31T20:37:34.746Z] bab4dde63d76: Waiting [2023-05-31T20:37:34.746Z] bde34c3a00c8: Waiting [2023-05-31T20:37:34.746Z] 1469e6f7b9e6: Waiting [2023-05-31T20:37:34.746Z] b352a97aabf1: Waiting [2023-05-31T20:37:34.746Z] 5851b861e8e6: Waiting [2023-05-31T20:37:34.746Z] eaf3925da568: Waiting [2023-05-31T20:37:34.746Z] e2be974225ed: Download complete [2023-05-31T20:37:34.746Z] 988bab9f4d93: Verifying Checksum [2023-05-31T20:37:34.746Z] 988bab9f4d93: Download complete [2023-05-31T20:37:34.746Z] 1469e6f7b9e6: Verifying Checksum [2023-05-31T20:37:34.746Z] 1469e6f7b9e6: Download complete [2023-05-31T20:37:34.746Z] 339a4e72a1f5: Verifying Checksum [2023-05-31T20:37:34.746Z] 339a4e72a1f5: Download complete [2023-05-31T20:37:34.746Z] eaf3925da568: Verifying Checksum [2023-05-31T20:37:34.746Z] eaf3925da568: Download complete [2023-05-31T20:37:34.746Z] bde34c3a00c8: Verifying Checksum [2023-05-31T20:37:34.746Z] bde34c3a00c8: Download complete [2023-05-31T20:37:34.746Z] b352a97aabf1: Download complete [2023-05-31T20:37:34.746Z] 4872d77fe225: Verifying Checksum [2023-05-31T20:37:34.746Z] 4872d77fe225: Download complete [2023-05-31T20:37:34.746Z] 5851b861e8e6: Verifying Checksum [2023-05-31T20:37:35.004Z] b85a868b505f: Verifying Checksum [2023-05-31T20:37:35.004Z] b85a868b505f: Download complete [2023-05-31T20:37:35.263Z] bab4dde63d76: Verifying Checksum [2023-05-31T20:37:35.263Z] bab4dde63d76: Download complete [2023-05-31T20:37:36.210Z] b85a868b505f: Pull complete [2023-05-31T20:37:36.486Z] e2be974225ed: Pull complete [2023-05-31T20:37:37.061Z] 339a4e72a1f5: Pull complete [2023-05-31T20:37:37.331Z] 988bab9f4d93: Pull complete [2023-05-31T20:37:37.901Z] 1469e6f7b9e6: Pull complete [2023-05-31T20:37:37.901Z] eaf3925da568: Pull complete [2023-05-31T20:37:39.811Z] bab4dde63d76: Pull complete [2023-05-31T20:37:39.811Z] bde34c3a00c8: Pull complete [2023-05-31T20:37:39.811Z] b352a97aabf1: Pull complete [2023-05-31T20:37:39.811Z] 4872d77fe225: Pull complete [2023-05-31T20:37:40.072Z] 5851b861e8e6: Pull complete [2023-05-31T20:37:40.072Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-31T20:37:40.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:37:40.072Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:37:40.182Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:37:40.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:37:41.860Z] $ docker top 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a -eo pid,comm [2023-05-31T20:37:41.911Z] 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-05-31T20:37:41.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-31T20:37:41.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:37:41.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:37:42.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:37:42.058Z] $ docker exec 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent [2023-05-31T20:37:42.166Z] SSH_AUTH_SOCK=/tmp/ssh-hJp3123Dh1Ns/agent.32 [2023-05-31T20:37:42.166Z] SSH_AGENT_PID=38 [2023-05-31T20:37:42.174Z] Running ssh-add (command line suppressed) [2023-05-31T20:37:42.278Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9663399427668129464.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9663399427668129464.key) [2023-05-31T20:37:42.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:37:42.580Z] + git tag --points-at 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [2023-05-31T20:37:42.596Z] $ docker exec --env ******** --env ******** 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent -k [2023-05-31T20:37:42.688Z] unset SSH_AUTH_SOCK; [2023-05-31T20:37:42.689Z] unset SSH_AGENT_PID; [2023-05-31T20:37:42.689Z] echo Agent pid 38 killed; [2023-05-31T20:37:42.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-05-31T20:37:42.714Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.0|v3.0.0-dev.43' [Pipeline] sshagent [2023-05-31T20:37:42.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-31T20:37:42.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-31T20:37:42.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-31T20:37:42.839Z] $ docker exec 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent [2023-05-31T20:37:42.952Z] SSH_AUTH_SOCK=/tmp/ssh-kbYNjKxgs1jF/agent.71 [2023-05-31T20:37:42.952Z] SSH_AGENT_PID=78 [2023-05-31T20:37:42.958Z] Running ssh-add (command line suppressed) [2023-05-31T20:37:43.069Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9115798540850637398.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9115798540850637398.key) [2023-05-31T20:37:43.078Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-31T20:37:43.365Z] + git semver init [2023-05-31T20:37:43.624Z] 2023-05-31 20:37:43,570 [run_init] DEBUG init version:0.0.0 force:False [2023-05-31T20:37:43.624Z] 2023-05-31 20:37:43,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-05-31T20:37:43.624Z] 2023-05-31 20:37:43,571 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-05-31T20:37:43.624Z] 2023-05-31 20:37:43,571 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-31T20:37:44.561Z] 2023-05-31 20:37:44,325 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-05-31T20:37:44.562Z] 2023-05-31 20:37:44,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-05-31T20:37:44.562Z] 2023-05-31 20:37:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-05-31T20:37:44.562Z] 2023-05-31 20:37:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-05-31T20:37:44.562Z] 3.0.0 [Pipeline] } [2023-05-31T20:37:44.577Z] $ docker exec --env ******** --env ******** 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a ssh-agent -k [2023-05-31T20:37:44.671Z] unset SSH_AUTH_SOCK; [2023-05-31T20:37:44.672Z] unset SSH_AGENT_PID; [2023-05-31T20:37:44.672Z] echo Agent pid 78 killed; [2023-05-31T20:37:44.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:37:44.980Z] + git semver [Pipeline] } [2023-05-31T20:37:45.260Z] $ docker stop --time=1 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a [2023-05-31T20:37:46.562Z] $ docker rm -f --volumes 8c0cd8da7a7166276c59c38770e9751a46c71c7a7857cfe42df9a994f4691e6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:37:46.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-31T20:37:47.101Z] Stashed 1 file(s) [Pipeline] echo [2023-05-31T20:37:47.105Z] [edgeXSemver]: initialized semver on version 3.0.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-05-31T20:37:47.524Z] + git checkout 076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:37:47.524Z] HEAD is now at 076acea docs: Add main branch warning (#612) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:37:47.554Z] provisioning config files... [2023-05-31T20:37:47.562Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15604885862458388041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:37:47.862Z] ---> docker-login.sh [2023-05-31T20:37:47.862Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:37:47.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:47.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:47.862Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:47.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:47.862Z] [2023-05-31T20:37:47.862Z] Login Succeeded [2023-05-31T20:37:47.862Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:37:47.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:47.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:47.862Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:47.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:47.862Z] [2023-05-31T20:37:47.862Z] Login Succeeded [2023-05-31T20:37:47.862Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:37:48.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:48.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:48.122Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:48.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:48.122Z] [2023-05-31T20:37:48.122Z] Login Succeeded [2023-05-31T20:37:48.122Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:37:48.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:48.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:48.122Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:48.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:48.122Z] [2023-05-31T20:37:48.122Z] Login Succeeded [2023-05-31T20:37:48.122Z] docker.io [2023-05-31T20:37:48.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:37:48.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:37:48.389Z] Configure a credential helper to remove this warning. See [2023-05-31T20:37:48.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:37:48.389Z] [2023-05-31T20:37:48.389Z] Login Succeeded [2023-05-31T20:37:48.389Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:37:48.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:37:48.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:37:48.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:37:48.479Z] ========================================================= [2023-05-31T20:37:48.479Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-31T20:37:48.479Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:37:48.795Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:37:48.795Z] Sending build context to Docker daemon 6.594MB [2023-05-31T20:37:48.795Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:37:48.795Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:37:48.795Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-31T20:37:48.795Z] f56be85fc22e: Pulling fs layer [2023-05-31T20:37:48.795Z] 85791d961cd3: Pulling fs layer [2023-05-31T20:37:48.795Z] d694b5ae8c79: Pulling fs layer [2023-05-31T20:37:48.795Z] 9f32a84ed3da: Pulling fs layer [2023-05-31T20:37:48.795Z] 4d19c01a9841: Pulling fs layer [2023-05-31T20:37:48.795Z] 9325e15d5711: Pulling fs layer [2023-05-31T20:37:48.795Z] 556b6ee489ea: Pulling fs layer [2023-05-31T20:37:48.795Z] c5a4b2cf53e6: Pulling fs layer [2023-05-31T20:37:48.795Z] 9325e15d5711: Waiting [2023-05-31T20:37:48.795Z] 556b6ee489ea: Waiting [2023-05-31T20:37:48.795Z] c5a4b2cf53e6: Waiting [2023-05-31T20:37:48.795Z] 9f32a84ed3da: Waiting [2023-05-31T20:37:48.795Z] 4d19c01a9841: Waiting [2023-05-31T20:37:48.795Z] 85791d961cd3: Download complete [2023-05-31T20:37:49.053Z] 9f32a84ed3da: Verifying Checksum [2023-05-31T20:37:49.053Z] 9f32a84ed3da: Download complete [2023-05-31T20:37:49.053Z] 4d19c01a9841: Download complete [2023-05-31T20:37:49.053Z] f56be85fc22e: Verifying Checksum [2023-05-31T20:37:49.053Z] f56be85fc22e: Download complete [2023-05-31T20:37:49.053Z] 9325e15d5711: Verifying Checksum [2023-05-31T20:37:49.053Z] 9325e15d5711: Download complete [2023-05-31T20:37:49.312Z] f56be85fc22e: Pull complete [2023-05-31T20:37:49.312Z] 85791d961cd3: Pull complete [2023-05-31T20:37:49.571Z] c5a4b2cf53e6: Verifying Checksum [2023-05-31T20:37:49.571Z] c5a4b2cf53e6: Download complete [2023-05-31T20:37:49.571Z] d694b5ae8c79: Verifying Checksum [2023-05-31T20:37:49.571Z] d694b5ae8c79: Download complete [2023-05-31T20:37:49.828Z] 556b6ee489ea: Verifying Checksum [2023-05-31T20:37:49.828Z] 556b6ee489ea: Download complete [2023-05-31T20:37:53.108Z] d694b5ae8c79: Pull complete [2023-05-31T20:37:53.108Z] 9f32a84ed3da: Pull complete [2023-05-31T20:37:53.108Z] 4d19c01a9841: Pull complete [2023-05-31T20:37:53.108Z] 9325e15d5711: Pull complete [2023-05-31T20:37:55.658Z] 556b6ee489ea: Pull complete [2023-05-31T20:37:56.227Z] c5a4b2cf53e6: Pull complete [2023-05-31T20:37:56.227Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-31T20:37:56.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-31T20:37:56.227Z] ---> c4be618373d6 [2023-05-31T20:37:56.227Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:38:00.427Z] ---> Running in f8dedd28a799 [2023-05-31T20:38:00.427Z] Removing intermediate container f8dedd28a799 [2023-05-31T20:38:00.427Z] ---> 1ff99179f354 [2023-05-31T20:38:00.427Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:38:00.427Z] ---> Running in e8c23e83694e [2023-05-31T20:38:00.427Z] Removing intermediate container e8c23e83694e [2023-05-31T20:38:00.427Z] ---> d21bc1b980fe [2023-05-31T20:38:00.427Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:38:00.427Z] ---> Running in 7bf3706916e2 [2023-05-31T20:38:00.687Z] Removing intermediate container 7bf3706916e2 [2023-05-31T20:38:00.687Z] ---> 31c625badcb5 [2023-05-31T20:38:00.687Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:38:00.687Z] ---> Running in 1921357aa418 [2023-05-31T20:38:00.945Z] Removing intermediate container 1921357aa418 [2023-05-31T20:38:00.945Z] ---> dad08db4a4f9 [2023-05-31T20:38:00.945Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:38:01.206Z] ---> Running in 7e0ca2cb62b6 [2023-05-31T20:38:01.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:38:02.219Z] Still waiting to schedule task [2023-05-31T20:38:02.219Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17541’ [2023-05-31T20:38:02.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:38:02.840Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:38:02.840Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:38:02.840Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:38:02.840Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:38:02.840Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:38:02.840Z] OK: 269 MiB in 57 packages [2023-05-31T20:38:03.408Z] Removing intermediate container 7e0ca2cb62b6 [2023-05-31T20:38:03.408Z] ---> eed789536789 [2023-05-31T20:38:03.408Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-05-31T20:38:03.408Z] ---> Running in fc8d71d1f809 [2023-05-31T20:38:03.668Z] Removing intermediate container fc8d71d1f809 [2023-05-31T20:38:03.668Z] ---> 91ecff0e1d1d [2023-05-31T20:38:03.668Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:38:03.668Z] ---> 95ba1a2edeca [2023-05-31T20:38:03.668Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:38:03.668Z] ---> Running in d3ad610b3870 [2023-05-31T20:38:50.359Z] Removing intermediate container d3ad610b3870 [2023-05-31T20:38:50.359Z] ---> 32a0f1a4f6b0 [2023-05-31T20:38:50.359Z] Step 11/12 : COPY . . [2023-05-31T20:38:50.359Z] ---> 8d88fbbc3bee [2023-05-31T20:38:50.359Z] Step 12/12 : RUN $MAKE [2023-05-31T20:38:50.359Z] ---> Running in 43228f05b15a [2023-05-31T20:38:50.359Z] noop [2023-05-31T20:38:50.359Z] Removing intermediate container 43228f05b15a [2023-05-31T20:38:50.359Z] ---> b6ad554d4387 [2023-05-31T20:38:50.359Z] Successfully built b6ad554d4387 [2023-05-31T20:38:50.359Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:50.684Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:38:50.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:38:50.750Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:38:50.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:38:51.103Z] $ docker top 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:38:51.448Z] + go version [2023-05-31T20:38:51.448Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-31T20:38:51.463Z] $ docker stop --time=1 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb [2023-05-31T20:38:52.783Z] $ docker rm -f --volumes 1204d4bcdd7f391bf22c4f6d6943df3d345fb3bb121a544018876126499987bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:38:53.209Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-31T20:38:53.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:38:53.278Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:38:53.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-31T20:38:53.624Z] $ docker top 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:38:53.960Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:38:54.253Z] + make test [2023-05-31T20:38:54.253Z] go test ./... -coverprofile=coverage.out ./... [2023-05-31T20:38:58.447Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-05-31T20:39:08.410Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-05-31T20:39:08.410Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-05-31T20:39:08.410Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-05-31T20:39:13.671Z] go vet ./... [2023-05-31T20:39:16.308Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:39:16.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:39:16.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:39:16.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:39:16.627Z] $ docker stop --time=1 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef [2023-05-31T20:39:21.025Z] $ docker rm -f --volumes 6d9d1736cc67633c4f7cf4ca98d41509027db435041b47d63aa922beceb419ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:39:21.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:39:21.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-31T20:39:21.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:39:22.224Z] + ls -al . [2023-05-31T20:39:22.224Z] total 184 [2023-05-31T20:39:22.224Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 20:38 . [2023-05-31T20:39:22.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 .. [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:37 .dockerignore [2023-05-31T20:39:22.224Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:37 .git [2023-05-31T20:39:22.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 .github [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:37 .gitignore [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:37 .golangci.yml [2023-05-31T20:39:22.224Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:37 .semver [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 9417 May 31 20:37 Attribution.txt [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 17522 May 31 20:37 CHANGELOG.md [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 1689 May 31 20:37 Dockerfile [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:37 GOVERNANCE.md [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 678 May 31 20:37 Jenkinsfile [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:37 LICENSE [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 1732 May 31 20:37 Makefile [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:37 OWNERS.md [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 3695 May 31 20:37 README.md [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION [2023-05-31T20:39:22.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 bin [2023-05-31T20:39:22.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 cmd [2023-05-31T20:39:22.224Z] -rw-r--r-- 1 jenkins jenkins 18506 May 31 20:39 coverage.out [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 3285 May 31 20:37 go.mod [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:37 go.sum [2023-05-31T20:39:22.224Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:37 internal [2023-05-31T20:39:22.224Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:37 mock [2023-05-31T20:39:22.224Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:37 snap [2023-05-31T20:39:22.224Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 20:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:39:22.524Z] + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=amd64 --label version=3.0.0 . [2023-05-31T20:39:22.524Z] Sending build context to Docker daemon 6.614MB [2023-05-31T20:39:22.524Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:39:22.524Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T20:39:22.524Z] ---> b6ad554d4387 [2023-05-31T20:39:22.524Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:39:22.831Z] ---> Running in 855faca0e0c6 [2023-05-31T20:39:23.090Z] Removing intermediate container 855faca0e0c6 [2023-05-31T20:39:23.090Z] ---> 1940bae92bb1 [2023-05-31T20:39:23.090Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:39:23.090Z] ---> Running in 0f447b4a997d [2023-05-31T20:39:23.090Z] Removing intermediate container 0f447b4a997d [2023-05-31T20:39:23.090Z] ---> 9028edc9cf59 [2023-05-31T20:39:23.090Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:39:23.090Z] ---> Running in 6e0553b744c5 [2023-05-31T20:39:23.090Z] Removing intermediate container 6e0553b744c5 [2023-05-31T20:39:23.090Z] ---> 6c11cd5548a6 [2023-05-31T20:39:23.090Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:39:23.090Z] ---> Running in 87c4439bae8e [2023-05-31T20:39:23.349Z] Removing intermediate container 87c4439bae8e [2023-05-31T20:39:23.349Z] ---> 40faadeb00e2 [2023-05-31T20:39:23.349Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:39:23.349Z] ---> Running in c8b7beff3a61 [2023-05-31T20:39:23.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:23.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:23.866Z] OK: 269 MiB in 57 packages [2023-05-31T20:39:24.125Z] Removing intermediate container c8b7beff3a61 [2023-05-31T20:39:24.125Z] ---> bd7c28ab6e65 [2023-05-31T20:39:24.125Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-05-31T20:39:24.383Z] ---> Running in 2780526b76ea [2023-05-31T20:39:24.383Z] Removing intermediate container 2780526b76ea [2023-05-31T20:39:24.383Z] ---> 790f2813c21d [2023-05-31T20:39:24.383Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T20:39:24.383Z] ---> 27c0ed52bed6 [2023-05-31T20:39:24.383Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:39:24.383Z] ---> Running in dc561bd56cb3 [2023-05-31T20:39:25.405Z] Removing intermediate container dc561bd56cb3 [2023-05-31T20:39:25.405Z] ---> 2cf16931fe87 [2023-05-31T20:39:25.405Z] Step 11/24 : COPY . . [2023-05-31T20:39:25.663Z] ---> 715d580e8159 [2023-05-31T20:39:25.663Z] Step 12/24 : RUN $MAKE [2023-05-31T20:39:25.663Z] ---> Running in 166641da5251 [2023-05-31T20:39:25.921Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-05-31T20:39:58.058Z] Removing intermediate container 166641da5251 [2023-05-31T20:39:58.058Z] ---> 02b0e9148755 [2023-05-31T20:39:58.058Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T20:39:58.058Z] 3.17: Pulling from library/alpine [2023-05-31T20:39:58.058Z] f56be85fc22e: Already exists [2023-05-31T20:39:58.058Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:39:58.058Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:39:58.058Z] ---> 9ed4aefc74f6 [2023-05-31T20:39:58.058Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-05-31T20:39:58.058Z] ---> Running in 5e79466db0a4 [2023-05-31T20:39:58.058Z] Removing intermediate container 5e79466db0a4 [2023-05-31T20:39:58.058Z] ---> 24ce5d585e30 [2023-05-31T20:39:58.058Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:39:58.058Z] ---> Running in 1b219f628399 [2023-05-31T20:39:58.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:58.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-31T20:39:58.058Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:39:58.059Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:39:58.059Z] OK: 7 MiB in 16 packages [2023-05-31T20:39:58.059Z] Removing intermediate container 1b219f628399 [2023-05-31T20:39:58.059Z] ---> a893cd6002ca [2023-05-31T20:39:58.059Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-05-31T20:39:58.059Z] ---> 87aad25f9a92 [2023-05-31T20:39:58.059Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-05-31T20:39:58.059Z] ---> 441d06cec79b [2023-05-31T20:39:58.059Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-05-31T20:39:58.059Z] ---> b8ec66f45d52 [2023-05-31T20:39:58.059Z] Step 19/24 : EXPOSE 59982 [2023-05-31T20:39:58.059Z] ---> Running in 6b7b216d871b [2023-05-31T20:39:58.318Z] Removing intermediate container 6b7b216d871b [2023-05-31T20:39:58.318Z] ---> 1a42bebe5423 [2023-05-31T20:39:58.318Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-05-31T20:39:58.901Z] ---> Running in 3b7275a305d3 [2023-05-31T20:39:58.901Z] Removing intermediate container 3b7275a305d3 [2023-05-31T20:39:58.901Z] ---> abc46c21a62c [2023-05-31T20:39:58.901Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:39:58.901Z] ---> Running in f4875cc0a6f8 [2023-05-31T20:39:59.160Z] Removing intermediate container f4875cc0a6f8 [2023-05-31T20:39:59.160Z] ---> 6e55da07f6e9 [2023-05-31T20:39:59.160Z] Step 22/24 : LABEL arch=amd64 [2023-05-31T20:39:59.160Z] ---> Running in 7871ab94b473 [2023-05-31T20:39:59.160Z] Removing intermediate container 7871ab94b473 [2023-05-31T20:39:59.160Z] ---> ad4c50a48cb8 [2023-05-31T20:39:59.160Z] Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:39:59.160Z] ---> Running in a14a16929898 [2023-05-31T20:39:59.160Z] Removing intermediate container a14a16929898 [2023-05-31T20:39:59.160Z] ---> d8ce88875c77 [2023-05-31T20:39:59.160Z] Step 24/24 : LABEL version=3.0.0 [2023-05-31T20:39:59.418Z] ---> Running in 274ff9d6e24f [2023-05-31T20:39:59.418Z] Removing intermediate container 274ff9d6e24f [2023-05-31T20:39:59.418Z] ---> b5a8f5cbb679 [2023-05-31T20:39:59.418Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:39:59.418Z] Successfully built b5a8f5cbb679 [2023-05-31T20:39:59.418Z] 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-05-31T20:39:59.514Z] provisioning config files... [2023-05-31T20:39:59.522Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14863695932400511386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:39:59.830Z] ---> docker-login.sh [2023-05-31T20:39:59.830Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:39:59.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:59.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:59.830Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:59.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:59.830Z] [2023-05-31T20:39:59.830Z] Login Succeeded [2023-05-31T20:39:59.830Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:39:59.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:39:59.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:39:59.830Z] Configure a credential helper to remove this warning. See [2023-05-31T20:39:59.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:39:59.830Z] [2023-05-31T20:39:59.830Z] Login Succeeded [2023-05-31T20:39:59.830Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:40:00.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:00.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:00.087Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:00.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:00.087Z] [2023-05-31T20:40:00.087Z] Login Succeeded [2023-05-31T20:40:00.087Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:40:00.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:00.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:00.087Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:00.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:00.087Z] [2023-05-31T20:40:00.087Z] Login Succeeded [2023-05-31T20:40:00.087Z] docker.io [2023-05-31T20:40:00.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:00.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:00.344Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:00.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:00.344Z] [2023-05-31T20:40:00.344Z] Login Succeeded [2023-05-31T20:40:00.344Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:40:00.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:40:00.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:40:00.395Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-05-31T20:40:00.395Z] 076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:40:00.395Z] latest [2023-05-31T20:40:00.395Z] 3.0.0 [2023-05-31T20:40:00.395Z] 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:40:00.395Z] main [2023-05-31T20:40:00.395Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:00.795Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:01.119Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:40:01.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-05-31T20:40:01.119Z] 3c2e730e5477: Preparing [2023-05-31T20:40:01.119Z] 9e966c6df193: Preparing [2023-05-31T20:40:01.119Z] 5156903985a8: Preparing [2023-05-31T20:40:01.119Z] 059613446622: Preparing [2023-05-31T20:40:01.119Z] f1417ff83b31: Preparing [2023-05-31T20:40:01.119Z] f1417ff83b31: Layer already exists [2023-05-31T20:40:01.119Z] 9e966c6df193: Pushed [2023-05-31T20:40:01.119Z] 059613446622: Pushed [2023-05-31T20:40:01.119Z] 3c2e730e5477: Pushed [2023-05-31T20:40:01.716Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17553 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-05-31T20:40:01.728Z] Running in /w/workspace/device-mqtt-go/128 [Pipeline] { [Pipeline] checkout [2023-05-31T20:40:01.766Z] Selected Git installation does not exist. Using Default [2023-05-31T20:40:01.766Z] The recommended git tool is: NONE [2023-05-31T20:40:03.665Z] 5156903985a8: Pushed [2023-05-31T20:40:03.924Z] 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:04.241Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:04.550Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-05-31T20:40:04.550Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-05-31T20:40:04.550Z] 3c2e730e5477: Preparing [2023-05-31T20:40:04.550Z] 9e966c6df193: Preparing [2023-05-31T20:40:04.550Z] 5156903985a8: Preparing [2023-05-31T20:40:04.550Z] 059613446622: Preparing [2023-05-31T20:40:04.550Z] f1417ff83b31: Preparing [2023-05-31T20:40:04.550Z] 059613446622: Layer already exists [2023-05-31T20:40:04.550Z] 5156903985a8: Layer already exists [2023-05-31T20:40:04.550Z] 9e966c6df193: Layer already exists [2023-05-31T20:40:04.550Z] 3c2e730e5477: Layer already exists [2023-05-31T20:40:04.550Z] f1417ff83b31: Layer already exists [2023-05-31T20:40:04.550Z] latest: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:04.866Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:05.179Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 [2023-05-31T20:40:05.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-05-31T20:40:05.179Z] 3c2e730e5477: Preparing [2023-05-31T20:40:05.179Z] 9e966c6df193: Preparing [2023-05-31T20:40:05.179Z] 5156903985a8: Preparing [2023-05-31T20:40:05.179Z] 059613446622: Preparing [2023-05-31T20:40:05.179Z] f1417ff83b31: Preparing [2023-05-31T20:40:05.179Z] 5156903985a8: Layer already exists [2023-05-31T20:40:05.179Z] 3c2e730e5477: Layer already exists [2023-05-31T20:40:05.179Z] 059613446622: Layer already exists [2023-05-31T20:40:05.179Z] f1417ff83b31: Layer already exists [2023-05-31T20:40:05.179Z] 9e966c6df193: Layer already exists [2023-05-31T20:40:05.179Z] 3.0.0: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:05.495Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:05.799Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:40:05.799Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-05-31T20:40:05.799Z] 3c2e730e5477: Preparing [2023-05-31T20:40:05.799Z] 9e966c6df193: Preparing [2023-05-31T20:40:05.799Z] 5156903985a8: Preparing [2023-05-31T20:40:05.799Z] 059613446622: Preparing [2023-05-31T20:40:05.799Z] f1417ff83b31: Preparing [2023-05-31T20:40:05.799Z] 059613446622: Layer already exists [2023-05-31T20:40:05.799Z] f1417ff83b31: Layer already exists [2023-05-31T20:40:05.799Z] 9e966c6df193: Layer already exists [2023-05-31T20:40:05.799Z] 3c2e730e5477: Layer already exists [2023-05-31T20:40:05.799Z] 5156903985a8: Layer already exists [2023-05-31T20:40:05.799Z] 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:06.115Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:06.430Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-05-31T20:40:06.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-05-31T20:40:06.430Z] 3c2e730e5477: Preparing [2023-05-31T20:40:06.430Z] 9e966c6df193: Preparing [2023-05-31T20:40:06.430Z] 5156903985a8: Preparing [2023-05-31T20:40:06.430Z] 059613446622: Preparing [2023-05-31T20:40:06.430Z] f1417ff83b31: Preparing [2023-05-31T20:40:06.430Z] 5156903985a8: Layer already exists [2023-05-31T20:40:06.430Z] 059613446622: Layer already exists [2023-05-31T20:40:06.430Z] f1417ff83b31: Layer already exists [2023-05-31T20:40:06.430Z] 3c2e730e5477: Layer already exists [2023-05-31T20:40:06.430Z] 9e966c6df193: Layer already exists [2023-05-31T20:40:06.430Z] main: digest: sha256:7782d8fb8a5c1b859675cecded0f598f435eead7dadd55992969e34d314178c3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:40:06.484Z] ===================================================== [Pipeline] echo [2023-05-31T20:40:06.499Z] taggedImages: [2023-05-31T20:40:06.499Z] - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:40:06.499Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-05-31T20:40:06.499Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0 [2023-05-31T20:40:06.499Z] - nexus3.edgexfoundry.org:10004/device-mqtt:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:40:06.499Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:06.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:40:06.882Z] [2023-05-31T20:40:06.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:07.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:40:07.781Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-31T20:40:07.781Z] 5eb5b503b376: Pulling fs layer [2023-05-31T20:40:07.781Z] 5c69ac0246d0: Pulling fs layer [2023-05-31T20:40:07.781Z] ec43610c2a17: Pulling fs layer [2023-05-31T20:40:07.781Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-31T20:40:07.781Z] 33b1e0a273af: Pulling fs layer [2023-05-31T20:40:07.781Z] 5d3b04190fa2: Pulling fs layer [2023-05-31T20:40:07.781Z] 2f39f015ded8: Pulling fs layer [2023-05-31T20:40:07.781Z] 3a2ae6a8a46f: Waiting [2023-05-31T20:40:07.781Z] 2f39f015ded8: Waiting [2023-05-31T20:40:07.781Z] 5d3b04190fa2: Waiting [2023-05-31T20:40:07.781Z] 33b1e0a273af: Waiting [2023-05-31T20:40:07.781Z] 5c69ac0246d0: Download complete [2023-05-31T20:40:07.781Z] 3a2ae6a8a46f: Download complete [2023-05-31T20:40:07.781Z] 33b1e0a273af: Verifying Checksum [2023-05-31T20:40:07.781Z] 33b1e0a273af: Download complete [2023-05-31T20:40:07.781Z] ec43610c2a17: Verifying Checksum [2023-05-31T20:40:07.781Z] ec43610c2a17: Download complete [2023-05-31T20:40:07.781Z] 5d3b04190fa2: Download complete [2023-05-31T20:40:07.781Z] 5eb5b503b376: Verifying Checksum [2023-05-31T20:40:07.781Z] 5eb5b503b376: Download complete [2023-05-31T20:40:08.345Z] 2f39f015ded8: Download complete [2023-05-31T20:40:08.581Z] using credential edgex-jenkins-ssh [2023-05-31T20:40:08.601Z] Cloning the remote Git repository [2023-05-31T20:40:08.910Z] 5eb5b503b376: Pull complete [2023-05-31T20:40:09.169Z] 5c69ac0246d0: Pull complete [2023-05-31T20:40:08.655Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-05-31T20:40:08.776Z] > git init /w/workspace/device-mqtt-go/128 # timeout=10 [2023-05-31T20:40:08.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-05-31T20:40:08.947Z] > git --version # timeout=10 [2023-05-31T20:40:08.973Z] > git --version # 'git version 2.25.1' [2023-05-31T20:40:08.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-31T20:40:09.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:40:09.736Z] ec43610c2a17: Pull complete [2023-05-31T20:40:09.994Z] 3a2ae6a8a46f: Pull complete [2023-05-31T20:40:10.561Z] 33b1e0a273af: Pull complete [2023-05-31T20:40:10.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-05-31T20:40:10.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-31T20:40:10.821Z] 5d3b04190fa2: Pull complete [2023-05-31T20:40:11.493Z] Avoid second fetch [2023-05-31T20:40:11.493Z] Checking out Revision 076aceae7774eed065da4ce17ac21a3c9dad675d (main) [2023-05-31T20:40:11.519Z] > git config core.sparsecheckout # timeout=10 [2023-05-31T20:40:11.613Z] > git checkout -f 076aceae7774eed065da4ce17ac21a3c9dad675d # timeout=10 [2023-05-31T20:40:12.227Z] Commit message: "docs: Add main branch warning (#612)" [2023-05-31T20:40:12.499Z] [2023-05-31T20:40:12.499Z] GitHub has been notified of this commit’s build result [2023-05-31T20:40:12.499Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:40:13.096Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-31T20:40:13.096Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:40:13.096Z] Dload Upload Total Spent Left Speed [2023-05-31T20:40:13.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-05-31T20:40:13.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-31T20:40:14.089Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-31T20:40:14.089Z] + sudo tee /etc/docker/daemon.new [2023-05-31T20:40:14.089Z] { [2023-05-31T20:40:14.089Z] "registry-mirrors": [ [2023-05-31T20:40:14.089Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-31T20:40:14.089Z] ], [2023-05-31T20:40:14.089Z] "bip": "10.250.0.254/24", [2023-05-31T20:40:14.089Z] "hosts": [ [2023-05-31T20:40:14.089Z] "tcp://0.0.0.0:5555", [2023-05-31T20:40:14.089Z] "unix:///var/run/docker.sock" [2023-05-31T20:40:14.089Z] ], [2023-05-31T20:40:14.089Z] "mtu": 1458, [2023-05-31T20:40:14.089Z] "selinux-enabled": true, [2023-05-31T20:40:14.089Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-31T20:40:14.089Z] } [Pipeline] sh [2023-05-31T20:40:14.448Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-31T20:40:14.806Z] + sudo service docker restart [2023-05-31T20:40:15.003Z] 2f39f015ded8: Pull complete [2023-05-31T20:40:15.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-31T20:40:15.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:40:15.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:40:15.099Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:40:15.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:40:21.459Z] $ docker top 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:40:21.836Z] ---> job-cost.sh [2023-05-31T20:40:21.836Z] lf-activate-venv: SKIPPING [2023-05-31T20:40:21.836Z] INFO: No Stack... [2023-05-31T20:40:22.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:40:22.663Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:40:23.038Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-05-31T20:40:23.038Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:40:23.050Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [2023-05-31T20:40:23.057Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] did not exist. Created. [2023-05-31T20:40:23.057Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:40:23.359Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-31T20:40:23.386Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:40:23.397Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:40:23.424Z] $ docker stop --time=1 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 [2023-05-31T20:40:24.900Z] $ docker rm -f --volumes 7cbc2d949b05c8fd4f0075b5dcc0925ecac85ed07b9a0d497ed8f418d4638bf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh [2023-05-31T20:40:33.460Z] + git checkout 076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:40:33.460Z] HEAD is now at 076acea docs: Add main branch warning (#612) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:40:33.502Z] provisioning config files... [2023-05-31T20:40:33.549Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/128@tmp/config14828649000420571797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:40:33.955Z] ---> docker-login.sh [2023-05-31T20:40:33.955Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:40:34.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:34.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:34.839Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:34.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:34.839Z] [2023-05-31T20:40:34.839Z] Login Succeeded [2023-05-31T20:40:34.839Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:40:35.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:35.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:35.114Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:35.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:35.114Z] [2023-05-31T20:40:35.114Z] Login Succeeded [2023-05-31T20:40:35.114Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:40:35.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:35.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:35.657Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:35.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:35.657Z] [2023-05-31T20:40:35.657Z] Login Succeeded [2023-05-31T20:40:35.657Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:40:35.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:35.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:35.932Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:35.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:35.932Z] [2023-05-31T20:40:35.932Z] Login Succeeded [2023-05-31T20:40:35.932Z] docker.io [2023-05-31T20:40:36.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:40:36.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:40:36.475Z] Configure a credential helper to remove this warning. See [2023-05-31T20:40:36.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:40:36.475Z] [2023-05-31T20:40:36.475Z] Login Succeeded [2023-05-31T20:40:36.475Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:40:36.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-31T20:40:36.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:40:36.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:40:36.844Z] ========================================================= [2023-05-31T20:40:36.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-31T20:40:36.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:40:37.411Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-31T20:40:37.687Z] Sending build context to Docker daemon 3.449MB [2023-05-31T20:40:37.687Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:40:37.687Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-31T20:40:37.958Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-31T20:40:37.958Z] c41833b44d91: Pulling fs layer [2023-05-31T20:40:37.958Z] ed15518f5707: Pulling fs layer [2023-05-31T20:40:37.958Z] feae8fd75edb: Pulling fs layer [2023-05-31T20:40:37.958Z] 242c74f7c9fa: Pulling fs layer [2023-05-31T20:40:37.958Z] 3cdef696dda3: Pulling fs layer [2023-05-31T20:40:37.958Z] 2ced38df9373: Pulling fs layer [2023-05-31T20:40:37.958Z] 58f1dce35555: Pulling fs layer [2023-05-31T20:40:37.958Z] 242c74f7c9fa: Waiting [2023-05-31T20:40:37.958Z] 3cdef696dda3: Waiting [2023-05-31T20:40:37.958Z] 2ced38df9373: Waiting [2023-05-31T20:40:37.958Z] 58f1dce35555: Waiting [2023-05-31T20:40:37.958Z] ed15518f5707: Verifying Checksum [2023-05-31T20:40:37.958Z] ed15518f5707: Download complete [2023-05-31T20:40:38.233Z] 242c74f7c9fa: Verifying Checksum [2023-05-31T20:40:38.233Z] 242c74f7c9fa: Download complete [2023-05-31T20:40:38.233Z] 3cdef696dda3: Verifying Checksum [2023-05-31T20:40:38.233Z] 3cdef696dda3: Download complete [2023-05-31T20:40:38.233Z] c41833b44d91: Verifying Checksum [2023-05-31T20:40:38.233Z] c41833b44d91: Download complete [2023-05-31T20:40:39.214Z] c41833b44d91: Pull complete [2023-05-31T20:40:39.847Z] 58f1dce35555: Verifying Checksum [2023-05-31T20:40:39.847Z] 58f1dce35555: Download complete [2023-05-31T20:40:39.847Z] ed15518f5707: Pull complete [2023-05-31T20:40:40.843Z] feae8fd75edb: Verifying Checksum [2023-05-31T20:40:40.843Z] feae8fd75edb: Download complete [2023-05-31T20:40:41.113Z] 2ced38df9373: Verifying Checksum [2023-05-31T20:40:41.113Z] 2ced38df9373: Download complete [2023-05-31T20:40:53.563Z] feae8fd75edb: Pull complete [2023-05-31T20:40:53.563Z] 242c74f7c9fa: Pull complete [2023-05-31T20:40:53.563Z] 3cdef696dda3: Pull complete [2023-05-31T20:41:00.340Z] 2ced38df9373: Pull complete [2023-05-31T20:41:01.762Z] 58f1dce35555: Pull complete [2023-05-31T20:41:01.762Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-31T20:41:01.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-31T20:41:01.762Z] ---> fadd8f120f05 [2023-05-31T20:41:01.762Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:41:04.404Z] ---> Running in 1bc26e753a08 [2023-05-31T20:41:04.404Z] Removing intermediate container 1bc26e753a08 [2023-05-31T20:41:04.404Z] ---> 4108336ef933 [2023-05-31T20:41:04.404Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:41:04.676Z] ---> Running in 39b5d82246e2 [2023-05-31T20:41:04.951Z] Removing intermediate container 39b5d82246e2 [2023-05-31T20:41:04.951Z] ---> 9b6cd0b3b9c0 [2023-05-31T20:41:04.951Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:41:05.223Z] ---> Running in fbfa52d6f146 [2023-05-31T20:41:05.504Z] Removing intermediate container fbfa52d6f146 [2023-05-31T20:41:05.504Z] ---> e3d8e67ca1f8 [2023-05-31T20:41:05.504Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:41:05.504Z] ---> Running in 95ed6b39de15 [2023-05-31T20:41:06.096Z] Removing intermediate container 95ed6b39de15 [2023-05-31T20:41:06.096Z] ---> 16dd77c44536 [2023-05-31T20:41:06.096Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:41:06.096Z] ---> Running in 7831e0f0dba1 [2023-05-31T20:41:07.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:41:08.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:41:09.525Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-31T20:41:09.525Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-31T20:41:09.525Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-31T20:41:09.525Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-31T20:41:09.525Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:41:09.525Z] OK: 268 MiB in 57 packages [2023-05-31T20:41:10.495Z] Removing intermediate container 7831e0f0dba1 [2023-05-31T20:41:10.495Z] ---> 7ecaf9cca752 [2023-05-31T20:41:10.495Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-05-31T20:41:10.495Z] ---> Running in 89abdbb15ee0 [2023-05-31T20:41:11.085Z] Removing intermediate container 89abdbb15ee0 [2023-05-31T20:41:11.085Z] ---> 4fda2614f8ac [2023-05-31T20:41:11.085Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-31T20:41:11.679Z] ---> 002e65a2fbe6 [2023-05-31T20:41:11.679Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:41:11.679Z] ---> Running in 8f77db631abf [2023-05-31T20:42:33.510Z] Removing intermediate container 8f77db631abf [2023-05-31T20:42:33.510Z] ---> 18403d2f8230 [2023-05-31T20:42:33.510Z] Step 11/12 : COPY . . [2023-05-31T20:42:33.510Z] ---> f122fbdd1a12 [2023-05-31T20:42:33.510Z] Step 12/12 : RUN $MAKE [2023-05-31T20:42:33.510Z] ---> Running in 3dc499b99f9f [2023-05-31T20:42:33.510Z] noop [2023-05-31T20:42:33.510Z] Removing intermediate container 3dc499b99f9f [2023-05-31T20:42:33.510Z] ---> 620a098d37aa [2023-05-31T20:42:33.510Z] Successfully built 620a098d37aa [2023-05-31T20:42:33.510Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:42:33.874Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:42:33.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:42:34.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container [2023-05-31T20:42:34.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:42:35.751Z] $ docker top 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:42:36.664Z] + go version [2023-05-31T20:42:36.664Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-31T20:42:36.691Z] $ docker stop --time=1 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b [2023-05-31T20:42:38.461Z] $ docker rm -f --volumes 7980e023325c2fc0f6aed0c1cbc0bab7ddf35544db4ff1a70b3e4564a692265b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:42:39.064Z] + docker inspect -f . ci-base-image-arm64 [2023-05-31T20:42:39.064Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:42:39.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container [2023-05-31T20:42:39.413Z] $ 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/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-31T20:42:40.993Z] $ docker top 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:42:41.941Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/128 [Pipeline] fileExists [Pipeline] sh [2023-05-31T20:42:42.660Z] + make test [2023-05-31T20:42:42.660Z] go test ./... -coverprofile=coverage.out ./... [2023-05-31T20:43:29.746Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-05-31T20:46:06.919Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-05-31T20:46:06.919Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-05-31T20:46:06.919Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 22.8% of statements [2023-05-31T20:46:07.194Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-31T20:46:07.194Z] go vet ./... [2023-05-31T20:46:46.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-31T20:46:46.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-31T20:46:46.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-31T20:46:46.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-31T20:46:46.213Z] $ docker stop --time=1 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 [2023-05-31T20:46:48.279Z] $ docker rm -f --volumes 3034bb9de5c490d5f69d7bd91d0d6c8d65b42c425ebad18d062598b8adeb31b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:46:49.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-31T20:46:49.746Z] Warning: overwriting stash ‘coverage-report’ [2023-05-31T20:46:50.517Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-31T20:46:50.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-31T20:46:51.261Z] + ls -al . [2023-05-31T20:46:51.261Z] total 180 [2023-05-31T20:46:51.261Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 20:42 . [2023-05-31T20:46:51.261Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 .. [2023-05-31T20:46:51.261Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 20:40 .dockerignore [2023-05-31T20:46:51.261Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 20:40 .git [2023-05-31T20:46:51.262Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 .github [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 329 May 31 20:40 .gitignore [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 20:40 .golangci.yml [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 9417 May 31 20:40 Attribution.txt [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 17522 May 31 20:40 CHANGELOG.md [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 1689 May 31 20:40 Dockerfile [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 20:40 GOVERNANCE.md [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 678 May 31 20:40 Jenkinsfile [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 20:40 LICENSE [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 1732 May 31 20:40 Makefile [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 20:40 OWNERS.md [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 3695 May 31 20:40 README.md [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 20:37 VERSION [2023-05-31T20:46:51.262Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 bin [2023-05-31T20:46:51.262Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 cmd [2023-05-31T20:46:51.262Z] -rw-r--r-- 1 jenkins jenkins 18506 May 31 20:46 coverage.out [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 3285 May 31 20:40 go.mod [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 31 20:40 go.sum [2023-05-31T20:46:51.262Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 20:40 internal [2023-05-31T20:46:51.262Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 20:40 mock [2023-05-31T20:46:51.262Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 20:40 snap [2023-05-31T20:46:51.262Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:46:51.629Z] + 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=076aceae7774eed065da4ce17ac21a3c9dad675d --label arch=arm64 --label version=3.0.0 . [2023-05-31T20:46:51.902Z] Sending build context to Docker daemon 3.468MB [2023-05-31T20:46:52.177Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-31T20:46:52.177Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-31T20:46:52.177Z] ---> 620a098d37aa [2023-05-31T20:46:52.177Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-31T20:46:52.177Z] ---> Running in f797d4ca7270 [2023-05-31T20:46:52.780Z] Removing intermediate container f797d4ca7270 [2023-05-31T20:46:52.780Z] ---> ab8f1161a5e1 [2023-05-31T20:46:52.780Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-31T20:46:52.780Z] ---> Running in 76bb6c1cd478 [2023-05-31T20:46:53.053Z] Removing intermediate container 76bb6c1cd478 [2023-05-31T20:46:53.053Z] ---> 1118a2e07215 [2023-05-31T20:46:53.053Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-31T20:46:53.329Z] ---> Running in 4750ffaefa47 [2023-05-31T20:46:53.602Z] Removing intermediate container 4750ffaefa47 [2023-05-31T20:46:53.602Z] ---> 8832eb89254b [2023-05-31T20:46:53.602Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-31T20:46:53.602Z] ---> Running in f8b2014b5702 [2023-05-31T20:46:54.205Z] Removing intermediate container f8b2014b5702 [2023-05-31T20:46:54.205Z] ---> ffdebbaad046 [2023-05-31T20:46:54.205Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-31T20:46:54.205Z] ---> Running in 836add1e280f [2023-05-31T20:46:55.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:46:56.240Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:46:58.233Z] OK: 268 MiB in 57 packages [2023-05-31T20:47:00.207Z] Removing intermediate container 836add1e280f [2023-05-31T20:47:00.207Z] ---> 440061b06ddb [2023-05-31T20:47:00.207Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-05-31T20:47:00.207Z] ---> Running in 068ae588dd2e [2023-05-31T20:47:00.207Z] Removing intermediate container 068ae588dd2e [2023-05-31T20:47:00.207Z] ---> b56da9ec422f [2023-05-31T20:47:00.207Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-31T20:47:00.808Z] ---> 067eed845ad9 [2023-05-31T20:47:00.808Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-31T20:47:01.084Z] ---> Running in b4c7cbb21e58 [2023-05-31T20:47:04.474Z] Removing intermediate container b4c7cbb21e58 [2023-05-31T20:47:04.474Z] ---> 7d48641afa35 [2023-05-31T20:47:04.474Z] Step 11/24 : COPY . . [2023-05-31T20:47:05.458Z] ---> c9301dbd6e98 [2023-05-31T20:47:05.458Z] Step 12/24 : RUN $MAKE [2023-05-31T20:47:05.458Z] ---> Running in 2a8cbe10869d [2023-05-31T20:47:06.894Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-05-31T20:49:58.744Z] Removing intermediate container 2a8cbe10869d [2023-05-31T20:49:58.744Z] ---> cd0ddfe18efc [2023-05-31T20:49:58.744Z] Step 13/24 : FROM alpine:3.17 [2023-05-31T20:49:58.744Z] 3.17: Pulling from library/alpine [2023-05-31T20:49:58.744Z] c41833b44d91: Already exists [2023-05-31T20:49:58.744Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-31T20:49:58.744Z] Status: Downloaded newer image for alpine:3.17 [2023-05-31T20:49:58.744Z] ---> 51e60588ff2c [2023-05-31T20:49:58.744Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-05-31T20:49:58.744Z] ---> Running in a79a25c18c60 [2023-05-31T20:49:58.744Z] Removing intermediate container a79a25c18c60 [2023-05-31T20:49:58.744Z] ---> 3c3a3b1c087d [2023-05-31T20:49:58.744Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-05-31T20:49:58.744Z] ---> Running in 00d5e83211e8 [2023-05-31T20:49:59.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-31T20:50:00.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-31T20:50:02.109Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-31T20:50:02.109Z] Executing busybox-1.35.0-r29.trigger [2023-05-31T20:50:02.109Z] OK: 8 MiB in 16 packages [2023-05-31T20:50:03.085Z] Removing intermediate container 00d5e83211e8 [2023-05-31T20:50:03.085Z] ---> c0c7e8676900 [2023-05-31T20:50:03.085Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-05-31T20:50:04.509Z] ---> 3854076804a0 [2023-05-31T20:50:04.509Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-05-31T20:50:05.100Z] ---> b0c54bbad28f [2023-05-31T20:50:05.100Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-05-31T20:50:05.691Z] ---> 179b98870271 [2023-05-31T20:50:05.691Z] Step 19/24 : EXPOSE 59982 [2023-05-31T20:50:05.960Z] ---> Running in be7d46140e85 [2023-05-31T20:50:06.298Z] Removing intermediate container be7d46140e85 [2023-05-31T20:50:06.298Z] ---> cdc6a23bd677 [2023-05-31T20:50:06.298Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-05-31T20:50:06.298Z] ---> Running in bbd3862d08d1 [2023-05-31T20:50:06.581Z] Removing intermediate container bbd3862d08d1 [2023-05-31T20:50:06.581Z] ---> 1f769d489e82 [2023-05-31T20:50:06.581Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-31T20:50:06.879Z] ---> Running in a2bf53cb8435 [2023-05-31T20:50:07.159Z] Removing intermediate container a2bf53cb8435 [2023-05-31T20:50:07.159Z] ---> 92c8cf15ad5a [2023-05-31T20:50:07.159Z] Step 22/24 : LABEL arch=arm64 [2023-05-31T20:50:07.159Z] ---> Running in dd19e00cfbc9 [2023-05-31T20:50:07.763Z] Removing intermediate container dd19e00cfbc9 [2023-05-31T20:50:07.763Z] ---> 0d897926f64e [2023-05-31T20:50:07.763Z] Step 23/24 : LABEL git_sha=076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:50:07.763Z] ---> Running in a827e8a3984e [2023-05-31T20:50:08.042Z] Removing intermediate container a827e8a3984e [2023-05-31T20:50:08.042Z] ---> a2b8bfe32ba6 [2023-05-31T20:50:08.042Z] Step 24/24 : LABEL version=3.0.0 [2023-05-31T20:50:08.042Z] ---> Running in 9833481b1c91 [2023-05-31T20:50:08.655Z] Removing intermediate container 9833481b1c91 [2023-05-31T20:50:08.655Z] ---> 770ee89a14fd [2023-05-31T20:50:08.655Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-31T20:50:08.655Z] Successfully built 770ee89a14fd [2023-05-31T20:50:08.655Z] 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-05-31T20:50:08.756Z] provisioning config files... [2023-05-31T20:50:08.777Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/128@tmp/config15778947023445022260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:50:09.135Z] ---> docker-login.sh [2023-05-31T20:50:09.135Z] nexus3.edgexfoundry.org:10001 [2023-05-31T20:50:09.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:09.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:09.406Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:09.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:09.406Z] [2023-05-31T20:50:09.406Z] Login Succeeded [2023-05-31T20:50:09.406Z] nexus3.edgexfoundry.org:10002 [2023-05-31T20:50:09.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:09.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:09.946Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:09.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:09.946Z] [2023-05-31T20:50:09.946Z] Login Succeeded [2023-05-31T20:50:09.946Z] nexus3.edgexfoundry.org:10003 [2023-05-31T20:50:10.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:10.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:10.218Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:10.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:10.218Z] [2023-05-31T20:50:10.218Z] Login Succeeded [2023-05-31T20:50:10.491Z] nexus3.edgexfoundry.org:10004 [2023-05-31T20:50:10.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:10.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:10.762Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:10.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:10.762Z] [2023-05-31T20:50:10.762Z] Login Succeeded [2023-05-31T20:50:10.762Z] docker.io [2023-05-31T20:50:11.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-31T20:50:11.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-31T20:50:11.301Z] Configure a credential helper to remove this warning. See [2023-05-31T20:50:11.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-31T20:50:11.301Z] [2023-05-31T20:50:11.301Z] Login Succeeded [2023-05-31T20:50:11.301Z] ---> docker-login.sh ends [Pipeline] } [2023-05-31T20:50:11.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:50:11.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-31T20:50:11.368Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-05-31T20:50:11.368Z] 076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:50:11.368Z] latest [2023-05-31T20:50:11.368Z] 3.0.0 [2023-05-31T20:50:11.368Z] 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:50:11.368Z] main [2023-05-31T20:50:11.368Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:11.722Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:12.097Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:50:12.097Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-05-31T20:50:12.097Z] 998c91fe3757: Preparing [2023-05-31T20:50:12.097Z] ee2b6cd98b63: Preparing [2023-05-31T20:50:12.097Z] 4a5659692d66: Preparing [2023-05-31T20:50:12.097Z] 858d6a0603e6: Preparing [2023-05-31T20:50:12.097Z] 26cbea5cba74: Preparing [2023-05-31T20:50:12.366Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:12.955Z] 998c91fe3757: Pushed [2023-05-31T20:50:12.955Z] 858d6a0603e6: Pushed [2023-05-31T20:50:12.955Z] ee2b6cd98b63: Pushed [2023-05-31T20:50:19.645Z] 4a5659692d66: Pushed [2023-05-31T20:50:19.645Z] 076aceae7774eed065da4ce17ac21a3c9dad675d: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:20.002Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:20.359Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-05-31T20:50:20.359Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-05-31T20:50:20.359Z] 998c91fe3757: Preparing [2023-05-31T20:50:20.359Z] ee2b6cd98b63: Preparing [2023-05-31T20:50:20.359Z] 4a5659692d66: Preparing [2023-05-31T20:50:20.359Z] 858d6a0603e6: Preparing [2023-05-31T20:50:20.359Z] 26cbea5cba74: Preparing [2023-05-31T20:50:20.359Z] 858d6a0603e6: Layer already exists [2023-05-31T20:50:20.359Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:20.359Z] 4a5659692d66: Layer already exists [2023-05-31T20:50:20.359Z] 998c91fe3757: Layer already exists [2023-05-31T20:50:20.359Z] ee2b6cd98b63: Layer already exists [2023-05-31T20:50:20.629Z] latest: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:20.997Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:21.353Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 [2023-05-31T20:50:21.353Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-05-31T20:50:21.353Z] 998c91fe3757: Preparing [2023-05-31T20:50:21.353Z] ee2b6cd98b63: Preparing [2023-05-31T20:50:21.353Z] 4a5659692d66: Preparing [2023-05-31T20:50:21.353Z] 858d6a0603e6: Preparing [2023-05-31T20:50:21.353Z] 26cbea5cba74: Preparing [2023-05-31T20:50:21.353Z] ee2b6cd98b63: Layer already exists [2023-05-31T20:50:21.353Z] 998c91fe3757: Layer already exists [2023-05-31T20:50:21.353Z] 858d6a0603e6: Layer already exists [2023-05-31T20:50:21.353Z] 4a5659692d66: Layer already exists [2023-05-31T20:50:21.353Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:21.624Z] 3.0.0: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:21.988Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:22.343Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:50:22.343Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-05-31T20:50:22.343Z] 998c91fe3757: Preparing [2023-05-31T20:50:22.343Z] ee2b6cd98b63: Preparing [2023-05-31T20:50:22.343Z] 4a5659692d66: Preparing [2023-05-31T20:50:22.343Z] 858d6a0603e6: Preparing [2023-05-31T20:50:22.343Z] 26cbea5cba74: Preparing [2023-05-31T20:50:22.343Z] ee2b6cd98b63: Layer already exists [2023-05-31T20:50:22.343Z] 4a5659692d66: Layer already exists [2023-05-31T20:50:22.343Z] 998c91fe3757: Layer already exists [2023-05-31T20:50:22.343Z] 858d6a0603e6: Layer already exists [2023-05-31T20:50:22.343Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:22.613Z] 076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:22.970Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:23.347Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-05-31T20:50:23.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-05-31T20:50:23.347Z] 998c91fe3757: Preparing [2023-05-31T20:50:23.347Z] ee2b6cd98b63: Preparing [2023-05-31T20:50:23.347Z] 4a5659692d66: Preparing [2023-05-31T20:50:23.347Z] 858d6a0603e6: Preparing [2023-05-31T20:50:23.347Z] 26cbea5cba74: Preparing [2023-05-31T20:50:23.347Z] 4a5659692d66: Layer already exists [2023-05-31T20:50:23.347Z] ee2b6cd98b63: Layer already exists [2023-05-31T20:50:23.347Z] 26cbea5cba74: Layer already exists [2023-05-31T20:50:23.347Z] 998c91fe3757: Layer already exists [2023-05-31T20:50:23.347Z] 858d6a0603e6: Layer already exists [2023-05-31T20:50:23.617Z] main: digest: sha256:b85221a86ca8f7264e7c16578c8d4d1b49da932ed2df02301591ce9e97e84eba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-31T20:50:23.682Z] ===================================================== [Pipeline] echo [2023-05-31T20:50:23.690Z] taggedImages: [2023-05-31T20:50:23.690Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d [2023-05-31T20:50:23.690Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-05-31T20:50:23.690Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0 [2023-05-31T20:50:23.690Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:076aceae7774eed065da4ce17ac21a3c9dad675d-3.0.0 [2023-05-31T20:50:23.690Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:24.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:50:24.065Z] [2023-05-31T20:50:24.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:24.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:50:24.685Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-31T20:50:24.685Z] 8998bd30e6a1: Pulling fs layer [2023-05-31T20:50:24.685Z] 04944245beec: Pulling fs layer [2023-05-31T20:50:24.685Z] 699f458cf7ca: Pulling fs layer [2023-05-31T20:50:24.685Z] 765212b225bb: Pulling fs layer [2023-05-31T20:50:24.685Z] f23df028b6ca: Pulling fs layer [2023-05-31T20:50:24.685Z] d65c8cfc05b1: Pulling fs layer [2023-05-31T20:50:24.685Z] 2437ff75d9bd: Pulling fs layer [2023-05-31T20:50:24.685Z] 765212b225bb: Waiting [2023-05-31T20:50:24.685Z] f23df028b6ca: Waiting [2023-05-31T20:50:24.685Z] d65c8cfc05b1: Waiting [2023-05-31T20:50:24.685Z] 2437ff75d9bd: Waiting [2023-05-31T20:50:24.685Z] 04944245beec: Verifying Checksum [2023-05-31T20:50:24.685Z] 04944245beec: Download complete [2023-05-31T20:50:24.685Z] 765212b225bb: Verifying Checksum [2023-05-31T20:50:24.685Z] 765212b225bb: Download complete [2023-05-31T20:50:24.685Z] f23df028b6ca: Verifying Checksum [2023-05-31T20:50:24.685Z] f23df028b6ca: Download complete [2023-05-31T20:50:24.685Z] d65c8cfc05b1: Verifying Checksum [2023-05-31T20:50:24.685Z] d65c8cfc05b1: Download complete [2023-05-31T20:50:24.956Z] 699f458cf7ca: Verifying Checksum [2023-05-31T20:50:24.956Z] 699f458cf7ca: Download complete [2023-05-31T20:50:25.228Z] 8998bd30e6a1: Verifying Checksum [2023-05-31T20:50:25.228Z] 8998bd30e6a1: Download complete [2023-05-31T20:50:27.837Z] 2437ff75d9bd: Verifying Checksum [2023-05-31T20:50:27.837Z] 2437ff75d9bd: Download complete [2023-05-31T20:50:29.799Z] 8998bd30e6a1: Pull complete [2023-05-31T20:50:30.110Z] 04944245beec: Pull complete [2023-05-31T20:50:31.625Z] 699f458cf7ca: Pull complete [2023-05-31T20:50:31.625Z] 765212b225bb: Pull complete [2023-05-31T20:50:32.602Z] f23df028b6ca: Pull complete [2023-05-31T20:50:32.884Z] d65c8cfc05b1: Pull complete [2023-05-31T20:50:47.920Z] 2437ff75d9bd: Pull complete [2023-05-31T20:50:47.920Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-31T20:50:47.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-31T20:50:47.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:50:48.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-17553 does not seem to be running inside a container [2023-05-31T20:50:48.251Z] $ 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/128 -v /w/workspace/device-mqtt-go/128:/w/workspace/device-mqtt-go/128:rw,z -v /w/workspace/device-mqtt-go/128@tmp:/w/workspace/device-mqtt-go/128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-31T20:50:51.239Z] $ docker top 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:50:52.143Z] ---> job-cost.sh [2023-05-31T20:50:52.143Z] lf-activate-venv: SKIPPING [2023-05-31T20:50:52.143Z] INFO: No Stack... [2023-05-31T20:50:52.733Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-31T20:50:53.704Z] INFO: Archiving Costs [Pipeline] sh [2023-05-31T20:50:54.355Z] + cat /w/workspace/device-mqtt-go/128/archives/cost.csv [2023-05-31T20:50:54.355Z] + cut -d, -f6 [Pipeline] lock [2023-05-31T20:50:54.442Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [2023-05-31T20:50:54.451Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] did not exist. Created. [2023-05-31T20:50:54.451Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-31T20:50:55.120Z] /w/workspace/device-mqtt-go/128@tmp/durable-5d4a5088/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-31T20:50:55.791Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-31T20:50:55.817Z] Warning: overwriting stash ‘stack-cost’ [2023-05-31T20:50:55.885Z] Stashed 1 file(s) [Pipeline] } [2023-05-31T20:50:55.891Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-128-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-31T20:50:55.915Z] $ docker stop --time=1 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 [2023-05-31T20:50:57.504Z] $ docker rm -f --volumes 27d70760b37e6aadda1c3de9bf81a790dd4e5e8e7c77144746367b96a5b94f69 [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-05-31T20:50:57.974Z] provisioning config files... [2023-05-31T20:50:57.982Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3104392793920903762tmp [Pipeline] { [Pipeline] sh [2023-05-31T20:50:58.281Z] + set +x [2023-05-31T20:50:58.281Z] + + curl -s https://codecov.io/bashbash [2023-05-31T20:50:58.281Z] -s -- [2023-05-31T20:50:58.281Z] [2023-05-31T20:50:58.281Z] _____ _ [2023-05-31T20:50:58.281Z] / ____| | | [2023-05-31T20:50:58.281Z] | | ___ __| | ___ ___ _____ __ [2023-05-31T20:50:58.281Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-31T20:50:58.281Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-31T20:50:58.281Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-31T20:50:58.281Z] Bash-1.0.6 [2023-05-31T20:50:58.281Z] [2023-05-31T20:50:58.281Z] [2023-05-31T20:50:58.281Z] ==> git version 2.25.1 found [2023-05-31T20:50:58.281Z] ==> 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-05-31T20:50:58.281Z] Release-Date: 2020-01-08 [2023-05-31T20:50:58.281Z] 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-05-31T20:50:58.281Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-31T20:50:58.281Z] ==> Jenkins CI detected. [2023-05-31T20:50:58.281Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-05-31T20:50:58.281Z] project root: . [2023-05-31T20:50:58.281Z] --> token set from env [2023-05-31T20:50:58.281Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-31T20:50:58.542Z] ==> Running gcov in . (disable via -X gcov) [2023-05-31T20:50:58.542Z] ==> Python coveragepy not found [2023-05-31T20:50:58.542Z] ==> Searching for coverage reports in: [2023-05-31T20:50:58.542Z] + . [2023-05-31T20:50:58.542Z] -> Found 1 reports [2023-05-31T20:50:58.542Z] ==> Detecting git/mercurial file structure [2023-05-31T20:50:58.542Z] ==> Reading reports [2023-05-31T20:50:58.542Z] + ./coverage.out bytes=18506 [2023-05-31T20:50:58.542Z] ==> Appending adjustments [2023-05-31T20:50:58.542Z] https://docs.codecov.io/docs/fixing-reports [2023-05-31T20:50:58.542Z] + Found adjustments [2023-05-31T20:50:58.542Z] ==> Gzipping contents [2023-05-31T20:50:58.542Z] 4.0K /tmp/codecov.k3NSH1.gz [2023-05-31T20:50:58.542Z] ==> Uploading reports [2023-05-31T20:50:58.542Z] url: https://codecov.io [2023-05-31T20:50:58.542Z] query: branch=main&commit=076aceae7774eed065da4ce17ac21a3c9dad675d&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:50:58.542Z] -> Pinging Codecov [2023-05-31T20:50:58.542Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=076aceae7774eed065da4ce17ac21a3c9dad675d&build=128&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F128%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-31T20:50:58.801Z] -> Uploading to [2023-05-31T20:50:58.801Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-31/7D719EC7BBE17E464838252E33014C33/076aceae7774eed065da4ce17ac21a3c9dad675d/fdf5cf0e-7d29-4329-b9ce-294a534fb9fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230531T205058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86845c072abda83850b69caca3cdf6e35f8c95d2adfca6c2aca261e21ceb7d18 [2023-05-31T20:50:58.801Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-31T20:50:58.801Z] Dload Upload Total Spent Left Speed [2023-05-31T20:50:59.061Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13412 --:--:-- --:--:-- --:--:-- 13412 [2023-05-31T20:50:59.061Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] } [2023-05-31T20:50:59.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-31T20:50:59.295Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-31T20:50:59.304Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:59.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:50:59.605Z] [2023-05-31T20:50:59.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:50:59.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:50:59.906Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-31T20:50:59.906Z] df9b9388f04a: Pulling fs layer [2023-05-31T20:50:59.906Z] 52dc419b0ee2: Pulling fs layer [2023-05-31T20:50:59.906Z] 25bc292e5bac: Pulling fs layer [2023-05-31T20:50:59.906Z] 114826534d7a: Pulling fs layer [2023-05-31T20:50:59.906Z] 4657fd5d0bcf: Pulling fs layer [2023-05-31T20:50:59.906Z] 6ad1cebc031e: Pulling fs layer [2023-05-31T20:50:59.906Z] 8a3aa393b2d8: Pulling fs layer [2023-05-31T20:50:59.906Z] 6ad1cebc031e: Waiting [2023-05-31T20:50:59.906Z] 114826534d7a: Waiting [2023-05-31T20:50:59.906Z] 8a3aa393b2d8: Waiting [2023-05-31T20:50:59.906Z] 4657fd5d0bcf: Waiting [2023-05-31T20:50:59.906Z] 25bc292e5bac: Verifying Checksum [2023-05-31T20:50:59.906Z] 25bc292e5bac: Download complete [2023-05-31T20:50:59.906Z] 52dc419b0ee2: Verifying Checksum [2023-05-31T20:50:59.906Z] 52dc419b0ee2: Download complete [2023-05-31T20:50:59.906Z] 4657fd5d0bcf: Verifying Checksum [2023-05-31T20:50:59.906Z] 4657fd5d0bcf: Download complete [2023-05-31T20:50:59.906Z] df9b9388f04a: Download complete [2023-05-31T20:51:00.163Z] 6ad1cebc031e: Verifying Checksum [2023-05-31T20:51:00.163Z] 6ad1cebc031e: Download complete [2023-05-31T20:51:00.163Z] df9b9388f04a: Pull complete [2023-05-31T20:51:00.163Z] 52dc419b0ee2: Pull complete [2023-05-31T20:51:00.423Z] 25bc292e5bac: Pull complete [2023-05-31T20:51:00.680Z] 114826534d7a: Verifying Checksum [2023-05-31T20:51:00.680Z] 114826534d7a: Download complete [2023-05-31T20:51:00.680Z] 8a3aa393b2d8: Verifying Checksum [2023-05-31T20:51:00.680Z] 8a3aa393b2d8: Download complete [2023-05-31T20:51:03.966Z] 114826534d7a: Pull complete [2023-05-31T20:51:03.966Z] 4657fd5d0bcf: Pull complete [2023-05-31T20:51:04.224Z] 6ad1cebc031e: Pull complete [2023-05-31T20:51:06.752Z] 8a3aa393b2d8: Pull complete [2023-05-31T20:51:06.752Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-31T20:51:06.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-31T20:51:06.752Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:06.835Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:06.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-31T20:51:10.141Z] $ docker top a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-31T20:51:10.201Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-05-31T20:51:10.478Z] + set -o pipefail [2023-05-31T20:51:10.479Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/ff327561-10d1-4f4c-8d10-b535e98f928a [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] [2023-05-31T20:51:15.754Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-31T20:51:15.754Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-31T20:51:15.754Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-31T20:51:15.769Z] $ docker stop --time=1 a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b [2023-05-31T20:51:18.482Z] $ docker rm -f --volumes a77dfee9b3604acc10233f6921654dab5e77aab30d4c4dc5a16f0343e02b385b [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-05-31T20:51:19.188Z] + git log --format=format:%s -1 076aceae7774eed065da4ce17ac21a3c9dad675d [Pipeline] sh [2023-05-31T20:51:19.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:51:19.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:19.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:51:19.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:19.845Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:19.877Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:51:20.301Z] $ docker top e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 -eo pid,comm [2023-05-31T20:51:20.344Z] 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-05-31T20:51:20.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:51:20.369Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:51:20.660Z] + git semver [Pipeline] } [2023-05-31T20:51:20.934Z] $ docker stop --time=1 e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 [2023-05-31T20:51:22.193Z] $ docker rm -f --volumes e5d3f702cc6938e4a569391b63cb47d3459632f50d4e06fe84da37e72c227eb5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:22.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:22.585Z] [2023-05-31T20:51:22.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:22.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:22.905Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-31T20:51:22.905Z] ab5ef0e58194: Pulling fs layer [2023-05-31T20:51:22.905Z] 9712f1f96733: Pulling fs layer [2023-05-31T20:51:22.905Z] 63f879dbbcfc: Pulling fs layer [2023-05-31T20:51:22.905Z] 0d9ebad4ef96: Pulling fs layer [2023-05-31T20:51:22.905Z] e9a5061849ea: Pulling fs layer [2023-05-31T20:51:22.905Z] d747dcd14b5f: Pulling fs layer [2023-05-31T20:51:22.905Z] 2de7ff778b66: Pulling fs layer [2023-05-31T20:51:22.905Z] 0d9ebad4ef96: Waiting [2023-05-31T20:51:22.905Z] e9a5061849ea: Waiting [2023-05-31T20:51:22.905Z] d747dcd14b5f: Waiting [2023-05-31T20:51:22.905Z] 2de7ff778b66: Waiting [2023-05-31T20:51:22.905Z] 9712f1f96733: Verifying Checksum [2023-05-31T20:51:22.905Z] 9712f1f96733: Download complete [2023-05-31T20:51:23.163Z] 63f879dbbcfc: Verifying Checksum [2023-05-31T20:51:23.163Z] 63f879dbbcfc: Download complete [2023-05-31T20:51:23.419Z] ab5ef0e58194: Verifying Checksum [2023-05-31T20:51:23.419Z] ab5ef0e58194: Download complete [2023-05-31T20:51:23.419Z] d747dcd14b5f: Verifying Checksum [2023-05-31T20:51:23.419Z] d747dcd14b5f: Download complete [2023-05-31T20:51:23.419Z] e9a5061849ea: Verifying Checksum [2023-05-31T20:51:23.419Z] e9a5061849ea: Download complete [2023-05-31T20:51:23.419Z] 0d9ebad4ef96: Verifying Checksum [2023-05-31T20:51:23.419Z] 0d9ebad4ef96: Download complete [2023-05-31T20:51:23.680Z] 2de7ff778b66: Download complete [2023-05-31T20:51:26.202Z] ab5ef0e58194: Pull complete [2023-05-31T20:51:26.202Z] 9712f1f96733: Pull complete [2023-05-31T20:51:26.460Z] 63f879dbbcfc: Pull complete [2023-05-31T20:51:29.738Z] 0d9ebad4ef96: Pull complete [2023-05-31T20:51:29.996Z] e9a5061849ea: Pull complete [2023-05-31T20:51:29.996Z] d747dcd14b5f: Pull complete [2023-05-31T20:51:30.929Z] 2de7ff778b66: Pull complete [2023-05-31T20:51:30.929Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-31T20:51:30.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-31T20:51:30.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:31.001Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:31.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-31T20:51:35.318Z] $ docker top 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:51:35.382Z] provisioning config files... [2023-05-31T20:51:35.387Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10487552389101532940tmp [2023-05-31T20:51:35.395Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config18291351174758427680tmp [2023-05-31T20:51:35.403Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2079632735489417930tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:51:35.415Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:35.696Z] ---> sigul-configuration.sh [2023-05-31T20:51:35.696Z] gpg: directory `/root/.gnupg' created [2023-05-31T20:51:35.696Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-31T20:51:35.696Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-31T20:51:35.696Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-31T20:51:35.696Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-31T20:51:35.696Z] gpg: CAST5 encrypted data [2023-05-31T20:51:35.696Z] gpg: encrypted with 1 passphrase [2023-05-31T20:51:35.696Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-31T20:51:35.978Z] + mkdir /home/jenkins [2023-05-31T20:51:35.978Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-31T20:51:36.263Z] + 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-05-31T20:51:36.272Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:36.554Z] ---> sigul-install.sh [2023-05-31T20:51:36.554Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-31T20:51:36.841Z] + git tag --list [2023-05-31T20:51:36.841Z] 0.7.1 [2023-05-31T20:51:36.841Z] v1.0.0 [2023-05-31T20:51:36.841Z] v1.1.0 [2023-05-31T20:51:36.841Z] v1.1.1 [2023-05-31T20:51:36.841Z] v1.2.2 [2023-05-31T20:51:36.841Z] v1.3.0 [2023-05-31T20:51:36.841Z] v1.3.1 [2023-05-31T20:51:36.841Z] v2.0.0 [2023-05-31T20:51:36.841Z] v2.1.0 [2023-05-31T20:51:36.841Z] v2.1.1 [2023-05-31T20:51:36.841Z] v2.1.1-dev.1 [2023-05-31T20:51:36.841Z] v2.1.1-dev.2 [2023-05-31T20:51:36.841Z] v2.2.0 [2023-05-31T20:51:36.841Z] v2.2.1-dev.1 [2023-05-31T20:51:36.841Z] v2.2.1-dev.10 [2023-05-31T20:51:36.841Z] v2.2.1-dev.2 [2023-05-31T20:51:36.841Z] v2.2.1-dev.3 [2023-05-31T20:51:36.841Z] v2.2.1-dev.4 [2023-05-31T20:51:36.841Z] v2.2.1-dev.5 [2023-05-31T20:51:36.841Z] v2.2.1-dev.6 [2023-05-31T20:51:36.841Z] v2.2.1-dev.7 [2023-05-31T20:51:36.841Z] v2.2.1-dev.8 [2023-05-31T20:51:36.841Z] v2.2.1-dev.9 [2023-05-31T20:51:36.841Z] v2.3.0 [2023-05-31T20:51:36.841Z] v2.3.0-dev.10 [2023-05-31T20:51:36.841Z] v2.3.0-dev.11 [2023-05-31T20:51:36.841Z] v2.3.0-dev.12 [2023-05-31T20:51:36.841Z] v2.3.0-dev.13 [2023-05-31T20:51:36.841Z] v2.3.0-dev.14 [2023-05-31T20:51:36.841Z] v2.3.0-dev.15 [2023-05-31T20:51:36.841Z] v2.3.0-dev.16 [2023-05-31T20:51:36.841Z] v2.3.0-dev.17 [2023-05-31T20:51:36.841Z] v2.3.0-dev.18 [2023-05-31T20:51:36.841Z] v2.3.0-dev.19 [2023-05-31T20:51:36.841Z] v2.3.0-dev.20 [2023-05-31T20:51:36.841Z] v2.3.0-dev.21 [2023-05-31T20:51:36.841Z] v2.3.0-dev.22 [2023-05-31T20:51:36.841Z] v2.3.0-dev.23 [2023-05-31T20:51:36.841Z] v2.3.0-dev.24 [2023-05-31T20:51:36.841Z] v2.3.0-dev.25 [2023-05-31T20:51:36.841Z] v2.3.0-dev.26 [2023-05-31T20:51:36.841Z] v2.3.0-dev.27 [2023-05-31T20:51:36.841Z] v2.3.0-dev.28 [2023-05-31T20:51:36.841Z] v2.3.0-dev.29 [2023-05-31T20:51:36.841Z] v2.3.0-dev.30 [2023-05-31T20:51:36.841Z] v2.3.0-dev.31 [2023-05-31T20:51:36.841Z] v2.3.0-dev.32 [2023-05-31T20:51:36.841Z] v2.3.0-dev.33 [2023-05-31T20:51:36.841Z] v2.3.0-dev.34 [2023-05-31T20:51:36.841Z] v3.0.0 [2023-05-31T20:51:36.841Z] v3.0.0-dev.1 [2023-05-31T20:51:36.841Z] v3.0.0-dev.10 [2023-05-31T20:51:36.841Z] v3.0.0-dev.11 [2023-05-31T20:51:36.841Z] v3.0.0-dev.12 [2023-05-31T20:51:36.841Z] v3.0.0-dev.13 [2023-05-31T20:51:36.841Z] v3.0.0-dev.14 [2023-05-31T20:51:36.841Z] v3.0.0-dev.15 [2023-05-31T20:51:36.841Z] v3.0.0-dev.16 [2023-05-31T20:51:36.841Z] v3.0.0-dev.17 [2023-05-31T20:51:36.841Z] v3.0.0-dev.18 [2023-05-31T20:51:36.841Z] v3.0.0-dev.19 [2023-05-31T20:51:36.841Z] v3.0.0-dev.2 [2023-05-31T20:51:36.841Z] v3.0.0-dev.20 [2023-05-31T20:51:36.841Z] v3.0.0-dev.21 [2023-05-31T20:51:36.841Z] v3.0.0-dev.22 [2023-05-31T20:51:36.841Z] v3.0.0-dev.23 [2023-05-31T20:51:36.841Z] v3.0.0-dev.24 [2023-05-31T20:51:36.841Z] v3.0.0-dev.25 [2023-05-31T20:51:36.841Z] v3.0.0-dev.26 [2023-05-31T20:51:36.841Z] v3.0.0-dev.27 [2023-05-31T20:51:36.841Z] v3.0.0-dev.28 [2023-05-31T20:51:36.841Z] v3.0.0-dev.29 [2023-05-31T20:51:36.841Z] v3.0.0-dev.3 [2023-05-31T20:51:36.841Z] v3.0.0-dev.30 [2023-05-31T20:51:36.841Z] v3.0.0-dev.31 [2023-05-31T20:51:36.841Z] v3.0.0-dev.32 [2023-05-31T20:51:36.841Z] v3.0.0-dev.33 [2023-05-31T20:51:36.841Z] v3.0.0-dev.34 [2023-05-31T20:51:36.841Z] v3.0.0-dev.35 [2023-05-31T20:51:36.841Z] v3.0.0-dev.36 [2023-05-31T20:51:36.841Z] v3.0.0-dev.37 [2023-05-31T20:51:36.841Z] v3.0.0-dev.38 [2023-05-31T20:51:36.841Z] v3.0.0-dev.39 [2023-05-31T20:51:36.841Z] v3.0.0-dev.4 [2023-05-31T20:51:36.841Z] v3.0.0-dev.40 [2023-05-31T20:51:36.841Z] v3.0.0-dev.41 [2023-05-31T20:51:36.841Z] v3.0.0-dev.42 [2023-05-31T20:51:36.841Z] v3.0.0-dev.43 [2023-05-31T20:51:36.841Z] v3.0.0-dev.5 [2023-05-31T20:51:36.841Z] v3.0.0-dev.6 [2023-05-31T20:51:36.841Z] v3.0.0-dev.7 [2023-05-31T20:51:36.841Z] v3.0.0-dev.8 [2023-05-31T20:51:36.841Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-31T20:51:37.125Z] + lftools sign git-tag v3.0.0 [2023-05-31T20:51:37.695Z] Signing Git tag with Sigul... [2023-05-31T20:51:37.695Z] Signing v3.0.0 [Pipeline] echo [2023-05-31T20:51:37.960Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:38.246Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-31T20:51:38.254Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-31T20:51:38.277Z] $ docker stop --time=1 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 [2023-05-31T20:51:39.579Z] $ docker rm -f --volumes 472c6d0ff70539a873c5556cd7334432ccc5415d2b4533c55ae1b2bb5e9867c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-31T20:51:39.978Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:51:39.978Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:40.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:51:40.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:40.343Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:40.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:51:40.725Z] $ docker top edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 -eo pid,comm [2023-05-31T20:51:40.774Z] 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-05-31T20:51:40.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:51:40.807Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:51:41.095Z] + git semver [Pipeline] } [2023-05-31T20:51:41.373Z] $ docker stop --time=1 edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 [2023-05-31T20:51:42.664Z] $ docker rm -f --volumes edc2399a7d20c71ef0c926e8b7b010a10947e010aa0c894fdb3516ab7455ccc6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-31T20:51:43.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-31T20:51:43.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:43.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-31T20:51:43.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:43.390Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:43.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-31T20:51:43.790Z] $ docker top b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 -eo pid,comm [2023-05-31T20:51:43.838Z] 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-05-31T20:51:43.838Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-31T20:51:43.871Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.0|v3.0.0-dev.43' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-31T20:51:44.160Z] + git semver [Pipeline] } [2023-05-31T20:51:44.434Z] $ docker stop --time=1 b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 [2023-05-31T20:51:45.703Z] $ docker rm -f --volumes b491222f0e6c5d54ee045163d637dc281341e340afac8d13c770a4f68d640060 [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-05-31T20:51:46.278Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-05-31T20:51:46.279Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-05-31T20:51:46.279Z] total 16 [2023-05-31T20:51:46.279Z] drwxr-xr-x 3 root root 4096 May 31 20:40 . [2023-05-31T20:51:46.279Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:51 .. [2023-05-31T20:51:46.279Z] drwxr-xr-x 2 root root 4096 May 31 20:40 cost [2023-05-31T20:51:46.279Z] -rw-r--r-- 1 root root 86 May 31 20:40 cost.csv [2023-05-31T20:51:46.279Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-05-31T20:51:46.279Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-05-31T20:51:46.279Z] total 16 [2023-05-31T20:51:46.279Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 20:40 . [2023-05-31T20:51:46.279Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 20:51 .. [2023-05-31T20:51:46.279Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 20:40 cost [2023-05-31T20:51:46.279Z] -rw-r--r-- 1 jenkins jenkins 86 May 31 20:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:46.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:47.434Z] ---> package-listing.sh [2023-05-31T20:51:47.434Z] ++ facter osfamily [2023-05-31T20:51:47.434Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-31T20:51:47.694Z] + OS_FAMILY=debian [2023-05-31T20:51:47.695Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-05-31T20:51:47.695Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-31T20:51:47.695Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-31T20:51:47.695Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-31T20:51:47.695Z] + PACKAGES=/tmp/packages_start.txt [2023-05-31T20:51:47.695Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-05-31T20:51:47.695Z] + PACKAGES=/tmp/packages_end.txt [2023-05-31T20:51:47.695Z] + case "${OS_FAMILY}" in [2023-05-31T20:51:47.695Z] + dpkg -l [2023-05-31T20:51:47.695Z] + grep '^ii' [2023-05-31T20:51:47.695Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-31T20:51:47.695Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-31T20:51:47.695Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-31T20:51:47.695Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-05-31T20:51:47.695Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-05-31T20:51:47.695Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2023-05-31T20:51:47.708Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-31T20:51:47.986Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-31T20:51:48.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-31T20:51:48.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-31T20:51:48.611Z] prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container [2023-05-31T20:51:48.642Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-31T20:51:48.868Z] $ docker top 621095bf0901a4fd44028281f59565043ce607792447ab202a7dfd9aeb9b1afa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-31T20:51:49.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-31T20:51:49.487Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-31T20:51:49.775Z] + ls /var/log/sa-host [2023-05-31T20:51:49.775Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-31T20:51:49.933Z] provisioning config files... [2023-05-31T20:51:49.942Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13200097767099378901tmp [Pipeline] { [Pipeline] echo [2023-05-31T20:51:49.954Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:50.239Z] ---> create-netrc.sh [Pipeline] } [2023-05-31T20:51:50.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:50.583Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-31T20:51:50.591Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:50.921Z] ---> sudo-logs.sh [2023-05-31T20:51:50.921Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-31T20:51:50.986Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:51.334Z] ---> job-cost.sh [2023-05-31T20:51:51.334Z] lf-activate-venv: SKIPPING [2023-05-31T20:51:51.334Z] DEBUG: total: 0.2199999988079071 [2023-05-31T20:51:51.334Z] INFO: Retrieving Stack Cost... [2023-05-31T20:51:51.614Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-31T20:51:51.906Z] INFO: Archiving Costs [Pipeline] echo [2023-05-31T20:51:51.924Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-31T20:51:52.205Z] ---> logs-deploy.sh [2023-05-31T20:51:52.205Z] lf-activate-venv: SKIPPING [2023-05-31T20:51:52.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/128 [2023-05-31T20:51:52.205Z] INFO: archiving workspace using pattern(s): [2023-05-31T20:51:53.141Z] Archives upload complete. [2023-05-31T20:51:53.141Z] INFO: archiving logs to Nexus