Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 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-ssh14255297631597245086.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8817922744837537622.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3587455025396754600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8003929037299450821.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-ssh13879679377365973060.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14461’ Running on prd-ubuntu20.04-docker-8c-8g-14465 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 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 (main) Commit message: "Merge pull request #472 from jumpingliu/ignore-go-mods" > 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 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 > git rev-list --no-walk 9b66715b8b241736f2c193df6e5011bc294930f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T05:32:17.630Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T05:32:17.689Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T05:32:17.705Z] ========================================================= [2023-05-08T05:32:17.705Z] EdgeX Global Pipelines Version Info [2023-05-08T05:32:17.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:32:18.412Z] ------------------- [2023-05-08T05:32:18.412Z] stable info: [2023-05-08T05:32:18.412Z] ------------------- [2023-05-08T05:32:18.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T05:32:18.412Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T05:32:18.412Z] Message: update stable to v1.0.249 [2023-05-08T05:32:18.982Z] ------------------- [2023-05-08T05:32:18.982Z] experimental info: [2023-05-08T05:32:18.982Z] ------------------- [2023-05-08T05:32:18.982Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T05:32:18.982Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T05:32:18.982Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T05:32:19.297Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-08T05:32:19.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-08T05:32:19.316Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T05:32:19.332Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T05:32:19.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T05:32:19.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T05:32:19.377Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T05:32:19.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T05:32:19.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T05:32:19.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T05:32:19.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T05:32:19.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-08T05:32:19.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T05:32:19.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T05:32:19.472Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T05:32:19.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T05:32:19.491Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T05:32:19.500Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T05:32:19.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T05:32:19.520Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T05:32:19.540Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T05:32:19.559Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T05:32:19.568Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T05:32:19.576Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T05:32:19.585Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T05:32:19.593Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T05:32:19.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T05:32:19.610Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-08T05:32:19.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-08T05:32:19.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-08T05:32:19.639Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo [2023-05-08T05:32:19.651Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2ba59d [Pipeline] echo [2023-05-08T05:32:19.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:32:19.701Z] provisioning config files... [2023-05-08T05:32:19.715Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config5874015668131314741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:32:20.013Z] ---> docker-login.sh [2023-05-08T05:32:20.013Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:32:20.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:20.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:20.275Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:20.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:20.275Z] [2023-05-08T05:32:20.275Z] Login Succeeded [2023-05-08T05:32:20.275Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:32:20.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:20.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:20.275Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:20.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:20.275Z] [2023-05-08T05:32:20.275Z] Login Succeeded [2023-05-08T05:32:20.275Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:32:20.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:20.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:20.534Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:20.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:20.534Z] [2023-05-08T05:32:20.534Z] Login Succeeded [2023-05-08T05:32:20.534Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:32:20.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:20.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:20.534Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:20.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:20.534Z] [2023-05-08T05:32:20.534Z] Login Succeeded [2023-05-08T05:32:20.534Z] docker.io [2023-05-08T05:32:20.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:20.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:20.795Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:20.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:20.795Z] [2023-05-08T05:32:20.795Z] Login Succeeded [2023-05-08T05:32:20.795Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:32:20.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T05:32:21.167Z] + git rev-list -1 --merges b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9~1..b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo [2023-05-08T05:32:21.205Z] -----------> git rev-list -1 --merges b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9~1..b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:32:21.205Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [false] [Pipeline] sh [2023-05-08T05:32:21.492Z] + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo [2023-05-08T05:32:21.505Z] ========================================================= [2023-05-08T05:32:21.505Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T05:32:21.505Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:32:21.844Z] + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] echo [2023-05-08T05:32:21.856Z] [semverPrep] GIT_COMMIT: b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9, Commit Message: Merge pull request #472 from jumpingliu/ignore-go-mods [Pipeline] echo [2023-05-08T05:32:21.865Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T05:32:22.201Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:32:22.201Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T05:32:22.201Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T05:32:22.201Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T05:32:22.201Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T05:32:22.201Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T05:32:22.201Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:32:22.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:32:22.540Z] [2023-05-08T05:32:22.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:32:22.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:32:22.838Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T05:32:22.838Z] b85a868b505f: Pulling fs layer [2023-05-08T05:32:22.838Z] e2be974225ed: Pulling fs layer [2023-05-08T05:32:22.838Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T05:32:22.838Z] 988bab9f4d93: Pulling fs layer [2023-05-08T05:32:22.838Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T05:32:22.838Z] eaf3925da568: Pulling fs layer [2023-05-08T05:32:22.838Z] bab4dde63d76: Pulling fs layer [2023-05-08T05:32:22.838Z] bde34c3a00c8: Pulling fs layer [2023-05-08T05:32:22.838Z] b352a97aabf1: Pulling fs layer [2023-05-08T05:32:22.838Z] 4872d77fe225: Pulling fs layer [2023-05-08T05:32:22.838Z] 5851b861e8e6: Pulling fs layer [2023-05-08T05:32:22.838Z] bde34c3a00c8: Waiting [2023-05-08T05:32:22.838Z] 988bab9f4d93: Waiting [2023-05-08T05:32:22.838Z] b352a97aabf1: Waiting [2023-05-08T05:32:22.838Z] 1469e6f7b9e6: Waiting [2023-05-08T05:32:22.838Z] 4872d77fe225: Waiting [2023-05-08T05:32:22.838Z] eaf3925da568: Waiting [2023-05-08T05:32:22.838Z] 5851b861e8e6: Waiting [2023-05-08T05:32:22.838Z] bab4dde63d76: Waiting [2023-05-08T05:32:22.838Z] e2be974225ed: Verifying Checksum [2023-05-08T05:32:22.838Z] e2be974225ed: Download complete [2023-05-08T05:32:22.838Z] 988bab9f4d93: Verifying Checksum [2023-05-08T05:32:22.838Z] 988bab9f4d93: Download complete [2023-05-08T05:32:22.838Z] 1469e6f7b9e6: Download complete [2023-05-08T05:32:22.838Z] eaf3925da568: Verifying Checksum [2023-05-08T05:32:22.838Z] eaf3925da568: Download complete [2023-05-08T05:32:22.838Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T05:32:22.838Z] 339a4e72a1f5: Download complete [2023-05-08T05:32:23.096Z] bde34c3a00c8: Verifying Checksum [2023-05-08T05:32:23.096Z] bde34c3a00c8: Download complete [2023-05-08T05:32:23.096Z] b352a97aabf1: Download complete [2023-05-08T05:32:23.096Z] 4872d77fe225: Verifying Checksum [2023-05-08T05:32:23.096Z] 4872d77fe225: Download complete [2023-05-08T05:32:23.096Z] 5851b861e8e6: Download complete [2023-05-08T05:32:23.096Z] b85a868b505f: Verifying Checksum [2023-05-08T05:32:23.096Z] b85a868b505f: Download complete [2023-05-08T05:32:23.354Z] bab4dde63d76: Verifying Checksum [2023-05-08T05:32:23.354Z] bab4dde63d76: Download complete [2023-05-08T05:32:24.288Z] b85a868b505f: Pull complete [2023-05-08T05:32:24.288Z] e2be974225ed: Pull complete [2023-05-08T05:32:24.856Z] 339a4e72a1f5: Pull complete [2023-05-08T05:32:24.856Z] 988bab9f4d93: Pull complete [2023-05-08T05:32:25.114Z] 1469e6f7b9e6: Pull complete [2023-05-08T05:32:25.372Z] eaf3925da568: Pull complete [2023-05-08T05:32:27.272Z] bab4dde63d76: Pull complete [2023-05-08T05:32:27.272Z] bde34c3a00c8: Pull complete [2023-05-08T05:32:27.272Z] b352a97aabf1: Pull complete [2023-05-08T05:32:27.272Z] 4872d77fe225: Pull complete [2023-05-08T05:32:27.272Z] 5851b861e8e6: Pull complete [2023-05-08T05:32:27.272Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T05:32:27.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:32:27.272Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:32:27.369Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:32:27.399Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:32:29.377Z] $ docker top e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 -eo pid,comm [2023-05-08T05:32:29.429Z] 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-05-08T05:32:29.429Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:32:29.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:32:29.470Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:32:29.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:32:29.585Z] $ docker exec e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent [2023-05-08T05:32:29.693Z] SSH_AUTH_SOCK=/tmp/ssh-Os3LBsLgFha5/agent.31 [2023-05-08T05:32:29.693Z] SSH_AGENT_PID=37 [2023-05-08T05:32:29.700Z] Running ssh-add (command line suppressed) [2023-05-08T05:32:29.808Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4790712627201411141.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4790712627201411141.key) [2023-05-08T05:32:29.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:32:30.105Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T05:32:30.123Z] $ docker exec --env ******** --env ******** e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent -k [2023-05-08T05:32:30.226Z] unset SSH_AUTH_SOCK; [2023-05-08T05:32:30.226Z] unset SSH_AGENT_PID; [2023-05-08T05:32:30.226Z] echo Agent pid 37 killed; [2023-05-08T05:32:30.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T05:32:30.257Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:32:30.257Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:32:30.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:32:30.374Z] $ docker exec e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent [2023-05-08T05:32:30.477Z] SSH_AUTH_SOCK=/tmp/ssh-H7oFLa2hxDZo/agent.69 [2023-05-08T05:32:30.477Z] SSH_AGENT_PID=75 [2023-05-08T05:32:30.482Z] Running ssh-add (command line suppressed) [2023-05-08T05:32:30.585Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9305554119020106595.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9305554119020106595.key) [2023-05-08T05:32:30.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:32:30.881Z] + git semver init [2023-05-08T05:32:31.140Z] 2023-05-08 05:32:31,064 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T05:32:31.140Z] 2023-05-08 05:32:31,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-08T05:32:31.140Z] 2023-05-08 05:32:31,065 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-08T05:32:31.140Z] 2023-05-08 05:32:31,066 [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-05-08T05:32:32.079Z] 2023-05-08 05:32:31,831 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-08T05:32:32.079Z] 2023-05-08 05:32:31,832 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-08T05:32:32.079Z] 2023-05-08 05:32:31,832 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:32:32.079Z] 2023-05-08 05:32:31,832 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:32:32.079Z] 3.0.0-dev.35 [Pipeline] } [2023-05-08T05:32:32.092Z] $ docker exec --env ******** --env ******** e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 ssh-agent -k [2023-05-08T05:32:32.188Z] unset SSH_AUTH_SOCK; [2023-05-08T05:32:32.188Z] unset SSH_AGENT_PID; [2023-05-08T05:32:32.189Z] echo Agent pid 75 killed; [2023-05-08T05:32:32.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:32:32.517Z] + git semver [Pipeline] } [2023-05-08T05:32:32.797Z] $ docker stop --time=1 e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 [2023-05-08T05:32:34.133Z] $ docker rm -f --volumes e6539f0141593ffb292424808e070c9b37cca2fcaab27dbeac7ad98b1a2f2404 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:32:34.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T05:32:34.676Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T05:32:34.680Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.35 [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-05-08T05:32:34.837Z] provisioning config files... [2023-05-08T05:32:34.846Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6156508349003653219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:32:35.142Z] ---> docker-login.sh [2023-05-08T05:32:35.142Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:32:35.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:35.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:35.142Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:35.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:35.142Z] [2023-05-08T05:32:35.142Z] Login Succeeded [2023-05-08T05:32:35.142Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:32:35.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:35.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:35.142Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:35.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:35.142Z] [2023-05-08T05:32:35.142Z] Login Succeeded [2023-05-08T05:32:35.142Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:32:35.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:35.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:35.401Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:35.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:35.401Z] [2023-05-08T05:32:35.401Z] Login Succeeded [2023-05-08T05:32:35.401Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:32:35.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:35.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:35.401Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:35.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:35.401Z] [2023-05-08T05:32:35.401Z] Login Succeeded [2023-05-08T05:32:35.401Z] docker.io [2023-05-08T05:32:35.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:32:35.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:32:35.661Z] Configure a credential helper to remove this warning. See [2023-05-08T05:32:35.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:32:35.661Z] [2023-05-08T05:32:35.661Z] Login Succeeded [2023-05-08T05:32:35.661Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:32:35.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T05:32:35.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:32:35.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:32:35.744Z] ========================================================= [2023-05-08T05:32:35.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T05:32:35.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:32:36.062Z] + 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-05-08T05:32:36.062Z] Sending build context to Docker daemon 6.467MB [2023-05-08T05:32:36.062Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:32:36.062Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T05:32:36.062Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T05:32:36.062Z] f56be85fc22e: Pulling fs layer [2023-05-08T05:32:36.062Z] 85791d961cd3: Pulling fs layer [2023-05-08T05:32:36.062Z] d694b5ae8c79: Pulling fs layer [2023-05-08T05:32:36.062Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T05:32:36.062Z] 4d19c01a9841: Pulling fs layer [2023-05-08T05:32:36.062Z] 9325e15d5711: Pulling fs layer [2023-05-08T05:32:36.062Z] 556b6ee489ea: Pulling fs layer [2023-05-08T05:32:36.062Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T05:32:36.062Z] 9f32a84ed3da: Waiting [2023-05-08T05:32:36.062Z] 4d19c01a9841: Waiting [2023-05-08T05:32:36.062Z] 9325e15d5711: Waiting [2023-05-08T05:32:36.062Z] 556b6ee489ea: Waiting [2023-05-08T05:32:36.062Z] c5a4b2cf53e6: Waiting [2023-05-08T05:32:36.062Z] 85791d961cd3: Download complete [2023-05-08T05:32:36.062Z] 9f32a84ed3da: Download complete [2023-05-08T05:32:36.062Z] 4d19c01a9841: Verifying Checksum [2023-05-08T05:32:36.062Z] 4d19c01a9841: Download complete [2023-05-08T05:32:36.322Z] f56be85fc22e: Download complete [2023-05-08T05:32:36.322Z] 9325e15d5711: Verifying Checksum [2023-05-08T05:32:36.322Z] 9325e15d5711: Download complete [2023-05-08T05:32:36.322Z] f56be85fc22e: Pull complete [2023-05-08T05:32:36.583Z] 85791d961cd3: Pull complete [2023-05-08T05:32:36.583Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T05:32:36.583Z] c5a4b2cf53e6: Download complete [2023-05-08T05:32:36.842Z] d694b5ae8c79: Verifying Checksum [2023-05-08T05:32:36.842Z] d694b5ae8c79: Download complete [2023-05-08T05:32:37.100Z] 556b6ee489ea: Verifying Checksum [2023-05-08T05:32:37.100Z] 556b6ee489ea: Download complete [2023-05-08T05:32:40.393Z] d694b5ae8c79: Pull complete [2023-05-08T05:32:40.393Z] 9f32a84ed3da: Pull complete [2023-05-08T05:32:40.393Z] 4d19c01a9841: Pull complete [2023-05-08T05:32:40.393Z] 9325e15d5711: Pull complete [2023-05-08T05:32:42.293Z] 556b6ee489ea: Pull complete [2023-05-08T05:32:43.227Z] c5a4b2cf53e6: Pull complete [2023-05-08T05:32:43.227Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T05:32:43.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T05:32:43.228Z] ---> c4be618373d6 [2023-05-08T05:32:43.228Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:32:46.516Z] ---> Running in 8a9b2b3945a1 [2023-05-08T05:32:46.516Z] Removing intermediate container 8a9b2b3945a1 [2023-05-08T05:32:46.516Z] ---> c13de420ddce [2023-05-08T05:32:46.516Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:32:46.516Z] ---> Running in 50179c2986b3 [2023-05-08T05:32:46.516Z] Removing intermediate container 50179c2986b3 [2023-05-08T05:32:46.516Z] ---> 8aa8db482e12 [2023-05-08T05:32:46.516Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-08T05:32:46.516Z] ---> Running in 845ee77435b8 [2023-05-08T05:32:46.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:32:46.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:32:46.775Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-08T05:32:46.775Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-08T05:32:46.775Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-08T05:32:46.775Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:32:46.775Z] OK: 270 MiB in 61 packages [2023-05-08T05:32:47.343Z] Removing intermediate container 845ee77435b8 [2023-05-08T05:32:47.343Z] ---> 53f20fa6d491 [2023-05-08T05:32:47.343Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-08T05:32:47.343Z] ---> Running in c9447fe6175e [2023-05-08T05:32:47.343Z] Removing intermediate container c9447fe6175e [2023-05-08T05:32:47.343Z] ---> 5d66162dc3c4 [2023-05-08T05:32:47.343Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T05:32:47.602Z] ---> 20d4a89187c9 [2023-05-08T05:32:47.602Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:32:47.602Z] ---> Running in ec33c83b077e [2023-05-08T05:32:49.790Z] Still waiting to schedule task [2023-05-08T05:32:49.791Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14463’ [2023-05-08T05:33:09.548Z] Removing intermediate container ec33c83b077e [2023-05-08T05:33:09.548Z] ---> 566bc1d3cd1f [2023-05-08T05:33:09.548Z] Step 9/10 : COPY . . [2023-05-08T05:33:09.548Z] ---> 4e23da670ccc [2023-05-08T05:33:09.548Z] Step 10/10 : RUN ${MAKE} [2023-05-08T05:33:09.548Z] ---> Running in 46326ba41fd4 [2023-05-08T05:33:09.548Z] noop [2023-05-08T05:33:09.548Z] Removing intermediate container 46326ba41fd4 [2023-05-08T05:33:09.548Z] ---> d2eb1293931a [2023-05-08T05:33:09.548Z] Successfully built d2eb1293931a [2023-05-08T05:33:09.548Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:09.866Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:33:09.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:33:09.939Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:33:09.972Z] $ 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 ******** ci-base-image-x86_64 cat [2023-05-08T05:33:10.266Z] $ docker top 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:33:10.605Z] + go version [2023-05-08T05:33:10.605Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T05:33:10.617Z] $ docker stop --time=1 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 [2023-05-08T05:33:11.845Z] $ docker rm -f --volumes 270d78f2201a6c931e9da6d2cca1df627e4a272f4c3fcef5b229633b44cef7a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:12.245Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:33:12.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:33:12.313Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:33:12.345Z] $ 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 ******** ci-base-image-x86_64 cat [2023-05-08T05:33:12.653Z] $ docker top e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:33:12.995Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:33:13.287Z] + make test [2023-05-08T05:33:13.287Z] go test ./... -coverprofile=coverage.out [2023-05-08T05:33:18.555Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-08T05:33:28.524Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-08T05:33:28.524Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.4% of statements [2023-05-08T05:33:33.794Z] go vet ./... [2023-05-08T05:33:37.084Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:33:37.084Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:33:37.084Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:33:37.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:33:37.113Z] $ docker stop --time=1 e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 [2023-05-08T05:33:39.693Z] $ docker rm -f --volumes e2e776b75e2f174e135fa953e942bde14680efb3010f4d9a98d88ca33b517bc0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:33:40.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:33:40.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T05:33:40.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:33:40.920Z] + ls -al . [2023-05-08T05:33:40.920Z] total 180 [2023-05-08T05:33:40.920Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:33 . [2023-05-08T05:33:40.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 .. [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:32 .dockerignore [2023-05-08T05:33:40.920Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:32 .git [2023-05-08T05:33:40.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 .github [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 331 May 8 05:32 .gitignore [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:32 .golangci.yml [2023-05-08T05:33:40.920Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:32 .semver [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 8 05:32 Attribution.txt [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 8 05:32 CHANGELOG.md [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 8 05:32 Dockerfile [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:32 GOVERNANCE.md [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 05:32 Jenkinsfile [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:32 LICENSE [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 8 05:32 Makefile [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 05:32 OWNERS.md [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 8 05:32 README.md [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION [2023-05-08T05:33:40.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 bin [2023-05-08T05:33:40.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 cmd [2023-05-08T05:33:40.920Z] -rw-r--r-- 1 jenkins jenkins 24160 May 8 05:33 coverage.out [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 8 05:32 go.mod [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 8 05:32 go.sum [2023-05-08T05:33:40.920Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 internal [2023-05-08T05:33:40.920Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 simulator [2023-05-08T05:33:40.920Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 snap [2023-05-08T05:33:40.920Z] -rw-rw-r-- 1 jenkins jenkins 229 May 8 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:41.231Z] + 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 --label arch=amd64 --label version=3.0.0-dev.35 . [2023-05-08T05:33:41.231Z] Sending build context to Docker daemon 6.492MB [2023-05-08T05:33:41.231Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:33:41.231Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-08T05:33:41.231Z] ---> d2eb1293931a [2023-05-08T05:33:41.231Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:33:41.231Z] ---> Running in c5f5af9bd83d [2023-05-08T05:33:41.490Z] Removing intermediate container c5f5af9bd83d [2023-05-08T05:33:41.490Z] ---> 8b31ad593f08 [2023-05-08T05:33:41.490Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:33:41.490Z] ---> Running in 602c9f07e8c6 [2023-05-08T05:33:41.490Z] Removing intermediate container 602c9f07e8c6 [2023-05-08T05:33:41.490Z] ---> 81f90b1965af [2023-05-08T05:33:41.490Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-08T05:33:41.490Z] ---> Running in 91d4a0f01507 [2023-05-08T05:33:41.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:33:42.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:33:42.008Z] OK: 270 MiB in 61 packages [2023-05-08T05:33:42.267Z] Removing intermediate container 91d4a0f01507 [2023-05-08T05:33:42.267Z] ---> 0dbb4a77faf0 [2023-05-08T05:33:42.267Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-08T05:33:42.267Z] ---> Running in 9bb47e844c71 [2023-05-08T05:33:42.526Z] Removing intermediate container 9bb47e844c71 [2023-05-08T05:33:42.526Z] ---> 890329cbe926 [2023-05-08T05:33:42.526Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-08T05:33:42.526Z] ---> 4159f4ac93b4 [2023-05-08T05:33:42.526Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:33:42.526Z] ---> Running in 71609608513f [2023-05-08T05:33:43.467Z] Removing intermediate container 71609608513f [2023-05-08T05:33:43.467Z] ---> 215438845ea6 [2023-05-08T05:33:43.467Z] Step 9/22 : COPY . . [2023-05-08T05:33:43.769Z] ---> 759601afa6f7 [2023-05-08T05:33:43.769Z] Step 10/22 : RUN ${MAKE} [2023-05-08T05:33:43.769Z] ---> Running in 09278e7d2e9d [2023-05-08T05:33:43.769Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-08T05:34:01.969Z] Removing intermediate container 09278e7d2e9d [2023-05-08T05:34:01.969Z] ---> 51f76651aaef [2023-05-08T05:34:01.969Z] Step 11/22 : FROM alpine:3.17 [2023-05-08T05:34:01.969Z] 3.17: Pulling from library/alpine [2023-05-08T05:34:01.969Z] f56be85fc22e: Already exists [2023-05-08T05:34:01.969Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:34:01.969Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:34:01.969Z] ---> 9ed4aefc74f6 [2023-05-08T05:34:01.969Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-08T05:34:01.969Z] ---> Running in bc9189db5db2 [2023-05-08T05:34:01.969Z] Removing intermediate container bc9189db5db2 [2023-05-08T05:34:01.969Z] ---> f3a6ced1baa7 [2023-05-08T05:34:01.969Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-08T05:34:01.969Z] ---> Running in b1a910450a9e [2023-05-08T05:34:01.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:01.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:01.969Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T05:34:01.969Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:34:01.969Z] OK: 7 MiB in 16 packages [2023-05-08T05:34:02.227Z] Removing intermediate container b1a910450a9e [2023-05-08T05:34:02.227Z] ---> f70faa1199ad [2023-05-08T05:34:02.227Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-08T05:34:03.170Z] ---> 1d46f9a53d5f [2023-05-08T05:34:03.170Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-08T05:34:03.170Z] ---> d0a8f70fbbac [2023-05-08T05:34:03.170Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-08T05:34:03.170Z] ---> 5c1d630f386e [2023-05-08T05:34:03.170Z] Step 17/22 : EXPOSE 59901 [2023-05-08T05:34:03.170Z] ---> Running in 32bd4db40450 [2023-05-08T05:34:03.170Z] Removing intermediate container 32bd4db40450 [2023-05-08T05:34:03.170Z] ---> f00a3644e8e8 [2023-05-08T05:34:03.170Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-08T05:34:03.170Z] ---> Running in 7ad69059aa9c [2023-05-08T05:34:03.428Z] Removing intermediate container 7ad69059aa9c [2023-05-08T05:34:03.428Z] ---> 36c59fb8d2c6 [2023-05-08T05:34:03.428Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-08T05:34:03.428Z] ---> Running in 7f2b248545fc [2023-05-08T05:34:03.428Z] Removing intermediate container 7f2b248545fc [2023-05-08T05:34:03.428Z] ---> d05f9b8519aa [2023-05-08T05:34:03.428Z] Step 20/22 : LABEL arch=amd64 [2023-05-08T05:34:03.428Z] ---> Running in 60c8ac5c6986 [2023-05-08T05:34:03.428Z] Removing intermediate container 60c8ac5c6986 [2023-05-08T05:34:03.428Z] ---> 20a4d663f84d [2023-05-08T05:34:03.428Z] Step 21/22 : LABEL git_sha=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:34:03.428Z] ---> Running in 4507ad2bb12a [2023-05-08T05:34:03.688Z] Removing intermediate container 4507ad2bb12a [2023-05-08T05:34:03.688Z] ---> c0a6feac9c17 [2023-05-08T05:34:03.688Z] Step 22/22 : LABEL version=3.0.0-dev.35 [2023-05-08T05:34:03.688Z] ---> Running in c5d0ed74dcc2 [2023-05-08T05:34:03.688Z] Removing intermediate container c5d0ed74dcc2 [2023-05-08T05:34:03.688Z] ---> 877eace067fc [2023-05-08T05:34:03.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:34:03.688Z] Successfully built 877eace067fc [2023-05-08T05:34:03.688Z] 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-05-08T05:34:03.792Z] provisioning config files... [2023-05-08T05:34:03.802Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17515681087937571742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:34:04.101Z] ---> docker-login.sh [2023-05-08T05:34:04.101Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:34:04.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:04.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:04.101Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:04.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:04.101Z] [2023-05-08T05:34:04.101Z] Login Succeeded [2023-05-08T05:34:04.101Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:34:04.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:04.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:04.101Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:04.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:04.101Z] [2023-05-08T05:34:04.101Z] Login Succeeded [2023-05-08T05:34:04.101Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:34:04.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:04.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:04.360Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:04.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:04.360Z] [2023-05-08T05:34:04.360Z] Login Succeeded [2023-05-08T05:34:04.360Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:34:04.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:04.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:04.360Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:04.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:04.360Z] [2023-05-08T05:34:04.360Z] Login Succeeded [2023-05-08T05:34:04.360Z] docker.io [2023-05-08T05:34:04.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:04.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:04.619Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:04.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:04.619Z] [2023-05-08T05:34:04.619Z] Login Succeeded [2023-05-08T05:34:04.619Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:34:04.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:34:04.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:34:04.666Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-08T05:34:04.666Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:34:04.666Z] latest [2023-05-08T05:34:04.666Z] 3.0.0-dev.35 [2023-05-08T05:34:04.666Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:34:04.666Z] main [2023-05-08T05:34:04.666Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:04.969Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:05.273Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:34:05.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-08T05:34:05.273Z] a42fd9a42b62: Preparing [2023-05-08T05:34:05.273Z] 276a11714f51: Preparing [2023-05-08T05:34:05.273Z] a7850a85ffec: Preparing [2023-05-08T05:34:05.273Z] dd5df9879ff4: Preparing [2023-05-08T05:34:05.273Z] f1417ff83b31: Preparing [2023-05-08T05:34:05.273Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:05.273Z] a42fd9a42b62: Pushed [2023-05-08T05:34:05.273Z] 276a11714f51: Pushed [2023-05-08T05:34:05.273Z] dd5df9879ff4: Pushed [2023-05-08T05:34:08.564Z] a7850a85ffec: Pushed [2023-05-08T05:34:08.564Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:08.869Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:09.180Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-08T05:34:09.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-08T05:34:09.180Z] a42fd9a42b62: Preparing [2023-05-08T05:34:09.180Z] 276a11714f51: Preparing [2023-05-08T05:34:09.180Z] a7850a85ffec: Preparing [2023-05-08T05:34:09.180Z] dd5df9879ff4: Preparing [2023-05-08T05:34:09.180Z] f1417ff83b31: Preparing [2023-05-08T05:34:09.180Z] a7850a85ffec: Layer already exists [2023-05-08T05:34:09.180Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:09.180Z] a42fd9a42b62: Layer already exists [2023-05-08T05:34:09.180Z] 276a11714f51: Layer already exists [2023-05-08T05:34:09.180Z] dd5df9879ff4: Layer already exists [2023-05-08T05:34:09.180Z] latest: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:09.494Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:09.803Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 [2023-05-08T05:34:09.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-08T05:34:09.803Z] a42fd9a42b62: Preparing [2023-05-08T05:34:09.803Z] 276a11714f51: Preparing [2023-05-08T05:34:09.803Z] a7850a85ffec: Preparing [2023-05-08T05:34:09.803Z] dd5df9879ff4: Preparing [2023-05-08T05:34:09.803Z] f1417ff83b31: Preparing [2023-05-08T05:34:09.803Z] 276a11714f51: Layer already exists [2023-05-08T05:34:09.803Z] a42fd9a42b62: Layer already exists [2023-05-08T05:34:09.803Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:09.803Z] dd5df9879ff4: Layer already exists [2023-05-08T05:34:09.803Z] a7850a85ffec: Layer already exists [2023-05-08T05:34:09.803Z] 3.0.0-dev.35: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:10.118Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:10.432Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:34:10.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-08T05:34:10.432Z] a42fd9a42b62: Preparing [2023-05-08T05:34:10.432Z] 276a11714f51: Preparing [2023-05-08T05:34:10.432Z] a7850a85ffec: Preparing [2023-05-08T05:34:10.432Z] dd5df9879ff4: Preparing [2023-05-08T05:34:10.432Z] f1417ff83b31: Preparing [2023-05-08T05:34:10.432Z] 276a11714f51: Layer already exists [2023-05-08T05:34:10.432Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:10.432Z] a7850a85ffec: Layer already exists [2023-05-08T05:34:10.432Z] dd5df9879ff4: Layer already exists [2023-05-08T05:34:10.432Z] a42fd9a42b62: Layer already exists [2023-05-08T05:34:10.432Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:10.740Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:11.045Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-08T05:34:11.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-08T05:34:11.046Z] a42fd9a42b62: Preparing [2023-05-08T05:34:11.046Z] 276a11714f51: Preparing [2023-05-08T05:34:11.046Z] a7850a85ffec: Preparing [2023-05-08T05:34:11.046Z] dd5df9879ff4: Preparing [2023-05-08T05:34:11.046Z] f1417ff83b31: Preparing [2023-05-08T05:34:11.046Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:11.046Z] dd5df9879ff4: Layer already exists [2023-05-08T05:34:11.046Z] 276a11714f51: Layer already exists [2023-05-08T05:34:11.046Z] a42fd9a42b62: Layer already exists [2023-05-08T05:34:11.046Z] a7850a85ffec: Layer already exists [2023-05-08T05:34:11.046Z] main: digest: sha256:bde0b88c663a4c6215a030cb84d9ec85270cbe006d161ae8fba57dc9e832b132 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:34:11.081Z] ===================================================== [Pipeline] echo [2023-05-08T05:34:11.086Z] taggedImages: [2023-05-08T05:34:11.086Z] - nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:34:11.086Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-08T05:34:11.086Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.35 [2023-05-08T05:34:11.086Z] - nexus3.edgexfoundry.org:10004/device-modbus:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:34:11.086Z] - 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-05-08T05:34:11.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:34:11.429Z] [2023-05-08T05:34:11.429Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:11.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:34:11.727Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T05:34:11.727Z] 5eb5b503b376: Pulling fs layer [2023-05-08T05:34:11.727Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T05:34:11.727Z] ec43610c2a17: Pulling fs layer [2023-05-08T05:34:11.727Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T05:34:11.727Z] 33b1e0a273af: Pulling fs layer [2023-05-08T05:34:11.727Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T05:34:11.727Z] 2f39f015ded8: Pulling fs layer [2023-05-08T05:34:11.727Z] 3a2ae6a8a46f: Waiting [2023-05-08T05:34:11.727Z] 33b1e0a273af: Waiting [2023-05-08T05:34:11.727Z] 5d3b04190fa2: Waiting [2023-05-08T05:34:11.727Z] 2f39f015ded8: Waiting [2023-05-08T05:34:11.727Z] 5c69ac0246d0: Download complete [2023-05-08T05:34:11.727Z] 3a2ae6a8a46f: Download complete [2023-05-08T05:34:11.727Z] 33b1e0a273af: Verifying Checksum [2023-05-08T05:34:11.727Z] 33b1e0a273af: Download complete [2023-05-08T05:34:11.727Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T05:34:11.727Z] 5d3b04190fa2: Download complete [2023-05-08T05:34:11.727Z] ec43610c2a17: Verifying Checksum [2023-05-08T05:34:11.727Z] ec43610c2a17: Download complete [2023-05-08T05:34:11.986Z] 5eb5b503b376: Verifying Checksum [2023-05-08T05:34:11.986Z] 5eb5b503b376: Download complete [2023-05-08T05:34:12.549Z] 2f39f015ded8: Download complete [2023-05-08T05:34:13.116Z] 5eb5b503b376: Pull complete [2023-05-08T05:34:13.116Z] 5c69ac0246d0: Pull complete [2023-05-08T05:34:13.684Z] ec43610c2a17: Pull complete [2023-05-08T05:34:13.684Z] 3a2ae6a8a46f: Pull complete [2023-05-08T05:34:13.948Z] 33b1e0a273af: Pull complete [2023-05-08T05:34:13.948Z] 5d3b04190fa2: Pull complete [2023-05-08T05:34:18.138Z] 2f39f015ded8: Pull complete [2023-05-08T05:34:18.138Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T05:34:18.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:34:18.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:34:18.220Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:34:18.249Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:34:20.620Z] $ docker top e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:34:20.997Z] ---> job-cost.sh [2023-05-08T05:34:20.997Z] lf-activate-venv: SKIPPING [2023-05-08T05:34:20.997Z] INFO: No Stack... [2023-05-08T05:34:21.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T05:34:21.515Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:34:21.801Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-08T05:34:21.801Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:34:21.815Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [2023-05-08T05:34:21.821Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] did not exist. Created. [2023-05-08T05:34:21.821Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T05:34:22.115Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T05:34:22.147Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:34:22.156Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:34:22.173Z] $ docker stop --time=1 e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 [2023-05-08T05:34:23.313Z] $ docker rm -f --volumes e94cb1a2dada705ec47d308035699fca5f736478310ee05008ae2c9a79524d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T05:35:11.141Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14471 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-08T05:35:11.154Z] Running in /w/workspace/device-modbus-go/101 [Pipeline] { [Pipeline] checkout [2023-05-08T05:35:11.195Z] Selected Git installation does not exist. Using Default [2023-05-08T05:35:11.195Z] The recommended git tool is: NONE [2023-05-08T05:35:17.688Z] using credential edgex-jenkins-ssh [2023-05-08T05:35:17.707Z] Cloning the remote Git repository [2023-05-08T05:35:17.770Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-08T05:35:17.887Z] > git init /w/workspace/device-modbus-go/101 # timeout=10 [2023-05-08T05:35:18.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-08T05:35:18.061Z] > git --version # timeout=10 [2023-05-08T05:35:18.088Z] > git --version # 'git version 2.25.1' [2023-05-08T05:35:18.092Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T05:35:18.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:35:19.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-08T05:35:19.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:35:20.637Z] Avoid second fetch [2023-05-08T05:35:20.637Z] Checking out Revision b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 (main) [2023-05-08T05:35:21.297Z] Commit message: "Merge pull request #472 from jumpingliu/ignore-go-mods" [2023-05-08T05:35:20.659Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T05:35:20.736Z] > git checkout -f b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:35:22.126Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T05:35:22.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:35:22.126Z] Dload Upload Total Spent Left Speed [2023-05-08T05:35:22.126Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-05-08T05:35:22.987Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T05:35:23.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T05:35:23.327Z] + sudo tee /etc/docker/daemon.new [2023-05-08T05:35:23.327Z] { [2023-05-08T05:35:23.327Z] "registry-mirrors": [ [2023-05-08T05:35:23.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T05:35:23.327Z] ], [2023-05-08T05:35:23.327Z] "bip": "10.250.0.254/24", [2023-05-08T05:35:23.327Z] "hosts": [ [2023-05-08T05:35:23.327Z] "tcp://0.0.0.0:5555", [2023-05-08T05:35:23.327Z] "unix:///var/run/docker.sock" [2023-05-08T05:35:23.327Z] ], [2023-05-08T05:35:23.327Z] "mtu": 1458, [2023-05-08T05:35:23.327Z] "selinux-enabled": true, [2023-05-08T05:35:23.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T05:35:23.327Z] } [Pipeline] sh [2023-05-08T05:35:23.674Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T05:35:24.022Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:35:42.316Z] provisioning config files... [2023-05-08T05:35:42.346Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/101@tmp/config13981781084653236354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:35:42.706Z] ---> docker-login.sh [2023-05-08T05:35:42.706Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:35:43.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:35:43.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:35:43.295Z] Configure a credential helper to remove this warning. See [2023-05-08T05:35:43.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:35:43.295Z] [2023-05-08T05:35:43.295Z] Login Succeeded [2023-05-08T05:35:43.295Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:35:43.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:35:43.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:35:43.834Z] Configure a credential helper to remove this warning. See [2023-05-08T05:35:43.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:35:43.834Z] [2023-05-08T05:35:43.834Z] Login Succeeded [2023-05-08T05:35:43.834Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:35:44.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:35:44.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:35:44.103Z] Configure a credential helper to remove this warning. See [2023-05-08T05:35:44.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:35:44.103Z] [2023-05-08T05:35:44.103Z] Login Succeeded [2023-05-08T05:35:44.103Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:35:44.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:35:44.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:35:44.373Z] Configure a credential helper to remove this warning. See [2023-05-08T05:35:44.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:35:44.373Z] [2023-05-08T05:35:44.373Z] Login Succeeded [2023-05-08T05:35:44.373Z] docker.io [2023-05-08T05:35:44.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:35:44.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:35:44.916Z] Configure a credential helper to remove this warning. See [2023-05-08T05:35:44.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:35:44.916Z] [2023-05-08T05:35:44.916Z] Login Succeeded [2023-05-08T05:35:44.916Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:35:44.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T05:35:45.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:35:45.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:35:45.814Z] ========================================================= [2023-05-08T05:35:45.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T05:35:45.814Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:35:46.180Z] + 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-05-08T05:35:46.453Z] Sending build context to Docker daemon 3.382MB [2023-05-08T05:35:46.453Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:35:46.453Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T05:35:46.725Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T05:35:46.725Z] c41833b44d91: Pulling fs layer [2023-05-08T05:35:46.725Z] ed15518f5707: Pulling fs layer [2023-05-08T05:35:46.725Z] feae8fd75edb: Pulling fs layer [2023-05-08T05:35:46.725Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T05:35:46.725Z] 3cdef696dda3: Pulling fs layer [2023-05-08T05:35:46.725Z] 2ced38df9373: Pulling fs layer [2023-05-08T05:35:46.725Z] 58f1dce35555: Pulling fs layer [2023-05-08T05:35:46.725Z] 242c74f7c9fa: Waiting [2023-05-08T05:35:46.725Z] 3cdef696dda3: Waiting [2023-05-08T05:35:46.725Z] 2ced38df9373: Waiting [2023-05-08T05:35:46.725Z] 58f1dce35555: Waiting [2023-05-08T05:35:46.725Z] ed15518f5707: Verifying Checksum [2023-05-08T05:35:46.725Z] ed15518f5707: Download complete [2023-05-08T05:35:46.725Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T05:35:46.725Z] 242c74f7c9fa: Download complete [2023-05-08T05:35:46.725Z] 3cdef696dda3: Download complete [2023-05-08T05:35:46.994Z] c41833b44d91: Download complete [2023-05-08T05:35:47.998Z] c41833b44d91: Pull complete [2023-05-08T05:35:48.280Z] 58f1dce35555: Verifying Checksum [2023-05-08T05:35:48.280Z] 58f1dce35555: Download complete [2023-05-08T05:35:48.560Z] ed15518f5707: Pull complete [2023-05-08T05:35:49.535Z] 2ced38df9373: Verifying Checksum [2023-05-08T05:35:49.535Z] 2ced38df9373: Download complete [2023-05-08T05:35:49.535Z] feae8fd75edb: Verifying Checksum [2023-05-08T05:35:49.535Z] feae8fd75edb: Download complete [2023-05-08T05:36:01.912Z] feae8fd75edb: Pull complete [2023-05-08T05:36:01.912Z] 242c74f7c9fa: Pull complete [2023-05-08T05:36:01.912Z] 3cdef696dda3: Pull complete [2023-05-08T05:36:08.626Z] 2ced38df9373: Pull complete [2023-05-08T05:36:13.045Z] 58f1dce35555: Pull complete [2023-05-08T05:36:13.045Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T05:36:13.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T05:36:13.045Z] ---> fadd8f120f05 [2023-05-08T05:36:13.045Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:36:15.011Z] ---> Running in 0a7f9a8046c9 [2023-05-08T05:36:15.280Z] Removing intermediate container 0a7f9a8046c9 [2023-05-08T05:36:15.280Z] ---> c09685b54812 [2023-05-08T05:36:15.280Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:36:15.280Z] ---> Running in 932ba250e190 [2023-05-08T05:36:15.873Z] Removing intermediate container 932ba250e190 [2023-05-08T05:36:15.873Z] ---> 730c69640fb0 [2023-05-08T05:36:15.873Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-08T05:36:15.873Z] ---> Running in eef274d409f0 [2023-05-08T05:36:17.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:36:17.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:36:18.533Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T05:36:18.533Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-08T05:36:18.533Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T05:36:18.805Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T05:36:18.805Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-08T05:36:18.805Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-08T05:36:18.805Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-08T05:36:18.805Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-08T05:36:18.805Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:36:18.805Z] OK: 270 MiB in 61 packages [2023-05-08T05:36:20.229Z] Removing intermediate container eef274d409f0 [2023-05-08T05:36:20.229Z] ---> 907159d333e3 [2023-05-08T05:36:20.229Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-08T05:36:20.229Z] ---> Running in 5862c08d7afc [2023-05-08T05:36:20.229Z] Removing intermediate container 5862c08d7afc [2023-05-08T05:36:20.229Z] ---> ef6b5c92a508 [2023-05-08T05:36:20.229Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T05:36:20.815Z] ---> 455f4bf6d6bd [2023-05-08T05:36:20.815Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:36:21.087Z] ---> Running in 316070f43cd3 [2023-05-08T05:37:29.024Z] Removing intermediate container 316070f43cd3 [2023-05-08T05:37:29.024Z] ---> 2628737af39d [2023-05-08T05:37:29.024Z] Step 9/10 : COPY . . [2023-05-08T05:37:29.024Z] ---> 711980683b6f [2023-05-08T05:37:29.024Z] Step 10/10 : RUN ${MAKE} [2023-05-08T05:37:29.024Z] ---> Running in b587e15d0144 [2023-05-08T05:37:29.024Z] noop [2023-05-08T05:37:29.024Z] Removing intermediate container b587e15d0144 [2023-05-08T05:37:29.024Z] ---> b86a3b349390 [2023-05-08T05:37:29.024Z] Successfully built b86a3b349390 [2023-05-08T05:37:29.024Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:37:29.394Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:37:29.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:37:29.647Z] prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container [2023-05-08T05:37:29.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@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-05-08T05:37:31.114Z] $ docker top a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:37:32.009Z] + go version [2023-05-08T05:37:32.009Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T05:37:32.033Z] $ docker stop --time=1 a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 [2023-05-08T05:37:33.775Z] $ docker rm -f --volumes a79c962ccbbe97017fbf7257e1d959deebcfdbccd78e8b4ef760c8b8cef14814 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:37:34.368Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:37:34.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:37:34.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container [2023-05-08T05:37:34.675Z] $ 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/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@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-05-08T05:37:36.072Z] $ docker top 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:37:36.983Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/101 [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:37:37.658Z] + make test [2023-05-08T05:37:37.658Z] go test ./... -coverprofile=coverage.out [2023-05-08T05:38:16.597Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-08T05:40:53.380Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-08T05:40:53.380Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.084s coverage: 47.4% of statements [2023-05-08T05:40:53.380Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T05:40:53.380Z] go vet ./... [2023-05-08T05:41:20.136Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:41:20.136Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:41:20.136Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:41:20.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:41:20.174Z] $ docker stop --time=1 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 [2023-05-08T05:41:24.714Z] $ docker rm -f --volumes 8ea5e07bcb355c5de9762c79543873b7b18b18c2f23fa72b293a6c09c25f8ad0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:41:26.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:41:26.065Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T05:41:26.708Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:41:27.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:41:27.436Z] + ls -al . [2023-05-08T05:41:27.436Z] total 176 [2023-05-08T05:41:27.436Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 05:37 . [2023-05-08T05:41:27.436Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 .. [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:35 .dockerignore [2023-05-08T05:41:27.436Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:35 .git [2023-05-08T05:41:27.436Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 .github [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 331 May 8 05:35 .gitignore [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:35 .golangci.yml [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 8 05:35 Attribution.txt [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 8 05:35 CHANGELOG.md [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 8 05:35 Dockerfile [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:35 GOVERNANCE.md [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 680 May 8 05:35 Jenkinsfile [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:35 LICENSE [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 8 05:35 Makefile [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 622 May 8 05:35 OWNERS.md [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 4045 May 8 05:35 README.md [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:32 VERSION [2023-05-08T05:41:27.436Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:35 bin [2023-05-08T05:41:27.436Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 cmd [2023-05-08T05:41:27.436Z] -rw-r--r-- 1 jenkins jenkins 24160 May 8 05:40 coverage.out [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 8 05:35 go.mod [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 8 05:35 go.sum [2023-05-08T05:41:27.436Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:35 internal [2023-05-08T05:41:27.436Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:35 simulator [2023-05-08T05:41:27.436Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:35 snap [2023-05-08T05:41:27.436Z] -rw-rw-r-- 1 jenkins jenkins 229 May 8 05:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:41:27.793Z] + 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 --label arch=arm64 --label version=3.0.0-dev.35 . [2023-05-08T05:41:28.079Z] Sending build context to Docker daemon 3.407MB [2023-05-08T05:41:28.352Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:41:28.352Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-08T05:41:28.352Z] ---> b86a3b349390 [2023-05-08T05:41:28.352Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:41:28.352Z] ---> Running in 2cf271208023 [2023-05-08T05:41:28.949Z] Removing intermediate container 2cf271208023 [2023-05-08T05:41:28.949Z] ---> 72c1fd367675 [2023-05-08T05:41:28.949Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:41:28.949Z] ---> Running in 985a3e12c267 [2023-05-08T05:41:29.220Z] Removing intermediate container 985a3e12c267 [2023-05-08T05:41:29.220Z] ---> c20e57a7cb34 [2023-05-08T05:41:29.220Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-08T05:41:29.220Z] ---> Running in e82f1e95e72a [2023-05-08T05:41:30.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:41:31.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:41:32.670Z] OK: 270 MiB in 61 packages [2023-05-08T05:41:33.639Z] Removing intermediate container e82f1e95e72a [2023-05-08T05:41:33.639Z] ---> 17a4cadbf19f [2023-05-08T05:41:33.639Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-08T05:41:33.639Z] ---> Running in fd1fc52dcd21 [2023-05-08T05:41:33.912Z] Removing intermediate container fd1fc52dcd21 [2023-05-08T05:41:33.912Z] ---> 315861a6b159 [2023-05-08T05:41:33.912Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-08T05:41:34.498Z] ---> 8651fdb939dd [2023-05-08T05:41:34.498Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:41:34.769Z] ---> Running in f534a4fb6075 [2023-05-08T05:41:37.364Z] Removing intermediate container f534a4fb6075 [2023-05-08T05:41:37.364Z] ---> 63216217391e [2023-05-08T05:41:37.364Z] Step 9/22 : COPY . . [2023-05-08T05:41:38.332Z] ---> 3b0117d37c15 [2023-05-08T05:41:38.332Z] Step 10/22 : RUN ${MAKE} [2023-05-08T05:41:38.606Z] ---> Running in a8c4081ba7f4 [2023-05-08T05:41:39.578Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.35" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-08T05:44:16.347Z] Removing intermediate container a8c4081ba7f4 [2023-05-08T05:44:16.347Z] ---> 744c3dcb0c27 [2023-05-08T05:44:16.347Z] Step 11/22 : FROM alpine:3.17 [2023-05-08T05:44:16.347Z] 3.17: Pulling from library/alpine [2023-05-08T05:44:16.347Z] c41833b44d91: Already exists [2023-05-08T05:44:16.347Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:44:16.347Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:44:16.347Z] ---> 51e60588ff2c [2023-05-08T05:44:16.347Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-08T05:44:16.347Z] ---> Running in c4c19db041c8 [2023-05-08T05:44:16.347Z] Removing intermediate container c4c19db041c8 [2023-05-08T05:44:16.347Z] ---> 924011be9870 [2023-05-08T05:44:16.347Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-08T05:44:16.347Z] ---> Running in 0462bc29f3a1 [2023-05-08T05:44:16.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:44:16.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:44:16.937Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T05:44:16.937Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:44:16.937Z] OK: 8 MiB in 16 packages [2023-05-08T05:44:17.910Z] Removing intermediate container 0462bc29f3a1 [2023-05-08T05:44:17.910Z] ---> 097d0a8e9e16 [2023-05-08T05:44:17.910Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-08T05:44:19.322Z] ---> 0959186e2abc [2023-05-08T05:44:19.322Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-08T05:44:19.910Z] ---> 3b4eab2daa95 [2023-05-08T05:44:19.910Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-08T05:44:20.494Z] ---> f0456c6079af [2023-05-08T05:44:20.494Z] Step 17/22 : EXPOSE 59901 [2023-05-08T05:44:20.494Z] ---> Running in a794e3a4ff09 [2023-05-08T05:44:20.762Z] Removing intermediate container a794e3a4ff09 [2023-05-08T05:44:20.762Z] ---> 5c8831cd6e4c [2023-05-08T05:44:20.762Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-08T05:44:21.030Z] ---> Running in 6ceb9afac5ac [2023-05-08T05:44:21.297Z] Removing intermediate container 6ceb9afac5ac [2023-05-08T05:44:21.297Z] ---> c97822e19272 [2023-05-08T05:44:21.297Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-08T05:44:21.297Z] ---> Running in 757648deb77a [2023-05-08T05:44:21.565Z] Removing intermediate container 757648deb77a [2023-05-08T05:44:21.565Z] ---> 7eb2c9235fbb [2023-05-08T05:44:21.565Z] Step 20/22 : LABEL arch=arm64 [2023-05-08T05:44:21.565Z] ---> Running in 12671b290d92 [2023-05-08T05:44:22.163Z] Removing intermediate container 12671b290d92 [2023-05-08T05:44:22.163Z] ---> dffd9018defa [2023-05-08T05:44:22.163Z] Step 21/22 : LABEL git_sha=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:44:22.163Z] ---> Running in 1ac7821e39e1 [2023-05-08T05:44:22.429Z] Removing intermediate container 1ac7821e39e1 [2023-05-08T05:44:22.429Z] ---> e54172b2b0e4 [2023-05-08T05:44:22.429Z] Step 22/22 : LABEL version=3.0.0-dev.35 [2023-05-08T05:44:22.429Z] ---> Running in b9cdf5a53477 [2023-05-08T05:44:22.696Z] Removing intermediate container b9cdf5a53477 [2023-05-08T05:44:22.696Z] ---> 87933b11ef62 [2023-05-08T05:44:22.696Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:44:22.696Z] Successfully built 87933b11ef62 [2023-05-08T05:44:22.696Z] 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-05-08T05:44:22.799Z] provisioning config files... [2023-05-08T05:44:22.814Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/101@tmp/config12638975866772522798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:44:23.150Z] ---> docker-login.sh [2023-05-08T05:44:23.150Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:44:23.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:44:23.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:44:23.419Z] Configure a credential helper to remove this warning. See [2023-05-08T05:44:23.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:44:23.419Z] [2023-05-08T05:44:23.419Z] Login Succeeded [2023-05-08T05:44:23.419Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:44:23.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:44:23.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:44:23.687Z] Configure a credential helper to remove this warning. See [2023-05-08T05:44:23.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:44:23.687Z] [2023-05-08T05:44:23.687Z] Login Succeeded [2023-05-08T05:44:23.687Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:44:23.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:44:24.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:44:24.224Z] Configure a credential helper to remove this warning. See [2023-05-08T05:44:24.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:44:24.224Z] [2023-05-08T05:44:24.224Z] Login Succeeded [2023-05-08T05:44:24.224Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:44:24.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:44:24.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:44:24.492Z] Configure a credential helper to remove this warning. See [2023-05-08T05:44:24.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:44:24.492Z] [2023-05-08T05:44:24.492Z] Login Succeeded [2023-05-08T05:44:24.492Z] docker.io [2023-05-08T05:44:24.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:44:25.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:44:25.027Z] Configure a credential helper to remove this warning. See [2023-05-08T05:44:25.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:44:25.027Z] [2023-05-08T05:44:25.027Z] Login Succeeded [2023-05-08T05:44:25.027Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:44:25.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:44:25.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:44:25.088Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-08T05:44:25.088Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:44:25.088Z] latest [2023-05-08T05:44:25.088Z] 3.0.0-dev.35 [2023-05-08T05:44:25.088Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:44:25.088Z] main [2023-05-08T05:44:25.088Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:25.452Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:25.801Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:44:25.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-08T05:44:25.801Z] be8f0d02231e: Preparing [2023-05-08T05:44:25.801Z] f175f66d2997: Preparing [2023-05-08T05:44:25.801Z] 646186baaa97: Preparing [2023-05-08T05:44:25.801Z] 06bbb0b1db40: Preparing [2023-05-08T05:44:25.801Z] 26cbea5cba74: Preparing [2023-05-08T05:44:25.801Z] 26cbea5cba74: Layer already exists [2023-05-08T05:44:26.068Z] be8f0d02231e: Pushed [2023-05-08T05:44:26.068Z] 06bbb0b1db40: Pushed [2023-05-08T05:44:26.068Z] f175f66d2997: Pushed [2023-05-08T05:44:31.476Z] 646186baaa97: Pushed [2023-05-08T05:44:32.062Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:32.426Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:32.778Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-08T05:44:32.778Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-08T05:44:32.778Z] be8f0d02231e: Preparing [2023-05-08T05:44:32.778Z] f175f66d2997: Preparing [2023-05-08T05:44:32.778Z] 646186baaa97: Preparing [2023-05-08T05:44:32.778Z] 06bbb0b1db40: Preparing [2023-05-08T05:44:32.778Z] 26cbea5cba74: Preparing [2023-05-08T05:44:32.778Z] f175f66d2997: Layer already exists [2023-05-08T05:44:32.778Z] 06bbb0b1db40: Layer already exists [2023-05-08T05:44:32.778Z] be8f0d02231e: Layer already exists [2023-05-08T05:44:32.778Z] 26cbea5cba74: Layer already exists [2023-05-08T05:44:32.778Z] 646186baaa97: Layer already exists [2023-05-08T05:44:32.778Z] latest: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:33.148Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:33.504Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 [2023-05-08T05:44:33.504Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-08T05:44:33.504Z] be8f0d02231e: Preparing [2023-05-08T05:44:33.504Z] f175f66d2997: Preparing [2023-05-08T05:44:33.504Z] 646186baaa97: Preparing [2023-05-08T05:44:33.504Z] 06bbb0b1db40: Preparing [2023-05-08T05:44:33.504Z] 26cbea5cba74: Preparing [2023-05-08T05:44:33.504Z] 06bbb0b1db40: Layer already exists [2023-05-08T05:44:33.504Z] be8f0d02231e: Layer already exists [2023-05-08T05:44:33.504Z] 26cbea5cba74: Layer already exists [2023-05-08T05:44:33.504Z] 646186baaa97: Layer already exists [2023-05-08T05:44:33.504Z] f175f66d2997: Layer already exists [2023-05-08T05:44:33.772Z] 3.0.0-dev.35: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:34.132Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:34.481Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:44:34.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-08T05:44:34.481Z] be8f0d02231e: Preparing [2023-05-08T05:44:34.481Z] f175f66d2997: Preparing [2023-05-08T05:44:34.481Z] 646186baaa97: Preparing [2023-05-08T05:44:34.481Z] 06bbb0b1db40: Preparing [2023-05-08T05:44:34.481Z] 26cbea5cba74: Preparing [2023-05-08T05:44:34.481Z] 646186baaa97: Layer already exists [2023-05-08T05:44:34.481Z] 06bbb0b1db40: Layer already exists [2023-05-08T05:44:34.481Z] be8f0d02231e: Layer already exists [2023-05-08T05:44:34.481Z] f175f66d2997: Layer already exists [2023-05-08T05:44:34.481Z] 26cbea5cba74: Layer already exists [2023-05-08T05:44:34.481Z] b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:35.098Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:35.433Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-08T05:44:35.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-08T05:44:35.433Z] be8f0d02231e: Preparing [2023-05-08T05:44:35.433Z] f175f66d2997: Preparing [2023-05-08T05:44:35.433Z] 646186baaa97: Preparing [2023-05-08T05:44:35.433Z] 06bbb0b1db40: Preparing [2023-05-08T05:44:35.433Z] 26cbea5cba74: Preparing [2023-05-08T05:44:35.433Z] 646186baaa97: Layer already exists [2023-05-08T05:44:35.433Z] f175f66d2997: Layer already exists [2023-05-08T05:44:35.433Z] 26cbea5cba74: Layer already exists [2023-05-08T05:44:35.433Z] 06bbb0b1db40: Layer already exists [2023-05-08T05:44:35.433Z] be8f0d02231e: Layer already exists [2023-05-08T05:44:35.433Z] main: digest: sha256:c9386f53aa8db4a89882b0f72f71d5c57dc59d73531489f674acf8a088375f72 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:44:35.742Z] ===================================================== [Pipeline] echo [2023-05-08T05:44:35.748Z] taggedImages: [2023-05-08T05:44:35.748Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [2023-05-08T05:44:35.748Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-08T05:44:35.748Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.35 [2023-05-08T05:44:35.748Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9-3.0.0-dev.35 [2023-05-08T05:44:35.748Z] - 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-05-08T05:44:36.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:44:36.112Z] [2023-05-08T05:44:36.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:44:36.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:44:36.449Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T05:44:36.449Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T05:44:36.449Z] 04944245beec: Pulling fs layer [2023-05-08T05:44:36.449Z] 699f458cf7ca: Pulling fs layer [2023-05-08T05:44:36.449Z] 765212b225bb: Pulling fs layer [2023-05-08T05:44:36.449Z] f23df028b6ca: Pulling fs layer [2023-05-08T05:44:36.449Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T05:44:36.449Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T05:44:36.449Z] f23df028b6ca: Waiting [2023-05-08T05:44:36.449Z] d65c8cfc05b1: Waiting [2023-05-08T05:44:36.449Z] 2437ff75d9bd: Waiting [2023-05-08T05:44:36.449Z] 765212b225bb: Waiting [2023-05-08T05:44:36.718Z] 04944245beec: Verifying Checksum [2023-05-08T05:44:36.718Z] 04944245beec: Download complete [2023-05-08T05:44:36.718Z] 765212b225bb: Verifying Checksum [2023-05-08T05:44:36.718Z] 765212b225bb: Download complete [2023-05-08T05:44:36.718Z] f23df028b6ca: Verifying Checksum [2023-05-08T05:44:36.718Z] f23df028b6ca: Download complete [2023-05-08T05:44:36.718Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T05:44:36.718Z] d65c8cfc05b1: Download complete [2023-05-08T05:44:36.986Z] 699f458cf7ca: Verifying Checksum [2023-05-08T05:44:36.986Z] 699f458cf7ca: Download complete [2023-05-08T05:44:37.255Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T05:44:37.256Z] 8998bd30e6a1: Download complete [2023-05-08T05:44:39.836Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T05:44:39.836Z] 2437ff75d9bd: Download complete [2023-05-08T05:44:41.248Z] 8998bd30e6a1: Pull complete [2023-05-08T05:44:41.516Z] 04944245beec: Pull complete [2023-05-08T05:44:42.923Z] 699f458cf7ca: Pull complete [2023-05-08T05:44:42.923Z] 765212b225bb: Pull complete [2023-05-08T05:44:47.169Z] f23df028b6ca: Pull complete [2023-05-08T05:44:47.169Z] d65c8cfc05b1: Pull complete [2023-05-08T05:44:59.468Z] 2437ff75d9bd: Pull complete [2023-05-08T05:44:59.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T05:44:59.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:44:59.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:44:59.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-14471 does not seem to be running inside a container [2023-05-08T05:44:59.708Z] $ 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/101 -v /w/workspace/device-modbus-go/101:/w/workspace/device-modbus-go/101:rw,z -v /w/workspace/device-modbus-go/101@tmp:/w/workspace/device-modbus-go/101@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-05-08T05:45:02.513Z] $ docker top 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:03.337Z] ---> job-cost.sh [2023-05-08T05:45:03.337Z] lf-activate-venv: SKIPPING [2023-05-08T05:45:03.337Z] INFO: No Stack... [2023-05-08T05:45:03.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T05:45:04.556Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:45:04.872Z] + cat /w/workspace/device-modbus-go/101/archives/cost.csv [2023-05-08T05:45:04.872Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:45:04.933Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [2023-05-08T05:45:04.944Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] did not exist. Created. [2023-05-08T05:45:04.944Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T05:45:05.273Z] /w/workspace/device-modbus-go/101@tmp/durable-51cecc53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T05:45:05.604Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T05:45:05.620Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T05:45:05.674Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:45:05.682Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-101-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:45:05.699Z] $ docker stop --time=1 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 [2023-05-08T05:45:07.211Z] $ docker rm -f --volumes 408b13d26eb6fe2090d33f2eb0057726a7ead2c11cb501ef8b9bd74550d8ba06 [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-05-08T05:45:07.580Z] provisioning config files... [2023-05-08T05:45:07.587Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17824679284157587869tmp [Pipeline] { [Pipeline] sh [2023-05-08T05:45:07.878Z] + set +x [2023-05-08T05:45:07.878Z] + curl -s https://codecov.io/bash [2023-05-08T05:45:07.878Z] + bash -s -- [2023-05-08T05:45:07.879Z] [2023-05-08T05:45:07.879Z] _____ _ [2023-05-08T05:45:07.879Z] / ____| | | [2023-05-08T05:45:07.879Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T05:45:07.879Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T05:45:07.879Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T05:45:07.879Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T05:45:07.879Z] Bash-1.0.6 [2023-05-08T05:45:07.879Z] [2023-05-08T05:45:07.879Z] [2023-05-08T05:45:07.879Z] ==> git version 2.25.1 found [2023-05-08T05:45:07.879Z] ==> 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-05-08T05:45:07.879Z] Release-Date: 2020-01-08 [2023-05-08T05:45:07.879Z] 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-05-08T05:45:07.879Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T05:45:07.879Z] ==> Jenkins CI detected. [2023-05-08T05:45:07.879Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-08T05:45:07.879Z] project root: . [2023-05-08T05:45:07.879Z] --> token set from env [2023-05-08T05:45:07.879Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T05:45:07.879Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T05:45:07.879Z] ==> Python coveragepy not found [2023-05-08T05:45:07.879Z] ==> Searching for coverage reports in: [2023-05-08T05:45:07.879Z] + . [2023-05-08T05:45:07.879Z] -> Found 1 reports [2023-05-08T05:45:07.879Z] ==> Detecting git/mercurial file structure [2023-05-08T05:45:07.879Z] ==> Reading reports [2023-05-08T05:45:07.879Z] + ./coverage.out bytes=24160 [2023-05-08T05:45:07.879Z] ==> Appending adjustments [2023-05-08T05:45:07.879Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T05:45:08.143Z] + Found adjustments [2023-05-08T05:45:08.143Z] ==> Gzipping contents [2023-05-08T05:45:08.143Z] 4.0K /tmp/codecov.9sUTMW.gz [2023-05-08T05:45:08.143Z] ==> Uploading reports [2023-05-08T05:45:08.143Z] url: https://codecov.io [2023-05-08T05:45:08.143Z] query: branch=main&commit=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-08T05:45:08.143Z] -> Pinging Codecov [2023-05-08T05:45:08.143Z] 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=b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9&build=101&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F101%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-08T05:45:08.143Z] -> Uploading to [2023-05-08T05:45:08.143Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/55DBCA73C666E3227836607328DD7E49/b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9/9658f26b-d932-44ad-a365-de3b71b6b843.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054508Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14cbe3ff247d2a10adbe2b1a62deb1f1c878967a6329dd2344a8ca4b8e0d63b8 [2023-05-08T05:45:08.143Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:45:08.143Z] Dload Upload Total Spent Left Speed [2023-05-08T05:45:08.402Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 17755 --:--:-- --:--:-- --:--:-- 17755 [2023-05-08T05:45:08.402Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] } [2023-05-08T05:45:08.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-08T05:45:08.523Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-08T05:45:08.533Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:08.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:45:08.841Z] [2023-05-08T05:45:08.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:09.138Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:45:09.139Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-08T05:45:09.139Z] df9b9388f04a: Pulling fs layer [2023-05-08T05:45:09.139Z] 52dc419b0ee2: Pulling fs layer [2023-05-08T05:45:09.139Z] 25bc292e5bac: Pulling fs layer [2023-05-08T05:45:09.139Z] 114826534d7a: Pulling fs layer [2023-05-08T05:45:09.139Z] 4657fd5d0bcf: Pulling fs layer [2023-05-08T05:45:09.139Z] 6ad1cebc031e: Pulling fs layer [2023-05-08T05:45:09.139Z] 8a3aa393b2d8: Pulling fs layer [2023-05-08T05:45:09.139Z] 114826534d7a: Waiting [2023-05-08T05:45:09.139Z] 4657fd5d0bcf: Waiting [2023-05-08T05:45:09.139Z] 6ad1cebc031e: Waiting [2023-05-08T05:45:09.139Z] 8a3aa393b2d8: Waiting [2023-05-08T05:45:09.139Z] 25bc292e5bac: Download complete [2023-05-08T05:45:09.139Z] 52dc419b0ee2: Download complete [2023-05-08T05:45:09.139Z] 4657fd5d0bcf: Verifying Checksum [2023-05-08T05:45:09.139Z] 4657fd5d0bcf: Download complete [2023-05-08T05:45:09.139Z] df9b9388f04a: Verifying Checksum [2023-05-08T05:45:09.139Z] df9b9388f04a: Download complete [2023-05-08T05:45:09.399Z] 6ad1cebc031e: Verifying Checksum [2023-05-08T05:45:09.400Z] 6ad1cebc031e: Download complete [2023-05-08T05:45:09.400Z] df9b9388f04a: Pull complete [2023-05-08T05:45:09.400Z] 52dc419b0ee2: Pull complete [2023-05-08T05:45:09.400Z] 25bc292e5bac: Pull complete [2023-05-08T05:45:09.966Z] 114826534d7a: Verifying Checksum [2023-05-08T05:45:09.966Z] 114826534d7a: Download complete [2023-05-08T05:45:09.966Z] 8a3aa393b2d8: Verifying Checksum [2023-05-08T05:45:09.966Z] 8a3aa393b2d8: Download complete [2023-05-08T05:45:13.241Z] 114826534d7a: Pull complete [2023-05-08T05:45:13.241Z] 4657fd5d0bcf: Pull complete [2023-05-08T05:45:13.241Z] 6ad1cebc031e: Pull complete [2023-05-08T05:45:15.766Z] 8a3aa393b2d8: Pull complete [2023-05-08T05:45:15.766Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-08T05:45:15.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:45:15.766Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:15.834Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:45:15.860Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-08T05:45:18.977Z] $ docker top b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-08T05:45:19.039Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-08T05:45:19.316Z] + set -o pipefail [2023-05-08T05:45:19.316Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/4dd9a1b8-3519-4a11-be0b-9308425cc5f9 [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] [2023-05-08T05:45:23.496Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-08T05:45:23.496Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-08T05:45:23.496Z] More details here: https://snyk.co/ue1NS [2023-05-08T05:45:23.496Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-08T05:45:23.496Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-08T05:45:23.508Z] $ docker stop --time=1 b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 [2023-05-08T05:45:25.946Z] $ docker rm -f --volumes b6c776f1bdd9a81b7ec42a6f5252c9fbab91029a21547c2717a028266da00f57 [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-05-08T05:45:26.623Z] + git log --format=format:%s -1 b2ba59d11973f1a3f7e3e7e5566052d5fe958ed9 [Pipeline] sh [2023-05-08T05:45:26.911Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:45:26.911Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:27.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:45:27.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:27.269Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:45:27.297Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:45:27.631Z] $ docker top 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e -eo pid,comm [2023-05-08T05:45:27.673Z] 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-05-08T05:45:27.673Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:45:27.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:45:27.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:45:27.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:45:27.828Z] $ docker exec 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e ssh-agent [2023-05-08T05:45:27.944Z] SSH_AUTH_SOCK=/tmp/ssh-vNue2i8DtEoW/agent.31 [2023-05-08T05:45:27.944Z] SSH_AGENT_PID=37 [2023-05-08T05:45:27.948Z] Running ssh-add (command line suppressed) [2023-05-08T05:45:28.074Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12416168432654307798.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12416168432654307798.key) [2023-05-08T05:45:28.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:45:28.376Z] + git semver tag [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,537 [run_tag] DEBUG tag force:False [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,538 [check_head_tag] DEBUG check head tag [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,539 [execute] INFO git cat-file --batch-check [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,542 [execute] INFO git cat-file --batch [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,573 [execute] INFO git tag -a v3.0.0-dev.35 -m v3.0.0-dev.35 [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,574 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.35', '-m', 'v3.0.0-dev.35'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:45:28.636Z] 2023-05-08 05:45:28,579 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:28.636Z] 3.0.0-dev.35 [Pipeline] } [2023-05-08T05:45:28.646Z] $ docker exec --env ******** --env ******** 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e ssh-agent -k [2023-05-08T05:45:28.756Z] unset SSH_AUTH_SOCK; [2023-05-08T05:45:28.756Z] unset SSH_AGENT_PID; [2023-05-08T05:45:28.756Z] echo Agent pid 37 killed; [2023-05-08T05:45:28.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:45:29.069Z] + git semver [Pipeline] } [2023-05-08T05:45:29.342Z] $ docker stop --time=1 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e [2023-05-08T05:45:30.600Z] $ docker rm -f --volumes 32ce8b231b03450cc96c60984e1e312c0fe00c6869be3b24a1e0d129eda5b84e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:30.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:45:30.972Z] [2023-05-08T05:45:30.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:31.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:45:31.276Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-08T05:45:31.276Z] ab5ef0e58194: Pulling fs layer [2023-05-08T05:45:31.276Z] 9712f1f96733: Pulling fs layer [2023-05-08T05:45:31.276Z] 63f879dbbcfc: Pulling fs layer [2023-05-08T05:45:31.276Z] 0d9ebad4ef96: Pulling fs layer [2023-05-08T05:45:31.276Z] e9a5061849ea: Pulling fs layer [2023-05-08T05:45:31.276Z] d747dcd14b5f: Pulling fs layer [2023-05-08T05:45:31.276Z] 2de7ff778b66: Pulling fs layer [2023-05-08T05:45:31.276Z] d747dcd14b5f: Waiting [2023-05-08T05:45:31.276Z] e9a5061849ea: Waiting [2023-05-08T05:45:31.276Z] 2de7ff778b66: Waiting [2023-05-08T05:45:31.276Z] 0d9ebad4ef96: Waiting [2023-05-08T05:45:31.276Z] 9712f1f96733: Verifying Checksum [2023-05-08T05:45:31.276Z] 9712f1f96733: Download complete [2023-05-08T05:45:31.533Z] 63f879dbbcfc: Verifying Checksum [2023-05-08T05:45:31.533Z] 63f879dbbcfc: Download complete [2023-05-08T05:45:31.790Z] ab5ef0e58194: Verifying Checksum [2023-05-08T05:45:31.790Z] ab5ef0e58194: Download complete [2023-05-08T05:45:31.790Z] d747dcd14b5f: Verifying Checksum [2023-05-08T05:45:31.790Z] d747dcd14b5f: Download complete [2023-05-08T05:45:31.790Z] 0d9ebad4ef96: Verifying Checksum [2023-05-08T05:45:31.790Z] 0d9ebad4ef96: Download complete [2023-05-08T05:45:31.790Z] e9a5061849ea: Verifying Checksum [2023-05-08T05:45:31.790Z] e9a5061849ea: Download complete [2023-05-08T05:45:31.790Z] 2de7ff778b66: Verifying Checksum [2023-05-08T05:45:31.790Z] 2de7ff778b66: Download complete [2023-05-08T05:45:34.317Z] ab5ef0e58194: Pull complete [2023-05-08T05:45:34.317Z] 9712f1f96733: Pull complete [2023-05-08T05:45:34.882Z] 63f879dbbcfc: Pull complete [2023-05-08T05:45:38.155Z] 0d9ebad4ef96: Pull complete [2023-05-08T05:45:38.155Z] e9a5061849ea: Pull complete [2023-05-08T05:45:38.155Z] d747dcd14b5f: Pull complete [2023-05-08T05:45:39.087Z] 2de7ff778b66: Pull complete [2023-05-08T05:45:39.087Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-08T05:45:39.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:45:39.087Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:39.160Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:45:39.187Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-08T05:45:42.766Z] $ docker top b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:45:42.831Z] provisioning config files... [2023-05-08T05:45:42.838Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10631402176067147594tmp [2023-05-08T05:45:42.847Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13480973069256116593tmp [2023-05-08T05:45:42.857Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11811306795842262848tmp [Pipeline] { [Pipeline] echo [2023-05-08T05:45:42.871Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:43.150Z] ---> sigul-configuration.sh [2023-05-08T05:45:43.150Z] gpg: directory `/root/.gnupg' created [2023-05-08T05:45:43.150Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-08T05:45:43.150Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-08T05:45:43.150Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-08T05:45:43.150Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-08T05:45:43.150Z] gpg: CAST5 encrypted data [2023-05-08T05:45:43.150Z] gpg: encrypted with 1 passphrase [2023-05-08T05:45:43.150Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-08T05:45:43.433Z] + mkdir /home/jenkins [2023-05-08T05:45:43.433Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-08T05:45:43.720Z] + 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-05-08T05:45:43.728Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:44.012Z] ---> sigul-install.sh [2023-05-08T05:45:44.012Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-08T05:45:44.301Z] + git tag --list [2023-05-08T05:45:44.301Z] 0.7.1 [2023-05-08T05:45:44.301Z] v1.0.0 [2023-05-08T05:45:44.301Z] v1.1.0 [2023-05-08T05:45:44.301Z] v1.1.1 [2023-05-08T05:45:44.301Z] v1.2.2 [2023-05-08T05:45:44.301Z] v1.3.0 [2023-05-08T05:45:44.301Z] v1.3.1 [2023-05-08T05:45:44.301Z] v2.0.0 [2023-05-08T05:45:44.301Z] v2.1.0 [2023-05-08T05:45:44.301Z] v2.1.1 [2023-05-08T05:45:44.301Z] v2.1.1-dev.1 [2023-05-08T05:45:44.301Z] v2.1.1-dev.2 [2023-05-08T05:45:44.301Z] v2.1.1-dev.3 [2023-05-08T05:45:44.301Z] v2.2.0 [2023-05-08T05:45:44.301Z] v2.2.1-dev.1 [2023-05-08T05:45:44.301Z] v2.2.1-dev.2 [2023-05-08T05:45:44.301Z] v2.2.1-dev.3 [2023-05-08T05:45:44.301Z] v2.2.1-dev.4 [2023-05-08T05:45:44.301Z] v2.2.1-dev.5 [2023-05-08T05:45:44.301Z] v2.2.1-dev.6 [2023-05-08T05:45:44.301Z] v2.2.1-dev.7 [2023-05-08T05:45:44.301Z] v2.3.0 [2023-05-08T05:45:44.301Z] v2.3.0-dev.10 [2023-05-08T05:45:44.301Z] v2.3.0-dev.11 [2023-05-08T05:45:44.301Z] v2.3.0-dev.12 [2023-05-08T05:45:44.302Z] v2.3.0-dev.13 [2023-05-08T05:45:44.302Z] v2.3.0-dev.14 [2023-05-08T05:45:44.302Z] v2.3.0-dev.15 [2023-05-08T05:45:44.302Z] v2.3.0-dev.16 [2023-05-08T05:45:44.302Z] v2.3.0-dev.17 [2023-05-08T05:45:44.302Z] v2.3.0-dev.18 [2023-05-08T05:45:44.302Z] v2.3.0-dev.19 [2023-05-08T05:45:44.302Z] v2.3.0-dev.20 [2023-05-08T05:45:44.302Z] v2.3.0-dev.21 [2023-05-08T05:45:44.302Z] v2.3.0-dev.22 [2023-05-08T05:45:44.302Z] v2.3.0-dev.23 [2023-05-08T05:45:44.302Z] v2.3.0-dev.24 [2023-05-08T05:45:44.302Z] v2.3.0-dev.25 [2023-05-08T05:45:44.302Z] v2.3.0-dev.7 [2023-05-08T05:45:44.302Z] v2.3.0-dev.8 [2023-05-08T05:45:44.302Z] v2.3.0-dev.9 [2023-05-08T05:45:44.302Z] v3.0.0-dev.1 [2023-05-08T05:45:44.302Z] v3.0.0-dev.10 [2023-05-08T05:45:44.302Z] v3.0.0-dev.11 [2023-05-08T05:45:44.302Z] v3.0.0-dev.12 [2023-05-08T05:45:44.302Z] v3.0.0-dev.13 [2023-05-08T05:45:44.302Z] v3.0.0-dev.14 [2023-05-08T05:45:44.302Z] v3.0.0-dev.15 [2023-05-08T05:45:44.302Z] v3.0.0-dev.16 [2023-05-08T05:45:44.302Z] v3.0.0-dev.17 [2023-05-08T05:45:44.302Z] v3.0.0-dev.18 [2023-05-08T05:45:44.302Z] v3.0.0-dev.19 [2023-05-08T05:45:44.302Z] v3.0.0-dev.2 [2023-05-08T05:45:44.302Z] v3.0.0-dev.20 [2023-05-08T05:45:44.302Z] v3.0.0-dev.21 [2023-05-08T05:45:44.302Z] v3.0.0-dev.22 [2023-05-08T05:45:44.302Z] v3.0.0-dev.23 [2023-05-08T05:45:44.302Z] v3.0.0-dev.24 [2023-05-08T05:45:44.302Z] v3.0.0-dev.25 [2023-05-08T05:45:44.302Z] v3.0.0-dev.26 [2023-05-08T05:45:44.302Z] v3.0.0-dev.27 [2023-05-08T05:45:44.302Z] v3.0.0-dev.28 [2023-05-08T05:45:44.302Z] v3.0.0-dev.29 [2023-05-08T05:45:44.302Z] v3.0.0-dev.3 [2023-05-08T05:45:44.302Z] v3.0.0-dev.30 [2023-05-08T05:45:44.302Z] v3.0.0-dev.31 [2023-05-08T05:45:44.302Z] v3.0.0-dev.32 [2023-05-08T05:45:44.302Z] v3.0.0-dev.33 [2023-05-08T05:45:44.302Z] v3.0.0-dev.34 [2023-05-08T05:45:44.302Z] v3.0.0-dev.35 [2023-05-08T05:45:44.302Z] v3.0.0-dev.4 [2023-05-08T05:45:44.302Z] v3.0.0-dev.5 [2023-05-08T05:45:44.302Z] v3.0.0-dev.6 [2023-05-08T05:45:44.302Z] v3.0.0-dev.7 [2023-05-08T05:45:44.302Z] v3.0.0-dev.8 [2023-05-08T05:45:44.302Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-08T05:45:44.587Z] + lftools sign git-tag v3.0.0-dev.35 [2023-05-08T05:45:45.153Z] Signing Git tag with Sigul... [2023-05-08T05:45:45.153Z] Signing v3.0.0-dev.35 [Pipeline] echo [2023-05-08T05:45:45.730Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:46.012Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-08T05:45:46.026Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-08T05:45:46.046Z] $ docker stop --time=1 b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 [2023-05-08T05:45:47.352Z] $ docker rm -f --volumes b67a48dc0879ed5d73d3025f8fbc735a7675adfebe68f1d3ee383d17c9888646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-08T05:45:47.754Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:45:47.754Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:48.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:45:48.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:48.117Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:45:48.147Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:45:48.483Z] $ docker top 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d -eo pid,comm [2023-05-08T05:45:48.525Z] 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-05-08T05:45:48.525Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:45:48.569Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:45:48.569Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:45:48.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:45:48.678Z] $ docker exec 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d ssh-agent [2023-05-08T05:45:48.778Z] SSH_AUTH_SOCK=/tmp/ssh-CP9GaA8vlVmo/agent.32 [2023-05-08T05:45:48.778Z] SSH_AGENT_PID=38 [2023-05-08T05:45:48.783Z] Running ssh-add (command line suppressed) [2023-05-08T05:45:48.878Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16844856326838727648.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_16844856326838727648.key) [2023-05-08T05:45:48.891Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:45:49.182Z] + git semver bump pre [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,379 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,380 [bump_version] DEBUG bumping version:3.0.0-dev.35 on axis:pre with prefix:dev [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,380 [bump_version] DEBUG bumped version:3.0.0-dev.36 [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,380 [write_version] DEBUG write version:3.0.0-dev.36 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,380 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,380 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,382 [execute] INFO git cat-file --batch-check [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,386 [execute] INFO git cat-file --batch [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:45:49.440Z] 2023-05-08 05:45:49,392 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:49.440Z] 3.0.0-dev.36 [Pipeline] } [2023-05-08T05:45:49.448Z] $ docker exec --env ******** --env ******** 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d ssh-agent -k [2023-05-08T05:45:49.538Z] unset SSH_AUTH_SOCK; [2023-05-08T05:45:49.539Z] unset SSH_AGENT_PID; [2023-05-08T05:45:49.539Z] echo Agent pid 38 killed; [2023-05-08T05:45:49.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:45:49.848Z] + git semver [Pipeline] } [2023-05-08T05:45:50.119Z] $ docker stop --time=1 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d [2023-05-08T05:45:51.402Z] $ docker rm -f --volumes 189bfd3f09f78d8e000bda7b5bc7b089be56e91f03766e6ddf8e63a2587b4b0d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:45:51.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:45:51.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:52.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:45:52.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:52.111Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:45:52.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:45:52.495Z] $ docker top 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:45:52.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:45:52.583Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:45:52.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:45:52.699Z] $ docker exec 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c ssh-agent [2023-05-08T05:45:52.804Z] SSH_AUTH_SOCK=/tmp/ssh-EbkwPGtBFgM6/agent.32 [2023-05-08T05:45:52.804Z] SSH_AGENT_PID=38 [2023-05-08T05:45:52.808Z] Running ssh-add (command line suppressed) [2023-05-08T05:45:52.917Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14967126630428556106.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_14967126630428556106.key) [2023-05-08T05:45:52.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:45:53.216Z] + git semver push [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,392 [run_push] DEBUG push [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,392 [execute] INFO git cat-file --batch-check [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,396 [execute] INFO git rev-list ea04fd015c8dd349917ea439298cb90b4675ba83 -- [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,397 [execute] DEBUG Popen(['git', 'rev-list', 'ea04fd015c8dd349917ea439298cb90b4675ba83', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,405 [execute] INFO git fetch -v origin [2023-05-08T05:45:53.474Z] 2023-05-08 05:45:53,405 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-08T05:45:54.044Z] 2023-05-08 05:45:53,875 [run_push] DEBUG no remote changes detected [2023-05-08T05:45:54.044Z] 2023-05-08 05:45:53,875 [execute] INFO git push origin semver [2023-05-08T05:45:54.044Z] 2023-05-08 05:45:53,875 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:45:54.983Z] 2023-05-08 05:45:54,649 [run_push] DEBUG push all version tags [2023-05-08T05:45:54.983Z] 2023-05-08 05:45:54,649 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-08T05:45:54.983Z] 2023-05-08 05:45:54,650 [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-05-08T05:45:55.551Z] 2023-05-08 05:45:55,372 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-08T05:45:55.551Z] 3.0.0-dev.36 [Pipeline] } [2023-05-08T05:45:55.561Z] $ docker exec --env ******** --env ******** 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c ssh-agent -k [2023-05-08T05:45:55.656Z] unset SSH_AUTH_SOCK; [2023-05-08T05:45:55.657Z] unset SSH_AGENT_PID; [2023-05-08T05:45:55.657Z] echo Agent pid 38 killed; [2023-05-08T05:45:55.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:45:55.974Z] + git semver [Pipeline] } [2023-05-08T05:45:56.246Z] $ docker stop --time=1 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c [2023-05-08T05:45:57.558Z] $ docker rm -f --volumes 05a429ad1cc2fd9f4fee9fd72fdd48fd373f937a2097afd6ad9693f99c10d29c [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-05-08T05:45:58.052Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-08T05:45:58.052Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-08T05:45:58.052Z] total 16 [2023-05-08T05:45:58.052Z] drwxr-xr-x 3 root root 4096 May 8 05:34 . [2023-05-08T05:45:58.052Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. [2023-05-08T05:45:58.052Z] drwxr-xr-x 2 root root 4096 May 8 05:34 cost [2023-05-08T05:45:58.052Z] -rw-r--r-- 1 root root 88 May 8 05:34 cost.csv [2023-05-08T05:45:58.052Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-08T05:45:58.052Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-08T05:45:58.052Z] total 16 [2023-05-08T05:45:58.052Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:34 . [2023-05-08T05:45:58.052Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. [2023-05-08T05:45:58.052Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:34 cost [2023-05-08T05:45:58.052Z] -rw-r--r-- 1 jenkins jenkins 88 May 8 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:58.342Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:59.200Z] ---> package-listing.sh [2023-05-08T05:45:59.200Z] ++ facter osfamily [2023-05-08T05:45:59.200Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T05:45:59.460Z] + OS_FAMILY=debian [2023-05-08T05:45:59.460Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-08T05:45:59.460Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T05:45:59.460Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T05:45:59.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T05:45:59.460Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T05:45:59.460Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-08T05:45:59.460Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T05:45:59.460Z] + case "${OS_FAMILY}" in [2023-05-08T05:45:59.460Z] + dpkg -l [2023-05-08T05:45:59.460Z] + grep '^ii' [2023-05-08T05:45:59.460Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T05:45:59.460Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T05:45:59.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T05:45:59.460Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-08T05:45:59.460Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-08T05:45:59.460Z] + 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-05-08T05:45:59.468Z] 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-05-08T05:45:59.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:00.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:46:00.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:00.378Z] prd-ubuntu20.04-docker-8c-8g-14465 does not seem to be running inside a container [2023-05-08T05:46:00.409Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:46:00.585Z] $ docker top 83d242a8d819579c6bb6ee5e7279aea41d4b9fca8ee8445237d89f26ff2ba5ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:46:00.915Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T05:46:01.273Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T05:46:01.600Z] + ls /var/log/sa-host [2023-05-08T05:46:01.600Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:46:01.671Z] provisioning config files... [2023-05-08T05:46:01.693Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7380026681284174276tmp [Pipeline] { [Pipeline] echo [2023-05-08T05:46:01.715Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:02.011Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T05:46:02.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:03.607Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T05:46:03.614Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:04.202Z] ---> sudo-logs.sh [2023-05-08T05:46:04.202Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T05:46:04.221Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:04.503Z] ---> job-cost.sh [2023-05-08T05:46:04.503Z] lf-activate-venv: SKIPPING [2023-05-08T05:46:04.503Z] DEBUG: total: 0.2199999988079071 [2023-05-08T05:46:04.503Z] INFO: Retrieving Stack Cost... [2023-05-08T05:46:04.762Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T05:46:05.328Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T05:46:05.339Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:05.621Z] ---> logs-deploy.sh [2023-05-08T05:46:05.621Z] lf-activate-venv: SKIPPING [2023-05-08T05:46:05.621Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/101 [2023-05-08T05:46:05.621Z] INFO: archiving workspace using pattern(s): [2023-05-08T05:46:06.559Z] Archives upload complete. [2023-05-08T05:46:06.559Z] INFO: archiving logs to Nexus [2023-05-08T05:46:07.127Z] ---> uname -a: [2023-05-08T05:46:07.127Z] Linux prd-ubuntu20-04-docker-8c-8g-14465 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-08T05:46:07.127Z] [2023-05-08T05:46:07.127Z]