Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8591ecd48deb848f04d859b76795416a9cfa4fb 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-ssh11770454161987980291.key Verifying host key using known hosts file > 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-ssh16776601436474067874.key Verifying host key using known hosts file > 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-ssh8227269832397396402.key Verifying host key using known hosts file > 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-ssh16524936252563116070.key Verifying host key using known hosts file > 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-ssh17423642332453914059.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-117564’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118090’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118091 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 d8591ecd48deb848f04d859b76795416a9cfa4fb (main) Commit message: "Merge pull request #388 from lenny-intel/levski-change-log" > 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 d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 > git rev-list --no-walk aaadd7fbda2364c2efb57d494d7ebea4b574ed12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-03T09:38:50.071Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-03T09:38:50.136Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-03T09:38:50.156Z] ========================================================= [2022-11-03T09:38:50.156Z] EdgeX Global Pipelines Version Info [2022-11-03T09:38:50.156Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:38:50.914Z] ------------------- [2022-11-03T09:38:50.914Z] stable info: [2022-11-03T09:38:50.914Z] ------------------- [2022-11-03T09:38:50.914Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-03T09:38:50.914Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T09:38:50.914Z] Message: update stable to v1.0.244 [2022-11-03T09:38:51.484Z] ------------------- [2022-11-03T09:38:51.484Z] experimental info: [2022-11-03T09:38:51.485Z] ------------------- [2022-11-03T09:38:51.485Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-03T09:38:51.485Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-03T09:38:51.485Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-03T09:38:51.646Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-11-03T09:38:51.657Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-11-03T09:38:51.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-03T09:38:51.675Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-03T09:38:51.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-03T09:38:51.695Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-03T09:38:51.705Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-03T09:38:51.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-03T09:38:51.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-03T09:38:51.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-03T09:38:51.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-03T09:38:51.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-11-03T09:38:51.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-03T09:38:51.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-03T09:38:51.776Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T09:38:51.786Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-03T09:38:51.795Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T09:38:51.805Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-03T09:38:51.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-03T09:38:51.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-03T09:38:51.839Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-03T09:38:51.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-03T09:38:51.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-03T09:38:51.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-03T09:38:51.886Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-03T09:38:51.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-03T09:38:51.917Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-03T09:38:51.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-03T09:38:51.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-03T09:38:51.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-03T09:38:51.968Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo [2022-11-03T09:38:51.978Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8591ec [Pipeline] echo [2022-11-03T09:38:51.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:38:52.035Z] provisioning config files... [2022-11-03T09:38:52.050Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1046541557935616269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:38:52.355Z] ---> docker-login.sh [2022-11-03T09:38:52.355Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:38:52.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:38:52.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:38:52.616Z] Configure a credential helper to remove this warning. See [2022-11-03T09:38:52.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:38:52.616Z] [2022-11-03T09:38:52.616Z] Login Succeeded [2022-11-03T09:38:52.616Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:38:52.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:38:52.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:38:52.878Z] Configure a credential helper to remove this warning. See [2022-11-03T09:38:52.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:38:52.878Z] [2022-11-03T09:38:52.878Z] Login Succeeded [2022-11-03T09:38:52.878Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:38:52.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:38:52.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:38:52.878Z] Configure a credential helper to remove this warning. See [2022-11-03T09:38:52.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:38:52.878Z] [2022-11-03T09:38:52.878Z] Login Succeeded [2022-11-03T09:38:52.878Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:38:52.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:38:52.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:38:52.878Z] Configure a credential helper to remove this warning. See [2022-11-03T09:38:52.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:38:52.878Z] [2022-11-03T09:38:52.878Z] Login Succeeded [2022-11-03T09:38:53.138Z] docker.io [2022-11-03T09:38:53.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:38:53.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:38:53.400Z] Configure a credential helper to remove this warning. See [2022-11-03T09:38:53.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:38:53.400Z] [2022-11-03T09:38:53.400Z] Login Succeeded [2022-11-03T09:38:53.400Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:38:53.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-03T09:38:53.772Z] + git rev-list -1 --merges d8591ecd48deb848f04d859b76795416a9cfa4fb~1..d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo [2022-11-03T09:38:53.800Z] -----------> git rev-list -1 --merges d8591ecd48deb848f04d859b76795416a9cfa4fb~1..d8591ecd48deb848f04d859b76795416a9cfa4fb d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:38:53.800Z] d8591ecd48deb848f04d859b76795416a9cfa4fb [false] [Pipeline] sh [2022-11-03T09:38:54.086Z] + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo [2022-11-03T09:38:54.125Z] ========================================================= [2022-11-03T09:38:54.125Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-03T09:38:54.125Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:38:54.435Z] + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] echo [2022-11-03T09:38:54.445Z] [semverPrep] GIT_COMMIT: d8591ecd48deb848f04d859b76795416a9cfa4fb, Commit Message: Merge pull request #388 from lenny-intel/levski-change-log [Pipeline] echo [2022-11-03T09:38:54.452Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-03T09:38:54.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:38:54.800Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-03T09:38:54.800Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-03T09:38:54.800Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-03T09:38:54.801Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-03T09:38:54.801Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-03T09:38:54.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:38:55.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:38:55.158Z] [2022-11-03T09:38:55.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:38:55.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:38:55.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-03T09:38:55.456Z] b85a868b505f: Pulling fs layer [2022-11-03T09:38:55.456Z] e2be974225ed: Pulling fs layer [2022-11-03T09:38:55.456Z] 339a4e72a1f5: Pulling fs layer [2022-11-03T09:38:55.456Z] 988bab9f4d93: Pulling fs layer [2022-11-03T09:38:55.456Z] 1469e6f7b9e6: Pulling fs layer [2022-11-03T09:38:55.456Z] eaf3925da568: Pulling fs layer [2022-11-03T09:38:55.456Z] bab4dde63d76: Pulling fs layer [2022-11-03T09:38:55.456Z] bde34c3a00c8: Pulling fs layer [2022-11-03T09:38:55.456Z] b352a97aabf1: Pulling fs layer [2022-11-03T09:38:55.456Z] 4872d77fe225: Pulling fs layer [2022-11-03T09:38:55.456Z] 5851b861e8e6: Pulling fs layer [2022-11-03T09:38:55.456Z] eaf3925da568: Waiting [2022-11-03T09:38:55.456Z] bab4dde63d76: Waiting [2022-11-03T09:38:55.456Z] bde34c3a00c8: Waiting [2022-11-03T09:38:55.456Z] b352a97aabf1: Waiting [2022-11-03T09:38:55.456Z] 4872d77fe225: Waiting [2022-11-03T09:38:55.456Z] 5851b861e8e6: Waiting [2022-11-03T09:38:55.456Z] 988bab9f4d93: Waiting [2022-11-03T09:38:55.456Z] 1469e6f7b9e6: Waiting [2022-11-03T09:38:55.456Z] e2be974225ed: Verifying Checksum [2022-11-03T09:38:55.456Z] e2be974225ed: Download complete [2022-11-03T09:38:55.456Z] 988bab9f4d93: Verifying Checksum [2022-11-03T09:38:55.456Z] 988bab9f4d93: Download complete [2022-11-03T09:38:55.714Z] 339a4e72a1f5: Verifying Checksum [2022-11-03T09:38:55.714Z] 339a4e72a1f5: Download complete [2022-11-03T09:38:55.714Z] 1469e6f7b9e6: Verifying Checksum [2022-11-03T09:38:55.714Z] 1469e6f7b9e6: Download complete [2022-11-03T09:38:55.714Z] eaf3925da568: Verifying Checksum [2022-11-03T09:38:55.714Z] eaf3925da568: Download complete [2022-11-03T09:38:55.714Z] bde34c3a00c8: Download complete [2022-11-03T09:38:55.715Z] b352a97aabf1: Download complete [2022-11-03T09:38:55.715Z] 4872d77fe225: Download complete [2022-11-03T09:38:55.715Z] 5851b861e8e6: Download complete [2022-11-03T09:38:55.715Z] b85a868b505f: Verifying Checksum [2022-11-03T09:38:55.715Z] b85a868b505f: Download complete [2022-11-03T09:38:55.974Z] bab4dde63d76: Download complete [2022-11-03T09:38:56.909Z] b85a868b505f: Pull complete [2022-11-03T09:38:57.167Z] e2be974225ed: Pull complete [2022-11-03T09:38:57.743Z] 339a4e72a1f5: Pull complete [2022-11-03T09:38:57.743Z] 988bab9f4d93: Pull complete [2022-11-03T09:38:58.011Z] 1469e6f7b9e6: Pull complete [2022-11-03T09:38:58.011Z] eaf3925da568: Pull complete [2022-11-03T09:38:59.918Z] bab4dde63d76: Pull complete [2022-11-03T09:38:59.918Z] bde34c3a00c8: Pull complete [2022-11-03T09:38:59.918Z] b352a97aabf1: Pull complete [2022-11-03T09:38:59.918Z] 4872d77fe225: Pull complete [2022-11-03T09:39:00.177Z] 5851b861e8e6: Pull complete [2022-11-03T09:39:00.177Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-03T09:39:00.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:39:00.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:39:00.268Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:39:00.296Z] $ 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 [2022-11-03T09:39:03.085Z] $ docker top 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 -eo pid,comm [2022-11-03T09:39:03.146Z] 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). [2022-11-03T09:39:03.146Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:39:03.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:39:03.184Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:39:03.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:39:03.297Z] $ docker exec 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent [2022-11-03T09:39:03.400Z] SSH_AUTH_SOCK=/tmp/ssh-7zKWi3l78NKK/agent.33 [2022-11-03T09:39:03.400Z] SSH_AGENT_PID=39 [2022-11-03T09:39:03.406Z] Running ssh-add (command line suppressed) [2022-11-03T09:39:03.499Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8287330000229231452.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8287330000229231452.key) [2022-11-03T09:39:03.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:39:03.796Z] + git tag --points-at HEAD [Pipeline] } [2022-11-03T09:39:03.810Z] $ docker exec --env ******** --env ******** 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent -k [2022-11-03T09:39:03.914Z] unset SSH_AUTH_SOCK; [2022-11-03T09:39:03.914Z] unset SSH_AGENT_PID; [2022-11-03T09:39:03.915Z] echo Agent pid 39 killed; [2022-11-03T09:39:03.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-03T09:39:03.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:39:03.943Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:39:04.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:39:04.055Z] $ docker exec 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent [2022-11-03T09:39:04.166Z] SSH_AUTH_SOCK=/tmp/ssh-MNl3F5Zf7B5W/agent.71 [2022-11-03T09:39:04.166Z] SSH_AGENT_PID=76 [2022-11-03T09:39:04.171Z] Running ssh-add (command line suppressed) [2022-11-03T09:39:04.258Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2554076404334903575.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2554076404334903575.key) [2022-11-03T09:39:04.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:39:04.563Z] + git semver init [2022-11-03T09:39:04.822Z] 2022-11-03 09:39:04,721 [run_init] DEBUG init version:0.0.0 force:False [2022-11-03T09:39:04.822Z] 2022-11-03 09:39:04,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-03T09:39:04.822Z] 2022-11-03 09:39:04,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-11-03T09:39:04.822Z] 2022-11-03 09:39:04,722 [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) [2022-11-03T09:39:05.758Z] 2022-11-03 09:39:05,700 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2022-11-03T09:39:05.758Z] 2022-11-03 09:39:05,700 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2022-11-03T09:39:05.758Z] 2022-11-03 09:39:05,700 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:39:05.758Z] 2022-11-03 09:39:05,701 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:39:05.758Z] 2.3.0-dev.23 [Pipeline] } [2022-11-03T09:39:05.768Z] $ docker exec --env ******** --env ******** 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 ssh-agent -k [2022-11-03T09:39:05.876Z] unset SSH_AUTH_SOCK; [2022-11-03T09:39:05.878Z] unset SSH_AGENT_PID; [2022-11-03T09:39:05.880Z] echo Agent pid 76 killed; [2022-11-03T09:39:05.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:39:06.191Z] + git semver [Pipeline] } [2022-11-03T09:39:06.468Z] $ docker stop --time=1 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 [2022-11-03T09:39:07.793Z] $ docker rm -f 3ca0e87f7d23afd00140180aa654c3b5db9db8d6dacb78fc0bb221c20ae5ec23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:39:08.135Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-03T09:39:08.324Z] Stashed 1 file(s) [Pipeline] echo [2022-11-03T09:39:08.327Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [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 [2022-11-03T09:39:08.463Z] provisioning config files... [2022-11-03T09:39:08.473Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8890464085103956982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:39:08.766Z] ---> docker-login.sh [2022-11-03T09:39:08.767Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:39:08.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:39:08.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:39:08.767Z] Configure a credential helper to remove this warning. See [2022-11-03T09:39:08.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:39:08.767Z] [2022-11-03T09:39:08.767Z] Login Succeeded [2022-11-03T09:39:08.767Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:39:08.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:39:08.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:39:08.767Z] Configure a credential helper to remove this warning. See [2022-11-03T09:39:08.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:39:08.767Z] [2022-11-03T09:39:08.767Z] Login Succeeded [2022-11-03T09:39:08.767Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:39:09.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:39:09.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:39:09.026Z] Configure a credential helper to remove this warning. See [2022-11-03T09:39:09.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:39:09.026Z] [2022-11-03T09:39:09.026Z] Login Succeeded [2022-11-03T09:39:09.026Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:39:09.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:39:09.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:39:09.026Z] Configure a credential helper to remove this warning. See [2022-11-03T09:39:09.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:39:09.026Z] [2022-11-03T09:39:09.026Z] Login Succeeded [2022-11-03T09:39:09.026Z] docker.io [2022-11-03T09:39:09.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:39:09.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:39:09.545Z] Configure a credential helper to remove this warning. See [2022-11-03T09:39:09.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:39:09.545Z] [2022-11-03T09:39:09.545Z] Login Succeeded [2022-11-03T09:39:09.545Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:39:09.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T09:39:09.617Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:39:09.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:39:09.716Z] ========================================================= [2022-11-03T09:39:09.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-03T09:39:09.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:39:10.031Z] + 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 . [2022-11-03T09:39:10.031Z] Sending build context to Docker daemon 6.23MB [2022-11-03T09:39:10.031Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:39:10.031Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T09:39:10.031Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-03T09:39:10.031Z] 213ec9aee27d: Pulling fs layer [2022-11-03T09:39:10.031Z] 4583459ba037: Pulling fs layer [2022-11-03T09:39:10.031Z] 93c1e223e6f2: Pulling fs layer [2022-11-03T09:39:10.031Z] 53926ce57604: Pulling fs layer [2022-11-03T09:39:10.031Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-03T09:39:10.031Z] 22ff95d597cd: Pulling fs layer [2022-11-03T09:39:10.031Z] 12d6caf4c0d1: Pulling fs layer [2022-11-03T09:39:10.031Z] 96b7cbca73a9: Pulling fs layer [2022-11-03T09:39:10.031Z] a7acece74701: Pulling fs layer [2022-11-03T09:39:10.031Z] 53926ce57604: Waiting [2022-11-03T09:39:10.031Z] 21b2b0c7a3f4: Waiting [2022-11-03T09:39:10.031Z] 22ff95d597cd: Waiting [2022-11-03T09:39:10.031Z] 12d6caf4c0d1: Waiting [2022-11-03T09:39:10.031Z] 96b7cbca73a9: Waiting [2022-11-03T09:39:10.031Z] a7acece74701: Waiting [2022-11-03T09:39:10.031Z] 93c1e223e6f2: Verifying Checksum [2022-11-03T09:39:10.031Z] 93c1e223e6f2: Download complete [2022-11-03T09:39:10.031Z] 4583459ba037: Download complete [2022-11-03T09:39:10.294Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-03T09:39:10.294Z] 21b2b0c7a3f4: Download complete [2022-11-03T09:39:10.294Z] 213ec9aee27d: Verifying Checksum [2022-11-03T09:39:10.294Z] 213ec9aee27d: Download complete [2022-11-03T09:39:10.294Z] 22ff95d597cd: Verifying Checksum [2022-11-03T09:39:10.294Z] 22ff95d597cd: Download complete [2022-11-03T09:39:10.294Z] 12d6caf4c0d1: Verifying Checksum [2022-11-03T09:39:10.294Z] 12d6caf4c0d1: Download complete [2022-11-03T09:39:10.294Z] 213ec9aee27d: Pull complete [2022-11-03T09:39:10.567Z] 4583459ba037: Pull complete [2022-11-03T09:39:10.567Z] 93c1e223e6f2: Pull complete [2022-11-03T09:39:11.150Z] 53926ce57604: Verifying Checksum [2022-11-03T09:39:11.150Z] 53926ce57604: Download complete [2022-11-03T09:39:11.150Z] a7acece74701: Verifying Checksum [2022-11-03T09:39:11.150Z] a7acece74701: Download complete [2022-11-03T09:39:11.150Z] 96b7cbca73a9: Verifying Checksum [2022-11-03T09:39:11.150Z] 96b7cbca73a9: Download complete [2022-11-03T09:39:15.329Z] 53926ce57604: Pull complete [2022-11-03T09:39:15.329Z] 21b2b0c7a3f4: Pull complete [2022-11-03T09:39:15.329Z] 22ff95d597cd: Pull complete [2022-11-03T09:39:15.329Z] 12d6caf4c0d1: Pull complete [2022-11-03T09:39:17.226Z] 96b7cbca73a9: Pull complete [2022-11-03T09:39:17.792Z] a7acece74701: Pull complete [2022-11-03T09:39:18.050Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-03T09:39:18.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-03T09:39:18.050Z] ---> db6d94c90886 [2022-11-03T09:39:18.050Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:39:23.354Z] ---> Running in a321eec445a2 [2022-11-03T09:39:23.354Z] Removing intermediate container a321eec445a2 [2022-11-03T09:39:23.354Z] ---> 61ffa2c92a09 [2022-11-03T09:39:23.354Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:39:23.354Z] ---> Running in 25708d88b18d [2022-11-03T09:39:23.417Z] Still waiting to schedule task [2022-11-03T09:39:23.417Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118088’ [2022-11-03T09:39:23.612Z] Removing intermediate container 25708d88b18d [2022-11-03T09:39:23.613Z] ---> 5e83e7487a3d [2022-11-03T09:39:23.613Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T09:39:23.613Z] ---> Running in 9aea8fcd3618 [2022-11-03T09:39:23.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:39:23.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:39:24.128Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T09:39:24.128Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-03T09:39:24.128Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T09:39:24.128Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T09:39:24.128Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-03T09:39:24.128Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-03T09:39:24.128Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-03T09:39:24.129Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-03T09:39:24.129Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:39:24.129Z] OK: 217 MiB in 59 packages [2022-11-03T09:39:24.694Z] Removing intermediate container 9aea8fcd3618 [2022-11-03T09:39:24.694Z] ---> a0832017bf00 [2022-11-03T09:39:24.694Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-03T09:39:24.694Z] ---> Running in 02ff342fbed8 [2022-11-03T09:39:24.694Z] Removing intermediate container 02ff342fbed8 [2022-11-03T09:39:24.694Z] ---> 0702a9f6969a [2022-11-03T09:39:24.694Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T09:39:24.952Z] ---> 620a043ff1b5 [2022-11-03T09:39:24.952Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:39:24.952Z] ---> Running in 76ef7c406beb [2022-11-03T09:39:46.896Z] Removing intermediate container 76ef7c406beb [2022-11-03T09:39:46.896Z] ---> 03770b31f433 [2022-11-03T09:39:46.896Z] Step 9/10 : COPY . . [2022-11-03T09:39:46.896Z] ---> e2864abee550 [2022-11-03T09:39:46.896Z] Step 10/10 : RUN ${MAKE} [2022-11-03T09:39:46.896Z] ---> Running in 7959c6b6b029 [2022-11-03T09:39:47.163Z] noop [2022-11-03T09:39:47.426Z] Removing intermediate container 7959c6b6b029 [2022-11-03T09:39:47.426Z] ---> b7bcc93038d4 [2022-11-03T09:39:47.426Z] Successfully built b7bcc93038d4 [2022-11-03T09:39:47.426Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:39:47.742Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T09:39:47.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:39:47.814Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:39:47.846Z] $ 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 [2022-11-03T09:39:48.205Z] $ docker top 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:39:48.551Z] + go version [2022-11-03T09:39:48.551Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-03T09:39:48.562Z] $ docker stop --time=1 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d [2022-11-03T09:39:49.815Z] $ docker rm -f 5f42f8be689eec29908e1477f6315795f6051662af08bb6cd69e38aa40c3c33d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:39:50.211Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-03T09:39:50.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:39:50.283Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:39:50.314Z] $ 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 [2022-11-03T09:39:50.616Z] $ docker top a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:39:50.953Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-03T09:39:51.245Z] + make test [2022-11-03T09:39:51.245Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T09:39:51.503Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-03T09:40:01.491Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-03T09:40:01.491Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements [2022-11-03T09:40:08.042Z] 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." [2022-11-03T09:40:08.042Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T09:40:11.323Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T09:40:11.323Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T09:40:11.323Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T09:40:11.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T09:40:11.341Z] $ docker stop --time=1 a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c [2022-11-03T09:40:14.061Z] $ docker rm -f a158f0c5e21ba80738b55d89f7bd5c4326740d4459449b76ea354b6256fc267c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:40:14.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T09:40:14.528Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-03T09:40:14.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T09:40:15.230Z] + ls -al . [2022-11-03T09:40:15.230Z] total 196 [2022-11-03T09:40:15.230Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 3 09:39 . [2022-11-03T09:40:15.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 .. [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:38 .dockerignore [2022-11-03T09:40:15.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:40 .git [2022-11-03T09:40:15.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 .github [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 09:38 .gitignore [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:38 .golangci.yml [2022-11-03T09:40:15.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:39 .semver [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 09:38 Attribution.txt [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 09:38 CHANGELOG.md [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 09:38 Dockerfile [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:38 GOVERNANCE.md [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 09:38 Jenkinsfile [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:38 LICENSE [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 09:38 Makefile [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 09:38 OWNERS.md [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 09:38 README.md [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:39 VERSION [2022-11-03T09:40:15.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 bin [2022-11-03T09:40:15.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 cmd [2022-11-03T09:40:15.230Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 09:40 coverage.out [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 09:38 go.mod [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 45309 Nov 3 09:38 go.sum [2022-11-03T09:40:15.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:38 internal [2022-11-03T09:40:15.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:38 simulator [2022-11-03T09:40:15.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:38 snap [2022-11-03T09:40:15.230Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 09:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:15.585Z] + 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=d8591ecd48deb848f04d859b76795416a9cfa4fb --label arch=amd64 --label version=2.3.0-dev.23 . [2022-11-03T09:40:15.585Z] Sending build context to Docker daemon 6.254MB [2022-11-03T09:40:15.585Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:40:15.585Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-03T09:40:15.585Z] ---> b7bcc93038d4 [2022-11-03T09:40:15.585Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:40:15.853Z] ---> Running in dd4709fbc4ff [2022-11-03T09:40:15.853Z] Removing intermediate container dd4709fbc4ff [2022-11-03T09:40:15.853Z] ---> 910b5e45c250 [2022-11-03T09:40:15.853Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:40:15.853Z] ---> Running in 319bbc544d0b [2022-11-03T09:40:15.853Z] Removing intermediate container 319bbc544d0b [2022-11-03T09:40:15.853Z] ---> 6cac76684961 [2022-11-03T09:40:15.853Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T09:40:16.112Z] ---> Running in 8accdb87fbd4 [2022-11-03T09:40:16.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:40:16.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:40:16.632Z] OK: 217 MiB in 59 packages [2022-11-03T09:40:16.890Z] Removing intermediate container 8accdb87fbd4 [2022-11-03T09:40:16.890Z] ---> 43ac55d598b3 [2022-11-03T09:40:16.890Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-03T09:40:16.890Z] ---> Running in 2923656f1fe5 [2022-11-03T09:40:16.890Z] Removing intermediate container 2923656f1fe5 [2022-11-03T09:40:16.890Z] ---> aafabe49d143 [2022-11-03T09:40:16.890Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-03T09:40:17.148Z] ---> 2de500bbeb7b [2022-11-03T09:40:17.148Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:40:17.148Z] ---> Running in edc1919607e3 [2022-11-03T09:40:17.715Z] Removing intermediate container edc1919607e3 [2022-11-03T09:40:17.715Z] ---> aaef4d95d092 [2022-11-03T09:40:17.715Z] Step 9/22 : COPY . . [2022-11-03T09:40:18.282Z] ---> 21d8d7177f0d [2022-11-03T09:40:18.282Z] Step 10/22 : RUN ${MAKE} [2022-11-03T09:40:18.282Z] ---> Running in 895af391cf50 [2022-11-03T09:40:18.282Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-03T09:40:40.636Z] Removing intermediate container 895af391cf50 [2022-11-03T09:40:40.636Z] ---> 696477308d0a [2022-11-03T09:40:40.636Z] Step 11/22 : FROM alpine:3.14 [2022-11-03T09:40:40.636Z] 3.14: Pulling from library/alpine [2022-11-03T09:40:40.893Z] c7ed990a2339: Pulling fs layer [2022-11-03T09:40:40.894Z] c7ed990a2339: Verifying Checksum [2022-11-03T09:40:40.894Z] c7ed990a2339: Download complete [2022-11-03T09:40:41.152Z] c7ed990a2339: Pull complete [2022-11-03T09:40:41.152Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-03T09:40:41.152Z] Status: Downloaded newer image for alpine:3.14 [2022-11-03T09:40:41.152Z] ---> dd53f409bf0b [2022-11-03T09:40:41.152Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-03T09:40:41.152Z] ---> Running in 47289f4c9e3b [2022-11-03T09:40:41.410Z] Removing intermediate container 47289f4c9e3b [2022-11-03T09:40:41.410Z] ---> c5d9a3320c58 [2022-11-03T09:40:41.410Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T09:40:41.410Z] ---> Running in eea0003f03e3 [2022-11-03T09:40:41.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-11-03T09:40:41.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-11-03T09:40:41.928Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T09:40:41.928Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-03T09:40:41.928Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T09:40:41.928Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-03T09:40:41.928Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T09:40:41.928Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T09:40:41.928Z] Executing busybox-1.33.1-r8.trigger [2022-11-03T09:40:41.928Z] OK: 8 MiB in 20 packages [2022-11-03T09:40:42.500Z] Removing intermediate container eea0003f03e3 [2022-11-03T09:40:42.500Z] ---> b141c54865e3 [2022-11-03T09:40:42.500Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-03T09:40:43.068Z] ---> a803a63cc43a [2022-11-03T09:40:43.068Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-03T09:40:43.327Z] ---> 46012b895f1d [2022-11-03T09:40:43.327Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-03T09:40:43.327Z] ---> c9b0bdccbf10 [2022-11-03T09:40:43.327Z] Step 17/22 : EXPOSE 59901 [2022-11-03T09:40:43.327Z] ---> Running in 81746ea86117 [2022-11-03T09:40:43.587Z] Removing intermediate container 81746ea86117 [2022-11-03T09:40:43.587Z] ---> 28312e819527 [2022-11-03T09:40:43.587Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-03T09:40:43.587Z] ---> Running in fc55d6bfe16e [2022-11-03T09:40:43.587Z] Removing intermediate container fc55d6bfe16e [2022-11-03T09:40:43.587Z] ---> 0265c3b09108 [2022-11-03T09:40:43.587Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T09:40:43.587Z] ---> Running in 3b6f2a9fb693 [2022-11-03T09:40:43.587Z] Removing intermediate container 3b6f2a9fb693 [2022-11-03T09:40:43.587Z] ---> f679d7c94d88 [2022-11-03T09:40:43.587Z] Step 20/22 : LABEL arch=amd64 [2022-11-03T09:40:43.587Z] ---> Running in 12ae2aed69a5 [2022-11-03T09:40:43.850Z] Removing intermediate container 12ae2aed69a5 [2022-11-03T09:40:43.850Z] ---> ba7d109520eb [2022-11-03T09:40:43.850Z] Step 21/22 : LABEL git_sha=d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:40:43.850Z] ---> Running in 37f867687666 [2022-11-03T09:40:43.850Z] Removing intermediate container 37f867687666 [2022-11-03T09:40:43.850Z] ---> 4c4f83bae7e6 [2022-11-03T09:40:43.850Z] Step 22/22 : LABEL version=2.3.0-dev.23 [2022-11-03T09:40:43.850Z] ---> Running in c670e4f71b2d [2022-11-03T09:40:43.850Z] Removing intermediate container c670e4f71b2d [2022-11-03T09:40:43.850Z] ---> a6686db910ea [2022-11-03T09:40:43.850Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T09:40:43.850Z] Successfully built a6686db910ea [2022-11-03T09:40:43.850Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:40:43.945Z] provisioning config files... [2022-11-03T09:40:43.954Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7101085519316168683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:40:44.247Z] ---> docker-login.sh [2022-11-03T09:40:44.247Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:40:44.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:40:44.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:40:44.247Z] Configure a credential helper to remove this warning. See [2022-11-03T09:40:44.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:40:44.247Z] [2022-11-03T09:40:44.247Z] Login Succeeded [2022-11-03T09:40:44.247Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:40:44.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:40:44.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:40:44.247Z] Configure a credential helper to remove this warning. See [2022-11-03T09:40:44.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:40:44.248Z] [2022-11-03T09:40:44.248Z] Login Succeeded [2022-11-03T09:40:44.248Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:40:44.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:40:44.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:40:44.509Z] Configure a credential helper to remove this warning. See [2022-11-03T09:40:44.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:40:44.509Z] [2022-11-03T09:40:44.509Z] Login Succeeded [2022-11-03T09:40:44.509Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:40:44.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:40:44.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:40:44.509Z] Configure a credential helper to remove this warning. See [2022-11-03T09:40:44.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:40:44.509Z] [2022-11-03T09:40:44.509Z] Login Succeeded [2022-11-03T09:40:44.509Z] docker.io [2022-11-03T09:40:44.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:40:45.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:40:45.028Z] Configure a credential helper to remove this warning. See [2022-11-03T09:40:45.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:40:45.028Z] [2022-11-03T09:40:45.028Z] Login Succeeded [2022-11-03T09:40:45.028Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:40:45.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:40:45.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:40:45.104Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-11-03T09:40:45.104Z] d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:40:45.104Z] latest [2022-11-03T09:40:45.104Z] 2.3.0-dev.23 [2022-11-03T09:40:45.104Z] d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:40:45.104Z] main [2022-11-03T09:40:45.104Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:45.431Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:45.734Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:40:45.734Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-03T09:40:45.734Z] 33ae17ff7c60: Preparing [2022-11-03T09:40:45.734Z] 99d32855282f: Preparing [2022-11-03T09:40:45.734Z] dbbe28e7919c: Preparing [2022-11-03T09:40:45.734Z] 9a6af98030f3: Preparing [2022-11-03T09:40:45.734Z] 63493a9ab2d4: Preparing [2022-11-03T09:40:45.734Z] 63493a9ab2d4: Layer already exists [2022-11-03T09:40:45.734Z] 99d32855282f: Pushed [2022-11-03T09:40:45.734Z] 33ae17ff7c60: Pushed [2022-11-03T09:40:45.992Z] 9a6af98030f3: Pushed [2022-11-03T09:40:48.523Z] dbbe28e7919c: Pushed [2022-11-03T09:40:48.523Z] d8591ecd48deb848f04d859b76795416a9cfa4fb: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:48.830Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:49.136Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-03T09:40:49.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-03T09:40:49.136Z] 33ae17ff7c60: Preparing [2022-11-03T09:40:49.136Z] 99d32855282f: Preparing [2022-11-03T09:40:49.136Z] dbbe28e7919c: Preparing [2022-11-03T09:40:49.136Z] 9a6af98030f3: Preparing [2022-11-03T09:40:49.136Z] 63493a9ab2d4: Preparing [2022-11-03T09:40:49.136Z] 9a6af98030f3: Layer already exists [2022-11-03T09:40:49.136Z] 99d32855282f: Layer already exists [2022-11-03T09:40:49.136Z] dbbe28e7919c: Layer already exists [2022-11-03T09:40:49.136Z] 33ae17ff7c60: Layer already exists [2022-11-03T09:40:49.136Z] 63493a9ab2d4: Layer already exists [2022-11-03T09:40:49.136Z] latest: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:49.448Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:49.760Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 [2022-11-03T09:40:49.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-03T09:40:49.760Z] 33ae17ff7c60: Preparing [2022-11-03T09:40:49.760Z] 99d32855282f: Preparing [2022-11-03T09:40:49.760Z] dbbe28e7919c: Preparing [2022-11-03T09:40:49.760Z] 9a6af98030f3: Preparing [2022-11-03T09:40:49.760Z] 63493a9ab2d4: Preparing [2022-11-03T09:40:49.760Z] 63493a9ab2d4: Layer already exists [2022-11-03T09:40:49.760Z] dbbe28e7919c: Layer already exists [2022-11-03T09:40:49.760Z] 9a6af98030f3: Layer already exists [2022-11-03T09:40:49.760Z] 33ae17ff7c60: Layer already exists [2022-11-03T09:40:49.760Z] 99d32855282f: Layer already exists [2022-11-03T09:40:49.760Z] 2.3.0-dev.23: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:50.081Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:50.386Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:40:50.386Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-03T09:40:50.386Z] 33ae17ff7c60: Preparing [2022-11-03T09:40:50.386Z] 99d32855282f: Preparing [2022-11-03T09:40:50.386Z] dbbe28e7919c: Preparing [2022-11-03T09:40:50.386Z] 9a6af98030f3: Preparing [2022-11-03T09:40:50.386Z] 63493a9ab2d4: Preparing [2022-11-03T09:40:50.386Z] dbbe28e7919c: Layer already exists [2022-11-03T09:40:50.386Z] 9a6af98030f3: Layer already exists [2022-11-03T09:40:50.386Z] 99d32855282f: Layer already exists [2022-11-03T09:40:50.386Z] 33ae17ff7c60: Layer already exists [2022-11-03T09:40:50.386Z] 63493a9ab2d4: Layer already exists [2022-11-03T09:40:50.386Z] d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:50.694Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:50.998Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-11-03T09:40:50.999Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-11-03T09:40:50.999Z] 33ae17ff7c60: Preparing [2022-11-03T09:40:50.999Z] 99d32855282f: Preparing [2022-11-03T09:40:50.999Z] dbbe28e7919c: Preparing [2022-11-03T09:40:50.999Z] 9a6af98030f3: Preparing [2022-11-03T09:40:50.999Z] 63493a9ab2d4: Preparing [2022-11-03T09:40:50.999Z] 63493a9ab2d4: Layer already exists [2022-11-03T09:40:50.999Z] dbbe28e7919c: Layer already exists [2022-11-03T09:40:50.999Z] 99d32855282f: Layer already exists [2022-11-03T09:40:50.999Z] 9a6af98030f3: Layer already exists [2022-11-03T09:40:50.999Z] 33ae17ff7c60: Layer already exists [2022-11-03T09:40:50.999Z] main: digest: sha256:0846e3a6db84737bf658cc28517b96e7fcaa7870f062e5f3f79f9f734b56a176 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:40:51.041Z] ===================================================== [Pipeline] echo [2022-11-03T09:40:51.055Z] taggedImages: [2022-11-03T09:40:51.055Z] - nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:40:51.055Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-11-03T09:40:51.055Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.3.0-dev.23 [2022-11-03T09:40:51.055Z] - nexus3.edgexfoundry.org:10004/device-modbus:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:40:51.055Z] - 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 [2022-11-03T09:40:51.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:40:51.418Z] [2022-11-03T09:40:51.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:40:51.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:40:51.714Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-03T09:40:51.715Z] 5eb5b503b376: Pulling fs layer [2022-11-03T09:40:51.715Z] 5c69ac0246d0: Pulling fs layer [2022-11-03T09:40:51.715Z] ec43610c2a17: Pulling fs layer [2022-11-03T09:40:51.715Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-03T09:40:51.715Z] 33b1e0a273af: Pulling fs layer [2022-11-03T09:40:51.715Z] 5d3b04190fa2: Pulling fs layer [2022-11-03T09:40:51.715Z] 2f39f015ded8: Pulling fs layer [2022-11-03T09:40:51.715Z] 33b1e0a273af: Waiting [2022-11-03T09:40:51.715Z] 5d3b04190fa2: Waiting [2022-11-03T09:40:51.715Z] 2f39f015ded8: Waiting [2022-11-03T09:40:51.715Z] 3a2ae6a8a46f: Waiting [2022-11-03T09:40:51.715Z] 5c69ac0246d0: Download complete [2022-11-03T09:40:51.715Z] 3a2ae6a8a46f: Download complete [2022-11-03T09:40:51.715Z] 33b1e0a273af: Verifying Checksum [2022-11-03T09:40:51.715Z] 33b1e0a273af: Download complete [2022-11-03T09:40:51.715Z] 5d3b04190fa2: Download complete [2022-11-03T09:40:51.715Z] ec43610c2a17: Verifying Checksum [2022-11-03T09:40:51.715Z] ec43610c2a17: Download complete [2022-11-03T09:40:51.974Z] 5eb5b503b376: Verifying Checksum [2022-11-03T09:40:51.974Z] 5eb5b503b376: Download complete [2022-11-03T09:40:52.543Z] 2f39f015ded8: Download complete [2022-11-03T09:40:53.112Z] 5eb5b503b376: Pull complete [2022-11-03T09:40:53.112Z] 5c69ac0246d0: Pull complete [2022-11-03T09:40:53.678Z] ec43610c2a17: Pull complete [2022-11-03T09:40:53.678Z] 3a2ae6a8a46f: Pull complete [2022-11-03T09:40:53.937Z] 33b1e0a273af: Pull complete [2022-11-03T09:40:53.937Z] 5d3b04190fa2: Pull complete [2022-11-03T09:40:58.123Z] 2f39f015ded8: Pull complete [2022-11-03T09:40:58.123Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-03T09:40:58.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:40:58.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:40:58.195Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:40:58.225Z] $ 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 [2022-11-03T09:41:02.334Z] $ docker top 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:41:02.686Z] ---> job-cost.sh [2022-11-03T09:41:02.686Z] lf-activate-venv: SKIPPING [2022-11-03T09:41:02.686Z] INFO: No Stack... [2022-11-03T09:41:02.944Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T09:41:03.203Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T09:41:03.491Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-11-03T09:41:03.491Z] + cut -d, -f6 [Pipeline] lock [2022-11-03T09:41:03.500Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [2022-11-03T09:41:03.510Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] did not exist. Created. [2022-11-03T09:41:03.510Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T09:41:03.803Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-03T09:41:03.822Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T09:41:03.828Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T09:41:03.844Z] $ docker stop --time=1 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc [2022-11-03T09:41:04.982Z] $ docker rm -f 560fe8d9516b1b72163e513b3641d500c1870743dfcfc196a1b60d28a06d2fbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-03T09:41:57.726Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118094 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-11-03T09:41:57.736Z] Running in /w/workspace/device-modbus-go/63 [Pipeline] { [Pipeline] checkout [2022-11-03T09:41:57.779Z] Selected Git installation does not exist. Using Default [2022-11-03T09:41:57.779Z] The recommended git tool is: NONE [2022-11-03T09:42:03.659Z] using credential edgex-jenkins-ssh [2022-11-03T09:42:03.679Z] Cloning the remote Git repository [2022-11-03T09:42:03.729Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-11-03T09:42:03.823Z] > git init /w/workspace/device-modbus-go/63 # timeout=10 [2022-11-03T09:42:03.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-11-03T09:42:03.993Z] > git --version # timeout=10 [2022-11-03T09:42:04.017Z] > git --version # 'git version 2.25.1' [2022-11-03T09:42:04.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-03T09:42:04.073Z] Verifying host key using known hosts file [2022-11-03T09:42:04.290Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-03T09:42:04.305Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T09:42:06.404Z] Avoid second fetch [2022-11-03T09:42:06.404Z] Checking out Revision d8591ecd48deb848f04d859b76795416a9cfa4fb (main) [2022-11-03T09:42:05.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-11-03T09:42:05.508Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-03T09:42:06.421Z] > git config core.sparsecheckout # timeout=10 [2022-11-03T09:42:06.442Z] > git checkout -f d8591ecd48deb848f04d859b76795416a9cfa4fb # timeout=10 [2022-11-03T09:42:06.928Z] Commit message: "Merge pull request #388 from lenny-intel/levski-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:42:07.804Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-03T09:42:07.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T09:42:07.804Z] Dload Upload Total Spent Left Speed [2022-11-03T09:42:07.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-11-03T09:42:08.453Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-03T09:42:08.796Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-03T09:42:08.796Z] + sudo tee /etc/docker/daemon.new [2022-11-03T09:42:08.796Z] { [2022-11-03T09:42:08.796Z] "registry-mirrors": [ [2022-11-03T09:42:08.796Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-03T09:42:08.796Z] ], [2022-11-03T09:42:08.796Z] "bip": "10.250.0.254/24", [2022-11-03T09:42:08.796Z] "hosts": [ [2022-11-03T09:42:08.796Z] "tcp://0.0.0.0:5555", [2022-11-03T09:42:08.796Z] "unix:///var/run/docker.sock" [2022-11-03T09:42:08.796Z] ], [2022-11-03T09:42:08.796Z] "mtu": 1458, [2022-11-03T09:42:08.796Z] "selinux-enabled": true, [2022-11-03T09:42:08.796Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-03T09:42:08.796Z] } [Pipeline] sh [2022-11-03T09:42:09.135Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-03T09:42:09.484Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:42:27.880Z] provisioning config files... [2022-11-03T09:42:27.910Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/63@tmp/config15009663471141929840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:42:28.317Z] ---> docker-login.sh [2022-11-03T09:42:28.317Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:42:28.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:29.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:29.186Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:29.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:29.186Z] [2022-11-03T09:42:29.186Z] Login Succeeded [2022-11-03T09:42:29.186Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:42:29.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:29.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:29.457Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:29.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:29.457Z] [2022-11-03T09:42:29.457Z] Login Succeeded [2022-11-03T09:42:29.457Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:42:29.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:30.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:30.003Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:30.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:30.003Z] [2022-11-03T09:42:30.003Z] Login Succeeded [2022-11-03T09:42:30.003Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:42:30.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:30.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:30.280Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:30.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:30.280Z] [2022-11-03T09:42:30.280Z] Login Succeeded [2022-11-03T09:42:30.280Z] docker.io [2022-11-03T09:42:30.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:42:31.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:42:31.143Z] Configure a credential helper to remove this warning. See [2022-11-03T09:42:31.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:42:31.143Z] [2022-11-03T09:42:31.143Z] Login Succeeded [2022-11-03T09:42:31.143Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:42:31.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-03T09:42:31.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:42:31.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:42:31.354Z] ========================================================= [2022-11-03T09:42:31.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-03T09:42:31.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:42:31.718Z] + 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 . [2022-11-03T09:42:31.990Z] Sending build context to Docker daemon 3.244MB [2022-11-03T09:42:31.990Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:42:31.990Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-03T09:42:33.950Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-03T09:42:33.950Z] 9b18e9b68314: Pulling fs layer [2022-11-03T09:42:33.950Z] 35d82f9e3411: Pulling fs layer [2022-11-03T09:42:33.950Z] e16973657156: Pulling fs layer [2022-11-03T09:42:33.950Z] fc693d55d65f: Pulling fs layer [2022-11-03T09:42:33.950Z] 7e9fc2657dce: Pulling fs layer [2022-11-03T09:42:33.950Z] dda99020689f: Pulling fs layer [2022-11-03T09:42:33.950Z] db1c61fa0a46: Pulling fs layer [2022-11-03T09:42:33.950Z] 891c053d2c06: Pulling fs layer [2022-11-03T09:42:33.950Z] fc693d55d65f: Waiting [2022-11-03T09:42:33.950Z] 7e9fc2657dce: Waiting [2022-11-03T09:42:33.950Z] dda99020689f: Waiting [2022-11-03T09:42:33.950Z] db1c61fa0a46: Waiting [2022-11-03T09:42:33.950Z] 891c053d2c06: Waiting [2022-11-03T09:42:34.225Z] e16973657156: Verifying Checksum [2022-11-03T09:42:34.225Z] e16973657156: Download complete [2022-11-03T09:42:34.225Z] 35d82f9e3411: Verifying Checksum [2022-11-03T09:42:34.225Z] 35d82f9e3411: Download complete [2022-11-03T09:42:34.225Z] 7e9fc2657dce: Download complete [2022-11-03T09:42:34.225Z] dda99020689f: Verifying Checksum [2022-11-03T09:42:34.225Z] dda99020689f: Download complete [2022-11-03T09:42:34.225Z] 9b18e9b68314: Verifying Checksum [2022-11-03T09:42:34.225Z] 9b18e9b68314: Download complete [2022-11-03T09:42:35.221Z] 9b18e9b68314: Pull complete [2022-11-03T09:42:35.496Z] 891c053d2c06: Verifying Checksum [2022-11-03T09:42:35.496Z] 891c053d2c06: Download complete [2022-11-03T09:42:35.771Z] 35d82f9e3411: Pull complete [2022-11-03T09:42:36.040Z] e16973657156: Pull complete [2022-11-03T09:42:36.640Z] db1c61fa0a46: Verifying Checksum [2022-11-03T09:42:36.640Z] db1c61fa0a46: Download complete [2022-11-03T09:42:37.228Z] fc693d55d65f: Verifying Checksum [2022-11-03T09:42:37.228Z] fc693d55d65f: Download complete [2022-11-03T09:42:49.559Z] fc693d55d65f: Pull complete [2022-11-03T09:42:49.559Z] 7e9fc2657dce: Pull complete [2022-11-03T09:42:49.559Z] dda99020689f: Pull complete [2022-11-03T09:42:54.958Z] db1c61fa0a46: Pull complete [2022-11-03T09:42:56.508Z] 891c053d2c06: Pull complete [2022-11-03T09:42:56.508Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-03T09:42:56.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-03T09:42:56.508Z] ---> f96f9c87975a [2022-11-03T09:42:56.508Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:42:57.485Z] ---> Running in ec07adcfbfd8 [2022-11-03T09:42:57.755Z] Removing intermediate container ec07adcfbfd8 [2022-11-03T09:42:57.755Z] ---> a5e34ce39817 [2022-11-03T09:42:57.755Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:42:58.023Z] ---> Running in 67ac81dab041 [2022-11-03T09:42:58.292Z] Removing intermediate container 67ac81dab041 [2022-11-03T09:42:58.292Z] ---> e24072dac83a [2022-11-03T09:42:58.292Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T09:42:58.292Z] ---> Running in 54ba449cab17 [2022-11-03T09:42:59.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:42:59.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:43:01.124Z] (1/8) Installing openssh-keygen (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-11-03T09:43:01.124Z] (3/8) Installing openssh-client-common (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (4/8) Installing openssh-client-default (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (5/8) Installing openssh-sftp-server (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (6/8) Installing openssh-server-common (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (7/8) Installing openssh-server (9.0_p1-r2) [2022-11-03T09:43:01.124Z] (8/8) Installing openssh (9.0_p1-r2) [2022-11-03T09:43:01.124Z] Executing busybox-1.35.0-r17.trigger [2022-11-03T09:43:01.124Z] OK: 228 MiB in 59 packages [2022-11-03T09:43:02.540Z] Removing intermediate container 54ba449cab17 [2022-11-03T09:43:02.540Z] ---> eebcd19afcf3 [2022-11-03T09:43:02.540Z] Step 6/10 : WORKDIR /device-modbus-go [2022-11-03T09:43:02.540Z] ---> Running in 15981e92cc8b [2022-11-03T09:43:02.809Z] Removing intermediate container 15981e92cc8b [2022-11-03T09:43:02.809Z] ---> 84041eafee4d [2022-11-03T09:43:02.809Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-03T09:43:03.394Z] ---> 35b8d9caa513 [2022-11-03T09:43:03.394Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:43:03.394Z] ---> Running in 614795e1a2e7 [2022-11-03T09:43:59.853Z] Removing intermediate container 614795e1a2e7 [2022-11-03T09:43:59.853Z] ---> 4db5f13863af [2022-11-03T09:43:59.853Z] Step 9/10 : COPY . . [2022-11-03T09:43:59.853Z] ---> 345727a071b9 [2022-11-03T09:43:59.853Z] Step 10/10 : RUN ${MAKE} [2022-11-03T09:43:59.853Z] ---> Running in d648a657562b [2022-11-03T09:44:00.440Z] noop [2022-11-03T09:44:01.027Z] Removing intermediate container d648a657562b [2022-11-03T09:44:01.028Z] ---> 4362de16ac66 [2022-11-03T09:44:01.028Z] Successfully built 4362de16ac66 [2022-11-03T09:44:01.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:01.380Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T09:44:01.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:44:01.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container [2022-11-03T09:44:01.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 [2022-11-03T09:44:02.960Z] $ docker top 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:44:03.812Z] + go version [2022-11-03T09:44:03.812Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-03T09:44:03.834Z] $ docker stop --time=1 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff [2022-11-03T09:44:05.525Z] $ docker rm -f 769265e2d4564db5ed7ea98b46ec8d2df7a9d1b8bf4079fd22b393e5cc0856ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:44:06.080Z] + docker inspect -f . ci-base-image-arm64 [2022-11-03T09:44:06.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:44:06.262Z] prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container [2022-11-03T09:44:06.332Z] $ 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/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 [2022-11-03T09:44:07.590Z] $ docker top d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:44:08.102Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/63 [Pipeline] fileExists [Pipeline] sh [2022-11-03T09:44:09.022Z] + make test [2022-11-03T09:44:09.022Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-11-03T09:44:10.965Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-11-03T09:45:47.642Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-11-03T09:45:47.642Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.064s coverage: 47.7% of statements [2022-11-03T09:45:47.642Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-03T09:45:47.642Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-03T09:46:09.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-03T09:46:09.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-03T09:46:09.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-03T09:46:09.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-03T09:46:09.765Z] $ docker stop --time=1 d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 [2022-11-03T09:46:11.659Z] $ docker rm -f d35e218efa873b7afae4d6822c4b96735fa30028bfaace7fe9cb8949300c2501 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:46:12.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-03T09:46:12.809Z] Warning: overwriting stash ‘coverage-report’ [2022-11-03T09:46:13.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-03T09:46:13.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-03T09:46:14.218Z] + ls -al . [2022-11-03T09:46:14.218Z] total 192 [2022-11-03T09:46:14.218Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 3 09:44 . [2022-11-03T09:46:14.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 .. [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 3 09:42 .dockerignore [2022-11-03T09:46:14.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 3 09:42 .git [2022-11-03T09:46:14.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 .github [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 331 Nov 3 09:42 .gitignore [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 3 09:42 .golangci.yml [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 10121 Nov 3 09:42 Attribution.txt [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 11576 Nov 3 09:42 CHANGELOG.md [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 1428 Nov 3 09:42 Dockerfile [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 3 09:42 GOVERNANCE.md [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 3 09:42 Jenkinsfile [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 3 09:42 LICENSE [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 2101 Nov 3 09:42 Makefile [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 3 09:42 OWNERS.md [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 4061 Nov 3 09:42 README.md [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 3 09:39 VERSION [2022-11-03T09:46:14.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 bin [2022-11-03T09:46:14.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 cmd [2022-11-03T09:46:14.218Z] -rw-r--r-- 1 jenkins jenkins 23241 Nov 3 09:45 coverage.out [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 3632 Nov 3 09:42 go.mod [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 45309 Nov 3 09:42 go.sum [2022-11-03T09:46:14.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 3 09:42 internal [2022-11-03T09:46:14.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 3 09:42 simulator [2022-11-03T09:46:14.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 3 09:42 snap [2022-11-03T09:46:14.218Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 3 09:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:46:14.584Z] + 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=d8591ecd48deb848f04d859b76795416a9cfa4fb --label arch=arm64 --label version=2.3.0-dev.23 . [2022-11-03T09:46:14.853Z] Sending build context to Docker daemon 3.268MB [2022-11-03T09:46:14.853Z] Step 1/22 : ARG BASE=golang:1.18-alpine3.16 [2022-11-03T09:46:14.853Z] Step 2/22 : FROM ${BASE} AS builder [2022-11-03T09:46:14.853Z] ---> 4362de16ac66 [2022-11-03T09:46:14.853Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2022-11-03T09:46:15.126Z] ---> Running in ac29a7315dea [2022-11-03T09:46:15.398Z] Removing intermediate container ac29a7315dea [2022-11-03T09:46:15.398Z] ---> 74ac55e14957 [2022-11-03T09:46:15.398Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-03T09:46:15.398Z] ---> Running in b342c06de81b [2022-11-03T09:46:15.989Z] Removing intermediate container b342c06de81b [2022-11-03T09:46:15.989Z] ---> 0aab6cc81b9c [2022-11-03T09:46:15.989Z] Step 5/22 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-11-03T09:46:15.989Z] ---> Running in d6c50fb8ffe8 [2022-11-03T09:46:16.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:46:17.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:46:18.206Z] OK: 228 MiB in 59 packages [2022-11-03T09:46:19.247Z] Removing intermediate container d6c50fb8ffe8 [2022-11-03T09:46:19.247Z] ---> 6fce0f7bc129 [2022-11-03T09:46:19.247Z] Step 6/22 : WORKDIR /device-modbus-go [2022-11-03T09:46:19.531Z] ---> Running in 4e983b7e8d76 [2022-11-03T09:46:19.803Z] Removing intermediate container 4e983b7e8d76 [2022-11-03T09:46:19.803Z] ---> 97a07d599da1 [2022-11-03T09:46:19.803Z] Step 7/22 : COPY go.mod vendor* ./ [2022-11-03T09:46:20.397Z] ---> efb6a0ab5a50 [2022-11-03T09:46:20.397Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-03T09:46:20.397Z] ---> Running in 30882a7cdd71 [2022-11-03T09:46:23.050Z] Removing intermediate container 30882a7cdd71 [2022-11-03T09:46:23.050Z] ---> d81315c1399b [2022-11-03T09:46:23.050Z] Step 9/22 : COPY . . [2022-11-03T09:46:24.026Z] ---> da795782fc87 [2022-11-03T09:46:24.026Z] Step 10/22 : RUN ${MAKE} [2022-11-03T09:46:24.026Z] ---> Running in fb8f9390c34d [2022-11-03T09:46:25.987Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd [2022-11-03T09:49:17.793Z] Removing intermediate container fb8f9390c34d [2022-11-03T09:49:17.793Z] ---> 659162c4c5af [2022-11-03T09:49:17.793Z] Step 11/22 : FROM alpine:3.14 [2022-11-03T09:49:17.793Z] 3.14: Pulling from library/alpine [2022-11-03T09:49:17.793Z] 90cda3b7c325: Pulling fs layer [2022-11-03T09:49:17.793Z] 90cda3b7c325: Verifying Checksum [2022-11-03T09:49:17.793Z] 90cda3b7c325: Download complete [2022-11-03T09:49:17.793Z] 90cda3b7c325: Pull complete [2022-11-03T09:49:17.793Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-11-03T09:49:17.793Z] Status: Downloaded newer image for alpine:3.14 [2022-11-03T09:49:17.793Z] ---> 376ba31ae3da [2022-11-03T09:49:17.793Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-11-03T09:49:17.793Z] ---> Running in eb300075c58b [2022-11-03T09:49:17.793Z] Removing intermediate container eb300075c58b [2022-11-03T09:49:17.793Z] ---> 004953c9412a [2022-11-03T09:49:17.793Z] Step 13/22 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-03T09:49:17.793Z] ---> Running in 9382ad1ceae9 [2022-11-03T09:49:17.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-11-03T09:49:17.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-11-03T09:49:17.793Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-03T09:49:17.793Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-11-03T09:49:17.793Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-03T09:49:17.793Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-11-03T09:49:17.793Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-03T09:49:17.793Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-03T09:49:17.793Z] Executing busybox-1.33.1-r8.trigger [2022-11-03T09:49:17.793Z] OK: 8 MiB in 20 packages [2022-11-03T09:49:17.793Z] Removing intermediate container 9382ad1ceae9 [2022-11-03T09:49:17.793Z] ---> 2ec8a2529405 [2022-11-03T09:49:17.793Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2022-11-03T09:49:17.793Z] ---> a5621fbfab35 [2022-11-03T09:49:17.793Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2022-11-03T09:49:17.793Z] ---> 8cc6fb898a0b [2022-11-03T09:49:17.793Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-11-03T09:49:17.793Z] ---> 5cf7fcd69c66 [2022-11-03T09:49:17.793Z] Step 17/22 : EXPOSE 59901 [2022-11-03T09:49:17.793Z] ---> Running in f324e12419e0 [2022-11-03T09:49:17.793Z] Removing intermediate container f324e12419e0 [2022-11-03T09:49:17.793Z] ---> d5cd06ab255d [2022-11-03T09:49:17.793Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2022-11-03T09:49:17.793Z] ---> Running in 1b8b38af1849 [2022-11-03T09:49:18.379Z] Removing intermediate container 1b8b38af1849 [2022-11-03T09:49:18.379Z] ---> 6a1a715c7876 [2022-11-03T09:49:18.379Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-03T09:49:18.379Z] ---> Running in efca5f31cf80 [2022-11-03T09:49:18.648Z] Removing intermediate container efca5f31cf80 [2022-11-03T09:49:18.648Z] ---> edbbf18d97a7 [2022-11-03T09:49:18.648Z] Step 20/22 : LABEL arch=arm64 [2022-11-03T09:49:18.648Z] ---> Running in 9c8340d73031 [2022-11-03T09:49:18.916Z] Removing intermediate container 9c8340d73031 [2022-11-03T09:49:18.916Z] ---> 520102c04519 [2022-11-03T09:49:18.916Z] Step 21/22 : LABEL git_sha=d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:49:18.916Z] ---> Running in 3a3e70936356 [2022-11-03T09:49:19.184Z] Removing intermediate container 3a3e70936356 [2022-11-03T09:49:19.184Z] ---> dce89c860245 [2022-11-03T09:49:19.184Z] Step 22/22 : LABEL version=2.3.0-dev.23 [2022-11-03T09:49:19.452Z] ---> Running in b516926a6486 [2022-11-03T09:49:19.719Z] Removing intermediate container b516926a6486 [2022-11-03T09:49:19.719Z] ---> d86887853bfb [2022-11-03T09:49:19.719Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-03T09:49:19.719Z] Successfully built d86887853bfb [2022-11-03T09:49:19.719Z] 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 [2022-11-03T09:49:19.822Z] provisioning config files... [2022-11-03T09:49:19.838Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/63@tmp/config9175834592206385598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:49:20.166Z] ---> docker-login.sh [2022-11-03T09:49:20.166Z] nexus3.edgexfoundry.org:10001 [2022-11-03T09:49:20.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:49:20.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:49:20.435Z] Configure a credential helper to remove this warning. See [2022-11-03T09:49:20.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:49:20.435Z] [2022-11-03T09:49:20.435Z] Login Succeeded [2022-11-03T09:49:20.435Z] nexus3.edgexfoundry.org:10002 [2022-11-03T09:49:20.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:49:20.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:49:20.703Z] Configure a credential helper to remove this warning. See [2022-11-03T09:49:20.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:49:20.703Z] [2022-11-03T09:49:20.703Z] Login Succeeded [2022-11-03T09:49:20.703Z] nexus3.edgexfoundry.org:10003 [2022-11-03T09:49:20.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:49:21.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:49:21.238Z] Configure a credential helper to remove this warning. See [2022-11-03T09:49:21.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:49:21.238Z] [2022-11-03T09:49:21.238Z] Login Succeeded [2022-11-03T09:49:21.238Z] nexus3.edgexfoundry.org:10004 [2022-11-03T09:49:21.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:49:21.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:49:21.508Z] Configure a credential helper to remove this warning. See [2022-11-03T09:49:21.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:49:21.508Z] [2022-11-03T09:49:21.508Z] Login Succeeded [2022-11-03T09:49:21.508Z] docker.io [2022-11-03T09:49:21.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-03T09:49:22.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-03T09:49:22.395Z] Configure a credential helper to remove this warning. See [2022-11-03T09:49:22.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-03T09:49:22.395Z] [2022-11-03T09:49:22.395Z] Login Succeeded [2022-11-03T09:49:22.395Z] ---> docker-login.sh ends [Pipeline] } [2022-11-03T09:49:22.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:49:22.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-03T09:49:22.450Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-11-03T09:49:22.450Z] d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:49:22.450Z] latest [2022-11-03T09:49:22.450Z] 2.3.0-dev.23 [2022-11-03T09:49:22.450Z] d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:49:22.450Z] main [2022-11-03T09:49:22.450Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:22.790Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:23.126Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:49:23.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-03T09:49:23.126Z] 06fd1478325b: Preparing [2022-11-03T09:49:23.126Z] bb3cb7b12285: Preparing [2022-11-03T09:49:23.126Z] ec270595136a: Preparing [2022-11-03T09:49:23.126Z] 41c38d7bf769: Preparing [2022-11-03T09:49:23.126Z] 28c3ef001483: Preparing [2022-11-03T09:49:23.126Z] 28c3ef001483: Layer already exists [2022-11-03T09:49:23.393Z] 06fd1478325b: Pushed [2022-11-03T09:49:23.393Z] bb3cb7b12285: Pushed [2022-11-03T09:49:23.986Z] 41c38d7bf769: Pushed [2022-11-03T09:49:29.333Z] ec270595136a: Pushed [2022-11-03T09:49:29.333Z] d8591ecd48deb848f04d859b76795416a9cfa4fb: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:29.688Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:30.035Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-03T09:49:30.035Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-03T09:49:30.035Z] 06fd1478325b: Preparing [2022-11-03T09:49:30.035Z] bb3cb7b12285: Preparing [2022-11-03T09:49:30.035Z] ec270595136a: Preparing [2022-11-03T09:49:30.035Z] 41c38d7bf769: Preparing [2022-11-03T09:49:30.035Z] 28c3ef001483: Preparing [2022-11-03T09:49:30.035Z] 28c3ef001483: Layer already exists [2022-11-03T09:49:30.035Z] ec270595136a: Layer already exists [2022-11-03T09:49:30.035Z] 06fd1478325b: Layer already exists [2022-11-03T09:49:30.035Z] 41c38d7bf769: Layer already exists [2022-11-03T09:49:30.035Z] bb3cb7b12285: Layer already exists [2022-11-03T09:49:30.302Z] latest: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:30.664Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:31.009Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 [2022-11-03T09:49:31.009Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-03T09:49:31.009Z] 06fd1478325b: Preparing [2022-11-03T09:49:31.009Z] bb3cb7b12285: Preparing [2022-11-03T09:49:31.009Z] ec270595136a: Preparing [2022-11-03T09:49:31.009Z] 41c38d7bf769: Preparing [2022-11-03T09:49:31.009Z] 28c3ef001483: Preparing [2022-11-03T09:49:31.009Z] ec270595136a: Layer already exists [2022-11-03T09:49:31.009Z] 41c38d7bf769: Layer already exists [2022-11-03T09:49:31.009Z] 06fd1478325b: Layer already exists [2022-11-03T09:49:31.009Z] bb3cb7b12285: Layer already exists [2022-11-03T09:49:31.009Z] 28c3ef001483: Layer already exists [2022-11-03T09:49:31.009Z] 2.3.0-dev.23: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:31.622Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:32.011Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:49:32.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-03T09:49:32.011Z] 06fd1478325b: Preparing [2022-11-03T09:49:32.011Z] bb3cb7b12285: Preparing [2022-11-03T09:49:32.011Z] ec270595136a: Preparing [2022-11-03T09:49:32.011Z] 41c38d7bf769: Preparing [2022-11-03T09:49:32.011Z] 28c3ef001483: Preparing [2022-11-03T09:49:32.011Z] bb3cb7b12285: Layer already exists [2022-11-03T09:49:32.011Z] 28c3ef001483: Layer already exists [2022-11-03T09:49:32.011Z] 06fd1478325b: Layer already exists [2022-11-03T09:49:32.011Z] 41c38d7bf769: Layer already exists [2022-11-03T09:49:32.011Z] ec270595136a: Layer already exists [2022-11-03T09:49:32.011Z] d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:32.378Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:32.731Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-11-03T09:49:32.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-11-03T09:49:32.731Z] 06fd1478325b: Preparing [2022-11-03T09:49:32.731Z] bb3cb7b12285: Preparing [2022-11-03T09:49:32.731Z] ec270595136a: Preparing [2022-11-03T09:49:32.731Z] 41c38d7bf769: Preparing [2022-11-03T09:49:32.731Z] 28c3ef001483: Preparing [2022-11-03T09:49:32.731Z] 28c3ef001483: Layer already exists [2022-11-03T09:49:32.731Z] bb3cb7b12285: Layer already exists [2022-11-03T09:49:32.731Z] 41c38d7bf769: Layer already exists [2022-11-03T09:49:32.731Z] ec270595136a: Layer already exists [2022-11-03T09:49:32.731Z] 06fd1478325b: Layer already exists [2022-11-03T09:49:33.000Z] main: digest: sha256:dbaae881e0cb02c6de8cecb95129922495ee337a7f70963eb4efc352a92d86db size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-03T09:49:33.048Z] ===================================================== [Pipeline] echo [2022-11-03T09:49:33.056Z] taggedImages: [2022-11-03T09:49:33.056Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb [2022-11-03T09:49:33.056Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-11-03T09:49:33.056Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.3.0-dev.23 [2022-11-03T09:49:33.056Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:d8591ecd48deb848f04d859b76795416a9cfa4fb-2.3.0-dev.23 [2022-11-03T09:49:33.056Z] - 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 [2022-11-03T09:49:33.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:49:33.423Z] [2022-11-03T09:49:33.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:49:33.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:49:33.782Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-03T09:49:33.782Z] 8998bd30e6a1: Pulling fs layer [2022-11-03T09:49:33.782Z] 04944245beec: Pulling fs layer [2022-11-03T09:49:33.782Z] 699f458cf7ca: Pulling fs layer [2022-11-03T09:49:33.782Z] 765212b225bb: Pulling fs layer [2022-11-03T09:49:33.782Z] f23df028b6ca: Pulling fs layer [2022-11-03T09:49:33.782Z] d65c8cfc05b1: Pulling fs layer [2022-11-03T09:49:33.782Z] 2437ff75d9bd: Pulling fs layer [2022-11-03T09:49:33.782Z] f23df028b6ca: Waiting [2022-11-03T09:49:33.782Z] d65c8cfc05b1: Waiting [2022-11-03T09:49:33.782Z] 2437ff75d9bd: Waiting [2022-11-03T09:49:33.782Z] 765212b225bb: Waiting [2022-11-03T09:49:34.086Z] 04944245beec: Verifying Checksum [2022-11-03T09:49:34.086Z] 04944245beec: Download complete [2022-11-03T09:49:34.086Z] 765212b225bb: Verifying Checksum [2022-11-03T09:49:34.086Z] 765212b225bb: Download complete [2022-11-03T09:49:34.086Z] f23df028b6ca: Verifying Checksum [2022-11-03T09:49:34.086Z] f23df028b6ca: Download complete [2022-11-03T09:49:34.086Z] d65c8cfc05b1: Verifying Checksum [2022-11-03T09:49:34.086Z] d65c8cfc05b1: Download complete [2022-11-03T09:49:34.396Z] 699f458cf7ca: Verifying Checksum [2022-11-03T09:49:34.396Z] 699f458cf7ca: Download complete [2022-11-03T09:49:34.672Z] 8998bd30e6a1: Verifying Checksum [2022-11-03T09:49:34.672Z] 8998bd30e6a1: Download complete [2022-11-03T09:49:37.266Z] 2437ff75d9bd: Verifying Checksum [2022-11-03T09:49:37.266Z] 2437ff75d9bd: Download complete [2022-11-03T09:49:38.683Z] 8998bd30e6a1: Pull complete [2022-11-03T09:49:39.269Z] 04944245beec: Pull complete [2022-11-03T09:49:40.681Z] 699f458cf7ca: Pull complete [2022-11-03T09:49:40.951Z] 765212b225bb: Pull complete [2022-11-03T09:49:41.911Z] f23df028b6ca: Pull complete [2022-11-03T09:49:41.911Z] d65c8cfc05b1: Pull complete [2022-11-03T09:49:56.911Z] 2437ff75d9bd: Pull complete [2022-11-03T09:49:56.911Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-03T09:49:56.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-03T09:49:56.911Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:49:57.099Z] prd-ubuntu20.04-docker-arm64-4c-16g-118094 does not seem to be running inside a container [2022-11-03T09:49:57.164Z] $ 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/63 -v /w/workspace/device-modbus-go/63:/w/workspace/device-modbus-go/63:rw,z -v /w/workspace/device-modbus-go/63@tmp:/w/workspace/device-modbus-go/63@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 [2022-11-03T09:49:59.880Z] $ docker top 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:50:00.730Z] ---> job-cost.sh [2022-11-03T09:50:00.730Z] lf-activate-venv: SKIPPING [2022-11-03T09:50:00.730Z] INFO: No Stack... [2022-11-03T09:50:00.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-03T09:50:01.961Z] INFO: Archiving Costs [Pipeline] sh [2022-11-03T09:50:02.285Z] + + catcut /w/workspace/device-modbus-go/63/archives/cost.csv -d, [2022-11-03T09:50:02.285Z] -f6 [Pipeline] lock [2022-11-03T09:50:02.608Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [2022-11-03T09:50:02.616Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] did not exist. Created. [2022-11-03T09:50:02.616Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-03T09:50:02.954Z] /w/workspace/device-modbus-go/63@tmp/durable-4060d5b3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-03T09:50:03.611Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-03T09:50:03.633Z] Warning: overwriting stash ‘stack-cost’ [2022-11-03T09:50:03.683Z] Stashed 1 file(s) [Pipeline] } [2022-11-03T09:50:03.691Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-63-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-03T09:50:03.707Z] $ docker stop --time=1 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 [2022-11-03T09:50:05.184Z] $ docker rm -f 289b63faaefe34873247bc9dc9b3be2c63bf792a400dadb160f704cc0c161647 [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 [2022-11-03T09:50:05.511Z] provisioning config files... [2022-11-03T09:50:05.518Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10499853819371029483tmp [Pipeline] { [Pipeline] sh [2022-11-03T09:50:05.811Z] + set +x [2022-11-03T09:50:05.811Z] + curl -s https://codecov.io/bash [2022-11-03T09:50:05.811Z] + bash -s -- [2022-11-03T09:50:05.811Z] [2022-11-03T09:50:05.811Z] _____ _ [2022-11-03T09:50:05.811Z] / ____| | | [2022-11-03T09:50:05.811Z] | | ___ __| | ___ ___ _____ __ [2022-11-03T09:50:05.811Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-03T09:50:05.811Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-03T09:50:05.811Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-03T09:50:05.811Z] Bash-1.0.6 [2022-11-03T09:50:05.811Z] [2022-11-03T09:50:05.811Z] [2022-11-03T09:50:05.811Z] ==> git version 2.25.1 found [2022-11-03T09:50:05.811Z] ==> 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 [2022-11-03T09:50:05.811Z] Release-Date: 2020-01-08 [2022-11-03T09:50:05.811Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-03T09:50:05.811Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-03T09:50:05.811Z] ==> Jenkins CI detected. [2022-11-03T09:50:05.811Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-11-03T09:50:05.811Z] project root: . [2022-11-03T09:50:05.811Z] --> token set from env [2022-11-03T09:50:05.811Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-03T09:50:05.811Z] ==> Running gcov in . (disable via -X gcov) [2022-11-03T09:50:06.070Z] ==> Python coveragepy not found [2022-11-03T09:50:06.070Z] ==> Searching for coverage reports in: [2022-11-03T09:50:06.070Z] + . [2022-11-03T09:50:06.070Z] -> Found 1 reports [2022-11-03T09:50:06.070Z] ==> Detecting git/mercurial file structure [2022-11-03T09:50:06.070Z] ==> Reading reports [2022-11-03T09:50:06.070Z] + ./coverage.out bytes=23241 [2022-11-03T09:50:06.070Z] ==> Appending adjustments [2022-11-03T09:50:06.070Z] https://docs.codecov.io/docs/fixing-reports [2022-11-03T09:50:06.070Z] + Found adjustments [2022-11-03T09:50:06.070Z] ==> Gzipping contents [2022-11-03T09:50:06.070Z] 4.0K /tmp/codecov.8WyXRN.gz [2022-11-03T09:50:06.070Z] ==> Uploading reports [2022-11-03T09:50:06.070Z] url: https://codecov.io [2022-11-03T09:50:06.070Z] query: branch=main&commit=d8591ecd48deb848f04d859b76795416a9cfa4fb&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T09:50:06.070Z] -> Pinging Codecov [2022-11-03T09:50:06.070Z] 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=d8591ecd48deb848f04d859b76795416a9cfa4fb&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-03T09:50:06.329Z] -> Uploading to [2022-11-03T09:50:06.329Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-03/55DBCA73C666E3227836607328DD7E49/d8591ecd48deb848f04d859b76795416a9cfa4fb/13069c5d-c77b-42e4-8f05-bbb4265a8567.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221103T095006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1115c29d12b86460fefb65a4ffd550c2729fc1ae05d2056da6cde2d13eb59505 [2022-11-03T09:50:06.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-03T09:50:06.329Z] Dload Upload Total Spent Left Speed [2022-11-03T09:50:06.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3923 0 0 100 3923 0 18246 --:--:-- --:--:-- --:--:-- 18246 [2022-11-03T09:50:06.588Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] } [2022-11-03T09:50:06.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-03T09:50:06.710Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-03T09:50:06.720Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:07.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:50:07.017Z] [2022-11-03T09:50:07.017Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:07.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:50:07.310Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-03T09:50:07.310Z] df9b9388f04a: Pulling fs layer [2022-11-03T09:50:07.310Z] 52dc419b0ee2: Pulling fs layer [2022-11-03T09:50:07.310Z] 25bc292e5bac: Pulling fs layer [2022-11-03T09:50:07.310Z] 114826534d7a: Pulling fs layer [2022-11-03T09:50:07.310Z] 4657fd5d0bcf: Pulling fs layer [2022-11-03T09:50:07.310Z] 6ad1cebc031e: Pulling fs layer [2022-11-03T09:50:07.310Z] 8a3aa393b2d8: Pulling fs layer [2022-11-03T09:50:07.310Z] 6ad1cebc031e: Waiting [2022-11-03T09:50:07.310Z] 8a3aa393b2d8: Waiting [2022-11-03T09:50:07.310Z] 114826534d7a: Waiting [2022-11-03T09:50:07.310Z] 25bc292e5bac: Verifying Checksum [2022-11-03T09:50:07.310Z] 25bc292e5bac: Download complete [2022-11-03T09:50:07.310Z] 52dc419b0ee2: Download complete [2022-11-03T09:50:07.310Z] 4657fd5d0bcf: Download complete [2022-11-03T09:50:07.310Z] df9b9388f04a: Verifying Checksum [2022-11-03T09:50:07.310Z] df9b9388f04a: Download complete [2022-11-03T09:50:07.572Z] df9b9388f04a: Pull complete [2022-11-03T09:50:07.572Z] 6ad1cebc031e: Verifying Checksum [2022-11-03T09:50:07.572Z] 6ad1cebc031e: Download complete [2022-11-03T09:50:07.572Z] 52dc419b0ee2: Pull complete [2022-11-03T09:50:07.572Z] 25bc292e5bac: Pull complete [2022-11-03T09:50:08.140Z] 114826534d7a: Verifying Checksum [2022-11-03T09:50:08.140Z] 114826534d7a: Download complete [2022-11-03T09:50:08.140Z] 8a3aa393b2d8: Verifying Checksum [2022-11-03T09:50:08.140Z] 8a3aa393b2d8: Download complete [2022-11-03T09:50:11.418Z] 114826534d7a: Pull complete [2022-11-03T09:50:11.418Z] 4657fd5d0bcf: Pull complete [2022-11-03T09:50:11.675Z] 6ad1cebc031e: Pull complete [2022-11-03T09:50:14.200Z] 8a3aa393b2d8: Pull complete [2022-11-03T09:50:14.200Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-03T09:50:14.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-03T09:50:14.200Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:50:14.274Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:50:14.304Z] $ 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 [2022-11-03T09:50:18.527Z] $ docker top c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-03T09:50:18.593Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2022-11-03T09:50:18.867Z] + set -o pipefail [2022-11-03T09:50:18.868Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/fd775677-3f47-4367-b7ae-6b69163f445f [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] [2022-11-03T09:50:23.052Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-03T09:50:23.052Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-03T09:50:23.052Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-03T09:50:23.064Z] $ docker stop --time=1 c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 [2022-11-03T09:50:27.009Z] $ docker rm -f c688444e023918fae6085d90335aaca42e08458aca1bd97bc927e403113f4f64 [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 [2022-11-03T09:50:27.677Z] + git log --format=format:%s -1 d8591ecd48deb848f04d859b76795416a9cfa4fb [Pipeline] sh [2022-11-03T09:50:27.963Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:50:27.963Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:28.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:50:28.255Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:50:28.321Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:50:28.348Z] $ 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 [2022-11-03T09:50:28.826Z] $ docker top a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 -eo pid,comm [2022-11-03T09:50:28.875Z] 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). [2022-11-03T09:50:28.875Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:50:28.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:50:28.918Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:50:29.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:50:29.024Z] $ docker exec a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 ssh-agent [2022-11-03T09:50:29.134Z] SSH_AUTH_SOCK=/tmp/ssh-RsZmMQLYPnkS/agent.31 [2022-11-03T09:50:29.134Z] SSH_AGENT_PID=37 [2022-11-03T09:50:29.141Z] Running ssh-add (command line suppressed) [2022-11-03T09:50:29.237Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15085230138266304546.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15085230138266304546.key) [2022-11-03T09:50:29.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:50:29.534Z] + git semver tag [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,695 [run_tag] DEBUG tag force:False [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,696 [check_head_tag] DEBUG check head tag [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,696 [execute] INFO git cat-file --batch-check [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,696 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,700 [execute] INFO git cat-file --batch [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,716 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,716 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:50:29.793Z] 2022-11-03 09:50:29,720 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:29.793Z] 2.3.0-dev.23 [Pipeline] } [2022-11-03T09:50:29.803Z] $ docker exec --env ******** --env ******** a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 ssh-agent -k [2022-11-03T09:50:29.898Z] unset SSH_AUTH_SOCK; [2022-11-03T09:50:29.899Z] unset SSH_AGENT_PID; [2022-11-03T09:50:29.899Z] echo Agent pid 37 killed; [2022-11-03T09:50:29.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:50:30.203Z] + git semver [Pipeline] } [2022-11-03T09:50:30.477Z] $ docker stop --time=1 a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 [2022-11-03T09:50:31.754Z] $ docker rm -f a2fb6d9b26cdbd109faa20349a88958b1dbbf43824b1f5dc3d242e5254d72b43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:32.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:50:32.127Z] [2022-11-03T09:50:32.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:32.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:50:32.420Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-03T09:50:32.420Z] ab5ef0e58194: Pulling fs layer [2022-11-03T09:50:32.420Z] 9712f1f96733: Pulling fs layer [2022-11-03T09:50:32.420Z] 63f879dbbcfc: Pulling fs layer [2022-11-03T09:50:32.420Z] 0d9ebad4ef96: Pulling fs layer [2022-11-03T09:50:32.420Z] e9a5061849ea: Pulling fs layer [2022-11-03T09:50:32.420Z] 0d9ebad4ef96: Waiting [2022-11-03T09:50:32.420Z] e9a5061849ea: Waiting [2022-11-03T09:50:32.420Z] d747dcd14b5f: Pulling fs layer [2022-11-03T09:50:32.420Z] 2de7ff778b66: Pulling fs layer [2022-11-03T09:50:32.420Z] 2de7ff778b66: Waiting [2022-11-03T09:50:32.420Z] d747dcd14b5f: Waiting [2022-11-03T09:50:32.420Z] 9712f1f96733: Verifying Checksum [2022-11-03T09:50:32.420Z] 9712f1f96733: Download complete [2022-11-03T09:50:32.680Z] 63f879dbbcfc: Verifying Checksum [2022-11-03T09:50:32.680Z] 63f879dbbcfc: Download complete [2022-11-03T09:50:32.939Z] 0d9ebad4ef96: Verifying Checksum [2022-11-03T09:50:32.939Z] 0d9ebad4ef96: Download complete [2022-11-03T09:50:32.939Z] e9a5061849ea: Verifying Checksum [2022-11-03T09:50:32.939Z] e9a5061849ea: Download complete [2022-11-03T09:50:32.939Z] d747dcd14b5f: Download complete [2022-11-03T09:50:32.939Z] ab5ef0e58194: Verifying Checksum [2022-11-03T09:50:32.939Z] ab5ef0e58194: Download complete [2022-11-03T09:50:32.939Z] 2de7ff778b66: Verifying Checksum [2022-11-03T09:50:32.939Z] 2de7ff778b66: Download complete [2022-11-03T09:50:35.463Z] ab5ef0e58194: Pull complete [2022-11-03T09:50:35.463Z] 9712f1f96733: Pull complete [2022-11-03T09:50:36.396Z] 63f879dbbcfc: Pull complete [2022-11-03T09:50:40.617Z] 0d9ebad4ef96: Pull complete [2022-11-03T09:50:40.617Z] e9a5061849ea: Pull complete [2022-11-03T09:50:40.617Z] d747dcd14b5f: Pull complete [2022-11-03T09:50:41.181Z] 2de7ff778b66: Pull complete [2022-11-03T09:50:41.181Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-03T09:50:41.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-03T09:50:41.181Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:50:41.252Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:50:41.275Z] $ 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 [2022-11-03T09:50:45.470Z] $ docker top e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:50:45.531Z] provisioning config files... [2022-11-03T09:50:45.537Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config14568663996568174446tmp [2022-11-03T09:50:45.547Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16108630249466553596tmp [2022-11-03T09:50:45.555Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10543179740692114989tmp [Pipeline] { [Pipeline] echo [2022-11-03T09:50:45.567Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:50:45.845Z] ---> sigul-configuration.sh [2022-11-03T09:50:45.845Z] gpg: directory `/root/.gnupg' created [2022-11-03T09:50:45.846Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-03T09:50:45.846Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-03T09:50:45.846Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-03T09:50:45.846Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-03T09:50:45.846Z] gpg: CAST5 encrypted data [2022-11-03T09:50:45.846Z] gpg: encrypted with 1 passphrase [2022-11-03T09:50:45.846Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-03T09:50:46.126Z] + mkdir /home/jenkins [2022-11-03T09:50:46.126Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-03T09:50:46.409Z] + 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 [2022-11-03T09:50:46.418Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:50:46.701Z] ---> sigul-install.sh [2022-11-03T09:50:46.701Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-03T09:50:46.987Z] + git tag --list [2022-11-03T09:50:46.987Z] 0.7.1 [2022-11-03T09:50:46.987Z] v1.0.0 [2022-11-03T09:50:46.987Z] v1.1.0 [2022-11-03T09:50:46.987Z] v1.1.1 [2022-11-03T09:50:46.987Z] v1.2.2 [2022-11-03T09:50:46.987Z] v1.3.0 [2022-11-03T09:50:46.987Z] v1.3.1 [2022-11-03T09:50:46.987Z] v2.0.0 [2022-11-03T09:50:46.987Z] v2.1.0 [2022-11-03T09:50:46.987Z] v2.1.1 [2022-11-03T09:50:46.987Z] v2.1.1-dev.1 [2022-11-03T09:50:46.987Z] v2.1.1-dev.2 [2022-11-03T09:50:46.987Z] v2.1.1-dev.3 [2022-11-03T09:50:46.987Z] v2.2.0 [2022-11-03T09:50:46.987Z] v2.2.1-dev.1 [2022-11-03T09:50:46.987Z] v2.2.1-dev.2 [2022-11-03T09:50:46.987Z] v2.2.1-dev.3 [2022-11-03T09:50:46.987Z] v2.2.1-dev.4 [2022-11-03T09:50:46.987Z] v2.2.1-dev.5 [2022-11-03T09:50:46.987Z] v2.2.1-dev.6 [2022-11-03T09:50:46.987Z] v2.2.1-dev.7 [2022-11-03T09:50:46.987Z] v2.3.0-dev.10 [2022-11-03T09:50:46.987Z] v2.3.0-dev.11 [2022-11-03T09:50:46.987Z] v2.3.0-dev.12 [2022-11-03T09:50:46.987Z] v2.3.0-dev.13 [2022-11-03T09:50:46.987Z] v2.3.0-dev.14 [2022-11-03T09:50:46.987Z] v2.3.0-dev.15 [2022-11-03T09:50:46.987Z] v2.3.0-dev.16 [2022-11-03T09:50:46.987Z] v2.3.0-dev.17 [2022-11-03T09:50:46.987Z] v2.3.0-dev.18 [2022-11-03T09:50:46.987Z] v2.3.0-dev.19 [2022-11-03T09:50:46.987Z] v2.3.0-dev.20 [2022-11-03T09:50:46.987Z] v2.3.0-dev.21 [2022-11-03T09:50:46.987Z] v2.3.0-dev.22 [2022-11-03T09:50:46.987Z] v2.3.0-dev.23 [2022-11-03T09:50:46.987Z] v2.3.0-dev.7 [2022-11-03T09:50:46.987Z] v2.3.0-dev.8 [2022-11-03T09:50:46.987Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-03T09:50:47.269Z] + lftools sign git-tag v2.3.0-dev.23 [2022-11-03T09:50:47.838Z] Signing Git tag with Sigul... [2022-11-03T09:50:47.838Z] Signing v2.3.0-dev.23 [Pipeline] echo [2022-11-03T09:50:48.103Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:50:48.423Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-03T09:50:48.429Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-03T09:50:48.449Z] $ docker stop --time=1 e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 [2022-11-03T09:50:49.729Z] $ docker rm -f e1793c4a7c822b1bd9e0258e5eab34c786779fa0406d376c6ad289c21f83b909 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-03T09:50:50.133Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:50:50.133Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:50.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:50:50.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:50:50.496Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:50:50.526Z] $ 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 [2022-11-03T09:50:50.866Z] $ docker top 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c -eo pid,comm [2022-11-03T09:50:50.913Z] 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). [2022-11-03T09:50:50.913Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:50:50.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:50:50.945Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:50:51.066Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:50:51.069Z] $ docker exec 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c ssh-agent [2022-11-03T09:50:51.197Z] SSH_AUTH_SOCK=/tmp/ssh-xkato5npEV03/agent.32 [2022-11-03T09:50:51.197Z] SSH_AGENT_PID=38 [2022-11-03T09:50:51.202Z] Running ssh-add (command line suppressed) [2022-11-03T09:50:51.304Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14911981612865434066.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14911981612865434066.key) [2022-11-03T09:50:51.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:50:51.599Z] + git semver bump pre [2022-11-03T09:50:51.857Z] 2022-11-03 09:50:51,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,788 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,788 [bump_version] DEBUG bumped version:2.3.0-dev.24 [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,788 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,788 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,788 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,791 [execute] INFO git cat-file --batch-check [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,797 [execute] INFO git cat-file --batch [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:50:51.858Z] 2022-11-03 09:50:51,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:51.858Z] 2.3.0-dev.24 [Pipeline] } [2022-11-03T09:50:51.866Z] $ docker exec --env ******** --env ******** 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c ssh-agent -k [2022-11-03T09:50:51.962Z] unset SSH_AUTH_SOCK; [2022-11-03T09:50:51.962Z] unset SSH_AGENT_PID; [2022-11-03T09:50:51.962Z] echo Agent pid 38 killed; [2022-11-03T09:50:51.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:50:52.277Z] + git semver [Pipeline] } [2022-11-03T09:50:52.548Z] $ docker stop --time=1 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c [2022-11-03T09:50:53.852Z] $ docker rm -f 2c12f1e4a126d2655aae9b3dc12f5d13ce7e612a9d1df6bb60c67cb1f7bf779c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-03T09:50:54.185Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-03T09:50:54.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:50:54.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-03T09:50:54.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:50:54.556Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:50:54.586Z] $ 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 [2022-11-03T09:50:54.919Z] $ docker top 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-03T09:50:55.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-03T09:50:55.006Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-03T09:50:55.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-03T09:50:55.120Z] $ docker exec 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 ssh-agent [2022-11-03T09:50:55.230Z] SSH_AUTH_SOCK=/tmp/ssh-esLwZeFVJq0K/agent.32 [2022-11-03T09:50:55.230Z] SSH_AGENT_PID=38 [2022-11-03T09:50:55.234Z] Running ssh-add (command line suppressed) [2022-11-03T09:50:55.334Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16835614325192995438.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16835614325192995438.key) [2022-11-03T09:50:55.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-03T09:50:55.635Z] + git semver push [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,815 [run_push] DEBUG push [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,816 [execute] INFO git cat-file --batch-check [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,819 [execute] INFO git rev-list 1a9b89bdd3f5d31dbc78dbb1d9fb67fc4f759f0d -- [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,819 [execute] DEBUG Popen(['git', 'rev-list', '1a9b89bdd3f5d31dbc78dbb1d9fb67fc4f759f0d', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,827 [execute] INFO git fetch -v origin [2022-11-03T09:50:55.893Z] 2022-11-03 09:50:55,827 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-03T09:50:56.460Z] 2022-11-03 09:50:56,442 [run_push] DEBUG no remote changes detected [2022-11-03T09:50:56.460Z] 2022-11-03 09:50:56,442 [execute] INFO git push origin semver [2022-11-03T09:50:56.460Z] 2022-11-03 09:50:56,442 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-03T09:50:57.403Z] 2022-11-03 09:50:57,272 [run_push] DEBUG push all version tags [2022-11-03T09:50:57.403Z] 2022-11-03 09:50:57,272 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-03T09:50:57.403Z] 2022-11-03 09:50:57,273 [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) [2022-11-03T09:50:58.340Z] 2022-11-03 09:50:58,265 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2022-11-03T09:50:58.340Z] 2.3.0-dev.24 [Pipeline] } [2022-11-03T09:50:58.353Z] $ docker exec --env ******** --env ******** 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 ssh-agent -k [2022-11-03T09:50:58.445Z] unset SSH_AUTH_SOCK; [2022-11-03T09:50:58.448Z] unset SSH_AGENT_PID; [2022-11-03T09:50:58.448Z] echo Agent pid 38 killed; [2022-11-03T09:50:58.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-03T09:50:58.748Z] + git semver [Pipeline] } [2022-11-03T09:50:59.029Z] $ docker stop --time=1 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 [2022-11-03T09:51:00.289Z] $ docker rm -f 48b885bc07a359f9392f6864251ce5035f7cdf7e9ed6b82da9438f183f17e487 [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 [2022-11-03T09:51:00.826Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2022-11-03T09:51:00.826Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-03T09:51:00.826Z] total 16 [2022-11-03T09:51:00.826Z] drwxr-xr-x 3 root root 4096 Nov 3 09:41 . [2022-11-03T09:51:00.826Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. [2022-11-03T09:51:00.826Z] drwxr-xr-x 2 root root 4096 Nov 3 09:41 cost [2022-11-03T09:51:00.826Z] -rw-r--r-- 1 root root 87 Nov 3 09:41 cost.csv [2022-11-03T09:51:00.827Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-03T09:51:00.827Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-11-03T09:51:00.827Z] total 16 [2022-11-03T09:51:00.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 3 09:41 . [2022-11-03T09:51:00.827Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 3 09:50 .. [2022-11-03T09:51:00.827Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 3 09:41 cost [2022-11-03T09:51:00.827Z] -rw-r--r-- 1 jenkins jenkins 87 Nov 3 09:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:01.112Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:01.963Z] ---> package-listing.sh [2022-11-03T09:51:01.963Z] ++ facter osfamily [2022-11-03T09:51:01.963Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-03T09:51:02.222Z] + OS_FAMILY=debian [2022-11-03T09:51:02.222Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-11-03T09:51:02.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-03T09:51:02.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-03T09:51:02.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-03T09:51:02.222Z] + PACKAGES=/tmp/packages_start.txt [2022-11-03T09:51:02.222Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-03T09:51:02.222Z] + PACKAGES=/tmp/packages_end.txt [2022-11-03T09:51:02.222Z] + case "${OS_FAMILY}" in [2022-11-03T09:51:02.222Z] + dpkg -l [2022-11-03T09:51:02.222Z] + grep '^ii' [2022-11-03T09:51:02.222Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-03T09:51:02.222Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-03T09:51:02.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-03T09:51:02.222Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-11-03T09:51:02.222Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-11-03T09:51:02.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-11-03T09:51:02.232Z] 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 [2022-11-03T09:51:02.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-03T09:51:03.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-03T09:51:03.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-03T09:51:03.124Z] prd-ubuntu20.04-docker-8c-8g-118091 does not seem to be running inside a container [2022-11-03T09:51:03.151Z] $ 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 [2022-11-03T09:51:03.355Z] $ docker top 8164ccab61f3ed60af9db5e3f4ead1f97355b49ca58eb2bfb365d6e57a510228 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-03T09:51:03.821Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-03T09:51:04.145Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-03T09:51:04.427Z] + ls /var/log/sa-host [2022-11-03T09:51:04.427Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-03T09:51:04.494Z] provisioning config files... [2022-11-03T09:51:04.503Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13304610318771613522tmp [Pipeline] { [Pipeline] echo [2022-11-03T09:51:04.515Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:04.800Z] ---> create-netrc.sh [Pipeline] } [2022-11-03T09:51:04.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:05.131Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-03T09:51:05.139Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:05.421Z] ---> sudo-logs.sh [2022-11-03T09:51:05.421Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-03T09:51:05.444Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:05.723Z] ---> job-cost.sh [2022-11-03T09:51:05.724Z] lf-activate-venv: SKIPPING [2022-11-03T09:51:05.724Z] DEBUG: total: 0.2199999988079071 [2022-11-03T09:51:05.724Z] INFO: Retrieving Stack Cost... [2022-11-03T09:51:05.981Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-03T09:51:06.548Z] INFO: Archiving Costs [Pipeline] echo [2022-11-03T09:51:06.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-03T09:51:06.836Z] ---> logs-deploy.sh [2022-11-03T09:51:06.836Z] lf-activate-venv: SKIPPING [2022-11-03T09:51:06.836Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/63 [2022-11-03T09:51:06.836Z] INFO: archiving workspace using pattern(s): [2022-11-03T09:51:08.215Z] Archives upload complete. [2022-11-03T09:51:08.215Z] INFO: archiving logs to Nexus