Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from def1cc71e63d04479355a5672fe2144ca0f9c836 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-ssh7269010009290507281.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-ssh2286040820055131519.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-ssh1184784200195585835.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-ssh1456442204522992030.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-ssh18052405283037690886.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1677 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 def1cc71e63d04479355a5672fe2144ca0f9c836 (main) Commit message: "feat!: Remove ZeroMQ MessageBus capability (#397)" > 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 def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 > git rev-list --no-walk b747fdb0f46d56fab49edbd998369f5c6173beb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T21:06:25.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T21:06:25.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T21:06:25.543Z] ========================================================= [2023-01-10T21:06:25.543Z] EdgeX Global Pipelines Version Info [2023-01-10T21:06:25.543Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:06:26.308Z] ------------------- [2023-01-10T21:06:26.308Z] stable info: [2023-01-10T21:06:26.308Z] ------------------- [2023-01-10T21:06:26.308Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T21:06:26.308Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:06:26.308Z] Message: update stable to v1.0.244 [2023-01-10T21:06:26.919Z] ------------------- [2023-01-10T21:06:26.919Z] experimental info: [2023-01-10T21:06:26.919Z] ------------------- [2023-01-10T21:06:26.919Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T21:06:26.919Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T21:06:26.919Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T21:06:27.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-01-10T21:06:27.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-01-10T21:06:27.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T21:06:27.094Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T21:06:27.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T21:06:27.116Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T21:06:27.125Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T21:06:27.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T21:06:27.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T21:06:27.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T21:06:27.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T21:06:27.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-01-10T21:06:27.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T21:06:27.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T21:06:27.203Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:06:27.214Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T21:06:27.225Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:06:27.236Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T21:06:27.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T21:06:27.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T21:06:27.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T21:06:27.283Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T21:06:27.294Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T21:06:27.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T21:06:27.318Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T21:06:27.330Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T21:06:27.341Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T21:06:27.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-10T21:06:27.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-10T21:06:27.377Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-10T21:06:27.392Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo [2023-01-10T21:06:27.403Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = def1cc7 [Pipeline] echo [2023-01-10T21:06:27.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:06:27.463Z] provisioning config files... [2023-01-10T21:06:27.478Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15636077834981167993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:06:27.782Z] ---> docker-login.sh [2023-01-10T21:06:27.782Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:06:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:28.043Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:28.043Z] [2023-01-10T21:06:28.043Z] Login Succeeded [2023-01-10T21:06:28.043Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:06:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:28.043Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:28.043Z] [2023-01-10T21:06:28.305Z] Login Succeeded [2023-01-10T21:06:28.306Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:06:28.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:28.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:28.306Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:28.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:28.306Z] [2023-01-10T21:06:28.306Z] Login Succeeded [2023-01-10T21:06:28.306Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:06:28.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:28.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:28.306Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:28.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:28.306Z] [2023-01-10T21:06:28.306Z] Login Succeeded [2023-01-10T21:06:28.306Z] docker.io [2023-01-10T21:06:28.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:28.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:28.824Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:28.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:28.824Z] [2023-01-10T21:06:28.824Z] Login Succeeded [2023-01-10T21:06:28.824Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:06:28.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T21:06:29.185Z] + git rev-list -1 --merges def1cc71e63d04479355a5672fe2144ca0f9c836~1..def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo [2023-01-10T21:06:29.228Z] -----------> git rev-list -1 --merges def1cc71e63d04479355a5672fe2144ca0f9c836~1..def1cc71e63d04479355a5672fe2144ca0f9c836 def1cc71e63d04479355a5672fe2144ca0f9c836 [false] [Pipeline] sh [2023-01-10T21:06:29.517Z] + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo [2023-01-10T21:06:29.551Z] ========================================================= [2023-01-10T21:06:29.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T21:06:29.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:06:29.891Z] + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] echo [2023-01-10T21:06:29.901Z] [semverPrep] GIT_COMMIT: def1cc71e63d04479355a5672fe2144ca0f9c836, Commit Message: feat!: Remove ZeroMQ MessageBus capability (#397) [Pipeline] echo [2023-01-10T21:06:29.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T21:06:30.251Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:06:30.251Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T21:06:30.251Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T21:06:30.251Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T21:06:30.251Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T21:06:30.251Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T21:06:30.251Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:30.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:06:30.588Z] [2023-01-10T21:06:30.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:30.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:06:30.888Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T21:06:30.888Z] b85a868b505f: Pulling fs layer [2023-01-10T21:06:30.888Z] e2be974225ed: Pulling fs layer [2023-01-10T21:06:30.888Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T21:06:30.888Z] 988bab9f4d93: Pulling fs layer [2023-01-10T21:06:30.888Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T21:06:30.888Z] eaf3925da568: Pulling fs layer [2023-01-10T21:06:30.888Z] bab4dde63d76: Pulling fs layer [2023-01-10T21:06:30.888Z] bde34c3a00c8: Pulling fs layer [2023-01-10T21:06:30.888Z] b352a97aabf1: Pulling fs layer [2023-01-10T21:06:30.888Z] 4872d77fe225: Pulling fs layer [2023-01-10T21:06:30.888Z] 988bab9f4d93: Waiting [2023-01-10T21:06:30.888Z] 1469e6f7b9e6: Waiting [2023-01-10T21:06:30.888Z] 5851b861e8e6: Pulling fs layer [2023-01-10T21:06:30.888Z] eaf3925da568: Waiting [2023-01-10T21:06:30.888Z] bab4dde63d76: Waiting [2023-01-10T21:06:30.888Z] 4872d77fe225: Waiting [2023-01-10T21:06:30.888Z] 5851b861e8e6: Waiting [2023-01-10T21:06:30.888Z] bde34c3a00c8: Waiting [2023-01-10T21:06:30.888Z] b352a97aabf1: Waiting [2023-01-10T21:06:30.888Z] e2be974225ed: Verifying Checksum [2023-01-10T21:06:30.888Z] e2be974225ed: Download complete [2023-01-10T21:06:30.888Z] 988bab9f4d93: Verifying Checksum [2023-01-10T21:06:30.888Z] 988bab9f4d93: Download complete [2023-01-10T21:06:31.155Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T21:06:31.155Z] 1469e6f7b9e6: Download complete [2023-01-10T21:06:31.155Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T21:06:31.155Z] 339a4e72a1f5: Download complete [2023-01-10T21:06:31.155Z] eaf3925da568: Verifying Checksum [2023-01-10T21:06:31.155Z] eaf3925da568: Download complete [2023-01-10T21:06:31.155Z] bde34c3a00c8: Verifying Checksum [2023-01-10T21:06:31.155Z] bde34c3a00c8: Download complete [2023-01-10T21:06:31.155Z] b352a97aabf1: Download complete [2023-01-10T21:06:31.155Z] 4872d77fe225: Verifying Checksum [2023-01-10T21:06:31.155Z] 4872d77fe225: Download complete [2023-01-10T21:06:31.155Z] 5851b861e8e6: Verifying Checksum [2023-01-10T21:06:31.155Z] 5851b861e8e6: Download complete [2023-01-10T21:06:31.155Z] b85a868b505f: Verifying Checksum [2023-01-10T21:06:31.155Z] b85a868b505f: Download complete [2023-01-10T21:06:31.437Z] bab4dde63d76: Verifying Checksum [2023-01-10T21:06:31.437Z] bab4dde63d76: Download complete [2023-01-10T21:06:32.813Z] b85a868b505f: Pull complete [2023-01-10T21:06:32.813Z] e2be974225ed: Pull complete [2023-01-10T21:06:33.071Z] 339a4e72a1f5: Pull complete [2023-01-10T21:06:33.330Z] 988bab9f4d93: Pull complete [2023-01-10T21:06:33.589Z] 1469e6f7b9e6: Pull complete [2023-01-10T21:06:33.589Z] eaf3925da568: Pull complete [2023-01-10T21:06:35.492Z] bab4dde63d76: Pull complete [2023-01-10T21:06:35.492Z] bde34c3a00c8: Pull complete [2023-01-10T21:06:35.751Z] b352a97aabf1: Pull complete [2023-01-10T21:06:35.751Z] 4872d77fe225: Pull complete [2023-01-10T21:06:35.751Z] 5851b861e8e6: Pull complete [2023-01-10T21:06:36.011Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T21:06:36.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:06:36.011Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:06:36.107Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:06:36.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:06:37.561Z] $ docker top 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 -eo pid,comm [2023-01-10T21:06:37.620Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T21:06:37.620Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:06:37.656Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:06:37.656Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:06:37.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:06:37.784Z] $ docker exec 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent [2023-01-10T21:06:37.890Z] SSH_AUTH_SOCK=/tmp/ssh-Nuxx3rBUGFEp/agent.32 [2023-01-10T21:06:37.890Z] SSH_AGENT_PID=38 [2023-01-10T21:06:37.897Z] Running ssh-add (command line suppressed) [2023-01-10T21:06:38.014Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3196638452136538300.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3196638452136538300.key) [2023-01-10T21:06:38.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:06:38.309Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T21:06:38.324Z] $ docker exec --env ******** --env ******** 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent -k [2023-01-10T21:06:38.421Z] unset SSH_AUTH_SOCK; [2023-01-10T21:06:38.421Z] unset SSH_AGENT_PID; [2023-01-10T21:06:38.421Z] echo Agent pid 38 killed; [2023-01-10T21:06:38.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T21:06:38.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:06:38.455Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:06:38.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:06:38.587Z] $ docker exec 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent [2023-01-10T21:06:38.691Z] SSH_AUTH_SOCK=/tmp/ssh-2aqbB3NyX3GO/agent.71 [2023-01-10T21:06:38.691Z] SSH_AGENT_PID=77 [2023-01-10T21:06:38.695Z] Running ssh-add (command line suppressed) [2023-01-10T21:06:38.808Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5637933674373338049.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5637933674373338049.key) [2023-01-10T21:06:38.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:06:39.112Z] + git semver init [2023-01-10T21:06:39.372Z] 2023-01-10 21:06:39,293 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T21:06:39.372Z] 2023-01-10 21:06:39,294 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-10T21:06:39.372Z] 2023-01-10 21:06:39,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-01-10T21:06:39.372Z] 2023-01-10 21:06:39,295 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:06:40.315Z] 2023-01-10 21:06:40,130 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-01-10T21:06:40.315Z] 2023-01-10 21:06:40,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-01-10T21:06:40.315Z] 2023-01-10 21:06:40,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:06:40.315Z] 2023-01-10 21:06:40,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:06:40.315Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T21:06:40.329Z] $ docker exec --env ******** --env ******** 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 ssh-agent -k [2023-01-10T21:06:40.437Z] unset SSH_AUTH_SOCK; [2023-01-10T21:06:40.437Z] unset SSH_AGENT_PID; [2023-01-10T21:06:40.437Z] echo Agent pid 77 killed; [2023-01-10T21:06:40.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:06:40.743Z] + git semver [Pipeline] } [2023-01-10T21:06:41.015Z] $ docker stop --time=1 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 [2023-01-10T21:06:42.384Z] $ docker rm -f --volumes 93ef464a028d5b575c1d60e6b08969dc234887e3aec5d40b8ef630595e8652c0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:06:42.721Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T21:06:42.921Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T21:06:42.925Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:06:43.064Z] provisioning config files... [2023-01-10T21:06:43.073Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14327079917369862291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:06:43.367Z] ---> docker-login.sh [2023-01-10T21:06:43.367Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:06:43.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:43.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:43.367Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:43.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:43.367Z] [2023-01-10T21:06:43.367Z] Login Succeeded [2023-01-10T21:06:43.367Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:06:43.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:43.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:43.367Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:43.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:43.367Z] [2023-01-10T21:06:43.367Z] Login Succeeded [2023-01-10T21:06:43.367Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:06:43.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:43.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:43.626Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:43.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:43.626Z] [2023-01-10T21:06:43.626Z] Login Succeeded [2023-01-10T21:06:43.626Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:06:43.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:43.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:43.626Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:43.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:43.626Z] [2023-01-10T21:06:43.626Z] Login Succeeded [2023-01-10T21:06:43.626Z] docker.io [2023-01-10T21:06:43.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:06:44.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:06:44.144Z] Configure a credential helper to remove this warning. See [2023-01-10T21:06:44.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:06:44.144Z] [2023-01-10T21:06:44.144Z] Login Succeeded [2023-01-10T21:06:44.144Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:06:44.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:06:44.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:06:44.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:06:44.241Z] ========================================================= [2023-01-10T21:06:44.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T21:06:44.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:06:44.567Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:06:44.567Z] Sending build context to Docker daemon 6.354MB [2023-01-10T21:06:44.567Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:06:44.567Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T21:06:44.567Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T21:06:44.567Z] 213ec9aee27d: Pulling fs layer [2023-01-10T21:06:44.567Z] 4583459ba037: Pulling fs layer [2023-01-10T21:06:44.567Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T21:06:44.567Z] 53926ce57604: Pulling fs layer [2023-01-10T21:06:44.567Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T21:06:44.567Z] 22ff95d597cd: Pulling fs layer [2023-01-10T21:06:44.567Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T21:06:44.567Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T21:06:44.567Z] a7acece74701: Pulling fs layer [2023-01-10T21:06:44.567Z] 96b7cbca73a9: Waiting [2023-01-10T21:06:44.567Z] 12d6caf4c0d1: Waiting [2023-01-10T21:06:44.567Z] 53926ce57604: Waiting [2023-01-10T21:06:44.567Z] 21b2b0c7a3f4: Waiting [2023-01-10T21:06:44.567Z] 22ff95d597cd: Waiting [2023-01-10T21:06:44.567Z] a7acece74701: Waiting [2023-01-10T21:06:44.567Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T21:06:44.567Z] 93c1e223e6f2: Download complete [2023-01-10T21:06:44.567Z] 4583459ba037: Verifying Checksum [2023-01-10T21:06:44.567Z] 4583459ba037: Download complete [2023-01-10T21:06:44.835Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T21:06:44.835Z] 21b2b0c7a3f4: Download complete [2023-01-10T21:06:44.835Z] 22ff95d597cd: Verifying Checksum [2023-01-10T21:06:44.835Z] 22ff95d597cd: Download complete [2023-01-10T21:06:44.835Z] 213ec9aee27d: Verifying Checksum [2023-01-10T21:06:44.835Z] 213ec9aee27d: Download complete [2023-01-10T21:06:44.835Z] 12d6caf4c0d1: Download complete [2023-01-10T21:06:44.835Z] 213ec9aee27d: Pull complete [2023-01-10T21:06:45.097Z] 4583459ba037: Pull complete [2023-01-10T21:06:45.097Z] 93c1e223e6f2: Pull complete [2023-01-10T21:06:45.361Z] a7acece74701: Verifying Checksum [2023-01-10T21:06:45.361Z] a7acece74701: Download complete [2023-01-10T21:06:45.929Z] 53926ce57604: Verifying Checksum [2023-01-10T21:06:45.929Z] 53926ce57604: Download complete [2023-01-10T21:06:45.929Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T21:06:45.929Z] 96b7cbca73a9: Download complete [2023-01-10T21:06:50.115Z] 53926ce57604: Pull complete [2023-01-10T21:06:50.115Z] 21b2b0c7a3f4: Pull complete [2023-01-10T21:06:50.115Z] 22ff95d597cd: Pull complete [2023-01-10T21:06:50.115Z] 12d6caf4c0d1: Pull complete [2023-01-10T21:06:52.649Z] 96b7cbca73a9: Pull complete [2023-01-10T21:06:53.216Z] a7acece74701: Pull complete [2023-01-10T21:06:53.216Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T21:06:53.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T21:06:53.216Z] ---> db6d94c90886 [2023-01-10T21:06:53.216Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:06:55.161Z] ---> Running in 20c13e88e8c3 [2023-01-10T21:06:55.161Z] Removing intermediate container 20c13e88e8c3 [2023-01-10T21:06:55.161Z] ---> 470f9e1ca39c [2023-01-10T21:06:55.161Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:06:55.161Z] ---> Running in a57fd7e37aef [2023-01-10T21:06:55.421Z] Removing intermediate container a57fd7e37aef [2023-01-10T21:06:55.421Z] ---> 7c51618e8d7f [2023-01-10T21:06:55.421Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:06:55.421Z] ---> Running in c5ae6bab83c0 [2023-01-10T21:06:55.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:06:55.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:06:55.940Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T21:06:55.940Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T21:06:55.940Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T21:06:55.940Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:06:55.940Z] OK: 217 MiB in 59 packages [2023-01-10T21:06:56.510Z] Removing intermediate container c5ae6bab83c0 [2023-01-10T21:06:56.510Z] ---> 8143c7a21816 [2023-01-10T21:06:56.510Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T21:06:56.773Z] ---> Running in 1f3ca47c6028 [2023-01-10T21:06:56.773Z] Removing intermediate container 1f3ca47c6028 [2023-01-10T21:06:56.773Z] ---> a16d0f45a355 [2023-01-10T21:06:56.773Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T21:06:57.032Z] ---> 9cb5c096b5e8 [2023-01-10T21:06:57.032Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:06:57.032Z] ---> Running in 632322312e22 [2023-01-10T21:06:58.028Z] Still waiting to schedule task [2023-01-10T21:06:58.028Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T21:07:18.978Z] Removing intermediate container 632322312e22 [2023-01-10T21:07:18.978Z] ---> c3bc13ddacfe [2023-01-10T21:07:18.978Z] Step 9/10 : COPY . . [2023-01-10T21:07:18.978Z] ---> d641339afd41 [2023-01-10T21:07:18.978Z] Step 10/10 : RUN ${MAKE} [2023-01-10T21:07:18.978Z] ---> Running in eb6977d90e39 [2023-01-10T21:07:18.978Z] noop [2023-01-10T21:07:18.978Z] Removing intermediate container eb6977d90e39 [2023-01-10T21:07:18.978Z] ---> ac1a2d1a5b9e [2023-01-10T21:07:18.978Z] Successfully built ac1a2d1a5b9e [2023-01-10T21:07:18.978Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:19.287Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:07:19.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:07:19.358Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:07:19.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:07:19.769Z] $ docker top 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:07:20.109Z] + go version [2023-01-10T21:07:20.109Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T21:07:20.122Z] $ docker stop --time=1 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef [2023-01-10T21:07:21.471Z] $ docker rm -f --volumes 16d2a54bf1bd6c0adfbb2a7d9ad28c5c806acd039a4c9de647d8c05518bdfcef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:21.904Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T21:07:21.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:07:21.978Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:07:22.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T21:07:22.406Z] $ docker top 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:07:22.750Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:07:23.040Z] + make test [2023-01-10T21:07:23.040Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:07:23.298Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T21:07:33.265Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T21:07:33.265Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.7% of statements [2023-01-10T21:07:39.833Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T21:07:39.833Z] go vet ./... [2023-01-10T21:07:42.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:07:42.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:07:42.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:07:42.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:07:42.384Z] $ docker stop --time=1 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a [2023-01-10T21:07:44.101Z] $ docker rm -f --volumes 84accf24e73ec2588032e9d9c756b3efedf58b1b2d85ee835f093a678a287e7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:07:44.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:07:44.564Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T21:07:44.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:07:45.254Z] + ls -al . [2023-01-10T21:07:45.254Z] total 196 [2023-01-10T21:07:45.254Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:07 . [2023-01-10T21:07:45.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 .. [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:06 .dockerignore [2023-01-10T21:07:45.254Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:07 .git [2023-01-10T21:07:45.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 .github [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:06 .gitignore [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:06 .golangci.yml [2023-01-10T21:07:45.254Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:06 .semver [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:06 Attribution.txt [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:06 CHANGELOG.md [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:06 Dockerfile [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:06 GOVERNANCE.md [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:06 Jenkinsfile [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:06 LICENSE [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:06 Makefile [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:06 OWNERS.md [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:06 README.md [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:06 VERSION [2023-01-10T21:07:45.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 bin [2023-01-10T21:07:45.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 cmd [2023-01-10T21:07:45.254Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:07 coverage.out [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:06 go.mod [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:06 go.sum [2023-01-10T21:07:45.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:06 internal [2023-01-10T21:07:45.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:06 simulator [2023-01-10T21:07:45.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:06 snap [2023-01-10T21:07:45.254Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:07:45.556Z] + 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=def1cc71e63d04479355a5672fe2144ca0f9c836 --label arch=amd64 --label version=3.0.0-dev.4 . [2023-01-10T21:07:45.556Z] Sending build context to Docker daemon 6.378MB [2023-01-10T21:07:45.556Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:07:45.556Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T21:07:45.556Z] ---> ac1a2d1a5b9e [2023-01-10T21:07:45.556Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:07:45.556Z] ---> Running in 4344ec9c17c0 [2023-01-10T21:07:45.816Z] Removing intermediate container 4344ec9c17c0 [2023-01-10T21:07:45.816Z] ---> 9010206afd77 [2023-01-10T21:07:45.816Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:07:45.816Z] ---> Running in 93e6ed70dd13 [2023-01-10T21:07:45.816Z] Removing intermediate container 93e6ed70dd13 [2023-01-10T21:07:45.816Z] ---> 71c52ba0ef36 [2023-01-10T21:07:45.816Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:07:45.816Z] ---> Running in ef17ea45a039 [2023-01-10T21:07:46.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:07:46.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:07:46.598Z] OK: 217 MiB in 59 packages [2023-01-10T21:07:46.856Z] Removing intermediate container ef17ea45a039 [2023-01-10T21:07:46.856Z] ---> fe894a1fe064 [2023-01-10T21:07:46.856Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T21:07:47.124Z] ---> Running in f3de3308b246 [2023-01-10T21:07:47.124Z] Removing intermediate container f3de3308b246 [2023-01-10T21:07:47.124Z] ---> 336b6ccff716 [2023-01-10T21:07:47.124Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T21:07:47.124Z] ---> 215d9bfe7f90 [2023-01-10T21:07:47.124Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:07:47.384Z] ---> Running in a6dee0526746 [2023-01-10T21:07:47.953Z] Removing intermediate container a6dee0526746 [2023-01-10T21:07:47.953Z] ---> 87f0b0d7c8a9 [2023-01-10T21:07:47.953Z] Step 9/22 : COPY . . [2023-01-10T21:07:48.229Z] ---> be150ccf9f25 [2023-01-10T21:07:48.229Z] Step 10/22 : RUN ${MAKE} [2023-01-10T21:07:48.489Z] ---> Running in 8fe2eb3011f4 [2023-01-10T21:07:48.747Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-10T21:08:06.969Z] Removing intermediate container 8fe2eb3011f4 [2023-01-10T21:08:06.969Z] ---> 4c8937049b07 [2023-01-10T21:08:06.969Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T21:08:07.536Z] 3.14: Pulling from library/alpine [2023-01-10T21:08:07.536Z] c7ed990a2339: Pulling fs layer [2023-01-10T21:08:07.795Z] c7ed990a2339: Verifying Checksum [2023-01-10T21:08:07.795Z] c7ed990a2339: Download complete [2023-01-10T21:08:07.795Z] c7ed990a2339: Pull complete [2023-01-10T21:08:07.795Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T21:08:07.795Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T21:08:07.795Z] ---> dd53f409bf0b [2023-01-10T21:08:07.795Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T21:08:08.054Z] ---> Running in f472723a5a92 [2023-01-10T21:08:08.054Z] Removing intermediate container f472723a5a92 [2023-01-10T21:08:08.054Z] ---> db3cd82cc394 [2023-01-10T21:08:08.054Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:08:08.054Z] ---> Running in 7824a8983a5b [2023-01-10T21:08:08.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2023-01-10T21:08:08.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2023-01-10T21:08:08.832Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:08:08.832Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T21:08:08.832Z] OK: 6 MiB in 15 packages [2023-01-10T21:08:09.089Z] Removing intermediate container 7824a8983a5b [2023-01-10T21:08:09.089Z] ---> 775668f6b8f7 [2023-01-10T21:08:09.089Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T21:08:09.655Z] ---> ff970afc73b8 [2023-01-10T21:08:09.655Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T21:08:09.655Z] ---> d4d6c3813cea [2023-01-10T21:08:09.655Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T21:08:09.915Z] ---> dae6e75eab20 [2023-01-10T21:08:09.915Z] Step 17/22 : EXPOSE 59901 [2023-01-10T21:08:09.915Z] ---> Running in 2533c3e3b447 [2023-01-10T21:08:10.182Z] Removing intermediate container 2533c3e3b447 [2023-01-10T21:08:10.182Z] ---> 0526ea684f6f [2023-01-10T21:08:10.182Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T21:08:10.182Z] ---> Running in 854159e58f42 [2023-01-10T21:08:10.182Z] Removing intermediate container 854159e58f42 [2023-01-10T21:08:10.182Z] ---> 7d1c8f0017d2 [2023-01-10T21:08:10.182Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T21:08:10.182Z] ---> Running in 80bffab53bae [2023-01-10T21:08:10.445Z] Removing intermediate container 80bffab53bae [2023-01-10T21:08:10.445Z] ---> 124dc46764cd [2023-01-10T21:08:10.445Z] Step 20/22 : LABEL arch=amd64 [2023-01-10T21:08:10.445Z] ---> Running in 11b299777922 [2023-01-10T21:08:10.445Z] Removing intermediate container 11b299777922 [2023-01-10T21:08:10.445Z] ---> 5697970cf272 [2023-01-10T21:08:10.445Z] Step 21/22 : LABEL git_sha=def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:08:10.445Z] ---> Running in 55845efddb89 [2023-01-10T21:08:10.706Z] Removing intermediate container 55845efddb89 [2023-01-10T21:08:10.706Z] ---> ca9299db58b9 [2023-01-10T21:08:10.706Z] Step 22/22 : LABEL version=3.0.0-dev.4 [2023-01-10T21:08:10.706Z] ---> Running in 02611f08dba9 [2023-01-10T21:08:10.706Z] Removing intermediate container 02611f08dba9 [2023-01-10T21:08:10.706Z] ---> bf639a926412 [2023-01-10T21:08:10.706Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:08:10.706Z] Successfully built bf639a926412 [2023-01-10T21:08:10.706Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:08:10.787Z] provisioning config files... [2023-01-10T21:08:10.795Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4830563415697270331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:08:11.086Z] ---> docker-login.sh [2023-01-10T21:08:11.086Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:08:11.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:08:11.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:08:11.086Z] Configure a credential helper to remove this warning. See [2023-01-10T21:08:11.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:08:11.086Z] [2023-01-10T21:08:11.086Z] Login Succeeded [2023-01-10T21:08:11.086Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:08:11.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:08:11.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:08:11.086Z] Configure a credential helper to remove this warning. See [2023-01-10T21:08:11.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:08:11.086Z] [2023-01-10T21:08:11.086Z] Login Succeeded [2023-01-10T21:08:11.086Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:08:11.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:08:11.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:08:11.344Z] Configure a credential helper to remove this warning. See [2023-01-10T21:08:11.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:08:11.344Z] [2023-01-10T21:08:11.344Z] Login Succeeded [2023-01-10T21:08:11.344Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:08:11.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:08:11.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:08:11.344Z] Configure a credential helper to remove this warning. See [2023-01-10T21:08:11.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:08:11.344Z] [2023-01-10T21:08:11.344Z] Login Succeeded [2023-01-10T21:08:11.344Z] docker.io [2023-01-10T21:08:11.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:08:11.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:08:11.602Z] Configure a credential helper to remove this warning. See [2023-01-10T21:08:11.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:08:11.602Z] [2023-01-10T21:08:11.602Z] Login Succeeded [2023-01-10T21:08:11.602Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:08:11.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:08:11.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:08:11.659Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-01-10T21:08:11.659Z] def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:08:11.659Z] latest [2023-01-10T21:08:11.659Z] 3.0.0-dev.4 [2023-01-10T21:08:11.659Z] def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:08:11.659Z] main [2023-01-10T21:08:11.659Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:11.987Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:12.303Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:08:12.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-10T21:08:12.303Z] fc26fd34b5c1: Preparing [2023-01-10T21:08:12.303Z] 36d2ea5c7833: Preparing [2023-01-10T21:08:12.303Z] 0c6abab6a0c6: Preparing [2023-01-10T21:08:12.303Z] 168002ea29f4: Preparing [2023-01-10T21:08:12.303Z] 63493a9ab2d4: Preparing [2023-01-10T21:08:12.303Z] 63493a9ab2d4: Layer already exists [2023-01-10T21:08:12.303Z] 36d2ea5c7833: Pushed [2023-01-10T21:08:12.303Z] 168002ea29f4: Pushed [2023-01-10T21:08:12.303Z] fc26fd34b5c1: Pushed [2023-01-10T21:08:14.837Z] 0c6abab6a0c6: Pushed [2023-01-10T21:08:14.837Z] def1cc71e63d04479355a5672fe2144ca0f9c836: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:15.156Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:15.458Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-10T21:08:15.458Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-10T21:08:15.458Z] fc26fd34b5c1: Preparing [2023-01-10T21:08:15.458Z] 36d2ea5c7833: Preparing [2023-01-10T21:08:15.458Z] 0c6abab6a0c6: Preparing [2023-01-10T21:08:15.458Z] 168002ea29f4: Preparing [2023-01-10T21:08:15.458Z] 63493a9ab2d4: Preparing [2023-01-10T21:08:15.458Z] 168002ea29f4: Layer already exists [2023-01-10T21:08:15.458Z] 36d2ea5c7833: Layer already exists [2023-01-10T21:08:15.458Z] fc26fd34b5c1: Layer already exists [2023-01-10T21:08:15.458Z] 63493a9ab2d4: Layer already exists [2023-01-10T21:08:15.458Z] 0c6abab6a0c6: Layer already exists [2023-01-10T21:08:15.458Z] latest: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:15.769Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:16.077Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 [2023-01-10T21:08:16.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-10T21:08:16.077Z] fc26fd34b5c1: Preparing [2023-01-10T21:08:16.077Z] 36d2ea5c7833: Preparing [2023-01-10T21:08:16.077Z] 0c6abab6a0c6: Preparing [2023-01-10T21:08:16.077Z] 168002ea29f4: Preparing [2023-01-10T21:08:16.077Z] 63493a9ab2d4: Preparing [2023-01-10T21:08:16.077Z] 168002ea29f4: Layer already exists [2023-01-10T21:08:16.077Z] fc26fd34b5c1: Layer already exists [2023-01-10T21:08:16.077Z] 63493a9ab2d4: Layer already exists [2023-01-10T21:08:16.077Z] 36d2ea5c7833: Layer already exists [2023-01-10T21:08:16.077Z] 0c6abab6a0c6: Layer already exists [2023-01-10T21:08:16.077Z] 3.0.0-dev.4: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:16.385Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:16.693Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:08:16.693Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-10T21:08:16.693Z] fc26fd34b5c1: Preparing [2023-01-10T21:08:16.693Z] 36d2ea5c7833: Preparing [2023-01-10T21:08:16.693Z] 0c6abab6a0c6: Preparing [2023-01-10T21:08:16.693Z] 168002ea29f4: Preparing [2023-01-10T21:08:16.693Z] 63493a9ab2d4: Preparing [2023-01-10T21:08:16.693Z] fc26fd34b5c1: Layer already exists [2023-01-10T21:08:16.693Z] 0c6abab6a0c6: Layer already exists [2023-01-10T21:08:16.693Z] 168002ea29f4: Layer already exists [2023-01-10T21:08:16.693Z] 36d2ea5c7833: Layer already exists [2023-01-10T21:08:16.693Z] 63493a9ab2d4: Layer already exists [2023-01-10T21:08:16.693Z] def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:17.009Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:17.320Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-01-10T21:08:17.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-01-10T21:08:17.320Z] fc26fd34b5c1: Preparing [2023-01-10T21:08:17.320Z] 36d2ea5c7833: Preparing [2023-01-10T21:08:17.320Z] 0c6abab6a0c6: Preparing [2023-01-10T21:08:17.320Z] 168002ea29f4: Preparing [2023-01-10T21:08:17.320Z] 63493a9ab2d4: Preparing [2023-01-10T21:08:17.320Z] fc26fd34b5c1: Layer already exists [2023-01-10T21:08:17.320Z] 0c6abab6a0c6: Layer already exists [2023-01-10T21:08:17.320Z] 36d2ea5c7833: Layer already exists [2023-01-10T21:08:17.320Z] 63493a9ab2d4: Layer already exists [2023-01-10T21:08:17.320Z] 168002ea29f4: Layer already exists [2023-01-10T21:08:17.320Z] main: digest: sha256:cd24e01e959509a51904738ca693a51c604c3ac5143250ee2d778c3c6f4013ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:08:17.356Z] ===================================================== [Pipeline] echo [2023-01-10T21:08:17.362Z] taggedImages: [2023-01-10T21:08:17.362Z] - nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:08:17.362Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-01-10T21:08:17.362Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.4 [2023-01-10T21:08:17.362Z] - nexus3.edgexfoundry.org:10004/device-modbus:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:08:17.362Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:17.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:08:17.732Z] [2023-01-10T21:08:17.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:08:18.028Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:08:18.028Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T21:08:18.028Z] 5eb5b503b376: Pulling fs layer [2023-01-10T21:08:18.028Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T21:08:18.028Z] ec43610c2a17: Pulling fs layer [2023-01-10T21:08:18.028Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T21:08:18.028Z] 33b1e0a273af: Pulling fs layer [2023-01-10T21:08:18.028Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T21:08:18.028Z] 2f39f015ded8: Pulling fs layer [2023-01-10T21:08:18.028Z] 3a2ae6a8a46f: Waiting [2023-01-10T21:08:18.028Z] 33b1e0a273af: Waiting [2023-01-10T21:08:18.028Z] 5d3b04190fa2: Waiting [2023-01-10T21:08:18.028Z] 2f39f015ded8: Waiting [2023-01-10T21:08:18.028Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T21:08:18.028Z] 5c69ac0246d0: Download complete [2023-01-10T21:08:18.028Z] 3a2ae6a8a46f: Download complete [2023-01-10T21:08:18.028Z] 33b1e0a273af: Verifying Checksum [2023-01-10T21:08:18.028Z] 33b1e0a273af: Download complete [2023-01-10T21:08:18.028Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T21:08:18.028Z] 5d3b04190fa2: Download complete [2023-01-10T21:08:18.289Z] ec43610c2a17: Verifying Checksum [2023-01-10T21:08:18.289Z] ec43610c2a17: Download complete [2023-01-10T21:08:18.289Z] 5eb5b503b376: Verifying Checksum [2023-01-10T21:08:18.289Z] 5eb5b503b376: Download complete [2023-01-10T21:08:18.859Z] 2f39f015ded8: Download complete [2023-01-10T21:08:19.429Z] 5eb5b503b376: Pull complete [2023-01-10T21:08:19.429Z] 5c69ac0246d0: Pull complete [2023-01-10T21:08:19.995Z] ec43610c2a17: Pull complete [2023-01-10T21:08:19.995Z] 3a2ae6a8a46f: Pull complete [2023-01-10T21:08:20.252Z] 33b1e0a273af: Pull complete [2023-01-10T21:08:20.252Z] 5d3b04190fa2: Pull complete [2023-01-10T21:08:24.430Z] 2f39f015ded8: Pull complete [2023-01-10T21:08:24.430Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T21:08:24.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:08:24.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:08:24.505Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:08:24.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:08:26.062Z] $ docker top 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:08:26.428Z] ---> job-cost.sh [2023-01-10T21:08:26.428Z] lf-activate-venv: SKIPPING [2023-01-10T21:08:26.428Z] INFO: No Stack... [2023-01-10T21:08:26.686Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:08:27.252Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:08:27.541Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-01-10T21:08:27.541Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T21:08:27.555Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [2023-01-10T21:08:27.563Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] did not exist. Created. [2023-01-10T21:08:27.563Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:08:27.860Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T21:08:27.888Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:08:27.894Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:08:27.912Z] $ docker stop --time=1 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 [2023-01-10T21:08:29.092Z] $ docker rm -f --volumes 33ebabff339a5ebaa6c1c9502d930a2d7c990cbaf2bb8ab9eb62340f501695a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T21:09:49.150Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1681 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-01-10T21:09:49.162Z] Running in /w/workspace/device-modbus-go/70 [Pipeline] { [Pipeline] checkout [2023-01-10T21:09:49.203Z] Selected Git installation does not exist. Using Default [2023-01-10T21:09:49.203Z] The recommended git tool is: NONE [2023-01-10T21:09:59.956Z] using credential edgex-jenkins-ssh [2023-01-10T21:09:59.975Z] Cloning the remote Git repository [2023-01-10T21:10:00.038Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T21:10:00.138Z] > git init /w/workspace/device-modbus-go/70 # timeout=10 [2023-01-10T21:10:00.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-01-10T21:10:00.462Z] > git --version # timeout=10 [2023-01-10T21:10:00.534Z] > git --version # 'git version 2.25.1' [2023-01-10T21:10:00.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T21:10:00.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:10:02.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-01-10T21:10:02.286Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T21:10:04.129Z] Avoid second fetch [2023-01-10T21:10:04.129Z] Checking out Revision def1cc71e63d04479355a5672fe2144ca0f9c836 (main) [2023-01-10T21:10:04.175Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T21:10:04.266Z] > git checkout -f def1cc71e63d04479355a5672fe2144ca0f9c836 # timeout=10 [2023-01-10T21:10:05.173Z] Commit message: "feat!: Remove ZeroMQ MessageBus capability (#397)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:10:06.260Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T21:10:06.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:10:06.260Z] Dload Upload Total Spent Left Speed [2023-01-10T21:10:06.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-01-10T21:10:07.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T21:10:07.439Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T21:10:07.439Z] + sudo tee /etc/docker/daemon.new [2023-01-10T21:10:07.439Z] { [2023-01-10T21:10:07.439Z] "registry-mirrors": [ [2023-01-10T21:10:07.439Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T21:10:07.439Z] ], [2023-01-10T21:10:07.439Z] "bip": "10.250.0.254/24", [2023-01-10T21:10:07.439Z] "hosts": [ [2023-01-10T21:10:07.439Z] "tcp://0.0.0.0:5555", [2023-01-10T21:10:07.439Z] "unix:///var/run/docker.sock" [2023-01-10T21:10:07.439Z] ], [2023-01-10T21:10:07.439Z] "mtu": 1458, [2023-01-10T21:10:07.439Z] "selinux-enabled": true, [2023-01-10T21:10:07.439Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T21:10:07.439Z] } [Pipeline] sh [2023-01-10T21:10:07.828Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T21:10:08.245Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:10:26.607Z] provisioning config files... [2023-01-10T21:10:26.642Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/70@tmp/config17964173430417176529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:10:27.017Z] ---> docker-login.sh [2023-01-10T21:10:27.017Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:10:27.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:10:27.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:10:27.610Z] Configure a credential helper to remove this warning. See [2023-01-10T21:10:27.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:10:27.610Z] [2023-01-10T21:10:27.610Z] Login Succeeded [2023-01-10T21:10:27.610Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:10:27.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:10:28.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:10:28.161Z] Configure a credential helper to remove this warning. See [2023-01-10T21:10:28.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:10:28.161Z] [2023-01-10T21:10:28.161Z] Login Succeeded [2023-01-10T21:10:28.161Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:10:28.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:10:28.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:10:28.437Z] Configure a credential helper to remove this warning. See [2023-01-10T21:10:28.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:10:28.437Z] [2023-01-10T21:10:28.437Z] Login Succeeded [2023-01-10T21:10:28.437Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:10:28.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:10:28.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:10:28.981Z] Configure a credential helper to remove this warning. See [2023-01-10T21:10:28.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:10:28.981Z] [2023-01-10T21:10:28.981Z] Login Succeeded [2023-01-10T21:10:28.981Z] docker.io [2023-01-10T21:10:29.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:10:29.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:10:29.526Z] Configure a credential helper to remove this warning. See [2023-01-10T21:10:29.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:10:29.526Z] [2023-01-10T21:10:29.526Z] Login Succeeded [2023-01-10T21:10:29.526Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:10:29.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T21:10:29.908Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:10:29.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:10:29.934Z] ========================================================= [2023-01-10T21:10:29.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T21:10:29.934Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:10:30.310Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T21:10:30.584Z] Sending build context to Docker daemon 3.311MB [2023-01-10T21:10:30.584Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:10:30.584Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T21:10:30.863Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T21:10:30.863Z] 9b18e9b68314: Pulling fs layer [2023-01-10T21:10:30.863Z] 35d82f9e3411: Pulling fs layer [2023-01-10T21:10:30.863Z] e16973657156: Pulling fs layer [2023-01-10T21:10:30.863Z] fc693d55d65f: Pulling fs layer [2023-01-10T21:10:30.863Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T21:10:30.863Z] dda99020689f: Pulling fs layer [2023-01-10T21:10:30.863Z] db1c61fa0a46: Pulling fs layer [2023-01-10T21:10:30.863Z] 891c053d2c06: Pulling fs layer [2023-01-10T21:10:30.863Z] fc693d55d65f: Waiting [2023-01-10T21:10:30.863Z] 7e9fc2657dce: Waiting [2023-01-10T21:10:30.863Z] dda99020689f: Waiting [2023-01-10T21:10:30.863Z] db1c61fa0a46: Waiting [2023-01-10T21:10:30.863Z] 891c053d2c06: Waiting [2023-01-10T21:10:30.863Z] e16973657156: Verifying Checksum [2023-01-10T21:10:30.863Z] e16973657156: Download complete [2023-01-10T21:10:30.863Z] 35d82f9e3411: Verifying Checksum [2023-01-10T21:10:30.863Z] 35d82f9e3411: Download complete [2023-01-10T21:10:30.863Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T21:10:30.863Z] 7e9fc2657dce: Download complete [2023-01-10T21:10:30.863Z] dda99020689f: Download complete [2023-01-10T21:10:30.863Z] 9b18e9b68314: Verifying Checksum [2023-01-10T21:10:30.863Z] 9b18e9b68314: Download complete [2023-01-10T21:10:31.844Z] 9b18e9b68314: Pull complete [2023-01-10T21:10:32.443Z] 891c053d2c06: Verifying Checksum [2023-01-10T21:10:32.443Z] 891c053d2c06: Download complete [2023-01-10T21:10:32.443Z] 35d82f9e3411: Pull complete [2023-01-10T21:10:32.718Z] e16973657156: Pull complete [2023-01-10T21:10:33.317Z] db1c61fa0a46: Verifying Checksum [2023-01-10T21:10:33.317Z] db1c61fa0a46: Download complete [2023-01-10T21:10:33.906Z] fc693d55d65f: Verifying Checksum [2023-01-10T21:10:33.906Z] fc693d55d65f: Download complete [2023-01-10T21:10:46.275Z] fc693d55d65f: Pull complete [2023-01-10T21:10:46.275Z] 7e9fc2657dce: Pull complete [2023-01-10T21:10:46.275Z] dda99020689f: Pull complete [2023-01-10T21:10:51.677Z] db1c61fa0a46: Pull complete [2023-01-10T21:10:54.306Z] 891c053d2c06: Pull complete [2023-01-10T21:10:55.283Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T21:10:55.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T21:10:55.283Z] ---> f96f9c87975a [2023-01-10T21:10:55.283Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:10:57.249Z] ---> Running in 451eea44f134 [2023-01-10T21:10:57.524Z] Removing intermediate container 451eea44f134 [2023-01-10T21:10:57.524Z] ---> b7250b3e21d9 [2023-01-10T21:10:57.524Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:10:57.524Z] ---> Running in fb29927c209a [2023-01-10T21:10:58.115Z] Removing intermediate container fb29927c209a [2023-01-10T21:10:58.115Z] ---> d4b1686c68d2 [2023-01-10T21:10:58.115Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:10:58.115Z] ---> Running in d35e9efa6a58 [2023-01-10T21:10:59.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:10:59.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:11:01.051Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (2/8) Installing libedit (20210910.3.1-r0) [2023-01-10T21:11:01.051Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (7/8) Installing openssh-server (9.0_p1-r2) [2023-01-10T21:11:01.051Z] (8/8) Installing openssh (9.0_p1-r2) [2023-01-10T21:11:01.051Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T21:11:01.051Z] OK: 228 MiB in 59 packages [2023-01-10T21:11:02.503Z] Removing intermediate container d35e9efa6a58 [2023-01-10T21:11:02.503Z] ---> b439e1f7d109 [2023-01-10T21:11:02.503Z] Step 6/10 : WORKDIR /device-modbus-go [2023-01-10T21:11:02.503Z] ---> Running in dedb1d59be08 [2023-01-10T21:11:02.775Z] Removing intermediate container dedb1d59be08 [2023-01-10T21:11:02.775Z] ---> 34911990c961 [2023-01-10T21:11:02.775Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T21:11:03.384Z] ---> a4eb2dd0a10b [2023-01-10T21:11:03.384Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:11:03.384Z] ---> Running in 0e93345c5a28 [2023-01-10T21:12:11.441Z] Removing intermediate container 0e93345c5a28 [2023-01-10T21:12:11.441Z] ---> b7491acc49b7 [2023-01-10T21:12:11.441Z] Step 9/10 : COPY . . [2023-01-10T21:12:11.441Z] ---> 9cf574a0519d [2023-01-10T21:12:11.441Z] Step 10/10 : RUN ${MAKE} [2023-01-10T21:12:11.441Z] ---> Running in 75c2fb703664 [2023-01-10T21:12:11.441Z] noop [2023-01-10T21:12:11.441Z] Removing intermediate container 75c2fb703664 [2023-01-10T21:12:11.441Z] ---> 02ddabed41ae [2023-01-10T21:12:11.441Z] Successfully built 02ddabed41ae [2023-01-10T21:12:11.441Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:12:11.849Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:12:11.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:12:12.080Z] prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container [2023-01-10T21:12:12.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:12:13.594Z] $ docker top 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:12:14.473Z] + go version [2023-01-10T21:12:14.473Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T21:12:14.499Z] $ docker stop --time=1 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc [2023-01-10T21:12:16.178Z] $ docker rm -f --volumes 5cf228284fbe7366a0caf5fd2adb0e4f020e539eed12a267db230484e20857bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:12:16.772Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T21:12:16.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:12:16.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container [2023-01-10T21:12:17.060Z] $ 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/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T21:12:18.328Z] $ docker top 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:12:19.196Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/70 [Pipeline] fileExists [Pipeline] sh [2023-01-10T21:12:19.863Z] + make test [2023-01-10T21:12:19.863Z] go test ./... -coverprofile=coverage.out [2023-01-10T21:12:21.841Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-01-10T21:13:58.560Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-01-10T21:13:58.560Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.7% of statements [2023-01-10T21:13:58.560Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T21:13:58.560Z] go vet ./... [2023-01-10T21:14:25.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T21:14:25.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T21:14:25.328Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T21:14:25.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T21:14:25.369Z] $ docker stop --time=1 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 [2023-01-10T21:14:27.352Z] $ docker rm -f --volumes 049eda71de4a74e0f1c24c722f4817000cc735a89940d5802fb0a160ba00fd61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:14:28.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T21:14:28.473Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T21:14:29.201Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T21:14:29.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T21:14:29.950Z] + ls -al . [2023-01-10T21:14:29.950Z] total 192 [2023-01-10T21:14:29.950Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:12 . [2023-01-10T21:14:29.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 .. [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 21:10 .dockerignore [2023-01-10T21:14:29.950Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:10 .git [2023-01-10T21:14:29.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 .github [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 10 21:10 .gitignore [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:10 .golangci.yml [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 10017 Jan 10 21:10 Attribution.txt [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 11576 Jan 10 21:10 CHANGELOG.md [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 1365 Jan 10 21:10 Dockerfile [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:10 GOVERNANCE.md [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 21:10 Jenkinsfile [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:10 LICENSE [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 1670 Jan 10 21:10 Makefile [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 10 21:10 OWNERS.md [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 4061 Jan 10 21:10 README.md [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 21:06 VERSION [2023-01-10T21:14:29.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 bin [2023-01-10T21:14:29.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 cmd [2023-01-10T21:14:29.950Z] -rw-r--r-- 1 jenkins jenkins 23241 Jan 10 21:13 coverage.out [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jan 10 21:10 go.mod [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 45355 Jan 10 21:10 go.sum [2023-01-10T21:14:29.950Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:10 internal [2023-01-10T21:14:29.950Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:10 simulator [2023-01-10T21:14:29.950Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:10 snap [2023-01-10T21:14:29.950Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:14:30.322Z] + 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=def1cc71e63d04479355a5672fe2144ca0f9c836 --label arch=arm64 --label version=3.0.0-dev.4 . [2023-01-10T21:14:30.601Z] Sending build context to Docker daemon 3.335MB [2023-01-10T21:14:30.878Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T21:14:30.878Z] Step 2/22 : FROM ${BASE} AS builder [2023-01-10T21:14:30.878Z] ---> 02ddabed41ae [2023-01-10T21:14:30.878Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-01-10T21:14:31.153Z] ---> Running in 373c57083d6d [2023-01-10T21:14:31.427Z] Removing intermediate container 373c57083d6d [2023-01-10T21:14:31.427Z] ---> c283f31f7bde [2023-01-10T21:14:31.427Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T21:14:31.427Z] ---> Running in bba74d8480a2 [2023-01-10T21:14:32.028Z] Removing intermediate container bba74d8480a2 [2023-01-10T21:14:32.028Z] ---> 473966adb0b6 [2023-01-10T21:14:32.028Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-01-10T21:14:32.028Z] ---> Running in 37057dfc0ca6 [2023-01-10T21:14:33.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:14:33.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:14:34.899Z] OK: 228 MiB in 59 packages [2023-01-10T21:14:36.326Z] Removing intermediate container 37057dfc0ca6 [2023-01-10T21:14:36.326Z] ---> cca7d13c441e [2023-01-10T21:14:36.326Z] Step 6/22 : WORKDIR /device-modbus-go [2023-01-10T21:14:36.326Z] ---> Running in 30ea8e6e42fb [2023-01-10T21:14:36.599Z] Removing intermediate container 30ea8e6e42fb [2023-01-10T21:14:36.599Z] ---> c44e4159a4b3 [2023-01-10T21:14:36.599Z] Step 7/22 : COPY go.mod vendor* ./ [2023-01-10T21:14:37.202Z] ---> 0b2c062bf9e1 [2023-01-10T21:14:37.202Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T21:14:37.202Z] ---> Running in 6878be9e850e [2023-01-10T21:14:39.851Z] Removing intermediate container 6878be9e850e [2023-01-10T21:14:39.851Z] ---> 724f3d403fc7 [2023-01-10T21:14:39.851Z] Step 9/22 : COPY . . [2023-01-10T21:14:40.839Z] ---> d97b14304e17 [2023-01-10T21:14:40.839Z] Step 10/22 : RUN ${MAKE} [2023-01-10T21:14:40.839Z] ---> Running in 046ee21cf9e9 [2023-01-10T21:14:41.828Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-01-10T21:17:18.661Z] Removing intermediate container 046ee21cf9e9 [2023-01-10T21:17:18.661Z] ---> f3f13df50a01 [2023-01-10T21:17:18.661Z] Step 11/22 : FROM alpine:3.14 [2023-01-10T21:17:18.661Z] 3.14: Pulling from library/alpine [2023-01-10T21:17:18.661Z] 90cda3b7c325: Pulling fs layer [2023-01-10T21:17:18.661Z] 90cda3b7c325: Verifying Checksum [2023-01-10T21:17:18.661Z] 90cda3b7c325: Download complete [2023-01-10T21:17:18.661Z] 90cda3b7c325: Pull complete [2023-01-10T21:17:18.661Z] Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a [2023-01-10T21:17:18.661Z] Status: Downloaded newer image for alpine:3.14 [2023-01-10T21:17:18.661Z] ---> 275902a1839d [2023-01-10T21:17:18.661Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-01-10T21:17:18.661Z] ---> Running in 2cff261d7b3b [2023-01-10T21:17:18.661Z] Removing intermediate container 2cff261d7b3b [2023-01-10T21:17:18.661Z] ---> cea390e66edc [2023-01-10T21:17:18.661Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-01-10T21:17:18.661Z] ---> Running in 858e3947e36a [2023-01-10T21:17:19.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2023-01-10T21:17:20.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2023-01-10T21:17:21.204Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T21:17:21.204Z] Executing busybox-1.33.1-r8.trigger [2023-01-10T21:17:21.204Z] OK: 6 MiB in 15 packages [2023-01-10T21:17:22.188Z] Removing intermediate container 858e3947e36a [2023-01-10T21:17:22.188Z] ---> 9f0cd4fc2e8d [2023-01-10T21:17:22.188Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-01-10T21:17:23.623Z] ---> da24a4c8b7dc [2023-01-10T21:17:23.623Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-01-10T21:17:23.895Z] ---> 969267d4b282 [2023-01-10T21:17:23.895Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-01-10T21:17:24.496Z] ---> 28363df4e10c [2023-01-10T21:17:24.496Z] Step 17/22 : EXPOSE 59901 [2023-01-10T21:17:24.496Z] ---> Running in 892bdaed0ad9 [2023-01-10T21:17:25.088Z] Removing intermediate container 892bdaed0ad9 [2023-01-10T21:17:25.088Z] ---> 640201f01791 [2023-01-10T21:17:25.088Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-01-10T21:17:25.088Z] ---> Running in e8d794505c32 [2023-01-10T21:17:25.357Z] Removing intermediate container e8d794505c32 [2023-01-10T21:17:25.357Z] ---> 1ce0e039744c [2023-01-10T21:17:25.357Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T21:17:25.357Z] ---> Running in 80f28cb728d9 [2023-01-10T21:17:25.628Z] Removing intermediate container 80f28cb728d9 [2023-01-10T21:17:25.628Z] ---> 39e5c2774556 [2023-01-10T21:17:25.628Z] Step 20/22 : LABEL arch=arm64 [2023-01-10T21:17:25.898Z] ---> Running in 02aab992eb11 [2023-01-10T21:17:26.169Z] Removing intermediate container 02aab992eb11 [2023-01-10T21:17:26.169Z] ---> 6050a8a82015 [2023-01-10T21:17:26.169Z] Step 21/22 : LABEL git_sha=def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:17:26.169Z] ---> Running in 8940d9c41705 [2023-01-10T21:17:26.764Z] Removing intermediate container 8940d9c41705 [2023-01-10T21:17:26.764Z] ---> 77541673203c [2023-01-10T21:17:26.764Z] Step 22/22 : LABEL version=3.0.0-dev.4 [2023-01-10T21:17:26.764Z] ---> Running in e399bf278bd6 [2023-01-10T21:17:27.036Z] Removing intermediate container e399bf278bd6 [2023-01-10T21:17:27.036Z] ---> d22b86b1c214 [2023-01-10T21:17:27.036Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T21:17:27.036Z] Successfully built d22b86b1c214 [2023-01-10T21:17:27.036Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:17:27.151Z] provisioning config files... [2023-01-10T21:17:27.169Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/70@tmp/config17393391650947867515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:17:27.522Z] ---> docker-login.sh [2023-01-10T21:17:27.522Z] nexus3.edgexfoundry.org:10001 [2023-01-10T21:17:27.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:17:27.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:17:27.794Z] Configure a credential helper to remove this warning. See [2023-01-10T21:17:27.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:17:27.794Z] [2023-01-10T21:17:27.794Z] Login Succeeded [2023-01-10T21:17:27.794Z] nexus3.edgexfoundry.org:10002 [2023-01-10T21:17:28.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:17:28.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:17:28.387Z] Configure a credential helper to remove this warning. See [2023-01-10T21:17:28.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:17:28.387Z] [2023-01-10T21:17:28.387Z] Login Succeeded [2023-01-10T21:17:28.387Z] nexus3.edgexfoundry.org:10003 [2023-01-10T21:17:28.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:17:28.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:17:28.928Z] Configure a credential helper to remove this warning. See [2023-01-10T21:17:28.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:17:28.928Z] [2023-01-10T21:17:28.928Z] Login Succeeded [2023-01-10T21:17:28.928Z] nexus3.edgexfoundry.org:10004 [2023-01-10T21:17:29.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:17:30.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:17:30.172Z] Configure a credential helper to remove this warning. See [2023-01-10T21:17:30.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:17:30.172Z] [2023-01-10T21:17:30.172Z] Login Succeeded [2023-01-10T21:17:30.172Z] docker.io [2023-01-10T21:17:30.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T21:17:30.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T21:17:30.718Z] Configure a credential helper to remove this warning. See [2023-01-10T21:17:30.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T21:17:30.718Z] [2023-01-10T21:17:30.718Z] Login Succeeded [2023-01-10T21:17:30.989Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T21:17:31.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:17:31.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T21:17:31.059Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-01-10T21:17:31.059Z] def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:17:31.059Z] latest [2023-01-10T21:17:31.059Z] 3.0.0-dev.4 [2023-01-10T21:17:31.059Z] def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:17:31.059Z] main [2023-01-10T21:17:31.059Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:31.422Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:31.795Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:17:31.795Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-10T21:17:31.795Z] 9a54cc7c4b4d: Preparing [2023-01-10T21:17:31.795Z] cf7ad2f726c7: Preparing [2023-01-10T21:17:31.795Z] e2fa4e9d5ce3: Preparing [2023-01-10T21:17:31.795Z] e07e9717dcaa: Preparing [2023-01-10T21:17:31.795Z] 28c3ef001483: Preparing [2023-01-10T21:17:32.068Z] 28c3ef001483: Layer already exists [2023-01-10T21:17:32.068Z] cf7ad2f726c7: Pushed [2023-01-10T21:17:32.068Z] 9a54cc7c4b4d: Pushed [2023-01-10T21:17:32.068Z] e07e9717dcaa: Pushed [2023-01-10T21:17:38.754Z] e2fa4e9d5ce3: Pushed [2023-01-10T21:17:38.754Z] def1cc71e63d04479355a5672fe2144ca0f9c836: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:39.124Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:39.483Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-10T21:17:39.483Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-10T21:17:39.483Z] 9a54cc7c4b4d: Preparing [2023-01-10T21:17:39.483Z] cf7ad2f726c7: Preparing [2023-01-10T21:17:39.483Z] e2fa4e9d5ce3: Preparing [2023-01-10T21:17:39.483Z] e07e9717dcaa: Preparing [2023-01-10T21:17:39.483Z] 28c3ef001483: Preparing [2023-01-10T21:17:39.483Z] 28c3ef001483: Layer already exists [2023-01-10T21:17:39.483Z] 9a54cc7c4b4d: Layer already exists [2023-01-10T21:17:39.483Z] cf7ad2f726c7: Layer already exists [2023-01-10T21:17:39.483Z] e2fa4e9d5ce3: Layer already exists [2023-01-10T21:17:39.483Z] e07e9717dcaa: Layer already exists [2023-01-10T21:17:39.753Z] latest: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:40.112Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:40.478Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 [2023-01-10T21:17:40.478Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-10T21:17:40.478Z] 9a54cc7c4b4d: Preparing [2023-01-10T21:17:40.478Z] cf7ad2f726c7: Preparing [2023-01-10T21:17:40.478Z] e2fa4e9d5ce3: Preparing [2023-01-10T21:17:40.478Z] e07e9717dcaa: Preparing [2023-01-10T21:17:40.478Z] 28c3ef001483: Preparing [2023-01-10T21:17:40.478Z] e07e9717dcaa: Layer already exists [2023-01-10T21:17:40.478Z] cf7ad2f726c7: Layer already exists [2023-01-10T21:17:40.478Z] e2fa4e9d5ce3: Layer already exists [2023-01-10T21:17:40.478Z] 9a54cc7c4b4d: Layer already exists [2023-01-10T21:17:40.478Z] 28c3ef001483: Layer already exists [2023-01-10T21:17:40.749Z] 3.0.0-dev.4: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:41.110Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:41.474Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:17:41.474Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-10T21:17:41.474Z] 9a54cc7c4b4d: Preparing [2023-01-10T21:17:41.474Z] cf7ad2f726c7: Preparing [2023-01-10T21:17:41.474Z] e2fa4e9d5ce3: Preparing [2023-01-10T21:17:41.474Z] e07e9717dcaa: Preparing [2023-01-10T21:17:41.474Z] 28c3ef001483: Preparing [2023-01-10T21:17:41.474Z] e07e9717dcaa: Layer already exists [2023-01-10T21:17:41.474Z] 28c3ef001483: Layer already exists [2023-01-10T21:17:41.474Z] e2fa4e9d5ce3: Layer already exists [2023-01-10T21:17:41.474Z] 9a54cc7c4b4d: Layer already exists [2023-01-10T21:17:41.474Z] cf7ad2f726c7: Layer already exists [2023-01-10T21:17:41.744Z] def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:42.135Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:42.492Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-01-10T21:17:42.492Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-01-10T21:17:42.492Z] 9a54cc7c4b4d: Preparing [2023-01-10T21:17:42.492Z] cf7ad2f726c7: Preparing [2023-01-10T21:17:42.492Z] e2fa4e9d5ce3: Preparing [2023-01-10T21:17:42.492Z] e07e9717dcaa: Preparing [2023-01-10T21:17:42.492Z] 28c3ef001483: Preparing [2023-01-10T21:17:42.492Z] e07e9717dcaa: Layer already exists [2023-01-10T21:17:42.492Z] 9a54cc7c4b4d: Layer already exists [2023-01-10T21:17:42.492Z] cf7ad2f726c7: Layer already exists [2023-01-10T21:17:42.492Z] 28c3ef001483: Layer already exists [2023-01-10T21:17:42.492Z] e2fa4e9d5ce3: Layer already exists [2023-01-10T21:17:42.760Z] main: digest: sha256:6d0fa2856d32fcded8fc7ffbf4aa4ec2adc5532a6cbd5c4316d87b2219ec20ee size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-10T21:17:42.806Z] ===================================================== [Pipeline] echo [2023-01-10T21:17:42.811Z] taggedImages: [2023-01-10T21:17:42.811Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836 [2023-01-10T21:17:42.811Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-01-10T21:17:42.811Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.4 [2023-01-10T21:17:42.811Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:def1cc71e63d04479355a5672fe2144ca0f9c836-3.0.0-dev.4 [2023-01-10T21:17:42.811Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:43.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:17:43.168Z] [2023-01-10T21:17:43.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:17:43.521Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:17:43.795Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T21:17:43.795Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T21:17:43.795Z] 04944245beec: Pulling fs layer [2023-01-10T21:17:43.795Z] 699f458cf7ca: Pulling fs layer [2023-01-10T21:17:43.795Z] 765212b225bb: Pulling fs layer [2023-01-10T21:17:43.795Z] f23df028b6ca: Pulling fs layer [2023-01-10T21:17:43.795Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T21:17:43.795Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T21:17:43.795Z] f23df028b6ca: Waiting [2023-01-10T21:17:43.795Z] d65c8cfc05b1: Waiting [2023-01-10T21:17:43.795Z] 2437ff75d9bd: Waiting [2023-01-10T21:17:43.795Z] 765212b225bb: Waiting [2023-01-10T21:17:43.795Z] 04944245beec: Verifying Checksum [2023-01-10T21:17:43.795Z] 04944245beec: Download complete [2023-01-10T21:17:43.795Z] 765212b225bb: Verifying Checksum [2023-01-10T21:17:43.795Z] 765212b225bb: Download complete [2023-01-10T21:17:44.070Z] f23df028b6ca: Verifying Checksum [2023-01-10T21:17:44.070Z] f23df028b6ca: Download complete [2023-01-10T21:17:44.070Z] d65c8cfc05b1: Download complete [2023-01-10T21:17:44.070Z] 699f458cf7ca: Verifying Checksum [2023-01-10T21:17:44.070Z] 699f458cf7ca: Download complete [2023-01-10T21:17:44.663Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T21:17:44.663Z] 8998bd30e6a1: Download complete [2023-01-10T21:17:47.258Z] 2437ff75d9bd: Download complete [2023-01-10T21:17:48.673Z] 8998bd30e6a1: Pull complete [2023-01-10T21:17:49.258Z] 04944245beec: Pull complete [2023-01-10T21:17:50.672Z] 699f458cf7ca: Pull complete [2023-01-10T21:17:50.672Z] 765212b225bb: Pull complete [2023-01-10T21:17:51.689Z] f23df028b6ca: Pull complete [2023-01-10T21:17:51.689Z] d65c8cfc05b1: Pull complete [2023-01-10T21:18:06.856Z] 2437ff75d9bd: Pull complete [2023-01-10T21:18:06.856Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T21:18:06.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T21:18:06.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:07.087Z] prd-ubuntu20.04-docker-arm64-4c-16g-1681 does not seem to be running inside a container [2023-01-10T21:18:07.174Z] $ 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/70 -v /w/workspace/device-modbus-go/70:/w/workspace/device-modbus-go/70:rw,z -v /w/workspace/device-modbus-go/70@tmp:/w/workspace/device-modbus-go/70@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T21:18:10.268Z] $ docker top 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:11.165Z] ---> job-cost.sh [2023-01-10T21:18:11.165Z] lf-activate-venv: SKIPPING [2023-01-10T21:18:11.165Z] INFO: No Stack... [2023-01-10T21:18:11.436Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T21:18:12.409Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T21:18:13.079Z] + + cut -d, -f6 [2023-01-10T21:18:13.079Z] cat /w/workspace/device-modbus-go/70/archives/cost.csv [Pipeline] lock [2023-01-10T21:18:13.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [2023-01-10T21:18:13.166Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] did not exist. Created. [2023-01-10T21:18:13.166Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:18:13.850Z] /w/workspace/device-modbus-go/70@tmp/durable-fb27f02b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T21:18:14.522Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T21:18:14.540Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T21:18:14.614Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T21:18:14.623Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T21:18:14.642Z] $ docker stop --time=1 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 [2023-01-10T21:18:16.221Z] $ docker rm -f --volumes 0cede83b250d39d4bba2704af367fcde63e7e20515df5127f0548ea72391d4a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-10T21:18:16.617Z] provisioning config files... [2023-01-10T21:18:16.625Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11885958219253978959tmp [Pipeline] { [Pipeline] sh [2023-01-10T21:18:16.917Z] + set +x [2023-01-10T21:18:16.917Z] + curl -s https://codecov.io/bash [2023-01-10T21:18:16.917Z] + bash -s -- [2023-01-10T21:18:16.917Z] [2023-01-10T21:18:16.917Z] _____ _ [2023-01-10T21:18:16.917Z] / ____| | | [2023-01-10T21:18:16.917Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T21:18:16.917Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T21:18:16.917Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T21:18:16.917Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T21:18:16.917Z] Bash-1.0.6 [2023-01-10T21:18:16.917Z] [2023-01-10T21:18:16.917Z] [2023-01-10T21:18:16.917Z] ==> git version 2.25.1 found [2023-01-10T21:18:16.917Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-10T21:18:16.917Z] Release-Date: 2020-01-08 [2023-01-10T21:18:16.917Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T21:18:16.917Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T21:18:16.917Z] ==> Jenkins CI detected. [2023-01-10T21:18:16.917Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-01-10T21:18:16.917Z] project root: . [2023-01-10T21:18:16.917Z] --> token set from env [2023-01-10T21:18:16.917Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T21:18:16.917Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T21:18:16.917Z] ==> Python coveragepy not found [2023-01-10T21:18:16.917Z] ==> Searching for coverage reports in: [2023-01-10T21:18:16.917Z] + . [2023-01-10T21:18:16.917Z] -> Found 1 reports [2023-01-10T21:18:16.917Z] ==> Detecting git/mercurial file structure [2023-01-10T21:18:16.917Z] ==> Reading reports [2023-01-10T21:18:16.917Z] + ./coverage.out bytes=23241 [2023-01-10T21:18:16.917Z] ==> Appending adjustments [2023-01-10T21:18:16.917Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T21:18:17.176Z] + Found adjustments [2023-01-10T21:18:17.176Z] ==> Gzipping contents [2023-01-10T21:18:17.176Z] 4.0K /tmp/codecov.vhQMPt.gz [2023-01-10T21:18:17.176Z] ==> Uploading reports [2023-01-10T21:18:17.176Z] url: https://codecov.io [2023-01-10T21:18:17.176Z] query: branch=main&commit=def1cc71e63d04479355a5672fe2144ca0f9c836&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:18:17.176Z] -> Pinging Codecov [2023-01-10T21:18:17.176Z] 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=def1cc71e63d04479355a5672fe2144ca0f9c836&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-10T21:18:17.435Z] -> Uploading to [2023-01-10T21:18:17.435Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/55DBCA73C666E3227836607328DD7E49/def1cc71e63d04479355a5672fe2144ca0f9c836/2e4fb5e3-0f0c-4455-aa3a-e3f12d00b8f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T211817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fe3ddc4a33041fc18885ed9f65f935d6a49ce3c017327d0950db3f769664797 [2023-01-10T21:18:17.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T21:18:17.435Z] Dload Upload Total Spent Left Speed [2023-01-10T21:18:17.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3920 0 0 100 3920 0 15494 --:--:-- --:--:-- --:--:-- 15494 [2023-01-10T21:18:17.694Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] } [2023-01-10T21:18:17.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-10T21:18:17.824Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-10T21:18:17.837Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:18.140Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:18:18.140Z] [2023-01-10T21:18:18.140Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:18.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:18:18.441Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-10T21:18:18.441Z] df9b9388f04a: Pulling fs layer [2023-01-10T21:18:18.441Z] 52dc419b0ee2: Pulling fs layer [2023-01-10T21:18:18.441Z] 25bc292e5bac: Pulling fs layer [2023-01-10T21:18:18.441Z] 114826534d7a: Pulling fs layer [2023-01-10T21:18:18.441Z] 4657fd5d0bcf: Pulling fs layer [2023-01-10T21:18:18.441Z] 6ad1cebc031e: Pulling fs layer [2023-01-10T21:18:18.441Z] 8a3aa393b2d8: Pulling fs layer [2023-01-10T21:18:18.441Z] 114826534d7a: Waiting [2023-01-10T21:18:18.441Z] 6ad1cebc031e: Waiting [2023-01-10T21:18:18.441Z] 4657fd5d0bcf: Waiting [2023-01-10T21:18:18.441Z] 8a3aa393b2d8: Waiting [2023-01-10T21:18:18.441Z] 25bc292e5bac: Verifying Checksum [2023-01-10T21:18:18.441Z] 25bc292e5bac: Download complete [2023-01-10T21:18:18.441Z] 52dc419b0ee2: Download complete [2023-01-10T21:18:18.441Z] 4657fd5d0bcf: Verifying Checksum [2023-01-10T21:18:18.441Z] 4657fd5d0bcf: Download complete [2023-01-10T21:18:18.441Z] df9b9388f04a: Verifying Checksum [2023-01-10T21:18:18.441Z] df9b9388f04a: Download complete [2023-01-10T21:18:18.700Z] df9b9388f04a: Pull complete [2023-01-10T21:18:18.700Z] 6ad1cebc031e: Verifying Checksum [2023-01-10T21:18:18.700Z] 6ad1cebc031e: Download complete [2023-01-10T21:18:18.700Z] 52dc419b0ee2: Pull complete [2023-01-10T21:18:18.962Z] 25bc292e5bac: Pull complete [2023-01-10T21:18:19.221Z] 114826534d7a: Verifying Checksum [2023-01-10T21:18:19.221Z] 114826534d7a: Download complete [2023-01-10T21:18:19.786Z] 8a3aa393b2d8: Download complete [2023-01-10T21:18:22.312Z] 114826534d7a: Pull complete [2023-01-10T21:18:22.312Z] 4657fd5d0bcf: Pull complete [2023-01-10T21:18:22.571Z] 6ad1cebc031e: Pull complete [2023-01-10T21:18:25.095Z] 8a3aa393b2d8: Pull complete [2023-01-10T21:18:25.095Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-10T21:18:25.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-10T21:18:25.095Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:25.167Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:18:25.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-01-10T21:18:26.876Z] $ docker top 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-10T21:18:26.931Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-01-10T21:18:27.204Z] + set -o pipefail [2023-01-10T21:18:27.204Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-01-10T21:18:32.469Z] [2023-01-10T21:18:32.469Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-01-10T21:18:32.469Z] [2023-01-10T21:18:32.469Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/0999806b-8129-476a-94c1-443ab9264c0b [2023-01-10T21:18:32.469Z] [2023-01-10T21:18:32.469Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-01-10T21:18:32.469Z] [2023-01-10T21:18:32.469Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-10T21:18:32.469Z] [2023-01-10T21:18:32.728Z] [2023-01-10T21:18:32.728Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-10T21:18:32.728Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-10T21:18:32.728Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-10T21:18:32.741Z] $ docker stop --time=1 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc [2023-01-10T21:18:34.745Z] $ docker rm -f --volumes 5d745fd4054dd1bb4feaa52f6c5e484a08aca253aed741925cfdb490c53b29bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T21:18:35.423Z] + git log --format=format:%s -1 def1cc71e63d04479355a5672fe2144ca0f9c836 [Pipeline] sh [2023-01-10T21:18:35.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:18:35.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:36.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:18:36.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:36.076Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:18:36.107Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:18:36.501Z] $ docker top d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 -eo pid,comm [2023-01-10T21:18:36.548Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T21:18:36.548Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:18:36.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:18:36.591Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:18:36.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:18:36.697Z] $ docker exec d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 ssh-agent [2023-01-10T21:18:36.806Z] SSH_AUTH_SOCK=/tmp/ssh-tBCQ1OqDj9Hd/agent.31 [2023-01-10T21:18:36.806Z] SSH_AGENT_PID=36 [2023-01-10T21:18:36.811Z] Running ssh-add (command line suppressed) [2023-01-10T21:18:36.899Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_496327252504501598.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_496327252504501598.key) [2023-01-10T21:18:36.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:18:37.196Z] + git semver tag [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,363 [run_tag] DEBUG tag force:False [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,364 [check_head_tag] DEBUG check head tag [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,365 [execute] INFO git cat-file --batch-check [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,368 [execute] INFO git cat-file --batch [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,369 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,384 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,385 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:18:37.455Z] 2023-01-10 21:18:37,389 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:37.455Z] 3.0.0-dev.4 [Pipeline] } [2023-01-10T21:18:37.466Z] $ docker exec --env ******** --env ******** d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 ssh-agent -k [2023-01-10T21:18:37.562Z] unset SSH_AUTH_SOCK; [2023-01-10T21:18:37.562Z] unset SSH_AGENT_PID; [2023-01-10T21:18:37.562Z] echo Agent pid 36 killed; [2023-01-10T21:18:37.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:18:37.877Z] + git semver [Pipeline] } [2023-01-10T21:18:38.149Z] $ docker stop --time=1 d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 [2023-01-10T21:18:39.426Z] $ docker rm -f --volumes d3d595a8da81f1f9a55bc9c18fc9bd4ca9492d44dcb8fc740f57185c64a8dc50 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:39.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:18:39.823Z] [2023-01-10T21:18:39.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:40.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:18:40.134Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-10T21:18:40.134Z] ab5ef0e58194: Pulling fs layer [2023-01-10T21:18:40.134Z] 9712f1f96733: Pulling fs layer [2023-01-10T21:18:40.134Z] 63f879dbbcfc: Pulling fs layer [2023-01-10T21:18:40.134Z] 0d9ebad4ef96: Pulling fs layer [2023-01-10T21:18:40.134Z] e9a5061849ea: Pulling fs layer [2023-01-10T21:18:40.134Z] d747dcd14b5f: Pulling fs layer [2023-01-10T21:18:40.134Z] 2de7ff778b66: Pulling fs layer [2023-01-10T21:18:40.134Z] 0d9ebad4ef96: Waiting [2023-01-10T21:18:40.134Z] 2de7ff778b66: Waiting [2023-01-10T21:18:40.134Z] e9a5061849ea: Waiting [2023-01-10T21:18:40.134Z] 9712f1f96733: Download complete [2023-01-10T21:18:40.395Z] 63f879dbbcfc: Verifying Checksum [2023-01-10T21:18:40.395Z] 63f879dbbcfc: Download complete [2023-01-10T21:18:40.656Z] e9a5061849ea: Verifying Checksum [2023-01-10T21:18:40.656Z] e9a5061849ea: Download complete [2023-01-10T21:18:40.656Z] d747dcd14b5f: Verifying Checksum [2023-01-10T21:18:40.656Z] d747dcd14b5f: Download complete [2023-01-10T21:18:40.914Z] 0d9ebad4ef96: Verifying Checksum [2023-01-10T21:18:40.914Z] 0d9ebad4ef96: Download complete [2023-01-10T21:18:40.914Z] 2de7ff778b66: Verifying Checksum [2023-01-10T21:18:40.914Z] 2de7ff778b66: Download complete [2023-01-10T21:18:40.914Z] ab5ef0e58194: Verifying Checksum [2023-01-10T21:18:40.914Z] ab5ef0e58194: Download complete [2023-01-10T21:18:43.443Z] ab5ef0e58194: Pull complete [2023-01-10T21:18:43.443Z] 9712f1f96733: Pull complete [2023-01-10T21:18:44.008Z] 63f879dbbcfc: Pull complete [2023-01-10T21:18:47.290Z] 0d9ebad4ef96: Pull complete [2023-01-10T21:18:47.549Z] e9a5061849ea: Pull complete [2023-01-10T21:18:47.806Z] d747dcd14b5f: Pull complete [2023-01-10T21:18:48.740Z] 2de7ff778b66: Pull complete [2023-01-10T21:18:48.740Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-10T21:18:48.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-10T21:18:48.740Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:48.829Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:18:48.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-10T21:18:50.647Z] $ docker top b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:18:50.719Z] provisioning config files... [2023-01-10T21:18:50.727Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2199141611297145587tmp [2023-01-10T21:18:50.738Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14623391377275941054tmp [2023-01-10T21:18:50.747Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1432571016142858206tmp [Pipeline] { [Pipeline] echo [2023-01-10T21:18:50.763Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:51.047Z] ---> sigul-configuration.sh [2023-01-10T21:18:51.047Z] gpg: directory `/root/.gnupg' created [2023-01-10T21:18:51.047Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-10T21:18:51.047Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-10T21:18:51.047Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-10T21:18:51.047Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-10T21:18:51.047Z] gpg: CAST5 encrypted data [2023-01-10T21:18:51.047Z] gpg: encrypted with 1 passphrase [2023-01-10T21:18:51.047Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-10T21:18:51.334Z] + mkdir /home/jenkins [2023-01-10T21:18:51.334Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-10T21:18:51.619Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-01-10T21:18:51.628Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:51.914Z] ---> sigul-install.sh [2023-01-10T21:18:51.914Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-10T21:18:52.197Z] + git tag --list [2023-01-10T21:18:52.197Z] 0.7.1 [2023-01-10T21:18:52.197Z] v1.0.0 [2023-01-10T21:18:52.197Z] v1.1.0 [2023-01-10T21:18:52.197Z] v1.1.1 [2023-01-10T21:18:52.197Z] v1.2.2 [2023-01-10T21:18:52.197Z] v1.3.0 [2023-01-10T21:18:52.197Z] v1.3.1 [2023-01-10T21:18:52.197Z] v2.0.0 [2023-01-10T21:18:52.197Z] v2.1.0 [2023-01-10T21:18:52.197Z] v2.1.1 [2023-01-10T21:18:52.197Z] v2.1.1-dev.1 [2023-01-10T21:18:52.197Z] v2.1.1-dev.2 [2023-01-10T21:18:52.197Z] v2.1.1-dev.3 [2023-01-10T21:18:52.197Z] v2.2.0 [2023-01-10T21:18:52.197Z] v2.2.1-dev.1 [2023-01-10T21:18:52.197Z] v2.2.1-dev.2 [2023-01-10T21:18:52.197Z] v2.2.1-dev.3 [2023-01-10T21:18:52.197Z] v2.2.1-dev.4 [2023-01-10T21:18:52.197Z] v2.2.1-dev.5 [2023-01-10T21:18:52.197Z] v2.2.1-dev.6 [2023-01-10T21:18:52.197Z] v2.2.1-dev.7 [2023-01-10T21:18:52.197Z] v2.3.0 [2023-01-10T21:18:52.197Z] v2.3.0-dev.10 [2023-01-10T21:18:52.197Z] v2.3.0-dev.11 [2023-01-10T21:18:52.197Z] v2.3.0-dev.12 [2023-01-10T21:18:52.197Z] v2.3.0-dev.13 [2023-01-10T21:18:52.197Z] v2.3.0-dev.14 [2023-01-10T21:18:52.197Z] v2.3.0-dev.15 [2023-01-10T21:18:52.197Z] v2.3.0-dev.16 [2023-01-10T21:18:52.197Z] v2.3.0-dev.17 [2023-01-10T21:18:52.197Z] v2.3.0-dev.18 [2023-01-10T21:18:52.197Z] v2.3.0-dev.19 [2023-01-10T21:18:52.197Z] v2.3.0-dev.20 [2023-01-10T21:18:52.197Z] v2.3.0-dev.21 [2023-01-10T21:18:52.197Z] v2.3.0-dev.22 [2023-01-10T21:18:52.197Z] v2.3.0-dev.23 [2023-01-10T21:18:52.197Z] v2.3.0-dev.24 [2023-01-10T21:18:52.197Z] v2.3.0-dev.25 [2023-01-10T21:18:52.197Z] v2.3.0-dev.7 [2023-01-10T21:18:52.197Z] v2.3.0-dev.8 [2023-01-10T21:18:52.197Z] v2.3.0-dev.9 [2023-01-10T21:18:52.197Z] v3.0.0-dev.1 [2023-01-10T21:18:52.197Z] v3.0.0-dev.2 [2023-01-10T21:18:52.197Z] v3.0.0-dev.3 [2023-01-10T21:18:52.197Z] v3.0.0-dev.4 [Pipeline] sh [2023-01-10T21:18:52.484Z] + lftools sign git-tag v3.0.0-dev.4 [2023-01-10T21:18:53.052Z] Signing Git tag with Sigul... [2023-01-10T21:18:53.052Z] Signing v3.0.0-dev.4 [Pipeline] echo [2023-01-10T21:18:53.318Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:18:53.600Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-10T21:18:53.610Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-10T21:18:53.634Z] $ docker stop --time=1 b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 [2023-01-10T21:18:54.936Z] $ docker rm -f --volumes b433620d9b96e1d195cf91fecf8f68884016b6b1453e4ee7690bf85ffb42a529 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-10T21:18:55.349Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:18:55.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:55.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:18:55.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:55.719Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:18:55.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:18:56.092Z] $ docker top d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:18:56.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:18:56.174Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:18:56.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:18:56.287Z] $ docker exec d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 ssh-agent [2023-01-10T21:18:56.387Z] SSH_AUTH_SOCK=/tmp/ssh-xE0ledYvHiNe/agent.32 [2023-01-10T21:18:56.387Z] SSH_AGENT_PID=38 [2023-01-10T21:18:56.392Z] Running ssh-add (command line suppressed) [2023-01-10T21:18:56.493Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10478188530023208695.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10478188530023208695.key) [2023-01-10T21:18:56.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:18:56.795Z] + git semver bump pre [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [bump_version] DEBUG bumped version:3.0.0-dev.5 [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,982 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,984 [execute] INFO git cat-file --batch-check [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,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-01-10T21:18:57.054Z] 2023-01-10 21:18:56,990 [execute] INFO git cat-file --batch [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:18:57.054Z] 2023-01-10 21:18:56,995 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:18:57.054Z] 3.0.0-dev.5 [Pipeline] } [2023-01-10T21:18:57.065Z] $ docker exec --env ******** --env ******** d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 ssh-agent -k [2023-01-10T21:18:57.159Z] unset SSH_AUTH_SOCK; [2023-01-10T21:18:57.159Z] unset SSH_AGENT_PID; [2023-01-10T21:18:57.159Z] echo Agent pid 38 killed; [2023-01-10T21:18:57.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:18:57.467Z] + git semver [Pipeline] } [2023-01-10T21:18:57.741Z] $ docker stop --time=1 d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 [2023-01-10T21:18:59.061Z] $ docker rm -f --volumes d6fa93036aa3c5d596f5cae24cfa82f75806d49313c35910a836621a94ac1c32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T21:18:59.415Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T21:18:59.415Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:18:59.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T21:18:59.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:18:59.780Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:18:59.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T21:19:00.170Z] $ docker top f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 -eo pid,comm [2023-01-10T21:19:00.218Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T21:19:00.218Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T21:19:00.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T21:19:00.258Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T21:19:00.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T21:19:00.383Z] $ docker exec f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 ssh-agent [2023-01-10T21:19:00.479Z] SSH_AUTH_SOCK=/tmp/ssh-diqWJavu89og/agent.32 [2023-01-10T21:19:00.479Z] SSH_AGENT_PID=38 [2023-01-10T21:19:00.483Z] Running ssh-add (command line suppressed) [2023-01-10T21:19:00.592Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827511029589571269.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16827511029589571269.key) [2023-01-10T21:19:00.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T21:19:00.888Z] + git semver push [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,100 [run_push] DEBUG push [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,100 [execute] INFO git cat-file --batch-check [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,104 [execute] INFO git rev-list 2a1b023eddd17a7ecef976d0c7092c604cd9cd72 -- [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,104 [execute] DEBUG Popen(['git', 'rev-list', '2a1b023eddd17a7ecef976d0c7092c604cd9cd72', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,112 [execute] INFO git fetch -v origin [2023-01-10T21:19:01.147Z] 2023-01-10 21:19:01,112 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-10T21:19:02.086Z] 2023-01-10 21:19:01,899 [run_push] DEBUG no remote changes detected [2023-01-10T21:19:02.086Z] 2023-01-10 21:19:01,900 [execute] INFO git push origin semver [2023-01-10T21:19:02.086Z] 2023-01-10 21:19:01,900 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:19:03.026Z] 2023-01-10 21:19:02,987 [run_push] DEBUG push all version tags [2023-01-10T21:19:03.026Z] 2023-01-10 21:19:02,987 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-10T21:19:03.026Z] 2023-01-10 21:19:02,988 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-10T21:19:05.563Z] 2023-01-10 21:19:05,346 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-01-10T21:19:05.563Z] 3.0.0-dev.5 [Pipeline] } [2023-01-10T21:19:05.576Z] $ docker exec --env ******** --env ******** f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 ssh-agent -k [2023-01-10T21:19:05.680Z] unset SSH_AUTH_SOCK; [2023-01-10T21:19:05.681Z] unset SSH_AGENT_PID; [2023-01-10T21:19:05.681Z] echo Agent pid 38 killed; [2023-01-10T21:19:05.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T21:19:05.995Z] + git semver [Pipeline] } [2023-01-10T21:19:06.268Z] $ docker stop --time=1 f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 [2023-01-10T21:19:07.556Z] $ docker rm -f --volumes f6d9027e18f241e4e07e856ad686dd08426d3b3729ba50a11833baac724404f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-10T21:19:08.091Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-01-10T21:19:08.091Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-10T21:19:08.091Z] total 16 [2023-01-10T21:19:08.091Z] drwxr-xr-x 3 root root 4096 Jan 10 21:08 . [2023-01-10T21:19:08.091Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:18 .. [2023-01-10T21:19:08.091Z] drwxr-xr-x 2 root root 4096 Jan 10 21:08 cost [2023-01-10T21:19:08.091Z] -rw-r--r-- 1 root root 87 Jan 10 21:08 cost.csv [2023-01-10T21:19:08.091Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-10T21:19:08.091Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-01-10T21:19:08.091Z] total 16 [2023-01-10T21:19:08.091Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:08 . [2023-01-10T21:19:08.091Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 21:18 .. [2023-01-10T21:19:08.091Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:08 cost [2023-01-10T21:19:08.091Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 10 21:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:08.383Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:09.242Z] ---> package-listing.sh [2023-01-10T21:19:09.243Z] ++ facter osfamily [2023-01-10T21:19:09.243Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T21:19:09.501Z] + OS_FAMILY=debian [2023-01-10T21:19:09.502Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-01-10T21:19:09.502Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T21:19:09.502Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T21:19:09.502Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T21:19:09.502Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T21:19:09.502Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-10T21:19:09.502Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T21:19:09.502Z] + case "${OS_FAMILY}" in [2023-01-10T21:19:09.502Z] + dpkg -l [2023-01-10T21:19:09.502Z] + grep '^ii' [2023-01-10T21:19:09.502Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T21:19:09.502Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T21:19:09.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T21:19:09.502Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-01-10T21:19:09.502Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-01-10T21:19:09.502Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-01-10T21:19:09.512Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T21:19:09.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T21:19:10.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T21:19:10.344Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T21:19:10.414Z] prd-ubuntu20.04-docker-8c-8g-1677 does not seem to be running inside a container [2023-01-10T21:19:10.534Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T21:19:10.744Z] $ docker top 3c0d8dda9c6d639f0d0e8d971f1b36eee133cc6eef7919f41d01cb03e174e0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T21:19:11.153Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T21:19:11.434Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T21:19:11.719Z] + ls /var/log/sa-host [2023-01-10T21:19:11.719Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T21:19:11.780Z] provisioning config files... [2023-01-10T21:19:11.787Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1057386882063069951tmp [Pipeline] { [Pipeline] echo [2023-01-10T21:19:11.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:12.082Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T21:19:12.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:12.412Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T21:19:12.422Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:12.705Z] ---> sudo-logs.sh [2023-01-10T21:19:12.706Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T21:19:12.739Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:13.021Z] ---> job-cost.sh [2023-01-10T21:19:13.021Z] lf-activate-venv: SKIPPING [2023-01-10T21:19:13.021Z] DEBUG: total: 0.2199999988079071 [2023-01-10T21:19:13.021Z] INFO: Retrieving Stack Cost... [2023-01-10T21:19:13.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T21:19:13.846Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T21:19:13.859Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T21:19:14.139Z] ---> logs-deploy.sh [2023-01-10T21:19:14.140Z] lf-activate-venv: SKIPPING [2023-01-10T21:19:14.140Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/70 [2023-01-10T21:19:14.140Z] INFO: archiving workspace using pattern(s): [2023-01-10T21:19:15.077Z] Archives upload complete. [2023-01-10T21:19:15.077Z] INFO: archiving logs to Nexus