Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1acbf7f5d5843a7481e353b92dd344f6df368a1e 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-ssh14921805740668075052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3823107413986378104.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5401108384784832663.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh10896290640605018675.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5340083934525458488.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5778 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1acbf7f5d5843a7481e353b92dd344f6df368a1e (main) Commit message: "Merge pull request #498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" > 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 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 > git rev-list --no-walk 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-11T06:05:28.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-11T06:05:28.694Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-11T06:05:28.708Z] ========================================================= [2023-09-11T06:05:28.708Z] EdgeX Global Pipelines Version Info [2023-09-11T06:05:28.708Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:05:29.416Z] ------------------- [2023-09-11T06:05:29.416Z] stable info: [2023-09-11T06:05:29.416Z] ------------------- [2023-09-11T06:05:29.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-11T06:05:29.416Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T06:05:29.416Z] Message: update stable to v1.0.253 [2023-09-11T06:05:29.987Z] ------------------- [2023-09-11T06:05:29.987Z] experimental info: [2023-09-11T06:05:29.987Z] ------------------- [2023-09-11T06:05:29.987Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-11T06:05:29.987Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-11T06:05:29.987Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-11T06:05:30.124Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-09-11T06:05:30.134Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-09-11T06:05:30.143Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-11T06:05:30.152Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-11T06:05:30.161Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-11T06:05:30.170Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-11T06:05:30.178Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-11T06:05:30.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-11T06:05:30.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-11T06:05:30.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-11T06:05:30.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-11T06:05:30.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-09-11T06:05:30.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-11T06:05:30.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-11T06:05:30.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T06:05:30.281Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-11T06:05:30.289Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T06:05:30.298Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-11T06:05:30.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-11T06:05:30.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-11T06:05:30.337Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-11T06:05:30.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-11T06:05:30.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-11T06:05:30.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-11T06:05:30.377Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-11T06:05:30.388Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-11T06:05:30.405Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-11T06:05:30.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-11T06:05:30.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-11T06:05:30.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-11T06:05:30.454Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] echo [2023-09-11T06:05:30.469Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1acbf7f [Pipeline] echo [2023-09-11T06:05:30.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:05:30.522Z] provisioning config files... [2023-09-11T06:05:30.535Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8800796279001719292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:05:30.838Z] ---> docker-login.sh [2023-09-11T06:05:30.838Z] nexus3.edgexfoundry.org:10001 [2023-09-11T06:05:31.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:31.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:31.357Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:31.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:31.357Z] [2023-09-11T06:05:31.357Z] Login Succeeded [2023-09-11T06:05:31.357Z] nexus3.edgexfoundry.org:10002 [2023-09-11T06:05:31.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:31.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:31.357Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:31.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:31.357Z] [2023-09-11T06:05:31.357Z] Login Succeeded [2023-09-11T06:05:31.357Z] nexus3.edgexfoundry.org:10003 [2023-09-11T06:05:31.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:31.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:31.617Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:31.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:31.617Z] [2023-09-11T06:05:31.617Z] Login Succeeded [2023-09-11T06:05:31.617Z] nexus3.edgexfoundry.org:10004 [2023-09-11T06:05:31.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:31.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:31.617Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:31.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:31.617Z] [2023-09-11T06:05:31.617Z] Login Succeeded [2023-09-11T06:05:31.617Z] docker.io [2023-09-11T06:05:31.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:31.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:31.876Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:31.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:31.876Z] [2023-09-11T06:05:31.876Z] Login Succeeded [2023-09-11T06:05:31.876Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T06:05:31.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-11T06:05:32.258Z] + git rev-list -1 --merges 1acbf7f5d5843a7481e353b92dd344f6df368a1e~1..1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] echo [2023-09-11T06:05:32.304Z] -----------> git rev-list -1 --merges 1acbf7f5d5843a7481e353b92dd344f6df368a1e~1..1acbf7f5d5843a7481e353b92dd344f6df368a1e 1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:05:32.304Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e [false] [Pipeline] sh [2023-09-11T06:05:32.596Z] + git log --format=format:%s -1 1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] echo [2023-09-11T06:05:32.609Z] ========================================================= [2023-09-11T06:05:32.609Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-11T06:05:32.609Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T06:05:32.937Z] + git log --format=format:%s -1 1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] echo [2023-09-11T06:05:32.956Z] [semverPrep] GIT_COMMIT: 1acbf7f5d5843a7481e353b92dd344f6df368a1e, Commit Message: Merge pull request #498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19 [Pipeline] echo [2023-09-11T06:05:32.966Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-11T06:05:33.318Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T06:05:33.318Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-11T06:05:33.318Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-11T06:05:33.318Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-11T06:05:33.318Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-11T06:05:33.318Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-11T06:05:33.318Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:05:33.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:05:33.719Z] [2023-09-11T06:05:33.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:05:34.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:05:34.016Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-11T06:05:34.016Z] b85a868b505f: Pulling fs layer [2023-09-11T06:05:34.016Z] e2be974225ed: Pulling fs layer [2023-09-11T06:05:34.016Z] 339a4e72a1f5: Pulling fs layer [2023-09-11T06:05:34.016Z] 988bab9f4d93: Pulling fs layer [2023-09-11T06:05:34.016Z] 1469e6f7b9e6: Pulling fs layer [2023-09-11T06:05:34.016Z] eaf3925da568: Pulling fs layer [2023-09-11T06:05:34.016Z] bab4dde63d76: Pulling fs layer [2023-09-11T06:05:34.016Z] bde34c3a00c8: Pulling fs layer [2023-09-11T06:05:34.016Z] b352a97aabf1: Pulling fs layer [2023-09-11T06:05:34.016Z] 4872d77fe225: Pulling fs layer [2023-09-11T06:05:34.016Z] 5851b861e8e6: Pulling fs layer [2023-09-11T06:05:34.016Z] 988bab9f4d93: Waiting [2023-09-11T06:05:34.016Z] bde34c3a00c8: Waiting [2023-09-11T06:05:34.016Z] 4872d77fe225: Waiting [2023-09-11T06:05:34.016Z] b352a97aabf1: Waiting [2023-09-11T06:05:34.016Z] 1469e6f7b9e6: Waiting [2023-09-11T06:05:34.016Z] eaf3925da568: Waiting [2023-09-11T06:05:34.016Z] bab4dde63d76: Waiting [2023-09-11T06:05:34.016Z] e2be974225ed: Verifying Checksum [2023-09-11T06:05:34.016Z] e2be974225ed: Download complete [2023-09-11T06:05:34.016Z] 988bab9f4d93: Verifying Checksum [2023-09-11T06:05:34.016Z] 988bab9f4d93: Download complete [2023-09-11T06:05:34.277Z] 1469e6f7b9e6: Verifying Checksum [2023-09-11T06:05:34.277Z] 1469e6f7b9e6: Download complete [2023-09-11T06:05:34.277Z] eaf3925da568: Verifying Checksum [2023-09-11T06:05:34.277Z] eaf3925da568: Download complete [2023-09-11T06:05:34.277Z] 339a4e72a1f5: Verifying Checksum [2023-09-11T06:05:34.277Z] 339a4e72a1f5: Download complete [2023-09-11T06:05:34.277Z] bde34c3a00c8: Verifying Checksum [2023-09-11T06:05:34.277Z] bde34c3a00c8: Download complete [2023-09-11T06:05:34.277Z] b352a97aabf1: Verifying Checksum [2023-09-11T06:05:34.277Z] b352a97aabf1: Download complete [2023-09-11T06:05:34.277Z] 4872d77fe225: Verifying Checksum [2023-09-11T06:05:34.277Z] 4872d77fe225: Download complete [2023-09-11T06:05:34.277Z] 5851b861e8e6: Verifying Checksum [2023-09-11T06:05:34.277Z] 5851b861e8e6: Download complete [2023-09-11T06:05:34.277Z] b85a868b505f: Verifying Checksum [2023-09-11T06:05:34.277Z] b85a868b505f: Download complete [2023-09-11T06:05:34.538Z] bab4dde63d76: Download complete [2023-09-11T06:05:35.916Z] b85a868b505f: Pull complete [2023-09-11T06:05:35.916Z] e2be974225ed: Pull complete [2023-09-11T06:05:36.176Z] 339a4e72a1f5: Pull complete [2023-09-11T06:05:36.176Z] 988bab9f4d93: Pull complete [2023-09-11T06:05:36.766Z] 1469e6f7b9e6: Pull complete [2023-09-11T06:05:36.766Z] eaf3925da568: Pull complete [2023-09-11T06:05:38.673Z] bab4dde63d76: Pull complete [2023-09-11T06:05:38.673Z] bde34c3a00c8: Pull complete [2023-09-11T06:05:38.933Z] b352a97aabf1: Pull complete [2023-09-11T06:05:38.933Z] 4872d77fe225: Pull complete [2023-09-11T06:05:39.193Z] 5851b861e8e6: Pull complete [2023-09-11T06:05:39.193Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-11T06:05:39.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:05:39.193Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:05:39.293Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:05:39.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T06:05:42.362Z] $ docker top 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b -eo pid,comm [2023-09-11T06:05:42.413Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T06:05:42.413Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T06:05:42.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T06:05:42.445Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T06:05:42.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T06:05:42.578Z] $ docker exec 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b ssh-agent [2023-09-11T06:05:42.688Z] SSH_AUTH_SOCK=/tmp/ssh-rgVL9NtB1Xq9/agent.31 [2023-09-11T06:05:42.688Z] SSH_AGENT_PID=37 [2023-09-11T06:05:42.695Z] Running ssh-add (command line suppressed) [2023-09-11T06:05:42.813Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6756674518844864817.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_6756674518844864817.key) [2023-09-11T06:05:42.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T06:05:43.107Z] + git tag --points-at HEAD [Pipeline] } [2023-09-11T06:05:43.131Z] $ docker exec --env ******** --env ******** 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b ssh-agent -k [2023-09-11T06:05:43.225Z] unset SSH_AUTH_SOCK; [2023-09-11T06:05:43.225Z] unset SSH_AGENT_PID; [2023-09-11T06:05:43.226Z] echo Agent pid 37 killed; [2023-09-11T06:05:43.230Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-11T06:05:43.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T06:05:43.253Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T06:05:43.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T06:05:43.365Z] $ docker exec 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b ssh-agent [2023-09-11T06:05:43.474Z] SSH_AUTH_SOCK=/tmp/ssh-5eVOTwp8xBJp/agent.69 [2023-09-11T06:05:43.474Z] SSH_AGENT_PID=75 [2023-09-11T06:05:43.479Z] Running ssh-add (command line suppressed) [2023-09-11T06:05:43.578Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4818304357008698519.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4818304357008698519.key) [2023-09-11T06:05:43.588Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T06:05:43.879Z] + git semver init [2023-09-11T06:05:44.139Z] 2023-09-11 06:05:44,075 [run_init] DEBUG init version:0.0.0 force:False [2023-09-11T06:05:44.139Z] 2023-09-11 06:05:44,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-11T06:05:44.139Z] 2023-09-11 06:05:44,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-09-11T06:05:44.139Z] 2023-09-11 06:05:44,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T06:05:45.077Z] 2023-09-11 06:05:44,882 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-09-11T06:05:45.077Z] 2023-09-11 06:05:44,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-09-11T06:05:45.077Z] 2023-09-11 06:05:44,882 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:05:45.077Z] 2023-09-11 06:05:44,883 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:05:45.077Z] 3.1.0-dev.7 [Pipeline] } [2023-09-11T06:05:45.092Z] $ docker exec --env ******** --env ******** 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b ssh-agent -k [2023-09-11T06:05:45.205Z] unset SSH_AUTH_SOCK; [2023-09-11T06:05:45.205Z] unset SSH_AGENT_PID; [2023-09-11T06:05:45.206Z] echo Agent pid 75 killed; [2023-09-11T06:05:45.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T06:05:45.521Z] + git semver [Pipeline] } [2023-09-11T06:05:45.814Z] $ docker stop --time=1 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b [2023-09-11T06:05:47.088Z] $ docker rm -f --volumes 087f6b96ac6f859127f5040f821383aa24c67afdd2f85bd873246134217cfa5b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T06:05:47.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-11T06:05:47.899Z] Stashed 1 file(s) [Pipeline] echo [2023-09-11T06:05:47.902Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:05:48.058Z] provisioning config files... [2023-09-11T06:05:48.068Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3068478589922405610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:05:48.365Z] ---> docker-login.sh [2023-09-11T06:05:48.365Z] nexus3.edgexfoundry.org:10001 [2023-09-11T06:05:48.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:48.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:48.365Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:48.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:48.365Z] [2023-09-11T06:05:48.365Z] Login Succeeded [2023-09-11T06:05:48.365Z] nexus3.edgexfoundry.org:10002 [2023-09-11T06:05:48.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:48.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:48.365Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:48.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:48.365Z] [2023-09-11T06:05:48.365Z] Login Succeeded [2023-09-11T06:05:48.366Z] nexus3.edgexfoundry.org:10003 [2023-09-11T06:05:48.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:48.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:48.625Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:48.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:48.625Z] [2023-09-11T06:05:48.625Z] Login Succeeded [2023-09-11T06:05:48.625Z] nexus3.edgexfoundry.org:10004 [2023-09-11T06:05:48.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:48.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:48.625Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:48.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:48.625Z] [2023-09-11T06:05:48.625Z] Login Succeeded [2023-09-11T06:05:48.625Z] docker.io [2023-09-11T06:05:48.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:05:48.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:05:48.884Z] Configure a credential helper to remove this warning. See [2023-09-11T06:05:48.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:05:48.884Z] [2023-09-11T06:05:48.884Z] Login Succeeded [2023-09-11T06:05:49.144Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T06:05:49.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-11T06:05:49.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:05:49.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:05:49.232Z] ========================================================= [2023-09-11T06:05:49.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-11T06:05:49.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:05:49.545Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T06:05:49.545Z] Sending build context to Docker daemon 6.419MB [2023-09-11T06:05:49.545Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T06:05:49.545Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-11T06:05:49.545Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-11T06:05:49.545Z] 4db1b89c0bd1: Pulling fs layer [2023-09-11T06:05:49.545Z] 6911f1a30b25: Pulling fs layer [2023-09-11T06:05:49.545Z] e194b8c5c2a9: Pulling fs layer [2023-09-11T06:05:49.545Z] 6863d3e3a2b1: Pulling fs layer [2023-09-11T06:05:49.545Z] ec0bb842ea78: Pulling fs layer [2023-09-11T06:05:49.545Z] 40a00589a448: Pulling fs layer [2023-09-11T06:05:49.545Z] 6c08303d61cc: Pulling fs layer [2023-09-11T06:05:49.545Z] 798269fcf238: Pulling fs layer [2023-09-11T06:05:49.545Z] 6863d3e3a2b1: Waiting [2023-09-11T06:05:49.545Z] ec0bb842ea78: Waiting [2023-09-11T06:05:49.545Z] 798269fcf238: Waiting [2023-09-11T06:05:49.545Z] 40a00589a448: Waiting [2023-09-11T06:05:49.545Z] 6c08303d61cc: Waiting [2023-09-11T06:05:49.545Z] 6911f1a30b25: Download complete [2023-09-11T06:05:49.818Z] 6863d3e3a2b1: Verifying Checksum [2023-09-11T06:05:49.818Z] 6863d3e3a2b1: Download complete [2023-09-11T06:05:49.818Z] ec0bb842ea78: Download complete [2023-09-11T06:05:49.818Z] 4db1b89c0bd1: Verifying Checksum [2023-09-11T06:05:49.818Z] 4db1b89c0bd1: Download complete [2023-09-11T06:05:49.818Z] 40a00589a448: Verifying Checksum [2023-09-11T06:05:49.818Z] 40a00589a448: Download complete [2023-09-11T06:05:49.818Z] 4db1b89c0bd1: Pull complete [2023-09-11T06:05:50.091Z] 6911f1a30b25: Pull complete [2023-09-11T06:05:50.351Z] 798269fcf238: Verifying Checksum [2023-09-11T06:05:50.351Z] 798269fcf238: Download complete [2023-09-11T06:05:50.610Z] e194b8c5c2a9: Verifying Checksum [2023-09-11T06:05:50.610Z] e194b8c5c2a9: Download complete [2023-09-11T06:05:50.610Z] 6c08303d61cc: Verifying Checksum [2023-09-11T06:05:50.610Z] 6c08303d61cc: Download complete [2023-09-11T06:05:54.801Z] e194b8c5c2a9: Pull complete [2023-09-11T06:05:54.801Z] 6863d3e3a2b1: Pull complete [2023-09-11T06:05:54.801Z] ec0bb842ea78: Pull complete [2023-09-11T06:05:54.801Z] 40a00589a448: Pull complete [2023-09-11T06:05:56.697Z] 6c08303d61cc: Pull complete [2023-09-11T06:05:57.630Z] 798269fcf238: Pull complete [2023-09-11T06:05:57.630Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-11T06:05:57.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-11T06:05:57.630Z] ---> ec979cd7f677 [2023-09-11T06:05:57.630Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-11T06:06:02.920Z] ---> Running in 59f13392e1dc [2023-09-11T06:06:02.920Z] Removing intermediate container 59f13392e1dc [2023-09-11T06:06:02.920Z] ---> 7a66924eb854 [2023-09-11T06:06:02.920Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T06:06:02.920Z] ---> Running in 11e2ce913af2 [2023-09-11T06:06:02.920Z] Removing intermediate container 11e2ce913af2 [2023-09-11T06:06:02.920Z] ---> 4709167a31dd [2023-09-11T06:06:02.920Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-11T06:06:02.920Z] ---> Running in f5f8fbac0b49 [2023-09-11T06:06:02.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T06:06:02.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T06:06:03.025Z] Still waiting to schedule task [2023-09-11T06:06:03.025Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-11T06:06:03.179Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-11T06:06:03.179Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-11T06:06:03.179Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-11T06:06:03.179Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T06:06:03.179Z] OK: 270 MiB in 61 packages [2023-09-11T06:06:03.748Z] Removing intermediate container f5f8fbac0b49 [2023-09-11T06:06:03.748Z] ---> 20a6fdc7344c [2023-09-11T06:06:03.748Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-11T06:06:03.748Z] ---> Running in cdaa348a3d1d [2023-09-11T06:06:04.006Z] Removing intermediate container cdaa348a3d1d [2023-09-11T06:06:04.006Z] ---> ad0e6435fa22 [2023-09-11T06:06:04.006Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-11T06:06:04.006Z] ---> 871aecc9ae5a [2023-09-11T06:06:04.006Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T06:06:04.006Z] ---> Running in d56eb20060b7 [2023-09-11T06:06:50.840Z] Removing intermediate container d56eb20060b7 [2023-09-11T06:06:50.840Z] ---> c6492564e60b [2023-09-11T06:06:50.840Z] Step 9/10 : COPY . . [2023-09-11T06:06:50.840Z] ---> f453ccc6a172 [2023-09-11T06:06:50.840Z] Step 10/10 : RUN ${MAKE} [2023-09-11T06:06:50.840Z] ---> Running in 5559cff85bb4 [2023-09-11T06:06:50.840Z] noop [2023-09-11T06:06:50.840Z] Removing intermediate container 5559cff85bb4 [2023-09-11T06:06:50.840Z] ---> 8b4ee4ecd5ca [2023-09-11T06:06:50.840Z] Successfully built 8b4ee4ecd5ca [2023-09-11T06:06:50.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:06:51.149Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T06:06:51.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:06:51.224Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:06:51.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T06:06:51.579Z] $ docker top e8008a6c62cce4726c348289bdc24a3d723e545abbfca2a86152e5969bc72990 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T06:06:51.914Z] + go version [2023-09-11T06:06:51.914Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-11T06:06:51.929Z] $ docker stop --time=1 e8008a6c62cce4726c348289bdc24a3d723e545abbfca2a86152e5969bc72990 [2023-09-11T06:06:53.175Z] $ docker rm -f --volumes e8008a6c62cce4726c348289bdc24a3d723e545abbfca2a86152e5969bc72990 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:06:53.588Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-11T06:06:53.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:06:53.666Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:06:53.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-11T06:06:54.032Z] $ docker top 97e07144b04da1735d4b66ec34c89b96d9b2347346f01d74fcfc7738cee907ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T06:06:54.369Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-11T06:06:54.665Z] + make test [2023-09-11T06:06:54.665Z] go test ./... -coverprofile=coverage.out [2023-09-11T06:06:59.946Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-11T06:07:12.147Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-11T06:07:12.147Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.019s coverage: 47.9% of statements [2023-09-11T06:07:18.707Z] go vet ./... [2023-09-11T06:07:21.991Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T06:07:21.991Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T06:07:21.991Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T06:07:22.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T06:07:22.277Z] $ docker stop --time=1 97e07144b04da1735d4b66ec34c89b96d9b2347346f01d74fcfc7738cee907ce [2023-09-11T06:07:25.138Z] $ docker rm -f --volumes 97e07144b04da1735d4b66ec34c89b96d9b2347346f01d74fcfc7738cee907ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T06:07:25.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T06:07:25.675Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-11T06:07:26.247Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T06:07:26.533Z] + ls -al . [2023-09-11T06:07:26.533Z] total 192 [2023-09-11T06:07:26.533Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 06:06 . [2023-09-11T06:07:26.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 06:05 .. [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 06:05 .dockerignore [2023-09-11T06:07:26.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 06:05 .git [2023-09-11T06:07:26.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:05 .github [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 06:05 .gitignore [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 06:05 .golangci.yml [2023-09-11T06:07:26.533Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 06:05 .semver [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 06:05 Attribution.txt [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 06:05 CHANGELOG.md [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 06:05 Dockerfile [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 06:05 GOVERNANCE.md [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 06:05 Jenkinsfile [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 06:05 LICENSE [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 06:05 Makefile [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 06:05 OWNERS.md [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 06:05 README.md [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 06:05 VERSION [2023-09-11T06:07:26.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 06:05 bin [2023-09-11T06:07:26.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:05 cmd [2023-09-11T06:07:26.533Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 06:07 coverage.out [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 06:05 go.mod [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 06:05 go.sum [2023-09-11T06:07:26.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:05 internal [2023-09-11T06:07:26.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 06:05 simulator [2023-09-11T06:07:26.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 06:05 snap [2023-09-11T06:07:26.533Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 06:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:26.844Z] + 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=1acbf7f5d5843a7481e353b92dd344f6df368a1e --label arch=amd64 --label version=3.1.0-dev.7 . [2023-09-11T06:07:26.844Z] Sending build context to Docker daemon 6.444MB [2023-09-11T06:07:26.844Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T06:07:26.844Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-11T06:07:26.844Z] ---> 8b4ee4ecd5ca [2023-09-11T06:07:26.844Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-11T06:07:26.844Z] ---> Running in 75ef57387fdc [2023-09-11T06:07:27.104Z] Removing intermediate container 75ef57387fdc [2023-09-11T06:07:27.104Z] ---> 77583b6f5c53 [2023-09-11T06:07:27.104Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T06:07:27.104Z] ---> Running in 4ce797126f39 [2023-09-11T06:07:27.104Z] Removing intermediate container 4ce797126f39 [2023-09-11T06:07:27.104Z] ---> 66fb3d4c943a [2023-09-11T06:07:27.104Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-11T06:07:27.104Z] ---> Running in 4eccad6cf55d [2023-09-11T06:07:27.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T06:07:27.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T06:07:27.882Z] OK: 270 MiB in 61 packages [2023-09-11T06:07:28.141Z] Removing intermediate container 4eccad6cf55d [2023-09-11T06:07:28.141Z] ---> c970549b2f60 [2023-09-11T06:07:28.141Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-11T06:07:28.141Z] ---> Running in fb82629c8c11 [2023-09-11T06:07:28.440Z] Removing intermediate container fb82629c8c11 [2023-09-11T06:07:28.440Z] ---> 0537aaed3458 [2023-09-11T06:07:28.440Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-11T06:07:28.440Z] ---> ab52b526e4a4 [2023-09-11T06:07:28.440Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T06:07:28.440Z] ---> Running in d909f8608755 [2023-09-11T06:07:29.051Z] Removing intermediate container d909f8608755 [2023-09-11T06:07:29.051Z] ---> f4535cbebadf [2023-09-11T06:07:29.051Z] Step 9/22 : COPY . . [2023-09-11T06:07:29.316Z] ---> d6d673a02171 [2023-09-11T06:07:29.316Z] Step 10/22 : RUN ${MAKE} [2023-09-11T06:07:29.316Z] ---> Running in 4ca1463b98d4 [2023-09-11T06:07:29.579Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-11T06:07:40.421Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5779 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-09-11T06:07:40.434Z] Running in /w/workspace/device-modbus-go/121 [Pipeline] { [Pipeline] checkout [2023-09-11T06:07:40.461Z] Selected Git installation does not exist. Using Default [2023-09-11T06:07:40.461Z] The recommended git tool is: NONE [2023-09-11T06:07:45.296Z] using credential edgex-jenkins-ssh [2023-09-11T06:07:45.311Z] Cloning the remote Git repository [2023-09-11T06:07:45.356Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-09-11T06:07:45.466Z] > git init /w/workspace/device-modbus-go/121 # timeout=10 [2023-09-11T06:07:45.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-09-11T06:07:45.609Z] > git --version # timeout=10 [2023-09-11T06:07:45.627Z] > git --version # 'git version 2.25.1' [2023-09-11T06:07:45.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-11T06:07:45.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T06:07:47.598Z] Avoid second fetch [2023-09-11T06:07:47.599Z] Checking out Revision 1acbf7f5d5843a7481e353b92dd344f6df368a1e (main) [2023-09-11T06:07:46.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-09-11T06:07:46.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-11T06:07:47.620Z] > git config core.sparsecheckout # timeout=10 [2023-09-11T06:07:47.694Z] > git checkout -f 1acbf7f5d5843a7481e353b92dd344f6df368a1e # timeout=10 [2023-09-11T06:07:48.165Z] Commit message: "Merge pull request #498 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T06:07:49.078Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-11T06:07:49.078Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T06:07:49.078Z] Dload Upload Total Spent Left Speed [2023-09-11T06:07:49.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2023-09-11T06:07:49.651Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-11T06:07:49.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-11T06:07:49.974Z] + sudo tee /etc/docker/daemon.new [2023-09-11T06:07:49.974Z] { [2023-09-11T06:07:49.974Z] "registry-mirrors": [ [2023-09-11T06:07:49.974Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-11T06:07:49.974Z] ], [2023-09-11T06:07:49.974Z] "bip": "10.250.0.254/24", [2023-09-11T06:07:49.974Z] "hosts": [ [2023-09-11T06:07:49.974Z] "tcp://0.0.0.0:5555", [2023-09-11T06:07:49.974Z] "unix:///var/run/docker.sock" [2023-09-11T06:07:49.974Z] ], [2023-09-11T06:07:49.974Z] "mtu": 1458, [2023-09-11T06:07:49.974Z] "selinux-enabled": true, [2023-09-11T06:07:49.974Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-11T06:07:49.974Z] } [Pipeline] sh [2023-09-11T06:07:50.302Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-11T06:07:50.634Z] + sudo service docker restart [2023-09-11T06:07:51.593Z] Removing intermediate container 4ca1463b98d4 [2023-09-11T06:07:51.593Z] ---> d62932c257a4 [2023-09-11T06:07:51.593Z] Step 11/22 : FROM alpine:3.17 [2023-09-11T06:07:51.593Z] 3.17: Pulling from library/alpine [2023-09-11T06:07:51.593Z] 9398808236ff: Pulling fs layer [2023-09-11T06:07:51.593Z] 9398808236ff: Verifying Checksum [2023-09-11T06:07:51.593Z] 9398808236ff: Download complete [2023-09-11T06:07:51.593Z] 9398808236ff: Pull complete [2023-09-11T06:07:51.593Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T06:07:51.593Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T06:07:51.593Z] ---> 1e0b8b5322fc [2023-09-11T06:07:51.593Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-11T06:07:51.593Z] ---> Running in 05a7dc24ddac [2023-09-11T06:07:51.593Z] Removing intermediate container 05a7dc24ddac [2023-09-11T06:07:51.593Z] ---> 3dd65b7ca268 [2023-09-11T06:07:51.593Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-11T06:07:51.593Z] ---> Running in 8f54784af31a [2023-09-11T06:07:51.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-11T06:07:51.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-11T06:07:51.593Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T06:07:51.593Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T06:07:51.593Z] OK: 7 MiB in 16 packages [2023-09-11T06:07:51.593Z] Removing intermediate container 8f54784af31a [2023-09-11T06:07:51.593Z] ---> ebf98773dd69 [2023-09-11T06:07:51.593Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-11T06:07:51.853Z] ---> 30b87cce3937 [2023-09-11T06:07:51.853Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-11T06:07:51.853Z] ---> 0ae2b8546068 [2023-09-11T06:07:51.853Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-11T06:07:52.112Z] ---> f6dc7bde9a1a [2023-09-11T06:07:52.112Z] Step 17/22 : EXPOSE 59901 [2023-09-11T06:07:52.113Z] ---> Running in 95c2bc14e1ce [2023-09-11T06:07:52.113Z] Removing intermediate container 95c2bc14e1ce [2023-09-11T06:07:52.113Z] ---> 8927acbc7bfe [2023-09-11T06:07:52.113Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-11T06:07:52.113Z] ---> Running in ccfc000065cd [2023-09-11T06:07:52.372Z] Removing intermediate container ccfc000065cd [2023-09-11T06:07:52.372Z] ---> b899b7e6ae70 [2023-09-11T06:07:52.372Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T06:07:52.372Z] ---> Running in 6fa76c891ba3 [2023-09-11T06:07:52.372Z] Removing intermediate container 6fa76c891ba3 [2023-09-11T06:07:52.372Z] ---> d38a55ea97cb [2023-09-11T06:07:52.372Z] Step 20/22 : LABEL arch=amd64 [2023-09-11T06:07:52.372Z] ---> Running in 6a452073b332 [2023-09-11T06:07:52.372Z] Removing intermediate container 6a452073b332 [2023-09-11T06:07:52.372Z] ---> e84f4ef5dae7 [2023-09-11T06:07:52.372Z] Step 21/22 : LABEL git_sha=1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:07:52.630Z] ---> Running in 230b25a5bb25 [2023-09-11T06:07:52.630Z] Removing intermediate container 230b25a5bb25 [2023-09-11T06:07:52.630Z] ---> 2cd3c55ef27a [2023-09-11T06:07:52.630Z] Step 22/22 : LABEL version=3.1.0-dev.7 [2023-09-11T06:07:52.630Z] ---> Running in 6bb8778495b9 [2023-09-11T06:07:52.630Z] Removing intermediate container 6bb8778495b9 [2023-09-11T06:07:52.630Z] ---> bd5c59948f30 [2023-09-11T06:07:52.630Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T06:07:52.630Z] Successfully built bd5c59948f30 [2023-09-11T06:07:52.630Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:07:52.742Z] provisioning config files... [2023-09-11T06:07:52.750Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13604541454823642069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:07:53.042Z] ---> docker-login.sh [2023-09-11T06:07:53.042Z] nexus3.edgexfoundry.org:10001 [2023-09-11T06:07:53.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:07:53.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:07:53.042Z] Configure a credential helper to remove this warning. See [2023-09-11T06:07:53.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:07:53.042Z] [2023-09-11T06:07:53.042Z] Login Succeeded [2023-09-11T06:07:53.042Z] nexus3.edgexfoundry.org:10002 [2023-09-11T06:07:53.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:07:53.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:07:53.042Z] Configure a credential helper to remove this warning. See [2023-09-11T06:07:53.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:07:53.042Z] [2023-09-11T06:07:53.042Z] Login Succeeded [2023-09-11T06:07:53.042Z] nexus3.edgexfoundry.org:10003 [2023-09-11T06:07:53.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:07:53.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:07:53.302Z] Configure a credential helper to remove this warning. See [2023-09-11T06:07:53.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:07:53.302Z] [2023-09-11T06:07:53.302Z] Login Succeeded [2023-09-11T06:07:53.302Z] nexus3.edgexfoundry.org:10004 [2023-09-11T06:07:53.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:07:53.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:07:53.303Z] Configure a credential helper to remove this warning. See [2023-09-11T06:07:53.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:07:53.303Z] [2023-09-11T06:07:53.303Z] Login Succeeded [2023-09-11T06:07:53.303Z] docker.io [2023-09-11T06:07:53.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:07:53.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:07:53.562Z] Configure a credential helper to remove this warning. See [2023-09-11T06:07:53.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:07:53.562Z] [2023-09-11T06:07:53.562Z] Login Succeeded [2023-09-11T06:07:53.562Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T06:07:53.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T06:07:53.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:07:53.627Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-09-11T06:07:53.628Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:07:53.628Z] latest [2023-09-11T06:07:53.628Z] 3.1.0-dev.7 [2023-09-11T06:07:53.628Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:07:53.628Z] main [2023-09-11T06:07:53.628Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:53.956Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:54.262Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:07:54.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T06:07:54.262Z] 5e35ee6b8a96: Preparing [2023-09-11T06:07:54.262Z] 1c44a03a9aaa: Preparing [2023-09-11T06:07:54.262Z] a8f9dd019cf2: Preparing [2023-09-11T06:07:54.262Z] eecebdf498c2: Preparing [2023-09-11T06:07:54.262Z] 36b50b131297: Preparing [2023-09-11T06:07:54.262Z] 36b50b131297: Layer already exists [2023-09-11T06:07:54.262Z] eecebdf498c2: Pushed [2023-09-11T06:07:54.262Z] 1c44a03a9aaa: Pushed [2023-09-11T06:07:54.262Z] 5e35ee6b8a96: Pushed [2023-09-11T06:07:57.552Z] a8f9dd019cf2: Pushed [2023-09-11T06:07:57.552Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e: digest: sha256:bfb6c8e7e40a8162894ecc8f32a3fa066d0183c34e2f27e414eb3085edb11d63 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:57.875Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:58.189Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-11T06:07:58.189Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T06:07:58.189Z] 5e35ee6b8a96: Preparing [2023-09-11T06:07:58.189Z] 1c44a03a9aaa: Preparing [2023-09-11T06:07:58.189Z] a8f9dd019cf2: Preparing [2023-09-11T06:07:58.189Z] eecebdf498c2: Preparing [2023-09-11T06:07:58.189Z] 36b50b131297: Preparing [2023-09-11T06:07:58.189Z] eecebdf498c2: Layer already exists [2023-09-11T06:07:58.189Z] 36b50b131297: Layer already exists [2023-09-11T06:07:58.189Z] 5e35ee6b8a96: Layer already exists [2023-09-11T06:07:58.189Z] a8f9dd019cf2: Layer already exists [2023-09-11T06:07:58.189Z] 1c44a03a9aaa: Layer already exists [2023-09-11T06:07:58.189Z] latest: digest: sha256:bfb6c8e7e40a8162894ecc8f32a3fa066d0183c34e2f27e414eb3085edb11d63 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:58.508Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:58.811Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.7 [2023-09-11T06:07:58.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T06:07:58.811Z] 5e35ee6b8a96: Preparing [2023-09-11T06:07:58.811Z] 1c44a03a9aaa: Preparing [2023-09-11T06:07:58.811Z] a8f9dd019cf2: Preparing [2023-09-11T06:07:58.811Z] eecebdf498c2: Preparing [2023-09-11T06:07:58.811Z] 36b50b131297: Preparing [2023-09-11T06:07:58.811Z] 36b50b131297: Layer already exists [2023-09-11T06:07:58.811Z] 5e35ee6b8a96: Layer already exists [2023-09-11T06:07:58.811Z] 1c44a03a9aaa: Layer already exists [2023-09-11T06:07:58.811Z] eecebdf498c2: Layer already exists [2023-09-11T06:07:58.811Z] a8f9dd019cf2: Layer already exists [2023-09-11T06:07:58.811Z] 3.1.0-dev.7: digest: sha256:bfb6c8e7e40a8162894ecc8f32a3fa066d0183c34e2f27e414eb3085edb11d63 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:59.113Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:59.420Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:07:59.420Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T06:07:59.420Z] 5e35ee6b8a96: Preparing [2023-09-11T06:07:59.420Z] 1c44a03a9aaa: Preparing [2023-09-11T06:07:59.420Z] a8f9dd019cf2: Preparing [2023-09-11T06:07:59.420Z] eecebdf498c2: Preparing [2023-09-11T06:07:59.420Z] 36b50b131297: Preparing [2023-09-11T06:07:59.420Z] 5e35ee6b8a96: Layer already exists [2023-09-11T06:07:59.420Z] a8f9dd019cf2: Layer already exists [2023-09-11T06:07:59.420Z] 1c44a03a9aaa: Layer already exists [2023-09-11T06:07:59.420Z] 36b50b131297: Layer already exists [2023-09-11T06:07:59.420Z] eecebdf498c2: Layer already exists [2023-09-11T06:07:59.421Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7: digest: sha256:bfb6c8e7e40a8162894ecc8f32a3fa066d0183c34e2f27e414eb3085edb11d63 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:07:59.737Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:08:00.038Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-09-11T06:08:00.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-09-11T06:08:00.038Z] 5e35ee6b8a96: Preparing [2023-09-11T06:08:00.038Z] 1c44a03a9aaa: Preparing [2023-09-11T06:08:00.038Z] a8f9dd019cf2: Preparing [2023-09-11T06:08:00.038Z] eecebdf498c2: Preparing [2023-09-11T06:08:00.038Z] 36b50b131297: Preparing [2023-09-11T06:08:00.038Z] 36b50b131297: Layer already exists [2023-09-11T06:08:00.038Z] 1c44a03a9aaa: Layer already exists [2023-09-11T06:08:00.038Z] a8f9dd019cf2: Layer already exists [2023-09-11T06:08:00.038Z] 5e35ee6b8a96: Layer already exists [2023-09-11T06:08:00.038Z] eecebdf498c2: Layer already exists [2023-09-11T06:08:00.038Z] main: digest: sha256:bfb6c8e7e40a8162894ecc8f32a3fa066d0183c34e2f27e414eb3085edb11d63 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T06:08:00.094Z] ===================================================== [Pipeline] echo [2023-09-11T06:08:00.103Z] taggedImages: [2023-09-11T06:08:00.103Z] - nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:08:00.103Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-09-11T06:08:00.103Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.1.0-dev.7 [2023-09-11T06:08:00.103Z] - nexus3.edgexfoundry.org:10004/device-modbus:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:08:00.103Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:08:00.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T06:08:00.481Z] [2023-09-11T06:08:00.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:08:00.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T06:08:00.783Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-11T06:08:00.783Z] 5eb5b503b376: Pulling fs layer [2023-09-11T06:08:00.783Z] 5c69ac0246d0: Pulling fs layer [2023-09-11T06:08:00.783Z] ec43610c2a17: Pulling fs layer [2023-09-11T06:08:00.783Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-11T06:08:00.783Z] 33b1e0a273af: Pulling fs layer [2023-09-11T06:08:00.783Z] 5d3b04190fa2: Pulling fs layer [2023-09-11T06:08:00.783Z] 2f39f015ded8: Pulling fs layer [2023-09-11T06:08:00.783Z] 3a2ae6a8a46f: Waiting [2023-09-11T06:08:00.783Z] 33b1e0a273af: Waiting [2023-09-11T06:08:00.783Z] 2f39f015ded8: Waiting [2023-09-11T06:08:00.783Z] 5d3b04190fa2: Waiting [2023-09-11T06:08:00.783Z] 5c69ac0246d0: Download complete [2023-09-11T06:08:00.783Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-11T06:08:00.783Z] 3a2ae6a8a46f: Download complete [2023-09-11T06:08:01.042Z] 33b1e0a273af: Verifying Checksum [2023-09-11T06:08:01.042Z] 5d3b04190fa2: Download complete [2023-09-11T06:08:01.042Z] ec43610c2a17: Verifying Checksum [2023-09-11T06:08:01.042Z] ec43610c2a17: Download complete [2023-09-11T06:08:01.042Z] 5eb5b503b376: Verifying Checksum [2023-09-11T06:08:01.042Z] 5eb5b503b376: Download complete [2023-09-11T06:08:02.434Z] 5eb5b503b376: Pull complete [2023-09-11T06:08:02.434Z] 5c69ac0246d0: Pull complete [2023-09-11T06:08:03.000Z] ec43610c2a17: Pull complete [2023-09-11T06:08:03.000Z] 3a2ae6a8a46f: Pull complete [2023-09-11T06:08:03.259Z] 33b1e0a273af: Pull complete [2023-09-11T06:08:03.259Z] 5d3b04190fa2: Pull complete [2023-09-11T06:08:08.538Z] 2f39f015ded8: Pull complete [2023-09-11T06:08:08.538Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-11T06:08:08.538Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T06:08:08.538Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:08:08.638Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:08:08.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T06:08:11.490Z] $ docker top 8725ec9b270579ddf0b7b89b7d5f2361e598d52e1b86a2b524bc560bb7d75e7a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-09-11T06:08:11.650Z] provisioning config files... [2023-09-11T06:08:11.679Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/121@tmp/config1319854629388441950tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:08:11.902Z] ---> job-cost.sh [2023-09-11T06:08:11.902Z] lf-activate-venv: SKIPPING [2023-09-11T06:08:11.902Z] INFO: No Stack... [2023-09-11T06:08:12.026Z] ---> docker-login.sh [2023-09-11T06:08:12.026Z] nexus3.edgexfoundry.org:10001 [2023-09-11T06:08:12.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T06:08:12.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:08:12.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:08:12.574Z] Configure a credential helper to remove this warning. See [2023-09-11T06:08:12.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:08:12.574Z] [2023-09-11T06:08:12.574Z] Login Succeeded [2023-09-11T06:08:12.574Z] nexus3.edgexfoundry.org:10002 [2023-09-11T06:08:12.729Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T06:08:12.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:08:12.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:08:12.844Z] Configure a credential helper to remove this warning. See [2023-09-11T06:08:12.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:08:12.844Z] [2023-09-11T06:08:12.844Z] Login Succeeded [2023-09-11T06:08:12.844Z] nexus3.edgexfoundry.org:10003 [2023-09-11T06:08:13.023Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-09-11T06:08:13.023Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T06:08:13.036Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [2023-09-11T06:08:13.042Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] did not exist. Created. [2023-09-11T06:08:13.042Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T06:08:13.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:08:13.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:08:13.247Z] Configure a credential helper to remove this warning. See [2023-09-11T06:08:13.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:08:13.247Z] [2023-09-11T06:08:13.247Z] Login Succeeded [2023-09-11T06:08:13.247Z] nexus3.edgexfoundry.org:10004 [2023-09-11T06:08:13.343Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-11T06:08:13.369Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T06:08:13.375Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T06:08:13.394Z] $ docker stop --time=1 8725ec9b270579ddf0b7b89b7d5f2361e598d52e1b86a2b524bc560bb7d75e7a [2023-09-11T06:08:13.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:08:13.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:08:13.786Z] Configure a credential helper to remove this warning. See [2023-09-11T06:08:13.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:08:13.786Z] [2023-09-11T06:08:13.786Z] Login Succeeded [2023-09-11T06:08:13.786Z] docker.io [2023-09-11T06:08:14.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:08:14.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:08:14.056Z] Configure a credential helper to remove this warning. See [2023-09-11T06:08:14.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:08:14.056Z] [2023-09-11T06:08:14.056Z] Login Succeeded [2023-09-11T06:08:14.326Z] ---> docker-login.sh ends [2023-09-11T06:08:14.541Z] $ docker rm -f --volumes 8725ec9b270579ddf0b7b89b7d5f2361e598d52e1b86a2b524bc560bb7d75e7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-09-11T06:08:14.588Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-09-11T06:08:14.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:08:14.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:08:14.861Z] ========================================================= [2023-09-11T06:08:14.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-11T06:08:14.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:08:15.198Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-11T06:08:15.466Z] Sending build context to Docker daemon 3.332MB [2023-09-11T06:08:15.466Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T06:08:15.466Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-11T06:08:16.887Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-11T06:08:16.887Z] edb6bdbacee9: Pulling fs layer [2023-09-11T06:08:16.887Z] 5f9638ab2659: Pulling fs layer [2023-09-11T06:08:16.887Z] 8d51d6327a98: Pulling fs layer [2023-09-11T06:08:16.887Z] 8b374f2dd631: Pulling fs layer [2023-09-11T06:08:16.887Z] ec14aa9079de: Pulling fs layer [2023-09-11T06:08:16.887Z] 2f466654f4bb: Pulling fs layer [2023-09-11T06:08:16.887Z] 554e91adad29: Pulling fs layer [2023-09-11T06:08:16.887Z] 8b374f2dd631: Waiting [2023-09-11T06:08:16.887Z] ec14aa9079de: Waiting [2023-09-11T06:08:16.887Z] 2f466654f4bb: Waiting [2023-09-11T06:08:16.887Z] 554e91adad29: Waiting [2023-09-11T06:08:16.887Z] 5f9638ab2659: Verifying Checksum [2023-09-11T06:08:16.887Z] 5f9638ab2659: Download complete [2023-09-11T06:08:16.887Z] 8b374f2dd631: Verifying Checksum [2023-09-11T06:08:16.887Z] 8b374f2dd631: Download complete [2023-09-11T06:08:16.887Z] ec14aa9079de: Download complete [2023-09-11T06:08:16.887Z] edb6bdbacee9: Verifying Checksum [2023-09-11T06:08:16.887Z] edb6bdbacee9: Download complete [2023-09-11T06:08:17.850Z] edb6bdbacee9: Pull complete [2023-09-11T06:08:18.120Z] 554e91adad29: Verifying Checksum [2023-09-11T06:08:18.120Z] 554e91adad29: Download complete [2023-09-11T06:08:18.120Z] 5f9638ab2659: Pull complete [2023-09-11T06:08:19.092Z] 8d51d6327a98: Verifying Checksum [2023-09-11T06:08:19.092Z] 8d51d6327a98: Download complete [2023-09-11T06:08:19.092Z] 2f466654f4bb: Verifying Checksum [2023-09-11T06:08:19.092Z] 2f466654f4bb: Download complete [2023-09-11T06:08:31.691Z] 8d51d6327a98: Pull complete [2023-09-11T06:08:31.691Z] 8b374f2dd631: Pull complete [2023-09-11T06:08:31.691Z] ec14aa9079de: Pull complete [2023-09-11T06:08:38.374Z] 2f466654f4bb: Pull complete [2023-09-11T06:08:39.928Z] 554e91adad29: Pull complete [2023-09-11T06:08:40.210Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-11T06:08:40.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-11T06:08:40.210Z] ---> 1e15ea492957 [2023-09-11T06:08:40.210Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-09-11T06:08:41.190Z] ---> Running in 3bd4847f7f69 [2023-09-11T06:08:41.459Z] Removing intermediate container 3bd4847f7f69 [2023-09-11T06:08:41.459Z] ---> 0fdd00d2b25f [2023-09-11T06:08:41.459Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T06:08:41.459Z] ---> Running in 39411d92b78f [2023-09-11T06:08:41.730Z] Removing intermediate container 39411d92b78f [2023-09-11T06:08:41.730Z] ---> 15259c7023a9 [2023-09-11T06:08:41.730Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-09-11T06:08:42.005Z] ---> Running in 8f6e82c05c48 [2023-09-11T06:08:42.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T06:08:43.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T06:08:44.515Z] (1/8) Installing openssh-keygen (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-09-11T06:08:44.515Z] (3/8) Installing openssh-client-common (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (4/8) Installing openssh-client-default (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (5/8) Installing openssh-sftp-server (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (6/8) Installing openssh-server-common (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (7/8) Installing openssh-server (9.1_p1-r4) [2023-09-11T06:08:44.515Z] (8/8) Installing openssh (9.1_p1-r4) [2023-09-11T06:08:44.515Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T06:08:44.515Z] OK: 270 MiB in 61 packages [2023-09-11T06:08:45.473Z] Removing intermediate container 8f6e82c05c48 [2023-09-11T06:08:45.473Z] ---> 92d03ac1f160 [2023-09-11T06:08:45.473Z] Step 6/10 : WORKDIR /device-modbus-go [2023-09-11T06:08:45.741Z] ---> Running in cb96bdb654c5 [2023-09-11T06:08:46.016Z] Removing intermediate container cb96bdb654c5 [2023-09-11T06:08:46.016Z] ---> e3ff6a8df4a5 [2023-09-11T06:08:46.016Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-11T06:08:46.284Z] ---> 95fbf64dbce5 [2023-09-11T06:08:46.284Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T06:08:46.554Z] ---> Running in 20901aec9368 [2023-09-11T06:09:54.463Z] Removing intermediate container 20901aec9368 [2023-09-11T06:09:54.463Z] ---> e80e41070b62 [2023-09-11T06:09:54.463Z] Step 9/10 : COPY . . [2023-09-11T06:09:54.463Z] ---> ef7c0d49ada6 [2023-09-11T06:09:54.463Z] Step 10/10 : RUN ${MAKE} [2023-09-11T06:09:54.463Z] ---> Running in 9395aa50528a [2023-09-11T06:09:54.463Z] noop [2023-09-11T06:09:54.463Z] Removing intermediate container 9395aa50528a [2023-09-11T06:09:54.463Z] ---> ef5f77e95d9a [2023-09-11T06:09:54.463Z] Successfully built ef5f77e95d9a [2023-09-11T06:09:54.463Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:09:54.811Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T06:09:54.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:09:55.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-5779 does not seem to be running inside a container [2023-09-11T06:09:55.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/121 -v /w/workspace/device-modbus-go/121:/w/workspace/device-modbus-go/121:rw,z -v /w/workspace/device-modbus-go/121@tmp:/w/workspace/device-modbus-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-11T06:09:56.253Z] $ docker top 82c699c301980cbbca35fa53d763bc8eec6e0a6675a99a037e254bd376e8f923 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T06:09:57.076Z] + go version [2023-09-11T06:09:57.076Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-11T06:09:57.098Z] $ docker stop --time=1 82c699c301980cbbca35fa53d763bc8eec6e0a6675a99a037e254bd376e8f923 [2023-09-11T06:09:58.694Z] $ docker rm -f --volumes 82c699c301980cbbca35fa53d763bc8eec6e0a6675a99a037e254bd376e8f923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:09:59.243Z] + docker inspect -f . ci-base-image-arm64 [2023-09-11T06:09:59.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:09:59.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-5779 does not seem to be running inside a container [2023-09-11T06:09:59.483Z] $ 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/121 -v /w/workspace/device-modbus-go/121:/w/workspace/device-modbus-go/121:rw,z -v /w/workspace/device-modbus-go/121@tmp:/w/workspace/device-modbus-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-11T06:10:00.619Z] $ docker top e46ceeb2fc517e055970ebafc16a0b8a133f63f699a77a611b6bc1d8d22229d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T06:10:01.431Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/121 [Pipeline] fileExists [Pipeline] sh [2023-09-11T06:10:02.078Z] + make test [2023-09-11T06:10:02.078Z] go test ./... -coverprofile=coverage.out [2023-09-11T06:10:34.297Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-09-11T06:12:26.031Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-09-11T06:12:29.362Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.076s coverage: 47.9% of statements [2023-09-11T06:12:29.944Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-11T06:12:29.944Z] go vet ./... [2023-09-11T06:12:56.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-11T06:12:56.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-11T06:12:56.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-11T06:12:56.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-11T06:12:56.660Z] $ docker stop --time=1 e46ceeb2fc517e055970ebafc16a0b8a133f63f699a77a611b6bc1d8d22229d0 [2023-09-11T06:12:58.532Z] $ docker rm -f --volumes e46ceeb2fc517e055970ebafc16a0b8a133f63f699a77a611b6bc1d8d22229d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T06:12:59.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-11T06:12:59.649Z] Warning: overwriting stash ‘coverage-report’ [2023-09-11T06:13:00.062Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-11T06:13:00.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-11T06:13:00.772Z] + ls -al . [2023-09-11T06:13:00.772Z] total 188 [2023-09-11T06:13:00.772Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 06:10 . [2023-09-11T06:13:00.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 06:07 .. [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 06:07 .dockerignore [2023-09-11T06:13:00.772Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 06:07 .git [2023-09-11T06:13:00.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:07 .github [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 331 Sep 11 06:07 .gitignore [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 06:07 .golangci.yml [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 11101 Sep 11 06:07 Attribution.txt [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 14764 Sep 11 06:07 CHANGELOG.md [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 1365 Sep 11 06:07 Dockerfile [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 06:07 GOVERNANCE.md [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 11 06:07 Jenkinsfile [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 06:07 LICENSE [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 1936 Sep 11 06:07 Makefile [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 622 Sep 11 06:07 OWNERS.md [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 4578 Sep 11 06:07 README.md [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 11 06:05 VERSION [2023-09-11T06:13:00.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 06:07 bin [2023-09-11T06:13:00.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:07 cmd [2023-09-11T06:13:00.772Z] -rw-r--r-- 1 jenkins jenkins 24334 Sep 11 06:12 coverage.out [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 3940 Sep 11 06:07 go.mod [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 34434 Sep 11 06:07 go.sum [2023-09-11T06:13:00.772Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 06:07 internal [2023-09-11T06:13:00.772Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 06:07 simulator [2023-09-11T06:13:00.772Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 06:07 snap [2023-09-11T06:13:00.772Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 11 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:13:01.112Z] + 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=1acbf7f5d5843a7481e353b92dd344f6df368a1e --label arch=arm64 --label version=3.1.0-dev.7 . [2023-09-11T06:13:01.382Z] Sending build context to Docker daemon 3.357MB [2023-09-11T06:13:01.382Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-09-11T06:13:01.382Z] Step 2/22 : FROM ${BASE} AS builder [2023-09-11T06:13:01.382Z] ---> ef5f77e95d9a [2023-09-11T06:13:01.382Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-09-11T06:13:01.651Z] ---> Running in eeb20835ca20 [2023-09-11T06:13:01.918Z] Removing intermediate container eeb20835ca20 [2023-09-11T06:13:01.918Z] ---> be1f0370ecaa [2023-09-11T06:13:01.918Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-11T06:13:01.918Z] ---> Running in 9d14c8c5798a [2023-09-11T06:13:02.185Z] Removing intermediate container 9d14c8c5798a [2023-09-11T06:13:02.185Z] ---> 8304d890df02 [2023-09-11T06:13:02.185Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-09-11T06:13:02.185Z] ---> Running in 455e05ffde4e [2023-09-11T06:13:03.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T06:13:03.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T06:13:04.684Z] OK: 270 MiB in 61 packages [2023-09-11T06:13:05.653Z] Removing intermediate container 455e05ffde4e [2023-09-11T06:13:05.653Z] ---> a7da9752c0de [2023-09-11T06:13:05.653Z] Step 6/22 : WORKDIR /device-modbus-go [2023-09-11T06:13:05.653Z] ---> Running in c6b4b68ef4f1 [2023-09-11T06:13:05.653Z] Removing intermediate container c6b4b68ef4f1 [2023-09-11T06:13:05.653Z] ---> 202c510634ad [2023-09-11T06:13:05.653Z] Step 7/22 : COPY go.mod vendor* ./ [2023-09-11T06:13:06.233Z] ---> 6c28b3a1cb45 [2023-09-11T06:13:06.233Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-11T06:13:06.233Z] ---> Running in ce5df30251fd [2023-09-11T06:13:08.173Z] Removing intermediate container ce5df30251fd [2023-09-11T06:13:08.173Z] ---> cef231b42a11 [2023-09-11T06:13:08.173Z] Step 9/22 : COPY . . [2023-09-11T06:13:09.138Z] ---> 53eb8843ad9d [2023-09-11T06:13:09.138Z] Step 10/22 : RUN ${MAKE} [2023-09-11T06:13:09.138Z] ---> Running in b2a3a5244e74 [2023-09-11T06:13:10.099Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.19" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-09-11T06:15:31.801Z] Removing intermediate container b2a3a5244e74 [2023-09-11T06:15:31.801Z] ---> 13948e683ce7 [2023-09-11T06:15:31.801Z] Step 11/22 : FROM alpine:3.17 [2023-09-11T06:15:31.801Z] 3.17: Pulling from library/alpine [2023-09-11T06:15:31.801Z] 4060ece20d7a: Pulling fs layer [2023-09-11T06:15:31.801Z] 4060ece20d7a: Verifying Checksum [2023-09-11T06:15:31.801Z] 4060ece20d7a: Download complete [2023-09-11T06:15:31.801Z] 4060ece20d7a: Pull complete [2023-09-11T06:15:31.801Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-11T06:15:31.801Z] Status: Downloaded newer image for alpine:3.17 [2023-09-11T06:15:31.801Z] ---> 8650cd65339b [2023-09-11T06:15:31.801Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-09-11T06:15:31.801Z] ---> Running in 651a25e5574b [2023-09-11T06:15:31.801Z] Removing intermediate container 651a25e5574b [2023-09-11T06:15:31.801Z] ---> e0fc5ed81fde [2023-09-11T06:15:31.801Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-09-11T06:15:31.801Z] ---> Running in 0365b0442f53 [2023-09-11T06:15:31.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-11T06:15:31.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-11T06:15:31.801Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-11T06:15:31.801Z] Executing busybox-1.35.0-r29.trigger [2023-09-11T06:15:31.801Z] OK: 8 MiB in 16 packages [2023-09-11T06:15:31.801Z] Removing intermediate container 0365b0442f53 [2023-09-11T06:15:31.801Z] ---> 4061e95c6049 [2023-09-11T06:15:31.801Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-09-11T06:15:31.801Z] ---> 8851e5dc5f40 [2023-09-11T06:15:31.801Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-09-11T06:15:31.801Z] ---> ceabeefd0433 [2023-09-11T06:15:31.801Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-09-11T06:15:31.801Z] ---> 9671e131f551 [2023-09-11T06:15:31.801Z] Step 17/22 : EXPOSE 59901 [2023-09-11T06:15:31.801Z] ---> Running in 44ea78c5a04a [2023-09-11T06:15:31.801Z] Removing intermediate container 44ea78c5a04a [2023-09-11T06:15:31.801Z] ---> 49db78db4ccb [2023-09-11T06:15:31.801Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-09-11T06:15:31.801Z] ---> Running in b3b67992bb9f [2023-09-11T06:15:31.801Z] Removing intermediate container b3b67992bb9f [2023-09-11T06:15:31.801Z] ---> cf81670dac81 [2023-09-11T06:15:31.801Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-11T06:15:31.801Z] ---> Running in 8dcd6de1350e [2023-09-11T06:15:31.801Z] Removing intermediate container 8dcd6de1350e [2023-09-11T06:15:31.801Z] ---> 452754282508 [2023-09-11T06:15:31.801Z] Step 20/22 : LABEL arch=arm64 [2023-09-11T06:15:31.801Z] ---> Running in 203ee0f991af [2023-09-11T06:15:31.801Z] Removing intermediate container 203ee0f991af [2023-09-11T06:15:31.801Z] ---> 52bec13fe695 [2023-09-11T06:15:31.801Z] Step 21/22 : LABEL git_sha=1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:15:31.801Z] ---> Running in 4a2ac112e701 [2023-09-11T06:15:31.801Z] Removing intermediate container 4a2ac112e701 [2023-09-11T06:15:31.801Z] ---> 6392325a1283 [2023-09-11T06:15:31.801Z] Step 22/22 : LABEL version=3.1.0-dev.7 [2023-09-11T06:15:31.801Z] ---> Running in 2bf1cf9859c7 [2023-09-11T06:15:31.801Z] Removing intermediate container 2bf1cf9859c7 [2023-09-11T06:15:31.801Z] ---> f2ecae8dc569 [2023-09-11T06:15:31.801Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-11T06:15:31.801Z] Successfully built f2ecae8dc569 [2023-09-11T06:15:31.801Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:15:31.934Z] provisioning config files... [2023-09-11T06:15:31.953Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/121@tmp/config10086430967444424841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:15:32.334Z] ---> docker-login.sh [2023-09-11T06:15:32.335Z] nexus3.edgexfoundry.org:10001 [2023-09-11T06:15:32.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:15:32.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:15:32.608Z] Configure a credential helper to remove this warning. See [2023-09-11T06:15:32.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:15:32.608Z] [2023-09-11T06:15:32.608Z] Login Succeeded [2023-09-11T06:15:32.608Z] nexus3.edgexfoundry.org:10002 [2023-09-11T06:15:32.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:15:32.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:15:32.882Z] Configure a credential helper to remove this warning. See [2023-09-11T06:15:32.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:15:32.882Z] [2023-09-11T06:15:32.882Z] Login Succeeded [2023-09-11T06:15:32.882Z] nexus3.edgexfoundry.org:10003 [2023-09-11T06:15:33.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:15:33.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:15:33.153Z] Configure a credential helper to remove this warning. See [2023-09-11T06:15:33.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:15:33.153Z] [2023-09-11T06:15:33.153Z] Login Succeeded [2023-09-11T06:15:33.437Z] nexus3.edgexfoundry.org:10004 [2023-09-11T06:15:33.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:15:33.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:15:33.704Z] Configure a credential helper to remove this warning. See [2023-09-11T06:15:33.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:15:33.704Z] [2023-09-11T06:15:33.704Z] Login Succeeded [2023-09-11T06:15:33.704Z] docker.io [2023-09-11T06:15:33.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-11T06:15:34.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-11T06:15:34.236Z] Configure a credential helper to remove this warning. See [2023-09-11T06:15:34.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-11T06:15:34.236Z] [2023-09-11T06:15:34.236Z] Login Succeeded [2023-09-11T06:15:34.236Z] ---> docker-login.sh ends [Pipeline] } [2023-09-11T06:15:34.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T06:15:34.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-11T06:15:34.292Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-09-11T06:15:34.292Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:15:34.292Z] latest [2023-09-11T06:15:34.292Z] 3.1.0-dev.7 [2023-09-11T06:15:34.292Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:15:34.292Z] main [2023-09-11T06:15:34.292Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:34.627Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:34.963Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:15:34.963Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T06:15:34.963Z] be20218c9054: Preparing [2023-09-11T06:15:34.963Z] 6e831ab4cc48: Preparing [2023-09-11T06:15:34.963Z] 1c0428afaf50: Preparing [2023-09-11T06:15:34.963Z] 72e4adb478cb: Preparing [2023-09-11T06:15:34.963Z] d2d9d24a8c2a: Preparing [2023-09-11T06:15:34.963Z] d2d9d24a8c2a: Layer already exists [2023-09-11T06:15:35.228Z] 6e831ab4cc48: Pushed [2023-09-11T06:15:35.228Z] be20218c9054: Pushed [2023-09-11T06:15:35.228Z] 72e4adb478cb: Pushed [2023-09-11T06:15:41.860Z] 1c0428afaf50: Pushed [2023-09-11T06:15:41.860Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e: digest: sha256:c9aee15062d84fad0def9a08d6749ff8cfe2b477f61e7ccf8c4c13b6e8a5eae9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:42.199Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:42.533Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-11T06:15:42.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T06:15:42.533Z] be20218c9054: Preparing [2023-09-11T06:15:42.533Z] 6e831ab4cc48: Preparing [2023-09-11T06:15:42.533Z] 1c0428afaf50: Preparing [2023-09-11T06:15:42.533Z] 72e4adb478cb: Preparing [2023-09-11T06:15:42.533Z] d2d9d24a8c2a: Preparing [2023-09-11T06:15:42.533Z] d2d9d24a8c2a: Layer already exists [2023-09-11T06:15:42.533Z] 6e831ab4cc48: Layer already exists [2023-09-11T06:15:42.533Z] 72e4adb478cb: Layer already exists [2023-09-11T06:15:42.533Z] be20218c9054: Layer already exists [2023-09-11T06:15:42.533Z] 1c0428afaf50: Layer already exists [2023-09-11T06:15:42.797Z] latest: digest: sha256:c9aee15062d84fad0def9a08d6749ff8cfe2b477f61e7ccf8c4c13b6e8a5eae9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:43.134Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:43.470Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.7 [2023-09-11T06:15:43.470Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T06:15:43.470Z] be20218c9054: Preparing [2023-09-11T06:15:43.470Z] 6e831ab4cc48: Preparing [2023-09-11T06:15:43.470Z] 1c0428afaf50: Preparing [2023-09-11T06:15:43.470Z] 72e4adb478cb: Preparing [2023-09-11T06:15:43.470Z] d2d9d24a8c2a: Preparing [2023-09-11T06:15:43.470Z] 72e4adb478cb: Layer already exists [2023-09-11T06:15:43.470Z] 1c0428afaf50: Layer already exists [2023-09-11T06:15:43.470Z] d2d9d24a8c2a: Layer already exists [2023-09-11T06:15:43.471Z] 6e831ab4cc48: Layer already exists [2023-09-11T06:15:43.471Z] be20218c9054: Layer already exists [2023-09-11T06:15:43.471Z] 3.1.0-dev.7: digest: sha256:c9aee15062d84fad0def9a08d6749ff8cfe2b477f61e7ccf8c4c13b6e8a5eae9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:43.819Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:44.162Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:15:44.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T06:15:44.162Z] be20218c9054: Preparing [2023-09-11T06:15:44.162Z] 6e831ab4cc48: Preparing [2023-09-11T06:15:44.162Z] 1c0428afaf50: Preparing [2023-09-11T06:15:44.162Z] 72e4adb478cb: Preparing [2023-09-11T06:15:44.162Z] d2d9d24a8c2a: Preparing [2023-09-11T06:15:44.162Z] be20218c9054: Layer already exists [2023-09-11T06:15:44.162Z] 72e4adb478cb: Layer already exists [2023-09-11T06:15:44.162Z] 6e831ab4cc48: Layer already exists [2023-09-11T06:15:44.162Z] d2d9d24a8c2a: Layer already exists [2023-09-11T06:15:44.162Z] 1c0428afaf50: Layer already exists [2023-09-11T06:15:44.162Z] 1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7: digest: sha256:c9aee15062d84fad0def9a08d6749ff8cfe2b477f61e7ccf8c4c13b6e8a5eae9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:44.509Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:44.844Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-09-11T06:15:44.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-09-11T06:15:44.844Z] be20218c9054: Preparing [2023-09-11T06:15:44.844Z] 6e831ab4cc48: Preparing [2023-09-11T06:15:44.844Z] 1c0428afaf50: Preparing [2023-09-11T06:15:44.844Z] 72e4adb478cb: Preparing [2023-09-11T06:15:44.844Z] d2d9d24a8c2a: Preparing [2023-09-11T06:15:44.844Z] 1c0428afaf50: Layer already exists [2023-09-11T06:15:44.844Z] 6e831ab4cc48: Layer already exists [2023-09-11T06:15:44.844Z] be20218c9054: Layer already exists [2023-09-11T06:15:44.844Z] 72e4adb478cb: Layer already exists [2023-09-11T06:15:44.844Z] d2d9d24a8c2a: Layer already exists [2023-09-11T06:15:44.844Z] main: digest: sha256:c9aee15062d84fad0def9a08d6749ff8cfe2b477f61e7ccf8c4c13b6e8a5eae9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-11T06:15:44.892Z] ===================================================== [Pipeline] echo [2023-09-11T06:15:44.899Z] taggedImages: [2023-09-11T06:15:44.899Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e [2023-09-11T06:15:44.899Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-09-11T06:15:44.899Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.1.0-dev.7 [2023-09-11T06:15:44.899Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:1acbf7f5d5843a7481e353b92dd344f6df368a1e-3.1.0-dev.7 [2023-09-11T06:15:44.899Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:45.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T06:15:45.259Z] [2023-09-11T06:15:45.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:15:45.583Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T06:15:45.583Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-11T06:15:45.583Z] 8998bd30e6a1: Pulling fs layer [2023-09-11T06:15:45.583Z] 04944245beec: Pulling fs layer [2023-09-11T06:15:45.583Z] 699f458cf7ca: Pulling fs layer [2023-09-11T06:15:45.583Z] 765212b225bb: Pulling fs layer [2023-09-11T06:15:45.583Z] f23df028b6ca: Pulling fs layer [2023-09-11T06:15:45.583Z] d65c8cfc05b1: Pulling fs layer [2023-09-11T06:15:45.583Z] 2437ff75d9bd: Pulling fs layer [2023-09-11T06:15:45.583Z] f23df028b6ca: Waiting [2023-09-11T06:15:45.583Z] d65c8cfc05b1: Waiting [2023-09-11T06:15:45.583Z] 2437ff75d9bd: Waiting [2023-09-11T06:15:45.583Z] 765212b225bb: Waiting [2023-09-11T06:15:45.850Z] 04944245beec: Verifying Checksum [2023-09-11T06:15:45.850Z] 04944245beec: Download complete [2023-09-11T06:15:45.850Z] 765212b225bb: Verifying Checksum [2023-09-11T06:15:45.850Z] 765212b225bb: Download complete [2023-09-11T06:15:45.850Z] f23df028b6ca: Verifying Checksum [2023-09-11T06:15:45.850Z] f23df028b6ca: Download complete [2023-09-11T06:15:45.850Z] d65c8cfc05b1: Verifying Checksum [2023-09-11T06:15:45.850Z] d65c8cfc05b1: Download complete [2023-09-11T06:15:45.850Z] 699f458cf7ca: Verifying Checksum [2023-09-11T06:15:45.850Z] 699f458cf7ca: Download complete [2023-09-11T06:15:46.437Z] 8998bd30e6a1: Verifying Checksum [2023-09-11T06:15:46.437Z] 8998bd30e6a1: Download complete [2023-09-11T06:15:48.380Z] 2437ff75d9bd: Verifying Checksum [2023-09-11T06:15:48.380Z] 2437ff75d9bd: Download complete [2023-09-11T06:15:50.974Z] 8998bd30e6a1: Pull complete [2023-09-11T06:15:51.240Z] 04944245beec: Pull complete [2023-09-11T06:15:52.647Z] 699f458cf7ca: Pull complete [2023-09-11T06:15:52.647Z] 765212b225bb: Pull complete [2023-09-11T06:15:53.607Z] f23df028b6ca: Pull complete [2023-09-11T06:15:53.607Z] d65c8cfc05b1: Pull complete [2023-09-11T06:16:08.605Z] 2437ff75d9bd: Pull complete [2023-09-11T06:16:08.605Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-11T06:16:08.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-11T06:16:08.605Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:16:08.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-5779 does not seem to be running inside a container [2023-09-11T06:16:08.851Z] $ 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/121 -v /w/workspace/device-modbus-go/121:/w/workspace/device-modbus-go/121:rw,z -v /w/workspace/device-modbus-go/121@tmp:/w/workspace/device-modbus-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-11T06:16:11.166Z] $ docker top 76fdb47a539b416073180280b7935b6bda01baf8c89783afeeedf2d920953c64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:16:12.000Z] ---> job-cost.sh [2023-09-11T06:16:12.000Z] lf-activate-venv: SKIPPING [2023-09-11T06:16:12.000Z] INFO: No Stack... [2023-09-11T06:16:12.266Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-11T06:16:13.221Z] INFO: Archiving Costs [Pipeline] sh [2023-09-11T06:16:13.535Z] + cat /w/workspace/device-modbus-go/121/archives/cost.csv [2023-09-11T06:16:13.536Z] + cut -d, -f6 [Pipeline] lock [2023-09-11T06:16:13.832Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [2023-09-11T06:16:13.839Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] did not exist. Created. [2023-09-11T06:16:13.839Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T06:16:14.165Z] /w/workspace/device-modbus-go/121@tmp/durable-85c97208/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-11T06:16:14.494Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-11T06:16:14.780Z] Warning: overwriting stash ‘stack-cost’ [2023-09-11T06:16:14.830Z] Stashed 1 file(s) [Pipeline] } [2023-09-11T06:16:14.839Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-11T06:16:14.857Z] $ docker stop --time=1 76fdb47a539b416073180280b7935b6bda01baf8c89783afeeedf2d920953c64 [2023-09-11T06:16:16.330Z] $ docker rm -f --volumes 76fdb47a539b416073180280b7935b6bda01baf8c89783afeeedf2d920953c64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-11T06:16:19.247Z] provisioning config files... [2023-09-11T06:16:19.253Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1288169977580241953tmp [Pipeline] { [Pipeline] sh [2023-09-11T06:16:19.546Z] + set +x [2023-09-11T06:16:19.546Z] + bash -s -- [2023-09-11T06:16:19.546Z] + curl -s https://codecov.io/bash [2023-09-11T06:16:19.546Z] [2023-09-11T06:16:19.546Z] _____ _ [2023-09-11T06:16:19.546Z] / ____| | | [2023-09-11T06:16:19.546Z] | | ___ __| | ___ ___ _____ __ [2023-09-11T06:16:19.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-11T06:16:19.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-11T06:16:19.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-11T06:16:19.546Z] Bash-1.0.6 [2023-09-11T06:16:19.546Z] [2023-09-11T06:16:19.546Z] [2023-09-11T06:16:19.546Z] ==> git version 2.25.1 found [2023-09-11T06:16:19.546Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-11T06:16:19.546Z] Release-Date: 2020-01-08 [2023-09-11T06:16:19.546Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-11T06:16:19.546Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-11T06:16:19.546Z] ==> Jenkins CI detected. [2023-09-11T06:16:19.546Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-09-11T06:16:19.546Z] project root: . [2023-09-11T06:16:19.546Z] --> token set from env [2023-09-11T06:16:19.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-11T06:16:19.546Z] ==> Running gcov in . (disable via -X gcov) [2023-09-11T06:16:19.546Z] ==> Python coveragepy not found [2023-09-11T06:16:19.546Z] ==> Searching for coverage reports in: [2023-09-11T06:16:19.546Z] + . [2023-09-11T06:16:19.546Z] -> Found 1 reports [2023-09-11T06:16:19.546Z] ==> Detecting git/mercurial file structure [2023-09-11T06:16:19.546Z] ==> Reading reports [2023-09-11T06:16:19.546Z] + ./coverage.out bytes=24334 [2023-09-11T06:16:19.546Z] ==> Appending adjustments [2023-09-11T06:16:19.546Z] https://docs.codecov.io/docs/fixing-reports [2023-09-11T06:16:19.806Z] + Found adjustments [2023-09-11T06:16:19.806Z] ==> Gzipping contents [2023-09-11T06:16:19.806Z] 4.0K /tmp/codecov.jcYXDg.gz [2023-09-11T06:16:19.806Z] ==> Uploading reports [2023-09-11T06:16:19.806Z] url: https://codecov.io [2023-09-11T06:16:19.806Z] query: branch=main&commit=1acbf7f5d5843a7481e353b92dd344f6df368a1e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T06:16:19.806Z] -> Pinging Codecov [2023-09-11T06:16:19.806Z] 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=1acbf7f5d5843a7481e353b92dd344f6df368a1e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-11T06:16:19.806Z] -> Uploading to [2023-09-11T06:16:19.806Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-11/55DBCA73C666E3227836607328DD7E49/1acbf7f5d5843a7481e353b92dd344f6df368a1e/22af669b-97c8-44aa-9647-c420f4f18547.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T061619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec267cbe6d7eb8dcd30de2094b55edb469be6f995b91dc4775c9bb1af9b0da6a [2023-09-11T06:16:19.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-11T06:16:19.806Z] Dload Upload Total Spent Left Speed [2023-09-11T06:16:20.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3974 0 0 100 3974 0 19673 --:--:-- --:--:-- --:--:-- 19673 [2023-09-11T06:16:20.065Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] } [2023-09-11T06:16:20.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-11T06:16:20.290Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-11T06:16:20.301Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:16:20.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T06:16:20.595Z] [2023-09-11T06:16:20.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:16:20.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T06:16:20.891Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-11T06:16:20.891Z] df9b9388f04a: Pulling fs layer [2023-09-11T06:16:20.891Z] 52dc419b0ee2: Pulling fs layer [2023-09-11T06:16:20.891Z] 25bc292e5bac: Pulling fs layer [2023-09-11T06:16:20.891Z] 114826534d7a: Pulling fs layer [2023-09-11T06:16:20.891Z] 4657fd5d0bcf: Pulling fs layer [2023-09-11T06:16:20.891Z] 6ad1cebc031e: Pulling fs layer [2023-09-11T06:16:20.891Z] 114826534d7a: Waiting [2023-09-11T06:16:20.891Z] 4657fd5d0bcf: Waiting [2023-09-11T06:16:20.891Z] 8a3aa393b2d8: Pulling fs layer [2023-09-11T06:16:20.891Z] 6ad1cebc031e: Waiting [2023-09-11T06:16:20.891Z] 25bc292e5bac: Verifying Checksum [2023-09-11T06:16:20.891Z] 25bc292e5bac: Download complete [2023-09-11T06:16:20.891Z] 52dc419b0ee2: Download complete [2023-09-11T06:16:20.891Z] df9b9388f04a: Download complete [2023-09-11T06:16:21.160Z] df9b9388f04a: Pull complete [2023-09-11T06:16:21.160Z] 52dc419b0ee2: Pull complete [2023-09-11T06:16:21.160Z] 25bc292e5bac: Pull complete [2023-09-11T06:16:21.420Z] 6ad1cebc031e: Verifying Checksum [2023-09-11T06:16:21.420Z] 6ad1cebc031e: Download complete [2023-09-11T06:16:21.987Z] 8a3aa393b2d8: Verifying Checksum [2023-09-11T06:16:21.987Z] 8a3aa393b2d8: Download complete [2023-09-11T06:16:21.987Z] 114826534d7a: Verifying Checksum [2023-09-11T06:16:21.987Z] 114826534d7a: Download complete [2023-09-11T06:16:25.265Z] 114826534d7a: Pull complete [2023-09-11T06:16:25.265Z] 4657fd5d0bcf: Pull complete [2023-09-11T06:16:25.265Z] 6ad1cebc031e: Pull complete [2023-09-11T06:16:27.794Z] 8a3aa393b2d8: Pull complete [2023-09-11T06:16:27.794Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-11T06:16:27.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-11T06:16:27.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:16:27.870Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:16:27.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-11T06:16:31.285Z] $ docker top 1f932a34dae7bb87fcff1b905cfbe5192abeb54e759290d2415342f74aa1ede7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-11T06:16:31.345Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-09-11T06:16:31.625Z] + set -o pipefail [2023-09-11T06:16:31.625Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/8a6c07a6-e22f-47dc-b7d6-59b8fd33a2cb [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] [2023-09-11T06:16:36.896Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-11T06:16:36.896Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-11T06:16:36.896Z] More details here: https://snyk.co/ue1NS [2023-09-11T06:16:36.896Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-11T06:16:36.896Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-11T06:16:36.911Z] $ docker stop --time=1 1f932a34dae7bb87fcff1b905cfbe5192abeb54e759290d2415342f74aa1ede7 [2023-09-11T06:16:39.880Z] $ docker rm -f --volumes 1f932a34dae7bb87fcff1b905cfbe5192abeb54e759290d2415342f74aa1ede7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-11T06:16:40.575Z] + git log --format=format:%s -1 1acbf7f5d5843a7481e353b92dd344f6df368a1e [Pipeline] sh [2023-09-11T06:16:40.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T06:16:40.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:16:41.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:16:41.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:16:41.245Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:16:41.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T06:16:41.710Z] $ docker top c4579a7bf0ae0d32d1b82eca7c05696c2847fb76fcd39bfe10b7742eab141d36 -eo pid,comm [2023-09-11T06:16:41.751Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T06:16:41.751Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T06:16:41.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T06:16:41.781Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T06:16:41.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T06:16:41.900Z] $ docker exec c4579a7bf0ae0d32d1b82eca7c05696c2847fb76fcd39bfe10b7742eab141d36 ssh-agent [2023-09-11T06:16:41.996Z] SSH_AUTH_SOCK=/tmp/ssh-7FoqX5gW7Z9e/agent.32 [2023-09-11T06:16:41.996Z] SSH_AGENT_PID=38 [2023-09-11T06:16:42.002Z] Running ssh-add (command line suppressed) [2023-09-11T06:16:42.106Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14359982906831648366.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14359982906831648366.key) [2023-09-11T06:16:42.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T06:16:42.400Z] + git semver tag [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,609 [run_tag] DEBUG tag force:False [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,609 [check_head_tag] DEBUG check head tag [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,609 [execute] INFO git cat-file --batch-check [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,613 [execute] INFO git cat-file --batch [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,623 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,623 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,623 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T06:16:42.659Z] 2023-09-11 06:16:42,627 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:16:42.659Z] 3.1.0-dev.7 [Pipeline] } [2023-09-11T06:16:42.671Z] $ docker exec --env ******** --env ******** c4579a7bf0ae0d32d1b82eca7c05696c2847fb76fcd39bfe10b7742eab141d36 ssh-agent -k [2023-09-11T06:16:42.763Z] unset SSH_AUTH_SOCK; [2023-09-11T06:16:42.763Z] unset SSH_AGENT_PID; [2023-09-11T06:16:42.763Z] echo Agent pid 38 killed; [2023-09-11T06:16:42.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T06:16:43.078Z] + git semver [Pipeline] } [2023-09-11T06:16:43.353Z] $ docker stop --time=1 c4579a7bf0ae0d32d1b82eca7c05696c2847fb76fcd39bfe10b7742eab141d36 [2023-09-11T06:16:44.608Z] $ docker rm -f --volumes c4579a7bf0ae0d32d1b82eca7c05696c2847fb76fcd39bfe10b7742eab141d36 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:16:44.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T06:16:44.989Z] [2023-09-11T06:16:44.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:16:45.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T06:16:45.286Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-11T06:16:45.286Z] ab5ef0e58194: Pulling fs layer [2023-09-11T06:16:45.286Z] 9712f1f96733: Pulling fs layer [2023-09-11T06:16:45.286Z] 63f879dbbcfc: Pulling fs layer [2023-09-11T06:16:45.286Z] 0d9ebad4ef96: Pulling fs layer [2023-09-11T06:16:45.286Z] e9a5061849ea: Pulling fs layer [2023-09-11T06:16:45.286Z] d747dcd14b5f: Pulling fs layer [2023-09-11T06:16:45.286Z] 2de7ff778b66: Pulling fs layer [2023-09-11T06:16:45.286Z] d747dcd14b5f: Waiting [2023-09-11T06:16:45.286Z] 2de7ff778b66: Waiting [2023-09-11T06:16:45.286Z] e9a5061849ea: Waiting [2023-09-11T06:16:45.286Z] 0d9ebad4ef96: Waiting [2023-09-11T06:16:45.286Z] 9712f1f96733: Verifying Checksum [2023-09-11T06:16:45.286Z] 9712f1f96733: Download complete [2023-09-11T06:16:45.853Z] 63f879dbbcfc: Verifying Checksum [2023-09-11T06:16:45.853Z] 63f879dbbcfc: Download complete [2023-09-11T06:16:45.853Z] ab5ef0e58194: Verifying Checksum [2023-09-11T06:16:45.853Z] ab5ef0e58194: Download complete [2023-09-11T06:16:45.853Z] d747dcd14b5f: Verifying Checksum [2023-09-11T06:16:45.853Z] d747dcd14b5f: Download complete [2023-09-11T06:16:45.853Z] e9a5061849ea: Verifying Checksum [2023-09-11T06:16:46.110Z] 0d9ebad4ef96: Verifying Checksum [2023-09-11T06:16:46.110Z] 0d9ebad4ef96: Download complete [2023-09-11T06:16:46.110Z] 2de7ff778b66: Download complete [2023-09-11T06:16:48.683Z] ab5ef0e58194: Pull complete [2023-09-11T06:16:48.683Z] 9712f1f96733: Pull complete [2023-09-11T06:16:48.942Z] 63f879dbbcfc: Pull complete [2023-09-11T06:16:52.245Z] 0d9ebad4ef96: Pull complete [2023-09-11T06:16:52.503Z] e9a5061849ea: Pull complete [2023-09-11T06:16:52.503Z] d747dcd14b5f: Pull complete [2023-09-11T06:16:53.437Z] 2de7ff778b66: Pull complete [2023-09-11T06:16:53.437Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-11T06:16:53.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-11T06:16:53.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:16:53.510Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:16:53.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-11T06:16:57.870Z] $ docker top d76619472eb67b4ab11c2f85a1497fcb8b3463826fb9b26e2290630529deab63 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:16:57.931Z] provisioning config files... [2023-09-11T06:16:57.937Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6397738590608346064tmp [2023-09-11T06:16:57.946Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12296316919881950551tmp [2023-09-11T06:16:57.955Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5242478305043267329tmp [Pipeline] { [Pipeline] echo [2023-09-11T06:16:57.970Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:16:58.250Z] ---> sigul-configuration.sh [2023-09-11T06:16:58.250Z] gpg: directory `/root/.gnupg' created [2023-09-11T06:16:58.250Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-11T06:16:58.250Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-11T06:16:58.250Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-11T06:16:58.250Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-11T06:16:58.250Z] gpg: CAST5 encrypted data [2023-09-11T06:16:58.250Z] gpg: encrypted with 1 passphrase [2023-09-11T06:16:58.250Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-11T06:16:58.539Z] + mkdir /home/jenkins [2023-09-11T06:16:58.539Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-11T06:16:58.825Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-11T06:16:58.833Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:16:59.117Z] ---> sigul-install.sh [2023-09-11T06:16:59.117Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-11T06:16:59.405Z] + git tag --list [2023-09-11T06:16:59.405Z] 0.7.1 [2023-09-11T06:16:59.405Z] v1.0.0 [2023-09-11T06:16:59.405Z] v1.1.0 [2023-09-11T06:16:59.405Z] v1.1.1 [2023-09-11T06:16:59.405Z] v1.2.2 [2023-09-11T06:16:59.405Z] v1.3.0 [2023-09-11T06:16:59.405Z] v1.3.1 [2023-09-11T06:16:59.406Z] v2.0.0 [2023-09-11T06:16:59.406Z] v2.1.0 [2023-09-11T06:16:59.406Z] v2.1.1 [2023-09-11T06:16:59.406Z] v2.2.0 [2023-09-11T06:16:59.406Z] v2.3.0 [2023-09-11T06:16:59.406Z] v3.0 [2023-09-11T06:16:59.406Z] v3.0.0 [2023-09-11T06:16:59.406Z] v3.1.0-dev.1 [2023-09-11T06:16:59.406Z] v3.1.0-dev.2 [2023-09-11T06:16:59.406Z] v3.1.0-dev.3 [2023-09-11T06:16:59.406Z] v3.1.0-dev.4 [2023-09-11T06:16:59.406Z] v3.1.0-dev.5 [2023-09-11T06:16:59.406Z] v3.1.0-dev.6 [2023-09-11T06:16:59.406Z] v3.1.0-dev.7 [Pipeline] sh [2023-09-11T06:16:59.687Z] + lftools sign git-tag v3.1.0-dev.7 [2023-09-11T06:17:00.256Z] Signing Git tag with Sigul... [2023-09-11T06:17:00.256Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-09-11T06:17:00.524Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:00.808Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-11T06:17:00.816Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-11T06:17:00.837Z] $ docker stop --time=1 d76619472eb67b4ab11c2f85a1497fcb8b3463826fb9b26e2290630529deab63 [2023-09-11T06:17:02.122Z] $ docker rm -f --volumes d76619472eb67b4ab11c2f85a1497fcb8b3463826fb9b26e2290630529deab63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-11T06:17:02.540Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T06:17:02.540Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:17:02.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:17:02.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:17:02.915Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:17:02.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T06:17:03.309Z] $ docker top 0d2a70e3a80f303403b5b50b77bc07a7736ef9a750904a1244ffcf13466421d0 -eo pid,comm [2023-09-11T06:17:03.353Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T06:17:03.353Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T06:17:03.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T06:17:03.385Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T06:17:03.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T06:17:03.502Z] $ docker exec 0d2a70e3a80f303403b5b50b77bc07a7736ef9a750904a1244ffcf13466421d0 ssh-agent [2023-09-11T06:17:03.619Z] SSH_AUTH_SOCK=/tmp/ssh-8tCN0RgqqMP1/agent.31 [2023-09-11T06:17:03.619Z] SSH_AGENT_PID=37 [2023-09-11T06:17:03.623Z] Running ssh-add (command line suppressed) [2023-09-11T06:17:03.746Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15029775665279567806.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_15029775665279567806.key) [2023-09-11T06:17:03.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T06:17:04.037Z] + git semver bump pre [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,230 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,230 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,231 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,231 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,231 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,231 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,233 [execute] INFO git cat-file --batch-check [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,240 [execute] INFO git cat-file --batch [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T06:17:04.298Z] 2023-09-11 06:17:04,245 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:17:04.298Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T06:17:04.310Z] $ docker exec --env ******** --env ******** 0d2a70e3a80f303403b5b50b77bc07a7736ef9a750904a1244ffcf13466421d0 ssh-agent -k [2023-09-11T06:17:04.412Z] unset SSH_AUTH_SOCK; [2023-09-11T06:17:04.413Z] unset SSH_AGENT_PID; [2023-09-11T06:17:04.413Z] echo Agent pid 37 killed; [2023-09-11T06:17:04.418Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T06:17:04.712Z] + git semver [Pipeline] } [2023-09-11T06:17:04.988Z] $ docker stop --time=1 0d2a70e3a80f303403b5b50b77bc07a7736ef9a750904a1244ffcf13466421d0 [2023-09-11T06:17:06.259Z] $ docker rm -f --volumes 0d2a70e3a80f303403b5b50b77bc07a7736ef9a750904a1244ffcf13466421d0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-11T06:17:06.595Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-11T06:17:06.595Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:17:06.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-11T06:17:06.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:17:06.964Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:17:06.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-11T06:17:07.309Z] $ docker top 060e493dc26a5913d633249885ab6b25e33ccf100f8b030b54348b8845e8ca71 -eo pid,comm [2023-09-11T06:17:07.351Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-11T06:17:07.351Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-11T06:17:07.387Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-11T06:17:07.387Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-11T06:17:07.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-11T06:17:07.494Z] $ docker exec 060e493dc26a5913d633249885ab6b25e33ccf100f8b030b54348b8845e8ca71 ssh-agent [2023-09-11T06:17:07.588Z] SSH_AUTH_SOCK=/tmp/ssh-5q4HuePFJZaX/agent.32 [2023-09-11T06:17:07.588Z] SSH_AGENT_PID=38 [2023-09-11T06:17:07.593Z] Running ssh-add (command line suppressed) [2023-09-11T06:17:07.696Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17888933362946323405.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17888933362946323405.key) [2023-09-11T06:17:07.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-11T06:17:07.988Z] + git semver push [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,162 [run_push] DEBUG push [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,163 [execute] INFO git cat-file --batch-check [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,167 [execute] INFO git rev-list a23e092e8e843c294705d5617f144a17d556cee9 -- [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,167 [execute] DEBUG Popen(['git', 'rev-list', 'a23e092e8e843c294705d5617f144a17d556cee9', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,175 [execute] INFO git fetch -v origin [2023-09-11T06:17:08.247Z] 2023-09-11 06:17:08,175 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-11T06:17:08.815Z] 2023-09-11 06:17:08,640 [run_push] DEBUG no remote changes detected [2023-09-11T06:17:08.815Z] 2023-09-11 06:17:08,640 [execute] INFO git push origin semver [2023-09-11T06:17:08.815Z] 2023-09-11 06:17:08,640 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-11T06:17:09.383Z] 2023-09-11 06:17:09,376 [run_push] DEBUG push all version tags [2023-09-11T06:17:09.383Z] 2023-09-11 06:17:09,376 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-11T06:17:09.383Z] 2023-09-11 06:17:09,377 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-11T06:17:10.321Z] 2023-09-11 06:17:10,095 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-09-11T06:17:10.321Z] 3.1.0-dev.8 [Pipeline] } [2023-09-11T06:17:10.334Z] $ docker exec --env ******** --env ******** 060e493dc26a5913d633249885ab6b25e33ccf100f8b030b54348b8845e8ca71 ssh-agent -k [2023-09-11T06:17:10.434Z] unset SSH_AUTH_SOCK; [2023-09-11T06:17:10.434Z] unset SSH_AGENT_PID; [2023-09-11T06:17:10.434Z] echo Agent pid 38 killed; [2023-09-11T06:17:10.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-11T06:17:10.746Z] + git semver [Pipeline] } [2023-09-11T06:17:11.021Z] $ docker stop --time=1 060e493dc26a5913d633249885ab6b25e33ccf100f8b030b54348b8845e8ca71 [2023-09-11T06:17:12.302Z] $ docker rm -f --volumes 060e493dc26a5913d633249885ab6b25e33ccf100f8b030b54348b8845e8ca71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-11T06:17:12.867Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-09-11T06:17:12.867Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T06:17:12.867Z] total 16 [2023-09-11T06:17:12.867Z] drwxr-xr-x 3 root root 4096 Sep 11 06:08 . [2023-09-11T06:17:12.867Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 06:16 .. [2023-09-11T06:17:12.867Z] drwxr-xr-x 2 root root 4096 Sep 11 06:08 cost [2023-09-11T06:17:12.867Z] -rw-r--r-- 1 root root 88 Sep 11 06:08 cost.csv [2023-09-11T06:17:12.867Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T06:17:12.867Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-09-11T06:17:12.867Z] total 16 [2023-09-11T06:17:12.867Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 06:08 . [2023-09-11T06:17:12.867Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 06:16 .. [2023-09-11T06:17:12.867Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 06:08 cost [2023-09-11T06:17:12.867Z] -rw-r--r-- 1 jenkins jenkins 88 Sep 11 06:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:13.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:13.891Z] ---> package-listing.sh [2023-09-11T06:17:13.891Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-11T06:17:13.891Z] ++ facter osfamily [2023-09-11T06:17:13.891Z] + OS_FAMILY=debian [2023-09-11T06:17:13.891Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-09-11T06:17:13.891Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-11T06:17:13.891Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-11T06:17:13.891Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-11T06:17:13.891Z] + PACKAGES=/tmp/packages_start.txt [2023-09-11T06:17:13.891Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-11T06:17:13.891Z] + PACKAGES=/tmp/packages_end.txt [2023-09-11T06:17:13.891Z] + case "${OS_FAMILY}" in [2023-09-11T06:17:13.891Z] + dpkg -l [2023-09-11T06:17:13.891Z] + grep '^ii' [2023-09-11T06:17:14.150Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-11T06:17:14.150Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-11T06:17:14.150Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-11T06:17:14.150Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-09-11T06:17:14.150Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-09-11T06:17:14.150Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2023-09-11T06:17:14.158Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-11T06:17:14.436Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-11T06:17:14.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-11T06:17:14.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-11T06:17:15.056Z] prd-ubuntu20.04-docker-8c-8g-5778 does not seem to be running inside a container [2023-09-11T06:17:15.089Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-11T06:17:15.294Z] $ docker top e9b714d85ff75a468e5a71b17b70f2777849851144a0fffe69869930bda2f36a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-11T06:17:15.617Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-11T06:17:15.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-11T06:17:16.187Z] + ls /var/log/sa-host [2023-09-11T06:17:16.187Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-11T06:17:16.338Z] provisioning config files... [2023-09-11T06:17:16.352Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9060713540547814233tmp [Pipeline] { [Pipeline] echo [2023-09-11T06:17:16.366Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:16.644Z] ---> create-netrc.sh [Pipeline] } [2023-09-11T06:17:16.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:16.969Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-11T06:17:16.977Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:17.261Z] ---> sudo-logs.sh [2023-09-11T06:17:17.261Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-11T06:17:17.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:17.564Z] ---> job-cost.sh [2023-09-11T06:17:17.564Z] lf-activate-venv: SKIPPING [2023-09-11T06:17:17.564Z] DEBUG: total: 0.2199999988079071 [2023-09-11T06:17:17.564Z] INFO: Retrieving Stack Cost... [2023-09-11T06:17:18.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-11T06:17:18.390Z] INFO: Archiving Costs [Pipeline] echo [2023-09-11T06:17:18.400Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-11T06:17:18.682Z] ---> logs-deploy.sh [2023-09-11T06:17:18.682Z] lf-activate-venv: SKIPPING [2023-09-11T06:17:18.682Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/121 [2023-09-11T06:17:18.682Z] INFO: archiving workspace using pattern(s): [2023-09-11T06:17:19.620Z] Archives upload complete. [2023-09-11T06:17:19.620Z] INFO: archiving logs to Nexus