Push event to branch napa Started by user Jin Lin Guan Rebuilds build #5 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 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-ssh17904113638981004209.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh14788087193366345129.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7082528109289901498.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh1494846430423872985.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh582106417099798173.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-819’ Running on prd-ubuntu20.04-docker-8c-8g-821 in /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 (napa) > 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 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 # timeout=10 Commit message: "Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1" > git rev-list --no-walk 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T04:55:31.386Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T04:55:31.458Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T04:55:31.484Z] ========================================================= [2024-05-27T04:55:31.484Z] EdgeX Global Pipelines Version Info [2024-05-27T04:55:31.484Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:55:32.207Z] ------------------- [2024-05-27T04:55:32.207Z] stable info: [2024-05-27T04:55:32.207Z] ------------------- [2024-05-27T04:55:32.207Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T04:55:32.207Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T04:55:32.207Z] Message: update stable to v1.0.259 [2024-05-27T04:55:32.776Z] ------------------- [2024-05-27T04:55:32.776Z] experimental info: [2024-05-27T04:55:32.776Z] ------------------- [2024-05-27T04:55:32.776Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T04:55:32.776Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T04:55:32.776Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T04:55:32.845Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-05-27T04:55:32.867Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-05-27T04:55:32.889Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T04:55:32.912Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T04:55:32.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T04:55:32.960Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T04:55:32.979Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T04:55:32.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-27T04:55:33.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T04:55:33.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T04:55:33.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T04:55:33.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-05-27T04:55:33.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T04:55:33.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T04:55:33.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T04:55:33.163Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T04:55:33.186Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T04:55:33.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T04:55:33.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T04:55:33.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T04:55:33.277Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-27T04:55:33.298Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-27T04:55:33.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T04:55:33.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T04:55:33.370Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T04:55:33.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T04:55:33.414Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T04:55:33.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-27T04:55:33.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-27T04:55:33.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-27T04:55:33.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-27T04:55:33.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a6fdf0 [Pipeline] echo [2024-05-27T04:55:33.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T04:55:33.609Z] provisioning config files... [2024-05-27T04:55:33.622Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config3034235401575257852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:55:33.959Z] ---> ****-login.sh [2024-05-27T04:55:33.959Z] nexus3.edgexfoundry.org:10001 [2024-05-27T04:55:34.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:34.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:34.219Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:34.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:34.219Z] [2024-05-27T04:55:34.219Z] Login Succeeded [2024-05-27T04:55:34.219Z] nexus3.edgexfoundry.org:10002 [2024-05-27T04:55:34.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:34.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:34.219Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:34.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:34.219Z] [2024-05-27T04:55:34.219Z] Login Succeeded [2024-05-27T04:55:34.219Z] nexus3.edgexfoundry.org:10003 [2024-05-27T04:55:34.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:34.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:34.480Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:34.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:34.480Z] [2024-05-27T04:55:34.480Z] Login Succeeded [2024-05-27T04:55:34.480Z] nexus3.edgexfoundry.org:10004 [2024-05-27T04:55:34.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:34.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:34.480Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:34.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:34.480Z] [2024-05-27T04:55:34.480Z] Login Succeeded [2024-05-27T04:55:34.480Z] ****.io [2024-05-27T04:55:34.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:34.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:34.739Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:34.739Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:34.739Z] [2024-05-27T04:55:34.739Z] Login Succeeded [2024-05-27T04:55:34.739Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T04:55:34.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T04:55:35.149Z] + git rev-list -1 --merges 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72~1..7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-27T04:55:35.171Z] -----------> git rev-list -1 --merges 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72~1..7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T04:55:35.171Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [false] [Pipeline] sh [2024-05-27T04:55:35.458Z] + git log --format=format:%s -1 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-27T04:55:35.470Z] ========================================================= [2024-05-27T04:55:35.470Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T04:55:35.470Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T04:55:35.800Z] + git log --format=format:%s -1 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] echo [2024-05-27T04:55:35.809Z] [semverPrep] GIT_COMMIT: 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72, Commit Message: Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1 [Pipeline] echo [2024-05-27T04:55:35.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T04:55:36.184Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T04:55:36.184Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T04:55:36.184Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T04:55:36.184Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T04:55:36.184Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-27T04:55:36.184Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-27T04:55:36.184Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:55:36.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T04:55:36.531Z] [2024-05-27T04:55:36.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:55:36.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T04:55:36.836Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T04:55:36.836Z] b85a868b505f: Pulling fs layer [2024-05-27T04:55:36.836Z] e2be974225ed: Pulling fs layer [2024-05-27T04:55:36.836Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T04:55:36.836Z] 988bab9f4d93: Pulling fs layer [2024-05-27T04:55:36.836Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T04:55:36.836Z] eaf3925da568: Pulling fs layer [2024-05-27T04:55:36.836Z] bab4dde63d76: Pulling fs layer [2024-05-27T04:55:36.836Z] 988bab9f4d93: Waiting [2024-05-27T04:55:36.836Z] eaf3925da568: Waiting [2024-05-27T04:55:36.836Z] bde34c3a00c8: Pulling fs layer [2024-05-27T04:55:36.836Z] b352a97aabf1: Pulling fs layer [2024-05-27T04:55:36.836Z] 1469e6f7b9e6: Waiting [2024-05-27T04:55:36.836Z] bab4dde63d76: Waiting [2024-05-27T04:55:36.836Z] bde34c3a00c8: Waiting [2024-05-27T04:55:36.836Z] 4872d77fe225: Pulling fs layer [2024-05-27T04:55:36.836Z] 5851b861e8e6: Pulling fs layer [2024-05-27T04:55:36.836Z] 5851b861e8e6: Waiting [2024-05-27T04:55:36.836Z] b352a97aabf1: Waiting [2024-05-27T04:55:36.836Z] e2be974225ed: Verifying Checksum [2024-05-27T04:55:36.836Z] e2be974225ed: Download complete [2024-05-27T04:55:36.836Z] 988bab9f4d93: Verifying Checksum [2024-05-27T04:55:36.836Z] 988bab9f4d93: Download complete [2024-05-27T04:55:37.097Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T04:55:37.097Z] 1469e6f7b9e6: Download complete [2024-05-27T04:55:37.097Z] eaf3925da568: Verifying Checksum [2024-05-27T04:55:37.097Z] eaf3925da568: Download complete [2024-05-27T04:55:37.356Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T04:55:37.356Z] 339a4e72a1f5: Download complete [2024-05-27T04:55:37.356Z] bde34c3a00c8: Verifying Checksum [2024-05-27T04:55:37.356Z] bde34c3a00c8: Download complete [2024-05-27T04:55:37.356Z] b352a97aabf1: Verifying Checksum [2024-05-27T04:55:37.356Z] b352a97aabf1: Download complete [2024-05-27T04:55:37.615Z] 4872d77fe225: Verifying Checksum [2024-05-27T04:55:37.615Z] 4872d77fe225: Download complete [2024-05-27T04:55:37.615Z] 5851b861e8e6: Verifying Checksum [2024-05-27T04:55:37.615Z] 5851b861e8e6: Download complete [2024-05-27T04:55:37.875Z] b85a868b505f: Verifying Checksum [2024-05-27T04:55:37.875Z] b85a868b505f: Download complete [2024-05-27T04:55:37.875Z] bab4dde63d76: Verifying Checksum [2024-05-27T04:55:37.875Z] bab4dde63d76: Download complete [2024-05-27T04:55:38.808Z] b85a868b505f: Pull complete [2024-05-27T04:55:39.064Z] e2be974225ed: Pull complete [2024-05-27T04:55:39.322Z] 339a4e72a1f5: Pull complete [2024-05-27T04:55:39.581Z] 988bab9f4d93: Pull complete [2024-05-27T04:55:39.581Z] 1469e6f7b9e6: Pull complete [2024-05-27T04:55:39.839Z] eaf3925da568: Pull complete [2024-05-27T04:55:41.210Z] bab4dde63d76: Pull complete [2024-05-27T04:55:41.469Z] bde34c3a00c8: Pull complete [2024-05-27T04:55:41.469Z] b352a97aabf1: Pull complete [2024-05-27T04:55:41.469Z] 4872d77fe225: Pull complete [2024-05-27T04:55:41.728Z] 5851b861e8e6: Pull complete [2024-05-27T04:55:41.728Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T04:55:41.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T04:55:41.728Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T04:55:41.859Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T04:55:41.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-27T04:55:44.573Z] $ docker top 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 -eo pid,comm [2024-05-27T04:55:44.669Z] 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). [2024-05-27T04:55:44.669Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T04:55:44.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T04:55:44.718Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T04:55:44.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T04:55:44.836Z] $ docker exec 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 ssh-agent [2024-05-27T04:55:44.946Z] SSH_AUTH_SOCK=/tmp/ssh-kSrRDs1VgMQl/agent.32 [2024-05-27T04:55:44.946Z] SSH_AGENT_PID=38 [2024-05-27T04:55:44.951Z] Running ssh-add (command line suppressed) [2024-05-27T04:55:45.042Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_12806070326917196306.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_12806070326917196306.key) [2024-05-27T04:55:45.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T04:55:45.338Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T04:55:45.353Z] $ docker exec --env ******** --env ******** 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 ssh-agent -k [2024-05-27T04:55:45.444Z] unset SSH_AUTH_SOCK; [2024-05-27T04:55:45.444Z] unset SSH_AGENT_PID; [2024-05-27T04:55:45.444Z] echo Agent pid 38 killed; [2024-05-27T04:55:45.450Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T04:55:45.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T04:55:45.494Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T04:55:45.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T04:55:45.600Z] $ docker exec 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 ssh-agent [2024-05-27T04:55:45.694Z] SSH_AUTH_SOCK=/tmp/ssh-UqOyK0RRQZRU/agent.71 [2024-05-27T04:55:45.695Z] SSH_AGENT_PID=77 [2024-05-27T04:55:45.698Z] Running ssh-add (command line suppressed) [2024-05-27T04:55:45.792Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_9097637898154310597.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_9097637898154310597.key) [2024-05-27T04:55:45.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T04:55:46.090Z] + git semver init [2024-05-27T04:55:46.348Z] 2024-05-27 04:55:46,277 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T04:55:46.348Z] 2024-05-27 04:55:46,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-27T04:55:46.348Z] 2024-05-27 04:55:46,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-27T04:55:46.348Z] 2024-05-27 04:55:46,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-27T04:55:47.726Z] 2024-05-27 04:55:47,697 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude [2024-05-27T04:55:47.726Z] 2024-05-27 04:55:47,697 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False [2024-05-27T04:55:47.726Z] 2024-05-27 04:55:47,698 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-27T04:55:47.726Z] 2024-05-27 04:55:47,698 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-27T04:55:47.726Z] 3.1.1-dev.1 [Pipeline] } [2024-05-27T04:55:47.738Z] $ docker exec --env ******** --env ******** 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 ssh-agent -k [2024-05-27T04:55:47.833Z] unset SSH_AUTH_SOCK; [2024-05-27T04:55:47.833Z] unset SSH_AGENT_PID; [2024-05-27T04:55:47.833Z] echo Agent pid 77 killed; [2024-05-27T04:55:47.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T04:55:48.153Z] + git semver [Pipeline] } [2024-05-27T04:55:48.427Z] $ docker stop --time=1 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 [2024-05-27T04:55:49.725Z] $ docker rm -f --volumes 00a49d78eb5468d88239b14a58f0f73176f8f5246cfd2924c745c3992d0ad769 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T04:55:50.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T04:55:50.291Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T04:55:50.295Z] [edgeXSemver]: initialized semver on version 3.1.1-dev.1 [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 [2024-05-27T04:55:50.470Z] provisioning config files... [2024-05-27T04:55:50.479Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config10839426232798162255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:55:50.773Z] ---> ****-login.sh [2024-05-27T04:55:50.773Z] nexus3.edgexfoundry.org:10001 [2024-05-27T04:55:50.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:50.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:50.774Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:50.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:50.774Z] [2024-05-27T04:55:50.774Z] Login Succeeded [2024-05-27T04:55:50.774Z] nexus3.edgexfoundry.org:10002 [2024-05-27T04:55:50.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:50.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:50.774Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:50.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:50.774Z] [2024-05-27T04:55:50.774Z] Login Succeeded [2024-05-27T04:55:50.774Z] nexus3.edgexfoundry.org:10003 [2024-05-27T04:55:51.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:51.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:51.032Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:51.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:51.032Z] [2024-05-27T04:55:51.032Z] Login Succeeded [2024-05-27T04:55:51.032Z] nexus3.edgexfoundry.org:10004 [2024-05-27T04:55:51.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:51.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:51.032Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:51.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:51.032Z] [2024-05-27T04:55:51.032Z] Login Succeeded [2024-05-27T04:55:51.032Z] ****.io [2024-05-27T04:55:51.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:55:51.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:55:51.292Z] Configure a credential helper to remove this warning. See [2024-05-27T04:55:51.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:55:51.292Z] [2024-05-27T04:55:51.292Z] Login Succeeded [2024-05-27T04:55:51.292Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T04:55:51.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T04:55:51.381Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T04:55:51.671Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-27T04:55:51.671Z] + cut -d -f 2 [Pipeline] echo [2024-05-27T04:55:51.686Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T04:55:51.704Z] ========================================================= [2024-05-27T04:55:51.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-27T04:55:51.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:55:52.044Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T04:55:52.303Z] Sending build context to Docker daemon 48.68MB [2024-05-27T04:55:52.303Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T04:55:52.303Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-27T04:55:52.303Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-27T04:55:52.303Z] 619be1103602: Pulling fs layer [2024-05-27T04:55:52.303Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T04:55:52.303Z] 5df492c9dc93: Pulling fs layer [2024-05-27T04:55:52.303Z] 7629e6793208: Pulling fs layer [2024-05-27T04:55:52.303Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T04:55:52.303Z] 8de7f028bff5: Pulling fs layer [2024-05-27T04:55:52.303Z] 44042ff1420b: Pulling fs layer [2024-05-27T04:55:52.303Z] 5cdaf54b7214: Pulling fs layer [2024-05-27T04:55:52.303Z] 38f3e5a9071a: Pulling fs layer [2024-05-27T04:55:52.303Z] 7629e6793208: Waiting [2024-05-27T04:55:52.303Z] 4f4fb700ef54: Waiting [2024-05-27T04:55:52.303Z] 44042ff1420b: Waiting [2024-05-27T04:55:52.303Z] 8de7f028bff5: Waiting [2024-05-27T04:55:52.303Z] 5cdaf54b7214: Waiting [2024-05-27T04:55:52.303Z] 38f3e5a9071a: Waiting [2024-05-27T04:55:52.561Z] 7862e08f4a3e: Verifying Checksum [2024-05-27T04:55:52.561Z] 7862e08f4a3e: Download complete [2024-05-27T04:55:52.561Z] 7629e6793208: Verifying Checksum [2024-05-27T04:55:52.561Z] 7629e6793208: Download complete [2024-05-27T04:55:52.561Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T04:55:52.561Z] 4f4fb700ef54: Download complete [2024-05-27T04:55:52.561Z] 8de7f028bff5: Verifying Checksum [2024-05-27T04:55:52.561Z] 8de7f028bff5: Download complete [2024-05-27T04:55:52.561Z] 619be1103602: Verifying Checksum [2024-05-27T04:55:52.561Z] 619be1103602: Download complete [2024-05-27T04:55:52.561Z] 44042ff1420b: Verifying Checksum [2024-05-27T04:55:52.561Z] 44042ff1420b: Download complete [2024-05-27T04:55:52.820Z] 619be1103602: Pull complete [2024-05-27T04:55:52.820Z] 7862e08f4a3e: Pull complete [2024-05-27T04:55:53.388Z] 38f3e5a9071a: Verifying Checksum [2024-05-27T04:55:53.388Z] 38f3e5a9071a: Download complete [2024-05-27T04:55:55.288Z] 5df492c9dc93: Verifying Checksum [2024-05-27T04:55:55.288Z] 5df492c9dc93: Download complete [2024-05-27T04:55:55.855Z] 5cdaf54b7214: Verifying Checksum [2024-05-27T04:55:55.855Z] 5cdaf54b7214: Download complete [2024-05-27T04:55:58.381Z] 5df492c9dc93: Pull complete [2024-05-27T04:55:58.381Z] 7629e6793208: Pull complete [2024-05-27T04:55:58.381Z] 4f4fb700ef54: Pull complete [2024-05-27T04:55:58.381Z] 8de7f028bff5: Pull complete [2024-05-27T04:55:58.381Z] 44042ff1420b: Pull complete [2024-05-27T04:56:00.910Z] 5cdaf54b7214: Pull complete [2024-05-27T04:56:00.910Z] 38f3e5a9071a: Pull complete [2024-05-27T04:56:00.910Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-27T04:56:00.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-27T04:56:00.910Z] ---> 60b93f829570 [2024-05-27T04:56:00.910Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-27T04:56:05.107Z] ---> Running in fd3c586ebc54 [2024-05-27T04:56:05.107Z] Removing intermediate container fd3c586ebc54 [2024-05-27T04:56:05.107Z] ---> 17510c77f436 [2024-05-27T04:56:05.107Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T04:56:05.107Z] ---> Running in f306dad39765 [2024-05-27T04:56:05.107Z] Removing intermediate container f306dad39765 [2024-05-27T04:56:05.107Z] ---> 8a36f4b41bfe [2024-05-27T04:56:05.107Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-27T04:56:05.107Z] ---> Running in 3c3171220d8e [2024-05-27T04:56:05.107Z] Removing intermediate container 3c3171220d8e [2024-05-27T04:56:05.107Z] ---> cba91e42b5af [2024-05-27T04:56:05.107Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T04:56:05.107Z] ---> Running in 182636af88dc [2024-05-27T04:56:05.366Z] Removing intermediate container 182636af88dc [2024-05-27T04:56:05.366Z] ---> 33f9b482583a [2024-05-27T04:56:05.366Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T04:56:05.366Z] ---> Running in b276de56da40 [2024-05-27T04:56:05.419Z] Still waiting to schedule task [2024-05-27T04:56:05.419Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-820’ [2024-05-27T04:56:05.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T04:56:05.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T04:56:05.884Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-27T04:56:05.884Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-27T04:56:06.143Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-27T04:56:06.143Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-27T04:56:06.143Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T04:56:06.143Z] OK: 268 MiB in 56 packages [2024-05-27T04:56:06.401Z] Removing intermediate container b276de56da40 [2024-05-27T04:56:06.401Z] ---> d73e2be114f9 [2024-05-27T04:56:06.401Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-27T04:56:06.401Z] ---> Running in 2043533c20bd [2024-05-27T04:56:06.660Z] Removing intermediate container 2043533c20bd [2024-05-27T04:56:06.660Z] ---> 0563bc61d980 [2024-05-27T04:56:06.660Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-27T04:56:08.035Z] ---> 564f80f8540c [2024-05-27T04:56:08.035Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T04:56:08.035Z] ---> Running in abf9c1845503 [2024-05-27T04:56:40.188Z] Removing intermediate container abf9c1845503 [2024-05-27T04:56:40.188Z] ---> 933c81457f56 [2024-05-27T04:56:40.188Z] Step 11/12 : COPY . . [2024-05-27T04:56:40.188Z] ---> b91a400ea8d4 [2024-05-27T04:56:40.188Z] Step 12/12 : RUN $MAKE [2024-05-27T04:56:40.188Z] ---> Running in cd24995f82ae [2024-05-27T04:56:40.188Z] noop [2024-05-27T04:56:40.188Z] Removing intermediate container cd24995f82ae [2024-05-27T04:56:40.188Z] ---> 869f314b3059 [2024-05-27T04:56:40.188Z] Successfully built 869f314b3059 [2024-05-27T04:56:40.188Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:56:40.507Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T04:56:40.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T04:56:40.582Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T04:56:40.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T04:56:40.960Z] $ docker top c1daad38c869c91e121ea225a9333f028c2046bea8a054befe626ec750155a2f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T04:56:41.463Z] + go version [2024-05-27T04:56:41.463Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T04:56:41.476Z] $ docker stop --time=1 c1daad38c869c91e121ea225a9333f028c2046bea8a054befe626ec750155a2f [2024-05-27T04:56:42.741Z] $ docker rm -f --volumes c1daad38c869c91e121ea225a9333f028c2046bea8a054befe626ec750155a2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:56:43.192Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T04:56:43.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T04:56:43.269Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T04:56:43.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-27T04:56:43.625Z] $ docker top a01cfa5d2ccded4e4cc0c8f7e821947e428a81bce1887934615636d430c7f0c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T04:56:43.972Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-27T04:56:44.269Z] + make test [2024-05-27T04:56:44.269Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T04:56:45.204Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-27T04:56:55.166Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-27T04:56:55.166Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-27T04:56:55.166Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements [2024-05-27T04:57:01.726Z] go vet ./... [2024-05-27T04:57:04.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T04:57:04.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T04:57:04.260Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T04:57:04.534Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T04:57:04.838Z] + go mod tidy [Pipeline] } [2024-05-27T04:57:05.112Z] $ docker stop --time=1 a01cfa5d2ccded4e4cc0c8f7e821947e428a81bce1887934615636d430c7f0c3 [2024-05-27T04:57:08.231Z] $ docker rm -f --volumes a01cfa5d2ccded4e4cc0c8f7e821947e428a81bce1887934615636d430c7f0c3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T04:57:08.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T04:57:08.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T04:57:09.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T04:57:09.614Z] + ls -al . [2024-05-27T04:57:09.614Z] total 188 [2024-05-27T04:57:09.614Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 04:56 . [2024-05-27T04:57:09.614Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:55 .. [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:55 .dockerignore [2024-05-27T04:57:09.614Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:56 .git [2024-05-27T04:57:09.614Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:55 .github [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 256 May 27 04:55 .gitignore [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:55 .golangci.yml [2024-05-27T04:57:09.614Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:55 .semver [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 27 04:55 Attribution.txt [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 27 04:55 CHANGELOG.md [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 27 04:55 Dockerfile [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:55 GOVERNANCE.md [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 657 May 27 04:55 Jenkinsfile [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:55 LICENSE [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 27 04:55 Makefile [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 620 May 27 04:55 OWNERS.md [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 27 04:55 README.md [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 04:55 VERSION [2024-05-27T04:57:09.614Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:55 bin [2024-05-27T04:57:09.614Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:55 cmd [2024-05-27T04:57:09.614Z] -rw-r--r-- 1 jenkins jenkins 18506 May 27 04:56 coverage.out [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 27 04:55 go.mod [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 27 04:55 go.sum [2024-05-27T04:57:09.614Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:55 internal [2024-05-27T04:57:09.614Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:55 mock [2024-05-27T04:57:09.614Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 04:55 vendor [2024-05-27T04:57:09.614Z] -rw-rw-r-- 1 jenkins jenkins 227 May 27 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:09.941Z] + 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=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 --label arch=amd64 --label version=3.1.1-dev.1 . [2024-05-27T04:57:10.200Z] Sending build context to Docker daemon 48.69MB [2024-05-27T04:57:10.200Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T04:57:10.200Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-27T04:57:10.200Z] ---> 869f314b3059 [2024-05-27T04:57:10.200Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-27T04:57:10.766Z] ---> Running in ca53b1902b80 [2024-05-27T04:57:10.766Z] Removing intermediate container ca53b1902b80 [2024-05-27T04:57:10.766Z] ---> 6a0626ecc4e8 [2024-05-27T04:57:10.766Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T04:57:10.766Z] ---> Running in 4937b2274ad5 [2024-05-27T04:57:10.766Z] Removing intermediate container 4937b2274ad5 [2024-05-27T04:57:10.766Z] ---> a00d48cf2985 [2024-05-27T04:57:10.766Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-27T04:57:10.766Z] ---> Running in 8d41d8075db8 [2024-05-27T04:57:11.024Z] Removing intermediate container 8d41d8075db8 [2024-05-27T04:57:11.024Z] ---> 8483893fed82 [2024-05-27T04:57:11.024Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T04:57:11.024Z] ---> Running in 3f6a27e85267 [2024-05-27T04:57:11.024Z] Removing intermediate container 3f6a27e85267 [2024-05-27T04:57:11.024Z] ---> 654862f774a4 [2024-05-27T04:57:11.024Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T04:57:11.024Z] ---> Running in f55ca2d02c32 [2024-05-27T04:57:11.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:11.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:11.801Z] OK: 268 MiB in 56 packages [2024-05-27T04:57:12.060Z] Removing intermediate container f55ca2d02c32 [2024-05-27T04:57:12.060Z] ---> d94b58d6b05a [2024-05-27T04:57:12.060Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-27T04:57:12.060Z] ---> Running in 3b9502858026 [2024-05-27T04:57:12.060Z] Removing intermediate container 3b9502858026 [2024-05-27T04:57:12.060Z] ---> 00f520d08eea [2024-05-27T04:57:12.060Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-27T04:57:13.963Z] ---> 29da5c34b139 [2024-05-27T04:57:13.963Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T04:57:13.963Z] ---> Running in 70c571257b48 [2024-05-27T04:57:13.963Z] skipping... [2024-05-27T04:57:14.221Z] Removing intermediate container 70c571257b48 [2024-05-27T04:57:14.222Z] ---> b043a5fc470f [2024-05-27T04:57:14.222Z] Step 11/25 : COPY . . [2024-05-27T04:57:16.748Z] ---> 7a70815e5a0c [2024-05-27T04:57:16.748Z] Step 12/25 : RUN $MAKE [2024-05-27T04:57:16.748Z] ---> Running in 6bdfc7c8edd2 [2024-05-27T04:57:16.748Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-27T04:57:38.676Z] Removing intermediate container 6bdfc7c8edd2 [2024-05-27T04:57:38.676Z] ---> 74f48babc78d [2024-05-27T04:57:38.676Z] Step 13/25 : FROM alpine:3.18 [2024-05-27T04:57:38.676Z] 3.18: Pulling from library/alpine [2024-05-27T04:57:38.676Z] 619be1103602: Already exists [2024-05-27T04:57:38.676Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T04:57:38.676Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T04:57:38.676Z] ---> d3782b16ccc9 [2024-05-27T04:57:38.676Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-27T04:57:38.676Z] ---> Running in 5fbadf58939f [2024-05-27T04:57:38.676Z] Removing intermediate container 5fbadf58939f [2024-05-27T04:57:38.676Z] ---> 6b7e774bf92d [2024-05-27T04:57:38.676Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-27T04:57:38.676Z] ---> Running in 2d8ff833917b [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T04:57:38.676Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T04:57:38.676Z] OK: 7 MiB in 16 packages [2024-05-27T04:57:38.676Z] Removing intermediate container 2d8ff833917b [2024-05-27T04:57:38.676Z] ---> e57d46a31fa4 [2024-05-27T04:57:38.676Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-27T04:57:38.676Z] ---> Running in 0c2db9d1463a [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] Upgrading critical system libraries and apk-tools: [2024-05-27T04:57:38.676Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T04:57:38.676Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T04:57:38.676Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T04:57:38.676Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T04:57:38.676Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T04:57:38.676Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T04:57:38.676Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T04:57:38.676Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T04:57:38.676Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T04:57:38.676Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T04:57:38.676Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T04:57:38.676Z] OK: 7 MiB in 16 packages [2024-05-27T04:57:38.676Z] Removing intermediate container 0c2db9d1463a [2024-05-27T04:57:38.676Z] ---> 704079b2f58c [2024-05-27T04:57:38.676Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-27T04:57:38.937Z] ---> 24f6c95c06ac [2024-05-27T04:57:38.937Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-27T04:57:39.195Z] ---> 1887b5bd26b7 [2024-05-27T04:57:39.195Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-27T04:57:39.195Z] ---> ad8bfcf648f6 [2024-05-27T04:57:39.195Z] Step 20/25 : EXPOSE 59982 [2024-05-27T04:57:39.195Z] ---> Running in a573ad4c5927 [2024-05-27T04:57:39.454Z] Removing intermediate container a573ad4c5927 [2024-05-27T04:57:39.454Z] ---> ca83ecab54b2 [2024-05-27T04:57:39.454Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-27T04:57:39.454Z] ---> Running in b8d0d1d93f9a [2024-05-27T04:57:39.454Z] Removing intermediate container b8d0d1d93f9a [2024-05-27T04:57:39.454Z] ---> 66bfeb892de8 [2024-05-27T04:57:39.454Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-27T04:57:39.454Z] ---> Running in 5cef695f9530 [2024-05-27T04:57:39.454Z] Removing intermediate container 5cef695f9530 [2024-05-27T04:57:39.454Z] ---> aca8b5ae1a0b [2024-05-27T04:57:39.454Z] Step 23/25 : LABEL arch=amd64 [2024-05-27T04:57:39.454Z] ---> Running in dd2a2f751d96 [2024-05-27T04:57:39.713Z] Removing intermediate container dd2a2f751d96 [2024-05-27T04:57:39.713Z] ---> 35b3502c65a1 [2024-05-27T04:57:39.713Z] Step 24/25 : LABEL git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T04:57:39.713Z] ---> Running in e9fd9cdc501f [2024-05-27T04:57:39.713Z] Removing intermediate container e9fd9cdc501f [2024-05-27T04:57:39.713Z] ---> 0f36844e9d27 [2024-05-27T04:57:39.713Z] Step 25/25 : LABEL version=3.1.1-dev.1 [2024-05-27T04:57:39.713Z] ---> Running in db8321912c99 [2024-05-27T04:57:39.713Z] Removing intermediate container db8321912c99 [2024-05-27T04:57:39.713Z] ---> 58473a52347e [2024-05-27T04:57:39.713Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T04:57:39.713Z] Successfully built 58473a52347e [2024-05-27T04:57:39.713Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T04:57:39.839Z] provisioning config files... [2024-05-27T04:57:39.848Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6315774557880215325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:57:40.152Z] ---> ****-login.sh [2024-05-27T04:57:40.152Z] nexus3.edgexfoundry.org:10001 [2024-05-27T04:57:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:57:40.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:57:40.152Z] Configure a credential helper to remove this warning. See [2024-05-27T04:57:40.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:57:40.152Z] [2024-05-27T04:57:40.152Z] Login Succeeded [2024-05-27T04:57:40.152Z] nexus3.edgexfoundry.org:10002 [2024-05-27T04:57:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:57:40.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:57:40.152Z] Configure a credential helper to remove this warning. See [2024-05-27T04:57:40.152Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:57:40.152Z] [2024-05-27T04:57:40.152Z] Login Succeeded [2024-05-27T04:57:40.152Z] nexus3.edgexfoundry.org:10003 [2024-05-27T04:57:40.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:57:40.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:57:40.411Z] Configure a credential helper to remove this warning. See [2024-05-27T04:57:40.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:57:40.411Z] [2024-05-27T04:57:40.411Z] Login Succeeded [2024-05-27T04:57:40.411Z] nexus3.edgexfoundry.org:10004 [2024-05-27T04:57:40.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:57:40.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:57:40.411Z] Configure a credential helper to remove this warning. See [2024-05-27T04:57:40.411Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:57:40.411Z] [2024-05-27T04:57:40.411Z] Login Succeeded [2024-05-27T04:57:40.411Z] ****.io [2024-05-27T04:57:40.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:57:40.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:57:40.671Z] Configure a credential helper to remove this warning. See [2024-05-27T04:57:40.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:57:40.671Z] [2024-05-27T04:57:40.671Z] Login Succeeded [2024-05-27T04:57:40.671Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T04:57:40.678Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T04:57:40.738Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T04:57:40.772Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2024-05-27T04:57:40.772Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T04:57:40.772Z] 3.1.1-dev.1 [2024-05-27T04:57:40.772Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T04:57:40.772Z] napa [2024-05-27T04:57:40.772Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:41.128Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:41.447Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T04:57:41.447Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-27T04:57:41.447Z] 35eb20d4067d: Preparing [2024-05-27T04:57:41.447Z] 7deda2a92861: Preparing [2024-05-27T04:57:41.447Z] 5f3b023070ff: Preparing [2024-05-27T04:57:41.447Z] ab16753be8c0: Preparing [2024-05-27T04:57:41.447Z] 3a075521eec6: Preparing [2024-05-27T04:57:41.447Z] aedc3bda2944: Preparing [2024-05-27T04:57:41.447Z] aedc3bda2944: Waiting [2024-05-27T04:57:41.447Z] 35eb20d4067d: Pushed [2024-05-27T04:57:41.447Z] 3a075521eec6: Pushed [2024-05-27T04:57:41.447Z] 7deda2a92861: Pushed [2024-05-27T04:57:41.447Z] aedc3bda2944: Layer already exists [2024-05-27T04:57:42.384Z] ab16753be8c0: Pushed [2024-05-27T04:57:44.283Z] 5f3b023070ff: Pushed [2024-05-27T04:57:44.283Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72: digest: sha256:1b729903db93619895014923cec82050fad0e66013b21682e247086d21f9c421 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:44.600Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:44.918Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [2024-05-27T04:57:44.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-27T04:57:44.918Z] 35eb20d4067d: Preparing [2024-05-27T04:57:44.918Z] 7deda2a92861: Preparing [2024-05-27T04:57:44.918Z] 5f3b023070ff: Preparing [2024-05-27T04:57:44.918Z] ab16753be8c0: Preparing [2024-05-27T04:57:44.918Z] 3a075521eec6: Preparing [2024-05-27T04:57:44.918Z] aedc3bda2944: Preparing [2024-05-27T04:57:44.918Z] 7deda2a92861: Layer already exists [2024-05-27T04:57:44.918Z] 5f3b023070ff: Layer already exists [2024-05-27T04:57:44.918Z] 35eb20d4067d: Layer already exists [2024-05-27T04:57:44.918Z] ab16753be8c0: Layer already exists [2024-05-27T04:57:44.918Z] aedc3bda2944: Layer already exists [2024-05-27T04:57:44.918Z] 3a075521eec6: Layer already exists [2024-05-27T04:57:44.918Z] 3.1.1-dev.1: digest: sha256:1b729903db93619895014923cec82050fad0e66013b21682e247086d21f9c421 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:45.244Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:45.569Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T04:57:45.569Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-27T04:57:45.569Z] 35eb20d4067d: Preparing [2024-05-27T04:57:45.569Z] 7deda2a92861: Preparing [2024-05-27T04:57:45.569Z] 5f3b023070ff: Preparing [2024-05-27T04:57:45.569Z] ab16753be8c0: Preparing [2024-05-27T04:57:45.569Z] 3a075521eec6: Preparing [2024-05-27T04:57:45.569Z] aedc3bda2944: Preparing [2024-05-27T04:57:45.569Z] aedc3bda2944: Waiting [2024-05-27T04:57:45.569Z] 35eb20d4067d: Layer already exists [2024-05-27T04:57:45.569Z] 5f3b023070ff: Layer already exists [2024-05-27T04:57:45.569Z] 3a075521eec6: Layer already exists [2024-05-27T04:57:45.569Z] 7deda2a92861: Layer already exists [2024-05-27T04:57:45.569Z] ab16753be8c0: Layer already exists [2024-05-27T04:57:45.569Z] aedc3bda2944: Layer already exists [2024-05-27T04:57:45.569Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1: digest: sha256:1b729903db93619895014923cec82050fad0e66013b21682e247086d21f9c421 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:45.890Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:46.208Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa [2024-05-27T04:57:46.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-27T04:57:46.208Z] 35eb20d4067d: Preparing [2024-05-27T04:57:46.208Z] 7deda2a92861: Preparing [2024-05-27T04:57:46.208Z] 5f3b023070ff: Preparing [2024-05-27T04:57:46.208Z] ab16753be8c0: Preparing [2024-05-27T04:57:46.208Z] 3a075521eec6: Preparing [2024-05-27T04:57:46.208Z] aedc3bda2944: Preparing [2024-05-27T04:57:46.208Z] aedc3bda2944: Waiting [2024-05-27T04:57:46.208Z] ab16753be8c0: Layer already exists [2024-05-27T04:57:46.208Z] 7deda2a92861: Layer already exists [2024-05-27T04:57:46.208Z] 5f3b023070ff: Layer already exists [2024-05-27T04:57:46.208Z] 35eb20d4067d: Layer already exists [2024-05-27T04:57:46.208Z] 3a075521eec6: Layer already exists [2024-05-27T04:57:46.208Z] aedc3bda2944: Layer already exists [2024-05-27T04:57:46.208Z] napa: digest: sha256:1b729903db93619895014923cec82050fad0e66013b21682e247086d21f9c421 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T04:57:46.284Z] ===================================================== [Pipeline] echo [2024-05-27T04:57:46.300Z] taggedImages: [2024-05-27T04:57:46.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T04:57:46.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1-dev.1 [2024-05-27T04:57:46.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T04:57:46.300Z] - nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:46.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T04:57:46.708Z] [2024-05-27T04:57:46.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:57:47.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T04:57:47.010Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T04:57:47.010Z] 5eb5b503b376: Pulling fs layer [2024-05-27T04:57:47.010Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T04:57:47.010Z] ec43610c2a17: Pulling fs layer [2024-05-27T04:57:47.010Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T04:57:47.010Z] 33b1e0a273af: Pulling fs layer [2024-05-27T04:57:47.010Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T04:57:47.010Z] 2f39f015ded8: Pulling fs layer [2024-05-27T04:57:47.010Z] 33b1e0a273af: Waiting [2024-05-27T04:57:47.010Z] 5d3b04190fa2: Waiting [2024-05-27T04:57:47.010Z] 2f39f015ded8: Waiting [2024-05-27T04:57:47.010Z] 3a2ae6a8a46f: Waiting [2024-05-27T04:57:47.268Z] 5c69ac0246d0: Download complete [2024-05-27T04:57:47.268Z] 3a2ae6a8a46f: Download complete [2024-05-27T04:57:47.268Z] 33b1e0a273af: Verifying Checksum [2024-05-27T04:57:47.268Z] 33b1e0a273af: Download complete [2024-05-27T04:57:47.268Z] 5d3b04190fa2: Download complete [2024-05-27T04:57:47.526Z] ec43610c2a17: Verifying Checksum [2024-05-27T04:57:47.526Z] ec43610c2a17: Download complete [2024-05-27T04:57:48.462Z] 5eb5b503b376: Verifying Checksum [2024-05-27T04:57:48.462Z] 5eb5b503b376: Download complete [2024-05-27T04:57:49.396Z] 5eb5b503b376: Pull complete [2024-05-27T04:57:49.654Z] 5c69ac0246d0: Pull complete [2024-05-27T04:57:49.912Z] ec43610c2a17: Pull complete [2024-05-27T04:57:50.172Z] 3a2ae6a8a46f: Pull complete [2024-05-27T04:57:50.430Z] 2f39f015ded8: Verifying Checksum [2024-05-27T04:57:50.430Z] 2f39f015ded8: Download complete [2024-05-27T04:57:50.430Z] 33b1e0a273af: Pull complete [2024-05-27T04:57:50.430Z] 5d3b04190fa2: Pull complete [2024-05-27T04:57:54.610Z] 2f39f015ded8: Pull complete [2024-05-27T04:57:54.610Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T04:57:54.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T04:57:54.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T04:57:54.706Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T04:57:54.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T04:57:58.085Z] $ docker top ec55320a154ec3651e41941ac128eb7a204b7850fe8fdbfd7c649508569e02cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:57:58.464Z] ---> job-cost.sh [2024-05-27T04:57:58.464Z] lf-activate-venv: SKIPPING [2024-05-27T04:57:58.464Z] INFO: No Stack... [2024-05-27T04:57:58.723Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T04:57:58.981Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T04:57:59.265Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv [2024-05-27T04:57:59.265Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T04:57:59.277Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [2024-05-27T04:57:59.286Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] did not exist. Created. [2024-05-27T04:57:59.293Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T04:57:59.601Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T04:57:59.709Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T04:57:59.719Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T04:57:59.747Z] $ docker stop --time=1 ec55320a154ec3651e41941ac128eb7a204b7850fe8fdbfd7c649508569e02cd [2024-05-27T04:58:00.887Z] $ docker rm -f --volumes ec55320a154ec3651e41941ac128eb7a204b7850fe8fdbfd7c649508569e02cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-27T04:58:59.079Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-822 in /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] { [Pipeline] ws [2024-05-27T04:58:59.096Z] Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout [2024-05-27T04:58:59.139Z] The recommended git tool is: git [2024-05-27T04:59:04.189Z] using credential edgex-jenkins-ssh [2024-05-27T04:59:04.219Z] Cloning the remote Git repository [2024-05-27T04:59:04.276Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-27T04:59:04.391Z] > git init /w/workspace/device-mqtt-go/6 # timeout=10 [2024-05-27T04:59:04.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-27T04:59:04.554Z] > git --version # timeout=10 [2024-05-27T04:59:04.587Z] > git --version # 'git version 2.25.1' [2024-05-27T04:59:04.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T04:59:04.764Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T04:59:08.076Z] Avoid second fetch [2024-05-27T04:59:08.076Z] Checking out Revision 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 (napa) [2024-05-27T04:59:07.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-05-27T04:59:07.150Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T04:59:08.099Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T04:59:08.175Z] > git checkout -f 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 # timeout=10 [2024-05-27T04:59:09.623Z] Commit message: "Merge pull request #673 from cloudxxx8/bump-sdk-3.1.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T04:59:14.386Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T04:59:14.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T04:59:14.386Z] Dload Upload Total Spent Left Speed [2024-05-27T04:59:14.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2024-05-27T04:59:14.731Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T04:59:15.076Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-27T04:59:15.076Z] + sudo tee /etc/docker/daemon.new [2024-05-27T04:59:15.076Z] { [2024-05-27T04:59:15.076Z] "registry-mirrors": [ [2024-05-27T04:59:15.076Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T04:59:15.076Z] ], [2024-05-27T04:59:15.076Z] "bip": "10.250.0.254/24", [2024-05-27T04:59:15.076Z] "hosts": [ [2024-05-27T04:59:15.076Z] "tcp://0.0.0.0:5555", [2024-05-27T04:59:15.076Z] "unix:///var/run/docker.sock" [2024-05-27T04:59:15.076Z] ], [2024-05-27T04:59:15.076Z] "mtu": 1458, [2024-05-27T04:59:15.076Z] "selinux-enabled": true, [2024-05-27T04:59:15.076Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T04:59:15.076Z] } [Pipeline] sh [2024-05-27T04:59:15.419Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T04:59:15.752Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T04:59:34.051Z] provisioning config files... [2024-05-27T04:59:34.081Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config5089285722828983398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T04:59:34.557Z] ---> ****-login.sh [2024-05-27T04:59:34.557Z] nexus3.edgexfoundry.org:10001 [2024-05-27T04:59:35.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:59:36.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:59:36.129Z] Configure a credential helper to remove this warning. See [2024-05-27T04:59:36.129Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:59:36.129Z] [2024-05-27T04:59:36.129Z] Login Succeeded [2024-05-27T04:59:36.130Z] nexus3.edgexfoundry.org:10002 [2024-05-27T04:59:36.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:59:37.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:59:37.367Z] Configure a credential helper to remove this warning. See [2024-05-27T04:59:37.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:59:37.367Z] [2024-05-27T04:59:37.367Z] Login Succeeded [2024-05-27T04:59:37.367Z] nexus3.edgexfoundry.org:10003 [2024-05-27T04:59:37.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:59:37.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:59:37.636Z] Configure a credential helper to remove this warning. See [2024-05-27T04:59:37.636Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:59:37.636Z] [2024-05-27T04:59:37.636Z] Login Succeeded [2024-05-27T04:59:37.636Z] nexus3.edgexfoundry.org:10004 [2024-05-27T04:59:37.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:59:37.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:59:37.905Z] Configure a credential helper to remove this warning. See [2024-05-27T04:59:37.905Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:59:37.905Z] [2024-05-27T04:59:37.905Z] Login Succeeded [2024-05-27T04:59:37.905Z] ****.io [2024-05-27T04:59:38.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T04:59:38.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T04:59:38.442Z] Configure a credential helper to remove this warning. See [2024-05-27T04:59:38.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T04:59:38.442Z] [2024-05-27T04:59:38.442Z] Login Succeeded [2024-05-27T04:59:38.442Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T04:59:38.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T04:59:38.807Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-27T04:59:39.137Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-27T04:59:39.137Z] + cut -d -f 2 [Pipeline] echo [2024-05-27T04:59:39.206Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T04:59:39.224Z] ========================================================= [2024-05-27T04:59:39.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-27T04:59:39.224Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T04:59:39.612Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-27T04:59:42.221Z] Sending build context to Docker daemon 38.3MB [2024-05-27T04:59:42.221Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T04:59:42.221Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-27T04:59:42.221Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T04:59:42.221Z] c6b39de5b339: Pulling fs layer [2024-05-27T04:59:42.221Z] a69c41024577: Pulling fs layer [2024-05-27T04:59:42.221Z] d6de4b400683: Pulling fs layer [2024-05-27T04:59:42.221Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T04:59:42.221Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T04:59:42.221Z] 9e011611b7f5: Pulling fs layer [2024-05-27T04:59:42.221Z] 3bd174042beb: Pulling fs layer [2024-05-27T04:59:42.221Z] 4476f39b5e91: Pulling fs layer [2024-05-27T04:59:42.221Z] 35cb2a7552d0: Waiting [2024-05-27T04:59:42.221Z] 4f4fb700ef54: Waiting [2024-05-27T04:59:42.221Z] 9e011611b7f5: Waiting [2024-05-27T04:59:42.221Z] 3bd174042beb: Waiting [2024-05-27T04:59:42.221Z] 4476f39b5e91: Waiting [2024-05-27T04:59:42.221Z] a69c41024577: Download complete [2024-05-27T04:59:42.221Z] 35cb2a7552d0: Verifying Checksum [2024-05-27T04:59:42.221Z] 35cb2a7552d0: Download complete [2024-05-27T04:59:42.221Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T04:59:42.221Z] 4f4fb700ef54: Download complete [2024-05-27T04:59:42.221Z] 9e011611b7f5: Verifying Checksum [2024-05-27T04:59:42.221Z] 9e011611b7f5: Download complete [2024-05-27T04:59:42.221Z] c6b39de5b339: Verifying Checksum [2024-05-27T04:59:42.221Z] c6b39de5b339: Download complete [2024-05-27T04:59:42.812Z] 4476f39b5e91: Verifying Checksum [2024-05-27T04:59:42.812Z] 4476f39b5e91: Download complete [2024-05-27T04:59:43.082Z] c6b39de5b339: Pull complete [2024-05-27T04:59:43.672Z] a69c41024577: Pull complete [2024-05-27T04:59:44.260Z] d6de4b400683: Verifying Checksum [2024-05-27T04:59:44.260Z] d6de4b400683: Download complete [2024-05-27T04:59:45.228Z] 3bd174042beb: Verifying Checksum [2024-05-27T04:59:45.228Z] 3bd174042beb: Download complete [2024-05-27T04:59:57.564Z] d6de4b400683: Pull complete [2024-05-27T04:59:57.564Z] 35cb2a7552d0: Pull complete [2024-05-27T04:59:57.564Z] 4f4fb700ef54: Pull complete [2024-05-27T04:59:57.564Z] 9e011611b7f5: Pull complete [2024-05-27T05:00:07.662Z] 3bd174042beb: Pull complete [2024-05-27T05:00:08.247Z] 4476f39b5e91: Pull complete [2024-05-27T05:00:08.247Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-27T05:00:08.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-27T05:00:08.247Z] ---> 981a0608b64a [2024-05-27T05:00:08.247Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-27T05:00:10.196Z] ---> Running in 6c5df7961734 [2024-05-27T05:00:10.464Z] Removing intermediate container 6c5df7961734 [2024-05-27T05:00:10.464Z] ---> ff3738485a67 [2024-05-27T05:00:10.464Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T05:00:10.464Z] ---> Running in 5dabbe75adb4 [2024-05-27T05:00:10.742Z] Removing intermediate container 5dabbe75adb4 [2024-05-27T05:00:10.742Z] ---> 9371cfe3caad [2024-05-27T05:00:10.742Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-27T05:00:11.010Z] ---> Running in ab87db4a8516 [2024-05-27T05:00:11.277Z] Removing intermediate container ab87db4a8516 [2024-05-27T05:00:11.277Z] ---> bc3ef07fa210 [2024-05-27T05:00:11.277Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T05:00:11.277Z] ---> Running in 919371c741f5 [2024-05-27T05:00:11.544Z] Removing intermediate container 919371c741f5 [2024-05-27T05:00:11.544Z] ---> 875ef6101ef9 [2024-05-27T05:00:11.544Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T05:00:11.544Z] ---> Running in aec1ad69d8d6 [2024-05-27T05:00:12.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T05:00:13.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T05:00:14.208Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-27T05:00:14.208Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-27T05:00:14.208Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-27T05:00:14.476Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-27T05:00:14.745Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T05:00:14.745Z] OK: 271 MiB in 56 packages [2024-05-27T05:00:15.714Z] Removing intermediate container aec1ad69d8d6 [2024-05-27T05:00:15.714Z] ---> 84f98af3f2f7 [2024-05-27T05:00:15.714Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-27T05:00:15.714Z] ---> Running in 764e1b309677 [2024-05-27T05:00:16.303Z] Removing intermediate container 764e1b309677 [2024-05-27T05:00:16.303Z] ---> ef9418e01961 [2024-05-27T05:00:16.303Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-27T05:00:23.214Z] ---> a6340bc5c564 [2024-05-27T05:00:23.214Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T05:00:23.214Z] ---> Running in 595079c0017b [2024-05-27T05:01:20.720Z] Removing intermediate container 595079c0017b [2024-05-27T05:01:20.720Z] ---> 7288f6e5616d [2024-05-27T05:01:20.720Z] Step 11/12 : COPY . . [2024-05-27T05:01:23.858Z] ---> 250ac6182594 [2024-05-27T05:01:23.858Z] Step 12/12 : RUN $MAKE [2024-05-27T05:01:23.858Z] ---> Running in 7093488a6d09 [2024-05-27T05:01:24.445Z] noop [2024-05-27T05:01:25.411Z] Removing intermediate container 7093488a6d09 [2024-05-27T05:01:25.411Z] ---> f8b8b0a097f6 [2024-05-27T05:01:25.677Z] Successfully built f8b8b0a097f6 [2024-05-27T05:01:25.677Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:01:26.042Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T05:01:26.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T05:01:26.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-822 does not seem to be running inside a container [2024-05-27T05:01:26.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 ******** ci-base-image-arm64 cat [2024-05-27T05:01:27.573Z] $ docker top b439588cd5104df9db7cfef6d94d61c0c8f952cc6e4879fd3c3bf6ea79c6a303 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T05:01:28.437Z] + go version [2024-05-27T05:01:28.437Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T05:01:28.457Z] $ docker stop --time=1 b439588cd5104df9db7cfef6d94d61c0c8f952cc6e4879fd3c3bf6ea79c6a303 [2024-05-27T05:01:30.116Z] $ docker rm -f --volumes b439588cd5104df9db7cfef6d94d61c0c8f952cc6e4879fd3c3bf6ea79c6a303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:01:30.695Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T05:01:30.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T05:01:30.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-822 does not seem to be running inside a container [2024-05-27T05:01:30.975Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 ******** ci-base-image-arm64 cat [2024-05-27T05:01:32.267Z] $ docker top cd1f56d6d56c932950d25e382807ecc2e0dfa3f5386b72ee2213500395d73ba4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T05:01:33.129Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh [2024-05-27T05:01:33.794Z] + make test [2024-05-27T05:01:33.794Z] go test ./... -coverprofile=coverage.out ./... [2024-05-27T05:01:36.382Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-27T05:03:43.105Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-27T05:03:43.105Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-27T05:03:43.105Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 22.8% of statements [2024-05-27T05:03:43.105Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T05:03:43.105Z] go vet ./... [2024-05-27T05:04:09.813Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T05:04:09.813Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T05:04:09.813Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-27T05:04:09.829Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-27T05:04:10.481Z] + go mod tidy [Pipeline] } [2024-05-27T05:04:13.843Z] $ docker stop --time=1 cd1f56d6d56c932950d25e382807ecc2e0dfa3f5386b72ee2213500395d73ba4 [2024-05-27T05:04:15.821Z] $ docker rm -f --volumes cd1f56d6d56c932950d25e382807ecc2e0dfa3f5386b72ee2213500395d73ba4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T05:04:17.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T05:04:17.300Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T05:04:18.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T05:04:18.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T05:04:19.239Z] + ls -al . [2024-05-27T05:04:19.239Z] total 184 [2024-05-27T05:04:19.239Z] drwxrwxr-x 9 jenkins jenkins 4096 May 27 05:01 . [2024-05-27T05:04:19.239Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 04:59 .. [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 04:59 .dockerignore [2024-05-27T05:04:19.239Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 04:59 .git [2024-05-27T05:04:19.239Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:59 .github [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 256 May 27 04:59 .gitignore [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 41 May 27 04:59 .golangci.yml [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 27 04:59 Attribution.txt [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 27 04:59 CHANGELOG.md [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 27 04:59 Dockerfile [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 04:59 GOVERNANCE.md [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 657 May 27 04:59 Jenkinsfile [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 27 04:59 LICENSE [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 27 04:59 Makefile [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 620 May 27 04:59 OWNERS.md [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 27 04:59 README.md [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 11 May 27 04:55 VERSION [2024-05-27T05:04:19.239Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:59 bin [2024-05-27T05:04:19.239Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:59 cmd [2024-05-27T05:04:19.239Z] -rw-r--r-- 1 jenkins jenkins 18506 May 27 05:03 coverage.out [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 27 04:59 go.mod [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 27 04:59 go.sum [2024-05-27T05:04:19.239Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 04:59 internal [2024-05-27T05:04:19.239Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 04:59 mock [2024-05-27T05:04:19.239Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 04:59 vendor [2024-05-27T05:04:19.239Z] -rw-rw-r-- 1 jenkins jenkins 227 May 27 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:04:19.590Z] + 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=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 --label arch=arm64 --label version=3.1.1-dev.1 . [2024-05-27T05:04:22.199Z] Sending build context to Docker daemon 38.32MB [2024-05-27T05:04:22.199Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T05:04:22.199Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-27T05:04:22.199Z] ---> f8b8b0a097f6 [2024-05-27T05:04:22.199Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-27T05:04:22.199Z] ---> Running in e48930e48c09 [2024-05-27T05:04:22.817Z] Removing intermediate container e48930e48c09 [2024-05-27T05:04:22.817Z] ---> f8daf914de65 [2024-05-27T05:04:22.817Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-27T05:04:22.817Z] ---> Running in e9111d2f46f5 [2024-05-27T05:04:23.084Z] Removing intermediate container e9111d2f46f5 [2024-05-27T05:04:23.084Z] ---> 9847841c8ef4 [2024-05-27T05:04:23.084Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-27T05:04:23.084Z] ---> Running in 647bc1639eb4 [2024-05-27T05:04:23.353Z] Removing intermediate container 647bc1639eb4 [2024-05-27T05:04:23.353Z] ---> 5ff9e21e9e0d [2024-05-27T05:04:23.353Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-27T05:04:23.620Z] ---> Running in 9ef7ae610711 [2024-05-27T05:04:23.899Z] Removing intermediate container 9ef7ae610711 [2024-05-27T05:04:23.899Z] ---> b658dca4200c [2024-05-27T05:04:23.899Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-27T05:04:23.899Z] ---> Running in a3f2be6fcdad [2024-05-27T05:04:25.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T05:04:25.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T05:04:26.552Z] OK: 271 MiB in 56 packages [2024-05-27T05:04:27.530Z] Removing intermediate container a3f2be6fcdad [2024-05-27T05:04:27.530Z] ---> 1e0b84662286 [2024-05-27T05:04:27.530Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-27T05:04:27.530Z] ---> Running in 6d5c9d898598 [2024-05-27T05:04:27.802Z] Removing intermediate container 6d5c9d898598 [2024-05-27T05:04:27.802Z] ---> f44eabfe5b8c [2024-05-27T05:04:27.802Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-27T05:04:36.016Z] ---> 9e7fb87ded04 [2024-05-27T05:04:36.016Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T05:04:36.016Z] ---> Running in d7595a235368 [2024-05-27T05:04:36.016Z] skipping... [2024-05-27T05:04:36.981Z] Removing intermediate container d7595a235368 [2024-05-27T05:04:36.981Z] ---> 415e276d0be1 [2024-05-27T05:04:36.981Z] Step 11/25 : COPY . . [2024-05-27T05:04:45.194Z] ---> 7e3672d20669 [2024-05-27T05:04:45.194Z] Step 12/25 : RUN $MAKE [2024-05-27T05:04:45.194Z] ---> Running in a083748f4ffe [2024-05-27T05:04:45.194Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-27T05:07:07.921Z] Removing intermediate container a083748f4ffe [2024-05-27T05:07:07.921Z] ---> 1cef1aa5d62d [2024-05-27T05:07:07.921Z] Step 13/25 : FROM alpine:3.18 [2024-05-27T05:07:07.921Z] 3.18: Pulling from library/alpine [2024-05-27T05:07:07.921Z] c6b39de5b339: Already exists [2024-05-27T05:07:07.921Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T05:07:07.921Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T05:07:07.921Z] ---> 33abbf032149 [2024-05-27T05:07:07.921Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-27T05:07:07.921Z] ---> Running in 0ce8347e6ff0 [2024-05-27T05:07:07.921Z] Removing intermediate container 0ce8347e6ff0 [2024-05-27T05:07:07.921Z] ---> 21637eb324f3 [2024-05-27T05:07:07.921Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-27T05:07:07.921Z] ---> Running in 66080df718e4 [2024-05-27T05:07:07.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:07.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:08.791Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-27T05:07:08.791Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T05:07:09.061Z] OK: 8 MiB in 16 packages [2024-05-27T05:07:10.021Z] Removing intermediate container 66080df718e4 [2024-05-27T05:07:10.021Z] ---> acb080d35227 [2024-05-27T05:07:10.021Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-27T05:07:10.021Z] ---> Running in bc3ae62db9e6 [2024-05-27T05:07:10.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:11.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:12.666Z] Upgrading critical system libraries and apk-tools: [2024-05-27T05:07:12.666Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-27T05:07:12.666Z] Executing busybox-1.36.1-r5.trigger [2024-05-27T05:07:12.666Z] Continuing the upgrade transaction with new apk-tools: [2024-05-27T05:07:12.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:12.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T05:07:13.898Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T05:07:14.166Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-27T05:07:14.166Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T05:07:14.166Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-27T05:07:14.166Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T05:07:14.166Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-27T05:07:14.166Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-27T05:07:14.166Z] Executing busybox-1.36.1-r6.trigger [2024-05-27T05:07:14.166Z] OK: 8 MiB in 16 packages [2024-05-27T05:07:15.577Z] Removing intermediate container bc3ae62db9e6 [2024-05-27T05:07:15.577Z] ---> 92362f8e77a2 [2024-05-27T05:07:15.577Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-27T05:07:16.990Z] ---> 15c758408730 [2024-05-27T05:07:16.990Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-27T05:07:17.574Z] ---> 150a3dad61fb [2024-05-27T05:07:17.574Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-27T05:07:18.161Z] ---> e2077dd6fccf [2024-05-27T05:07:18.161Z] Step 20/25 : EXPOSE 59982 [2024-05-27T05:07:18.161Z] ---> Running in d19366f9190b [2024-05-27T05:07:18.428Z] Removing intermediate container d19366f9190b [2024-05-27T05:07:18.428Z] ---> 76cca4cf3746 [2024-05-27T05:07:18.428Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-27T05:07:18.428Z] ---> Running in 1ef879020bc3 [2024-05-27T05:07:18.697Z] Removing intermediate container 1ef879020bc3 [2024-05-27T05:07:18.697Z] ---> 7734e041f447 [2024-05-27T05:07:18.697Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-27T05:07:18.964Z] ---> Running in 9728fc79f967 [2024-05-27T05:07:19.231Z] Removing intermediate container 9728fc79f967 [2024-05-27T05:07:19.231Z] ---> 9b69e9766c9d [2024-05-27T05:07:19.231Z] Step 23/25 : LABEL arch=arm64 [2024-05-27T05:07:19.231Z] ---> Running in cb6292a93ee9 [2024-05-27T05:07:19.817Z] Removing intermediate container cb6292a93ee9 [2024-05-27T05:07:19.817Z] ---> 3813bcd15eff [2024-05-27T05:07:19.817Z] Step 24/25 : LABEL git_sha=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T05:07:19.817Z] ---> Running in ce6c76ddb3d3 [2024-05-27T05:07:20.086Z] Removing intermediate container ce6c76ddb3d3 [2024-05-27T05:07:20.086Z] ---> d8951d45e55a [2024-05-27T05:07:20.086Z] Step 25/25 : LABEL version=3.1.1-dev.1 [2024-05-27T05:07:20.353Z] ---> Running in a84ea8b48be6 [2024-05-27T05:07:20.619Z] Removing intermediate container a84ea8b48be6 [2024-05-27T05:07:20.619Z] ---> 426fe5d6ac76 [2024-05-27T05:07:20.619Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T05:07:20.886Z] Successfully built 426fe5d6ac76 [2024-05-27T05:07:21.153Z] 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 [2024-05-27T05:07:21.291Z] provisioning config files... [2024-05-27T05:07:21.312Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config13998399578163062414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:07:21.662Z] ---> ****-login.sh [2024-05-27T05:07:21.662Z] nexus3.edgexfoundry.org:10001 [2024-05-27T05:07:21.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T05:07:21.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T05:07:21.935Z] Configure a credential helper to remove this warning. See [2024-05-27T05:07:21.935Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T05:07:21.935Z] [2024-05-27T05:07:21.935Z] Login Succeeded [2024-05-27T05:07:21.935Z] nexus3.edgexfoundry.org:10002 [2024-05-27T05:07:22.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T05:07:22.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T05:07:22.205Z] Configure a credential helper to remove this warning. See [2024-05-27T05:07:22.205Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T05:07:22.205Z] [2024-05-27T05:07:22.205Z] Login Succeeded [2024-05-27T05:07:22.472Z] nexus3.edgexfoundry.org:10003 [2024-05-27T05:07:22.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T05:07:22.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T05:07:22.742Z] Configure a credential helper to remove this warning. See [2024-05-27T05:07:22.742Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T05:07:22.742Z] [2024-05-27T05:07:22.742Z] Login Succeeded [2024-05-27T05:07:22.742Z] nexus3.edgexfoundry.org:10004 [2024-05-27T05:07:23.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T05:07:23.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T05:07:23.009Z] Configure a credential helper to remove this warning. See [2024-05-27T05:07:23.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T05:07:23.009Z] [2024-05-27T05:07:23.009Z] Login Succeeded [2024-05-27T05:07:23.009Z] ****.io [2024-05-27T05:07:23.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T05:07:23.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T05:07:23.591Z] Configure a credential helper to remove this warning. See [2024-05-27T05:07:23.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T05:07:23.591Z] [2024-05-27T05:07:23.591Z] Login Succeeded [2024-05-27T05:07:23.592Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T05:07:23.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T05:07:23.653Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T05:07:23.682Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2024-05-27T05:07:23.682Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T05:07:23.682Z] 3.1.1-dev.1 [2024-05-27T05:07:23.682Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T05:07:23.682Z] napa [2024-05-27T05:07:23.682Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:24.061Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:24.422Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T05:07:24.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-27T05:07:24.422Z] 8f3c5ab94024: Preparing [2024-05-27T05:07:24.422Z] a09698aa96eb: Preparing [2024-05-27T05:07:24.422Z] 4e7e9e193586: Preparing [2024-05-27T05:07:24.422Z] 42ed50bac029: Preparing [2024-05-27T05:07:24.422Z] c183f476de1e: Preparing [2024-05-27T05:07:24.422Z] 7c504f21be85: Preparing [2024-05-27T05:07:24.422Z] 7c504f21be85: Waiting [2024-05-27T05:07:24.688Z] c183f476de1e: Pushed [2024-05-27T05:07:24.688Z] a09698aa96eb: Pushed [2024-05-27T05:07:24.688Z] 8f3c5ab94024: Pushed [2024-05-27T05:07:24.688Z] 7c504f21be85: Layer already exists [2024-05-27T05:07:26.094Z] 42ed50bac029: Pushed [2024-05-27T05:07:30.344Z] 4e7e9e193586: Pushed [2024-05-27T05:07:30.344Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72: digest: sha256:793183aa999628384c21e1a3404401fddceee9ade4a01e39fa85094b9ac8aab8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:30.706Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:31.078Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [2024-05-27T05:07:31.078Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-27T05:07:31.078Z] 8f3c5ab94024: Preparing [2024-05-27T05:07:31.078Z] a09698aa96eb: Preparing [2024-05-27T05:07:31.078Z] 4e7e9e193586: Preparing [2024-05-27T05:07:31.078Z] 42ed50bac029: Preparing [2024-05-27T05:07:31.078Z] c183f476de1e: Preparing [2024-05-27T05:07:31.078Z] 7c504f21be85: Preparing [2024-05-27T05:07:31.078Z] 7c504f21be85: Waiting [2024-05-27T05:07:31.078Z] c183f476de1e: Layer already exists [2024-05-27T05:07:31.078Z] 4e7e9e193586: Layer already exists [2024-05-27T05:07:31.078Z] a09698aa96eb: Layer already exists [2024-05-27T05:07:31.078Z] 8f3c5ab94024: Layer already exists [2024-05-27T05:07:31.078Z] 42ed50bac029: Layer already exists [2024-05-27T05:07:31.078Z] 7c504f21be85: Layer already exists [2024-05-27T05:07:31.345Z] 3.1.1-dev.1: digest: sha256:793183aa999628384c21e1a3404401fddceee9ade4a01e39fa85094b9ac8aab8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:31.710Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:32.081Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T05:07:32.081Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-27T05:07:32.081Z] 8f3c5ab94024: Preparing [2024-05-27T05:07:32.081Z] a09698aa96eb: Preparing [2024-05-27T05:07:32.081Z] 4e7e9e193586: Preparing [2024-05-27T05:07:32.081Z] 42ed50bac029: Preparing [2024-05-27T05:07:32.081Z] c183f476de1e: Preparing [2024-05-27T05:07:32.081Z] 7c504f21be85: Preparing [2024-05-27T05:07:32.081Z] 7c504f21be85: Waiting [2024-05-27T05:07:32.081Z] 4e7e9e193586: Layer already exists [2024-05-27T05:07:32.081Z] c183f476de1e: Layer already exists [2024-05-27T05:07:32.081Z] 42ed50bac029: Layer already exists [2024-05-27T05:07:32.081Z] a09698aa96eb: Layer already exists [2024-05-27T05:07:32.081Z] 8f3c5ab94024: Layer already exists [2024-05-27T05:07:32.081Z] 7c504f21be85: Layer already exists [2024-05-27T05:07:32.349Z] 7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1: digest: sha256:793183aa999628384c21e1a3404401fddceee9ade4a01e39fa85094b9ac8aab8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:32.712Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:33.065Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [2024-05-27T05:07:33.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-27T05:07:33.065Z] 8f3c5ab94024: Preparing [2024-05-27T05:07:33.065Z] a09698aa96eb: Preparing [2024-05-27T05:07:33.065Z] 4e7e9e193586: Preparing [2024-05-27T05:07:33.065Z] 42ed50bac029: Preparing [2024-05-27T05:07:33.065Z] c183f476de1e: Preparing [2024-05-27T05:07:33.065Z] 7c504f21be85: Preparing [2024-05-27T05:07:33.065Z] 7c504f21be85: Waiting [2024-05-27T05:07:33.065Z] c183f476de1e: Layer already exists [2024-05-27T05:07:33.065Z] 4e7e9e193586: Layer already exists [2024-05-27T05:07:33.065Z] 8f3c5ab94024: Layer already exists [2024-05-27T05:07:33.065Z] a09698aa96eb: Layer already exists [2024-05-27T05:07:33.065Z] 42ed50bac029: Layer already exists [2024-05-27T05:07:33.065Z] 7c504f21be85: Layer already exists [2024-05-27T05:07:33.331Z] napa: digest: sha256:793183aa999628384c21e1a3404401fddceee9ade4a01e39fa85094b9ac8aab8 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-27T05:07:33.418Z] ===================================================== [Pipeline] echo [2024-05-27T05:07:33.432Z] taggedImages: [2024-05-27T05:07:33.432Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [2024-05-27T05:07:33.432Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1-dev.1 [2024-05-27T05:07:33.432Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72-3.1.1-dev.1 [2024-05-27T05:07:33.432Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:33.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T05:07:33.831Z] [2024-05-27T05:07:33.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:07:34.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T05:07:34.171Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T05:07:34.171Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T05:07:34.171Z] 04944245beec: Pulling fs layer [2024-05-27T05:07:34.171Z] 699f458cf7ca: Pulling fs layer [2024-05-27T05:07:34.171Z] 765212b225bb: Pulling fs layer [2024-05-27T05:07:34.171Z] f23df028b6ca: Pulling fs layer [2024-05-27T05:07:34.171Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T05:07:34.171Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T05:07:34.171Z] d65c8cfc05b1: Waiting [2024-05-27T05:07:34.171Z] 765212b225bb: Waiting [2024-05-27T05:07:34.171Z] f23df028b6ca: Waiting [2024-05-27T05:07:34.171Z] 2437ff75d9bd: Waiting [2024-05-27T05:07:34.438Z] 04944245beec: Download complete [2024-05-27T05:07:34.438Z] 765212b225bb: Verifying Checksum [2024-05-27T05:07:34.438Z] 765212b225bb: Download complete [2024-05-27T05:07:34.438Z] f23df028b6ca: Verifying Checksum [2024-05-27T05:07:34.438Z] f23df028b6ca: Download complete [2024-05-27T05:07:34.438Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T05:07:34.438Z] d65c8cfc05b1: Download complete [2024-05-27T05:07:34.706Z] 699f458cf7ca: Verifying Checksum [2024-05-27T05:07:34.706Z] 699f458cf7ca: Download complete [2024-05-27T05:07:34.974Z] 8998bd30e6a1: Verifying Checksum [2024-05-27T05:07:34.974Z] 8998bd30e6a1: Download complete [2024-05-27T05:07:37.554Z] 2437ff75d9bd: Verifying Checksum [2024-05-27T05:07:37.554Z] 2437ff75d9bd: Download complete [2024-05-27T05:07:39.497Z] 8998bd30e6a1: Pull complete [2024-05-27T05:07:40.079Z] 04944245beec: Pull complete [2024-05-27T05:07:41.486Z] 699f458cf7ca: Pull complete [2024-05-27T05:07:41.756Z] 765212b225bb: Pull complete [2024-05-27T05:07:42.717Z] f23df028b6ca: Pull complete [2024-05-27T05:07:42.985Z] d65c8cfc05b1: Pull complete [2024-05-27T05:08:01.184Z] 2437ff75d9bd: Pull complete [2024-05-27T05:08:01.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T05:08:01.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T05:08:01.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T05:08:01.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-822 does not seem to be running inside a container [2024-05-27T05:08:01.490Z] $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-27T05:08:04.353Z] $ docker top b6fe8fbd4e4b1ca37bdc9c19816760ec2bd37fb188af5cec79b19749fb8a8a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:05.215Z] ---> job-cost.sh [2024-05-27T05:08:05.215Z] lf-activate-venv: SKIPPING [2024-05-27T05:08:05.215Z] INFO: No Stack... [2024-05-27T05:08:05.799Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T05:08:06.384Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T05:08:07.019Z] + cat /w/workspace/device-mqtt-go/6/archives/cost.csv [2024-05-27T05:08:07.019Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T05:08:07.040Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [2024-05-27T05:08:07.048Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] did not exist. Created. [2024-05-27T05:08:07.055Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T05:08:07.720Z] /w/workspace/device-mqtt-go/6@tmp/durable-c88273a2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T05:08:08.362Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T05:08:08.389Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T05:08:08.907Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T05:08:08.926Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T05:08:08.960Z] $ docker stop --time=1 b6fe8fbd4e4b1ca37bdc9c19816760ec2bd37fb188af5cec79b19749fb8a8a6e [2024-05-27T05:08:10.554Z] $ docker rm -f --volumes b6fe8fbd4e4b1ca37bdc9c19816760ec2bd37fb188af5cec79b19749fb8a8a6e [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 [2024-05-27T05:08:11.074Z] provisioning config files... [2024-05-27T05:08:11.100Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config15594772703319461843tmp [Pipeline] { [Pipeline] sh [2024-05-27T05:08:11.409Z] + set +x [2024-05-27T05:08:11.409Z] + bash -s -- [2024-05-27T05:08:11.409Z] + curl -s https://codecov.io/bash [2024-05-27T05:08:11.409Z] [2024-05-27T05:08:11.409Z] _____ _ [2024-05-27T05:08:11.409Z] / ____| | | [2024-05-27T05:08:11.409Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T05:08:11.409Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T05:08:11.409Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T05:08:11.409Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T05:08:11.409Z] Bash-1.0.6 [2024-05-27T05:08:11.409Z] [2024-05-27T05:08:11.409Z] [2024-05-27T05:08:11.409Z] ==> git version 2.25.1 found [2024-05-27T05:08:11.409Z] ==> 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 [2024-05-27T05:08:11.409Z] Release-Date: 2020-01-08 [2024-05-27T05:08:11.409Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-27T05:08:11.409Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T05:08:11.409Z] ==> Jenkins CI detected. [2024-05-27T05:08:11.409Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-27T05:08:11.409Z] project root: . [2024-05-27T05:08:11.409Z] --> token set from env [2024-05-27T05:08:11.409Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-27T05:08:11.409Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T05:08:11.669Z] ==> Python coveragepy not found [2024-05-27T05:08:11.669Z] ==> Searching for coverage reports in: [2024-05-27T05:08:11.669Z] + . [2024-05-27T05:08:11.669Z] -> Found 1 reports [2024-05-27T05:08:11.669Z] ==> Detecting git/mercurial file structure [2024-05-27T05:08:11.669Z] ==> Reading reports [2024-05-27T05:08:11.669Z] + ./coverage.out bytes=18506 [2024-05-27T05:08:11.669Z] ==> Appending adjustments [2024-05-27T05:08:11.669Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T05:08:11.669Z] + Found adjustments [2024-05-27T05:08:11.669Z] ==> Gzipping contents [2024-05-27T05:08:11.669Z] 16K /tmp/codecov.68Q2Xv.gz [2024-05-27T05:08:11.669Z] ==> Uploading reports [2024-05-27T05:08:11.669Z] url: https://codecov.io [2024-05-27T05:08:11.669Z] query: branch=napa&commit=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T05:08:11.669Z] -> Pinging Codecov [2024-05-27T05:08:11.669Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T05:08:11.929Z] -> Uploading to [2024-05-27T05:08:11.929Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/7D719EC7BBE17E464838252E33014C33/7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72/95bc3032-a2f0-458d-bcd4-180557a176c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T050811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65c43c15b3cc26ecc741599009b498e4cc185a81282f528df12416f4bfdd742b [2024-05-27T05:08:11.929Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T05:08:11.929Z] Dload Upload Total Spent Left Speed [2024-05-27T05:08:12.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 54577 --:--:-- --:--:-- --:--:-- 54778 [2024-05-27T05:08:12.189Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7a6fdf0b72787c14a6f52506e36c0d70e9ebdd72 [Pipeline] } [2024-05-27T05:08:12.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-27T05:08:12.405Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-27T05:08:12.426Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:08:12.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T05:08:12.736Z] [2024-05-27T05:08:12.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:08:13.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T05:08:13.034Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-27T05:08:13.034Z] 619be1103602: Already exists [2024-05-27T05:08:13.034Z] f8ea3408117e: Pulling fs layer [2024-05-27T05:08:13.034Z] 91320369b822: Pulling fs layer [2024-05-27T05:08:13.034Z] 0406650e8295: Pulling fs layer [2024-05-27T05:08:13.034Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T05:08:13.034Z] 96d80e3f36e1: Pulling fs layer [2024-05-27T05:08:13.034Z] bcf3aedb951c: Pulling fs layer [2024-05-27T05:08:13.034Z] 96d80e3f36e1: Waiting [2024-05-27T05:08:13.034Z] 4f4fb700ef54: Waiting [2024-05-27T05:08:13.034Z] bcf3aedb951c: Waiting [2024-05-27T05:08:13.034Z] 0406650e8295: Verifying Checksum [2024-05-27T05:08:13.034Z] 0406650e8295: Download complete [2024-05-27T05:08:13.034Z] f8ea3408117e: Download complete [2024-05-27T05:08:13.034Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T05:08:13.034Z] 4f4fb700ef54: Download complete [2024-05-27T05:08:13.034Z] f8ea3408117e: Pull complete [2024-05-27T05:08:13.293Z] 96d80e3f36e1: Verifying Checksum [2024-05-27T05:08:13.293Z] 96d80e3f36e1: Download complete [2024-05-27T05:08:13.551Z] 91320369b822: Verifying Checksum [2024-05-27T05:08:13.551Z] 91320369b822: Download complete [2024-05-27T05:08:13.810Z] bcf3aedb951c: Verifying Checksum [2024-05-27T05:08:13.810Z] bcf3aedb951c: Download complete [2024-05-27T05:08:16.335Z] 91320369b822: Pull complete [2024-05-27T05:08:16.593Z] 0406650e8295: Pull complete [2024-05-27T05:08:16.593Z] 4f4fb700ef54: Pull complete [2024-05-27T05:08:16.851Z] 96d80e3f36e1: Pull complete [2024-05-27T05:08:19.395Z] bcf3aedb951c: Pull complete [2024-05-27T05:08:19.395Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-27T05:08:19.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T05:08:19.395Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T05:08:19.499Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T05:08:19.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-27T05:08:23.337Z] $ docker top bba5e216381cbf1d37cc927549b43d273dd1e9bdbbaf87d584ad667cbeeaf047 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-27T05:08:23.403Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh [2024-05-27T05:08:23.678Z] + set -o pipefail [2024-05-27T05:08:23.678Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' [2024-05-27T05:08:26.216Z] [2024-05-27T05:08:26.216Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa... [2024-05-27T05:08:26.216Z] [2024-05-27T05:08:26.216Z] 'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128 [2024-05-27T05:08:26.217Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T05:08:26.217Z] error obtaining VCS status: exit status 128 [2024-05-27T05:08:26.217Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T05:08:26.217Z] [Pipeline] } [2024-05-27T05:08:26.487Z] $ docker stop --time=1 bba5e216381cbf1d37cc927549b43d273dd1e9bdbbaf87d584ad667cbeeaf047 [2024-05-27T05:08:28.125Z] $ docker rm -f --volumes bba5e216381cbf1d37cc927549b43d273dd1e9bdbbaf87d584ad667cbeeaf047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T05:08:28.225Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-27T05:08:29.003Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] [2024-05-27T05:08:29.004Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-27T05:08:29.004Z] total 16 [2024-05-27T05:08:29.004Z] drwxr-xr-x 3 root root 4096 May 27 04:57 . [2024-05-27T05:08:29.004Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:57 .. [2024-05-27T05:08:29.004Z] drwxr-xr-x 2 root root 4096 May 27 04:57 cost [2024-05-27T05:08:29.004Z] -rw-r--r-- 1 root root 84 May 27 04:57 cost.csv [2024-05-27T05:08:29.004Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-27T05:08:29.004Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-27T05:08:29.004Z] total 16 [2024-05-27T05:08:29.004Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 04:57 . [2024-05-27T05:08:29.004Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 04:57 .. [2024-05-27T05:08:29.004Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 04:57 cost [2024-05-27T05:08:29.004Z] -rw-r--r-- 1 jenkins jenkins 84 May 27 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:29.290Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:30.144Z] ---> package-listing.sh [2024-05-27T05:08:30.144Z] ++ facter osfamily [2024-05-27T05:08:30.144Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T05:08:30.403Z] + OS_FAMILY=debian [2024-05-27T05:08:30.403Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-27T05:08:30.403Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T05:08:30.403Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T05:08:30.403Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T05:08:30.403Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T05:08:30.403Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-27T05:08:30.403Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T05:08:30.403Z] + case "${OS_FAMILY}" in [2024-05-27T05:08:30.403Z] + dpkg -l [2024-05-27T05:08:30.403Z] + grep '^ii' [2024-05-27T05:08:30.403Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T05:08:30.403Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T05:08:30.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T05:08:30.403Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-27T05:08:30.403Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [2024-05-27T05:08:30.403Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo [2024-05-27T05:08:30.413Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-27T05:08:30.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T05:08:31.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T05:08:31.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T05:08:31.335Z] prd-ubuntu20.04-docker-8c-8g-821 does not seem to be running inside a container [2024-05-27T05:08:31.370Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T05:08:31.575Z] $ docker top db50fb4f289e8e8354569358902de1f3d8aef880059aac52f65bd5284c7b3310 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T05:08:31.922Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T05:08:32.199Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T05:08:32.483Z] + ls /var/log/sa-host [2024-05-27T05:08:32.483Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T05:08:32.652Z] provisioning config files... [2024-05-27T05:08:32.661Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config8538451794185771601tmp [Pipeline] { [Pipeline] echo [2024-05-27T05:08:32.678Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:32.962Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T05:08:32.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:33.320Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T05:08:33.330Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:33.609Z] ---> sudo-logs.sh [2024-05-27T05:08:33.609Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T05:08:33.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:33.922Z] ---> job-cost.sh [2024-05-27T05:08:33.922Z] lf-activate-venv: SKIPPING [2024-05-27T05:08:33.922Z] DEBUG: total: 0.2199999988079071 [2024-05-27T05:08:33.922Z] INFO: Retrieving Stack Cost... [2024-05-27T05:08:34.181Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T05:08:34.748Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T05:08:34.759Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T05:08:35.047Z] ---> logs-deploy.sh [2024-05-27T05:08:35.047Z] lf-activate-venv: SKIPPING [2024-05-27T05:08:35.047Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/6 [2024-05-27T05:08:35.047Z] INFO: archiving workspace using pattern(s): [2024-05-27T05:08:35.982Z] Archives upload complete. [2024-05-27T05:08:35.982Z] INFO: archiving logs to Nexus