Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05607db3767b12e2b1688c1d4c1138f7ff4649fd 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-ssh6794315004120336013.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-ssh6853414814201321302.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-ssh5211084105317611167.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-ssh4570309667202167780.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-ssh9939153985755159653.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5004 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 05607db3767b12e2b1688c1d4c1138f7ff4649fd (main) Commit message: "feat!: Use latest SDK for MessageBus Request API (#408)" > 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 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 > git rev-list --no-walk 3e881fe54d34e3489b353c0554336186a92f7554 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T22:45:31.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:45:31.062Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:45:31.075Z] ========================================================= [2023-02-07T22:45:31.075Z] EdgeX Global Pipelines Version Info [2023-02-07T22:45:31.075Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:31.777Z] ------------------- [2023-02-07T22:45:31.777Z] stable info: [2023-02-07T22:45:31.777Z] ------------------- [2023-02-07T22:45:31.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:45:31.777Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:45:31.777Z] Message: update stable to v1.0.244 [2023-02-07T22:45:32.345Z] ------------------- [2023-02-07T22:45:32.345Z] experimental info: [2023-02-07T22:45:32.345Z] ------------------- [2023-02-07T22:45:32.345Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:45:32.345Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:45:32.345Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:45:32.504Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-02-07T22:45:32.517Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-02-07T22:45:32.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:45:32.540Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:45:32.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:45:32.563Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:45:32.574Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:45:32.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:45:32.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:45:32.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:45:32.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:45:32.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-02-07T22:45:32.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:45:32.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:45:32.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:45:32.666Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:45:32.678Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:45:32.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:45:32.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:45:32.733Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:45:32.745Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T22:45:32.761Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T22:45:32.771Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:45:32.785Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:45:32.796Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:45:32.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:45:32.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:45:32.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-07T22:45:32.843Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-07T22:45:32.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-07T22:45:32.929Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] echo [2023-02-07T22:45:32.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05607db [Pipeline] echo [2023-02-07T22:45:32.956Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:45:33.006Z] provisioning config files... [2023-02-07T22:45:33.020Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5885739309149767691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:33.322Z] ---> docker-login.sh [2023-02-07T22:45:33.322Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:45:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:34.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:34.263Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:34.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:34.263Z] [2023-02-07T22:45:34.263Z] Login Succeeded [2023-02-07T22:45:34.263Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:45:34.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:34.528Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:34.528Z] [2023-02-07T22:45:34.528Z] Login Succeeded [2023-02-07T22:45:34.528Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:45:34.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:34.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:34.528Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:34.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:34.528Z] [2023-02-07T22:45:34.528Z] Login Succeeded [2023-02-07T22:45:34.528Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:45:34.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:34.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:34.794Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:34.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:34.794Z] [2023-02-07T22:45:34.794Z] Login Succeeded [2023-02-07T22:45:34.794Z] docker.io [2023-02-07T22:45:34.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:35.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:35.078Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:35.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:35.078Z] [2023-02-07T22:45:35.078Z] Login Succeeded [2023-02-07T22:45:35.078Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:45:35.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:45:35.551Z] + git rev-list -1 --merges 05607db3767b12e2b1688c1d4c1138f7ff4649fd~1..05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] echo [2023-02-07T22:45:35.709Z] -----------> git rev-list -1 --merges 05607db3767b12e2b1688c1d4c1138f7ff4649fd~1..05607db3767b12e2b1688c1d4c1138f7ff4649fd 05607db3767b12e2b1688c1d4c1138f7ff4649fd [false] [Pipeline] sh [2023-02-07T22:45:36.019Z] + git log --format=format:%s -1 05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] echo [2023-02-07T22:45:36.031Z] ========================================================= [2023-02-07T22:45:36.031Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:45:36.031Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:45:36.361Z] + git log --format=format:%s -1 05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] echo [2023-02-07T22:45:36.372Z] [semverPrep] GIT_COMMIT: 05607db3767b12e2b1688c1d4c1138f7ff4649fd, Commit Message: feat!: Use latest SDK for MessageBus Request API (#408) [Pipeline] echo [2023-02-07T22:45:36.379Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:45:36.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:45:36.727Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:45:36.727Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:45:36.727Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:45:36.727Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:45:36.727Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:45:36.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:37.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:37.080Z] [2023-02-07T22:45:37.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:37.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:37.662Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:45:37.662Z] b85a868b505f: Pulling fs layer [2023-02-07T22:45:37.662Z] e2be974225ed: Pulling fs layer [2023-02-07T22:45:37.662Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:45:37.662Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:45:37.662Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:45:37.662Z] eaf3925da568: Pulling fs layer [2023-02-07T22:45:37.662Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:45:37.662Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:45:37.662Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:45:37.662Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:45:37.662Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:45:37.662Z] 988bab9f4d93: Waiting [2023-02-07T22:45:37.662Z] 1469e6f7b9e6: Waiting [2023-02-07T22:45:37.662Z] eaf3925da568: Waiting [2023-02-07T22:45:37.662Z] bab4dde63d76: Waiting [2023-02-07T22:45:37.662Z] bde34c3a00c8: Waiting [2023-02-07T22:45:37.662Z] b352a97aabf1: Waiting [2023-02-07T22:45:37.662Z] 4872d77fe225: Waiting [2023-02-07T22:45:37.662Z] 5851b861e8e6: Waiting [2023-02-07T22:45:37.662Z] e2be974225ed: Verifying Checksum [2023-02-07T22:45:37.662Z] e2be974225ed: Download complete [2023-02-07T22:45:37.662Z] 988bab9f4d93: Download complete [2023-02-07T22:45:37.929Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:45:37.929Z] 1469e6f7b9e6: Download complete [2023-02-07T22:45:37.929Z] eaf3925da568: Verifying Checksum [2023-02-07T22:45:37.929Z] eaf3925da568: Download complete [2023-02-07T22:45:37.929Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:45:37.929Z] 339a4e72a1f5: Download complete [2023-02-07T22:45:37.929Z] bde34c3a00c8: Verifying Checksum [2023-02-07T22:45:37.929Z] bde34c3a00c8: Download complete [2023-02-07T22:45:38.193Z] b352a97aabf1: Download complete [2023-02-07T22:45:38.193Z] 4872d77fe225: Verifying Checksum [2023-02-07T22:45:38.193Z] 4872d77fe225: Download complete [2023-02-07T22:45:38.193Z] 5851b861e8e6: Verifying Checksum [2023-02-07T22:45:38.193Z] 5851b861e8e6: Download complete [2023-02-07T22:45:38.193Z] b85a868b505f: Verifying Checksum [2023-02-07T22:45:38.193Z] b85a868b505f: Download complete [2023-02-07T22:45:38.767Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:45:38.767Z] bab4dde63d76: Download complete [2023-02-07T22:45:39.701Z] b85a868b505f: Pull complete [2023-02-07T22:45:39.701Z] e2be974225ed: Pull complete [2023-02-07T22:45:40.274Z] 339a4e72a1f5: Pull complete [2023-02-07T22:45:40.531Z] 988bab9f4d93: Pull complete [2023-02-07T22:45:41.102Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:45:41.361Z] eaf3925da568: Pull complete [2023-02-07T22:45:43.277Z] bab4dde63d76: Pull complete [2023-02-07T22:45:43.861Z] bde34c3a00c8: Pull complete [2023-02-07T22:45:44.807Z] b352a97aabf1: Pull complete [2023-02-07T22:45:45.379Z] 4872d77fe225: Pull complete [2023-02-07T22:45:45.638Z] 5851b861e8e6: Pull complete [2023-02-07T22:45:46.207Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:45:46.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:46.207Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:45:46.303Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:45:46.340Z] $ 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-02-07T22:45:52.533Z] $ docker top e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c -eo pid,comm [2023-02-07T22:45:52.589Z] 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-02-07T22:45:52.589Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:45:52.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:45:52.628Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:45:52.740Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:45:52.743Z] $ docker exec e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c ssh-agent [2023-02-07T22:45:52.848Z] SSH_AUTH_SOCK=/tmp/ssh-P9FHlCET3weT/agent.33 [2023-02-07T22:45:52.848Z] SSH_AGENT_PID=39 [2023-02-07T22:45:52.855Z] Running ssh-add (command line suppressed) [2023-02-07T22:45:52.982Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12391353169081734892.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12391353169081734892.key) [2023-02-07T22:45:52.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:45:53.291Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:45:53.303Z] $ docker exec --env ******** --env ******** e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c ssh-agent -k [2023-02-07T22:45:53.394Z] unset SSH_AUTH_SOCK; [2023-02-07T22:45:53.395Z] unset SSH_AGENT_PID; [2023-02-07T22:45:53.395Z] echo Agent pid 39 killed; [2023-02-07T22:45:53.405Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:45:53.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:45:53.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:45:53.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:45:53.552Z] $ docker exec e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c ssh-agent [2023-02-07T22:45:53.655Z] SSH_AUTH_SOCK=/tmp/ssh-xH48zVoPf15U/agent.71 [2023-02-07T22:45:53.655Z] SSH_AGENT_PID=77 [2023-02-07T22:45:53.660Z] Running ssh-add (command line suppressed) [2023-02-07T22:45:53.765Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_943458312458549621.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_943458312458549621.key) [2023-02-07T22:45:53.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:45:54.076Z] + git semver init [2023-02-07T22:45:54.335Z] 2023-02-07 22:45:54,258 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:45:54.335Z] 2023-02-07 22:45:54,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-07T22:45:54.335Z] 2023-02-07 22:45:54,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-02-07T22:45:54.335Z] 2023-02-07 22:45:54,261 [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-02-07T22:45:55.274Z] 2023-02-07 22:45:55,234 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-02-07T22:45:55.274Z] 2023-02-07 22:45:55,234 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-02-07T22:45:55.274Z] 2023-02-07 22:45:55,235 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:45:55.274Z] 2023-02-07 22:45:55,235 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:45:55.274Z] 3.0.0-dev.8 [Pipeline] } [2023-02-07T22:45:55.284Z] $ docker exec --env ******** --env ******** e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c ssh-agent -k [2023-02-07T22:45:55.383Z] unset SSH_AUTH_SOCK; [2023-02-07T22:45:55.383Z] unset SSH_AGENT_PID; [2023-02-07T22:45:55.383Z] echo Agent pid 77 killed; [2023-02-07T22:45:55.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:45:55.702Z] + git semver [Pipeline] } [2023-02-07T22:45:55.987Z] $ docker stop --time=1 e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c [2023-02-07T22:45:57.937Z] $ docker rm -f --volumes e4bff0909869b78ef0c65ea727878e6c270be20f63c779d08e9fc8f43dc7861c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:45:58.401Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:45:58.630Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:45:58.633Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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-02-07T22:45:58.767Z] provisioning config files... [2023-02-07T22:45:58.776Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15311740667968397517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:59.068Z] ---> docker-login.sh [2023-02-07T22:45:59.068Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:45:59.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:59.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:59.069Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:59.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:59.069Z] [2023-02-07T22:45:59.069Z] Login Succeeded [2023-02-07T22:45:59.069Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:45:59.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:59.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:59.069Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:59.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:59.069Z] [2023-02-07T22:45:59.069Z] Login Succeeded [2023-02-07T22:45:59.069Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:45:59.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:59.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:59.329Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:59.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:59.329Z] [2023-02-07T22:45:59.329Z] Login Succeeded [2023-02-07T22:45:59.329Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:45:59.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:59.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:59.329Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:59.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:59.329Z] [2023-02-07T22:45:59.329Z] Login Succeeded [2023-02-07T22:45:59.329Z] docker.io [2023-02-07T22:45:59.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:59.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:59.848Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:59.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:59.848Z] [2023-02-07T22:45:59.848Z] Login Succeeded [2023-02-07T22:45:59.848Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:45:59.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:45:59.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:45:59.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:45:59.930Z] ========================================================= [2023-02-07T22:45:59.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:45:59.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:46:00.245Z] + 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-02-07T22:46:00.245Z] Sending build context to Docker daemon 6.331MB [2023-02-07T22:46:00.245Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:46:00.245Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T22:46:00.509Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:46:00.509Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:46:00.509Z] 4583459ba037: Pulling fs layer [2023-02-07T22:46:00.509Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:46:00.509Z] 53926ce57604: Pulling fs layer [2023-02-07T22:46:00.509Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:46:00.509Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:46:00.509Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:46:00.510Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:46:00.510Z] a7acece74701: Pulling fs layer [2023-02-07T22:46:00.510Z] 53926ce57604: Waiting [2023-02-07T22:46:00.510Z] 21b2b0c7a3f4: Waiting [2023-02-07T22:46:00.510Z] 22ff95d597cd: Waiting [2023-02-07T22:46:00.510Z] 12d6caf4c0d1: Waiting [2023-02-07T22:46:00.510Z] 96b7cbca73a9: Waiting [2023-02-07T22:46:00.510Z] a7acece74701: Waiting [2023-02-07T22:46:00.510Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T22:46:00.510Z] 93c1e223e6f2: Download complete [2023-02-07T22:46:00.510Z] 4583459ba037: Verifying Checksum [2023-02-07T22:46:00.510Z] 4583459ba037: Download complete [2023-02-07T22:46:00.510Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T22:46:00.510Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:46:00.510Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:46:00.510Z] 22ff95d597cd: Download complete [2023-02-07T22:46:00.510Z] 213ec9aee27d: Verifying Checksum [2023-02-07T22:46:00.510Z] 213ec9aee27d: Download complete [2023-02-07T22:46:00.510Z] 12d6caf4c0d1: Verifying Checksum [2023-02-07T22:46:00.510Z] 12d6caf4c0d1: Download complete [2023-02-07T22:46:00.778Z] 213ec9aee27d: Pull complete [2023-02-07T22:46:01.071Z] 4583459ba037: Pull complete [2023-02-07T22:46:01.071Z] 93c1e223e6f2: Pull complete [2023-02-07T22:46:01.717Z] a7acece74701: Verifying Checksum [2023-02-07T22:46:01.717Z] a7acece74701: Download complete [2023-02-07T22:46:02.317Z] 53926ce57604: Verifying Checksum [2023-02-07T22:46:02.317Z] 53926ce57604: Download complete [2023-02-07T22:46:02.317Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:46:02.317Z] 96b7cbca73a9: Download complete [2023-02-07T22:46:06.503Z] 53926ce57604: Pull complete [2023-02-07T22:46:06.503Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:46:06.503Z] 22ff95d597cd: Pull complete [2023-02-07T22:46:06.503Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:46:08.404Z] 96b7cbca73a9: Pull complete [2023-02-07T22:46:08.974Z] a7acece74701: Pull complete [2023-02-07T22:46:08.974Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:46:08.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:46:08.974Z] ---> db6d94c90886 [2023-02-07T22:46:08.974Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:46:13.726Z] Still waiting to schedule task [2023-02-07T22:46:13.726Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-07T22:46:19.118Z] ---> Running in 27bca231dd53 [2023-02-07T22:46:19.118Z] Removing intermediate container 27bca231dd53 [2023-02-07T22:46:19.118Z] ---> 158cec4cd92b [2023-02-07T22:46:19.118Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:46:19.118Z] ---> Running in 355a98bba76c [2023-02-07T22:46:19.118Z] Removing intermediate container 355a98bba76c [2023-02-07T22:46:19.118Z] ---> bb4a8ab0dfcb [2023-02-07T22:46:19.118Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-07T22:46:19.118Z] ---> Running in 7517e797ba6c [2023-02-07T22:46:19.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:19.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:20.252Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-07T22:46:20.252Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-07T22:46:20.252Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-07T22:46:20.252Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:46:20.252Z] OK: 217 MiB in 59 packages [2023-02-07T22:46:22.175Z] Removing intermediate container 7517e797ba6c [2023-02-07T22:46:22.175Z] ---> 2f02e868c87c [2023-02-07T22:46:22.175Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-07T22:46:22.175Z] ---> Running in ba88056327c1 [2023-02-07T22:46:22.482Z] Removing intermediate container ba88056327c1 [2023-02-07T22:46:22.482Z] ---> 6df28c8baa7b [2023-02-07T22:46:22.482Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T22:46:22.741Z] ---> a6fd0c46d331 [2023-02-07T22:46:22.741Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:46:23.007Z] ---> Running in 20bb31cc873f [2023-02-07T22:47:09.814Z] Removing intermediate container 20bb31cc873f [2023-02-07T22:47:09.814Z] ---> b3965ffe1ec4 [2023-02-07T22:47:09.814Z] Step 9/10 : COPY . . [2023-02-07T22:47:09.814Z] ---> 29a2da8e0a3e [2023-02-07T22:47:09.814Z] Step 10/10 : RUN ${MAKE} [2023-02-07T22:47:09.814Z] ---> Running in 744d4c2a67ef [2023-02-07T22:47:09.814Z] noop [2023-02-07T22:47:09.814Z] Removing intermediate container 744d4c2a67ef [2023-02-07T22:47:09.814Z] ---> fc98c7c6b70a [2023-02-07T22:47:09.814Z] Successfully built fc98c7c6b70a [2023-02-07T22:47:09.814Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:10.140Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:47:10.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:47:10.213Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:47:10.257Z] $ 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-02-07T22:47:11.355Z] $ docker top 15150c42c472df060382507443cb34a2775e37d89e9e44a8275779be804aefa0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:47:11.784Z] + go version [2023-02-07T22:47:11.784Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:47:11.811Z] $ docker stop --time=1 15150c42c472df060382507443cb34a2775e37d89e9e44a8275779be804aefa0 [2023-02-07T22:47:13.219Z] $ docker rm -f --volumes 15150c42c472df060382507443cb34a2775e37d89e9e44a8275779be804aefa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:13.606Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:47:13.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:47:13.675Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:47:13.710Z] $ 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-02-07T22:47:14.364Z] $ docker top fd4553e24797ed3f2da53ddb7d53c86503022e90483144245df079f8a11cd2cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:47:14.698Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:47:15.016Z] + make test [2023-02-07T22:47:15.016Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:47:15.276Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-07T22:47:25.311Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-07T22:47:25.311Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.7% of statements [2023-02-07T22:47:30.583Z] 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-02-07T22:47:30.583Z] go vet ./... [2023-02-07T22:47:33.883Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:47:33.883Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:47:33.883Z] ./bin/test-attribution-txt.sh [2023-02-07T22:47:33.883Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:47:33.883Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:47:33.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:47:33.912Z] $ docker stop --time=1 fd4553e24797ed3f2da53ddb7d53c86503022e90483144245df079f8a11cd2cd [2023-02-07T22:47:37.977Z] $ docker rm -f --volumes fd4553e24797ed3f2da53ddb7d53c86503022e90483144245df079f8a11cd2cd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:47:38.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:47:38.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:47:39.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:47:39.316Z] + ls -al . [2023-02-07T22:47:39.317Z] total 184 [2023-02-07T22:47:39.317Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:47 . [2023-02-07T22:47:39.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 .. [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 22:45 .dockerignore [2023-02-07T22:47:39.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:47 .git [2023-02-07T22:47:39.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 .github [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 7 22:45 .gitignore [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:45 .golangci.yml [2023-02-07T22:47:39.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:45 .semver [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 7 22:45 Attribution.txt [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 7 22:45 CHANGELOG.md [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 7 22:45 Dockerfile [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:45 GOVERNANCE.md [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:45 Jenkinsfile [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:45 LICENSE [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 7 22:45 Makefile [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 7 22:45 OWNERS.md [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 7 22:45 README.md [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION [2023-02-07T22:47:39.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 bin [2023-02-07T22:47:39.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 cmd [2023-02-07T22:47:39.317Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 7 22:47 coverage.out [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 3495 Feb 7 22:45 go.mod [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 33619 Feb 7 22:45 go.sum [2023-02-07T22:47:39.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 internal [2023-02-07T22:47:39.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 simulator [2023-02-07T22:47:39.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 snap [2023-02-07T22:47:39.317Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 7 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:39.624Z] + 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=05607db3767b12e2b1688c1d4c1138f7ff4649fd --label arch=amd64 --label version=3.0.0-dev.8 . [2023-02-07T22:47:39.624Z] Sending build context to Docker daemon 6.355MB [2023-02-07T22:47:39.624Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:47:39.624Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-07T22:47:39.624Z] ---> fc98c7c6b70a [2023-02-07T22:47:39.624Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:47:39.885Z] ---> Running in c276f8136495 [2023-02-07T22:47:40.451Z] Removing intermediate container c276f8136495 [2023-02-07T22:47:40.451Z] ---> 2a192070892e [2023-02-07T22:47:40.451Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:47:40.709Z] ---> Running in 34cbfe362306 [2023-02-07T22:47:40.967Z] Removing intermediate container 34cbfe362306 [2023-02-07T22:47:40.967Z] ---> 0bf0f18a8a1c [2023-02-07T22:47:40.967Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-07T22:47:41.534Z] ---> Running in 486b2d4a4426 [2023-02-07T22:47:42.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:42.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:42.635Z] OK: 217 MiB in 59 packages [2023-02-07T22:47:44.991Z] Removing intermediate container 486b2d4a4426 [2023-02-07T22:47:44.991Z] ---> 115b839928a4 [2023-02-07T22:47:44.991Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-07T22:47:44.991Z] ---> Running in 017bf20baea8 [2023-02-07T22:47:44.991Z] Removing intermediate container 017bf20baea8 [2023-02-07T22:47:44.991Z] ---> 2d0798d4d195 [2023-02-07T22:47:44.991Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-07T22:47:44.991Z] ---> c58437d04dec [2023-02-07T22:47:44.991Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:47:44.991Z] ---> Running in 8259ce552101 [2023-02-07T22:47:45.248Z] Removing intermediate container 8259ce552101 [2023-02-07T22:47:45.248Z] ---> 72e64a221f47 [2023-02-07T22:47:45.248Z] Step 9/22 : COPY . . [2023-02-07T22:47:45.813Z] ---> 2753761b9acf [2023-02-07T22:47:45.813Z] Step 10/22 : RUN ${MAKE} [2023-02-07T22:47:46.071Z] ---> Running in b1195a0cfbca [2023-02-07T22:47:46.329Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-07T22:48:18.416Z] Removing intermediate container b1195a0cfbca [2023-02-07T22:48:18.416Z] ---> 18fca8a1aaa0 [2023-02-07T22:48:18.416Z] Step 11/22 : FROM alpine:3.14 [2023-02-07T22:48:18.416Z] 3.14: Pulling from library/alpine [2023-02-07T22:48:18.416Z] c7ed990a2339: Pulling fs layer [2023-02-07T22:48:18.416Z] c7ed990a2339: Verifying Checksum [2023-02-07T22:48:18.416Z] c7ed990a2339: Download complete [2023-02-07T22:48:18.416Z] c7ed990a2339: Pull complete [2023-02-07T22:48:18.416Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-02-07T22:48:18.416Z] Status: Downloaded newer image for alpine:3.14 [2023-02-07T22:48:18.416Z] ---> dd53f409bf0b [2023-02-07T22:48:18.416Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-07T22:48:18.416Z] ---> Running in 2b98394ed666 [2023-02-07T22:48:18.416Z] Removing intermediate container 2b98394ed666 [2023-02-07T22:48:18.416Z] ---> 87094d87fdbe [2023-02-07T22:48:18.416Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:48:18.416Z] ---> Running in d3189bc97dc6 [2023-02-07T22:48:18.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:48:18.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:48:18.416Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:48:18.416Z] Executing busybox-1.33.1-r8.trigger [2023-02-07T22:48:18.416Z] OK: 6 MiB in 15 packages [2023-02-07T22:48:19.363Z] Removing intermediate container d3189bc97dc6 [2023-02-07T22:48:19.363Z] ---> 42bb1c04a38d [2023-02-07T22:48:19.363Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-07T22:48:21.263Z] ---> e75032074553 [2023-02-07T22:48:21.263Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-07T22:48:22.642Z] ---> 53c64bff1b11 [2023-02-07T22:48:22.642Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-07T22:48:24.015Z] ---> 13fa42c2ae55 [2023-02-07T22:48:24.015Z] Step 17/22 : EXPOSE 59901 [2023-02-07T22:48:24.015Z] ---> Running in 99450716a9a9 [2023-02-07T22:48:24.584Z] Removing intermediate container 99450716a9a9 [2023-02-07T22:48:24.584Z] ---> b18585825d80 [2023-02-07T22:48:24.584Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-07T22:48:24.841Z] ---> Running in a40c2401beb3 [2023-02-07T22:48:25.774Z] Removing intermediate container a40c2401beb3 [2023-02-07T22:48:25.774Z] ---> 430e54ffe907 [2023-02-07T22:48:25.774Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:48:25.774Z] ---> Running in 6339b745f968 [2023-02-07T22:48:26.032Z] Removing intermediate container 6339b745f968 [2023-02-07T22:48:26.032Z] ---> e9f75bc5de2f [2023-02-07T22:48:26.032Z] Step 20/22 : LABEL arch=amd64 [2023-02-07T22:48:26.032Z] ---> Running in 3e5a8d9d0b80 [2023-02-07T22:48:26.032Z] Removing intermediate container 3e5a8d9d0b80 [2023-02-07T22:48:26.032Z] ---> 8cdd6a860d6a [2023-02-07T22:48:26.032Z] Step 21/22 : LABEL git_sha=05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:48:26.032Z] ---> Running in 78df20b373e1 [2023-02-07T22:48:26.292Z] Removing intermediate container 78df20b373e1 [2023-02-07T22:48:26.292Z] ---> 974e66fa1071 [2023-02-07T22:48:26.292Z] Step 22/22 : LABEL version=3.0.0-dev.8 [2023-02-07T22:48:26.292Z] ---> Running in e7a09641cbf0 [2023-02-07T22:48:26.292Z] Removing intermediate container e7a09641cbf0 [2023-02-07T22:48:26.292Z] ---> 9dc7ef7ec411 [2023-02-07T22:48:26.292Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:48:26.292Z] Successfully built 9dc7ef7ec411 [2023-02-07T22:48:26.292Z] 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-02-07T22:48:26.408Z] provisioning config files... [2023-02-07T22:48:26.416Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12319978555861436880tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:48:26.715Z] ---> docker-login.sh [2023-02-07T22:48:26.715Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:48:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:26.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:26.715Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:26.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:26.715Z] [2023-02-07T22:48:26.715Z] Login Succeeded [2023-02-07T22:48:26.715Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:48:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:26.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:26.715Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:26.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:26.715Z] [2023-02-07T22:48:26.715Z] Login Succeeded [2023-02-07T22:48:26.715Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:48:26.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:26.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:26.988Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:26.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:26.988Z] [2023-02-07T22:48:26.988Z] Login Succeeded [2023-02-07T22:48:26.988Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:48:26.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:26.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:26.988Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:26.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:26.988Z] [2023-02-07T22:48:26.988Z] Login Succeeded [2023-02-07T22:48:26.988Z] docker.io [2023-02-07T22:48:27.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:27.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:27.506Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:27.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:27.506Z] [2023-02-07T22:48:27.506Z] Login Succeeded [2023-02-07T22:48:27.506Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:48:27.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:48:27.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:48:27.558Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-02-07T22:48:27.558Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:48:27.558Z] latest [2023-02-07T22:48:27.558Z] 3.0.0-dev.8 [2023-02-07T22:48:27.558Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:48:27.558Z] main [2023-02-07T22:48:27.558Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:27.894Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:28.216Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:48:28.217Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-07T22:48:28.217Z] e3f7963f8222: Preparing [2023-02-07T22:48:28.217Z] 2680ef82246b: Preparing [2023-02-07T22:48:28.217Z] d34966e07dd0: Preparing [2023-02-07T22:48:28.217Z] 46b110f190ea: Preparing [2023-02-07T22:48:28.217Z] 63493a9ab2d4: Preparing [2023-02-07T22:48:28.217Z] 63493a9ab2d4: Layer already exists [2023-02-07T22:48:28.483Z] 46b110f190ea: Pushed [2023-02-07T22:48:28.483Z] e3f7963f8222: Pushed [2023-02-07T22:48:28.483Z] 2680ef82246b: Pushed [2023-02-07T22:48:31.033Z] d34966e07dd0: Pushed [2023-02-07T22:48:31.033Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd: digest: sha256:c08f0381aa768552a1204d8534ac896b40161c4971948820097b8d2ef7125098 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:31.353Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:31.673Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-07T22:48:31.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-07T22:48:31.673Z] e3f7963f8222: Preparing [2023-02-07T22:48:31.673Z] 2680ef82246b: Preparing [2023-02-07T22:48:31.673Z] d34966e07dd0: Preparing [2023-02-07T22:48:31.673Z] 46b110f190ea: Preparing [2023-02-07T22:48:31.673Z] 63493a9ab2d4: Preparing [2023-02-07T22:48:31.673Z] 46b110f190ea: Layer already exists [2023-02-07T22:48:31.673Z] e3f7963f8222: Layer already exists [2023-02-07T22:48:31.673Z] d34966e07dd0: Layer already exists [2023-02-07T22:48:31.673Z] 63493a9ab2d4: Layer already exists [2023-02-07T22:48:31.673Z] 2680ef82246b: Layer already exists [2023-02-07T22:48:31.673Z] latest: digest: sha256:c08f0381aa768552a1204d8534ac896b40161c4971948820097b8d2ef7125098 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:31.999Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:32.323Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.8 [2023-02-07T22:48:32.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-07T22:48:32.323Z] e3f7963f8222: Preparing [2023-02-07T22:48:32.323Z] 2680ef82246b: Preparing [2023-02-07T22:48:32.323Z] d34966e07dd0: Preparing [2023-02-07T22:48:32.323Z] 46b110f190ea: Preparing [2023-02-07T22:48:32.323Z] 63493a9ab2d4: Preparing [2023-02-07T22:48:32.323Z] 46b110f190ea: Layer already exists [2023-02-07T22:48:32.323Z] 63493a9ab2d4: Layer already exists [2023-02-07T22:48:32.323Z] d34966e07dd0: Layer already exists [2023-02-07T22:48:32.323Z] e3f7963f8222: Layer already exists [2023-02-07T22:48:32.323Z] 2680ef82246b: Layer already exists [2023-02-07T22:48:32.323Z] 3.0.0-dev.8: digest: sha256:c08f0381aa768552a1204d8534ac896b40161c4971948820097b8d2ef7125098 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:32.630Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:32.932Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:48:32.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-07T22:48:32.932Z] e3f7963f8222: Preparing [2023-02-07T22:48:32.932Z] 2680ef82246b: Preparing [2023-02-07T22:48:32.932Z] d34966e07dd0: Preparing [2023-02-07T22:48:32.932Z] 46b110f190ea: Preparing [2023-02-07T22:48:32.932Z] 63493a9ab2d4: Preparing [2023-02-07T22:48:32.932Z] 63493a9ab2d4: Layer already exists [2023-02-07T22:48:32.932Z] e3f7963f8222: Layer already exists [2023-02-07T22:48:32.932Z] 2680ef82246b: Layer already exists [2023-02-07T22:48:32.932Z] d34966e07dd0: Layer already exists [2023-02-07T22:48:32.932Z] 46b110f190ea: Layer already exists [2023-02-07T22:48:32.932Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8: digest: sha256:c08f0381aa768552a1204d8534ac896b40161c4971948820097b8d2ef7125098 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:33.238Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:33.547Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-02-07T22:48:33.547Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-02-07T22:48:33.547Z] e3f7963f8222: Preparing [2023-02-07T22:48:33.547Z] 2680ef82246b: Preparing [2023-02-07T22:48:33.547Z] d34966e07dd0: Preparing [2023-02-07T22:48:33.547Z] 46b110f190ea: Preparing [2023-02-07T22:48:33.547Z] 63493a9ab2d4: Preparing [2023-02-07T22:48:33.547Z] 63493a9ab2d4: Layer already exists [2023-02-07T22:48:33.547Z] e3f7963f8222: Layer already exists [2023-02-07T22:48:33.547Z] d34966e07dd0: Layer already exists [2023-02-07T22:48:33.547Z] 46b110f190ea: Layer already exists [2023-02-07T22:48:33.547Z] 2680ef82246b: Layer already exists [2023-02-07T22:48:33.547Z] main: digest: sha256:c08f0381aa768552a1204d8534ac896b40161c4971948820097b8d2ef7125098 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:48:33.596Z] ===================================================== [Pipeline] echo [2023-02-07T22:48:33.605Z] taggedImages: [2023-02-07T22:48:33.605Z] - nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:48:33.605Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-02-07T22:48:33.605Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.8 [2023-02-07T22:48:33.605Z] - nexus3.edgexfoundry.org:10004/device-modbus:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:48:33.605Z] - 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-02-07T22:48:33.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:48:33.980Z] [2023-02-07T22:48:33.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:34.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:48:34.288Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:48:34.289Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:48:34.289Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:48:34.289Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:48:34.289Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:48:34.289Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:48:34.289Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:48:34.289Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:48:34.289Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:48:34.289Z] 33b1e0a273af: Waiting [2023-02-07T22:48:34.289Z] 5d3b04190fa2: Waiting [2023-02-07T22:48:34.289Z] 2f39f015ded8: Waiting [2023-02-07T22:48:34.289Z] 5c69ac0246d0: Download complete [2023-02-07T22:48:34.289Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T22:48:34.289Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:48:34.553Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:48:34.553Z] 33b1e0a273af: Download complete [2023-02-07T22:48:34.553Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T22:48:34.553Z] 5d3b04190fa2: Download complete [2023-02-07T22:48:34.553Z] ec43610c2a17: Download complete [2023-02-07T22:48:34.813Z] 5eb5b503b376: Verifying Checksum [2023-02-07T22:48:34.813Z] 5eb5b503b376: Download complete [2023-02-07T22:48:35.378Z] 2f39f015ded8: Download complete [2023-02-07T22:48:35.948Z] 5eb5b503b376: Pull complete [2023-02-07T22:48:35.948Z] 5c69ac0246d0: Pull complete [2023-02-07T22:48:36.520Z] ec43610c2a17: Pull complete [2023-02-07T22:48:36.520Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:48:36.785Z] 33b1e0a273af: Pull complete [2023-02-07T22:48:36.785Z] 5d3b04190fa2: Pull complete [2023-02-07T22:48:40.978Z] 2f39f015ded8: Pull complete [2023-02-07T22:48:40.978Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:48:40.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:48:40.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:48:41.061Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:48:41.098Z] $ 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-02-07T22:48:44.218Z] $ docker top fe153b9c966400b43fbafc1b7ef4c35963cb26ab11c41b9137990f9cd55b688c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:48:44.632Z] ---> job-cost.sh [2023-02-07T22:48:44.632Z] lf-activate-venv: SKIPPING [2023-02-07T22:48:44.632Z] INFO: No Stack... [2023-02-07T22:48:44.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:48:45.149Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:48:45.467Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-02-07T22:48:45.467Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:48:45.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [2023-02-07T22:48:45.488Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] did not exist. Created. [2023-02-07T22:48:45.488Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:48:45.797Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:48:45.820Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:48:45.826Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:48:45.847Z] $ docker stop --time=1 fe153b9c966400b43fbafc1b7ef4c35963cb26ab11c41b9137990f9cd55b688c [2023-02-07T22:48:46.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5010 in /w/workspace/gexfoundry_device-modbus-go_main [2023-02-07T22:48:47.580Z] $ docker rm -f --volumes fe153b9c966400b43fbafc1b7ef4c35963cb26ab11c41b9137990f9cd55b688c [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-02-07T22:48:47.746Z] Running in /w/workspace/device-modbus-go/74 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-02-07T22:48:47.782Z] Selected Git installation does not exist. Using Default [2023-02-07T22:48:47.782Z] The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } [2023-02-07T22:48:58.174Z] using credential edgex-jenkins-ssh [2023-02-07T22:48:58.214Z] Cloning the remote Git repository [2023-02-07T22:48:58.299Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-02-07T22:48:58.462Z] > git init /w/workspace/device-modbus-go/74 # timeout=10 [2023-02-07T22:48:58.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-02-07T22:48:58.771Z] > git --version # timeout=10 [2023-02-07T22:48:58.821Z] > git --version # 'git version 2.25.1' [2023-02-07T22:48:58.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:48:58.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:49:00.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-02-07T22:49:00.558Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:49:01.825Z] Avoid second fetch [2023-02-07T22:49:01.825Z] Checking out Revision 05607db3767b12e2b1688c1d4c1138f7ff4649fd (main) [2023-02-07T22:49:02.661Z] Commit message: "feat!: Use latest SDK for MessageBus Request API (#408)" [2023-02-07T22:49:01.875Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:49:01.930Z] > git checkout -f 05607db3767b12e2b1688c1d4c1138f7ff4649fd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:49:03.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:49:03.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:49:03.835Z] Dload Upload Total Spent Left Speed [2023-02-07T22:49:03.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-02-07T22:49:04.616Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:49:04.978Z] + sudo tee /etc/docker/daemon.new [2023-02-07T22:49:04.978Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T22:49:04.978Z] { [2023-02-07T22:49:04.978Z] "registry-mirrors": [ [2023-02-07T22:49:04.978Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:49:04.978Z] ], [2023-02-07T22:49:04.978Z] "bip": "10.250.0.254/24", [2023-02-07T22:49:04.978Z] "hosts": [ [2023-02-07T22:49:04.978Z] "tcp://0.0.0.0:5555", [2023-02-07T22:49:04.978Z] "unix:///var/run/docker.sock" [2023-02-07T22:49:04.978Z] ], [2023-02-07T22:49:04.978Z] "mtu": 1458, [2023-02-07T22:49:04.978Z] "selinux-enabled": true, [2023-02-07T22:49:04.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:49:04.978Z] } [Pipeline] sh [2023-02-07T22:49:05.338Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:49:05.698Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:49:24.063Z] provisioning config files... [2023-02-07T22:49:24.098Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/74@tmp/config17108077261136363863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:49:24.474Z] ---> docker-login.sh [2023-02-07T22:49:24.474Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:49:25.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:49:25.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:49:25.067Z] Configure a credential helper to remove this warning. See [2023-02-07T22:49:25.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:49:25.067Z] [2023-02-07T22:49:25.067Z] Login Succeeded [2023-02-07T22:49:25.067Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:49:25.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:49:25.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:49:25.618Z] Configure a credential helper to remove this warning. See [2023-02-07T22:49:25.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:49:25.618Z] [2023-02-07T22:49:25.618Z] Login Succeeded [2023-02-07T22:49:25.618Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:49:25.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:49:26.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:49:26.172Z] Configure a credential helper to remove this warning. See [2023-02-07T22:49:26.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:49:26.172Z] [2023-02-07T22:49:26.172Z] Login Succeeded [2023-02-07T22:49:26.172Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:49:26.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:49:27.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:49:27.631Z] Configure a credential helper to remove this warning. See [2023-02-07T22:49:27.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:49:27.631Z] [2023-02-07T22:49:27.631Z] Login Succeeded [2023-02-07T22:49:27.631Z] docker.io [2023-02-07T22:49:27.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:49:28.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:49:28.174Z] Configure a credential helper to remove this warning. See [2023-02-07T22:49:28.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:49:28.174Z] [2023-02-07T22:49:28.174Z] Login Succeeded [2023-02-07T22:49:28.174Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:49:28.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:49:28.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:49:28.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:49:28.534Z] ========================================================= [2023-02-07T22:49:28.534Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:49:28.534Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:49:29.096Z] + 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-02-07T22:49:29.096Z] Sending build context to Docker daemon 3.296MB [2023-02-07T22:49:29.096Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:49:29.096Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T22:49:29.370Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:49:29.370Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:49:29.370Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:49:29.370Z] e16973657156: Pulling fs layer [2023-02-07T22:49:29.370Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:49:29.370Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:49:29.370Z] dda99020689f: Pulling fs layer [2023-02-07T22:49:29.370Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:49:29.370Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:49:29.370Z] dda99020689f: Waiting [2023-02-07T22:49:29.370Z] fc693d55d65f: Waiting [2023-02-07T22:49:29.370Z] 7e9fc2657dce: Waiting [2023-02-07T22:49:29.370Z] db1c61fa0a46: Waiting [2023-02-07T22:49:29.370Z] 891c053d2c06: Waiting [2023-02-07T22:49:29.370Z] e16973657156: Verifying Checksum [2023-02-07T22:49:29.370Z] e16973657156: Download complete [2023-02-07T22:49:29.370Z] 35d82f9e3411: Download complete [2023-02-07T22:49:29.370Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T22:49:29.370Z] 7e9fc2657dce: Download complete [2023-02-07T22:49:29.370Z] dda99020689f: Verifying Checksum [2023-02-07T22:49:29.370Z] dda99020689f: Download complete [2023-02-07T22:49:29.645Z] 9b18e9b68314: Verifying Checksum [2023-02-07T22:49:29.645Z] 9b18e9b68314: Download complete [2023-02-07T22:49:30.647Z] 9b18e9b68314: Pull complete [2023-02-07T22:49:30.647Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:49:30.647Z] 891c053d2c06: Download complete [2023-02-07T22:49:31.240Z] 35d82f9e3411: Pull complete [2023-02-07T22:49:31.509Z] e16973657156: Pull complete [2023-02-07T22:49:32.100Z] db1c61fa0a46: Verifying Checksum [2023-02-07T22:49:32.100Z] db1c61fa0a46: Download complete [2023-02-07T22:49:32.697Z] fc693d55d65f: Verifying Checksum [2023-02-07T22:49:32.697Z] fc693d55d65f: Download complete [2023-02-07T22:49:45.030Z] fc693d55d65f: Pull complete [2023-02-07T22:49:45.030Z] 7e9fc2657dce: Pull complete [2023-02-07T22:49:45.030Z] dda99020689f: Pull complete [2023-02-07T22:49:50.424Z] db1c61fa0a46: Pull complete [2023-02-07T22:49:51.893Z] 891c053d2c06: Pull complete [2023-02-07T22:49:51.893Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:49:52.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:49:52.163Z] ---> f96f9c87975a [2023-02-07T22:49:52.163Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:49:53.611Z] ---> Running in eb38bbaaf3d9 [2023-02-07T22:49:54.197Z] Removing intermediate container eb38bbaaf3d9 [2023-02-07T22:49:54.197Z] ---> 60552283ca09 [2023-02-07T22:49:54.197Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:49:54.197Z] ---> Running in 1198bfe534b8 [2023-02-07T22:49:54.465Z] Removing intermediate container 1198bfe534b8 [2023-02-07T22:49:54.465Z] ---> a0b4821e972c [2023-02-07T22:49:54.465Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-02-07T22:49:54.735Z] ---> Running in e515d4ec7d44 [2023-02-07T22:49:55.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:49:56.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:49:57.376Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:49:57.647Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-02-07T22:49:57.647Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:49:57.921Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:49:57.921Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-02-07T22:49:57.921Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-02-07T22:49:57.921Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-02-07T22:49:57.921Z] (8/8) Installing openssh (9.0_p1-r2) [2023-02-07T22:49:57.921Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:49:57.921Z] OK: 228 MiB in 59 packages [2023-02-07T22:49:59.427Z] Removing intermediate container e515d4ec7d44 [2023-02-07T22:49:59.427Z] ---> 3c25c7eb067e [2023-02-07T22:49:59.427Z] Step 6/10 : WORKDIR /device-modbus-go [2023-02-07T22:49:59.427Z] ---> Running in dc0ad2b08a6a [2023-02-07T22:49:59.427Z] Removing intermediate container dc0ad2b08a6a [2023-02-07T22:49:59.427Z] ---> 4dd2369f5bef [2023-02-07T22:49:59.427Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T22:50:00.027Z] ---> d07fa02f8bff [2023-02-07T22:50:00.027Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:50:00.303Z] ---> Running in 1e6fee0c0aca [2023-02-07T22:51:22.055Z] Removing intermediate container 1e6fee0c0aca [2023-02-07T22:51:22.055Z] ---> 42e0ce2565db [2023-02-07T22:51:22.055Z] Step 9/10 : COPY . . [2023-02-07T22:51:22.055Z] ---> 6a19ef391e6a [2023-02-07T22:51:22.055Z] Step 10/10 : RUN ${MAKE} [2023-02-07T22:51:22.055Z] ---> Running in d88b61927768 [2023-02-07T22:51:22.055Z] noop [2023-02-07T22:51:22.055Z] Removing intermediate container d88b61927768 [2023-02-07T22:51:22.055Z] ---> fbc699af00d0 [2023-02-07T22:51:22.055Z] Successfully built fbc699af00d0 [2023-02-07T22:51:22.055Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:51:22.411Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:51:22.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:51:22.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-5010 does not seem to be running inside a container [2023-02-07T22:51:22.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/74 -v /w/workspace/device-modbus-go/74:/w/workspace/device-modbus-go/74:rw,z -v /w/workspace/device-modbus-go/74@tmp:/w/workspace/device-modbus-go/74@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-02-07T22:51:24.061Z] $ docker top 47769342b66294ccaa2b43c3528d22cd112ab618aad66278670f946cb91832b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:51:24.925Z] + go version [2023-02-07T22:51:24.925Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:51:24.962Z] $ docker stop --time=1 47769342b66294ccaa2b43c3528d22cd112ab618aad66278670f946cb91832b5 [2023-02-07T22:51:26.674Z] $ docker rm -f --volumes 47769342b66294ccaa2b43c3528d22cd112ab618aad66278670f946cb91832b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:51:27.253Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:51:27.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:51:27.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-5010 does not seem to be running inside a container [2023-02-07T22:51:27.562Z] $ 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/74 -v /w/workspace/device-modbus-go/74:/w/workspace/device-modbus-go/74:rw,z -v /w/workspace/device-modbus-go/74@tmp:/w/workspace/device-modbus-go/74@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-02-07T22:51:28.928Z] $ docker top 2db861ee58809d31f4a7a07f7c04a3d7063093fe8ab3815855714209e0a672cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:51:29.797Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/74 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:51:30.461Z] + make test [2023-02-07T22:51:30.461Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:51:32.425Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-02-07T22:53:09.925Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-02-07T22:53:09.925Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.061s coverage: 47.7% of statements [2023-02-07T22:53:09.925Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:53:09.925Z] go vet ./... [2023-02-07T22:53:29.696Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:53:29.696Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:53:29.968Z] ./bin/test-attribution-txt.sh [2023-02-07T22:53:30.239Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:53:30.239Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:53:30.263Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:53:30.291Z] $ docker stop --time=1 2db861ee58809d31f4a7a07f7c04a3d7063093fe8ab3815855714209e0a672cf [2023-02-07T22:53:32.192Z] $ docker rm -f --volumes 2db861ee58809d31f4a7a07f7c04a3d7063093fe8ab3815855714209e0a672cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:53:35.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:53:35.463Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:53:36.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:53:36.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:53:36.750Z] + ls -al . [2023-02-07T22:53:36.750Z] total 180 [2023-02-07T22:53:36.751Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:51 . [2023-02-07T22:53:36.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:48 .. [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 22:49 .dockerignore [2023-02-07T22:53:36.751Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:49 .git [2023-02-07T22:53:36.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:49 .github [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 331 Feb 7 22:49 .gitignore [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:49 .golangci.yml [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 10017 Feb 7 22:49 Attribution.txt [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 11576 Feb 7 22:49 CHANGELOG.md [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 1365 Feb 7 22:49 Dockerfile [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:49 GOVERNANCE.md [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:49 Jenkinsfile [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:49 LICENSE [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 1670 Feb 7 22:49 Makefile [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 7 22:49 OWNERS.md [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 4061 Feb 7 22:49 README.md [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION [2023-02-07T22:53:36.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:49 bin [2023-02-07T22:53:36.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:49 cmd [2023-02-07T22:53:36.751Z] -rw-r--r-- 1 jenkins jenkins 23241 Feb 7 22:53 coverage.out [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 3495 Feb 7 22:49 go.mod [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 33619 Feb 7 22:49 go.sum [2023-02-07T22:53:36.751Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:49 internal [2023-02-07T22:53:36.751Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:49 simulator [2023-02-07T22:53:36.751Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:49 snap [2023-02-07T22:53:36.751Z] -rw-rw-r-- 1 jenkins jenkins 229 Feb 7 22:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:53:37.113Z] + 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=05607db3767b12e2b1688c1d4c1138f7ff4649fd --label arch=arm64 --label version=3.0.0-dev.8 . [2023-02-07T22:53:37.380Z] Sending build context to Docker daemon 3.32MB [2023-02-07T22:53:37.380Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:53:37.380Z] Step 2/22 : FROM ${BASE} AS builder [2023-02-07T22:53:37.380Z] ---> fbc699af00d0 [2023-02-07T22:53:37.380Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:53:37.649Z] ---> Running in 13ca53d27934 [2023-02-07T22:53:37.919Z] Removing intermediate container 13ca53d27934 [2023-02-07T22:53:37.919Z] ---> dcec3a5e9d7d [2023-02-07T22:53:37.919Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:53:37.919Z] ---> Running in 0e0d66efd324 [2023-02-07T22:53:38.191Z] Removing intermediate container 0e0d66efd324 [2023-02-07T22:53:38.191Z] ---> bde2d9706d1c [2023-02-07T22:53:38.191Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-02-07T22:53:38.463Z] ---> Running in 8b212d26eaf7 [2023-02-07T22:53:39.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:53:39.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:53:41.116Z] OK: 228 MiB in 59 packages [2023-02-07T22:53:42.083Z] Removing intermediate container 8b212d26eaf7 [2023-02-07T22:53:42.083Z] ---> 98db2b76b313 [2023-02-07T22:53:42.083Z] Step 6/22 : WORKDIR /device-modbus-go [2023-02-07T22:53:42.083Z] ---> Running in d1a90c5a4df3 [2023-02-07T22:53:42.351Z] Removing intermediate container d1a90c5a4df3 [2023-02-07T22:53:42.352Z] ---> bd3dfccd691b [2023-02-07T22:53:42.352Z] Step 7/22 : COPY go.mod vendor* ./ [2023-02-07T22:53:42.949Z] ---> 2ee64159558d [2023-02-07T22:53:42.949Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:53:42.949Z] ---> Running in 22f372bc2acd [2023-02-07T22:53:46.336Z] Removing intermediate container 22f372bc2acd [2023-02-07T22:53:46.336Z] ---> d49478e89744 [2023-02-07T22:53:46.336Z] Step 9/22 : COPY . . [2023-02-07T22:53:48.289Z] ---> 977d917c4ac1 [2023-02-07T22:53:48.289Z] Step 10/22 : RUN ${MAKE} [2023-02-07T22:53:48.289Z] ---> Running in b5c51e9c1802 [2023-02-07T22:53:49.252Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-02-07T22:56:11.013Z] Removing intermediate container b5c51e9c1802 [2023-02-07T22:56:11.013Z] ---> 0321fc26e361 [2023-02-07T22:56:11.013Z] Step 11/22 : FROM alpine:3.14 [2023-02-07T22:56:11.013Z] 3.14: Pulling from library/alpine [2023-02-07T22:56:11.013Z] 90cda3b7c325: Pulling fs layer [2023-02-07T22:56:11.282Z] 90cda3b7c325: Verifying Checksum [2023-02-07T22:56:11.282Z] 90cda3b7c325: Download complete [2023-02-07T22:56:11.868Z] 90cda3b7c325: Pull complete [2023-02-07T22:56:11.868Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-02-07T22:56:11.868Z] Status: Downloaded newer image for alpine:3.14 [2023-02-07T22:56:11.868Z] ---> 275902a1839d [2023-02-07T22:56:11.868Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-02-07T22:56:11.868Z] ---> Running in efd59fa4856e [2023-02-07T22:56:12.155Z] Removing intermediate container efd59fa4856e [2023-02-07T22:56:12.155Z] ---> 9d526d3a289c [2023-02-07T22:56:12.155Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:56:12.425Z] ---> Running in 851f88a6ee10 [2023-02-07T22:56:13.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:56:13.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:56:14.619Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:56:14.619Z] Executing busybox-1.33.1-r8.trigger [2023-02-07T22:56:14.619Z] OK: 6 MiB in 15 packages [2023-02-07T22:56:15.584Z] Removing intermediate container 851f88a6ee10 [2023-02-07T22:56:15.584Z] ---> dda855c76fd5 [2023-02-07T22:56:15.584Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-02-07T22:56:17.551Z] ---> dd06524546c2 [2023-02-07T22:56:17.551Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-02-07T22:56:17.820Z] ---> 9fed8f3dacfc [2023-02-07T22:56:17.820Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-02-07T22:56:18.410Z] ---> 822cfe30f669 [2023-02-07T22:56:18.410Z] Step 17/22 : EXPOSE 59901 [2023-02-07T22:56:18.410Z] ---> Running in 99479769a7ee [2023-02-07T22:56:18.678Z] Removing intermediate container 99479769a7ee [2023-02-07T22:56:18.678Z] ---> 9cb8c1ca084c [2023-02-07T22:56:18.678Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-02-07T22:56:18.678Z] ---> Running in 5fdf67824249 [2023-02-07T22:56:19.266Z] Removing intermediate container 5fdf67824249 [2023-02-07T22:56:19.266Z] ---> e7ce74eebea1 [2023-02-07T22:56:19.266Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:56:19.266Z] ---> Running in 2cd6b45d33f1 [2023-02-07T22:56:19.536Z] Removing intermediate container 2cd6b45d33f1 [2023-02-07T22:56:19.536Z] ---> 648b693985c5 [2023-02-07T22:56:19.536Z] Step 20/22 : LABEL arch=arm64 [2023-02-07T22:56:19.536Z] ---> Running in 8e2938fb2bb0 [2023-02-07T22:56:19.810Z] Removing intermediate container 8e2938fb2bb0 [2023-02-07T22:56:19.810Z] ---> b5a5cc8254b0 [2023-02-07T22:56:19.810Z] Step 21/22 : LABEL git_sha=05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:56:20.080Z] ---> Running in 58fd35eab21d [2023-02-07T22:56:20.349Z] Removing intermediate container 58fd35eab21d [2023-02-07T22:56:20.349Z] ---> f8f175a89210 [2023-02-07T22:56:20.349Z] Step 22/22 : LABEL version=3.0.0-dev.8 [2023-02-07T22:56:20.349Z] ---> Running in 828fcc5e876e [2023-02-07T22:56:20.617Z] Removing intermediate container 828fcc5e876e [2023-02-07T22:56:20.617Z] ---> 367106b1e232 [2023-02-07T22:56:20.617Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:56:20.617Z] Successfully built 367106b1e232 [2023-02-07T22:56:20.617Z] 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-02-07T22:56:20.741Z] provisioning config files... [2023-02-07T22:56:20.759Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/74@tmp/config11651033663070476410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:21.110Z] ---> docker-login.sh [2023-02-07T22:56:21.110Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:56:21.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:56:21.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:56:21.384Z] Configure a credential helper to remove this warning. See [2023-02-07T22:56:21.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:56:21.384Z] [2023-02-07T22:56:21.384Z] Login Succeeded [2023-02-07T22:56:21.384Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:56:21.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:56:21.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:56:21.952Z] Configure a credential helper to remove this warning. See [2023-02-07T22:56:21.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:56:21.952Z] [2023-02-07T22:56:21.952Z] Login Succeeded [2023-02-07T22:56:21.952Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:56:22.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:56:22.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:56:22.258Z] Configure a credential helper to remove this warning. See [2023-02-07T22:56:22.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:56:22.258Z] [2023-02-07T22:56:22.258Z] Login Succeeded [2023-02-07T22:56:22.258Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:56:22.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:56:22.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:56:22.897Z] Configure a credential helper to remove this warning. See [2023-02-07T22:56:22.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:56:22.897Z] [2023-02-07T22:56:22.897Z] Login Succeeded [2023-02-07T22:56:22.897Z] docker.io [2023-02-07T22:56:23.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:56:23.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:56:23.436Z] Configure a credential helper to remove this warning. See [2023-02-07T22:56:23.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:56:23.436Z] [2023-02-07T22:56:23.436Z] Login Succeeded [2023-02-07T22:56:23.436Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:56:23.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:56:23.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:56:23.507Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-02-07T22:56:23.507Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:56:23.507Z] latest [2023-02-07T22:56:23.507Z] 3.0.0-dev.8 [2023-02-07T22:56:23.507Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:56:23.507Z] main [2023-02-07T22:56:23.507Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:23.869Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:24.219Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:56:24.219Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-07T22:56:24.219Z] 18788aedd0b5: Preparing [2023-02-07T22:56:24.219Z] 7bcf45c4c8b3: Preparing [2023-02-07T22:56:24.219Z] ec8cc574c90e: Preparing [2023-02-07T22:56:24.219Z] 6d3b82bbefad: Preparing [2023-02-07T22:56:24.219Z] 28c3ef001483: Preparing [2023-02-07T22:56:24.219Z] 28c3ef001483: Layer already exists [2023-02-07T22:56:24.493Z] 7bcf45c4c8b3: Pushed [2023-02-07T22:56:24.493Z] 18788aedd0b5: Pushed [2023-02-07T22:56:24.493Z] 6d3b82bbefad: Pushed [2023-02-07T22:56:29.850Z] ec8cc574c90e: Pushed [2023-02-07T22:56:29.850Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd: digest: sha256:edfbffb39783ee84ab20af06b15f1f600fbc0951ddf0573775a2dd471d5d01d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:30.215Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:30.560Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-07T22:56:30.560Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-07T22:56:30.560Z] 18788aedd0b5: Preparing [2023-02-07T22:56:30.560Z] 7bcf45c4c8b3: Preparing [2023-02-07T22:56:30.560Z] ec8cc574c90e: Preparing [2023-02-07T22:56:30.560Z] 6d3b82bbefad: Preparing [2023-02-07T22:56:30.560Z] 28c3ef001483: Preparing [2023-02-07T22:56:30.560Z] 6d3b82bbefad: Layer already exists [2023-02-07T22:56:30.560Z] ec8cc574c90e: Layer already exists [2023-02-07T22:56:30.560Z] 18788aedd0b5: Layer already exists [2023-02-07T22:56:30.560Z] 28c3ef001483: Layer already exists [2023-02-07T22:56:30.560Z] 7bcf45c4c8b3: Layer already exists [2023-02-07T22:56:30.832Z] latest: digest: sha256:edfbffb39783ee84ab20af06b15f1f600fbc0951ddf0573775a2dd471d5d01d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:31.292Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:31.647Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.8 [2023-02-07T22:56:31.647Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-07T22:56:31.647Z] 18788aedd0b5: Preparing [2023-02-07T22:56:31.647Z] 7bcf45c4c8b3: Preparing [2023-02-07T22:56:31.647Z] ec8cc574c90e: Preparing [2023-02-07T22:56:31.647Z] 6d3b82bbefad: Preparing [2023-02-07T22:56:31.647Z] 28c3ef001483: Preparing [2023-02-07T22:56:31.647Z] 7bcf45c4c8b3: Layer already exists [2023-02-07T22:56:31.647Z] 6d3b82bbefad: Layer already exists [2023-02-07T22:56:31.647Z] 18788aedd0b5: Layer already exists [2023-02-07T22:56:31.647Z] ec8cc574c90e: Layer already exists [2023-02-07T22:56:31.647Z] 28c3ef001483: Layer already exists [2023-02-07T22:56:31.647Z] 3.0.0-dev.8: digest: sha256:edfbffb39783ee84ab20af06b15f1f600fbc0951ddf0573775a2dd471d5d01d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:32.297Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:32.654Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:56:32.654Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-07T22:56:32.654Z] 18788aedd0b5: Preparing [2023-02-07T22:56:32.654Z] 7bcf45c4c8b3: Preparing [2023-02-07T22:56:32.654Z] ec8cc574c90e: Preparing [2023-02-07T22:56:32.654Z] 6d3b82bbefad: Preparing [2023-02-07T22:56:32.654Z] 28c3ef001483: Preparing [2023-02-07T22:56:32.654Z] 28c3ef001483: Layer already exists [2023-02-07T22:56:32.654Z] 6d3b82bbefad: Layer already exists [2023-02-07T22:56:32.654Z] 18788aedd0b5: Layer already exists [2023-02-07T22:56:32.654Z] ec8cc574c90e: Layer already exists [2023-02-07T22:56:32.654Z] 7bcf45c4c8b3: Layer already exists [2023-02-07T22:56:32.654Z] 05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8: digest: sha256:edfbffb39783ee84ab20af06b15f1f600fbc0951ddf0573775a2dd471d5d01d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:33.304Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:33.649Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-02-07T22:56:33.649Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-02-07T22:56:33.649Z] 18788aedd0b5: Preparing [2023-02-07T22:56:33.649Z] 7bcf45c4c8b3: Preparing [2023-02-07T22:56:33.649Z] ec8cc574c90e: Preparing [2023-02-07T22:56:33.649Z] 6d3b82bbefad: Preparing [2023-02-07T22:56:33.649Z] 28c3ef001483: Preparing [2023-02-07T22:56:33.649Z] 6d3b82bbefad: Layer already exists [2023-02-07T22:56:33.649Z] 7bcf45c4c8b3: Layer already exists [2023-02-07T22:56:33.649Z] 28c3ef001483: Layer already exists [2023-02-07T22:56:33.649Z] 18788aedd0b5: Layer already exists [2023-02-07T22:56:33.649Z] ec8cc574c90e: Layer already exists [2023-02-07T22:56:33.917Z] main: digest: sha256:edfbffb39783ee84ab20af06b15f1f600fbc0951ddf0573775a2dd471d5d01d0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:56:33.963Z] ===================================================== [Pipeline] echo [2023-02-07T22:56:33.969Z] taggedImages: [2023-02-07T22:56:33.969Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd [2023-02-07T22:56:33.969Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-02-07T22:56:33.969Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.8 [2023-02-07T22:56:33.969Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:05607db3767b12e2b1688c1d4c1138f7ff4649fd-3.0.0-dev.8 [2023-02-07T22:56:33.969Z] - 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-02-07T22:56:34.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:56:34.334Z] [2023-02-07T22:56:34.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:34.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:56:36.092Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:56:36.092Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:56:36.092Z] 04944245beec: Pulling fs layer [2023-02-07T22:56:36.092Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:56:36.092Z] 765212b225bb: Pulling fs layer [2023-02-07T22:56:36.092Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:56:36.092Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:56:36.092Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:56:36.092Z] 765212b225bb: Waiting [2023-02-07T22:56:36.092Z] f23df028b6ca: Waiting [2023-02-07T22:56:36.092Z] d65c8cfc05b1: Waiting [2023-02-07T22:56:36.092Z] 2437ff75d9bd: Waiting [2023-02-07T22:56:36.092Z] 04944245beec: Verifying Checksum [2023-02-07T22:56:36.092Z] 04944245beec: Download complete [2023-02-07T22:56:36.092Z] 765212b225bb: Verifying Checksum [2023-02-07T22:56:36.092Z] 765212b225bb: Download complete [2023-02-07T22:56:36.363Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:56:36.363Z] f23df028b6ca: Download complete [2023-02-07T22:56:36.363Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:56:36.363Z] d65c8cfc05b1: Download complete [2023-02-07T22:56:36.363Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:56:36.363Z] 699f458cf7ca: Download complete [2023-02-07T22:56:36.951Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T22:56:36.951Z] 8998bd30e6a1: Download complete [2023-02-07T22:56:39.539Z] 2437ff75d9bd: Download complete [2023-02-07T22:56:40.946Z] 8998bd30e6a1: Pull complete [2023-02-07T22:56:41.530Z] 04944245beec: Pull complete [2023-02-07T22:56:42.943Z] 699f458cf7ca: Pull complete [2023-02-07T22:56:42.943Z] 765212b225bb: Pull complete [2023-02-07T22:56:43.904Z] f23df028b6ca: Pull complete [2023-02-07T22:56:43.904Z] d65c8cfc05b1: Pull complete [2023-02-07T22:56:58.980Z] 2437ff75d9bd: Pull complete [2023-02-07T22:56:58.980Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:56:58.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:56:58.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:59.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-5010 does not seem to be running inside a container [2023-02-07T22:56:59.293Z] $ 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/74 -v /w/workspace/device-modbus-go/74:/w/workspace/device-modbus-go/74:rw,z -v /w/workspace/device-modbus-go/74@tmp:/w/workspace/device-modbus-go/74@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-02-07T22:57:01.985Z] $ docker top 3828a7f433e9c3de3191e82d74d96b5f6b61b1e24bef2090ffe135ec78cf8479 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:02.833Z] ---> job-cost.sh [2023-02-07T22:57:02.834Z] lf-activate-venv: SKIPPING [2023-02-07T22:57:02.834Z] INFO: No Stack... [2023-02-07T22:57:03.099Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:57:04.063Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:57:04.711Z] + cat /w/workspace/device-modbus-go/74/archives/cost.csv [2023-02-07T22:57:04.712Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:57:04.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [2023-02-07T22:57:04.800Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] did not exist. Created. [2023-02-07T22:57:04.800Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:57:05.465Z] /w/workspace/device-modbus-go/74@tmp/durable-4a117140/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:57:06.128Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:57:06.150Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:57:06.211Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:57:06.219Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-74-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:57:06.262Z] $ docker stop --time=1 3828a7f433e9c3de3191e82d74d96b5f6b61b1e24bef2090ffe135ec78cf8479 [2023-02-07T22:57:07.810Z] $ docker rm -f --volumes 3828a7f433e9c3de3191e82d74d96b5f6b61b1e24bef2090ffe135ec78cf8479 [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-02-07T22:57:08.161Z] provisioning config files... [2023-02-07T22:57:08.166Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3980785145857371082tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:57:08.455Z] + set +x [2023-02-07T22:57:08.455Z] + curl -s https://codecov.io/bash [2023-02-07T22:57:08.455Z] + bash -s -- [2023-02-07T22:57:08.455Z] [2023-02-07T22:57:08.455Z] _____ _ [2023-02-07T22:57:08.455Z] / ____| | | [2023-02-07T22:57:08.455Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:57:08.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:57:08.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:57:08.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:57:08.455Z] Bash-1.0.6 [2023-02-07T22:57:08.455Z] [2023-02-07T22:57:08.455Z] [2023-02-07T22:57:08.455Z] ==> git version 2.25.1 found [2023-02-07T22:57:08.455Z] ==> 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-02-07T22:57:08.455Z] Release-Date: 2020-01-08 [2023-02-07T22:57:08.455Z] 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-02-07T22:57:08.455Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:57:08.455Z] ==> Jenkins CI detected. [2023-02-07T22:57:08.455Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-02-07T22:57:08.455Z] project root: . [2023-02-07T22:57:08.455Z] --> token set from env [2023-02-07T22:57:08.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:57:08.455Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:57:08.455Z] ==> Python coveragepy not found [2023-02-07T22:57:08.455Z] ==> Searching for coverage reports in: [2023-02-07T22:57:08.455Z] + . [2023-02-07T22:57:08.455Z] -> Found 1 reports [2023-02-07T22:57:08.455Z] ==> Detecting git/mercurial file structure [2023-02-07T22:57:08.455Z] ==> Reading reports [2023-02-07T22:57:08.455Z] + ./coverage.out bytes=23241 [2023-02-07T22:57:08.455Z] ==> Appending adjustments [2023-02-07T22:57:08.455Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:57:08.714Z] + Found adjustments [2023-02-07T22:57:08.714Z] ==> Gzipping contents [2023-02-07T22:57:08.714Z] 4.0K /tmp/codecov.K9PPnT.gz [2023-02-07T22:57:08.714Z] ==> Uploading reports [2023-02-07T22:57:08.714Z] url: https://codecov.io [2023-02-07T22:57:08.714Z] query: branch=main&commit=05607db3767b12e2b1688c1d4c1138f7ff4649fd&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:57:08.714Z] -> Pinging Codecov [2023-02-07T22:57:08.714Z] 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=05607db3767b12e2b1688c1d4c1138f7ff4649fd&build=74&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F74%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:57:08.973Z] -> Uploading to [2023-02-07T22:57:08.973Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/55DBCA73C666E3227836607328DD7E49/05607db3767b12e2b1688c1d4c1138f7ff4649fd/59d25ef4-f802-4930-92e0-33b6d981df91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T225708Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89c83f1f71e94c8f7e9eefbd3330de8c43bb98fc82b061670d16bea4a0721afa [2023-02-07T22:57:08.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:57:08.973Z] Dload Upload Total Spent Left Speed [2023-02-07T22:57:09.232Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3883 0 0 100 3883 0 15848 --:--:-- --:--:-- --:--:-- 15848 [2023-02-07T22:57:09.232Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] } [2023-02-07T22:57:09.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-07T22:57:09.358Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-07T22:57:09.370Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:09.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:57:09.674Z] [2023-02-07T22:57:09.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:09.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:57:09.974Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-07T22:57:09.974Z] df9b9388f04a: Pulling fs layer [2023-02-07T22:57:09.974Z] 52dc419b0ee2: Pulling fs layer [2023-02-07T22:57:09.974Z] 25bc292e5bac: Pulling fs layer [2023-02-07T22:57:09.974Z] 114826534d7a: Pulling fs layer [2023-02-07T22:57:09.974Z] 4657fd5d0bcf: Pulling fs layer [2023-02-07T22:57:09.974Z] 6ad1cebc031e: Pulling fs layer [2023-02-07T22:57:09.974Z] 8a3aa393b2d8: Pulling fs layer [2023-02-07T22:57:09.974Z] 6ad1cebc031e: Waiting [2023-02-07T22:57:09.974Z] 4657fd5d0bcf: Waiting [2023-02-07T22:57:09.974Z] 114826534d7a: Waiting [2023-02-07T22:57:09.974Z] 25bc292e5bac: Verifying Checksum [2023-02-07T22:57:09.974Z] 25bc292e5bac: Download complete [2023-02-07T22:57:09.974Z] 52dc419b0ee2: Verifying Checksum [2023-02-07T22:57:09.974Z] 52dc419b0ee2: Download complete [2023-02-07T22:57:09.974Z] 4657fd5d0bcf: Verifying Checksum [2023-02-07T22:57:09.974Z] 4657fd5d0bcf: Download complete [2023-02-07T22:57:09.974Z] df9b9388f04a: Verifying Checksum [2023-02-07T22:57:09.974Z] df9b9388f04a: Download complete [2023-02-07T22:57:10.244Z] df9b9388f04a: Pull complete [2023-02-07T22:57:10.244Z] 52dc419b0ee2: Pull complete [2023-02-07T22:57:10.244Z] 25bc292e5bac: Pull complete [2023-02-07T22:57:10.507Z] 6ad1cebc031e: Verifying Checksum [2023-02-07T22:57:10.507Z] 6ad1cebc031e: Download complete [2023-02-07T22:57:11.077Z] 114826534d7a: Verifying Checksum [2023-02-07T22:57:11.077Z] 114826534d7a: Download complete [2023-02-07T22:57:11.643Z] 8a3aa393b2d8: Verifying Checksum [2023-02-07T22:57:11.643Z] 8a3aa393b2d8: Download complete [2023-02-07T22:57:14.922Z] 114826534d7a: Pull complete [2023-02-07T22:57:14.922Z] 4657fd5d0bcf: Pull complete [2023-02-07T22:57:14.922Z] 6ad1cebc031e: Pull complete [2023-02-07T22:57:17.451Z] 8a3aa393b2d8: Pull complete [2023-02-07T22:57:17.451Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-07T22:57:17.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:57:17.451Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:17.536Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:57:17.575Z] $ 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-02-07T22:57:20.822Z] $ docker top 5cff673ef1ff2a1296ab7db01e40ea40459189eaa63032345b95f4e800bec307 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-07T22:57:20.884Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-02-07T22:57:21.161Z] + set -o pipefail [2023-02-07T22:57:21.162Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/04f90ccc-1152-4491-9686-651d0eb1a7ad [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] [2023-02-07T22:57:26.427Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-07T22:57:26.427Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-07T22:57:26.427Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-07T22:57:26.446Z] $ docker stop --time=1 5cff673ef1ff2a1296ab7db01e40ea40459189eaa63032345b95f4e800bec307 [2023-02-07T22:57:28.743Z] $ docker rm -f --volumes 5cff673ef1ff2a1296ab7db01e40ea40459189eaa63032345b95f4e800bec307 [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-02-07T22:57:29.428Z] + git log --format=format:%s -1 05607db3767b12e2b1688c1d4c1138f7ff4649fd [Pipeline] sh [2023-02-07T22:57:29.721Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:57:29.721Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:30.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:57:30.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:30.085Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:57:30.128Z] $ 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-02-07T22:57:30.462Z] $ docker top 59b38a06b7a3b90463e68f77a3d431ed00dfdddaaa81cb037008a23c824656aa -eo pid,comm [2023-02-07T22:57:30.502Z] 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-02-07T22:57:30.503Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:57:30.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:57:30.537Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:57:30.648Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:57:30.658Z] $ docker exec 59b38a06b7a3b90463e68f77a3d431ed00dfdddaaa81cb037008a23c824656aa ssh-agent [2023-02-07T22:57:30.762Z] SSH_AUTH_SOCK=/tmp/ssh-AHhtaaJwhI2T/agent.32 [2023-02-07T22:57:30.762Z] SSH_AGENT_PID=38 [2023-02-07T22:57:30.767Z] Running ssh-add (command line suppressed) [2023-02-07T22:57:30.884Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11937706729724589970.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11937706729724589970.key) [2023-02-07T22:57:30.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:57:31.176Z] + git semver tag [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,350 [run_tag] DEBUG tag force:False [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,350 [check_head_tag] DEBUG check head tag [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,351 [execute] INFO git cat-file --batch-check [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,355 [execute] INFO git cat-file --batch [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,372 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,373 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:31.437Z] 2023-02-07 22:57:31,377 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:31.437Z] 3.0.0-dev.8 [Pipeline] } [2023-02-07T22:57:31.453Z] $ docker exec --env ******** --env ******** 59b38a06b7a3b90463e68f77a3d431ed00dfdddaaa81cb037008a23c824656aa ssh-agent -k [2023-02-07T22:57:31.555Z] unset SSH_AUTH_SOCK; [2023-02-07T22:57:31.556Z] unset SSH_AGENT_PID; [2023-02-07T22:57:31.556Z] echo Agent pid 38 killed; [2023-02-07T22:57:31.557Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:57:31.863Z] + git semver [Pipeline] } [2023-02-07T22:57:32.138Z] $ docker stop --time=1 59b38a06b7a3b90463e68f77a3d431ed00dfdddaaa81cb037008a23c824656aa [2023-02-07T22:57:33.395Z] $ docker rm -f --volumes 59b38a06b7a3b90463e68f77a3d431ed00dfdddaaa81cb037008a23c824656aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:33.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:57:33.772Z] [2023-02-07T22:57:33.772Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:34.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:57:34.079Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-07T22:57:34.079Z] ab5ef0e58194: Pulling fs layer [2023-02-07T22:57:34.079Z] 9712f1f96733: Pulling fs layer [2023-02-07T22:57:34.079Z] 63f879dbbcfc: Pulling fs layer [2023-02-07T22:57:34.079Z] 0d9ebad4ef96: Pulling fs layer [2023-02-07T22:57:34.079Z] e9a5061849ea: Pulling fs layer [2023-02-07T22:57:34.079Z] d747dcd14b5f: Pulling fs layer [2023-02-07T22:57:34.079Z] 2de7ff778b66: Pulling fs layer [2023-02-07T22:57:34.079Z] 0d9ebad4ef96: Waiting [2023-02-07T22:57:34.079Z] d747dcd14b5f: Waiting [2023-02-07T22:57:34.079Z] e9a5061849ea: Waiting [2023-02-07T22:57:34.079Z] 2de7ff778b66: Waiting [2023-02-07T22:57:34.079Z] 9712f1f96733: Verifying Checksum [2023-02-07T22:57:34.079Z] 9712f1f96733: Download complete [2023-02-07T22:57:35.086Z] 63f879dbbcfc: Verifying Checksum [2023-02-07T22:57:35.086Z] 63f879dbbcfc: Download complete [2023-02-07T22:57:35.357Z] ab5ef0e58194: Verifying Checksum [2023-02-07T22:57:35.357Z] ab5ef0e58194: Download complete [2023-02-07T22:57:35.357Z] d747dcd14b5f: Download complete [2023-02-07T22:57:35.616Z] 0d9ebad4ef96: Verifying Checksum [2023-02-07T22:57:35.616Z] 0d9ebad4ef96: Download complete [2023-02-07T22:57:35.616Z] 2de7ff778b66: Verifying Checksum [2023-02-07T22:57:35.616Z] 2de7ff778b66: Download complete [2023-02-07T22:57:35.616Z] e9a5061849ea: Download complete [2023-02-07T22:57:38.146Z] ab5ef0e58194: Pull complete [2023-02-07T22:57:38.147Z] 9712f1f96733: Pull complete [2023-02-07T22:57:38.409Z] 63f879dbbcfc: Pull complete [2023-02-07T22:57:41.690Z] 0d9ebad4ef96: Pull complete [2023-02-07T22:57:41.948Z] e9a5061849ea: Pull complete [2023-02-07T22:57:41.948Z] d747dcd14b5f: Pull complete [2023-02-07T22:57:42.881Z] 2de7ff778b66: Pull complete [2023-02-07T22:57:42.881Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-07T22:57:42.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:57:42.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:42.959Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:57:42.995Z] $ 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-02-07T22:57:46.387Z] $ docker top 944e5452cc3b611e2baacfd85f719fe023790e2e244fc1f7a06690a8adf1b3d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:57:46.447Z] provisioning config files... [2023-02-07T22:57:46.454Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17078307251248275278tmp [2023-02-07T22:57:46.465Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7596556657784374077tmp [2023-02-07T22:57:46.473Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3472538832261470041tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:57:46.488Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:46.768Z] ---> sigul-configuration.sh [2023-02-07T22:57:46.768Z] gpg: directory `/root/.gnupg' created [2023-02-07T22:57:46.768Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-07T22:57:46.768Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-07T22:57:46.768Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-07T22:57:46.768Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-07T22:57:46.768Z] gpg: CAST5 encrypted data [2023-02-07T22:57:46.768Z] gpg: encrypted with 1 passphrase [2023-02-07T22:57:46.768Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-07T22:57:47.054Z] + mkdir /home/jenkins [2023-02-07T22:57:47.054Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-07T22:57:47.338Z] + 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-02-07T22:57:47.348Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:47.632Z] ---> sigul-install.sh [2023-02-07T22:57:47.632Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-07T22:57:47.918Z] + git tag --list [2023-02-07T22:57:47.918Z] 0.7.1 [2023-02-07T22:57:47.918Z] v1.0.0 [2023-02-07T22:57:47.918Z] v1.1.0 [2023-02-07T22:57:47.918Z] v1.1.1 [2023-02-07T22:57:47.918Z] v1.2.2 [2023-02-07T22:57:47.918Z] v1.3.0 [2023-02-07T22:57:47.918Z] v1.3.1 [2023-02-07T22:57:47.918Z] v2.0.0 [2023-02-07T22:57:47.918Z] v2.1.0 [2023-02-07T22:57:47.918Z] v2.1.1 [2023-02-07T22:57:47.918Z] v2.1.1-dev.1 [2023-02-07T22:57:47.918Z] v2.1.1-dev.2 [2023-02-07T22:57:47.918Z] v2.1.1-dev.3 [2023-02-07T22:57:47.918Z] v2.2.0 [2023-02-07T22:57:47.918Z] v2.2.1-dev.1 [2023-02-07T22:57:47.918Z] v2.2.1-dev.2 [2023-02-07T22:57:47.918Z] v2.2.1-dev.3 [2023-02-07T22:57:47.918Z] v2.2.1-dev.4 [2023-02-07T22:57:47.918Z] v2.2.1-dev.5 [2023-02-07T22:57:47.918Z] v2.2.1-dev.6 [2023-02-07T22:57:47.918Z] v2.2.1-dev.7 [2023-02-07T22:57:47.918Z] v2.3.0 [2023-02-07T22:57:47.918Z] v2.3.0-dev.10 [2023-02-07T22:57:47.918Z] v2.3.0-dev.11 [2023-02-07T22:57:47.918Z] v2.3.0-dev.12 [2023-02-07T22:57:47.918Z] v2.3.0-dev.13 [2023-02-07T22:57:47.918Z] v2.3.0-dev.14 [2023-02-07T22:57:47.918Z] v2.3.0-dev.15 [2023-02-07T22:57:47.918Z] v2.3.0-dev.16 [2023-02-07T22:57:47.918Z] v2.3.0-dev.17 [2023-02-07T22:57:47.918Z] v2.3.0-dev.18 [2023-02-07T22:57:47.918Z] v2.3.0-dev.19 [2023-02-07T22:57:47.918Z] v2.3.0-dev.20 [2023-02-07T22:57:47.918Z] v2.3.0-dev.21 [2023-02-07T22:57:47.918Z] v2.3.0-dev.22 [2023-02-07T22:57:47.918Z] v2.3.0-dev.23 [2023-02-07T22:57:47.918Z] v2.3.0-dev.24 [2023-02-07T22:57:47.918Z] v2.3.0-dev.25 [2023-02-07T22:57:47.918Z] v2.3.0-dev.7 [2023-02-07T22:57:47.918Z] v2.3.0-dev.8 [2023-02-07T22:57:47.918Z] v2.3.0-dev.9 [2023-02-07T22:57:47.918Z] v3.0.0-dev.1 [2023-02-07T22:57:47.918Z] v3.0.0-dev.2 [2023-02-07T22:57:47.918Z] v3.0.0-dev.3 [2023-02-07T22:57:47.918Z] v3.0.0-dev.4 [2023-02-07T22:57:47.918Z] v3.0.0-dev.5 [2023-02-07T22:57:47.918Z] v3.0.0-dev.6 [2023-02-07T22:57:47.918Z] v3.0.0-dev.7 [2023-02-07T22:57:47.918Z] v3.0.0-dev.8 [Pipeline] sh [2023-02-07T22:57:48.206Z] + lftools sign git-tag v3.0.0-dev.8 [2023-02-07T22:57:48.772Z] Signing Git tag with Sigul... [2023-02-07T22:57:48.772Z] Signing v3.0.0-dev.8 [Pipeline] echo [2023-02-07T22:57:49.347Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:49.637Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-07T22:57:49.644Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-07T22:57:49.667Z] $ docker stop --time=1 944e5452cc3b611e2baacfd85f719fe023790e2e244fc1f7a06690a8adf1b3d3 [2023-02-07T22:57:50.986Z] $ docker rm -f --volumes 944e5452cc3b611e2baacfd85f719fe023790e2e244fc1f7a06690a8adf1b3d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-07T22:57:51.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:57:51.391Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:51.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:57:51.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:51.752Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:57:51.787Z] $ 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-02-07T22:57:52.085Z] $ docker top c29cddebb430195fe5fe8a9dbc872cb83b5ec066f4245c4c7e4561e18fa1ad1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:57:52.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:57:52.157Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:57:52.261Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:57:52.271Z] $ docker exec c29cddebb430195fe5fe8a9dbc872cb83b5ec066f4245c4c7e4561e18fa1ad1f ssh-agent [2023-02-07T22:57:52.370Z] SSH_AUTH_SOCK=/tmp/ssh-IuZBQgxD9B6W/agent.32 [2023-02-07T22:57:52.371Z] SSH_AGENT_PID=38 [2023-02-07T22:57:52.375Z] Running ssh-add (command line suppressed) [2023-02-07T22:57:52.481Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15837056891649285945.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15837056891649285945.key) [2023-02-07T22:57:52.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:57:52.772Z] + git semver bump pre [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,980 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,980 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,981 [bump_version] DEBUG bumped version:3.0.0-dev.9 [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,981 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,981 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,985 [execute] INFO git cat-file --batch-check [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,990 [execute] INFO git cat-file --batch [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:53.031Z] 2023-02-07 22:57:52,996 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:53.031Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:57:53.048Z] $ docker exec --env ******** --env ******** c29cddebb430195fe5fe8a9dbc872cb83b5ec066f4245c4c7e4561e18fa1ad1f ssh-agent -k [2023-02-07T22:57:53.141Z] unset SSH_AUTH_SOCK; [2023-02-07T22:57:53.141Z] unset SSH_AGENT_PID; [2023-02-07T22:57:53.141Z] echo Agent pid 38 killed; [2023-02-07T22:57:53.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:57:53.441Z] + git semver [Pipeline] } [2023-02-07T22:57:53.720Z] $ docker stop --time=1 c29cddebb430195fe5fe8a9dbc872cb83b5ec066f4245c4c7e4561e18fa1ad1f [2023-02-07T22:57:55.009Z] $ docker rm -f --volumes c29cddebb430195fe5fe8a9dbc872cb83b5ec066f4245c4c7e4561e18fa1ad1f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:57:55.348Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:57:55.348Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:55.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:57:55.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:55.709Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:57:55.743Z] $ 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-02-07T22:57:56.127Z] $ docker top cfefcbc9d9b16a7212014a6485c83766edce8e6acd3622dc746ebe58a9a45e2c -eo pid,comm [2023-02-07T22:57:56.165Z] 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-02-07T22:57:56.165Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:57:56.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:57:56.211Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:57:56.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:57:56.370Z] $ docker exec cfefcbc9d9b16a7212014a6485c83766edce8e6acd3622dc746ebe58a9a45e2c ssh-agent [2023-02-07T22:57:56.483Z] SSH_AUTH_SOCK=/tmp/ssh-jC2KfEELg4vD/agent.32 [2023-02-07T22:57:56.483Z] SSH_AGENT_PID=38 [2023-02-07T22:57:56.498Z] Running ssh-add (command line suppressed) [2023-02-07T22:57:56.612Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3102301581935864140.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3102301581935864140.key) [2023-02-07T22:57:56.620Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:57:56.947Z] + git semver push [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,082 [run_push] DEBUG push [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,082 [execute] INFO git cat-file --batch-check [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,087 [execute] INFO git rev-list d19c88f25dfb932062120b09b2a29e524b131871 -- [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,087 [execute] DEBUG Popen(['git', 'rev-list', 'd19c88f25dfb932062120b09b2a29e524b131871', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,095 [execute] INFO git fetch -v origin [2023-02-07T22:57:57.219Z] 2023-02-07 22:57:57,096 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-07T22:57:57.792Z] 2023-02-07 22:57:57,740 [run_push] DEBUG no remote changes detected [2023-02-07T22:57:57.792Z] 2023-02-07 22:57:57,741 [execute] INFO git push origin semver [2023-02-07T22:57:57.792Z] 2023-02-07 22:57:57,741 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:58.731Z] 2023-02-07 22:57:58,568 [run_push] DEBUG push all version tags [2023-02-07T22:57:58.731Z] 2023-02-07 22:57:58,568 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-07T22:57:58.731Z] 2023-02-07 22:57:58,569 [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-02-07T22:57:59.669Z] 2023-02-07 22:57:59,448 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-02-07T22:57:59.669Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:57:59.689Z] $ docker exec --env ******** --env ******** cfefcbc9d9b16a7212014a6485c83766edce8e6acd3622dc746ebe58a9a45e2c ssh-agent -k [2023-02-07T22:57:59.790Z] unset SSH_AUTH_SOCK; [2023-02-07T22:57:59.790Z] unset SSH_AGENT_PID; [2023-02-07T22:57:59.790Z] echo Agent pid 38 killed; [2023-02-07T22:57:59.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:58:00.100Z] + git semver [Pipeline] } [2023-02-07T22:58:00.382Z] $ docker stop --time=1 cfefcbc9d9b16a7212014a6485c83766edce8e6acd3622dc746ebe58a9a45e2c [2023-02-07T22:58:01.675Z] $ docker rm -f --volumes cfefcbc9d9b16a7212014a6485c83766edce8e6acd3622dc746ebe58a9a45e2c [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-02-07T22:58:02.212Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-02-07T22:58:02.212Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-07T22:58:02.212Z] total 16 [2023-02-07T22:58:02.212Z] drwxr-xr-x 3 root root 4096 Feb 7 22:48 . [2023-02-07T22:58:02.212Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 22:57 .. [2023-02-07T22:58:02.212Z] drwxr-xr-x 2 root root 4096 Feb 7 22:48 cost [2023-02-07T22:58:02.212Z] -rw-r--r-- 1 root root 87 Feb 7 22:48 cost.csv [2023-02-07T22:58:02.212Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-07T22:58:02.212Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-02-07T22:58:02.212Z] total 16 [2023-02-07T22:58:02.212Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:48 . [2023-02-07T22:58:02.212Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 22:57 .. [2023-02-07T22:58:02.212Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:48 cost [2023-02-07T22:58:02.212Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 7 22:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:02.504Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:03.364Z] ---> package-listing.sh [2023-02-07T22:58:03.364Z] ++ facter osfamily [2023-02-07T22:58:03.364Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:58:03.623Z] + OS_FAMILY=debian [2023-02-07T22:58:03.623Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-02-07T22:58:03.623Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:58:03.623Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:58:03.623Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:58:03.623Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:58:03.623Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-07T22:58:03.623Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:58:03.623Z] + case "${OS_FAMILY}" in [2023-02-07T22:58:03.623Z] + dpkg -l [2023-02-07T22:58:03.623Z] + grep '^ii' [2023-02-07T22:58:03.623Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:58:03.623Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:58:03.623Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:58:03.623Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-02-07T22:58:03.623Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-02-07T22:58:03.623Z] + 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-02-07T22:58:03.634Z] 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-02-07T22:58:03.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:58:04.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:58:04.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:58:04.534Z] prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container [2023-02-07T22:58:04.571Z] $ 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-02-07T22:58:05.038Z] $ docker top baa0164bc406332936cd4484f82a4af64ce2874e6e8d6450b5898751c7e6d9bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:58:05.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:58:05.651Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:58:05.937Z] + ls /var/log/sa-host [2023-02-07T22:58:05.937Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:58:06.011Z] provisioning config files... [2023-02-07T22:58:06.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12256099285983168242tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:58:06.034Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:06.315Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:58:06.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:06.647Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:58:06.655Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:06.942Z] ---> sudo-logs.sh [2023-02-07T22:58:06.942Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:58:06.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:07.248Z] ---> job-cost.sh [2023-02-07T22:58:07.248Z] lf-activate-venv: SKIPPING [2023-02-07T22:58:07.248Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:58:07.248Z] INFO: Retrieving Stack Cost... [2023-02-07T22:58:07.506Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:58:08.075Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:58:08.091Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:58:08.375Z] ---> logs-deploy.sh [2023-02-07T22:58:08.375Z] lf-activate-venv: SKIPPING [2023-02-07T22:58:08.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/74 [2023-02-07T22:58:08.375Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:58:09.324Z] Archives upload complete. [2023-02-07T22:58:09.324Z] INFO: archiving logs to Nexus