Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b747fdb0f46d56fab49edbd998369f5c6173beb1 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-ssh10342358642388775272.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4089186699534210716.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2336876380843546879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16008333735550643092.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-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13247176696592420245.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-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-725’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-726’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-939’ is offline Running on prd-ubuntu20.04-docker-8c-8g-940 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b747fdb0f46d56fab49edbd998369f5c6173beb1 (main) Commit message: "refactor!: Rename command line flags for the sake of consistency (#394)" > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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 b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 > git rev-list --no-walk 62ec25a2eb67d4cbe0628602eb20a0741648d64e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T18:44:11.967Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T18:44:12.007Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T18:44:12.020Z] ========================================================= [2023-01-03T18:44:12.020Z] EdgeX Global Pipelines Version Info [2023-01-03T18:44:12.020Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:44:12.735Z] ------------------- [2023-01-03T18:44:12.735Z] stable info: [2023-01-03T18:44:12.735Z] ------------------- [2023-01-03T18:44:12.735Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T18:44:12.735Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:44:12.735Z] Message: update stable to v1.0.244 [2023-01-03T18:44:13.304Z] ------------------- [2023-01-03T18:44:13.304Z] experimental info: [2023-01-03T18:44:13.304Z] ------------------- [2023-01-03T18:44:13.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T18:44:13.304Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:44:13.304Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T18:44:13.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-03T18:44:13.496Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-03T18:44:13.510Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T18:44:13.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T18:44:13.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T18:44:13.554Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T18:44:13.571Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T18:44:13.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T18:44:13.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T18:44:13.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T18:44:13.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T18:44:13.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-03T18:44:13.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T18:44:13.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T18:44:13.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:44:13.719Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:44:13.739Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:44:13.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:44:13.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T18:44:13.796Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T18:44:13.811Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-03T18:44:13.825Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-03T18:44:13.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T18:44:13.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T18:44:13.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T18:44:13.879Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T18:44:13.891Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T18:44:13.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-03T18:44:13.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-03T18:44:13.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-03T18:44:13.942Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] echo [2023-01-03T18:44:13.961Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b747fdb [Pipeline] echo [2023-01-03T18:44:13.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:44:14.025Z] provisioning config files... [2023-01-03T18:44:14.040Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8034794044679011638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:44:14.338Z] ---> docker-login.sh [2023-01-03T18:44:14.338Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:44:14.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:14.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:14.599Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:14.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:14.599Z] [2023-01-03T18:44:14.599Z] Login Succeeded [2023-01-03T18:44:14.599Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:44:14.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:14.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:14.599Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:14.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:14.599Z] [2023-01-03T18:44:14.599Z] Login Succeeded [2023-01-03T18:44:14.858Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:44:14.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:14.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:14.858Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:14.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:14.858Z] [2023-01-03T18:44:14.858Z] Login Succeeded [2023-01-03T18:44:14.858Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:44:14.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:14.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:14.858Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:14.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:14.858Z] [2023-01-03T18:44:14.858Z] Login Succeeded [2023-01-03T18:44:14.858Z] docker.io [2023-01-03T18:44:15.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:15.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:15.119Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:15.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:15.119Z] [2023-01-03T18:44:15.119Z] Login Succeeded [2023-01-03T18:44:15.380Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:44:15.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T18:44:15.784Z] + git rev-list -1 --merges b747fdb0f46d56fab49edbd998369f5c6173beb1~1..b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] echo [2023-01-03T18:44:15.841Z] -----------> git rev-list -1 --merges b747fdb0f46d56fab49edbd998369f5c6173beb1~1..b747fdb0f46d56fab49edbd998369f5c6173beb1 b747fdb0f46d56fab49edbd998369f5c6173beb1 [false] [Pipeline] sh [2023-01-03T18:44:16.136Z] + git log --format=format:%s -1 b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] echo [2023-01-03T18:44:16.154Z] ========================================================= [2023-01-03T18:44:16.154Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T18:44:16.154Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:44:16.481Z] + git log --format=format:%s -1 b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] echo [2023-01-03T18:44:16.494Z] [semverPrep] GIT_COMMIT: b747fdb0f46d56fab49edbd998369f5c6173beb1, Commit Message: refactor!: Rename command line flags for the sake of consistency (#394) [Pipeline] echo [2023-01-03T18:44:16.504Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T18:44:16.838Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:44:16.838Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T18:44:16.838Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T18:44:16.838Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T18:44:16.838Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T18:44:16.838Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T18:44:16.838Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:44:17.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:44:17.178Z] [2023-01-03T18:44:17.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:44:17.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:44:17.479Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T18:44:17.479Z] b85a868b505f: Pulling fs layer [2023-01-03T18:44:17.479Z] e2be974225ed: Pulling fs layer [2023-01-03T18:44:17.479Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T18:44:17.479Z] 988bab9f4d93: Pulling fs layer [2023-01-03T18:44:17.479Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T18:44:17.479Z] eaf3925da568: Pulling fs layer [2023-01-03T18:44:17.479Z] bab4dde63d76: Pulling fs layer [2023-01-03T18:44:17.479Z] bde34c3a00c8: Pulling fs layer [2023-01-03T18:44:17.479Z] b352a97aabf1: Pulling fs layer [2023-01-03T18:44:17.479Z] 4872d77fe225: Pulling fs layer [2023-01-03T18:44:17.479Z] 5851b861e8e6: Pulling fs layer [2023-01-03T18:44:17.479Z] 1469e6f7b9e6: Waiting [2023-01-03T18:44:17.479Z] eaf3925da568: Waiting [2023-01-03T18:44:17.479Z] bab4dde63d76: Waiting [2023-01-03T18:44:17.479Z] bde34c3a00c8: Waiting [2023-01-03T18:44:17.479Z] 5851b861e8e6: Waiting [2023-01-03T18:44:17.479Z] b352a97aabf1: Waiting [2023-01-03T18:44:17.479Z] 988bab9f4d93: Waiting [2023-01-03T18:44:17.479Z] e2be974225ed: Verifying Checksum [2023-01-03T18:44:17.479Z] e2be974225ed: Download complete [2023-01-03T18:44:17.479Z] 988bab9f4d93: Verifying Checksum [2023-01-03T18:44:17.479Z] 988bab9f4d93: Download complete [2023-01-03T18:44:17.741Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T18:44:17.741Z] 1469e6f7b9e6: Download complete [2023-01-03T18:44:17.741Z] eaf3925da568: Verifying Checksum [2023-01-03T18:44:17.741Z] eaf3925da568: Download complete [2023-01-03T18:44:17.741Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T18:44:17.741Z] 339a4e72a1f5: Download complete [2023-01-03T18:44:17.741Z] bde34c3a00c8: Download complete [2023-01-03T18:44:17.741Z] b85a868b505f: Download complete [2023-01-03T18:44:17.741Z] b352a97aabf1: Download complete [2023-01-03T18:44:17.741Z] 4872d77fe225: Verifying Checksum [2023-01-03T18:44:17.741Z] 4872d77fe225: Download complete [2023-01-03T18:44:17.741Z] 5851b861e8e6: Download complete [2023-01-03T18:44:18.310Z] bab4dde63d76: Verifying Checksum [2023-01-03T18:44:18.310Z] bab4dde63d76: Download complete [2023-01-03T18:44:19.248Z] b85a868b505f: Pull complete [2023-01-03T18:44:19.248Z] e2be974225ed: Pull complete [2023-01-03T18:44:19.817Z] 339a4e72a1f5: Pull complete [2023-01-03T18:44:19.817Z] 988bab9f4d93: Pull complete [2023-01-03T18:44:20.077Z] 1469e6f7b9e6: Pull complete [2023-01-03T18:44:20.077Z] eaf3925da568: Pull complete [2023-01-03T18:44:21.986Z] bab4dde63d76: Pull complete [2023-01-03T18:44:21.986Z] bde34c3a00c8: Pull complete [2023-01-03T18:44:22.245Z] b352a97aabf1: Pull complete [2023-01-03T18:44:22.245Z] 4872d77fe225: Pull complete [2023-01-03T18:44:22.245Z] 5851b861e8e6: Pull complete [2023-01-03T18:44:22.245Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T18:44:22.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:44:22.245Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:44:22.359Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:44:22.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:44:23.899Z] $ docker top cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df -eo pid,comm [2023-01-03T18:44:23.954Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:44:23.954Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:44:23.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:44:23.987Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:44:24.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:44:24.108Z] $ docker exec cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df ssh-agent [2023-01-03T18:44:24.221Z] SSH_AUTH_SOCK=/tmp/ssh-FfNE7x8Nlr9D/agent.31 [2023-01-03T18:44:24.221Z] SSH_AGENT_PID=37 [2023-01-03T18:44:24.229Z] Running ssh-add (command line suppressed) [2023-01-03T18:44:24.353Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13784290363730446275.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13784290363730446275.key) [2023-01-03T18:44:24.364Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:44:24.654Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T18:44:24.669Z] $ docker exec --env ******** --env ******** cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df ssh-agent -k [2023-01-03T18:44:24.766Z] unset SSH_AUTH_SOCK; [2023-01-03T18:44:24.767Z] unset SSH_AGENT_PID; [2023-01-03T18:44:24.767Z] echo Agent pid 37 killed; [2023-01-03T18:44:24.774Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T18:44:24.797Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:44:24.797Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:44:24.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:44:24.916Z] $ docker exec cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df ssh-agent [2023-01-03T18:44:25.035Z] SSH_AUTH_SOCK=/tmp/ssh-yXWYe534uHvW/agent.69 [2023-01-03T18:44:25.035Z] SSH_AGENT_PID=75 [2023-01-03T18:44:25.040Z] Running ssh-add (command line suppressed) [2023-01-03T18:44:25.168Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16245608179924157183.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16245608179924157183.key) [2023-01-03T18:44:25.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:44:25.467Z] + git semver init [2023-01-03T18:44:25.726Z] 2023-01-03 18:44:25,670 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T18:44:25.726Z] 2023-01-03 18:44:25,671 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-03T18:44:25.726Z] 2023-01-03 18:44:25,671 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-03T18:44:25.726Z] 2023-01-03 18:44:25,672 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:44:26.666Z] 2023-01-03 18:44:26,463 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-01-03T18:44:26.666Z] 2023-01-03 18:44:26,464 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-01-03T18:44:26.666Z] 2023-01-03 18:44:26,464 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:44:26.666Z] 2023-01-03 18:44:26,464 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:44:26.666Z] 3.0.0-dev.3 [Pipeline] } [2023-01-03T18:44:26.679Z] $ docker exec --env ******** --env ******** cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df ssh-agent -k [2023-01-03T18:44:26.771Z] unset SSH_AUTH_SOCK; [2023-01-03T18:44:26.772Z] unset SSH_AGENT_PID; [2023-01-03T18:44:26.772Z] echo Agent pid 75 killed; [2023-01-03T18:44:26.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:44:27.092Z] + git semver [Pipeline] } [2023-01-03T18:44:27.367Z] $ docker stop --time=1 cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df [2023-01-03T18:44:28.662Z] $ docker rm -f --volumes cc0aa2a5c0c24aa017740f3020b94eeaa066e15f46635d5e164b1066b43998df [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:44:28.999Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T18:44:29.280Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T18:44:29.284Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:44:29.458Z] provisioning config files... [2023-01-03T18:44:29.469Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6660587960059220539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:44:29.766Z] ---> docker-login.sh [2023-01-03T18:44:29.766Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:44:29.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:29.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:29.766Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:29.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:29.766Z] [2023-01-03T18:44:29.766Z] Login Succeeded [2023-01-03T18:44:29.766Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:44:29.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:29.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:29.766Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:29.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:29.766Z] [2023-01-03T18:44:29.766Z] Login Succeeded [2023-01-03T18:44:29.766Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:44:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:30.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:30.027Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:30.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:30.027Z] [2023-01-03T18:44:30.027Z] Login Succeeded [2023-01-03T18:44:30.027Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:44:30.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:30.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:30.027Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:30.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:30.027Z] [2023-01-03T18:44:30.027Z] Login Succeeded [2023-01-03T18:44:30.027Z] docker.io [2023-01-03T18:44:30.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:44:30.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:44:30.287Z] Configure a credential helper to remove this warning. See [2023-01-03T18:44:30.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:44:30.287Z] [2023-01-03T18:44:30.287Z] Login Succeeded [2023-01-03T18:44:30.547Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:44:30.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:44:30.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:44:30.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:44:30.664Z] ========================================================= [2023-01-03T18:44:30.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T18:44:30.664Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:44:30.987Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:44:30.987Z] Sending build context to Docker daemon 6.331MB [2023-01-03T18:44:30.987Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:44:30.987Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T18:44:30.988Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T18:44:30.988Z] 213ec9aee27d: Pulling fs layer [2023-01-03T18:44:30.988Z] 4583459ba037: Pulling fs layer [2023-01-03T18:44:30.988Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T18:44:30.988Z] 53926ce57604: Pulling fs layer [2023-01-03T18:44:30.988Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T18:44:30.988Z] 22ff95d597cd: Pulling fs layer [2023-01-03T18:44:30.988Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T18:44:30.988Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T18:44:30.988Z] a7acece74701: Pulling fs layer [2023-01-03T18:44:30.988Z] 22ff95d597cd: Waiting [2023-01-03T18:44:30.988Z] 96b7cbca73a9: Waiting [2023-01-03T18:44:30.988Z] a7acece74701: Waiting [2023-01-03T18:44:30.988Z] 12d6caf4c0d1: Waiting [2023-01-03T18:44:30.988Z] 53926ce57604: Waiting [2023-01-03T18:44:30.988Z] 21b2b0c7a3f4: Waiting [2023-01-03T18:44:30.988Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T18:44:30.988Z] 93c1e223e6f2: Download complete [2023-01-03T18:44:30.988Z] 4583459ba037: Download complete [2023-01-03T18:44:30.988Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T18:44:30.988Z] 21b2b0c7a3f4: Download complete [2023-01-03T18:44:30.988Z] 22ff95d597cd: Verifying Checksum [2023-01-03T18:44:30.988Z] 22ff95d597cd: Download complete [2023-01-03T18:44:31.250Z] 213ec9aee27d: Verifying Checksum [2023-01-03T18:44:31.250Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T18:44:31.250Z] 213ec9aee27d: Pull complete [2023-01-03T18:44:31.514Z] 4583459ba037: Pull complete [2023-01-03T18:44:31.514Z] 93c1e223e6f2: Pull complete [2023-01-03T18:44:31.777Z] a7acece74701: Verifying Checksum [2023-01-03T18:44:31.777Z] a7acece74701: Download complete [2023-01-03T18:44:32.035Z] 53926ce57604: Verifying Checksum [2023-01-03T18:44:32.035Z] 53926ce57604: Download complete [2023-01-03T18:44:32.035Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T18:44:32.035Z] 96b7cbca73a9: Download complete [2023-01-03T18:44:36.222Z] 53926ce57604: Pull complete [2023-01-03T18:44:36.222Z] 21b2b0c7a3f4: Pull complete [2023-01-03T18:44:36.222Z] 22ff95d597cd: Pull complete [2023-01-03T18:44:36.222Z] 12d6caf4c0d1: Pull complete [2023-01-03T18:44:38.142Z] 96b7cbca73a9: Pull complete [2023-01-03T18:44:39.081Z] a7acece74701: Pull complete [2023-01-03T18:44:39.081Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T18:44:39.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T18:44:39.081Z] ---> db6d94c90886 [2023-01-03T18:44:39.081Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:44:40.985Z] ---> Running in 48ef98dfa3b3 [2023-01-03T18:44:40.985Z] Removing intermediate container 48ef98dfa3b3 [2023-01-03T18:44:40.985Z] ---> d5e7601d03fe [2023-01-03T18:44:40.985Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:44:40.985Z] ---> Running in dd9f510d02a9 [2023-01-03T18:44:40.985Z] Removing intermediate container dd9f510d02a9 [2023-01-03T18:44:40.985Z] ---> 23c89cf8d5ae [2023-01-03T18:44:40.985Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:44:40.985Z] ---> Running in 846cc1279f44 [2023-01-03T18:44:41.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:44:41.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:44:41.762Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-03T18:44:41.762Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-03T18:44:41.762Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-03T18:44:41.762Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:44:41.762Z] OK: 217 MiB in 59 packages [2023-01-03T18:44:42.329Z] Removing intermediate container 846cc1279f44 [2023-01-03T18:44:42.329Z] ---> 3672a1e5a0d9 [2023-01-03T18:44:42.329Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-03T18:44:42.329Z] ---> Running in 447926a29d05 [2023-01-03T18:44:42.329Z] Removing intermediate container 447926a29d05 [2023-01-03T18:44:42.329Z] ---> 80620358b4e9 [2023-01-03T18:44:42.329Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T18:44:42.589Z] ---> de2887d2d868 [2023-01-03T18:44:42.589Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:44:42.589Z] ---> Running in 9cdc79777a3e [2023-01-03T18:44:44.414Z] Still waiting to schedule task [2023-01-03T18:44:44.414Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-937’ [2023-01-03T18:45:04.529Z] Removing intermediate container 9cdc79777a3e [2023-01-03T18:45:04.529Z] ---> fd83a88c24a4 [2023-01-03T18:45:04.529Z] Step 9/10 : COPY . . [2023-01-03T18:45:04.529Z] ---> 64b538055138 [2023-01-03T18:45:04.529Z] Step 10/10 : RUN ${MAKE} [2023-01-03T18:45:04.529Z] ---> Running in 4be6a661b47d [2023-01-03T18:45:04.789Z] noop [2023-01-03T18:45:05.049Z] Removing intermediate container 4be6a661b47d [2023-01-03T18:45:05.049Z] ---> 86a3d3f53926 [2023-01-03T18:45:05.049Z] Successfully built 86a3d3f53926 [2023-01-03T18:45:05.049Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:45:05.370Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:45:05.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:45:05.451Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:45:05.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:45:05.834Z] $ docker top 1b8dbcbef62b5aa04856edf84cccebd5e9d64318ce337d819d4227ad84a3ce0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:45:06.180Z] + go version [2023-01-03T18:45:06.180Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T18:45:06.193Z] $ docker stop --time=1 1b8dbcbef62b5aa04856edf84cccebd5e9d64318ce337d819d4227ad84a3ce0c [2023-01-03T18:45:07.470Z] $ docker rm -f --volumes 1b8dbcbef62b5aa04856edf84cccebd5e9d64318ce337d819d4227ad84a3ce0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:45:07.878Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:45:07.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:45:07.945Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:45:07.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:45:08.357Z] $ docker top b6c7261f5ffe2844385e9bf23c3cb09844c389b6447d5f7a5e3d23655f449b14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:45:08.694Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:45:08.987Z] + make test [2023-01-03T18:45:08.987Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:45:09.556Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-03T18:45:19.520Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-03T18:45:19.520Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.021s coverage: 47.7% of statements [2023-01-03T18:45:27.770Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-03T18:45:27.770Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:45:30.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:45:30.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:45:30.300Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:45:30.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:45:30.580Z] $ docker stop --time=1 b6c7261f5ffe2844385e9bf23c3cb09844c389b6447d5f7a5e3d23655f449b14 [2023-01-03T18:45:34.147Z] $ docker rm -f --volumes b6c7261f5ffe2844385e9bf23c3cb09844c389b6447d5f7a5e3d23655f449b14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:45:34.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:45:34.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T18:45:35.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:45:35.352Z] + ls -al . [2023-01-03T18:45:35.352Z] total 196 [2023-01-03T18:45:35.352Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:45 . [2023-01-03T18:45:35.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:44 .. [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 18:44 .dockerignore [2023-01-03T18:45:35.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:45 .git [2023-01-03T18:45:35.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:44 .github [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 3 18:44 .gitignore [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:44 .golangci.yml [2023-01-03T18:45:35.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:44 .semver [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 3 18:44 Attribution.txt [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 3 18:44 CHANGELOG.md [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 3 18:44 Dockerfile [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:44 GOVERNANCE.md [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:44 Jenkinsfile [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:44 LICENSE [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 3 18:44 Makefile [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:44 OWNERS.md [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 3 18:44 README.md [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:44 VERSION [2023-01-03T18:45:35.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:44 bin [2023-01-03T18:45:35.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:44 cmd [2023-01-03T18:45:35.352Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 3 18:45 coverage.out [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 3 18:44 go.mod [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 3 18:44 go.sum [2023-01-03T18:45:35.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:44 internal [2023-01-03T18:45:35.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:44 simulator [2023-01-03T18:45:35.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:44 snap [2023-01-03T18:45:35.352Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 3 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:45:35.680Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b747fdb0f46d56fab49edbd998369f5c6173beb1 --label arch=amd64 --label version=3.0.0-dev.3 . [2023-01-03T18:45:35.680Z] Sending build context to Docker daemon 6.355MB [2023-01-03T18:45:35.680Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:45:35.680Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-03T18:45:35.680Z] ---> 86a3d3f53926 [2023-01-03T18:45:35.680Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:45:35.938Z] ---> Running in 35949e2f53db [2023-01-03T18:45:35.938Z] Removing intermediate container 35949e2f53db [2023-01-03T18:45:35.938Z] ---> c8ed19da0124 [2023-01-03T18:45:35.938Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:45:36.198Z] ---> Running in 30fa6b3652ae [2023-01-03T18:45:36.198Z] Removing intermediate container 30fa6b3652ae [2023-01-03T18:45:36.198Z] ---> 4ac4a14295be [2023-01-03T18:45:36.198Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:45:36.198Z] ---> Running in 88cb09ede5e9 [2023-01-03T18:45:36.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:45:36.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:45:36.978Z] OK: 217 MiB in 59 packages [2023-01-03T18:45:37.237Z] Removing intermediate container 88cb09ede5e9 [2023-01-03T18:45:37.237Z] ---> f08a9d9ac529 [2023-01-03T18:45:37.237Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-03T18:45:37.237Z] ---> Running in 0675e5ff3c39 [2023-01-03T18:45:37.237Z] Removing intermediate container 0675e5ff3c39 [2023-01-03T18:45:37.237Z] ---> 13229f30fc92 [2023-01-03T18:45:37.237Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-03T18:45:37.494Z] ---> 8703f274a6b6 [2023-01-03T18:45:37.494Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:45:37.494Z] ---> Running in 40e45af57539 [2023-01-03T18:45:38.060Z] Removing intermediate container 40e45af57539 [2023-01-03T18:45:38.060Z] ---> a715f7720844 [2023-01-03T18:45:38.060Z] Step 9/22 : COPY . . [2023-01-03T18:45:38.629Z] ---> d60a35906806 [2023-01-03T18:45:38.629Z] Step 10/22 : RUN ${MAKE} [2023-01-03T18:45:38.629Z] ---> Running in 0be2d516fa73 [2023-01-03T18:45:38.889Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2023-01-03T18:46:05.644Z] Removing intermediate container 0be2d516fa73 [2023-01-03T18:46:05.644Z] ---> be6832a2cbd3 [2023-01-03T18:46:05.644Z] Step 11/22 : FROM alpine:3.14 [2023-01-03T18:46:05.644Z] 3.14: Pulling from library/alpine [2023-01-03T18:46:05.644Z] c7ed990a2339: Pulling fs layer [2023-01-03T18:46:05.644Z] c7ed990a2339: Verifying Checksum [2023-01-03T18:46:05.644Z] c7ed990a2339: Download complete [2023-01-03T18:46:05.644Z] c7ed990a2339: Pull complete [2023-01-03T18:46:05.644Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-03T18:46:05.644Z] Status: Downloaded newer image for alpine:3.14 [2023-01-03T18:46:05.644Z] ---> dd53f409bf0b [2023-01-03T18:46:05.644Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-03T18:46:05.644Z] ---> Running in 7a8dfbdaef67 [2023-01-03T18:46:05.644Z] Removing intermediate container 7a8dfbdaef67 [2023-01-03T18:46:05.644Z] ---> 83f784452bfe [2023-01-03T18:46:05.644Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:46:05.644Z] ---> Running in 9df543f62ebe [2023-01-03T18:46:05.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:46:05.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:46:05.930Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:46:05.930Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-03T18:46:05.930Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:46:05.930Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-03T18:46:05.930Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:46:05.930Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:46:05.930Z] Executing busybox-1.33.1-r8.trigger [2023-01-03T18:46:05.930Z] OK: 8 MiB in 20 packages [2023-01-03T18:46:06.546Z] Removing intermediate container 9df543f62ebe [2023-01-03T18:46:06.546Z] ---> f72fcdf14add [2023-01-03T18:46:06.546Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-03T18:46:07.924Z] ---> 3f439807f9ee [2023-01-03T18:46:07.924Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-03T18:46:07.924Z] ---> 3ee5ac034496 [2023-01-03T18:46:07.924Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-03T18:46:07.924Z] ---> 741520a3f895 [2023-01-03T18:46:07.924Z] Step 17/22 : EXPOSE 59901 [2023-01-03T18:46:07.924Z] ---> Running in b1927b043aad [2023-01-03T18:46:08.184Z] Removing intermediate container b1927b043aad [2023-01-03T18:46:08.184Z] ---> a0b739875e07 [2023-01-03T18:46:08.184Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-03T18:46:08.184Z] ---> Running in c8810002bae1 [2023-01-03T18:46:08.184Z] Removing intermediate container c8810002bae1 [2023-01-03T18:46:08.184Z] ---> 151a163c397f [2023-01-03T18:46:08.184Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:46:08.184Z] ---> Running in 2a77edaccaf8 [2023-01-03T18:46:08.184Z] Removing intermediate container 2a77edaccaf8 [2023-01-03T18:46:08.184Z] ---> 8a950fcd97f5 [2023-01-03T18:46:08.184Z] Step 20/22 : LABEL arch=amd64 [2023-01-03T18:46:08.184Z] ---> Running in 1a5e6f96bf5c [2023-01-03T18:46:08.443Z] Removing intermediate container 1a5e6f96bf5c [2023-01-03T18:46:08.443Z] ---> 3daff78833cd [2023-01-03T18:46:08.443Z] Step 21/22 : LABEL git_sha=b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:46:08.443Z] ---> Running in 41ad841b6f33 [2023-01-03T18:46:08.443Z] Removing intermediate container 41ad841b6f33 [2023-01-03T18:46:08.443Z] ---> b3905a2fa0e3 [2023-01-03T18:46:08.443Z] Step 22/22 : LABEL version=3.0.0-dev.3 [2023-01-03T18:46:08.443Z] ---> Running in 00785c585f4b [2023-01-03T18:46:08.703Z] Removing intermediate container 00785c585f4b [2023-01-03T18:46:08.703Z] ---> edc13d4c7d09 [2023-01-03T18:46:08.703Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:46:08.703Z] Successfully built edc13d4c7d09 [2023-01-03T18:46:08.703Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:46:08.790Z] provisioning config files... [2023-01-03T18:46:08.798Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13022395386101328414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:46:09.097Z] ---> docker-login.sh [2023-01-03T18:46:09.097Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:46:09.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:46:09.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:46:09.097Z] Configure a credential helper to remove this warning. See [2023-01-03T18:46:09.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:46:09.097Z] [2023-01-03T18:46:09.097Z] Login Succeeded [2023-01-03T18:46:09.097Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:46:09.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:46:09.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:46:09.097Z] Configure a credential helper to remove this warning. See [2023-01-03T18:46:09.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:46:09.097Z] [2023-01-03T18:46:09.097Z] Login Succeeded [2023-01-03T18:46:09.097Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:46:09.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:46:09.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:46:09.356Z] Configure a credential helper to remove this warning. See [2023-01-03T18:46:09.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:46:09.356Z] [2023-01-03T18:46:09.356Z] Login Succeeded [2023-01-03T18:46:09.356Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:46:09.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:46:09.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:46:09.356Z] Configure a credential helper to remove this warning. See [2023-01-03T18:46:09.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:46:09.356Z] [2023-01-03T18:46:09.356Z] Login Succeeded [2023-01-03T18:46:09.356Z] docker.io [2023-01-03T18:46:09.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:46:09.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:46:09.614Z] Configure a credential helper to remove this warning. See [2023-01-03T18:46:09.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:46:09.614Z] [2023-01-03T18:46:09.614Z] Login Succeeded [2023-01-03T18:46:09.614Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:46:09.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:46:09.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:46:09.668Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-01-03T18:46:09.668Z] b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:46:09.668Z] latest [2023-01-03T18:46:09.668Z] 3.0.0-dev.3 [2023-01-03T18:46:09.668Z] b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:46:09.668Z] main [2023-01-03T18:46:09.668Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:09.995Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:10.313Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:46:10.313Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-03T18:46:10.313Z] 0afec1bd2dca: Preparing [2023-01-03T18:46:10.313Z] 69149b718d01: Preparing [2023-01-03T18:46:10.313Z] 9db2c03e27f2: Preparing [2023-01-03T18:46:10.313Z] f75c628be012: Preparing [2023-01-03T18:46:10.313Z] 63493a9ab2d4: Preparing [2023-01-03T18:46:10.313Z] 63493a9ab2d4: Layer already exists [2023-01-03T18:46:10.313Z] 69149b718d01: Pushed [2023-01-03T18:46:10.313Z] 0afec1bd2dca: Pushed [2023-01-03T18:46:10.572Z] f75c628be012: Pushed [2023-01-03T18:46:13.108Z] 9db2c03e27f2: Pushed [2023-01-03T18:46:13.368Z] b747fdb0f46d56fab49edbd998369f5c6173beb1: digest: sha256:f617019fd150bb6ac0a9b4be5169ae7b07dd4a6a075347e8521e172f35454cde size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:13.691Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:14.017Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-03T18:46:14.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-03T18:46:14.017Z] 0afec1bd2dca: Preparing [2023-01-03T18:46:14.017Z] 69149b718d01: Preparing [2023-01-03T18:46:14.017Z] 9db2c03e27f2: Preparing [2023-01-03T18:46:14.017Z] f75c628be012: Preparing [2023-01-03T18:46:14.017Z] 63493a9ab2d4: Preparing [2023-01-03T18:46:14.017Z] 69149b718d01: Layer already exists [2023-01-03T18:46:14.017Z] 0afec1bd2dca: Layer already exists [2023-01-03T18:46:14.017Z] f75c628be012: Layer already exists [2023-01-03T18:46:14.017Z] 63493a9ab2d4: Layer already exists [2023-01-03T18:46:14.017Z] 9db2c03e27f2: Layer already exists [2023-01-03T18:46:14.017Z] latest: digest: sha256:f617019fd150bb6ac0a9b4be5169ae7b07dd4a6a075347e8521e172f35454cde size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:14.340Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:14.653Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.3 [2023-01-03T18:46:14.653Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-03T18:46:14.653Z] 0afec1bd2dca: Preparing [2023-01-03T18:46:14.653Z] 69149b718d01: Preparing [2023-01-03T18:46:14.653Z] 9db2c03e27f2: Preparing [2023-01-03T18:46:14.653Z] f75c628be012: Preparing [2023-01-03T18:46:14.654Z] 63493a9ab2d4: Preparing [2023-01-03T18:46:14.654Z] 0afec1bd2dca: Layer already exists [2023-01-03T18:46:14.654Z] 9db2c03e27f2: Layer already exists [2023-01-03T18:46:14.654Z] 63493a9ab2d4: Layer already exists [2023-01-03T18:46:14.654Z] f75c628be012: Layer already exists [2023-01-03T18:46:14.654Z] 69149b718d01: Layer already exists [2023-01-03T18:46:14.654Z] 3.0.0-dev.3: digest: sha256:f617019fd150bb6ac0a9b4be5169ae7b07dd4a6a075347e8521e172f35454cde size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:14.968Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:15.282Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:46:15.282Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-03T18:46:15.282Z] 0afec1bd2dca: Preparing [2023-01-03T18:46:15.282Z] 69149b718d01: Preparing [2023-01-03T18:46:15.282Z] 9db2c03e27f2: Preparing [2023-01-03T18:46:15.282Z] f75c628be012: Preparing [2023-01-03T18:46:15.282Z] 63493a9ab2d4: Preparing [2023-01-03T18:46:15.282Z] 0afec1bd2dca: Layer already exists [2023-01-03T18:46:15.282Z] f75c628be012: Layer already exists [2023-01-03T18:46:15.282Z] 69149b718d01: Layer already exists [2023-01-03T18:46:15.282Z] 63493a9ab2d4: Layer already exists [2023-01-03T18:46:15.282Z] 9db2c03e27f2: Layer already exists [2023-01-03T18:46:15.282Z] b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3: digest: sha256:f617019fd150bb6ac0a9b4be5169ae7b07dd4a6a075347e8521e172f35454cde size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:15.600Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:15.927Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-01-03T18:46:15.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-03T18:46:15.927Z] 0afec1bd2dca: Preparing [2023-01-03T18:46:15.927Z] 69149b718d01: Preparing [2023-01-03T18:46:15.927Z] 9db2c03e27f2: Preparing [2023-01-03T18:46:15.927Z] f75c628be012: Preparing [2023-01-03T18:46:15.927Z] 63493a9ab2d4: Preparing [2023-01-03T18:46:15.927Z] f75c628be012: Layer already exists [2023-01-03T18:46:15.927Z] 63493a9ab2d4: Layer already exists [2023-01-03T18:46:15.927Z] 9db2c03e27f2: Layer already exists [2023-01-03T18:46:15.927Z] 69149b718d01: Layer already exists [2023-01-03T18:46:15.927Z] 0afec1bd2dca: Layer already exists [2023-01-03T18:46:15.927Z] main: digest: sha256:f617019fd150bb6ac0a9b4be5169ae7b07dd4a6a075347e8521e172f35454cde size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:46:15.982Z] ===================================================== [Pipeline] echo [2023-01-03T18:46:15.992Z] taggedImages: [2023-01-03T18:46:15.992Z] - nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:46:15.992Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-03T18:46:15.992Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.3 [2023-01-03T18:46:15.992Z] - nexus3.edgexfoundry.org:10004/device-modbus:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:46:15.992Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:16.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:46:16.378Z] [2023-01-03T18:46:16.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:46:16.692Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:46:16.692Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T18:46:16.692Z] 5eb5b503b376: Pulling fs layer [2023-01-03T18:46:16.692Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T18:46:16.692Z] ec43610c2a17: Pulling fs layer [2023-01-03T18:46:16.692Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T18:46:16.692Z] 33b1e0a273af: Pulling fs layer [2023-01-03T18:46:16.692Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T18:46:16.692Z] 2f39f015ded8: Pulling fs layer [2023-01-03T18:46:16.692Z] 3a2ae6a8a46f: Waiting [2023-01-03T18:46:16.692Z] 33b1e0a273af: Waiting [2023-01-03T18:46:16.692Z] 5d3b04190fa2: Waiting [2023-01-03T18:46:16.692Z] 2f39f015ded8: Waiting [2023-01-03T18:46:16.692Z] 5c69ac0246d0: Download complete [2023-01-03T18:46:16.692Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T18:46:16.692Z] 3a2ae6a8a46f: Download complete [2023-01-03T18:46:16.692Z] 33b1e0a273af: Verifying Checksum [2023-01-03T18:46:16.692Z] 33b1e0a273af: Download complete [2023-01-03T18:46:16.692Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T18:46:16.692Z] 5d3b04190fa2: Download complete [2023-01-03T18:46:16.953Z] ec43610c2a17: Verifying Checksum [2023-01-03T18:46:16.953Z] ec43610c2a17: Download complete [2023-01-03T18:46:16.953Z] 5eb5b503b376: Download complete [2023-01-03T18:46:17.531Z] 2f39f015ded8: Download complete [2023-01-03T18:46:18.465Z] 5eb5b503b376: Pull complete [2023-01-03T18:46:18.465Z] 5c69ac0246d0: Pull complete [2023-01-03T18:46:19.029Z] ec43610c2a17: Pull complete [2023-01-03T18:46:19.029Z] 3a2ae6a8a46f: Pull complete [2023-01-03T18:46:19.287Z] 33b1e0a273af: Pull complete [2023-01-03T18:46:19.287Z] 5d3b04190fa2: Pull complete [2023-01-03T18:46:23.485Z] 2f39f015ded8: Pull complete [2023-01-03T18:46:23.485Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T18:46:23.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:46:23.485Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:46:23.565Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:46:23.595Z] $ 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/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:46:30.842Z] $ docker top 6d99fca00ed860273018eccee841916b71922be68e9edf2aca9a442315e5c655 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:46:31.228Z] ---> job-cost.sh [2023-01-03T18:46:31.228Z] lf-activate-venv: SKIPPING [2023-01-03T18:46:31.228Z] INFO: No Stack... [2023-01-03T18:46:31.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:46:32.053Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:46:32.345Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-01-03T18:46:32.345Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:46:32.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [2023-01-03T18:46:32.368Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] did not exist. Created. [2023-01-03T18:46:32.368Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:46:32.667Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T18:46:32.686Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:46:32.694Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:46:32.711Z] $ docker stop --time=1 6d99fca00ed860273018eccee841916b71922be68e9edf2aca9a442315e5c655 [2023-01-03T18:46:33.861Z] $ docker rm -f --volumes 6d99fca00ed860273018eccee841916b71922be68e9edf2aca9a442315e5c655 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T18:47:24.490Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-943 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-01-03T18:47:24.506Z] Running in /w/workspace/device-modbus-go/69 [Pipeline] { [Pipeline] checkout [2023-01-03T18:47:24.548Z] Selected Git installation does not exist. Using Default [2023-01-03T18:47:24.548Z] The recommended git tool is: NONE [2023-01-03T18:47:30.756Z] using credential edgex-jenkins-ssh [2023-01-03T18:47:30.780Z] Cloning the remote Git repository [2023-01-03T18:47:30.832Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-03T18:47:30.925Z] > git init /w/workspace/device-modbus-go/69 # timeout=10 [2023-01-03T18:47:31.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-03T18:47:31.096Z] > git --version # timeout=10 [2023-01-03T18:47:31.116Z] > git --version # 'git version 2.25.1' [2023-01-03T18:47:31.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:47:31.188Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:47:33.883Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-03T18:47:33.916Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:47:34.912Z] Avoid second fetch [2023-01-03T18:47:34.913Z] Checking out Revision b747fdb0f46d56fab49edbd998369f5c6173beb1 (main) [2023-01-03T18:47:35.502Z] Commit message: "refactor!: Rename command line flags for the sake of consistency (#394)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:47:34.934Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:47:34.954Z] > git checkout -f b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [2023-01-03T18:47:36.425Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T18:47:36.425Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:47:36.425Z] Dload Upload Total Spent Left Speed [2023-01-03T18:47:36.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh [2023-01-03T18:47:37.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T18:47:37.466Z] + sudo tee /etc/docker/daemon.new [2023-01-03T18:47:37.467Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T18:47:37.467Z] { [2023-01-03T18:47:37.467Z] "registry-mirrors": [ [2023-01-03T18:47:37.467Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T18:47:37.467Z] ], [2023-01-03T18:47:37.467Z] "bip": "10.250.0.254/24", [2023-01-03T18:47:37.467Z] "hosts": [ [2023-01-03T18:47:37.467Z] "tcp://0.0.0.0:5555", [2023-01-03T18:47:37.467Z] "unix:///var/run/docker.sock" [2023-01-03T18:47:37.467Z] ], [2023-01-03T18:47:37.467Z] "mtu": 1458, [2023-01-03T18:47:37.467Z] "selinux-enabled": true, [2023-01-03T18:47:37.467Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T18:47:37.467Z] } [Pipeline] sh [2023-01-03T18:47:37.804Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T18:47:38.136Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:47:56.446Z] provisioning config files... [2023-01-03T18:47:56.480Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/69@tmp/config10654258334714083984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:47:56.854Z] ---> docker-login.sh [2023-01-03T18:47:56.854Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:47:57.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:47:57.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:47:57.449Z] Configure a credential helper to remove this warning. See [2023-01-03T18:47:57.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:47:57.449Z] [2023-01-03T18:47:57.449Z] Login Succeeded [2023-01-03T18:47:57.449Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:47:57.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:47:57.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:47:57.998Z] Configure a credential helper to remove this warning. See [2023-01-03T18:47:57.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:47:57.998Z] [2023-01-03T18:47:57.998Z] Login Succeeded [2023-01-03T18:47:57.998Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:47:58.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:47:58.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:47:58.268Z] Configure a credential helper to remove this warning. See [2023-01-03T18:47:58.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:47:58.268Z] [2023-01-03T18:47:58.268Z] Login Succeeded [2023-01-03T18:47:58.268Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:47:58.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:47:58.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:47:58.815Z] Configure a credential helper to remove this warning. See [2023-01-03T18:47:58.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:47:58.815Z] [2023-01-03T18:47:58.815Z] Login Succeeded [2023-01-03T18:47:58.815Z] docker.io [2023-01-03T18:47:58.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:47:59.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:47:59.086Z] Configure a credential helper to remove this warning. See [2023-01-03T18:47:59.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:47:59.086Z] [2023-01-03T18:47:59.086Z] Login Succeeded [2023-01-03T18:47:59.086Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:47:59.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:47:59.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:47:59.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:47:59.450Z] ========================================================= [2023-01-03T18:47:59.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T18:47:59.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:47:59.828Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-03T18:48:00.100Z] Sending build context to Docker daemon 3.295MB [2023-01-03T18:48:00.100Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:48:00.100Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-03T18:48:00.380Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T18:48:00.380Z] 9b18e9b68314: Pulling fs layer [2023-01-03T18:48:00.380Z] 35d82f9e3411: Pulling fs layer [2023-01-03T18:48:00.380Z] e16973657156: Pulling fs layer [2023-01-03T18:48:00.380Z] fc693d55d65f: Pulling fs layer [2023-01-03T18:48:00.380Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T18:48:00.380Z] fc693d55d65f: Waiting [2023-01-03T18:48:00.380Z] dda99020689f: Pulling fs layer [2023-01-03T18:48:00.380Z] db1c61fa0a46: Pulling fs layer [2023-01-03T18:48:00.380Z] 7e9fc2657dce: Waiting [2023-01-03T18:48:00.380Z] 891c053d2c06: Pulling fs layer [2023-01-03T18:48:00.380Z] dda99020689f: Waiting [2023-01-03T18:48:00.380Z] 891c053d2c06: Waiting [2023-01-03T18:48:00.380Z] db1c61fa0a46: Waiting [2023-01-03T18:48:00.380Z] e16973657156: Verifying Checksum [2023-01-03T18:48:00.380Z] e16973657156: Download complete [2023-01-03T18:48:00.380Z] 35d82f9e3411: Verifying Checksum [2023-01-03T18:48:00.380Z] 35d82f9e3411: Download complete [2023-01-03T18:48:00.380Z] 7e9fc2657dce: Download complete [2023-01-03T18:48:00.380Z] dda99020689f: Verifying Checksum [2023-01-03T18:48:00.380Z] dda99020689f: Download complete [2023-01-03T18:48:00.380Z] 9b18e9b68314: Verifying Checksum [2023-01-03T18:48:00.380Z] 9b18e9b68314: Download complete [2023-01-03T18:48:01.360Z] 9b18e9b68314: Pull complete [2023-01-03T18:48:01.633Z] 891c053d2c06: Verifying Checksum [2023-01-03T18:48:01.633Z] 891c053d2c06: Download complete [2023-01-03T18:48:01.906Z] 35d82f9e3411: Pull complete [2023-01-03T18:48:02.512Z] e16973657156: Pull complete [2023-01-03T18:48:02.785Z] db1c61fa0a46: Verifying Checksum [2023-01-03T18:48:02.785Z] db1c61fa0a46: Download complete [2023-01-03T18:48:03.762Z] fc693d55d65f: Verifying Checksum [2023-01-03T18:48:03.762Z] fc693d55d65f: Download complete [2023-01-03T18:48:16.135Z] fc693d55d65f: Pull complete [2023-01-03T18:48:16.406Z] 7e9fc2657dce: Pull complete [2023-01-03T18:48:16.676Z] dda99020689f: Pull complete [2023-01-03T18:48:23.385Z] db1c61fa0a46: Pull complete [2023-01-03T18:48:25.986Z] 891c053d2c06: Pull complete [2023-01-03T18:48:25.986Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T18:48:25.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T18:48:25.986Z] ---> f96f9c87975a [2023-01-03T18:48:25.986Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:48:26.577Z] ---> Running in 897f09708591 [2023-01-03T18:48:26.848Z] Removing intermediate container 897f09708591 [2023-01-03T18:48:26.848Z] ---> 9f7556bcbf1b [2023-01-03T18:48:26.848Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:48:26.848Z] ---> Running in fe05f35d803b [2023-01-03T18:48:27.117Z] Removing intermediate container fe05f35d803b [2023-01-03T18:48:27.117Z] ---> a6f4103c8957 [2023-01-03T18:48:27.117Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:48:27.399Z] ---> Running in 66bd0c30daea [2023-01-03T18:48:28.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:48:29.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:48:30.067Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-03T18:48:30.067Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-03T18:48:30.067Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-03T18:48:30.339Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-03T18:48:30.340Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-03T18:48:30.340Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-03T18:48:30.340Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-03T18:48:30.340Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-03T18:48:30.340Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:48:30.340Z] OK: 228 MiB in 59 packages [2023-01-03T18:48:31.764Z] Removing intermediate container 66bd0c30daea [2023-01-03T18:48:31.764Z] ---> f63dd3bf1559 [2023-01-03T18:48:31.764Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-03T18:48:31.764Z] ---> Running in b18edf90a0f1 [2023-01-03T18:48:32.034Z] Removing intermediate container b18edf90a0f1 [2023-01-03T18:48:32.034Z] ---> 8e9b42fd73ee [2023-01-03T18:48:32.034Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-03T18:48:32.622Z] ---> 2b7a700c6ecc [2023-01-03T18:48:32.622Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:48:32.622Z] ---> Running in affe3488311a [2023-01-03T18:49:29.335Z] Removing intermediate container affe3488311a [2023-01-03T18:49:29.335Z] ---> 0927322c4d83 [2023-01-03T18:49:29.335Z] Step 9/10 : COPY . . [2023-01-03T18:49:29.335Z] ---> 83d2fce46dcb [2023-01-03T18:49:29.335Z] Step 10/10 : RUN ${MAKE} [2023-01-03T18:49:29.335Z] ---> Running in de9d22b402fc [2023-01-03T18:49:29.335Z] noop [2023-01-03T18:49:29.922Z] Removing intermediate container de9d22b402fc [2023-01-03T18:49:29.922Z] ---> f636886ae009 [2023-01-03T18:49:29.922Z] Successfully built f636886ae009 [2023-01-03T18:49:29.922Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:49:30.284Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:49:30.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:49:30.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container [2023-01-03T18:49:30.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/69 -v /w/workspace/device-modbus-go/69:/w/workspace/device-modbus-go/69:rw,z -v /w/workspace/device-modbus-go/69@tmp:/w/workspace/device-modbus-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:49:31.807Z] $ docker top cd75a7c093c12dc134de6b8fe4c40fc70d4c0e4015e0cfe3212544657c3b44b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:49:32.649Z] + go version [2023-01-03T18:49:32.649Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T18:49:32.670Z] $ docker stop --time=1 cd75a7c093c12dc134de6b8fe4c40fc70d4c0e4015e0cfe3212544657c3b44b3 [2023-01-03T18:49:34.321Z] $ docker rm -f --volumes cd75a7c093c12dc134de6b8fe4c40fc70d4c0e4015e0cfe3212544657c3b44b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:49:34.902Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:49:34.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:49:35.082Z] prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container [2023-01-03T18:49:35.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/69 -v /w/workspace/device-modbus-go/69:/w/workspace/device-modbus-go/69:rw,z -v /w/workspace/device-modbus-go/69@tmp:/w/workspace/device-modbus-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:49:36.362Z] $ docker top f2680e5e6140078d7ea271dbe18342145c98b3aab23f81905527f293ba8c5d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:49:37.201Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/69 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:49:37.856Z] + make test [2023-01-03T18:49:37.856Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-01-03T18:49:39.812Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-03T18:51:16.512Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-03T18:51:16.512Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.070s coverage: 47.7% of statements [2023-01-03T18:51:16.512Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T18:51:16.512Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:51:28.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:51:28.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:51:28.849Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:51:29.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:51:29.475Z] $ docker stop --time=1 f2680e5e6140078d7ea271dbe18342145c98b3aab23f81905527f293ba8c5d4a [2023-01-03T18:51:31.361Z] $ docker rm -f --volumes f2680e5e6140078d7ea271dbe18342145c98b3aab23f81905527f293ba8c5d4a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:51:32.332Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:51:32.355Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T18:51:32.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:51:33.295Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:51:33.631Z] + ls -al . [2023-01-03T18:51:33.631Z] total 192 [2023-01-03T18:51:33.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:49 . [2023-01-03T18:51:33.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:47 .. [2023-01-03T18:51:33.631Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 18:47 .dockerignore [2023-01-03T18:51:33.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:47 .git [2023-01-03T18:51:33.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 .github [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 3 18:47 .gitignore [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 18:47 .golangci.yml [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 10121 Jan 3 18:47 Attribution.txt [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 3 18:47 CHANGELOG.md [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 1410 Jan 3 18:47 Dockerfile [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:47 GOVERNANCE.md [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 3 18:47 Jenkinsfile [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 18:47 LICENSE [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 2101 Jan 3 18:47 Makefile [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:47 OWNERS.md [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 3 18:47 README.md [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:44 VERSION [2023-01-03T18:51:33.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:47 bin [2023-01-03T18:51:33.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 cmd [2023-01-03T18:51:33.632Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 3 18:51 coverage.out [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 3 18:47 go.mod [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 3 18:47 go.sum [2023-01-03T18:51:33.632Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 internal [2023-01-03T18:51:33.632Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:47 simulator [2023-01-03T18:51:33.632Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:47 snap [2023-01-03T18:51:33.632Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 3 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:51:33.980Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b747fdb0f46d56fab49edbd998369f5c6173beb1 --label arch=arm64 --label version=3.0.0-dev.3 . [2023-01-03T18:51:34.260Z] Sending build context to Docker daemon 3.319MB [2023-01-03T18:51:34.260Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:51:34.260Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-03T18:51:34.260Z] ---> f636886ae009 [2023-01-03T18:51:34.260Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:51:34.530Z] ---> Running in 96e69b93515b [2023-01-03T18:51:34.800Z] Removing intermediate container 96e69b93515b [2023-01-03T18:51:34.800Z] ---> fb0a47a76c49 [2023-01-03T18:51:34.800Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:51:34.800Z] ---> Running in 034fa1ae364d [2023-01-03T18:51:35.073Z] Removing intermediate container 034fa1ae364d [2023-01-03T18:51:35.073Z] ---> a1194b546458 [2023-01-03T18:51:35.073Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2023-01-03T18:51:35.341Z] ---> Running in df9c36b8ab15 [2023-01-03T18:51:36.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:51:36.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:51:38.003Z] OK: 228 MiB in 59 packages [2023-01-03T18:51:38.974Z] Removing intermediate container df9c36b8ab15 [2023-01-03T18:51:38.974Z] ---> 75cd374efb47 [2023-01-03T18:51:38.974Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-03T18:51:38.974Z] ---> Running in 47a0ab748001 [2023-01-03T18:51:39.564Z] Removing intermediate container 47a0ab748001 [2023-01-03T18:51:39.564Z] ---> 5623d8b2fda6 [2023-01-03T18:51:39.564Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-03T18:51:39.835Z] ---> 8cd077347a61 [2023-01-03T18:51:39.835Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:51:40.114Z] ---> Running in 4f5472ef32a1 [2023-01-03T18:51:42.723Z] Removing intermediate container 4f5472ef32a1 [2023-01-03T18:51:42.723Z] ---> d32acab03ed0 [2023-01-03T18:51:42.723Z] Step 9/22 : COPY . . [2023-01-03T18:51:43.689Z] ---> 1270760ff144 [2023-01-03T18:51:43.689Z] Step 10/22 : RUN ${MAKE} [2023-01-03T18:51:43.689Z] ---> Running in 2a57027cc2c0 [2023-01-03T18:51:45.104Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2023-01-03T18:54:21.900Z] Removing intermediate container 2a57027cc2c0 [2023-01-03T18:54:21.900Z] ---> df4c5d8e6a4b [2023-01-03T18:54:21.900Z] Step 11/22 : FROM alpine:3.14 [2023-01-03T18:54:21.900Z] 3.14: Pulling from library/alpine [2023-01-03T18:54:21.900Z] 90cda3b7c325: Pulling fs layer [2023-01-03T18:54:21.900Z] 90cda3b7c325: Verifying Checksum [2023-01-03T18:54:21.900Z] 90cda3b7c325: Download complete [2023-01-03T18:54:21.900Z] 90cda3b7c325: Pull complete [2023-01-03T18:54:21.900Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-03T18:54:21.900Z] Status: Downloaded newer image for alpine:3.14 [2023-01-03T18:54:21.900Z] ---> 275902a1839d [2023-01-03T18:54:21.900Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-03T18:54:21.900Z] ---> Running in e1b1284a1c05 [2023-01-03T18:54:21.900Z] Removing intermediate container e1b1284a1c05 [2023-01-03T18:54:21.900Z] ---> 90eaf57daff8 [2023-01-03T18:54:21.900Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:54:21.900Z] ---> Running in f48a83f84a4d [2023-01-03T18:54:22.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:54:23.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:54:24.097Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:54:24.367Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2023-01-03T18:54:24.367Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:54:24.367Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2023-01-03T18:54:24.367Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:54:24.367Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:54:24.367Z] Executing busybox-1.33.1-r8.trigger [2023-01-03T18:54:24.367Z] OK: 8 MiB in 20 packages [2023-01-03T18:54:25.326Z] Removing intermediate container f48a83f84a4d [2023-01-03T18:54:25.326Z] ---> aaf1f9e1dbab [2023-01-03T18:54:25.326Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-03T18:54:26.750Z] ---> a82fff389daa [2023-01-03T18:54:26.750Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-03T18:54:27.015Z] ---> 8750846c8676 [2023-01-03T18:54:27.015Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-03T18:54:27.607Z] ---> 7e2e7dea9ad8 [2023-01-03T18:54:27.607Z] Step 17/22 : EXPOSE 59901 [2023-01-03T18:54:27.607Z] ---> Running in 6496b63b5eed [2023-01-03T18:54:27.877Z] Removing intermediate container 6496b63b5eed [2023-01-03T18:54:27.877Z] ---> 5d819bd7ee85 [2023-01-03T18:54:27.877Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-03T18:54:28.145Z] ---> Running in 9d65c93a1465 [2023-01-03T18:54:28.412Z] Removing intermediate container 9d65c93a1465 [2023-01-03T18:54:28.412Z] ---> 4ddb6acafaa3 [2023-01-03T18:54:28.412Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-03T18:54:28.412Z] ---> Running in db89355955ca [2023-01-03T18:54:28.678Z] Removing intermediate container db89355955ca [2023-01-03T18:54:28.678Z] ---> d5a298352f7c [2023-01-03T18:54:28.678Z] Step 20/22 : LABEL arch=arm64 [2023-01-03T18:54:28.678Z] ---> Running in 03c34a586e04 [2023-01-03T18:54:28.947Z] Removing intermediate container 03c34a586e04 [2023-01-03T18:54:28.947Z] ---> a3d973721bce [2023-01-03T18:54:28.947Z] Step 21/22 : LABEL git_sha=b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:54:29.216Z] ---> Running in 46538188347e [2023-01-03T18:54:29.481Z] Removing intermediate container 46538188347e [2023-01-03T18:54:29.481Z] ---> 08ef5b4fe5ab [2023-01-03T18:54:29.481Z] Step 22/22 : LABEL version=3.0.0-dev.3 [2023-01-03T18:54:29.481Z] ---> Running in f4e828356362 [2023-01-03T18:54:29.748Z] Removing intermediate container f4e828356362 [2023-01-03T18:54:29.748Z] ---> e90f5c3147ce [2023-01-03T18:54:29.748Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:54:29.748Z] Successfully built e90f5c3147ce [2023-01-03T18:54:29.748Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:54:29.883Z] provisioning config files... [2023-01-03T18:54:29.902Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/69@tmp/config12172040514137328570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:54:30.234Z] ---> docker-login.sh [2023-01-03T18:54:30.234Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:54:30.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:54:30.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:54:30.507Z] Configure a credential helper to remove this warning. See [2023-01-03T18:54:30.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:54:30.507Z] [2023-01-03T18:54:30.507Z] Login Succeeded [2023-01-03T18:54:30.507Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:54:30.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:54:30.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:54:30.774Z] Configure a credential helper to remove this warning. See [2023-01-03T18:54:30.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:54:30.774Z] [2023-01-03T18:54:30.774Z] Login Succeeded [2023-01-03T18:54:30.774Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:54:31.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:54:31.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:54:31.309Z] Configure a credential helper to remove this warning. See [2023-01-03T18:54:31.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:54:31.309Z] [2023-01-03T18:54:31.309Z] Login Succeeded [2023-01-03T18:54:31.309Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:54:31.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:54:31.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:54:31.575Z] Configure a credential helper to remove this warning. See [2023-01-03T18:54:31.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:54:31.575Z] [2023-01-03T18:54:31.575Z] Login Succeeded [2023-01-03T18:54:31.575Z] docker.io [2023-01-03T18:54:31.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:54:32.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:54:32.107Z] Configure a credential helper to remove this warning. See [2023-01-03T18:54:32.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:54:32.107Z] [2023-01-03T18:54:32.107Z] Login Succeeded [2023-01-03T18:54:32.107Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:54:32.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:54:32.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:54:32.165Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-01-03T18:54:32.165Z] b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:54:32.165Z] latest [2023-01-03T18:54:32.165Z] 3.0.0-dev.3 [2023-01-03T18:54:32.165Z] b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:54:32.165Z] main [2023-01-03T18:54:32.165Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:32.500Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:32.852Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:54:32.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-03T18:54:32.852Z] 068e3616b441: Preparing [2023-01-03T18:54:32.852Z] d03df5aa6d01: Preparing [2023-01-03T18:54:32.852Z] ac8a69cf8da3: Preparing [2023-01-03T18:54:32.852Z] fff849d66c39: Preparing [2023-01-03T18:54:32.852Z] 28c3ef001483: Preparing [2023-01-03T18:54:32.852Z] 28c3ef001483: Layer already exists [2023-01-03T18:54:33.119Z] d03df5aa6d01: Pushed [2023-01-03T18:54:33.119Z] 068e3616b441: Pushed [2023-01-03T18:54:33.702Z] fff849d66c39: Pushed [2023-01-03T18:54:39.039Z] ac8a69cf8da3: Pushed [2023-01-03T18:54:39.039Z] b747fdb0f46d56fab49edbd998369f5c6173beb1: digest: sha256:938d3e3b89b1a6cf556c0d9b5b66a65857a0a2a7e235542dbb68b5c9530a4db4 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:39.393Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:39.737Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-03T18:54:39.738Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-03T18:54:39.738Z] 068e3616b441: Preparing [2023-01-03T18:54:39.738Z] d03df5aa6d01: Preparing [2023-01-03T18:54:39.738Z] ac8a69cf8da3: Preparing [2023-01-03T18:54:39.738Z] fff849d66c39: Preparing [2023-01-03T18:54:39.738Z] 28c3ef001483: Preparing [2023-01-03T18:54:39.738Z] d03df5aa6d01: Layer already exists [2023-01-03T18:54:39.738Z] 28c3ef001483: Layer already exists [2023-01-03T18:54:39.738Z] 068e3616b441: Layer already exists [2023-01-03T18:54:39.738Z] fff849d66c39: Layer already exists [2023-01-03T18:54:39.738Z] ac8a69cf8da3: Layer already exists [2023-01-03T18:54:39.738Z] latest: digest: sha256:938d3e3b89b1a6cf556c0d9b5b66a65857a0a2a7e235542dbb68b5c9530a4db4 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:40.359Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:40.711Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.3 [2023-01-03T18:54:40.711Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-03T18:54:40.711Z] 068e3616b441: Preparing [2023-01-03T18:54:40.711Z] d03df5aa6d01: Preparing [2023-01-03T18:54:40.711Z] ac8a69cf8da3: Preparing [2023-01-03T18:54:40.711Z] fff849d66c39: Preparing [2023-01-03T18:54:40.711Z] 28c3ef001483: Preparing [2023-01-03T18:54:40.711Z] 28c3ef001483: Layer already exists [2023-01-03T18:54:40.711Z] fff849d66c39: Layer already exists [2023-01-03T18:54:40.711Z] 068e3616b441: Layer already exists [2023-01-03T18:54:40.711Z] ac8a69cf8da3: Layer already exists [2023-01-03T18:54:40.711Z] d03df5aa6d01: Layer already exists [2023-01-03T18:54:40.711Z] 3.0.0-dev.3: digest: sha256:938d3e3b89b1a6cf556c0d9b5b66a65857a0a2a7e235542dbb68b5c9530a4db4 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:41.382Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:41.733Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:54:41.733Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-03T18:54:41.733Z] 068e3616b441: Preparing [2023-01-03T18:54:41.733Z] d03df5aa6d01: Preparing [2023-01-03T18:54:41.733Z] ac8a69cf8da3: Preparing [2023-01-03T18:54:41.733Z] fff849d66c39: Preparing [2023-01-03T18:54:41.733Z] 28c3ef001483: Preparing [2023-01-03T18:54:41.733Z] fff849d66c39: Layer already exists [2023-01-03T18:54:41.733Z] ac8a69cf8da3: Layer already exists [2023-01-03T18:54:41.733Z] 28c3ef001483: Layer already exists [2023-01-03T18:54:41.733Z] 068e3616b441: Layer already exists [2023-01-03T18:54:41.733Z] d03df5aa6d01: Layer already exists [2023-01-03T18:54:42.008Z] b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3: digest: sha256:938d3e3b89b1a6cf556c0d9b5b66a65857a0a2a7e235542dbb68b5c9530a4db4 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:42.373Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:42.718Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-01-03T18:54:42.718Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-03T18:54:42.718Z] 068e3616b441: Preparing [2023-01-03T18:54:42.718Z] d03df5aa6d01: Preparing [2023-01-03T18:54:42.718Z] ac8a69cf8da3: Preparing [2023-01-03T18:54:42.718Z] fff849d66c39: Preparing [2023-01-03T18:54:42.718Z] 28c3ef001483: Preparing [2023-01-03T18:54:42.718Z] d03df5aa6d01: Layer already exists [2023-01-03T18:54:42.718Z] 28c3ef001483: Layer already exists [2023-01-03T18:54:42.718Z] 068e3616b441: Layer already exists [2023-01-03T18:54:42.718Z] fff849d66c39: Layer already exists [2023-01-03T18:54:42.718Z] ac8a69cf8da3: Layer already exists [2023-01-03T18:54:42.987Z] main: digest: sha256:938d3e3b89b1a6cf556c0d9b5b66a65857a0a2a7e235542dbb68b5c9530a4db4 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-03T18:54:43.038Z] ===================================================== [Pipeline] echo [2023-01-03T18:54:43.045Z] taggedImages: [2023-01-03T18:54:43.045Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1 [2023-01-03T18:54:43.045Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-03T18:54:43.045Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.3 [2023-01-03T18:54:43.045Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b747fdb0f46d56fab49edbd998369f5c6173beb1-3.0.0-dev.3 [2023-01-03T18:54:43.045Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:43.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:54:43.401Z] [2023-01-03T18:54:43.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:54:43.741Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:54:43.741Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:54:43.741Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:54:43.741Z] 04944245beec: Pulling fs layer [2023-01-03T18:54:43.741Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:54:43.741Z] 765212b225bb: Pulling fs layer [2023-01-03T18:54:43.741Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:54:43.741Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:54:43.741Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:54:43.741Z] f23df028b6ca: Waiting [2023-01-03T18:54:43.741Z] d65c8cfc05b1: Waiting [2023-01-03T18:54:43.741Z] 2437ff75d9bd: Waiting [2023-01-03T18:54:43.741Z] 765212b225bb: Waiting [2023-01-03T18:54:44.011Z] 04944245beec: Verifying Checksum [2023-01-03T18:54:44.011Z] 04944245beec: Download complete [2023-01-03T18:54:44.011Z] 765212b225bb: Verifying Checksum [2023-01-03T18:54:44.011Z] 765212b225bb: Download complete [2023-01-03T18:54:44.011Z] f23df028b6ca: Download complete [2023-01-03T18:54:44.281Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T18:54:44.281Z] d65c8cfc05b1: Download complete [2023-01-03T18:54:44.281Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:54:44.281Z] 699f458cf7ca: Download complete [2023-01-03T18:54:44.551Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:54:44.551Z] 8998bd30e6a1: Download complete [2023-01-03T18:54:47.142Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:54:47.142Z] 2437ff75d9bd: Download complete [2023-01-03T18:54:48.554Z] 8998bd30e6a1: Pull complete [2023-01-03T18:54:49.139Z] 04944245beec: Pull complete [2023-01-03T18:54:50.549Z] 699f458cf7ca: Pull complete [2023-01-03T18:54:50.549Z] 765212b225bb: Pull complete [2023-01-03T18:54:51.510Z] f23df028b6ca: Pull complete [2023-01-03T18:54:51.777Z] d65c8cfc05b1: Pull complete [2023-01-03T18:55:04.082Z] 2437ff75d9bd: Pull complete [2023-01-03T18:55:04.082Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:55:04.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:55:04.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:55:04.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-943 does not seem to be running inside a container [2023-01-03T18:55:04.323Z] $ 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-modbus-go/69 -v /w/workspace/device-modbus-go/69:/w/workspace/device-modbus-go/69:rw,z -v /w/workspace/device-modbus-go/69@tmp:/w/workspace/device-modbus-go/69@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:55:06.870Z] $ docker top 8ef28dadbe4ebfee108c1b0b6437dd926754030257a55294b8291a94b5e1a601 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:55:07.718Z] ---> job-cost.sh [2023-01-03T18:55:07.718Z] lf-activate-venv: SKIPPING [2023-01-03T18:55:07.718Z] INFO: No Stack... [2023-01-03T18:55:08.301Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:55:08.885Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:55:09.523Z] + cat /w/workspace/device-modbus-go/69/archives/cost.csv [2023-01-03T18:55:09.523Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:55:09.597Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [2023-01-03T18:55:09.602Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] did not exist. Created. [2023-01-03T18:55:09.603Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:55:10.268Z] /w/workspace/device-modbus-go/69@tmp/durable-5ad8c4e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:55:10.918Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:55:10.943Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:55:10.995Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:55:11.002Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-69-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:55:11.021Z] $ docker stop --time=1 8ef28dadbe4ebfee108c1b0b6437dd926754030257a55294b8291a94b5e1a601 [2023-01-03T18:55:12.530Z] $ docker rm -f --volumes 8ef28dadbe4ebfee108c1b0b6437dd926754030257a55294b8291a94b5e1a601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-03T18:55:12.962Z] provisioning config files... [2023-01-03T18:55:12.969Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12871297846660745019tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:55:13.263Z] + set +x [2023-01-03T18:55:13.263Z] + curl -s https://codecov.io/bash [2023-01-03T18:55:13.263Z] + bash -s -- [2023-01-03T18:55:13.263Z] [2023-01-03T18:55:13.263Z] _____ _ [2023-01-03T18:55:13.263Z] / ____| | | [2023-01-03T18:55:13.263Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:55:13.263Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:55:13.263Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:55:13.263Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:55:13.263Z] Bash-1.0.6 [2023-01-03T18:55:13.263Z] [2023-01-03T18:55:13.263Z] [2023-01-03T18:55:13.263Z] ==> git version 2.25.1 found [2023-01-03T18:55:13.263Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-03T18:55:13.263Z] Release-Date: 2020-01-08 [2023-01-03T18:55:13.263Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:55:13.263Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:55:13.263Z] ==> Jenkins CI detected. [2023-01-03T18:55:13.263Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-01-03T18:55:13.263Z] project root: . [2023-01-03T18:55:13.263Z] --> token set from env [2023-01-03T18:55:13.263Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:55:13.263Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:55:13.263Z] ==> Python coveragepy not found [2023-01-03T18:55:13.263Z] ==> Searching for coverage reports in: [2023-01-03T18:55:13.263Z] + . [2023-01-03T18:55:13.263Z] -> Found 1 reports [2023-01-03T18:55:13.263Z] ==> Detecting git/mercurial file structure [2023-01-03T18:55:13.522Z] ==> Reading reports [2023-01-03T18:55:13.522Z] + ./coverage.out bytes=23241 [2023-01-03T18:55:13.522Z] ==> Appending adjustments [2023-01-03T18:55:13.522Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:55:13.522Z] + Found adjustments [2023-01-03T18:55:13.522Z] ==> Gzipping contents [2023-01-03T18:55:13.522Z] 4.0K /tmp/codecov.qpO8f1.gz [2023-01-03T18:55:13.522Z] ==> Uploading reports [2023-01-03T18:55:13.522Z] url: https://codecov.io [2023-01-03T18:55:13.522Z] query: branch=main&commit=b747fdb0f46d56fab49edbd998369f5c6173beb1&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-03T18:55:13.522Z] -> Pinging Codecov [2023-01-03T18:55:13.522Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=b747fdb0f46d56fab49edbd998369f5c6173beb1&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-03T18:55:13.781Z] -> Uploading to [2023-01-03T18:55:13.781Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/55DBCA73C666E3227836607328DD7E49/b747fdb0f46d56fab49edbd998369f5c6173beb1/17b29740-3e93-4ea9-b8ea-398a297ec86a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T185513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0d3a3f6eff6f7afe7d84813a68bf3bf123ca136d0d2feee2862acdf10d3c1af [2023-01-03T18:55:13.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:55:13.781Z] Dload Upload Total Spent Left Speed [2023-01-03T18:55:14.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 16578 --:--:-- --:--:-- --:--:-- 16578 [2023-01-03T18:55:14.040Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] } [2023-01-03T18:55:14.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-03T18:55:14.272Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-03T18:55:14.285Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:55:14.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:55:14.585Z] [2023-01-03T18:55:14.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:55:14.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:55:14.879Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-03T18:55:14.879Z] df9b9388f04a: Pulling fs layer [2023-01-03T18:55:14.880Z] 52dc419b0ee2: Pulling fs layer [2023-01-03T18:55:14.880Z] 25bc292e5bac: Pulling fs layer [2023-01-03T18:55:14.880Z] 114826534d7a: Pulling fs layer [2023-01-03T18:55:14.880Z] 4657fd5d0bcf: Pulling fs layer [2023-01-03T18:55:14.880Z] 6ad1cebc031e: Pulling fs layer [2023-01-03T18:55:14.880Z] 8a3aa393b2d8: Pulling fs layer [2023-01-03T18:55:14.880Z] 4657fd5d0bcf: Waiting [2023-01-03T18:55:14.880Z] 8a3aa393b2d8: Waiting [2023-01-03T18:55:14.880Z] 6ad1cebc031e: Waiting [2023-01-03T18:55:14.880Z] 114826534d7a: Waiting [2023-01-03T18:55:14.880Z] 25bc292e5bac: Verifying Checksum [2023-01-03T18:55:14.880Z] 25bc292e5bac: Download complete [2023-01-03T18:55:14.880Z] 52dc419b0ee2: Verifying Checksum [2023-01-03T18:55:14.880Z] 52dc419b0ee2: Download complete [2023-01-03T18:55:14.880Z] 4657fd5d0bcf: Download complete [2023-01-03T18:55:14.880Z] df9b9388f04a: Download complete [2023-01-03T18:55:15.138Z] 6ad1cebc031e: Verifying Checksum [2023-01-03T18:55:15.138Z] 6ad1cebc031e: Download complete [2023-01-03T18:55:15.138Z] df9b9388f04a: Pull complete [2023-01-03T18:55:15.138Z] 52dc419b0ee2: Pull complete [2023-01-03T18:55:15.397Z] 25bc292e5bac: Pull complete [2023-01-03T18:55:15.965Z] 8a3aa393b2d8: Verifying Checksum [2023-01-03T18:55:15.965Z] 8a3aa393b2d8: Download complete [2023-01-03T18:55:15.965Z] 114826534d7a: Verifying Checksum [2023-01-03T18:55:15.965Z] 114826534d7a: Download complete [2023-01-03T18:55:19.249Z] 114826534d7a: Pull complete [2023-01-03T18:55:19.509Z] 4657fd5d0bcf: Pull complete [2023-01-03T18:55:19.767Z] 6ad1cebc031e: Pull complete [2023-01-03T18:55:22.294Z] 8a3aa393b2d8: Pull complete [2023-01-03T18:55:22.294Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-03T18:55:22.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-03T18:55:22.294Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:55:22.377Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:55:22.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-03T18:55:28.231Z] $ docker top 1ab078c7ea4cb71307fdd75c13c55d24fc337cfcd599d62de3d8a5985b67449a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-03T18:55:28.296Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-01-03T18:55:28.572Z] + set -o pipefail [2023-01-03T18:55:28.572Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/9038ba6f-56ed-4969-8c94-c7e7a40f1833 [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] [2023-01-03T18:55:35.144Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-03T18:55:35.144Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-03T18:55:35.144Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-03T18:55:35.157Z] $ docker stop --time=1 1ab078c7ea4cb71307fdd75c13c55d24fc337cfcd599d62de3d8a5985b67449a [2023-01-03T18:55:40.351Z] $ docker rm -f --volumes 1ab078c7ea4cb71307fdd75c13c55d24fc337cfcd599d62de3d8a5985b67449a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:55:41.071Z] + git log --format=format:%s -1 b747fdb0f46d56fab49edbd998369f5c6173beb1 [Pipeline] sh [2023-01-03T18:55:41.359Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:55:41.359Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:55:41.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:55:41.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:55:41.725Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:55:41.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:55:42.278Z] $ docker top d626d1c4ffaa263450210c9f7b8878cde4606938b37ac6a1b864fda66352eb06 -eo pid,comm [2023-01-03T18:55:42.325Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:55:42.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:55:42.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:55:42.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:55:42.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:55:42.468Z] $ docker exec d626d1c4ffaa263450210c9f7b8878cde4606938b37ac6a1b864fda66352eb06 ssh-agent [2023-01-03T18:55:42.585Z] SSH_AUTH_SOCK=/tmp/ssh-iMHddC0Kn9Mt/agent.33 [2023-01-03T18:55:42.585Z] SSH_AGENT_PID=39 [2023-01-03T18:55:42.589Z] Running ssh-add (command line suppressed) [2023-01-03T18:55:42.705Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7480296583894163434.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7480296583894163434.key) [2023-01-03T18:55:42.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:55:43.011Z] + git semver tag [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,179 [run_tag] DEBUG tag force:False [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,179 [check_head_tag] DEBUG check head tag [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,180 [execute] INFO git cat-file --batch-check [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,183 [execute] INFO git cat-file --batch [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,196 [execute] INFO git tag -a v3.0.0-dev.3 -m v3.0.0-dev.3 [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,196 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.3', '-m', 'v3.0.0-dev.3'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:55:43.270Z] 2023-01-03 18:55:43,199 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:55:43.270Z] 3.0.0-dev.3 [Pipeline] } [2023-01-03T18:55:43.280Z] $ docker exec --env ******** --env ******** d626d1c4ffaa263450210c9f7b8878cde4606938b37ac6a1b864fda66352eb06 ssh-agent -k [2023-01-03T18:55:43.376Z] unset SSH_AUTH_SOCK; [2023-01-03T18:55:43.377Z] unset SSH_AGENT_PID; [2023-01-03T18:55:43.377Z] echo Agent pid 39 killed; [2023-01-03T18:55:43.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:55:43.693Z] + git semver [Pipeline] } [2023-01-03T18:55:43.963Z] $ docker stop --time=1 d626d1c4ffaa263450210c9f7b8878cde4606938b37ac6a1b864fda66352eb06 [2023-01-03T18:55:45.230Z] $ docker rm -f --volumes d626d1c4ffaa263450210c9f7b8878cde4606938b37ac6a1b864fda66352eb06 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:55:45.621Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:55:45.621Z] [2023-01-03T18:55:45.621Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:55:45.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:55:45.916Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-03T18:55:45.916Z] ab5ef0e58194: Pulling fs layer [2023-01-03T18:55:45.916Z] 9712f1f96733: Pulling fs layer [2023-01-03T18:55:45.916Z] 63f879dbbcfc: Pulling fs layer [2023-01-03T18:55:45.916Z] 0d9ebad4ef96: Pulling fs layer [2023-01-03T18:55:45.916Z] e9a5061849ea: Pulling fs layer [2023-01-03T18:55:45.916Z] d747dcd14b5f: Pulling fs layer [2023-01-03T18:55:45.916Z] 2de7ff778b66: Pulling fs layer [2023-01-03T18:55:45.916Z] 0d9ebad4ef96: Waiting [2023-01-03T18:55:45.916Z] e9a5061849ea: Waiting [2023-01-03T18:55:45.916Z] d747dcd14b5f: Waiting [2023-01-03T18:55:45.916Z] 2de7ff778b66: Waiting [2023-01-03T18:55:45.916Z] 9712f1f96733: Verifying Checksum [2023-01-03T18:55:45.916Z] 9712f1f96733: Download complete [2023-01-03T18:55:46.513Z] 63f879dbbcfc: Verifying Checksum [2023-01-03T18:55:46.513Z] 63f879dbbcfc: Download complete [2023-01-03T18:55:46.513Z] e9a5061849ea: Verifying Checksum [2023-01-03T18:55:46.513Z] e9a5061849ea: Download complete [2023-01-03T18:55:46.513Z] d747dcd14b5f: Verifying Checksum [2023-01-03T18:55:46.513Z] d747dcd14b5f: Download complete [2023-01-03T18:55:46.776Z] ab5ef0e58194: Verifying Checksum [2023-01-03T18:55:46.776Z] ab5ef0e58194: Download complete [2023-01-03T18:55:46.776Z] 0d9ebad4ef96: Verifying Checksum [2023-01-03T18:55:46.776Z] 0d9ebad4ef96: Download complete [2023-01-03T18:55:46.776Z] 2de7ff778b66: Verifying Checksum [2023-01-03T18:55:46.776Z] 2de7ff778b66: Download complete [2023-01-03T18:55:49.301Z] ab5ef0e58194: Pull complete [2023-01-03T18:55:49.559Z] 9712f1f96733: Pull complete [2023-01-03T18:55:50.125Z] 63f879dbbcfc: Pull complete [2023-01-03T18:55:54.311Z] 0d9ebad4ef96: Pull complete [2023-01-03T18:55:54.311Z] e9a5061849ea: Pull complete [2023-01-03T18:55:54.311Z] d747dcd14b5f: Pull complete [2023-01-03T18:55:55.246Z] 2de7ff778b66: Pull complete [2023-01-03T18:55:55.246Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-03T18:55:55.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-03T18:55:55.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:55:55.322Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:55:55.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-03T18:56:02.297Z] $ docker top 6a09da2bcba0b299dd9973e3fdb6d862cb4628d5ec8d61d61cee52085fb11b03 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:56:02.373Z] provisioning config files... [2023-01-03T18:56:02.379Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7800169734126155929tmp [2023-01-03T18:56:02.388Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17174618109839031302tmp [2023-01-03T18:56:02.396Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13128147593943133385tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:56:02.413Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:02.696Z] ---> sigul-configuration.sh [2023-01-03T18:56:02.696Z] gpg: directory `/root/.gnupg' created [2023-01-03T18:56:02.696Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-03T18:56:02.696Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-03T18:56:02.696Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-03T18:56:02.696Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-03T18:56:02.696Z] gpg: CAST5 encrypted data [2023-01-03T18:56:02.696Z] gpg: encrypted with 1 passphrase [2023-01-03T18:56:02.696Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-03T18:56:02.982Z] + mkdir /home/jenkins [2023-01-03T18:56:02.982Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-03T18:56:03.266Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-03T18:56:03.273Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:03.551Z] ---> sigul-install.sh [2023-01-03T18:56:03.552Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-03T18:56:03.844Z] + git tag --list [2023-01-03T18:56:03.844Z] 0.7.1 [2023-01-03T18:56:03.844Z] v1.0.0 [2023-01-03T18:56:03.844Z] v1.1.0 [2023-01-03T18:56:03.844Z] v1.1.1 [2023-01-03T18:56:03.844Z] v1.2.2 [2023-01-03T18:56:03.844Z] v1.3.0 [2023-01-03T18:56:03.844Z] v1.3.1 [2023-01-03T18:56:03.844Z] v2.0.0 [2023-01-03T18:56:03.844Z] v2.1.0 [2023-01-03T18:56:03.844Z] v2.1.1 [2023-01-03T18:56:03.844Z] v2.1.1-dev.1 [2023-01-03T18:56:03.844Z] v2.1.1-dev.2 [2023-01-03T18:56:03.844Z] v2.1.1-dev.3 [2023-01-03T18:56:03.844Z] v2.2.0 [2023-01-03T18:56:03.844Z] v2.2.1-dev.1 [2023-01-03T18:56:03.844Z] v2.2.1-dev.2 [2023-01-03T18:56:03.844Z] v2.2.1-dev.3 [2023-01-03T18:56:03.844Z] v2.2.1-dev.4 [2023-01-03T18:56:03.844Z] v2.2.1-dev.5 [2023-01-03T18:56:03.844Z] v2.2.1-dev.6 [2023-01-03T18:56:03.844Z] v2.2.1-dev.7 [2023-01-03T18:56:03.844Z] v2.3.0 [2023-01-03T18:56:03.844Z] v2.3.0-dev.10 [2023-01-03T18:56:03.844Z] v2.3.0-dev.11 [2023-01-03T18:56:03.844Z] v2.3.0-dev.12 [2023-01-03T18:56:03.844Z] v2.3.0-dev.13 [2023-01-03T18:56:03.844Z] v2.3.0-dev.14 [2023-01-03T18:56:03.844Z] v2.3.0-dev.15 [2023-01-03T18:56:03.844Z] v2.3.0-dev.16 [2023-01-03T18:56:03.844Z] v2.3.0-dev.17 [2023-01-03T18:56:03.844Z] v2.3.0-dev.18 [2023-01-03T18:56:03.844Z] v2.3.0-dev.19 [2023-01-03T18:56:03.844Z] v2.3.0-dev.20 [2023-01-03T18:56:03.844Z] v2.3.0-dev.21 [2023-01-03T18:56:03.844Z] v2.3.0-dev.22 [2023-01-03T18:56:03.844Z] v2.3.0-dev.23 [2023-01-03T18:56:03.844Z] v2.3.0-dev.24 [2023-01-03T18:56:03.844Z] v2.3.0-dev.25 [2023-01-03T18:56:03.844Z] v2.3.0-dev.7 [2023-01-03T18:56:03.844Z] v2.3.0-dev.8 [2023-01-03T18:56:03.844Z] v2.3.0-dev.9 [2023-01-03T18:56:03.844Z] v3.0.0-dev.1 [2023-01-03T18:56:03.844Z] v3.0.0-dev.2 [2023-01-03T18:56:03.844Z] v3.0.0-dev.3 [Pipeline] sh [2023-01-03T18:56:04.128Z] + lftools sign git-tag v3.0.0-dev.3 [2023-01-03T18:56:04.695Z] Signing Git tag with Sigul... [2023-01-03T18:56:04.695Z] Signing v3.0.0-dev.3 [Pipeline] echo [2023-01-03T18:56:04.962Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:05.246Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-03T18:56:05.253Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-03T18:56:05.270Z] $ docker stop --time=1 6a09da2bcba0b299dd9973e3fdb6d862cb4628d5ec8d61d61cee52085fb11b03 [2023-01-03T18:56:06.593Z] $ docker rm -f --volumes 6a09da2bcba0b299dd9973e3fdb6d862cb4628d5ec8d61d61cee52085fb11b03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-03T18:56:07.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:56:07.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:56:07.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:56:07.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:56:07.366Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:56:07.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:56:07.723Z] $ docker top 06e1a3b22e9c8106cd7ccfe71fe26350c1aa0cd41a3219d253405b0a7cfa7d3c -eo pid,comm [2023-01-03T18:56:07.774Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:56:07.774Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:56:07.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:56:07.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:56:07.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:56:07.967Z] $ docker exec 06e1a3b22e9c8106cd7ccfe71fe26350c1aa0cd41a3219d253405b0a7cfa7d3c ssh-agent [2023-01-03T18:56:08.096Z] SSH_AUTH_SOCK=/tmp/ssh-Yl5Vg7ljUyVd/agent.32 [2023-01-03T18:56:08.096Z] SSH_AGENT_PID=38 [2023-01-03T18:56:08.108Z] Running ssh-add (command line suppressed) [2023-01-03T18:56:08.200Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12369683895941903023.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12369683895941903023.key) [2023-01-03T18:56:08.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:56:08.526Z] + git semver bump pre [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,693 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,694 [bump_version] DEBUG bumping version:3.0.0-dev.3 on axis:pre with prefix:dev [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,694 [bump_version] DEBUG bumped version:3.0.0-dev.4 [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,694 [write_version] DEBUG write version:3.0.0-dev.4 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,694 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,694 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,695 [execute] INFO git cat-file --batch-check [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,701 [execute] INFO git cat-file --batch [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:56:08.786Z] 2023-01-03 18:56:08,706 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:56:08.786Z] 3.0.0-dev.4 [Pipeline] } [2023-01-03T18:56:08.795Z] $ docker exec --env ******** --env ******** 06e1a3b22e9c8106cd7ccfe71fe26350c1aa0cd41a3219d253405b0a7cfa7d3c ssh-agent -k [2023-01-03T18:56:08.893Z] unset SSH_AUTH_SOCK; [2023-01-03T18:56:08.893Z] unset SSH_AGENT_PID; [2023-01-03T18:56:08.893Z] echo Agent pid 38 killed; [2023-01-03T18:56:08.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:56:09.196Z] + git semver [Pipeline] } [2023-01-03T18:56:09.467Z] $ docker stop --time=1 06e1a3b22e9c8106cd7ccfe71fe26350c1aa0cd41a3219d253405b0a7cfa7d3c [2023-01-03T18:56:10.731Z] $ docker rm -f --volumes 06e1a3b22e9c8106cd7ccfe71fe26350c1aa0cd41a3219d253405b0a7cfa7d3c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:56:11.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:56:11.064Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:56:11.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:56:11.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:56:11.428Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:56:11.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:56:11.821Z] $ docker top bcd3ed2cebba8329e1ca374217b1df4efab06a3a4a96bc2bbed4816afbf4bdc8 -eo pid,comm [2023-01-03T18:56:11.868Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-03T18:56:11.868Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:56:11.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:56:11.899Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:56:12.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:56:12.012Z] $ docker exec bcd3ed2cebba8329e1ca374217b1df4efab06a3a4a96bc2bbed4816afbf4bdc8 ssh-agent [2023-01-03T18:56:12.120Z] SSH_AUTH_SOCK=/tmp/ssh-89v7t0hNDOym/agent.31 [2023-01-03T18:56:12.120Z] SSH_AGENT_PID=37 [2023-01-03T18:56:12.124Z] Running ssh-add (command line suppressed) [2023-01-03T18:56:12.218Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14271946910016278063.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14271946910016278063.key) [2023-01-03T18:56:12.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:56:12.515Z] + git semver push [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,684 [run_push] DEBUG push [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,685 [execute] INFO git cat-file --batch-check [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,689 [execute] INFO git rev-list 62451938ec3460548744f6f1a82fdb9694605387 -- [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,689 [execute] DEBUG Popen(['git', 'rev-list', '62451938ec3460548744f6f1a82fdb9694605387', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,697 [execute] INFO git fetch -v origin [2023-01-03T18:56:12.774Z] 2023-01-03 18:56:12,697 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-03T18:56:13.342Z] 2023-01-03 18:56:13,200 [run_push] DEBUG no remote changes detected [2023-01-03T18:56:13.342Z] 2023-01-03 18:56:13,200 [execute] INFO git push origin semver [2023-01-03T18:56:13.342Z] 2023-01-03 18:56:13,201 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:56:14.280Z] 2023-01-03 18:56:14,026 [run_push] DEBUG push all version tags [2023-01-03T18:56:14.280Z] 2023-01-03 18:56:14,026 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-03T18:56:14.280Z] 2023-01-03 18:56:14,026 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:56:15.215Z] 2023-01-03 18:56:15,123 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-03T18:56:15.215Z] 3.0.0-dev.4 [Pipeline] } [2023-01-03T18:56:15.225Z] $ docker exec --env ******** --env ******** bcd3ed2cebba8329e1ca374217b1df4efab06a3a4a96bc2bbed4816afbf4bdc8 ssh-agent -k [2023-01-03T18:56:15.337Z] unset SSH_AUTH_SOCK; [2023-01-03T18:56:15.338Z] unset SSH_AGENT_PID; [2023-01-03T18:56:15.338Z] echo Agent pid 37 killed; [2023-01-03T18:56:15.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:56:15.650Z] + git semver [Pipeline] } [2023-01-03T18:56:15.923Z] $ docker stop --time=1 bcd3ed2cebba8329e1ca374217b1df4efab06a3a4a96bc2bbed4816afbf4bdc8 [2023-01-03T18:56:17.238Z] $ docker rm -f --volumes bcd3ed2cebba8329e1ca374217b1df4efab06a3a4a96bc2bbed4816afbf4bdc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-03T18:56:17.833Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-01-03T18:56:17.833Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-03T18:56:17.833Z] total 16 [2023-01-03T18:56:17.833Z] drwxr-xr-x 3 root root 4096 Jan 3 18:46 . [2023-01-03T18:56:17.833Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:56 .. [2023-01-03T18:56:17.833Z] drwxr-xr-x 2 root root 4096 Jan 3 18:46 cost [2023-01-03T18:56:17.833Z] -rw-r--r-- 1 root root 87 Jan 3 18:46 cost.csv [2023-01-03T18:56:17.833Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-03T18:56:17.834Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-03T18:56:17.834Z] total 16 [2023-01-03T18:56:17.834Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:46 . [2023-01-03T18:56:17.834Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:56 .. [2023-01-03T18:56:17.834Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:46 cost [2023-01-03T18:56:17.834Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 3 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:18.124Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:18.983Z] ---> package-listing.sh [2023-01-03T18:56:18.983Z] ++ facter osfamily [2023-01-03T18:56:18.983Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:56:19.242Z] + OS_FAMILY=debian [2023-01-03T18:56:19.242Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-01-03T18:56:19.242Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:56:19.242Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:56:19.242Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:56:19.242Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:56:19.242Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-03T18:56:19.242Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:56:19.242Z] + case "${OS_FAMILY}" in [2023-01-03T18:56:19.242Z] + dpkg -l [2023-01-03T18:56:19.242Z] + grep '^ii' [2023-01-03T18:56:19.242Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:56:19.242Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:56:19.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:56:19.242Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-03T18:56:19.242Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-01-03T18:56:19.242Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-01-03T18:56:19.252Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T18:56:19.529Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:56:20.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:56:20.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:56:20.201Z] prd-ubuntu20.04-docker-8c-8g-940 does not seem to be running inside a container [2023-01-03T18:56:20.234Z] $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:56:21.073Z] $ docker top 34baf222d93f2c9e6c78e29ca42c37e4cf7fe6430cd6e883f02877260f168290 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:56:21.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:56:21.708Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:56:21.991Z] + ls /var/log/sa-host [2023-01-03T18:56:21.991Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:56:22.065Z] provisioning config files... [2023-01-03T18:56:22.072Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13132294836033443461tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:56:22.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:22.434Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:56:22.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:22.845Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:56:22.859Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:23.139Z] ---> sudo-logs.sh [2023-01-03T18:56:23.139Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:56:23.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:23.451Z] ---> job-cost.sh [2023-01-03T18:56:23.451Z] lf-activate-venv: SKIPPING [2023-01-03T18:56:23.451Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:56:23.451Z] INFO: Retrieving Stack Cost... [2023-01-03T18:56:24.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:56:24.276Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:56:24.289Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:56:24.568Z] ---> logs-deploy.sh [2023-01-03T18:56:24.568Z] lf-activate-venv: SKIPPING [2023-01-03T18:56:24.568Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/69 [2023-01-03T18:56:24.568Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:56:25.547Z] Archives upload complete. [2023-01-03T18:56:25.547Z] INFO: archiving logs to Nexus