Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a35f1d313b93b1afef0ede40251cd94a3668512 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-ssh17495115617951732796.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7132393071033052779.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15579501996312782721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10470623197474036021.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-ssh9235862822555247762.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-333 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) Commit message: "Merge pull request #527 from lenny-intel/go-1.20" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-list --no-walk 61add75b1ef191377c59afa20b8ba92f4dc8af4b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T02:56:09.061Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T02:56:09.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T02:56:09.126Z] ========================================================= [2023-03-15T02:56:09.126Z] EdgeX Global Pipelines Version Info [2023-03-15T02:56:09.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:09.836Z] ------------------- [2023-03-15T02:56:09.836Z] stable info: [2023-03-15T02:56:09.836Z] ------------------- [2023-03-15T02:56:09.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T02:56:09.836Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T02:56:09.836Z] Message: update stable to v1.0.245 [2023-03-15T02:56:10.405Z] ------------------- [2023-03-15T02:56:10.405Z] experimental info: [2023-03-15T02:56:10.405Z] ------------------- [2023-03-15T02:56:10.405Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T02:56:10.405Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T02:56:10.405Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T02:56:10.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-15T02:56:10.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-15T02:56:10.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T02:56:10.609Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T02:56:10.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T02:56:10.632Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T02:56:10.643Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T02:56:10.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T02:56:10.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T02:56:10.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T02:56:10.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T02:56:10.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-15T02:56:10.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T02:56:10.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T02:56:10.736Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:56:10.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T02:56:10.761Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:56:10.772Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T02:56:10.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T02:56:10.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T02:56:10.807Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T02:56:10.818Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T02:56:10.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T02:56:10.842Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T02:56:10.853Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T02:56:10.865Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T02:56:10.876Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T02:56:10.889Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T02:56:10.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T02:56:10.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T02:56:10.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T02:56:10.935Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a35f1d [Pipeline] echo [2023-03-15T02:56:10.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:56:10.987Z] provisioning config files... [2023-03-15T02:56:11.001Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2981015832359947090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:11.302Z] ---> docker-login.sh [2023-03-15T02:56:11.302Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:56:11.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:11.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:11.562Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:11.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:11.562Z] [2023-03-15T02:56:11.562Z] Login Succeeded [2023-03-15T02:56:11.562Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:56:11.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:11.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:11.822Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:11.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:11.822Z] [2023-03-15T02:56:11.822Z] Login Succeeded [2023-03-15T02:56:11.822Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:56:11.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:11.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:11.822Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:11.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:11.822Z] [2023-03-15T02:56:11.822Z] Login Succeeded [2023-03-15T02:56:11.822Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:56:11.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:12.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:12.082Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:12.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:12.082Z] [2023-03-15T02:56:12.082Z] Login Succeeded [2023-03-15T02:56:12.082Z] docker.io [2023-03-15T02:56:12.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:12.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:12.343Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:12.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:12.343Z] [2023-03-15T02:56:12.343Z] Login Succeeded [2023-03-15T02:56:12.343Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:56:12.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T02:56:12.693Z] + git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T02:56:12.745Z] -----------> git rev-list -1 --merges 4a35f1d313b93b1afef0ede40251cd94a3668512~1..4a35f1d313b93b1afef0ede40251cd94a3668512 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T02:56:12.745Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [false] [Pipeline] sh [2023-03-15T02:56:13.032Z] + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T02:56:13.047Z] ========================================================= [2023-03-15T02:56:13.047Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T02:56:13.047Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:56:13.355Z] + git log --format=format:%s -1 4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] echo [2023-03-15T02:56:13.367Z] [semverPrep] GIT_COMMIT: 4a35f1d313b93b1afef0ede40251cd94a3668512, Commit Message: Merge pull request #527 from lenny-intel/go-1.20 [Pipeline] echo [2023-03-15T02:56:13.377Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T02:56:13.708Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T02:56:13.708Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T02:56:13.708Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T02:56:13.708Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T02:56:13.708Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T02:56:13.708Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T02:56:13.708Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:56:14.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:56:14.050Z] [2023-03-15T02:56:14.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:56:14.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:56:14.353Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T02:56:14.353Z] b85a868b505f: Pulling fs layer [2023-03-15T02:56:14.353Z] e2be974225ed: Pulling fs layer [2023-03-15T02:56:14.353Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T02:56:14.353Z] 988bab9f4d93: Pulling fs layer [2023-03-15T02:56:14.353Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T02:56:14.353Z] eaf3925da568: Pulling fs layer [2023-03-15T02:56:14.353Z] bab4dde63d76: Pulling fs layer [2023-03-15T02:56:14.353Z] bde34c3a00c8: Pulling fs layer [2023-03-15T02:56:14.353Z] b352a97aabf1: Pulling fs layer [2023-03-15T02:56:14.353Z] 4872d77fe225: Pulling fs layer [2023-03-15T02:56:14.353Z] 5851b861e8e6: Pulling fs layer [2023-03-15T02:56:14.353Z] 988bab9f4d93: Waiting [2023-03-15T02:56:14.353Z] 1469e6f7b9e6: Waiting [2023-03-15T02:56:14.353Z] bab4dde63d76: Waiting [2023-03-15T02:56:14.353Z] eaf3925da568: Waiting [2023-03-15T02:56:14.353Z] 4872d77fe225: Waiting [2023-03-15T02:56:14.353Z] b352a97aabf1: Waiting [2023-03-15T02:56:14.353Z] 5851b861e8e6: Waiting [2023-03-15T02:56:14.353Z] e2be974225ed: Verifying Checksum [2023-03-15T02:56:14.353Z] e2be974225ed: Download complete [2023-03-15T02:56:14.353Z] 988bab9f4d93: Download complete [2023-03-15T02:56:14.613Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T02:56:14.613Z] 1469e6f7b9e6: Download complete [2023-03-15T02:56:14.613Z] eaf3925da568: Verifying Checksum [2023-03-15T02:56:14.613Z] eaf3925da568: Download complete [2023-03-15T02:56:14.613Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T02:56:14.613Z] 339a4e72a1f5: Download complete [2023-03-15T02:56:14.613Z] bde34c3a00c8: Verifying Checksum [2023-03-15T02:56:14.613Z] bde34c3a00c8: Download complete [2023-03-15T02:56:14.613Z] b352a97aabf1: Download complete [2023-03-15T02:56:14.613Z] 4872d77fe225: Verifying Checksum [2023-03-15T02:56:14.613Z] 4872d77fe225: Download complete [2023-03-15T02:56:14.613Z] 5851b861e8e6: Verifying Checksum [2023-03-15T02:56:14.613Z] 5851b861e8e6: Download complete [2023-03-15T02:56:14.613Z] b85a868b505f: Verifying Checksum [2023-03-15T02:56:14.613Z] b85a868b505f: Download complete [2023-03-15T02:56:14.872Z] bab4dde63d76: Verifying Checksum [2023-03-15T02:56:14.872Z] bab4dde63d76: Download complete [2023-03-15T02:56:15.830Z] b85a868b505f: Pull complete [2023-03-15T02:56:16.096Z] e2be974225ed: Pull complete [2023-03-15T02:56:16.665Z] 339a4e72a1f5: Pull complete [2023-03-15T02:56:16.665Z] 988bab9f4d93: Pull complete [2023-03-15T02:56:16.926Z] 1469e6f7b9e6: Pull complete [2023-03-15T02:56:16.926Z] eaf3925da568: Pull complete [2023-03-15T02:56:18.830Z] bab4dde63d76: Pull complete [2023-03-15T02:56:18.830Z] bde34c3a00c8: Pull complete [2023-03-15T02:56:18.830Z] b352a97aabf1: Pull complete [2023-03-15T02:56:19.089Z] 4872d77fe225: Pull complete [2023-03-15T02:56:19.089Z] 5851b861e8e6: Pull complete [2023-03-15T02:56:19.089Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T02:56:19.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T02:56:19.089Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:56:19.198Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T02:56:19.222Z] $ 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-03-15T02:56:21.879Z] $ docker top c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e -eo pid,comm [2023-03-15T02:56:21.945Z] 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-03-15T02:56:21.945Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T02:56:21.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:56:21.982Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:56:22.088Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:56:22.087Z] $ docker exec c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent [2023-03-15T02:56:22.197Z] SSH_AUTH_SOCK=/tmp/ssh-ouFdIO6ISfkP/agent.32 [2023-03-15T02:56:22.197Z] SSH_AGENT_PID=38 [2023-03-15T02:56:22.203Z] Running ssh-add (command line suppressed) [2023-03-15T02:56:22.293Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12096247315332970541.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12096247315332970541.key) [2023-03-15T02:56:22.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:56:22.602Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T02:56:22.614Z] $ docker exec --env ******** --env ******** c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent -k [2023-03-15T02:56:22.700Z] unset SSH_AUTH_SOCK; [2023-03-15T02:56:22.700Z] unset SSH_AGENT_PID; [2023-03-15T02:56:22.700Z] echo Agent pid 38 killed; [2023-03-15T02:56:22.716Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T02:56:22.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T02:56:22.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T02:56:22.870Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T02:56:22.869Z] $ docker exec c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent [2023-03-15T02:56:22.975Z] SSH_AUTH_SOCK=/tmp/ssh-uhwQOqq0gVst/agent.70 [2023-03-15T02:56:22.975Z] SSH_AGENT_PID=76 [2023-03-15T02:56:22.980Z] Running ssh-add (command line suppressed) [2023-03-15T02:56:23.077Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1740788754226426406.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1740788754226426406.key) [2023-03-15T02:56:23.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T02:56:23.374Z] + git semver init [2023-03-15T02:56:23.633Z] 2023-03-15 02:56:23,560 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T02:56:23.633Z] 2023-03-15 02:56:23,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-03-15T02:56:23.633Z] 2023-03-15 02:56:23,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2023-03-15T02:56:23.633Z] 2023-03-15 02:56:23,561 [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-03-15T02:56:24.570Z] 2023-03-15 02:56:24,351 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2023-03-15T02:56:24.570Z] 2023-03-15 02:56:24,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2023-03-15T02:56:24.570Z] 2023-03-15 02:56:24,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T02:56:24.570Z] 2023-03-15 02:56:24,352 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2023-03-15T02:56:24.570Z] 3.0.0-dev.12 [Pipeline] } [2023-03-15T02:56:24.578Z] $ docker exec --env ******** --env ******** c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e ssh-agent -k [2023-03-15T02:56:24.673Z] unset SSH_AUTH_SOCK; [2023-03-15T02:56:24.675Z] unset SSH_AGENT_PID; [2023-03-15T02:56:24.676Z] echo Agent pid 76 killed; [2023-03-15T02:56:24.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T02:56:24.998Z] + git semver [Pipeline] } [2023-03-15T02:56:25.274Z] $ docker stop --time=1 c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e [2023-03-15T02:56:26.600Z] $ docker rm -f --volumes c9f6f84a7751ae08c9f6b4a627e4a51a7077fbd09c7ae82bef8497064ec3658e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:56:26.941Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T02:56:27.148Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T02:56:27.151Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T02:56:27.272Z] provisioning config files... [2023-03-15T02:56:27.282Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12513917873086905655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:56:27.576Z] ---> docker-login.sh [2023-03-15T02:56:27.576Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:56:27.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:27.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:27.576Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:27.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:27.576Z] [2023-03-15T02:56:27.576Z] Login Succeeded [2023-03-15T02:56:27.576Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:56:27.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:27.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:27.576Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:27.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:27.576Z] [2023-03-15T02:56:27.576Z] Login Succeeded [2023-03-15T02:56:27.576Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:56:27.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:27.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:27.836Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:27.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:27.836Z] [2023-03-15T02:56:27.836Z] Login Succeeded [2023-03-15T02:56:27.836Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:56:27.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:27.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:27.836Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:27.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:27.836Z] [2023-03-15T02:56:27.836Z] Login Succeeded [2023-03-15T02:56:27.836Z] docker.io [2023-03-15T02:56:27.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:56:28.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:56:28.095Z] Configure a credential helper to remove this warning. See [2023-03-15T02:56:28.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:56:28.095Z] [2023-03-15T02:56:28.095Z] Login Succeeded [2023-03-15T02:56:28.095Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:56:28.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T02:56:28.161Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:56:28.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:56:28.178Z] ========================================================= [2023-03-15T02:56:28.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T02:56:28.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:56:28.484Z] + 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-03-15T02:56:28.484Z] Sending build context to Docker daemon 6.391MB [2023-03-15T02:56:28.484Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:56:28.484Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T02:56:28.484Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T02:56:28.484Z] 63b65145d645: Pulling fs layer [2023-03-15T02:56:28.484Z] a2d21d5440eb: Pulling fs layer [2023-03-15T02:56:28.484Z] 935e6c44a52c: Pulling fs layer [2023-03-15T02:56:28.484Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T02:56:28.484Z] 30dea6a524f1: Pulling fs layer [2023-03-15T02:56:28.484Z] a2aff8979fd8: Pulling fs layer [2023-03-15T02:56:28.484Z] 6808be2612f2: Pulling fs layer [2023-03-15T02:56:28.484Z] f25807f1079a: Pulling fs layer [2023-03-15T02:56:28.484Z] 30dea6a524f1: Waiting [2023-03-15T02:56:28.484Z] a2aff8979fd8: Waiting [2023-03-15T02:56:28.484Z] 6808be2612f2: Waiting [2023-03-15T02:56:28.484Z] f25807f1079a: Waiting [2023-03-15T02:56:28.484Z] 94cc34f8dd06: Waiting [2023-03-15T02:56:28.484Z] a2d21d5440eb: Verifying Checksum [2023-03-15T02:56:28.484Z] a2d21d5440eb: Download complete [2023-03-15T02:56:28.484Z] 94cc34f8dd06: Download complete [2023-03-15T02:56:28.745Z] 30dea6a524f1: Verifying Checksum [2023-03-15T02:56:28.745Z] 30dea6a524f1: Download complete [2023-03-15T02:56:28.745Z] 63b65145d645: Verifying Checksum [2023-03-15T02:56:28.745Z] 63b65145d645: Download complete [2023-03-15T02:56:28.745Z] a2aff8979fd8: Download complete [2023-03-15T02:56:28.745Z] 63b65145d645: Pull complete [2023-03-15T02:56:29.011Z] a2d21d5440eb: Pull complete [2023-03-15T02:56:29.273Z] f25807f1079a: Verifying Checksum [2023-03-15T02:56:29.273Z] f25807f1079a: Download complete [2023-03-15T02:56:29.273Z] 935e6c44a52c: Download complete [2023-03-15T02:56:29.531Z] 6808be2612f2: Verifying Checksum [2023-03-15T02:56:29.531Z] 6808be2612f2: Download complete [2023-03-15T02:56:32.814Z] 935e6c44a52c: Pull complete [2023-03-15T02:56:32.814Z] 94cc34f8dd06: Pull complete [2023-03-15T02:56:32.814Z] 30dea6a524f1: Pull complete [2023-03-15T02:56:32.814Z] a2aff8979fd8: Pull complete [2023-03-15T02:56:35.355Z] 6808be2612f2: Pull complete [2023-03-15T02:56:35.920Z] f25807f1079a: Pull complete [2023-03-15T02:56:35.920Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T02:56:35.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T02:56:35.920Z] ---> 3b553350e43f [2023-03-15T02:56:35.920Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:56:40.157Z] ---> Running in 84b39cdd84ec [2023-03-15T02:56:40.157Z] Removing intermediate container 84b39cdd84ec [2023-03-15T02:56:40.157Z] ---> b51bddb43acb [2023-03-15T02:56:40.157Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:56:40.157Z] ---> Running in 150e22294dc1 [2023-03-15T02:56:40.157Z] Removing intermediate container 150e22294dc1 [2023-03-15T02:56:40.157Z] ---> 1a5fc9308597 [2023-03-15T02:56:40.157Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:56:40.157Z] ---> Running in 3c2eab26c0b7 [2023-03-15T02:56:40.157Z] Removing intermediate container 3c2eab26c0b7 [2023-03-15T02:56:40.157Z] ---> 859885611fee [2023-03-15T02:56:40.157Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:56:40.157Z] ---> Running in b99cc60c5063 [2023-03-15T02:56:40.157Z] Removing intermediate container b99cc60c5063 [2023-03-15T02:56:40.157Z] ---> feac98260a5d [2023-03-15T02:56:40.157Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:56:40.157Z] ---> Running in 1d87b87a6e8d [2023-03-15T02:56:40.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:56:40.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:56:40.676Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T02:56:40.676Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T02:56:40.676Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T02:56:40.676Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T02:56:40.934Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:56:40.934Z] OK: 269 MiB in 57 packages [2023-03-15T02:56:41.192Z] Removing intermediate container 1d87b87a6e8d [2023-03-15T02:56:41.192Z] ---> c287c0fcda01 [2023-03-15T02:56:41.193Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T02:56:41.193Z] ---> Running in a046f79c3036 [2023-03-15T02:56:41.461Z] Removing intermediate container a046f79c3036 [2023-03-15T02:56:41.461Z] ---> 22fb940142d6 [2023-03-15T02:56:41.461Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T02:56:41.461Z] ---> a9cf9112d86d [2023-03-15T02:56:41.461Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:56:41.461Z] ---> Running in dd6b51411160 [2023-03-15T02:56:42.235Z] Still waiting to schedule task [2023-03-15T02:56:42.236Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T02:57:08.023Z] Removing intermediate container dd6b51411160 [2023-03-15T02:57:08.024Z] ---> 7ff05edbc50e [2023-03-15T02:57:08.024Z] Step 11/12 : COPY . . [2023-03-15T02:57:08.024Z] ---> 0733fb85dea9 [2023-03-15T02:57:08.024Z] Step 12/12 : RUN $MAKE [2023-03-15T02:57:08.024Z] ---> Running in 2f48fd49f813 [2023-03-15T02:57:08.024Z] noop [2023-03-15T02:57:08.024Z] Removing intermediate container 2f48fd49f813 [2023-03-15T02:57:08.024Z] ---> 390a3fe3b618 [2023-03-15T02:57:08.024Z] Successfully built 390a3fe3b618 [2023-03-15T02:57:08.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:08.341Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:57:08.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:57:08.415Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T02:57:08.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:57:08.802Z] $ docker top 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:57:09.130Z] + go version [2023-03-15T02:57:09.130Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T02:57:09.145Z] $ docker stop --time=1 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 [2023-03-15T02:57:10.405Z] $ docker rm -f --volumes 7b5d48ccb2a3cd05b9dcf3e3c8bb35302fbd0a1c4c1c5fb5b0ae80816ed65053 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:10.791Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T02:57:10.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:57:10.856Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T02:57:10.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T02:57:11.246Z] $ docker top 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T02:57:11.586Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T02:57:11.882Z] + make test [2023-03-15T02:57:11.883Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T02:57:16.068Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T02:57:26.035Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T02:57:26.035Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T02:57:26.035Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.2% of statements [2023-03-15T02:57:32.597Z] go vet ./... [2023-03-15T02:57:35.873Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T02:57:35.873Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T02:57:35.873Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T02:57:35.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T02:57:35.900Z] $ docker stop --time=1 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 [2023-03-15T02:57:38.847Z] $ docker rm -f --volumes 016521cca80fe97de6d7b9a41ec7555f9da50ab304e891d0c5f49191b02144e7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T02:57:39.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T02:57:39.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T02:57:39.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T02:57:40.110Z] + ls -al . [2023-03-15T02:57:40.110Z] total 180 [2023-03-15T02:57:40.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 02:57 . [2023-03-15T02:57:40.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:56 .. [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:56 .dockerignore [2023-03-15T02:57:40.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:56 .git [2023-03-15T02:57:40.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 .github [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:56 .gitignore [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:56 .golangci.yml [2023-03-15T02:57:40.110Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:56 .semver [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:56 Attribution.txt [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:56 CHANGELOG.md [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:56 Dockerfile [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:56 GOVERNANCE.md [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:56 Jenkinsfile [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:56 LICENSE [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 02:56 Makefile [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:56 OWNERS.md [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:56 README.md [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:56 VERSION [2023-03-15T02:57:40.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:56 bin [2023-03-15T02:57:40.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 cmd [2023-03-15T02:57:40.110Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 02:57 coverage.out [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:56 go.mod [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:56 go.sum [2023-03-15T02:57:40.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:56 internal [2023-03-15T02:57:40.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:56 mock [2023-03-15T02:57:40.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:56 snap [2023-03-15T02:57:40.110Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:57:40.456Z] + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-03-15T02:57:40.456Z] Sending build context to Docker daemon 6.41MB [2023-03-15T02:57:40.456Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T02:57:40.456Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T02:57:40.456Z] ---> 390a3fe3b618 [2023-03-15T02:57:40.456Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T02:57:40.456Z] ---> Running in ee46481d7bf7 [2023-03-15T02:57:40.734Z] Removing intermediate container ee46481d7bf7 [2023-03-15T02:57:40.734Z] ---> 5a9fa89c592c [2023-03-15T02:57:40.734Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T02:57:40.734Z] ---> Running in 999b683bb5be [2023-03-15T02:57:40.734Z] Removing intermediate container 999b683bb5be [2023-03-15T02:57:40.734Z] ---> 0c98f59b30cd [2023-03-15T02:57:40.734Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T02:57:40.734Z] ---> Running in 61919b1d3bac [2023-03-15T02:57:40.734Z] Removing intermediate container 61919b1d3bac [2023-03-15T02:57:40.734Z] ---> a1cba6becf52 [2023-03-15T02:57:40.734Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T02:57:40.734Z] ---> Running in 21602c81d911 [2023-03-15T02:57:40.991Z] Removing intermediate container 21602c81d911 [2023-03-15T02:57:40.991Z] ---> 6e7fa4446109 [2023-03-15T02:57:40.991Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T02:57:40.991Z] ---> Running in e9cd3eadea11 [2023-03-15T02:57:41.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:57:41.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:57:41.764Z] OK: 269 MiB in 57 packages [2023-03-15T02:57:42.023Z] Removing intermediate container e9cd3eadea11 [2023-03-15T02:57:42.023Z] ---> 1b6a60e19016 [2023-03-15T02:57:42.023Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T02:57:42.023Z] ---> Running in 5b48d4128272 [2023-03-15T02:57:42.023Z] Removing intermediate container 5b48d4128272 [2023-03-15T02:57:42.023Z] ---> abfe6da9cea6 [2023-03-15T02:57:42.023Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T02:57:42.279Z] ---> 8bd6f02aff00 [2023-03-15T02:57:42.279Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T02:57:42.279Z] ---> Running in 78e31abca86d [2023-03-15T02:57:43.224Z] Removing intermediate container 78e31abca86d [2023-03-15T02:57:43.224Z] ---> 96f0526a5e33 [2023-03-15T02:57:43.224Z] Step 11/24 : COPY . . [2023-03-15T02:57:43.482Z] ---> 3e5e29fb6fd6 [2023-03-15T02:57:43.482Z] Step 12/24 : RUN $MAKE [2023-03-15T02:57:43.482Z] ---> Running in c84304e32d85 [2023-03-15T02:57:43.739Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T02:58:05.706Z] Removing intermediate container c84304e32d85 [2023-03-15T02:58:05.706Z] ---> 363bac31ce32 [2023-03-15T02:58:05.706Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T02:58:05.706Z] 3.17: Pulling from library/alpine [2023-03-15T02:58:05.706Z] 63b65145d645: Already exists [2023-03-15T02:58:05.706Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T02:58:05.706Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T02:58:05.706Z] ---> b2aa39c304c2 [2023-03-15T02:58:05.706Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T02:58:05.706Z] ---> Running in 6e1600ecdba4 [2023-03-15T02:58:05.706Z] Removing intermediate container 6e1600ecdba4 [2023-03-15T02:58:05.706Z] ---> 8a3b23256942 [2023-03-15T02:58:05.706Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T02:58:05.706Z] ---> Running in fae9eced3043 [2023-03-15T02:58:05.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T02:58:05.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T02:58:05.706Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T02:58:05.706Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T02:58:05.706Z] OK: 7 MiB in 16 packages [2023-03-15T02:58:05.706Z] Removing intermediate container fae9eced3043 [2023-03-15T02:58:05.706Z] ---> fa24a95526ce [2023-03-15T02:58:05.706Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T02:58:05.706Z] ---> fde812050f76 [2023-03-15T02:58:05.706Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T02:58:05.706Z] ---> 28c0b0c7ccc8 [2023-03-15T02:58:05.706Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T02:58:05.706Z] ---> 48896deb938a [2023-03-15T02:58:05.706Z] Step 19/24 : EXPOSE 59982 [2023-03-15T02:58:05.706Z] ---> Running in b8d7af53c911 [2023-03-15T02:58:05.706Z] Removing intermediate container b8d7af53c911 [2023-03-15T02:58:05.706Z] ---> e10336df3aba [2023-03-15T02:58:05.706Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T02:58:05.706Z] ---> Running in 17596a21116f [2023-03-15T02:58:05.706Z] Removing intermediate container 17596a21116f [2023-03-15T02:58:05.706Z] ---> 0cf7e2f9cdbe [2023-03-15T02:58:05.706Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T02:58:05.706Z] ---> Running in 6ef24db4be36 [2023-03-15T02:58:05.706Z] Removing intermediate container 6ef24db4be36 [2023-03-15T02:58:05.706Z] ---> f57d2d6b414b [2023-03-15T02:58:05.706Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T02:58:05.706Z] ---> Running in 0a1528880613 [2023-03-15T02:58:05.706Z] Removing intermediate container 0a1528880613 [2023-03-15T02:58:05.706Z] ---> 29119dd5e465 [2023-03-15T02:58:05.706Z] Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T02:58:05.706Z] ---> Running in 6b32b14dad99 [2023-03-15T02:58:05.706Z] Removing intermediate container 6b32b14dad99 [2023-03-15T02:58:05.706Z] ---> b9dd6fe6f79f [2023-03-15T02:58:05.706Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-03-15T02:58:05.706Z] ---> Running in 54498c2f2fa7 [2023-03-15T02:58:05.706Z] Removing intermediate container 54498c2f2fa7 [2023-03-15T02:58:05.706Z] ---> 6fdbe29d403c [2023-03-15T02:58:05.706Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T02:58:05.706Z] Successfully built 6fdbe29d403c [2023-03-15T02:58:05.706Z] 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-03-15T02:58:05.800Z] provisioning config files... [2023-03-15T02:58:05.805Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config845995334572261964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:58:06.096Z] ---> docker-login.sh [2023-03-15T02:58:06.096Z] nexus3.edgexfoundry.org:10001 [2023-03-15T02:58:06.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:06.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:06.096Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:06.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:06.096Z] [2023-03-15T02:58:06.096Z] Login Succeeded [2023-03-15T02:58:06.096Z] nexus3.edgexfoundry.org:10002 [2023-03-15T02:58:06.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:06.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:06.096Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:06.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:06.096Z] [2023-03-15T02:58:06.096Z] Login Succeeded [2023-03-15T02:58:06.096Z] nexus3.edgexfoundry.org:10003 [2023-03-15T02:58:06.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:06.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:06.354Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:06.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:06.354Z] [2023-03-15T02:58:06.354Z] Login Succeeded [2023-03-15T02:58:06.354Z] nexus3.edgexfoundry.org:10004 [2023-03-15T02:58:06.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:06.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:06.354Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:06.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:06.354Z] [2023-03-15T02:58:06.354Z] Login Succeeded [2023-03-15T02:58:06.354Z] docker.io [2023-03-15T02:58:06.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T02:58:06.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T02:58:06.612Z] Configure a credential helper to remove this warning. See [2023-03-15T02:58:06.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T02:58:06.612Z] [2023-03-15T02:58:06.612Z] Login Succeeded [2023-03-15T02:58:06.612Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T02:58:06.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:58:06.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T02:58:06.671Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2023-03-15T02:58:06.671Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T02:58:06.671Z] latest [2023-03-15T02:58:06.671Z] 3.0.0-dev.12 [2023-03-15T02:58:06.671Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T02:58:06.671Z] main [2023-03-15T02:58:06.671Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:06.982Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:07.284Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T02:58:07.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T02:58:07.284Z] 2410a3979d12: Preparing [2023-03-15T02:58:07.284Z] 0213d747bffb: Preparing [2023-03-15T02:58:07.284Z] 102899ede418: Preparing [2023-03-15T02:58:07.284Z] 727d6b872673: Preparing [2023-03-15T02:58:07.284Z] 7cd52847ad77: Preparing [2023-03-15T02:58:07.284Z] 7cd52847ad77: Layer already exists [2023-03-15T02:58:07.284Z] 727d6b872673: Pushed [2023-03-15T02:58:07.284Z] 2410a3979d12: Pushed [2023-03-15T02:58:07.284Z] 0213d747bffb: Pushed [2023-03-15T02:58:09.813Z] 102899ede418: Pushed [2023-03-15T02:58:10.072Z] 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:10.373Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:10.675Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-03-15T02:58:10.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T02:58:10.675Z] 2410a3979d12: Preparing [2023-03-15T02:58:10.675Z] 0213d747bffb: Preparing [2023-03-15T02:58:10.675Z] 102899ede418: Preparing [2023-03-15T02:58:10.675Z] 727d6b872673: Preparing [2023-03-15T02:58:10.675Z] 7cd52847ad77: Preparing [2023-03-15T02:58:10.675Z] 7cd52847ad77: Layer already exists [2023-03-15T02:58:10.675Z] 102899ede418: Layer already exists [2023-03-15T02:58:10.675Z] 2410a3979d12: Layer already exists [2023-03-15T02:58:10.675Z] 0213d747bffb: Layer already exists [2023-03-15T02:58:10.675Z] 727d6b872673: Layer already exists [2023-03-15T02:58:10.675Z] latest: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:10.989Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:11.290Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [2023-03-15T02:58:11.290Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T02:58:11.290Z] 2410a3979d12: Preparing [2023-03-15T02:58:11.290Z] 0213d747bffb: Preparing [2023-03-15T02:58:11.290Z] 102899ede418: Preparing [2023-03-15T02:58:11.290Z] 727d6b872673: Preparing [2023-03-15T02:58:11.290Z] 7cd52847ad77: Preparing [2023-03-15T02:58:11.290Z] 0213d747bffb: Layer already exists [2023-03-15T02:58:11.290Z] 102899ede418: Layer already exists [2023-03-15T02:58:11.290Z] 7cd52847ad77: Layer already exists [2023-03-15T02:58:11.290Z] 727d6b872673: Layer already exists [2023-03-15T02:58:11.290Z] 2410a3979d12: Layer already exists [2023-03-15T02:58:11.290Z] 3.0.0-dev.12: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:11.592Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:11.896Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T02:58:11.896Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T02:58:11.896Z] 2410a3979d12: Preparing [2023-03-15T02:58:11.896Z] 0213d747bffb: Preparing [2023-03-15T02:58:11.896Z] 102899ede418: Preparing [2023-03-15T02:58:11.896Z] 727d6b872673: Preparing [2023-03-15T02:58:11.896Z] 7cd52847ad77: Preparing [2023-03-15T02:58:11.896Z] 7cd52847ad77: Layer already exists [2023-03-15T02:58:11.896Z] 727d6b872673: Layer already exists [2023-03-15T02:58:11.896Z] 102899ede418: Layer already exists [2023-03-15T02:58:11.896Z] 2410a3979d12: Layer already exists [2023-03-15T02:58:11.896Z] 0213d747bffb: Layer already exists [2023-03-15T02:58:11.896Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:12.199Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:12.498Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2023-03-15T02:58:12.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2023-03-15T02:58:12.499Z] 2410a3979d12: Preparing [2023-03-15T02:58:12.499Z] 0213d747bffb: Preparing [2023-03-15T02:58:12.499Z] 102899ede418: Preparing [2023-03-15T02:58:12.499Z] 727d6b872673: Preparing [2023-03-15T02:58:12.499Z] 7cd52847ad77: Preparing [2023-03-15T02:58:12.499Z] 7cd52847ad77: Layer already exists [2023-03-15T02:58:12.499Z] 727d6b872673: Layer already exists [2023-03-15T02:58:12.499Z] 102899ede418: Layer already exists [2023-03-15T02:58:12.499Z] 2410a3979d12: Layer already exists [2023-03-15T02:58:12.499Z] 0213d747bffb: Layer already exists [2023-03-15T02:58:12.499Z] main: digest: sha256:4205a15a01dc1aff4bc0cdcf4c75a4fe00e050510b8cfb75b7f62441e724a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T02:58:12.546Z] ===================================================== [Pipeline] echo [2023-03-15T02:58:12.556Z] taggedImages: [2023-03-15T02:58:12.556Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T02:58:12.556Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2023-03-15T02:58:12.556Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.0.0-dev.12 [2023-03-15T02:58:12.556Z] - nexus3.edgexfoundry.org:10004/device-mqtt:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T02:58:12.556Z] - 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-03-15T02:58:12.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:58:12.936Z] [2023-03-15T02:58:12.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T02:58:13.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:58:13.231Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T02:58:13.231Z] 5eb5b503b376: Pulling fs layer [2023-03-15T02:58:13.231Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T02:58:13.231Z] ec43610c2a17: Pulling fs layer [2023-03-15T02:58:13.231Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T02:58:13.231Z] 33b1e0a273af: Pulling fs layer [2023-03-15T02:58:13.231Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T02:58:13.231Z] 2f39f015ded8: Pulling fs layer [2023-03-15T02:58:13.231Z] 3a2ae6a8a46f: Waiting [2023-03-15T02:58:13.231Z] 5d3b04190fa2: Waiting [2023-03-15T02:58:13.231Z] 33b1e0a273af: Waiting [2023-03-15T02:58:13.231Z] 2f39f015ded8: Waiting [2023-03-15T02:58:13.231Z] 5c69ac0246d0: Download complete [2023-03-15T02:58:13.231Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T02:58:13.231Z] 3a2ae6a8a46f: Download complete [2023-03-15T02:58:13.491Z] 33b1e0a273af: Download complete [2023-03-15T02:58:13.491Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T02:58:13.491Z] 5d3b04190fa2: Download complete [2023-03-15T02:58:13.491Z] ec43610c2a17: Verifying Checksum [2023-03-15T02:58:13.491Z] ec43610c2a17: Download complete [2023-03-15T02:58:13.491Z] 5eb5b503b376: Verifying Checksum [2023-03-15T02:58:13.491Z] 5eb5b503b376: Download complete [2023-03-15T02:58:14.058Z] 2f39f015ded8: Download complete [2023-03-15T02:58:14.991Z] 5eb5b503b376: Pull complete [2023-03-15T02:58:14.991Z] 5c69ac0246d0: Pull complete [2023-03-15T02:58:15.594Z] ec43610c2a17: Pull complete [2023-03-15T02:58:15.594Z] 3a2ae6a8a46f: Pull complete [2023-03-15T02:58:15.594Z] 33b1e0a273af: Pull complete [2023-03-15T02:58:15.852Z] 5d3b04190fa2: Pull complete [2023-03-15T02:58:20.037Z] 2f39f015ded8: Pull complete [2023-03-15T02:58:20.037Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T02:58:20.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T02:58:20.037Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T02:58:20.110Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T02:58:20.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T02:58:22.847Z] $ docker top 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T02:58:23.197Z] ---> job-cost.sh [2023-03-15T02:58:23.197Z] lf-activate-venv: SKIPPING [2023-03-15T02:58:23.197Z] INFO: No Stack... [2023-03-15T02:58:23.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T02:58:23.711Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T02:58:23.993Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2023-03-15T02:58:23.993Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T02:58:24.004Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [2023-03-15T02:58:24.011Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] did not exist. Created. [2023-03-15T02:58:24.012Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T02:58:24.309Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T02:58:24.337Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T02:58:24.345Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T02:58:24.364Z] $ docker stop --time=1 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 [2023-03-15T02:58:25.541Z] $ docker rm -f --volumes 73a5d17461d1b21da370a2d6c1f0b3daeb8c22a65b0bb0ac156ae1b07a25b9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T02:59:33.203Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-341 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2023-03-15T02:59:33.216Z] Running in /w/workspace/device-mqtt-go/95 [Pipeline] { [Pipeline] checkout [2023-03-15T02:59:33.292Z] Selected Git installation does not exist. Using Default [2023-03-15T02:59:33.292Z] The recommended git tool is: NONE [2023-03-15T02:59:42.530Z] using credential edgex-jenkins-ssh [2023-03-15T02:59:42.570Z] Cloning the remote Git repository [2023-03-15T02:59:42.636Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T02:59:42.774Z] > git init /w/workspace/device-mqtt-go/95 # timeout=10 [2023-03-15T02:59:43.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T02:59:43.134Z] > git --version # timeout=10 [2023-03-15T02:59:43.229Z] > git --version # 'git version 2.25.1' [2023-03-15T02:59:43.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T02:59:43.581Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:59:44.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T02:59:44.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T02:59:46.665Z] Avoid second fetch [2023-03-15T02:59:46.665Z] Checking out Revision 4a35f1d313b93b1afef0ede40251cd94a3668512 (main) [2023-03-15T02:59:46.702Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T02:59:46.941Z] > git checkout -f 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [2023-03-15T02:59:48.070Z] Commit message: "Merge pull request #527 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T02:59:49.182Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T02:59:49.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T02:59:49.182Z] Dload Upload Total Spent Left Speed [2023-03-15T02:59:49.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 60431 0 --:--:-- --:--:-- --:--:-- 60431 [Pipeline] sh [2023-03-15T02:59:50.093Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T02:59:50.461Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-15T02:59:50.461Z] /etc/docker/daemon.json [2023-03-15T02:59:50.461Z] { [2023-03-15T02:59:50.461Z] "registry-mirrors": [ [2023-03-15T02:59:50.461Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T02:59:50.461Z] ], [2023-03-15T02:59:50.461Z] "bip": "10.250.0.254/24", [2023-03-15T02:59:50.461Z] "hosts": [ [2023-03-15T02:59:50.461Z] "tcp://0.0.0.0:5555", [2023-03-15T02:59:50.461Z] "unix:///var/run/docker.sock" [2023-03-15T02:59:50.461Z] ], [2023-03-15T02:59:50.461Z] "mtu": 1458, [2023-03-15T02:59:50.461Z] "selinux-enabled": true, [2023-03-15T02:59:50.461Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T02:59:50.461Z] } [Pipeline] sh [2023-03-15T02:59:50.838Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T02:59:51.198Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T03:00:09.521Z] provisioning config files... [2023-03-15T03:00:09.556Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/95@tmp/config3629644174993778993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:00:09.937Z] ---> docker-login.sh [2023-03-15T03:00:09.937Z] nexus3.edgexfoundry.org:10001 [2023-03-15T03:00:10.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:00:10.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:00:10.809Z] Configure a credential helper to remove this warning. See [2023-03-15T03:00:10.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:00:10.809Z] [2023-03-15T03:00:10.809Z] Login Succeeded [2023-03-15T03:00:10.809Z] nexus3.edgexfoundry.org:10002 [2023-03-15T03:00:11.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:00:11.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:00:11.084Z] Configure a credential helper to remove this warning. See [2023-03-15T03:00:11.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:00:11.084Z] [2023-03-15T03:00:11.084Z] Login Succeeded [2023-03-15T03:00:11.084Z] nexus3.edgexfoundry.org:10003 [2023-03-15T03:00:11.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:00:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:00:11.636Z] Configure a credential helper to remove this warning. See [2023-03-15T03:00:11.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:00:11.636Z] [2023-03-15T03:00:11.636Z] Login Succeeded [2023-03-15T03:00:11.636Z] nexus3.edgexfoundry.org:10004 [2023-03-15T03:00:11.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:00:12.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:00:12.182Z] Configure a credential helper to remove this warning. See [2023-03-15T03:00:12.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:00:12.182Z] [2023-03-15T03:00:12.182Z] Login Succeeded [2023-03-15T03:00:12.182Z] docker.io [2023-03-15T03:00:12.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:00:12.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:00:12.729Z] Configure a credential helper to remove this warning. See [2023-03-15T03:00:12.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:00:12.729Z] [2023-03-15T03:00:12.729Z] Login Succeeded [2023-03-15T03:00:12.729Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T03:00:12.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T03:00:13.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:00:13.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:00:13.098Z] ========================================================= [2023-03-15T03:00:13.098Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T03:00:13.098Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:00:13.476Z] + 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-03-15T03:00:13.750Z] Sending build context to Docker daemon 3.304MB [2023-03-15T03:00:13.750Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T03:00:13.750Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T03:00:14.032Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T03:00:14.032Z] af6eaf76a39c: Pulling fs layer [2023-03-15T03:00:14.032Z] 55522c791124: Pulling fs layer [2023-03-15T03:00:14.032Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T03:00:14.032Z] 169dfbe0d373: Pulling fs layer [2023-03-15T03:00:14.032Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T03:00:14.032Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T03:00:14.032Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T03:00:14.032Z] e1ff8fa3b103: Waiting [2023-03-15T03:00:14.032Z] 52ebb69f0ebf: Waiting [2023-03-15T03:00:14.032Z] 5abe8eddf0d5: Waiting [2023-03-15T03:00:14.032Z] 169dfbe0d373: Waiting [2023-03-15T03:00:14.032Z] 55522c791124: Download complete [2023-03-15T03:00:14.032Z] 169dfbe0d373: Verifying Checksum [2023-03-15T03:00:14.032Z] 169dfbe0d373: Download complete [2023-03-15T03:00:14.310Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T03:00:14.310Z] e1ff8fa3b103: Download complete [2023-03-15T03:00:14.310Z] af6eaf76a39c: Verifying Checksum [2023-03-15T03:00:14.310Z] af6eaf76a39c: Download complete [2023-03-15T03:00:15.783Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T03:00:15.783Z] 5abe8eddf0d5: Download complete [2023-03-15T03:00:15.783Z] af6eaf76a39c: Pull complete [2023-03-15T03:00:16.382Z] 55522c791124: Pull complete [2023-03-15T03:00:17.375Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T03:00:17.375Z] 52ebb69f0ebf: Download complete [2023-03-15T03:00:17.375Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T03:00:17.375Z] ce5c4a1c91eb: Download complete [2023-03-15T03:00:29.765Z] ce5c4a1c91eb: Pull complete [2023-03-15T03:00:29.765Z] 169dfbe0d373: Pull complete [2023-03-15T03:00:30.036Z] e1ff8fa3b103: Pull complete [2023-03-15T03:00:38.454Z] 52ebb69f0ebf: Pull complete [2023-03-15T03:00:39.905Z] 5abe8eddf0d5: Pull complete [2023-03-15T03:00:39.905Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T03:00:39.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T03:00:39.905Z] ---> 6cb57ee374ae [2023-03-15T03:00:39.905Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T03:00:41.881Z] ---> Running in 51511de48ccb [2023-03-15T03:00:42.155Z] Removing intermediate container 51511de48ccb [2023-03-15T03:00:42.155Z] ---> fc91f20a9171 [2023-03-15T03:00:42.155Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T03:00:42.155Z] ---> Running in c85920540e05 [2023-03-15T03:00:42.427Z] Removing intermediate container c85920540e05 [2023-03-15T03:00:42.427Z] ---> aa13111c5f83 [2023-03-15T03:00:42.427Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T03:00:42.700Z] ---> Running in e5cb643e6770 [2023-03-15T03:00:42.972Z] Removing intermediate container e5cb643e6770 [2023-03-15T03:00:42.972Z] ---> 5f27e4830b05 [2023-03-15T03:00:42.972Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T03:00:43.244Z] ---> Running in e701f6efc7d0 [2023-03-15T03:00:43.523Z] Removing intermediate container e701f6efc7d0 [2023-03-15T03:00:43.523Z] ---> 9c57a5be57e1 [2023-03-15T03:00:43.523Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T03:00:43.523Z] ---> Running in 451e5dcd2e8e [2023-03-15T03:00:44.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:00:45.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:00:47.348Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T03:00:47.348Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T03:00:47.348Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T03:00:47.348Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T03:00:47.348Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T03:00:47.348Z] OK: 268 MiB in 57 packages [2023-03-15T03:00:48.781Z] Removing intermediate container 451e5dcd2e8e [2023-03-15T03:00:48.781Z] ---> f0af5cc244ca [2023-03-15T03:00:48.781Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T03:00:48.781Z] ---> Running in 35bd930619c9 [2023-03-15T03:00:49.053Z] Removing intermediate container 35bd930619c9 [2023-03-15T03:00:49.053Z] ---> 12243815b2a5 [2023-03-15T03:00:49.053Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T03:00:49.650Z] ---> ba5d0e4b56d0 [2023-03-15T03:00:49.650Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T03:00:49.926Z] ---> Running in c2449fae1bdd [2023-03-15T03:01:57.887Z] Removing intermediate container c2449fae1bdd [2023-03-15T03:01:57.887Z] ---> ed903ebdc8e0 [2023-03-15T03:01:57.887Z] Step 11/12 : COPY . . [2023-03-15T03:01:57.887Z] ---> 5ef05aea02b7 [2023-03-15T03:01:57.887Z] Step 12/12 : RUN $MAKE [2023-03-15T03:01:57.887Z] ---> Running in 50b6532bca77 [2023-03-15T03:01:58.157Z] noop [2023-03-15T03:01:58.745Z] Removing intermediate container 50b6532bca77 [2023-03-15T03:01:58.745Z] ---> 40c054d3d4de [2023-03-15T03:01:58.745Z] Successfully built 40c054d3d4de [2023-03-15T03:01:58.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:01:59.120Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T03:01:59.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:01:59.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2023-03-15T03:01:59.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T03:02:00.949Z] $ docker top 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:02:01.873Z] + go version [2023-03-15T03:02:01.873Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T03:02:01.902Z] $ docker stop --time=1 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a [2023-03-15T03:02:03.665Z] $ docker rm -f --volumes 6f7701768864c2761e9abc6faf0e742de1643691cfdf3394e6eba433dc41b40a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:02:04.240Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T03:02:04.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:02:04.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2023-03-15T03:02:04.544Z] $ 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/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T03:02:05.824Z] $ docker top 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:02:06.679Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/95 [Pipeline] fileExists [Pipeline] sh [2023-03-15T03:02:07.353Z] + make test [2023-03-15T03:02:07.353Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T03:02:54.283Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T03:05:01.145Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T03:05:05.430Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T03:05:05.430Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.2% of statements [2023-03-15T03:05:05.701Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T03:05:05.701Z] go vet ./... [2023-03-15T03:05:37.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T03:05:37.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T03:05:37.986Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T03:05:38.005Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T03:05:38.021Z] $ docker stop --time=1 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e [2023-03-15T03:05:39.983Z] $ docker rm -f --volumes 951916b5ba6c95788a699d37c12e5460689f7ad414ff4a326c8eef616de80c3e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T03:05:41.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T03:05:41.292Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T03:05:41.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T03:05:42.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T03:05:42.664Z] + ls -al . [2023-03-15T03:05:42.664Z] total 176 [2023-03-15T03:05:42.664Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 03:02 . [2023-03-15T03:05:42.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:59 .. [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 02:59 .dockerignore [2023-03-15T03:05:42.664Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 02:59 .git [2023-03-15T03:05:42.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 .github [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 02:59 .gitignore [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 02:59 .golangci.yml [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 02:59 Attribution.txt [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 02:59 CHANGELOG.md [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 02:59 Dockerfile [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 02:59 GOVERNANCE.md [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 02:59 Jenkinsfile [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 02:59 LICENSE [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 02:59 Makefile [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 02:59 OWNERS.md [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 02:59 README.md [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 02:56 VERSION [2023-03-15T03:05:42.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:59 bin [2023-03-15T03:05:42.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 cmd [2023-03-15T03:05:42.664Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 03:05 coverage.out [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 02:59 go.mod [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 02:59 go.sum [2023-03-15T03:05:42.664Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 02:59 internal [2023-03-15T03:05:42.664Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 02:59 mock [2023-03-15T03:05:42.664Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:59 snap [2023-03-15T03:05:42.664Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 02:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:05:43.022Z] + 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=4a35f1d313b93b1afef0ede40251cd94a3668512 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-03-15T03:05:43.296Z] Sending build context to Docker daemon 3.323MB [2023-03-15T03:05:43.296Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T03:05:43.296Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T03:05:43.296Z] ---> 40c054d3d4de [2023-03-15T03:05:43.296Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T03:05:43.575Z] ---> Running in 08a06bf26786 [2023-03-15T03:05:43.846Z] Removing intermediate container 08a06bf26786 [2023-03-15T03:05:43.846Z] ---> 79af38b24b91 [2023-03-15T03:05:43.846Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T03:05:44.118Z] ---> Running in e05aca607a2c [2023-03-15T03:05:44.386Z] Removing intermediate container e05aca607a2c [2023-03-15T03:05:44.386Z] ---> 12fbd50e2393 [2023-03-15T03:05:44.386Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T03:05:44.386Z] ---> Running in 14bc93ed1b5a [2023-03-15T03:05:44.993Z] Removing intermediate container 14bc93ed1b5a [2023-03-15T03:05:44.993Z] ---> fb702139118c [2023-03-15T03:05:44.993Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T03:05:44.993Z] ---> Running in 05c835f62dd9 [2023-03-15T03:05:45.266Z] Removing intermediate container 05c835f62dd9 [2023-03-15T03:05:45.266Z] ---> 497c33b9ec3c [2023-03-15T03:05:45.266Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T03:05:45.266Z] ---> Running in 8cfea0850152 [2023-03-15T03:05:46.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:05:47.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:05:48.722Z] OK: 268 MiB in 57 packages [2023-03-15T03:05:49.710Z] Removing intermediate container 8cfea0850152 [2023-03-15T03:05:49.710Z] ---> c99ca42c7f72 [2023-03-15T03:05:49.710Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T03:05:49.710Z] ---> Running in ebb6519086a8 [2023-03-15T03:05:49.981Z] Removing intermediate container ebb6519086a8 [2023-03-15T03:05:49.981Z] ---> a4d4c7874fc5 [2023-03-15T03:05:49.981Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T03:05:50.575Z] ---> 5331800f8f44 [2023-03-15T03:05:50.575Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T03:05:50.575Z] ---> Running in f93ff9f9bc3b [2023-03-15T03:05:53.970Z] Removing intermediate container f93ff9f9bc3b [2023-03-15T03:05:53.970Z] ---> 48d53aeebe32 [2023-03-15T03:05:53.970Z] Step 11/24 : COPY . . [2023-03-15T03:05:54.949Z] ---> fcc829c411d9 [2023-03-15T03:05:54.949Z] Step 12/24 : RUN $MAKE [2023-03-15T03:05:54.949Z] ---> Running in fef4cdbb7e7c [2023-03-15T03:05:56.374Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T03:08:48.230Z] Removing intermediate container fef4cdbb7e7c [2023-03-15T03:08:48.230Z] ---> f86e954e17d0 [2023-03-15T03:08:48.230Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T03:08:48.230Z] 3.17: Pulling from library/alpine [2023-03-15T03:08:48.230Z] af6eaf76a39c: Already exists [2023-03-15T03:08:48.230Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T03:08:48.230Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T03:08:48.230Z] ---> d74e625d9115 [2023-03-15T03:08:48.230Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T03:08:48.230Z] ---> Running in 86ac5cb322b2 [2023-03-15T03:08:48.230Z] Removing intermediate container 86ac5cb322b2 [2023-03-15T03:08:48.230Z] ---> 09373bc32d8d [2023-03-15T03:08:48.230Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T03:08:48.230Z] ---> Running in e2dc8f2d75f1 [2023-03-15T03:08:48.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T03:08:48.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T03:08:48.230Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T03:08:48.230Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T03:08:48.230Z] OK: 8 MiB in 16 packages [2023-03-15T03:08:48.230Z] Removing intermediate container e2dc8f2d75f1 [2023-03-15T03:08:48.230Z] ---> cc75280a4477 [2023-03-15T03:08:48.230Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T03:08:48.230Z] ---> d507667a9466 [2023-03-15T03:08:48.230Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T03:08:48.230Z] ---> 4bbc317beeb8 [2023-03-15T03:08:48.230Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T03:08:48.230Z] ---> ce91b1f31c49 [2023-03-15T03:08:48.230Z] Step 19/24 : EXPOSE 59982 [2023-03-15T03:08:48.230Z] ---> Running in d014d8d5f6af [2023-03-15T03:08:48.230Z] Removing intermediate container d014d8d5f6af [2023-03-15T03:08:48.230Z] ---> aea6f0efbf11 [2023-03-15T03:08:48.230Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T03:08:48.230Z] ---> Running in 20bf55eb42e6 [2023-03-15T03:08:48.230Z] Removing intermediate container 20bf55eb42e6 [2023-03-15T03:08:48.230Z] ---> 29a7cb2f699d [2023-03-15T03:08:48.230Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T03:08:48.230Z] ---> Running in 01f0e382945a [2023-03-15T03:08:48.230Z] Removing intermediate container 01f0e382945a [2023-03-15T03:08:48.230Z] ---> 260308ad0ad3 [2023-03-15T03:08:48.230Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T03:08:48.230Z] ---> Running in b056db0ba995 [2023-03-15T03:08:48.818Z] Removing intermediate container b056db0ba995 [2023-03-15T03:08:48.818Z] ---> 004e6ac711bd [2023-03-15T03:08:48.818Z] Step 23/24 : LABEL git_sha=4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T03:08:48.818Z] ---> Running in ea0239e0b318 [2023-03-15T03:08:49.093Z] Removing intermediate container ea0239e0b318 [2023-03-15T03:08:49.093Z] ---> 6cda9bace550 [2023-03-15T03:08:49.093Z] Step 24/24 : LABEL version=3.0.0-dev.12 [2023-03-15T03:08:49.093Z] ---> Running in 5e452a04fb45 [2023-03-15T03:08:49.680Z] Removing intermediate container 5e452a04fb45 [2023-03-15T03:08:49.680Z] ---> 044aa76eeaf1 [2023-03-15T03:08:49.680Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T03:08:49.680Z] Successfully built 044aa76eeaf1 [2023-03-15T03:08:49.680Z] 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-03-15T03:08:49.785Z] provisioning config files... [2023-03-15T03:08:49.803Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/95@tmp/config2015521559653906285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:08:50.149Z] ---> docker-login.sh [2023-03-15T03:08:50.149Z] nexus3.edgexfoundry.org:10001 [2023-03-15T03:08:50.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:08:50.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:08:50.418Z] Configure a credential helper to remove this warning. See [2023-03-15T03:08:50.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:08:50.418Z] [2023-03-15T03:08:50.418Z] Login Succeeded [2023-03-15T03:08:50.418Z] nexus3.edgexfoundry.org:10002 [2023-03-15T03:08:50.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:08:50.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:08:50.953Z] Configure a credential helper to remove this warning. See [2023-03-15T03:08:50.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:08:50.953Z] [2023-03-15T03:08:50.953Z] Login Succeeded [2023-03-15T03:08:50.953Z] nexus3.edgexfoundry.org:10003 [2023-03-15T03:08:51.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:08:51.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:08:51.221Z] Configure a credential helper to remove this warning. See [2023-03-15T03:08:51.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:08:51.221Z] [2023-03-15T03:08:51.221Z] Login Succeeded [2023-03-15T03:08:51.221Z] nexus3.edgexfoundry.org:10004 [2023-03-15T03:08:51.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:08:51.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:08:51.757Z] Configure a credential helper to remove this warning. See [2023-03-15T03:08:51.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:08:51.757Z] [2023-03-15T03:08:51.757Z] Login Succeeded [2023-03-15T03:08:51.757Z] docker.io [2023-03-15T03:08:52.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T03:08:52.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T03:08:52.294Z] Configure a credential helper to remove this warning. See [2023-03-15T03:08:52.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T03:08:52.294Z] [2023-03-15T03:08:52.294Z] Login Succeeded [2023-03-15T03:08:52.294Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T03:08:52.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T03:08:52.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T03:08:52.371Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2023-03-15T03:08:52.371Z] 4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T03:08:52.371Z] latest [2023-03-15T03:08:52.371Z] 3.0.0-dev.12 [2023-03-15T03:08:52.371Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T03:08:52.371Z] main [2023-03-15T03:08:52.371Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:08:52.731Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:08:53.080Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T03:08:53.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T03:08:53.080Z] a8bff912f77f: Preparing [2023-03-15T03:08:53.080Z] ee27cba9ce02: Preparing [2023-03-15T03:08:53.080Z] 9a46cfdd0fb9: Preparing [2023-03-15T03:08:53.080Z] f289af2e0b6b: Preparing [2023-03-15T03:08:53.080Z] edf70074bd40: Preparing [2023-03-15T03:08:53.080Z] edf70074bd40: Layer already exists [2023-03-15T03:10:29.939Z] 9a46cfdd0fb9: Retrying in 5 seconds [2023-03-15T03:10:29.939Z] a8bff912f77f: Retrying in 5 seconds [2023-03-15T03:10:29.939Z] ee27cba9ce02: Retrying in 5 seconds [2023-03-15T03:10:29.939Z] f289af2e0b6b: Retrying in 5 seconds [2023-03-15T03:10:29.939Z] 9a46cfdd0fb9: Retrying in 4 seconds [2023-03-15T03:10:29.939Z] ee27cba9ce02: Retrying in 4 seconds [2023-03-15T03:10:29.939Z] a8bff912f77f: Retrying in 4 seconds [2023-03-15T03:10:29.939Z] f289af2e0b6b: Retrying in 4 seconds [2023-03-15T03:10:29.939Z] 9a46cfdd0fb9: Retrying in 3 seconds [2023-03-15T03:10:29.939Z] ee27cba9ce02: Retrying in 3 seconds [2023-03-15T03:10:29.939Z] a8bff912f77f: Retrying in 3 seconds [2023-03-15T03:10:29.939Z] f289af2e0b6b: Retrying in 3 seconds [2023-03-15T03:10:29.939Z] 9a46cfdd0fb9: Retrying in 2 seconds [2023-03-15T03:10:29.939Z] ee27cba9ce02: Retrying in 2 seconds [2023-03-15T03:10:29.939Z] a8bff912f77f: Retrying in 2 seconds [2023-03-15T03:10:29.939Z] f289af2e0b6b: Retrying in 2 seconds [2023-03-15T03:10:29.939Z] 9a46cfdd0fb9: Retrying in 1 second [2023-03-15T03:10:29.939Z] ee27cba9ce02: Retrying in 1 second [2023-03-15T03:10:29.939Z] a8bff912f77f: Retrying in 1 second [2023-03-15T03:10:29.939Z] f289af2e0b6b: Retrying in 1 second [2023-03-15T03:11:37.843Z] a8bff912f77f: Pushed [2023-03-15T03:11:37.843Z] ee27cba9ce02: Pushed [2023-03-15T03:11:37.843Z] f289af2e0b6b: Pushed [2023-03-15T03:11:37.843Z] 9a46cfdd0fb9: Pushed [2023-03-15T03:11:37.843Z] 4a35f1d313b93b1afef0ede40251cd94a3668512: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:38.192Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:38.540Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-03-15T03:11:38.540Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T03:11:38.540Z] a8bff912f77f: Preparing [2023-03-15T03:11:38.540Z] ee27cba9ce02: Preparing [2023-03-15T03:11:38.540Z] 9a46cfdd0fb9: Preparing [2023-03-15T03:11:38.540Z] f289af2e0b6b: Preparing [2023-03-15T03:11:38.540Z] edf70074bd40: Preparing [2023-03-15T03:11:38.540Z] edf70074bd40: Layer already exists [2023-03-15T03:11:38.540Z] 9a46cfdd0fb9: Layer already exists [2023-03-15T03:11:38.541Z] a8bff912f77f: Layer already exists [2023-03-15T03:11:38.541Z] ee27cba9ce02: Layer already exists [2023-03-15T03:11:38.541Z] f289af2e0b6b: Layer already exists [2023-03-15T03:11:38.541Z] latest: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:39.158Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:39.518Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [2023-03-15T03:11:39.518Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T03:11:39.518Z] a8bff912f77f: Preparing [2023-03-15T03:11:39.518Z] ee27cba9ce02: Preparing [2023-03-15T03:11:39.518Z] 9a46cfdd0fb9: Preparing [2023-03-15T03:11:39.518Z] f289af2e0b6b: Preparing [2023-03-15T03:11:39.518Z] edf70074bd40: Preparing [2023-03-15T03:11:39.518Z] f289af2e0b6b: Layer already exists [2023-03-15T03:11:39.518Z] a8bff912f77f: Layer already exists [2023-03-15T03:11:39.518Z] ee27cba9ce02: Layer already exists [2023-03-15T03:11:39.518Z] 9a46cfdd0fb9: Layer already exists [2023-03-15T03:11:39.518Z] edf70074bd40: Layer already exists [2023-03-15T03:11:39.787Z] 3.0.0-dev.12: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:40.158Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:40.552Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T03:11:40.552Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T03:11:40.552Z] a8bff912f77f: Preparing [2023-03-15T03:11:40.552Z] ee27cba9ce02: Preparing [2023-03-15T03:11:40.552Z] 9a46cfdd0fb9: Preparing [2023-03-15T03:11:40.552Z] f289af2e0b6b: Preparing [2023-03-15T03:11:40.552Z] edf70074bd40: Preparing [2023-03-15T03:11:40.552Z] ee27cba9ce02: Layer already exists [2023-03-15T03:11:40.552Z] f289af2e0b6b: Layer already exists [2023-03-15T03:11:40.552Z] 9a46cfdd0fb9: Layer already exists [2023-03-15T03:11:40.552Z] a8bff912f77f: Layer already exists [2023-03-15T03:11:40.552Z] edf70074bd40: Layer already exists [2023-03-15T03:11:40.552Z] 4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:40.903Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:41.268Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2023-03-15T03:11:41.268Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2023-03-15T03:11:41.268Z] a8bff912f77f: Preparing [2023-03-15T03:11:41.268Z] ee27cba9ce02: Preparing [2023-03-15T03:11:41.268Z] 9a46cfdd0fb9: Preparing [2023-03-15T03:11:41.268Z] f289af2e0b6b: Preparing [2023-03-15T03:11:41.268Z] edf70074bd40: Preparing [2023-03-15T03:11:41.268Z] 9a46cfdd0fb9: Layer already exists [2023-03-15T03:11:41.268Z] edf70074bd40: Layer already exists [2023-03-15T03:11:41.268Z] ee27cba9ce02: Layer already exists [2023-03-15T03:11:41.268Z] a8bff912f77f: Layer already exists [2023-03-15T03:11:41.268Z] f289af2e0b6b: Layer already exists [2023-03-15T03:11:41.543Z] main: digest: sha256:6fbcc13c853ec7e1a619d33fe051cdc7039c4fedf08ed0cab8924d7e70f7f41c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T03:11:41.593Z] ===================================================== [Pipeline] echo [2023-03-15T03:11:41.598Z] taggedImages: [2023-03-15T03:11:41.598Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512 [2023-03-15T03:11:41.598Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2023-03-15T03:11:41.598Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.0.0-dev.12 [2023-03-15T03:11:41.598Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4a35f1d313b93b1afef0ede40251cd94a3668512-3.0.0-dev.12 [2023-03-15T03:11:41.598Z] - 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-03-15T03:11:41.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:11:41.986Z] [2023-03-15T03:11:41.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:11:42.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:11:42.608Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T03:11:42.608Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T03:11:42.608Z] 04944245beec: Pulling fs layer [2023-03-15T03:11:42.608Z] 699f458cf7ca: Pulling fs layer [2023-03-15T03:11:42.608Z] 765212b225bb: Pulling fs layer [2023-03-15T03:11:42.608Z] f23df028b6ca: Pulling fs layer [2023-03-15T03:11:42.608Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T03:11:42.608Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T03:11:42.608Z] f23df028b6ca: Waiting [2023-03-15T03:11:42.608Z] 765212b225bb: Waiting [2023-03-15T03:11:42.608Z] d65c8cfc05b1: Waiting [2023-03-15T03:11:42.608Z] 2437ff75d9bd: Waiting [2023-03-15T03:11:42.608Z] 04944245beec: Verifying Checksum [2023-03-15T03:11:42.608Z] 04944245beec: Download complete [2023-03-15T03:11:42.608Z] 765212b225bb: Verifying Checksum [2023-03-15T03:11:42.608Z] 765212b225bb: Download complete [2023-03-15T03:11:42.608Z] f23df028b6ca: Verifying Checksum [2023-03-15T03:11:42.608Z] f23df028b6ca: Download complete [2023-03-15T03:11:42.882Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T03:11:42.882Z] d65c8cfc05b1: Download complete [2023-03-15T03:11:42.882Z] 699f458cf7ca: Verifying Checksum [2023-03-15T03:11:42.882Z] 699f458cf7ca: Download complete [2023-03-15T03:11:43.154Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T03:11:43.154Z] 8998bd30e6a1: Download complete [2023-03-15T03:11:45.761Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T03:11:45.761Z] 2437ff75d9bd: Download complete [2023-03-15T03:11:47.713Z] 8998bd30e6a1: Pull complete [2023-03-15T03:11:47.981Z] 04944245beec: Pull complete [2023-03-15T03:11:49.401Z] 699f458cf7ca: Pull complete [2023-03-15T03:11:49.671Z] 765212b225bb: Pull complete [2023-03-15T03:11:50.635Z] f23df028b6ca: Pull complete [2023-03-15T03:11:50.904Z] d65c8cfc05b1: Pull complete [2023-03-15T03:12:05.915Z] 2437ff75d9bd: Pull complete [2023-03-15T03:12:05.915Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T03:12:05.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T03:12:05.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:06.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-341 does not seem to be running inside a container [2023-03-15T03:12:06.201Z] $ 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/95 -v /w/workspace/device-mqtt-go/95:/w/workspace/device-mqtt-go/95:rw,z -v /w/workspace/device-mqtt-go/95@tmp:/w/workspace/device-mqtt-go/95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T03:12:09.212Z] $ docker top 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:10.087Z] ---> job-cost.sh [2023-03-15T03:12:10.087Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:10.087Z] INFO: No Stack... [2023-03-15T03:12:10.674Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T03:12:11.640Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T03:12:12.289Z] + cat /w/workspace/device-mqtt-go/95/archives/cost.csv [2023-03-15T03:12:12.289Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T03:12:12.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [2023-03-15T03:12:12.372Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] did not exist. Created. [2023-03-15T03:12:12.372Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T03:12:13.035Z] /w/workspace/device-mqtt-go/95@tmp/durable-f8e8dd9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T03:12:13.691Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T03:12:13.715Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T03:12:13.771Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T03:12:13.778Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-95-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T03:12:13.807Z] $ docker stop --time=1 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d [2023-03-15T03:12:15.366Z] $ docker rm -f --volumes 7751c08fcdb4edb85f43d2984f9e874a72b99fe12d51557a6234011d31ae6d5d [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-03-15T03:12:15.750Z] provisioning config files... [2023-03-15T03:12:15.757Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1776668897627323996tmp [Pipeline] { [Pipeline] sh [2023-03-15T03:12:16.048Z] + set +x [2023-03-15T03:12:16.048Z] + curl -s https://codecov.io/bash [2023-03-15T03:12:16.048Z] + bash -s -- [2023-03-15T03:12:16.048Z] [2023-03-15T03:12:16.048Z] _____ _ [2023-03-15T03:12:16.048Z] / ____| | | [2023-03-15T03:12:16.048Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T03:12:16.048Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T03:12:16.048Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T03:12:16.048Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T03:12:16.048Z] Bash-1.0.6 [2023-03-15T03:12:16.048Z] [2023-03-15T03:12:16.048Z] [2023-03-15T03:12:16.048Z] ==> git version 2.25.1 found [2023-03-15T03:12:16.048Z] ==> 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-03-15T03:12:16.048Z] Release-Date: 2020-01-08 [2023-03-15T03:12:16.048Z] 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-03-15T03:12:16.048Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T03:12:16.048Z] ==> Jenkins CI detected. [2023-03-15T03:12:16.048Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2023-03-15T03:12:16.048Z] project root: . [2023-03-15T03:12:16.048Z] --> token set from env [2023-03-15T03:12:16.048Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T03:12:16.048Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T03:12:16.048Z] ==> Python coveragepy not found [2023-03-15T03:12:16.048Z] ==> Searching for coverage reports in: [2023-03-15T03:12:16.048Z] + . [2023-03-15T03:12:16.048Z] -> Found 1 reports [2023-03-15T03:12:16.048Z] ==> Detecting git/mercurial file structure [2023-03-15T03:12:16.048Z] ==> Reading reports [2023-03-15T03:12:16.048Z] + ./coverage.out bytes=18047 [2023-03-15T03:12:16.048Z] ==> Appending adjustments [2023-03-15T03:12:16.048Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T03:12:16.307Z] + Found adjustments [2023-03-15T03:12:16.307Z] ==> Gzipping contents [2023-03-15T03:12:16.307Z] 4.0K /tmp/codecov.2VI5px.gz [2023-03-15T03:12:16.307Z] ==> Uploading reports [2023-03-15T03:12:16.307Z] url: https://codecov.io [2023-03-15T03:12:16.307Z] query: branch=main&commit=4a35f1d313b93b1afef0ede40251cd94a3668512&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T03:12:16.307Z] -> Pinging Codecov [2023-03-15T03:12:16.307Z] 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=4a35f1d313b93b1afef0ede40251cd94a3668512&build=95&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F95%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T03:12:16.566Z] -> Uploading to [2023-03-15T03:12:16.566Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/4a35f1d313b93b1afef0ede40251cd94a3668512/b6ca2403-e70c-43d1-8562-100b8692aff6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T031216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f38aae4d6da616f8ae9e3d23fb4225950d3d4c45176c18a3b17818b98e84f4f4 [2023-03-15T03:12:16.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T03:12:16.566Z] Dload Upload Total Spent Left Speed [2023-03-15T03:12:16.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 13457 --:--:-- --:--:-- --:--:-- 13457 [2023-03-15T03:12:16.825Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4a35f1d313b93b1afef0ede40251cd94a3668512 [Pipeline] } [2023-03-15T03:12:16.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T03:12:16.950Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T03:12:16.962Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:12:17.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:17.258Z] [2023-03-15T03:12:17.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:12:17.557Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:17.557Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T03:12:17.558Z] df9b9388f04a: Pulling fs layer [2023-03-15T03:12:17.558Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T03:12:17.558Z] 25bc292e5bac: Pulling fs layer [2023-03-15T03:12:17.558Z] 114826534d7a: Pulling fs layer [2023-03-15T03:12:17.558Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T03:12:17.558Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T03:12:17.558Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T03:12:17.558Z] 114826534d7a: Waiting [2023-03-15T03:12:17.558Z] 4657fd5d0bcf: Waiting [2023-03-15T03:12:17.558Z] 8a3aa393b2d8: Waiting [2023-03-15T03:12:17.558Z] 6ad1cebc031e: Waiting [2023-03-15T03:12:17.558Z] 25bc292e5bac: Download complete [2023-03-15T03:12:17.558Z] 52dc419b0ee2: Download complete [2023-03-15T03:12:17.558Z] 4657fd5d0bcf: Verifying Checksum [2023-03-15T03:12:17.558Z] 4657fd5d0bcf: Download complete [2023-03-15T03:12:17.558Z] df9b9388f04a: Verifying Checksum [2023-03-15T03:12:17.558Z] df9b9388f04a: Download complete [2023-03-15T03:12:17.818Z] df9b9388f04a: Pull complete [2023-03-15T03:12:17.818Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T03:12:17.818Z] 6ad1cebc031e: Download complete [2023-03-15T03:12:17.818Z] 52dc419b0ee2: Pull complete [2023-03-15T03:12:18.077Z] 25bc292e5bac: Pull complete [2023-03-15T03:12:18.335Z] 114826534d7a: Verifying Checksum [2023-03-15T03:12:18.335Z] 114826534d7a: Download complete [2023-03-15T03:12:18.592Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T03:12:18.592Z] 8a3aa393b2d8: Download complete [2023-03-15T03:12:21.869Z] 114826534d7a: Pull complete [2023-03-15T03:12:21.869Z] 4657fd5d0bcf: Pull complete [2023-03-15T03:12:22.432Z] 6ad1cebc031e: Pull complete [2023-03-15T03:12:24.957Z] 8a3aa393b2d8: Pull complete [2023-03-15T03:12:24.957Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T03:12:24.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T03:12:24.957Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:25.027Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T03:12:25.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T03:12:28.552Z] $ docker top ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T03:12:28.612Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2023-03-15T03:12:28.889Z] + set -o pipefail [2023-03-15T03:12:28.889Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2023-03-15T03:12:34.159Z] [2023-03-15T03:12:34.159Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main... [2023-03-15T03:12:34.159Z] [2023-03-15T03:12:34.159Z] Server returned unexpected error for the monitor request. Status code: 503 [2023-03-15T03:12:34.159Z] [Pipeline] } [2023-03-15T03:12:34.433Z] $ docker stop --time=1 ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c [2023-03-15T03:12:37.181Z] $ docker rm -f --volumes ac1ee64747dd75b843cea6d6d2064b92db5a1e5277c479c441af6b65fd3f279c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T03:12:37.424Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-15T03:12:38.016Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2023-03-15T03:12:38.016Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T03:12:38.016Z] total 16 [2023-03-15T03:12:38.016Z] drwxr-xr-x 3 root root 4096 Mar 15 02:58 . [2023-03-15T03:12:38.016Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:58 .. [2023-03-15T03:12:38.016Z] drwxr-xr-x 2 root root 4096 Mar 15 02:58 cost [2023-03-15T03:12:38.016Z] -rw-r--r-- 1 root root 85 Mar 15 02:58 cost.csv [2023-03-15T03:12:38.016Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T03:12:38.016Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2023-03-15T03:12:38.016Z] total 16 [2023-03-15T03:12:38.016Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 02:58 . [2023-03-15T03:12:38.016Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 02:58 .. [2023-03-15T03:12:38.016Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 02:58 cost [2023-03-15T03:12:38.016Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 02:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:38.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:39.156Z] ---> package-listing.sh [2023-03-15T03:12:39.156Z] ++ facter osfamily [2023-03-15T03:12:39.156Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T03:12:39.414Z] + OS_FAMILY=debian [2023-03-15T03:12:39.414Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2023-03-15T03:12:39.414Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T03:12:39.414Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T03:12:39.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T03:12:39.414Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T03:12:39.414Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-03-15T03:12:39.414Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T03:12:39.414Z] + case "${OS_FAMILY}" in [2023-03-15T03:12:39.414Z] + dpkg -l [2023-03-15T03:12:39.414Z] + grep '^ii' [2023-03-15T03:12:39.414Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T03:12:39.414Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T03:12:39.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T03:12:39.414Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2023-03-15T03:12:39.414Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2023-03-15T03:12:39.414Z] + 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-03-15T03:12:39.425Z] 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-03-15T03:12:39.701Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T03:12:40.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T03:12:40.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T03:12:40.313Z] prd-ubuntu20.04-docker-8c-8g-333 does not seem to be running inside a container [2023-03-15T03:12:40.346Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T03:12:40.715Z] $ docker top 26397cd802b920b6463fc25a18dc147bb408de435d97a41defb42d8d4c2d9397 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T03:12:41.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T03:12:41.323Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T03:12:41.603Z] + ls /var/log/sa-host [2023-03-15T03:12:41.603Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T03:12:41.669Z] provisioning config files... [2023-03-15T03:12:41.676Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config17160041023380559073tmp [Pipeline] { [Pipeline] echo [2023-03-15T03:12:41.687Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:41.969Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T03:12:41.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:42.297Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T03:12:42.305Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:42.586Z] ---> sudo-logs.sh [2023-03-15T03:12:42.586Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T03:12:42.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:42.896Z] ---> job-cost.sh [2023-03-15T03:12:42.896Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:42.896Z] DEBUG: total: 0.2199999988079071 [2023-03-15T03:12:42.896Z] INFO: Retrieving Stack Cost... [2023-03-15T03:12:43.154Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T03:12:43.721Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T03:12:43.732Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T03:12:44.013Z] ---> logs-deploy.sh [2023-03-15T03:12:44.013Z] lf-activate-venv: SKIPPING [2023-03-15T03:12:44.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/95 [2023-03-15T03:12:44.013Z] INFO: archiving workspace using pattern(s): [2023-03-15T03:12:44.946Z] Archives upload complete. [2023-03-15T03:12:44.946Z] INFO: archiving logs to Nexus