Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 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-ssh2592980051561652645.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-ssh9880062868986253824.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-ssh1872107180413037155.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-ssh15171229732613384231.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-ssh3136145564076349051.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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-15204’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15207’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15206’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15210 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 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479)" > 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 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 > git rev-list --no-walk 5189b6b75de2ff976af34f9037f44b6050849efe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-11T14:13:15.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-11T14:13:16.050Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-11T14:13:16.069Z] ========================================================= [2023-05-11T14:13:16.069Z] EdgeX Global Pipelines Version Info [2023-05-11T14:13:16.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:13:16.781Z] ------------------- [2023-05-11T14:13:16.781Z] stable info: [2023-05-11T14:13:16.781Z] ------------------- [2023-05-11T14:13:16.781Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-11T14:13:16.781Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T14:13:16.781Z] Message: update stable to v1.0.249 [2023-05-11T14:13:17.353Z] ------------------- [2023-05-11T14:13:17.353Z] experimental info: [2023-05-11T14:13:17.353Z] ------------------- [2023-05-11T14:13:17.353Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-11T14:13:17.353Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-11T14:13:17.353Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-11T14:13:17.518Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-11T14:13:17.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-11T14:13:17.549Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-11T14:13:17.568Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-11T14:13:17.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-11T14:13:17.594Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-11T14:13:17.606Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-11T14:13:17.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-11T14:13:17.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-11T14:13:17.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-11T14:13:17.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-11T14:13:17.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-11T14:13:17.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-11T14:13:17.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-11T14:13:17.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T14:13:17.733Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-11T14:13:17.744Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T14:13:17.755Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-11T14:13:17.772Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-11T14:13:17.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-11T14:13:17.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-11T14:13:17.818Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-11T14:13:17.832Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-11T14:13:17.844Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-11T14:13:17.858Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-11T14:13:17.877Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-11T14:13:17.894Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-11T14:13:17.910Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-11T14:13:17.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-11T14:13:17.931Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-11T14:13:17.950Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo [2023-05-11T14:13:17.966Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4df1e9a [Pipeline] echo [2023-05-11T14:13:17.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:13:18.025Z] provisioning config files... [2023-05-11T14:13:18.038Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11039132582392064555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:13:18.337Z] ---> docker-login.sh [2023-05-11T14:13:18.337Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:13:18.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:18.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:18.599Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:18.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:18.599Z] [2023-05-11T14:13:18.599Z] Login Succeeded [2023-05-11T14:13:18.599Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:13:18.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:18.860Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:18.860Z] [2023-05-11T14:13:18.860Z] Login Succeeded [2023-05-11T14:13:18.860Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:13:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:18.860Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:18.860Z] [2023-05-11T14:13:18.860Z] Login Succeeded [2023-05-11T14:13:18.860Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:13:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:18.860Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:18.860Z] [2023-05-11T14:13:18.860Z] Login Succeeded [2023-05-11T14:13:18.860Z] docker.io [2023-05-11T14:13:19.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:19.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:19.382Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:19.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:19.382Z] [2023-05-11T14:13:19.382Z] Login Succeeded [2023-05-11T14:13:19.382Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:13:19.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-11T14:13:19.755Z] + git rev-list -1 --merges 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c~1..4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo [2023-05-11T14:13:19.801Z] -----------> git rev-list -1 --merges 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c~1..4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [false] [Pipeline] sh [2023-05-11T14:13:20.097Z] + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo [2023-05-11T14:13:20.109Z] ========================================================= [2023-05-11T14:13:20.109Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-11T14:13:20.109Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:13:20.443Z] + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] echo [2023-05-11T14:13:20.454Z] [semverPrep] GIT_COMMIT: 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479) [Pipeline] echo [2023-05-11T14:13:20.465Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-11T14:13:20.811Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:13:20.811Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-11T14:13:20.811Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-11T14:13:20.811Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-11T14:13:20.811Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-11T14:13:20.811Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-11T14:13:20.811Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:21.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:13:21.159Z] [2023-05-11T14:13:21.159Z] 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-11T14:13:21.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:13:21.463Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-11T14:13:21.463Z] b85a868b505f: Pulling fs layer [2023-05-11T14:13:21.463Z] e2be974225ed: Pulling fs layer [2023-05-11T14:13:21.463Z] 339a4e72a1f5: Pulling fs layer [2023-05-11T14:13:21.463Z] 988bab9f4d93: Pulling fs layer [2023-05-11T14:13:21.463Z] 1469e6f7b9e6: Pulling fs layer [2023-05-11T14:13:21.463Z] eaf3925da568: Pulling fs layer [2023-05-11T14:13:21.463Z] bab4dde63d76: Pulling fs layer [2023-05-11T14:13:21.463Z] bde34c3a00c8: Pulling fs layer [2023-05-11T14:13:21.463Z] b352a97aabf1: Pulling fs layer [2023-05-11T14:13:21.463Z] 4872d77fe225: Pulling fs layer [2023-05-11T14:13:21.463Z] 5851b861e8e6: Pulling fs layer [2023-05-11T14:13:21.463Z] bab4dde63d76: Waiting [2023-05-11T14:13:21.463Z] bde34c3a00c8: Waiting [2023-05-11T14:13:21.463Z] b352a97aabf1: Waiting [2023-05-11T14:13:21.463Z] 4872d77fe225: Waiting [2023-05-11T14:13:21.463Z] 5851b861e8e6: Waiting [2023-05-11T14:13:21.463Z] 988bab9f4d93: Waiting [2023-05-11T14:13:21.463Z] 1469e6f7b9e6: Waiting [2023-05-11T14:13:21.463Z] eaf3925da568: Waiting [2023-05-11T14:13:21.463Z] e2be974225ed: Verifying Checksum [2023-05-11T14:13:21.463Z] e2be974225ed: Download complete [2023-05-11T14:13:21.463Z] 988bab9f4d93: Verifying Checksum [2023-05-11T14:13:21.463Z] 988bab9f4d93: Download complete [2023-05-11T14:13:21.463Z] 1469e6f7b9e6: Verifying Checksum [2023-05-11T14:13:21.463Z] 1469e6f7b9e6: Download complete [2023-05-11T14:13:21.463Z] 339a4e72a1f5: Verifying Checksum [2023-05-11T14:13:21.463Z] 339a4e72a1f5: Download complete [2023-05-11T14:13:21.463Z] eaf3925da568: Verifying Checksum [2023-05-11T14:13:21.463Z] eaf3925da568: Download complete [2023-05-11T14:13:21.723Z] bde34c3a00c8: Verifying Checksum [2023-05-11T14:13:21.723Z] bde34c3a00c8: Download complete [2023-05-11T14:13:21.723Z] b352a97aabf1: Verifying Checksum [2023-05-11T14:13:21.723Z] b352a97aabf1: Download complete [2023-05-11T14:13:21.723Z] 4872d77fe225: Verifying Checksum [2023-05-11T14:13:21.723Z] 4872d77fe225: Download complete [2023-05-11T14:13:21.723Z] 5851b861e8e6: Verifying Checksum [2023-05-11T14:13:21.723Z] 5851b861e8e6: Download complete [2023-05-11T14:13:21.723Z] b85a868b505f: Verifying Checksum [2023-05-11T14:13:21.723Z] b85a868b505f: Download complete [2023-05-11T14:13:21.985Z] bab4dde63d76: Verifying Checksum [2023-05-11T14:13:21.985Z] bab4dde63d76: Download complete [2023-05-11T14:13:22.941Z] b85a868b505f: Pull complete [2023-05-11T14:13:23.202Z] e2be974225ed: Pull complete [2023-05-11T14:13:23.773Z] 339a4e72a1f5: Pull complete [2023-05-11T14:13:23.773Z] 988bab9f4d93: Pull complete [2023-05-11T14:13:24.032Z] 1469e6f7b9e6: Pull complete [2023-05-11T14:13:24.291Z] eaf3925da568: Pull complete [2023-05-11T14:13:26.198Z] bab4dde63d76: Pull complete [2023-05-11T14:13:26.765Z] bde34c3a00c8: Pull complete [2023-05-11T14:13:27.336Z] b352a97aabf1: Pull complete [2023-05-11T14:13:27.611Z] 4872d77fe225: Pull complete [2023-05-11T14:13:27.871Z] 5851b861e8e6: Pull complete [2023-05-11T14:13:27.871Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-11T14:13:28.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:13:28.130Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:13:28.246Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:13:28.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T14:13:32.937Z] $ docker top bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 -eo pid,comm [2023-05-11T14:13:32.994Z] 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-11T14:13:32.994Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:13:33.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:13:33.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:13:33.152Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:13:33.156Z] $ docker exec bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent [2023-05-11T14:13:33.272Z] SSH_AUTH_SOCK=/tmp/ssh-HcBbTJecQnHU/agent.31 [2023-05-11T14:13:33.272Z] SSH_AGENT_PID=37 [2023-05-11T14:13:33.280Z] Running ssh-add (command line suppressed) [2023-05-11T14:13:33.398Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1341537201491267615.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_1341537201491267615.key) [2023-05-11T14:13:33.410Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:13:33.698Z] + git tag --points-at HEAD [Pipeline] } [2023-05-11T14:13:33.711Z] $ docker exec --env ******** --env ******** bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent -k [2023-05-11T14:13:33.798Z] unset SSH_AUTH_SOCK; [2023-05-11T14:13:33.799Z] unset SSH_AGENT_PID; [2023-05-11T14:13:33.799Z] echo Agent pid 37 killed; [2023-05-11T14:13:33.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-11T14:13:33.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:13:33.837Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:13:33.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:13:33.964Z] $ docker exec bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent [2023-05-11T14:13:34.077Z] SSH_AUTH_SOCK=/tmp/ssh-pARz9tOhVXZ0/agent.69 [2023-05-11T14:13:34.077Z] SSH_AGENT_PID=75 [2023-05-11T14:13:34.081Z] Running ssh-add (command line suppressed) [2023-05-11T14:13:34.184Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17663550846608322258.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_17663550846608322258.key) [2023-05-11T14:13:34.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:13:34.489Z] + git semver init [2023-05-11T14:13:35.058Z] 2023-05-11 14:13:34,863 [run_init] DEBUG init version:0.0.0 force:False [2023-05-11T14:13:35.058Z] 2023-05-11 14:13:34,864 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-11T14:13:35.058Z] 2023-05-11 14:13:34,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-11T14:13:35.058Z] 2023-05-11 14:13:34,866 [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-11T14:13:36.000Z] 2023-05-11 14:13:35,721 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-11T14:13:36.000Z] 2023-05-11 14:13:35,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-11T14:13:36.000Z] 2023-05-11 14:13:35,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:13:36.000Z] 2023-05-11 14:13:35,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:13:36.000Z] 3.0.0-dev.40 [Pipeline] } [2023-05-11T14:13:36.011Z] $ docker exec --env ******** --env ******** bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 ssh-agent -k [2023-05-11T14:13:36.112Z] unset SSH_AUTH_SOCK; [2023-05-11T14:13:36.113Z] unset SSH_AGENT_PID; [2023-05-11T14:13:36.113Z] echo Agent pid 75 killed; [2023-05-11T14:13:36.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:13:36.421Z] + git semver [Pipeline] } [2023-05-11T14:13:36.696Z] $ docker stop --time=1 bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 [2023-05-11T14:13:38.009Z] $ docker rm -f --volumes bccc708fd4194ab73a47f130c7be8023c7ece3bfc4c3009e1fb644eacaf82d05 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:13:38.350Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-11T14:13:38.563Z] Stashed 1 file(s) [Pipeline] echo [2023-05-11T14:13:38.566Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.40 [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-11T14:13:38.717Z] provisioning config files... [2023-05-11T14:13:38.736Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config4152310869077263419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:13:39.030Z] ---> docker-login.sh [2023-05-11T14:13:39.030Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:13:39.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:39.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:39.030Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:39.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:39.030Z] [2023-05-11T14:13:39.030Z] Login Succeeded [2023-05-11T14:13:39.030Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:13:39.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:39.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:39.030Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:39.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:39.030Z] [2023-05-11T14:13:39.030Z] Login Succeeded [2023-05-11T14:13:39.030Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:13:39.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:39.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:39.290Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:39.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:39.290Z] [2023-05-11T14:13:39.290Z] Login Succeeded [2023-05-11T14:13:39.290Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:13:39.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:39.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:39.290Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:39.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:39.290Z] [2023-05-11T14:13:39.290Z] Login Succeeded [2023-05-11T14:13:39.290Z] docker.io [2023-05-11T14:13:39.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:13:39.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:13:39.550Z] Configure a credential helper to remove this warning. See [2023-05-11T14:13:39.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:13:39.550Z] [2023-05-11T14:13:39.551Z] Login Succeeded [2023-05-11T14:13:39.551Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:13:39.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T14:13:39.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:13:39.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:13:39.651Z] ========================================================= [2023-05-11T14:13:39.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-11T14:13:39.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:13:39.970Z] + 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-11T14:13:39.970Z] Sending build context to Docker daemon 6.503MB [2023-05-11T14:13:39.970Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:13:39.970Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-11T14:13:39.970Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-11T14:13:39.970Z] f56be85fc22e: Pulling fs layer [2023-05-11T14:13:39.970Z] 85791d961cd3: Pulling fs layer [2023-05-11T14:13:39.970Z] d694b5ae8c79: Pulling fs layer [2023-05-11T14:13:39.970Z] 9f32a84ed3da: Pulling fs layer [2023-05-11T14:13:39.970Z] 4d19c01a9841: Pulling fs layer [2023-05-11T14:13:39.970Z] 9325e15d5711: Pulling fs layer [2023-05-11T14:13:39.970Z] 556b6ee489ea: Pulling fs layer [2023-05-11T14:13:39.970Z] c5a4b2cf53e6: Pulling fs layer [2023-05-11T14:13:39.970Z] 9f32a84ed3da: Waiting [2023-05-11T14:13:39.970Z] 4d19c01a9841: Waiting [2023-05-11T14:13:39.970Z] 9325e15d5711: Waiting [2023-05-11T14:13:39.970Z] 556b6ee489ea: Waiting [2023-05-11T14:13:39.970Z] c5a4b2cf53e6: Waiting [2023-05-11T14:13:39.970Z] 85791d961cd3: Download complete [2023-05-11T14:13:40.230Z] 9f32a84ed3da: Verifying Checksum [2023-05-11T14:13:40.230Z] 9f32a84ed3da: Download complete [2023-05-11T14:13:40.230Z] 4d19c01a9841: Download complete [2023-05-11T14:13:40.230Z] f56be85fc22e: Download complete [2023-05-11T14:13:40.230Z] 9325e15d5711: Verifying Checksum [2023-05-11T14:13:40.230Z] 9325e15d5711: Download complete [2023-05-11T14:13:40.230Z] f56be85fc22e: Pull complete [2023-05-11T14:13:40.489Z] 85791d961cd3: Pull complete [2023-05-11T14:13:40.747Z] d694b5ae8c79: Verifying Checksum [2023-05-11T14:13:40.747Z] d694b5ae8c79: Download complete [2023-05-11T14:13:40.747Z] c5a4b2cf53e6: Verifying Checksum [2023-05-11T14:13:40.747Z] c5a4b2cf53e6: Download complete [2023-05-11T14:13:41.314Z] 556b6ee489ea: Verifying Checksum [2023-05-11T14:13:41.314Z] 556b6ee489ea: Download complete [2023-05-11T14:13:44.601Z] d694b5ae8c79: Pull complete [2023-05-11T14:13:44.601Z] 9f32a84ed3da: Pull complete [2023-05-11T14:13:44.601Z] 4d19c01a9841: Pull complete [2023-05-11T14:13:44.601Z] 9325e15d5711: Pull complete [2023-05-11T14:13:47.136Z] 556b6ee489ea: Pull complete [2023-05-11T14:13:48.071Z] c5a4b2cf53e6: Pull complete [2023-05-11T14:13:48.071Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-11T14:13:48.071Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-11T14:13:48.071Z] ---> c4be618373d6 [2023-05-11T14:13:48.071Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:13:53.670Z] Still waiting to schedule task [2023-05-11T14:13:53.671Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15206’ [2023-05-11T14:13:54.753Z] ---> Running in 0c503cd66f92 [2023-05-11T14:13:54.753Z] Removing intermediate container 0c503cd66f92 [2023-05-11T14:13:54.753Z] ---> 14b2fbf47d73 [2023-05-11T14:13:54.753Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:13:55.011Z] ---> Running in 7bcc17704bdd [2023-05-11T14:13:55.271Z] Removing intermediate container 7bcc17704bdd [2023-05-11T14:13:55.271Z] ---> 6d8a289f4190 [2023-05-11T14:13:55.271Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-11T14:13:55.271Z] ---> Running in 14f60091afa5 [2023-05-11T14:13:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:55.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:13:55.791Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-11T14:13:55.791Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-11T14:13:55.791Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-11T14:13:55.791Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:13:55.791Z] OK: 270 MiB in 61 packages [2023-05-11T14:13:56.367Z] Removing intermediate container 14f60091afa5 [2023-05-11T14:13:56.367Z] ---> e3c33ae10bc2 [2023-05-11T14:13:56.367Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-11T14:13:56.627Z] ---> Running in c0e4e5b86e1c [2023-05-11T14:13:56.627Z] Removing intermediate container c0e4e5b86e1c [2023-05-11T14:13:56.627Z] ---> 6679bfcbf721 [2023-05-11T14:13:56.627Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-11T14:13:56.627Z] ---> b91ca3ae1a04 [2023-05-11T14:13:56.627Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:13:56.886Z] ---> Running in 46ac7067127c [2023-05-11T14:14:29.105Z] Removing intermediate container 46ac7067127c [2023-05-11T14:14:29.106Z] ---> 0f621d7aeb6c [2023-05-11T14:14:29.106Z] Step 9/10 : COPY . . [2023-05-11T14:14:29.106Z] ---> 8c2bcb571f77 [2023-05-11T14:14:29.106Z] Step 10/10 : RUN ${MAKE} [2023-05-11T14:14:29.106Z] ---> Running in 55c69e216926 [2023-05-11T14:14:29.106Z] noop [2023-05-11T14:14:29.106Z] Removing intermediate container 55c69e216926 [2023-05-11T14:14:29.106Z] ---> 62328b99a700 [2023-05-11T14:14:29.106Z] Successfully built 62328b99a700 [2023-05-11T14:14:29.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:14:29.426Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T14:14:29.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:14:29.499Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:14:29.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T14:14:29.905Z] $ docker top 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:14:30.255Z] + go version [2023-05-11T14:14:30.255Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-11T14:14:30.266Z] $ docker stop --time=1 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 [2023-05-11T14:14:31.670Z] $ docker rm -f --volumes 73318f535ad13cae73cd38f9ac2a6ebffd27b2a58d471e779e40e37634771257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:14:32.085Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-11T14:14:32.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:14:32.166Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:14:32.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-11T14:14:32.550Z] $ docker top 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:14:32.890Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-11T14:14:33.187Z] + make test [2023-05-11T14:14:33.187Z] go test ./... -coverprofile=coverage.out [2023-05-11T14:14:38.457Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-11T14:14:48.433Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-11T14:14:48.433Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements [2023-05-11T14:14:56.546Z] go vet ./... [2023-05-11T14:14:59.828Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T14:14:59.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T14:14:59.828Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T14:14:59.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T14:14:59.858Z] $ docker stop --time=1 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 [2023-05-11T14:15:04.867Z] $ docker rm -f --volumes 704fca5051ec73b3e323a69ec2012ef917cd06a92f6832e61d37ecc8697f83e6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:15:05.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T14:15:05.452Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-11T14:15:05.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T14:15:06.203Z] + ls -al . [2023-05-11T14:15:06.203Z] total 184 [2023-05-11T14:15:06.203Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 14:14 . [2023-05-11T14:15:06.203Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:13 .. [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:13 .dockerignore [2023-05-11T14:15:06.203Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:13 .git [2023-05-11T14:15:06.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 .github [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 14:13 .gitignore [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:13 .golangci.yml [2023-05-11T14:15:06.203Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:13 .semver [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 11 14:13 Attribution.txt [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 11 14:13 CHANGELOG.md [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 11 14:13 Dockerfile [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:13 GOVERNANCE.md [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 14:13 Jenkinsfile [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:13 LICENSE [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 11 14:13 Makefile [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 14:13 OWNERS.md [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 11 14:13 README.md [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:13 VERSION [2023-05-11T14:15:06.203Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:13 bin [2023-05-11T14:15:06.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 cmd [2023-05-11T14:15:06.203Z] -rw-r--r-- 1 jenkins jenkins 24160 May 11 14:14 coverage.out [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 11 14:13 go.mod [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 11 14:13 go.sum [2023-05-11T14:15:06.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:13 internal [2023-05-11T14:15:06.203Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:13 simulator [2023-05-11T14:15:06.203Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:13 snap [2023-05-11T14:15:06.203Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:06.529Z] + 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c --label arch=amd64 --label version=3.0.0-dev.40 . [2023-05-11T14:15:06.529Z] Sending build context to Docker daemon 6.529MB [2023-05-11T14:15:06.529Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:15:06.529Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-11T14:15:06.529Z] ---> 62328b99a700 [2023-05-11T14:15:06.529Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:15:06.787Z] ---> Running in 1fed89fda559 [2023-05-11T14:15:07.047Z] Removing intermediate container 1fed89fda559 [2023-05-11T14:15:07.047Z] ---> 15c77184ae80 [2023-05-11T14:15:07.047Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:15:07.047Z] ---> Running in 156c5e9b3e27 [2023-05-11T14:15:07.047Z] Removing intermediate container 156c5e9b3e27 [2023-05-11T14:15:07.048Z] ---> 10585853424c [2023-05-11T14:15:07.048Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-11T14:15:07.048Z] ---> Running in 75e50d56dba8 [2023-05-11T14:15:07.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:15:07.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:15:07.873Z] OK: 270 MiB in 61 packages [2023-05-11T14:15:08.131Z] Removing intermediate container 75e50d56dba8 [2023-05-11T14:15:08.131Z] ---> c4e92d60fdd8 [2023-05-11T14:15:08.132Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-11T14:15:08.132Z] ---> Running in c81da9295bdc [2023-05-11T14:15:08.132Z] Removing intermediate container c81da9295bdc [2023-05-11T14:15:08.132Z] ---> 63ce84d0ed9f [2023-05-11T14:15:08.132Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-11T14:15:08.391Z] ---> 48357297eee0 [2023-05-11T14:15:08.391Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:15:08.391Z] ---> Running in 039d63e51580 [2023-05-11T14:15:09.432Z] Removing intermediate container 039d63e51580 [2023-05-11T14:15:09.432Z] ---> b0639ba28a7b [2023-05-11T14:15:09.432Z] Step 9/22 : COPY . . [2023-05-11T14:15:09.692Z] ---> 3f7ac79e42ca [2023-05-11T14:15:09.692Z] Step 10/22 : RUN ${MAKE} [2023-05-11T14:15:09.692Z] ---> Running in 04b2ac81a7d9 [2023-05-11T14:15:10.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-11T14:15:33.447Z] Removing intermediate container 04b2ac81a7d9 [2023-05-11T14:15:33.447Z] ---> a1bd9c0e37a5 [2023-05-11T14:15:33.447Z] Step 11/22 : FROM alpine:3.17 [2023-05-11T14:15:33.447Z] 3.17: Pulling from library/alpine [2023-05-11T14:15:33.447Z] f56be85fc22e: Already exists [2023-05-11T14:15:33.447Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T14:15:33.447Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T14:15:33.447Z] ---> 9ed4aefc74f6 [2023-05-11T14:15:33.447Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-11T14:15:33.447Z] ---> Running in 1a07cd4362bd [2023-05-11T14:15:33.447Z] Removing intermediate container 1a07cd4362bd [2023-05-11T14:15:33.447Z] ---> 33c260da9963 [2023-05-11T14:15:33.447Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-11T14:15:33.447Z] ---> Running in c1a01ba9398d [2023-05-11T14:15:33.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-11T14:15:33.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-11T14:15:33.447Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T14:15:33.447Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:15:33.447Z] OK: 7 MiB in 16 packages [2023-05-11T14:15:33.447Z] Removing intermediate container c1a01ba9398d [2023-05-11T14:15:33.447Z] ---> e57149aaa2cf [2023-05-11T14:15:33.447Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-11T14:15:33.447Z] ---> abe2d09ee618 [2023-05-11T14:15:33.447Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-11T14:15:33.707Z] ---> ea3e7a7a5365 [2023-05-11T14:15:33.707Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-11T14:15:33.707Z] ---> f97a409d11fd [2023-05-11T14:15:33.707Z] Step 17/22 : EXPOSE 59901 [2023-05-11T14:15:33.707Z] ---> Running in 53d97a28c935 [2023-05-11T14:15:33.968Z] Removing intermediate container 53d97a28c935 [2023-05-11T14:15:33.968Z] ---> 43671cd24d64 [2023-05-11T14:15:33.968Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-11T14:15:33.968Z] ---> Running in a84f3cfc7a6a [2023-05-11T14:15:33.968Z] Removing intermediate container a84f3cfc7a6a [2023-05-11T14:15:33.968Z] ---> 7b40c088d9d4 [2023-05-11T14:15:33.968Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-11T14:15:33.968Z] ---> Running in 10c11f213480 [2023-05-11T14:15:33.968Z] Removing intermediate container 10c11f213480 [2023-05-11T14:15:33.968Z] ---> 52e0267d7601 [2023-05-11T14:15:33.968Z] Step 20/22 : LABEL arch=amd64 [2023-05-11T14:15:34.228Z] ---> Running in e6d5529acc16 [2023-05-11T14:15:34.228Z] Removing intermediate container e6d5529acc16 [2023-05-11T14:15:34.228Z] ---> a2ab23d1a4d3 [2023-05-11T14:15:34.228Z] Step 21/22 : LABEL git_sha=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:15:34.496Z] ---> Running in f631c45fb7ba [2023-05-11T14:15:34.496Z] Removing intermediate container f631c45fb7ba [2023-05-11T14:15:34.496Z] ---> 18a731cd25a5 [2023-05-11T14:15:34.496Z] Step 22/22 : LABEL version=3.0.0-dev.40 [2023-05-11T14:15:34.496Z] ---> Running in e6c158aaeb80 [2023-05-11T14:15:34.496Z] Removing intermediate container e6c158aaeb80 [2023-05-11T14:15:34.496Z] ---> 04f12cf00859 [2023-05-11T14:15:34.496Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T14:15:34.755Z] Successfully built 04f12cf00859 [2023-05-11T14:15:34.755Z] 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-11T14:15:34.857Z] provisioning config files... [2023-05-11T14:15:34.865Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17187211487010024868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:15:35.156Z] ---> docker-login.sh [2023-05-11T14:15:35.156Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:15:35.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:35.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:35.156Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:35.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:35.156Z] [2023-05-11T14:15:35.156Z] Login Succeeded [2023-05-11T14:15:35.156Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:15:35.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:35.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:35.156Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:35.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:35.156Z] [2023-05-11T14:15:35.156Z] Login Succeeded [2023-05-11T14:15:35.156Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:15:35.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:35.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:35.414Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:35.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:35.414Z] [2023-05-11T14:15:35.414Z] Login Succeeded [2023-05-11T14:15:35.414Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:15:35.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:35.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:35.415Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:35.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:35.415Z] [2023-05-11T14:15:35.415Z] Login Succeeded [2023-05-11T14:15:35.415Z] docker.io [2023-05-11T14:15:35.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:15:35.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:15:35.674Z] Configure a credential helper to remove this warning. See [2023-05-11T14:15:35.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:15:35.674Z] [2023-05-11T14:15:35.674Z] Login Succeeded [2023-05-11T14:15:35.674Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:15:35.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:15:35.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:15:35.743Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-11T14:15:35.743Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:15:35.743Z] latest [2023-05-11T14:15:35.743Z] 3.0.0-dev.40 [2023-05-11T14:15:35.743Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:15:35.743Z] main [2023-05-11T14:15:35.743Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:36.071Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:36.381Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:15:36.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-11T14:15:36.382Z] e0b052a5c53b: Preparing [2023-05-11T14:15:36.382Z] 0554904e289d: Preparing [2023-05-11T14:15:36.382Z] ecfc4cfb4225: Preparing [2023-05-11T14:15:36.382Z] d10f1c1f6b3b: Preparing [2023-05-11T14:15:36.382Z] f1417ff83b31: Preparing [2023-05-11T14:15:36.382Z] f1417ff83b31: Layer already exists [2023-05-11T14:15:36.382Z] d10f1c1f6b3b: Pushed [2023-05-11T14:15:36.382Z] 0554904e289d: Pushed [2023-05-11T14:15:36.382Z] e0b052a5c53b: Pushed [2023-05-11T14:15:39.672Z] ecfc4cfb4225: Pushed [2023-05-11T14:15:39.672Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:39.994Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:40.298Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-11T14:15:40.298Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-11T14:15:40.298Z] e0b052a5c53b: Preparing [2023-05-11T14:15:40.298Z] 0554904e289d: Preparing [2023-05-11T14:15:40.298Z] ecfc4cfb4225: Preparing [2023-05-11T14:15:40.298Z] d10f1c1f6b3b: Preparing [2023-05-11T14:15:40.298Z] f1417ff83b31: Preparing [2023-05-11T14:15:40.298Z] f1417ff83b31: Layer already exists [2023-05-11T14:15:40.298Z] 0554904e289d: Layer already exists [2023-05-11T14:15:40.298Z] e0b052a5c53b: Layer already exists [2023-05-11T14:15:40.298Z] d10f1c1f6b3b: Layer already exists [2023-05-11T14:15:40.298Z] ecfc4cfb4225: Layer already exists [2023-05-11T14:15:40.298Z] latest: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:40.606Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:40.913Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 [2023-05-11T14:15:40.913Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-11T14:15:40.913Z] e0b052a5c53b: Preparing [2023-05-11T14:15:40.913Z] 0554904e289d: Preparing [2023-05-11T14:15:40.913Z] ecfc4cfb4225: Preparing [2023-05-11T14:15:40.913Z] d10f1c1f6b3b: Preparing [2023-05-11T14:15:40.913Z] f1417ff83b31: Preparing [2023-05-11T14:15:40.913Z] d10f1c1f6b3b: Layer already exists [2023-05-11T14:15:40.913Z] f1417ff83b31: Layer already exists [2023-05-11T14:15:40.913Z] e0b052a5c53b: Layer already exists [2023-05-11T14:15:40.913Z] ecfc4cfb4225: Layer already exists [2023-05-11T14:15:40.913Z] 0554904e289d: Layer already exists [2023-05-11T14:15:40.913Z] 3.0.0-dev.40: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:41.221Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:41.526Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:15:41.527Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-11T14:15:41.527Z] e0b052a5c53b: Preparing [2023-05-11T14:15:41.527Z] 0554904e289d: Preparing [2023-05-11T14:15:41.527Z] ecfc4cfb4225: Preparing [2023-05-11T14:15:41.527Z] d10f1c1f6b3b: Preparing [2023-05-11T14:15:41.527Z] f1417ff83b31: Preparing [2023-05-11T14:15:41.527Z] f1417ff83b31: Layer already exists [2023-05-11T14:15:41.527Z] d10f1c1f6b3b: Layer already exists [2023-05-11T14:15:41.527Z] e0b052a5c53b: Layer already exists [2023-05-11T14:15:41.527Z] 0554904e289d: Layer already exists [2023-05-11T14:15:41.527Z] ecfc4cfb4225: Layer already exists [2023-05-11T14:15:41.527Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:41.837Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:42.150Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-11T14:15:42.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-11T14:15:42.150Z] e0b052a5c53b: Preparing [2023-05-11T14:15:42.150Z] 0554904e289d: Preparing [2023-05-11T14:15:42.150Z] ecfc4cfb4225: Preparing [2023-05-11T14:15:42.150Z] d10f1c1f6b3b: Preparing [2023-05-11T14:15:42.150Z] f1417ff83b31: Preparing [2023-05-11T14:15:42.150Z] f1417ff83b31: Layer already exists [2023-05-11T14:15:42.150Z] d10f1c1f6b3b: Layer already exists [2023-05-11T14:15:42.150Z] e0b052a5c53b: Layer already exists [2023-05-11T14:15:42.150Z] ecfc4cfb4225: Layer already exists [2023-05-11T14:15:42.150Z] 0554904e289d: Layer already exists [2023-05-11T14:15:42.150Z] main: digest: sha256:a98050f5fd5350d4b9748353707e279b261bc4101599d3b715581e9de67d0e9a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:15:42.202Z] ===================================================== [Pipeline] echo [2023-05-11T14:15:42.211Z] taggedImages: [2023-05-11T14:15:42.211Z] - nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:15:42.211Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-11T14:15:42.211Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.40 [2023-05-11T14:15:42.211Z] - nexus3.edgexfoundry.org:10004/device-modbus:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:15:42.211Z] - 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-11T14:15:42.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:15:42.565Z] [2023-05-11T14:15:42.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:15:42.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:15:42.864Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-11T14:15:42.864Z] 5eb5b503b376: Pulling fs layer [2023-05-11T14:15:42.864Z] 5c69ac0246d0: Pulling fs layer [2023-05-11T14:15:42.864Z] ec43610c2a17: Pulling fs layer [2023-05-11T14:15:42.864Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-11T14:15:42.864Z] 33b1e0a273af: Pulling fs layer [2023-05-11T14:15:42.864Z] 5d3b04190fa2: Pulling fs layer [2023-05-11T14:15:42.864Z] 2f39f015ded8: Pulling fs layer [2023-05-11T14:15:42.864Z] 33b1e0a273af: Waiting [2023-05-11T14:15:42.864Z] 3a2ae6a8a46f: Waiting [2023-05-11T14:15:42.864Z] 5c69ac0246d0: Download complete [2023-05-11T14:15:42.864Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-11T14:15:42.864Z] 3a2ae6a8a46f: Download complete [2023-05-11T14:15:43.123Z] 33b1e0a273af: Verifying Checksum [2023-05-11T14:15:43.123Z] 33b1e0a273af: Download complete [2023-05-11T14:15:43.123Z] 5d3b04190fa2: Verifying Checksum [2023-05-11T14:15:43.123Z] 5d3b04190fa2: Download complete [2023-05-11T14:15:43.123Z] ec43610c2a17: Verifying Checksum [2023-05-11T14:15:43.123Z] ec43610c2a17: Download complete [2023-05-11T14:15:43.123Z] 5eb5b503b376: Verifying Checksum [2023-05-11T14:15:43.123Z] 5eb5b503b376: Download complete [2023-05-11T14:15:44.058Z] 2f39f015ded8: Verifying Checksum [2023-05-11T14:15:44.315Z] 5eb5b503b376: Pull complete [2023-05-11T14:15:44.573Z] 5c69ac0246d0: Pull complete [2023-05-11T14:15:45.142Z] ec43610c2a17: Pull complete [2023-05-11T14:15:45.142Z] 3a2ae6a8a46f: Pull complete [2023-05-11T14:15:45.400Z] 33b1e0a273af: Pull complete [2023-05-11T14:15:45.400Z] 5d3b04190fa2: Pull complete [2023-05-11T14:15:50.670Z] 2f39f015ded8: Pull complete [2023-05-11T14:15:50.670Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-11T14:15:50.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:15:50.670Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:15:50.751Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:15:50.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T14:15:55.676Z] $ docker top a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:15:56.063Z] ---> job-cost.sh [2023-05-11T14:15:56.063Z] lf-activate-venv: SKIPPING [2023-05-11T14:15:56.063Z] INFO: No Stack... [2023-05-11T14:15:56.321Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T14:15:56.580Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T14:15:56.872Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-11T14:15:56.872Z] + cut -d, -f6 [Pipeline] lock [2023-05-11T14:15:56.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [2023-05-11T14:15:56.891Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] did not exist. Created. [2023-05-11T14:15:56.891Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T14:15:57.188Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-11T14:15:57.219Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T14:15:57.226Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T14:15:57.247Z] $ docker stop --time=1 a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 [2023-05-11T14:15:58.412Z] $ docker rm -f --volumes a27c0debd177a102a879f980e77f23168427fd2c8a9ffc1b8917024fb400b113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-11T14:16:12.637Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15213 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-11T14:16:12.650Z] Running in /w/workspace/device-modbus-go/106 [Pipeline] { [Pipeline] checkout [2023-05-11T14:16:12.682Z] Selected Git installation does not exist. Using Default [2023-05-11T14:16:12.682Z] The recommended git tool is: NONE [2023-05-11T14:16:19.990Z] using credential edgex-jenkins-ssh [2023-05-11T14:16:20.012Z] Cloning the remote Git repository [2023-05-11T14:16:20.071Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-11T14:16:20.195Z] > git init /w/workspace/device-modbus-go/106 # timeout=10 [2023-05-11T14:16:20.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-11T14:16:20.392Z] > git --version # timeout=10 [2023-05-11T14:16:20.419Z] > git --version # 'git version 2.25.1' [2023-05-11T14:16:20.423Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-11T14:16:20.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T14:16:21.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-11T14:16:21.875Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-11T14:16:23.105Z] Avoid second fetch [2023-05-11T14:16:23.106Z] Checking out Revision 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c (main) [2023-05-11T14:16:23.912Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#479)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:16:23.132Z] > git config core.sparsecheckout # timeout=10 [2023-05-11T14:16:23.243Z] > git checkout -f 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c # timeout=10 [2023-05-11T14:16:24.861Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-11T14:16:24.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T14:16:24.861Z] Dload Upload Total Spent Left Speed [2023-05-11T14:16:24.861Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-11T14:16:25.581Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-11T14:16:25.934Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-11T14:16:25.934Z] + sudo tee /etc/docker/daemon.new [2023-05-11T14:16:25.934Z] { [2023-05-11T14:16:25.934Z] "registry-mirrors": [ [2023-05-11T14:16:25.934Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-11T14:16:25.934Z] ], [2023-05-11T14:16:25.934Z] "bip": "10.250.0.254/24", [2023-05-11T14:16:25.934Z] "hosts": [ [2023-05-11T14:16:25.934Z] "tcp://0.0.0.0:5555", [2023-05-11T14:16:25.934Z] "unix:///var/run/docker.sock" [2023-05-11T14:16:25.934Z] ], [2023-05-11T14:16:25.934Z] "mtu": 1458, [2023-05-11T14:16:25.934Z] "selinux-enabled": true, [2023-05-11T14:16:25.934Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-11T14:16:25.934Z] } [Pipeline] sh [2023-05-11T14:16:26.289Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-11T14:16:26.640Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:16:44.983Z] provisioning config files... [2023-05-11T14:16:45.022Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/106@tmp/config17282800392764970684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:16:45.422Z] ---> docker-login.sh [2023-05-11T14:16:45.423Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:16:46.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:16:46.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:16:46.025Z] Configure a credential helper to remove this warning. See [2023-05-11T14:16:46.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:16:46.025Z] [2023-05-11T14:16:46.025Z] Login Succeeded [2023-05-11T14:16:46.304Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:16:46.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:16:46.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:16:46.580Z] Configure a credential helper to remove this warning. See [2023-05-11T14:16:46.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:16:46.580Z] [2023-05-11T14:16:46.580Z] Login Succeeded [2023-05-11T14:16:46.580Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:16:46.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:16:47.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:16:47.134Z] Configure a credential helper to remove this warning. See [2023-05-11T14:16:47.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:16:47.134Z] [2023-05-11T14:16:47.134Z] Login Succeeded [2023-05-11T14:16:47.134Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:16:47.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:16:47.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:16:47.411Z] Configure a credential helper to remove this warning. See [2023-05-11T14:16:47.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:16:47.411Z] [2023-05-11T14:16:47.411Z] Login Succeeded [2023-05-11T14:16:47.411Z] docker.io [2023-05-11T14:16:47.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:16:47.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:16:47.961Z] Configure a credential helper to remove this warning. See [2023-05-11T14:16:47.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:16:47.961Z] [2023-05-11T14:16:47.961Z] Login Succeeded [2023-05-11T14:16:47.961Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:16:47.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-11T14:16:48.361Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:16:48.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:16:48.387Z] ========================================================= [2023-05-11T14:16:48.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-11T14:16:48.387Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:16:48.762Z] + 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-11T14:16:49.038Z] Sending build context to Docker daemon 3.395MB [2023-05-11T14:16:49.322Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:16:49.322Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-11T14:16:49.322Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-11T14:16:49.322Z] c41833b44d91: Pulling fs layer [2023-05-11T14:16:49.322Z] ed15518f5707: Pulling fs layer [2023-05-11T14:16:49.322Z] feae8fd75edb: Pulling fs layer [2023-05-11T14:16:49.322Z] 242c74f7c9fa: Pulling fs layer [2023-05-11T14:16:49.322Z] 3cdef696dda3: Pulling fs layer [2023-05-11T14:16:49.322Z] 2ced38df9373: Pulling fs layer [2023-05-11T14:16:49.322Z] 3cdef696dda3: Waiting [2023-05-11T14:16:49.322Z] 58f1dce35555: Pulling fs layer [2023-05-11T14:16:49.322Z] 2ced38df9373: Waiting [2023-05-11T14:16:49.322Z] 58f1dce35555: Waiting [2023-05-11T14:16:49.322Z] ed15518f5707: Download complete [2023-05-11T14:16:49.322Z] 242c74f7c9fa: Verifying Checksum [2023-05-11T14:16:49.322Z] 242c74f7c9fa: Download complete [2023-05-11T14:16:49.598Z] 3cdef696dda3: Verifying Checksum [2023-05-11T14:16:49.598Z] 3cdef696dda3: Download complete [2023-05-11T14:16:49.598Z] c41833b44d91: Verifying Checksum [2023-05-11T14:16:49.598Z] c41833b44d91: Download complete [2023-05-11T14:16:50.587Z] c41833b44d91: Pull complete [2023-05-11T14:16:51.203Z] 58f1dce35555: Verifying Checksum [2023-05-11T14:16:51.203Z] 58f1dce35555: Download complete [2023-05-11T14:16:51.203Z] ed15518f5707: Pull complete [2023-05-11T14:16:52.647Z] feae8fd75edb: Verifying Checksum [2023-05-11T14:16:52.647Z] feae8fd75edb: Download complete [2023-05-11T14:16:52.647Z] 2ced38df9373: Verifying Checksum [2023-05-11T14:16:52.647Z] 2ced38df9373: Download complete [2023-05-11T14:17:05.032Z] feae8fd75edb: Pull complete [2023-05-11T14:17:05.032Z] 242c74f7c9fa: Pull complete [2023-05-11T14:17:05.032Z] 3cdef696dda3: Pull complete [2023-05-11T14:17:11.749Z] 2ced38df9373: Pull complete [2023-05-11T14:17:14.612Z] 58f1dce35555: Pull complete [2023-05-11T14:17:14.612Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-11T14:17:14.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-11T14:17:14.612Z] ---> fadd8f120f05 [2023-05-11T14:17:14.612Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:17:16.580Z] ---> Running in ef6ba80d8988 [2023-05-11T14:17:17.175Z] Removing intermediate container ef6ba80d8988 [2023-05-11T14:17:17.175Z] ---> e15509734bdb [2023-05-11T14:17:17.175Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:17:17.175Z] ---> Running in d96f7e65b630 [2023-05-11T14:17:17.447Z] Removing intermediate container d96f7e65b630 [2023-05-11T14:17:17.447Z] ---> 24a7796391c9 [2023-05-11T14:17:17.447Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-11T14:17:17.716Z] ---> Running in b7719f91153d [2023-05-11T14:17:19.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:17:19.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:17:20.572Z] (1/8) Installing openssh-keygen (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-11T14:17:20.844Z] (3/8) Installing openssh-client-common (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (4/8) Installing openssh-client-default (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (5/8) Installing openssh-sftp-server (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (6/8) Installing openssh-server-common (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (7/8) Installing openssh-server (9.1_p1-r2) [2023-05-11T14:17:20.844Z] (8/8) Installing openssh (9.1_p1-r2) [2023-05-11T14:17:20.844Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:17:20.844Z] OK: 270 MiB in 61 packages [2023-05-11T14:17:22.276Z] Removing intermediate container b7719f91153d [2023-05-11T14:17:22.276Z] ---> ced837da87f6 [2023-05-11T14:17:22.276Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-11T14:17:22.276Z] ---> Running in 4284e1f2e7a7 [2023-05-11T14:17:22.550Z] Removing intermediate container 4284e1f2e7a7 [2023-05-11T14:17:22.550Z] ---> e27651f82e6c [2023-05-11T14:17:22.550Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-11T14:17:23.161Z] ---> 14f5f52f41d9 [2023-05-11T14:17:23.161Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:17:23.161Z] ---> Running in 0fb072658e57 [2023-05-11T14:18:31.093Z] Removing intermediate container 0fb072658e57 [2023-05-11T14:18:31.093Z] ---> 57ca1abd0771 [2023-05-11T14:18:31.093Z] Step 9/10 : COPY . . [2023-05-11T14:18:31.093Z] ---> fd9626acf65c [2023-05-11T14:18:31.093Z] Step 10/10 : RUN ${MAKE} [2023-05-11T14:18:31.093Z] ---> Running in 12b491375948 [2023-05-11T14:18:31.093Z] noop [2023-05-11T14:18:31.093Z] Removing intermediate container 12b491375948 [2023-05-11T14:18:31.093Z] ---> 9735a3e5108a [2023-05-11T14:18:31.093Z] Successfully built 9735a3e5108a [2023-05-11T14:18:31.093Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:18:31.448Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T14:18:31.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:18:31.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container [2023-05-11T14:18:31.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@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-11T14:18:33.163Z] $ docker top 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:18:34.062Z] + go version [2023-05-11T14:18:34.062Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-11T14:18:34.082Z] $ docker stop --time=1 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d [2023-05-11T14:18:37.634Z] $ docker rm -f --volumes 51d2f33d9fb6d159fd2114a50209724e9abd9ee7f62402f1d07a41e520a3bd9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:18:38.197Z] + docker inspect -f . ci-base-image-arm64 [2023-05-11T14:18:38.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:18:38.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container [2023-05-11T14:18:38.474Z] $ 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/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@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-11T14:18:39.702Z] $ docker top 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:18:40.579Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/106 [Pipeline] fileExists [Pipeline] sh [2023-05-11T14:18:41.247Z] + make test [2023-05-11T14:18:41.247Z] go test ./... -coverprofile=coverage.out [2023-05-11T14:19:20.184Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-11T14:21:42.039Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-11T14:21:42.039Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.091s coverage: 47.4% of statements [2023-05-11T14:21:42.039Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-11T14:21:42.039Z] go vet ./... [2023-05-11T14:22:14.333Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-11T14:22:14.333Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-11T14:22:14.333Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-11T14:22:14.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-11T14:22:14.365Z] $ docker stop --time=1 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d [2023-05-11T14:22:16.300Z] $ docker rm -f --volumes 66354dc9bde13a012c515a9405a6d3d694b14382239c05817538f69b221a696d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:22:17.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-11T14:22:17.599Z] Warning: overwriting stash ‘coverage-report’ [2023-05-11T14:22:18.160Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-11T14:22:18.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-11T14:22:18.896Z] + ls -al . [2023-05-11T14:22:18.896Z] total 180 [2023-05-11T14:22:18.896Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 14:18 . [2023-05-11T14:22:18.896Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:16 .. [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 14:16 .dockerignore [2023-05-11T14:22:18.896Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 14:16 .git [2023-05-11T14:22:18.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 .github [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 331 May 11 14:16 .gitignore [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 14:16 .golangci.yml [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 11 14:16 Attribution.txt [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 11 14:16 CHANGELOG.md [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 11 14:16 Dockerfile [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 14:16 GOVERNANCE.md [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 14:16 Jenkinsfile [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 14:16 LICENSE [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 11 14:16 Makefile [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 622 May 11 14:16 OWNERS.md [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 11 14:16 README.md [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 12 May 11 14:13 VERSION [2023-05-11T14:22:18.896Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:16 bin [2023-05-11T14:22:18.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 cmd [2023-05-11T14:22:18.896Z] -rw-r--r-- 1 jenkins jenkins 24160 May 11 14:21 coverage.out [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 11 14:16 go.mod [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 11 14:16 go.sum [2023-05-11T14:22:18.896Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 14:16 internal [2023-05-11T14:22:18.896Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 14:16 simulator [2023-05-11T14:22:18.896Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 14:16 snap [2023-05-11T14:22:18.896Z] -rw-rw-r-- 1 jenkins jenkins 229 May 11 14:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:22:19.262Z] + 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c --label arch=arm64 --label version=3.0.0-dev.40 . [2023-05-11T14:22:19.535Z] Sending build context to Docker daemon 3.42MB [2023-05-11T14:22:19.804Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-11T14:22:19.804Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-11T14:22:19.804Z] ---> 9735a3e5108a [2023-05-11T14:22:19.804Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-11T14:22:19.804Z] ---> Running in 45caa7313e57 [2023-05-11T14:22:20.076Z] Removing intermediate container 45caa7313e57 [2023-05-11T14:22:20.076Z] ---> 5360fe19e315 [2023-05-11T14:22:20.076Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-11T14:22:20.347Z] ---> Running in c3779cbc6abb [2023-05-11T14:22:20.642Z] Removing intermediate container c3779cbc6abb [2023-05-11T14:22:20.642Z] ---> 6bd69c1305ae [2023-05-11T14:22:20.642Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-11T14:22:20.642Z] ---> Running in e160c4c3a4ef [2023-05-11T14:22:22.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:22:22.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:22:23.755Z] OK: 270 MiB in 61 packages [2023-05-11T14:22:24.723Z] Removing intermediate container e160c4c3a4ef [2023-05-11T14:22:24.723Z] ---> 3112df3771be [2023-05-11T14:22:24.723Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-11T14:22:24.723Z] ---> Running in 7a7debdc114b [2023-05-11T14:22:24.995Z] Removing intermediate container 7a7debdc114b [2023-05-11T14:22:24.995Z] ---> db5c972a8e17 [2023-05-11T14:22:24.995Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-11T14:22:25.584Z] ---> 2daa815ac6cd [2023-05-11T14:22:25.584Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-11T14:22:25.584Z] ---> Running in 2bf40c35a141 [2023-05-11T14:22:30.959Z] Removing intermediate container 2bf40c35a141 [2023-05-11T14:22:30.959Z] ---> fc3697af7eed [2023-05-11T14:22:30.959Z] Step 9/22 : COPY . . [2023-05-11T14:22:31.231Z] ---> 9929636a272a [2023-05-11T14:22:31.231Z] Step 10/22 : RUN ${MAKE} [2023-05-11T14:22:31.502Z] ---> Running in da7d9e8c0924 [2023-05-11T14:22:32.468Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-11T14:25:09.238Z] Removing intermediate container da7d9e8c0924 [2023-05-11T14:25:09.238Z] ---> 6c5b8f6bb978 [2023-05-11T14:25:09.238Z] Step 11/22 : FROM alpine:3.17 [2023-05-11T14:25:09.238Z] 3.17: Pulling from library/alpine [2023-05-11T14:25:09.238Z] c41833b44d91: Already exists [2023-05-11T14:25:09.238Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-11T14:25:09.238Z] Status: Downloaded newer image for alpine:3.17 [2023-05-11T14:25:09.238Z] ---> 51e60588ff2c [2023-05-11T14:25:09.238Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-11T14:25:09.238Z] ---> Running in 8eb3ee2d6a96 [2023-05-11T14:25:09.238Z] Removing intermediate container 8eb3ee2d6a96 [2023-05-11T14:25:09.238Z] ---> 66d8ede19614 [2023-05-11T14:25:09.238Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-11T14:25:09.238Z] ---> Running in b7d993c15102 [2023-05-11T14:25:09.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-11T14:25:09.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-11T14:25:09.238Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-11T14:25:09.238Z] Executing busybox-1.35.0-r29.trigger [2023-05-11T14:25:09.238Z] OK: 8 MiB in 16 packages [2023-05-11T14:25:09.238Z] Removing intermediate container b7d993c15102 [2023-05-11T14:25:09.238Z] ---> a0849b41fa90 [2023-05-11T14:25:09.238Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-11T14:25:09.238Z] ---> 74de52653c31 [2023-05-11T14:25:09.238Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-11T14:25:09.238Z] ---> 1f9809c134df [2023-05-11T14:25:09.238Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-11T14:25:09.238Z] ---> cc8348669fc4 [2023-05-11T14:25:09.238Z] Step 17/22 : EXPOSE 59901 [2023-05-11T14:25:09.238Z] ---> Running in 43c848363f3e [2023-05-11T14:25:09.238Z] Removing intermediate container 43c848363f3e [2023-05-11T14:25:09.238Z] ---> 656aa6c8a25f [2023-05-11T14:25:09.238Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-11T14:25:09.238Z] ---> Running in 82b347cd27f7 [2023-05-11T14:25:09.238Z] Removing intermediate container 82b347cd27f7 [2023-05-11T14:25:09.238Z] ---> 145f5079ce77 [2023-05-11T14:25:09.238Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-11T14:25:09.238Z] ---> Running in 7fe5a0d87175 [2023-05-11T14:25:09.238Z] Removing intermediate container 7fe5a0d87175 [2023-05-11T14:25:09.238Z] ---> 3b2c0b0f2e48 [2023-05-11T14:25:09.238Z] Step 20/22 : LABEL arch=arm64 [2023-05-11T14:25:09.238Z] ---> Running in cfc141cdc38a [2023-05-11T14:25:09.238Z] Removing intermediate container cfc141cdc38a [2023-05-11T14:25:09.238Z] ---> fa63492bf765 [2023-05-11T14:25:09.238Z] Step 21/22 : LABEL git_sha=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:25:09.238Z] ---> Running in 63d5ffb3d48c [2023-05-11T14:25:09.238Z] Removing intermediate container 63d5ffb3d48c [2023-05-11T14:25:09.238Z] ---> c853b1a8e1c0 [2023-05-11T14:25:09.238Z] Step 22/22 : LABEL version=3.0.0-dev.40 [2023-05-11T14:25:09.238Z] ---> Running in fe281898b380 [2023-05-11T14:25:09.238Z] Removing intermediate container fe281898b380 [2023-05-11T14:25:09.238Z] ---> 71e1016a68fa [2023-05-11T14:25:09.238Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-11T14:25:09.238Z] Successfully built 71e1016a68fa [2023-05-11T14:25:09.238Z] 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-11T14:25:09.334Z] provisioning config files... [2023-05-11T14:25:09.351Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/106@tmp/config7566169402488838392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:25:09.692Z] ---> docker-login.sh [2023-05-11T14:25:09.692Z] nexus3.edgexfoundry.org:10001 [2023-05-11T14:25:09.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:25:09.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:25:09.960Z] Configure a credential helper to remove this warning. See [2023-05-11T14:25:09.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:25:09.960Z] [2023-05-11T14:25:09.960Z] Login Succeeded [2023-05-11T14:25:09.960Z] nexus3.edgexfoundry.org:10002 [2023-05-11T14:25:10.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:25:10.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:25:10.230Z] Configure a credential helper to remove this warning. See [2023-05-11T14:25:10.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:25:10.230Z] [2023-05-11T14:25:10.230Z] Login Succeeded [2023-05-11T14:25:10.230Z] nexus3.edgexfoundry.org:10003 [2023-05-11T14:25:10.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:25:10.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:25:10.824Z] Configure a credential helper to remove this warning. See [2023-05-11T14:25:10.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:25:10.824Z] [2023-05-11T14:25:10.824Z] Login Succeeded [2023-05-11T14:25:10.824Z] nexus3.edgexfoundry.org:10004 [2023-05-11T14:25:11.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:25:11.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:25:11.095Z] Configure a credential helper to remove this warning. See [2023-05-11T14:25:11.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:25:11.095Z] [2023-05-11T14:25:11.095Z] Login Succeeded [2023-05-11T14:25:11.095Z] docker.io [2023-05-11T14:25:11.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-11T14:25:11.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-11T14:25:11.631Z] Configure a credential helper to remove this warning. See [2023-05-11T14:25:11.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-11T14:25:11.631Z] [2023-05-11T14:25:11.631Z] Login Succeeded [2023-05-11T14:25:11.631Z] ---> docker-login.sh ends [Pipeline] } [2023-05-11T14:25:11.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:25:11.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-11T14:25:11.956Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-11T14:25:11.956Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:25:11.956Z] latest [2023-05-11T14:25:11.956Z] 3.0.0-dev.40 [2023-05-11T14:25:11.956Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:25:11.956Z] main [2023-05-11T14:25:11.956Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:12.304Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:12.658Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:25:12.658Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-11T14:25:12.658Z] b1fb245a824c: Preparing [2023-05-11T14:25:12.658Z] 6b6a90a97774: Preparing [2023-05-11T14:25:12.658Z] 3a67707e73bc: Preparing [2023-05-11T14:25:12.658Z] dc714465f7a6: Preparing [2023-05-11T14:25:12.658Z] 26cbea5cba74: Preparing [2023-05-11T14:25:12.931Z] 26cbea5cba74: Layer already exists [2023-05-11T14:25:12.931Z] b1fb245a824c: Pushed [2023-05-11T14:25:12.931Z] dc714465f7a6: Pushed [2023-05-11T14:25:12.931Z] 6b6a90a97774: Pushed [2023-05-11T14:25:18.292Z] 3a67707e73bc: Pushed [2023-05-11T14:25:18.560Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:18.925Z] + 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-11T14:25:19.342Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-11T14:25:19.342Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-11T14:25:19.342Z] b1fb245a824c: Preparing [2023-05-11T14:25:19.342Z] 6b6a90a97774: Preparing [2023-05-11T14:25:19.342Z] 3a67707e73bc: Preparing [2023-05-11T14:25:19.342Z] dc714465f7a6: Preparing [2023-05-11T14:25:19.342Z] 26cbea5cba74: Preparing [2023-05-11T14:25:19.342Z] dc714465f7a6: Layer already exists [2023-05-11T14:25:19.342Z] 26cbea5cba74: Layer already exists [2023-05-11T14:25:19.342Z] b1fb245a824c: Layer already exists [2023-05-11T14:25:19.342Z] 3a67707e73bc: Layer already exists [2023-05-11T14:25:19.342Z] 6b6a90a97774: Layer already exists [2023-05-11T14:25:19.614Z] latest: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:19.973Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:20.346Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 [2023-05-11T14:25:20.346Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-11T14:25:20.346Z] b1fb245a824c: Preparing [2023-05-11T14:25:20.346Z] 6b6a90a97774: Preparing [2023-05-11T14:25:20.346Z] 3a67707e73bc: Preparing [2023-05-11T14:25:20.346Z] dc714465f7a6: Preparing [2023-05-11T14:25:20.346Z] 26cbea5cba74: Preparing [2023-05-11T14:25:20.346Z] 3a67707e73bc: Layer already exists [2023-05-11T14:25:20.346Z] b1fb245a824c: Layer already exists [2023-05-11T14:25:20.346Z] 26cbea5cba74: Layer already exists [2023-05-11T14:25:20.346Z] dc714465f7a6: Layer already exists [2023-05-11T14:25:20.346Z] 6b6a90a97774: Layer already exists [2023-05-11T14:25:20.346Z] 3.0.0-dev.40: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:20.978Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:21.317Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:25:21.318Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-11T14:25:21.318Z] b1fb245a824c: Preparing [2023-05-11T14:25:21.318Z] 6b6a90a97774: Preparing [2023-05-11T14:25:21.318Z] 3a67707e73bc: Preparing [2023-05-11T14:25:21.318Z] dc714465f7a6: Preparing [2023-05-11T14:25:21.318Z] 26cbea5cba74: Preparing [2023-05-11T14:25:21.318Z] 6b6a90a97774: Layer already exists [2023-05-11T14:25:21.318Z] 26cbea5cba74: Layer already exists [2023-05-11T14:25:21.318Z] 3a67707e73bc: Layer already exists [2023-05-11T14:25:21.318Z] b1fb245a824c: Layer already exists [2023-05-11T14:25:21.318Z] dc714465f7a6: Layer already exists [2023-05-11T14:25:21.318Z] 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:21.944Z] + 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-11T14:25:22.296Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-11T14:25:22.296Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-11T14:25:22.296Z] b1fb245a824c: Preparing [2023-05-11T14:25:22.296Z] 6b6a90a97774: Preparing [2023-05-11T14:25:22.296Z] 3a67707e73bc: Preparing [2023-05-11T14:25:22.296Z] dc714465f7a6: Preparing [2023-05-11T14:25:22.296Z] 26cbea5cba74: Preparing [2023-05-11T14:25:22.296Z] b1fb245a824c: Layer already exists [2023-05-11T14:25:22.296Z] 26cbea5cba74: Layer already exists [2023-05-11T14:25:22.296Z] dc714465f7a6: Layer already exists [2023-05-11T14:25:22.296Z] 6b6a90a97774: Layer already exists [2023-05-11T14:25:22.296Z] 3a67707e73bc: Layer already exists [2023-05-11T14:25:22.296Z] main: digest: sha256:2d997fb3f250bdb6a945b6ab84ffd5d0a759880cc614e919906d4346b994a9ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-11T14:25:22.614Z] ===================================================== [Pipeline] echo [2023-05-11T14:25:22.626Z] taggedImages: [2023-05-11T14:25:22.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [2023-05-11T14:25:22.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-11T14:25:22.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.40 [2023-05-11T14:25:22.626Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c-3.0.0-dev.40 [2023-05-11T14:25:22.626Z] - 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-11T14:25:22.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:25:22.984Z] [2023-05-11T14:25:22.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:23.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:25:23.318Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-11T14:25:23.318Z] 8998bd30e6a1: Pulling fs layer [2023-05-11T14:25:23.318Z] 04944245beec: Pulling fs layer [2023-05-11T14:25:23.318Z] 699f458cf7ca: Pulling fs layer [2023-05-11T14:25:23.318Z] 765212b225bb: Pulling fs layer [2023-05-11T14:25:23.318Z] f23df028b6ca: Pulling fs layer [2023-05-11T14:25:23.318Z] d65c8cfc05b1: Pulling fs layer [2023-05-11T14:25:23.318Z] 2437ff75d9bd: Pulling fs layer [2023-05-11T14:25:23.318Z] 765212b225bb: Waiting [2023-05-11T14:25:23.318Z] f23df028b6ca: Waiting [2023-05-11T14:25:23.318Z] d65c8cfc05b1: Waiting [2023-05-11T14:25:23.318Z] 2437ff75d9bd: Waiting [2023-05-11T14:25:23.597Z] 04944245beec: Verifying Checksum [2023-05-11T14:25:23.597Z] 04944245beec: Download complete [2023-05-11T14:25:23.597Z] 765212b225bb: Verifying Checksum [2023-05-11T14:25:23.597Z] 765212b225bb: Download complete [2023-05-11T14:25:23.597Z] f23df028b6ca: Verifying Checksum [2023-05-11T14:25:23.597Z] f23df028b6ca: Download complete [2023-05-11T14:25:23.597Z] d65c8cfc05b1: Verifying Checksum [2023-05-11T14:25:23.597Z] d65c8cfc05b1: Download complete [2023-05-11T14:25:23.869Z] 699f458cf7ca: Verifying Checksum [2023-05-11T14:25:23.869Z] 699f458cf7ca: Download complete [2023-05-11T14:25:24.138Z] 8998bd30e6a1: Verifying Checksum [2023-05-11T14:25:24.138Z] 8998bd30e6a1: Download complete [2023-05-11T14:25:26.730Z] 2437ff75d9bd: Verifying Checksum [2023-05-11T14:25:26.730Z] 2437ff75d9bd: Download complete [2023-05-11T14:25:28.682Z] 8998bd30e6a1: Pull complete [2023-05-11T14:25:28.682Z] 04944245beec: Pull complete [2023-05-11T14:25:30.096Z] 699f458cf7ca: Pull complete [2023-05-11T14:25:30.364Z] 765212b225bb: Pull complete [2023-05-11T14:25:31.330Z] f23df028b6ca: Pull complete [2023-05-11T14:25:31.600Z] d65c8cfc05b1: Pull complete [2023-05-11T14:25:46.614Z] 2437ff75d9bd: Pull complete [2023-05-11T14:25:46.614Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-11T14:25:46.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-11T14:25:46.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:25:46.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-15213 does not seem to be running inside a container [2023-05-11T14:25:46.919Z] $ 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/106 -v /w/workspace/device-modbus-go/106:/w/workspace/device-modbus-go/106:rw,z -v /w/workspace/device-modbus-go/106@tmp:/w/workspace/device-modbus-go/106@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-11T14:25:49.800Z] $ docker top 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:25:50.674Z] ---> job-cost.sh [2023-05-11T14:25:50.675Z] lf-activate-venv: SKIPPING [2023-05-11T14:25:50.675Z] INFO: No Stack... [2023-05-11T14:25:51.638Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-11T14:25:52.600Z] INFO: Archiving Costs [Pipeline] sh [2023-05-11T14:25:53.246Z] + + cat /w/workspace/device-modbus-go/106/archives/cost.csvcut [2023-05-11T14:25:53.247Z] -d, -f6 [Pipeline] lock [2023-05-11T14:25:53.318Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [2023-05-11T14:25:53.323Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] did not exist. Created. [2023-05-11T14:25:53.323Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-11T14:25:53.987Z] /w/workspace/device-modbus-go/106@tmp/durable-40f2936f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-11T14:25:54.647Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-11T14:25:54.671Z] Warning: overwriting stash ‘stack-cost’ [2023-05-11T14:25:54.730Z] Stashed 1 file(s) [Pipeline] } [2023-05-11T14:25:54.737Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-11T14:25:54.758Z] $ docker stop --time=1 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f [2023-05-11T14:25:56.455Z] $ docker rm -f --volumes 76c116770e217c5a796fb55694e4aa87a49cffb74d356040f735a4a035a6864f [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-11T14:25:56.835Z] provisioning config files... [2023-05-11T14:25:56.842Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15759872591778180648tmp [Pipeline] { [Pipeline] sh [2023-05-11T14:25:57.139Z] + set +x [2023-05-11T14:25:57.139Z] + curl -s https://codecov.io/bash [2023-05-11T14:25:57.139Z] + bash -s -- [2023-05-11T14:25:57.139Z] [2023-05-11T14:25:57.139Z] _____ _ [2023-05-11T14:25:57.139Z] / ____| | | [2023-05-11T14:25:57.139Z] | | ___ __| | ___ ___ _____ __ [2023-05-11T14:25:57.139Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-11T14:25:57.139Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-11T14:25:57.139Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-11T14:25:57.139Z] Bash-1.0.6 [2023-05-11T14:25:57.139Z] [2023-05-11T14:25:57.139Z] [2023-05-11T14:25:57.139Z] ==> git version 2.25.1 found [2023-05-11T14:25:57.139Z] ==> 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-11T14:25:57.139Z] Release-Date: 2020-01-08 [2023-05-11T14:25:57.139Z] 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-11T14:25:57.139Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-11T14:25:57.139Z] ==> Jenkins CI detected. [2023-05-11T14:25:57.139Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-11T14:25:57.139Z] project root: . [2023-05-11T14:25:57.139Z] --> token set from env [2023-05-11T14:25:57.139Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-11T14:25:57.139Z] ==> Running gcov in . (disable via -X gcov) [2023-05-11T14:25:57.139Z] ==> Python coveragepy not found [2023-05-11T14:25:57.139Z] ==> Searching for coverage reports in: [2023-05-11T14:25:57.139Z] + . [2023-05-11T14:25:57.139Z] -> Found 1 reports [2023-05-11T14:25:57.139Z] ==> Detecting git/mercurial file structure [2023-05-11T14:25:57.139Z] ==> Reading reports [2023-05-11T14:25:57.139Z] + ./coverage.out bytes=24160 [2023-05-11T14:25:57.139Z] ==> Appending adjustments [2023-05-11T14:25:57.139Z] https://docs.codecov.io/docs/fixing-reports [2023-05-11T14:25:57.400Z] + Found adjustments [2023-05-11T14:25:57.400Z] ==> Gzipping contents [2023-05-11T14:25:57.400Z] 4.0K /tmp/codecov.UMRzkX.gz [2023-05-11T14:25:57.400Z] ==> Uploading reports [2023-05-11T14:25:57.400Z] url: https://codecov.io [2023-05-11T14:25:57.400Z] query: branch=main&commit=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-11T14:25:57.400Z] -> Pinging Codecov [2023-05-11T14:25:57.400Z] 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=4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-11T14:25:57.677Z] -> Uploading to [2023-05-11T14:25:57.677Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-11/55DBCA73C666E3227836607328DD7E49/4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c/c1ead52c-6d3e-45bb-ba19-57bba2b67c7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230511T142557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00421d490adf4785ac021e791cbfba128ae773bf875379a2af531cce8fb0ff47 [2023-05-11T14:25:57.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-11T14:25:57.677Z] Dload Upload Total Spent Left Speed [2023-05-11T14:25:57.937Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21210 --:--:-- --:--:-- --:--:-- 21210 [2023-05-11T14:25:57.937Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] } [2023-05-11T14:25:57.945Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-11T14:25:58.061Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-11T14:25:58.073Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:25:58.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:25:58.367Z] [2023-05-11T14:25:58.367Z] 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-11T14:25:58.668Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:25:59.237Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-11T14:25:59.237Z] df9b9388f04a: Pulling fs layer [2023-05-11T14:25:59.237Z] 52dc419b0ee2: Pulling fs layer [2023-05-11T14:25:59.237Z] 25bc292e5bac: Pulling fs layer [2023-05-11T14:25:59.237Z] 114826534d7a: Pulling fs layer [2023-05-11T14:25:59.237Z] 4657fd5d0bcf: Pulling fs layer [2023-05-11T14:25:59.237Z] 6ad1cebc031e: Pulling fs layer [2023-05-11T14:25:59.237Z] 8a3aa393b2d8: Pulling fs layer [2023-05-11T14:25:59.237Z] 114826534d7a: Waiting [2023-05-11T14:25:59.237Z] 4657fd5d0bcf: Waiting [2023-05-11T14:25:59.237Z] 6ad1cebc031e: Waiting [2023-05-11T14:25:59.237Z] 25bc292e5bac: Verifying Checksum [2023-05-11T14:25:59.237Z] 25bc292e5bac: Download complete [2023-05-11T14:25:59.237Z] 52dc419b0ee2: Download complete [2023-05-11T14:25:59.237Z] 4657fd5d0bcf: Verifying Checksum [2023-05-11T14:25:59.237Z] 4657fd5d0bcf: Download complete [2023-05-11T14:25:59.237Z] df9b9388f04a: Download complete [2023-05-11T14:25:59.497Z] 6ad1cebc031e: Verifying Checksum [2023-05-11T14:25:59.497Z] 6ad1cebc031e: Download complete [2023-05-11T14:25:59.497Z] df9b9388f04a: Pull complete [2023-05-11T14:26:00.067Z] 114826534d7a: Verifying Checksum [2023-05-11T14:26:00.068Z] 114826534d7a: Download complete [2023-05-11T14:26:00.327Z] 8a3aa393b2d8: Verifying Checksum [2023-05-11T14:26:00.327Z] 8a3aa393b2d8: Download complete [2023-05-11T14:26:00.587Z] 52dc419b0ee2: Pull complete [2023-05-11T14:26:00.845Z] 25bc292e5bac: Pull complete [2023-05-11T14:26:06.132Z] 114826534d7a: Pull complete [2023-05-11T14:26:06.132Z] 4657fd5d0bcf: Pull complete [2023-05-11T14:26:06.392Z] 6ad1cebc031e: Pull complete [2023-05-11T14:26:09.678Z] 8a3aa393b2d8: Pull complete [2023-05-11T14:26:09.678Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-11T14:26:09.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-11T14:26:09.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:09.775Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:26:09.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-11T14:26:18.318Z] $ docker top 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-11T14:26:18.388Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-11T14:26:18.667Z] + set -o pipefail [2023-05-11T14:26:18.667Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/ebc0b3ed-13bd-40c5-9b71-c8b59b3f7dad [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] [2023-05-11T14:26:22.863Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-11T14:26:22.863Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-11T14:26:22.863Z] More details here: https://snyk.co/ue1NS [2023-05-11T14:26:22.863Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-11T14:26:22.863Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-11T14:26:22.873Z] $ docker stop --time=1 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a [2023-05-11T14:26:28.331Z] $ docker rm -f --volumes 441485d0de2ea3e288aa1773290a69ab21706bf1b9aca77c78f94cfe9f3ada2a [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-11T14:26:29.051Z] + git log --format=format:%s -1 4df1e9a0db8d3469b5d00d5da879e0598a7c9d1c [Pipeline] sh [2023-05-11T14:26:29.338Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:26:29.338Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:29.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:26:29.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:29.730Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:26:29.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T14:26:30.270Z] $ docker top 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:26:30.363Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:26:30.363Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:26:30.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:26:30.471Z] $ docker exec 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 ssh-agent [2023-05-11T14:26:30.587Z] SSH_AUTH_SOCK=/tmp/ssh-QenO4DlgSLsZ/agent.31 [2023-05-11T14:26:30.587Z] SSH_AGENT_PID=38 [2023-05-11T14:26:30.592Z] Running ssh-add (command line suppressed) [2023-05-11T14:26:30.694Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12374081823193107420.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12374081823193107420.key) [2023-05-11T14:26:30.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:26:30.995Z] + git semver tag [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,176 [run_tag] DEBUG tag force:False [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,177 [check_head_tag] DEBUG check head tag [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,178 [execute] INFO git cat-file --batch-check [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,182 [execute] INFO git cat-file --batch [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,208 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,208 [execute] INFO git tag -a v3.0.0-dev.40 -m v3.0.0-dev.40 [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.40', '-m', 'v3.0.0-dev.40'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-11T14:26:31.254Z] 2023-05-11 14:26:31,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:31.254Z] 3.0.0-dev.40 [Pipeline] } [2023-05-11T14:26:31.260Z] $ docker exec --env ******** --env ******** 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 ssh-agent -k [2023-05-11T14:26:31.360Z] unset SSH_AUTH_SOCK; [2023-05-11T14:26:31.361Z] unset SSH_AGENT_PID; [2023-05-11T14:26:31.361Z] echo Agent pid 38 killed; [2023-05-11T14:26:31.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:26:31.675Z] + git semver [Pipeline] } [2023-05-11T14:26:31.942Z] $ docker stop --time=1 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 [2023-05-11T14:26:33.513Z] $ docker rm -f --volumes 6b5e40e9738426e9c5846757ba3920c45c89f27b18da6313553576dd418b8048 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:33.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:26:33.917Z] [2023-05-11T14:26:33.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:34.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:26:34.220Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-11T14:26:34.220Z] ab5ef0e58194: Pulling fs layer [2023-05-11T14:26:34.220Z] 9712f1f96733: Pulling fs layer [2023-05-11T14:26:34.220Z] 63f879dbbcfc: Pulling fs layer [2023-05-11T14:26:34.220Z] 0d9ebad4ef96: Pulling fs layer [2023-05-11T14:26:34.220Z] e9a5061849ea: Pulling fs layer [2023-05-11T14:26:34.220Z] d747dcd14b5f: Pulling fs layer [2023-05-11T14:26:34.220Z] 2de7ff778b66: Pulling fs layer [2023-05-11T14:26:34.220Z] d747dcd14b5f: Waiting [2023-05-11T14:26:34.220Z] e9a5061849ea: Waiting [2023-05-11T14:26:34.220Z] 2de7ff778b66: Waiting [2023-05-11T14:26:34.220Z] 0d9ebad4ef96: Waiting [2023-05-11T14:26:34.220Z] 9712f1f96733: Verifying Checksum [2023-05-11T14:26:34.220Z] 9712f1f96733: Download complete [2023-05-11T14:26:34.481Z] 63f879dbbcfc: Verifying Checksum [2023-05-11T14:26:34.481Z] 63f879dbbcfc: Download complete [2023-05-11T14:26:34.741Z] 0d9ebad4ef96: Verifying Checksum [2023-05-11T14:26:34.741Z] 0d9ebad4ef96: Download complete [2023-05-11T14:26:34.741Z] e9a5061849ea: Verifying Checksum [2023-05-11T14:26:34.741Z] e9a5061849ea: Download complete [2023-05-11T14:26:34.741Z] d747dcd14b5f: Verifying Checksum [2023-05-11T14:26:34.741Z] d747dcd14b5f: Download complete [2023-05-11T14:26:34.741Z] ab5ef0e58194: Verifying Checksum [2023-05-11T14:26:34.741Z] ab5ef0e58194: Download complete [2023-05-11T14:26:35.011Z] 2de7ff778b66: Verifying Checksum [2023-05-11T14:26:35.011Z] 2de7ff778b66: Download complete [2023-05-11T14:26:38.348Z] ab5ef0e58194: Pull complete [2023-05-11T14:26:38.348Z] 9712f1f96733: Pull complete [2023-05-11T14:26:38.609Z] 63f879dbbcfc: Pull complete [2023-05-11T14:26:42.864Z] 0d9ebad4ef96: Pull complete [2023-05-11T14:26:43.124Z] e9a5061849ea: Pull complete [2023-05-11T14:26:43.124Z] d747dcd14b5f: Pull complete [2023-05-11T14:26:44.501Z] 2de7ff778b66: Pull complete [2023-05-11T14:26:44.501Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-11T14:26:44.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-11T14:26:44.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:44.593Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:26:44.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-11T14:26:52.440Z] $ docker top 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:26:52.509Z] provisioning config files... [2023-05-11T14:26:52.516Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config1800956146409865862tmp [2023-05-11T14:26:52.526Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17647156061754742303tmp [2023-05-11T14:26:52.535Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13807815042351907414tmp [Pipeline] { [Pipeline] echo [2023-05-11T14:26:52.552Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:52.838Z] ---> sigul-configuration.sh [2023-05-11T14:26:52.838Z] gpg: directory `/root/.gnupg' created [2023-05-11T14:26:52.838Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-11T14:26:52.838Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-11T14:26:52.838Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-11T14:26:52.838Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-11T14:26:52.838Z] gpg: CAST5 encrypted data [2023-05-11T14:26:52.838Z] gpg: encrypted with 1 passphrase [2023-05-11T14:26:52.838Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-11T14:26:53.130Z] + mkdir /home/jenkins [2023-05-11T14:26:53.131Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-11T14:26:53.419Z] + 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-11T14:26:53.429Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:53.718Z] ---> sigul-install.sh [2023-05-11T14:26:53.718Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-11T14:26:54.007Z] + git tag --list [2023-05-11T14:26:54.007Z] 0.7.1 [2023-05-11T14:26:54.007Z] v1.0.0 [2023-05-11T14:26:54.007Z] v1.1.0 [2023-05-11T14:26:54.007Z] v1.1.1 [2023-05-11T14:26:54.007Z] v1.2.2 [2023-05-11T14:26:54.007Z] v1.3.0 [2023-05-11T14:26:54.007Z] v1.3.1 [2023-05-11T14:26:54.007Z] v2.0.0 [2023-05-11T14:26:54.007Z] v2.1.0 [2023-05-11T14:26:54.007Z] v2.1.1 [2023-05-11T14:26:54.007Z] v2.1.1-dev.1 [2023-05-11T14:26:54.007Z] v2.1.1-dev.2 [2023-05-11T14:26:54.007Z] v2.1.1-dev.3 [2023-05-11T14:26:54.007Z] v2.2.0 [2023-05-11T14:26:54.007Z] v2.2.1-dev.1 [2023-05-11T14:26:54.007Z] v2.2.1-dev.2 [2023-05-11T14:26:54.007Z] v2.2.1-dev.3 [2023-05-11T14:26:54.007Z] v2.2.1-dev.4 [2023-05-11T14:26:54.007Z] v2.2.1-dev.5 [2023-05-11T14:26:54.007Z] v2.2.1-dev.6 [2023-05-11T14:26:54.007Z] v2.2.1-dev.7 [2023-05-11T14:26:54.007Z] v2.3.0 [2023-05-11T14:26:54.007Z] v2.3.0-dev.10 [2023-05-11T14:26:54.007Z] v2.3.0-dev.11 [2023-05-11T14:26:54.007Z] v2.3.0-dev.12 [2023-05-11T14:26:54.007Z] v2.3.0-dev.13 [2023-05-11T14:26:54.007Z] v2.3.0-dev.14 [2023-05-11T14:26:54.007Z] v2.3.0-dev.15 [2023-05-11T14:26:54.007Z] v2.3.0-dev.16 [2023-05-11T14:26:54.007Z] v2.3.0-dev.17 [2023-05-11T14:26:54.007Z] v2.3.0-dev.18 [2023-05-11T14:26:54.007Z] v2.3.0-dev.19 [2023-05-11T14:26:54.007Z] v2.3.0-dev.20 [2023-05-11T14:26:54.007Z] v2.3.0-dev.21 [2023-05-11T14:26:54.007Z] v2.3.0-dev.22 [2023-05-11T14:26:54.007Z] v2.3.0-dev.23 [2023-05-11T14:26:54.007Z] v2.3.0-dev.24 [2023-05-11T14:26:54.007Z] v2.3.0-dev.25 [2023-05-11T14:26:54.007Z] v2.3.0-dev.7 [2023-05-11T14:26:54.007Z] v2.3.0-dev.8 [2023-05-11T14:26:54.007Z] v2.3.0-dev.9 [2023-05-11T14:26:54.007Z] v3.0.0-dev.1 [2023-05-11T14:26:54.007Z] v3.0.0-dev.10 [2023-05-11T14:26:54.007Z] v3.0.0-dev.11 [2023-05-11T14:26:54.007Z] v3.0.0-dev.12 [2023-05-11T14:26:54.007Z] v3.0.0-dev.13 [2023-05-11T14:26:54.007Z] v3.0.0-dev.14 [2023-05-11T14:26:54.007Z] v3.0.0-dev.15 [2023-05-11T14:26:54.007Z] v3.0.0-dev.16 [2023-05-11T14:26:54.007Z] v3.0.0-dev.17 [2023-05-11T14:26:54.007Z] v3.0.0-dev.18 [2023-05-11T14:26:54.007Z] v3.0.0-dev.19 [2023-05-11T14:26:54.007Z] v3.0.0-dev.2 [2023-05-11T14:26:54.007Z] v3.0.0-dev.20 [2023-05-11T14:26:54.007Z] v3.0.0-dev.21 [2023-05-11T14:26:54.007Z] v3.0.0-dev.22 [2023-05-11T14:26:54.007Z] v3.0.0-dev.23 [2023-05-11T14:26:54.007Z] v3.0.0-dev.24 [2023-05-11T14:26:54.007Z] v3.0.0-dev.25 [2023-05-11T14:26:54.007Z] v3.0.0-dev.26 [2023-05-11T14:26:54.007Z] v3.0.0-dev.27 [2023-05-11T14:26:54.007Z] v3.0.0-dev.28 [2023-05-11T14:26:54.007Z] v3.0.0-dev.29 [2023-05-11T14:26:54.007Z] v3.0.0-dev.3 [2023-05-11T14:26:54.007Z] v3.0.0-dev.30 [2023-05-11T14:26:54.007Z] v3.0.0-dev.31 [2023-05-11T14:26:54.007Z] v3.0.0-dev.32 [2023-05-11T14:26:54.007Z] v3.0.0-dev.33 [2023-05-11T14:26:54.007Z] v3.0.0-dev.34 [2023-05-11T14:26:54.007Z] v3.0.0-dev.35 [2023-05-11T14:26:54.007Z] v3.0.0-dev.36 [2023-05-11T14:26:54.007Z] v3.0.0-dev.37 [2023-05-11T14:26:54.007Z] v3.0.0-dev.38 [2023-05-11T14:26:54.007Z] v3.0.0-dev.39 [2023-05-11T14:26:54.007Z] v3.0.0-dev.4 [2023-05-11T14:26:54.007Z] v3.0.0-dev.40 [2023-05-11T14:26:54.007Z] v3.0.0-dev.5 [2023-05-11T14:26:54.007Z] v3.0.0-dev.6 [2023-05-11T14:26:54.007Z] v3.0.0-dev.7 [2023-05-11T14:26:54.007Z] v3.0.0-dev.8 [2023-05-11T14:26:54.007Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-11T14:26:54.296Z] + lftools sign git-tag v3.0.0-dev.40 [2023-05-11T14:26:54.876Z] Signing Git tag with Sigul... [2023-05-11T14:26:54.876Z] Signing v3.0.0-dev.40 [Pipeline] echo [2023-05-11T14:26:55.454Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:26:55.743Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-11T14:26:55.750Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-11T14:26:55.767Z] $ docker stop --time=1 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d [2023-05-11T14:26:57.043Z] $ docker rm -f --volumes 02b7f130a817756ac98f45321aa085a8c3e962a8a19156e18406cb079a9ee75d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-11T14:26:57.482Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:26:57.482Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:26:57.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:26:57.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:26:57.851Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:26:57.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T14:26:58.210Z] $ docker top 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 -eo pid,comm [2023-05-11T14:26:58.260Z] 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-11T14:26:58.260Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:26:58.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:26:58.299Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:26:58.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:26:58.404Z] $ docker exec 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 ssh-agent [2023-05-11T14:26:58.508Z] SSH_AUTH_SOCK=/tmp/ssh-wMxPxmBic1St/agent.32 [2023-05-11T14:26:58.508Z] SSH_AGENT_PID=38 [2023-05-11T14:26:58.512Z] Running ssh-add (command line suppressed) [2023-05-11T14:26:58.612Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8984715177914141927.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8984715177914141927.key) [2023-05-11T14:26:58.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:26:58.918Z] + git semver bump pre [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [bump_version] DEBUG bumping version:3.0.0-dev.40 on axis:pre with prefix:dev [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [bump_version] DEBUG bumped version:3.0.0-dev.41 [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [write_version] DEBUG write version:3.0.0-dev.41 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,090 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,092 [execute] INFO git cat-file --batch-check [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,092 [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-11T14:26:59.178Z] 2023-05-11 14:26:59,098 [execute] INFO git cat-file --batch [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-11T14:26:59.178Z] 2023-05-11 14:26:59,103 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:26:59.178Z] 3.0.0-dev.41 [Pipeline] } [2023-05-11T14:26:59.185Z] $ docker exec --env ******** --env ******** 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 ssh-agent -k [2023-05-11T14:26:59.282Z] unset SSH_AUTH_SOCK; [2023-05-11T14:26:59.282Z] unset SSH_AGENT_PID; [2023-05-11T14:26:59.282Z] echo Agent pid 38 killed; [2023-05-11T14:26:59.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:26:59.604Z] + git semver [Pipeline] } [2023-05-11T14:26:59.870Z] $ docker stop --time=1 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 [2023-05-11T14:27:01.130Z] $ docker rm -f --volumes 25f5590303025d1ccbccdd7e4aed7796bc027327924ae2b43db3214fc0f35de7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-11T14:27:01.466Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-11T14:27:01.466Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:27:01.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-11T14:27:01.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:27:01.838Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:27:01.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-11T14:27:02.192Z] $ docker top fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-11T14:27:02.279Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-11T14:27:02.279Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-11T14:27:02.392Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-11T14:27:02.393Z] $ docker exec fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 ssh-agent [2023-05-11T14:27:02.506Z] SSH_AUTH_SOCK=/tmp/ssh-TPH9qobwf8hh/agent.33 [2023-05-11T14:27:02.506Z] SSH_AGENT_PID=39 [2023-05-11T14:27:02.511Z] Running ssh-add (command line suppressed) [2023-05-11T14:27:02.634Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9879727137988840295.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_9879727137988840295.key) [2023-05-11T14:27:02.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-11T14:27:02.940Z] + git semver push [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,094 [run_push] DEBUG push [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,094 [execute] INFO git cat-file --batch-check [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,095 [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-11T14:27:03.198Z] 2023-05-11 14:27:03,097 [execute] INFO git rev-list a8fbb87a0b517b7a42fd25174af7f055160498e3 -- [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,097 [execute] DEBUG Popen(['git', 'rev-list', 'a8fbb87a0b517b7a42fd25174af7f055160498e3', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,105 [execute] INFO git fetch -v origin [2023-05-11T14:27:03.198Z] 2023-05-11 14:27:03,105 [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-11T14:27:03.766Z] 2023-05-11 14:27:03,600 [run_push] DEBUG no remote changes detected [2023-05-11T14:27:03.766Z] 2023-05-11 14:27:03,600 [execute] INFO git push origin semver [2023-05-11T14:27:03.766Z] 2023-05-11 14:27:03,601 [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-11T14:27:04.701Z] 2023-05-11 14:27:04,558 [run_push] DEBUG push all version tags [2023-05-11T14:27:04.701Z] 2023-05-11 14:27:04,559 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-11T14:27:04.701Z] 2023-05-11 14:27:04,559 [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-11T14:27:05.638Z] 2023-05-11 14:27:05,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-11T14:27:05.638Z] 3.0.0-dev.41 [Pipeline] } [2023-05-11T14:27:05.645Z] $ docker exec --env ******** --env ******** fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 ssh-agent -k [2023-05-11T14:27:05.733Z] unset SSH_AUTH_SOCK; [2023-05-11T14:27:05.733Z] unset SSH_AGENT_PID; [2023-05-11T14:27:05.733Z] echo Agent pid 39 killed; [2023-05-11T14:27:05.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-11T14:27:06.057Z] + git semver [Pipeline] } [2023-05-11T14:27:06.328Z] $ docker stop --time=1 fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 [2023-05-11T14:27:07.621Z] $ docker rm -f --volumes fe3bf87d625cce4ad3c765518186a1903eb7c820faaafc17b24676e4eadd2ed3 [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-11T14:27:08.263Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-11T14:27:08.263Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-11T14:27:08.263Z] total 16 [2023-05-11T14:27:08.263Z] drwxr-xr-x 3 root root 4096 May 11 14:15 . [2023-05-11T14:27:08.263Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 14:26 .. [2023-05-11T14:27:08.263Z] drwxr-xr-x 2 root root 4096 May 11 14:15 cost [2023-05-11T14:27:08.263Z] -rw-r--r-- 1 root root 88 May 11 14:15 cost.csv [2023-05-11T14:27:08.263Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-11T14:27:08.263Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-11T14:27:08.263Z] total 16 [2023-05-11T14:27:08.263Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 14:15 . [2023-05-11T14:27:08.263Z] drwxrwxr-x 11 jenkins jenkins 4096 May 11 14:26 .. [2023-05-11T14:27:08.263Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 14:15 cost [2023-05-11T14:27:08.263Z] -rw-r--r-- 1 jenkins jenkins 88 May 11 14:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:08.583Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:09.158Z] ---> package-listing.sh [2023-05-11T14:27:09.158Z] ++ facter osfamily [2023-05-11T14:27:09.158Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-11T14:27:09.418Z] + OS_FAMILY=debian [2023-05-11T14:27:09.418Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-11T14:27:09.418Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-11T14:27:09.418Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-11T14:27:09.418Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-11T14:27:09.418Z] + PACKAGES=/tmp/packages_start.txt [2023-05-11T14:27:09.418Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-11T14:27:09.418Z] + PACKAGES=/tmp/packages_end.txt [2023-05-11T14:27:09.418Z] + case "${OS_FAMILY}" in [2023-05-11T14:27:09.418Z] + dpkg -l [2023-05-11T14:27:09.418Z] + grep '^ii' [2023-05-11T14:27:09.418Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-11T14:27:09.418Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-11T14:27:09.418Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-11T14:27:09.418Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-11T14:27:09.418Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-11T14:27:09.418Z] + 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-11T14:27:09.426Z] 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-11T14:27:09.701Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-11T14:27:10.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-11T14:27:10.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-11T14:27:10.334Z] prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container [2023-05-11T14:27:10.362Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-11T14:27:10.561Z] $ docker top 95466b5f15ca8031828f12a4aae4a4c821d904e8892e633c3db9fcaa001f658b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-11T14:27:10.913Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-11T14:27:11.199Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-11T14:27:11.487Z] + ls /var/log/sa-host [2023-05-11T14:27:11.487Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-11T14:27:11.558Z] provisioning config files... [2023-05-11T14:27:11.569Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12084493749204285473tmp [Pipeline] { [Pipeline] echo [2023-05-11T14:27:11.584Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:11.870Z] ---> create-netrc.sh [Pipeline] } [2023-05-11T14:27:11.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:12.202Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-11T14:27:12.211Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:12.493Z] ---> sudo-logs.sh [2023-05-11T14:27:12.493Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-11T14:27:12.524Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:12.806Z] ---> job-cost.sh [2023-05-11T14:27:12.806Z] lf-activate-venv: SKIPPING [2023-05-11T14:27:12.806Z] DEBUG: total: 0.2199999988079071 [2023-05-11T14:27:12.806Z] INFO: Retrieving Stack Cost... [2023-05-11T14:27:13.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-11T14:27:13.634Z] INFO: Archiving Costs [Pipeline] echo [2023-05-11T14:27:13.643Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-11T14:27:13.925Z] ---> logs-deploy.sh [2023-05-11T14:27:13.925Z] lf-activate-venv: SKIPPING [2023-05-11T14:27:13.925Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/106 [2023-05-11T14:27:13.925Z] INFO: archiving workspace using pattern(s): [2023-05-11T14:27:14.864Z] Archives upload complete. [2023-05-11T14:27:14.864Z] INFO: archiving logs to Nexus