Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e24262ef9183de1c0c5cd9baee4f648fbf1c66fe 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-ssh13740385557507031424.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-ssh8217426514096552384.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-ssh6455910207259128952.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-ssh10982635248437034096.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-ssh7792472059976770548.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15914’ Running on prd-ubuntu20.04-docker-8c-8g-15923 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 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483)" > 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 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 > git rev-list --no-walk 2cc3518655efefba22ff17e7bf1dcccbd8773e75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-17T19:02:48.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-17T19:02:48.268Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-17T19:02:48.283Z] ========================================================= [2023-05-17T19:02:48.283Z] EdgeX Global Pipelines Version Info [2023-05-17T19:02:48.283Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:02:49.004Z] ------------------- [2023-05-17T19:02:49.004Z] stable info: [2023-05-17T19:02:49.004Z] ------------------- [2023-05-17T19:02:49.004Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-17T19:02:49.004Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T19:02:49.004Z] Message: update stable to v1.0.249 [2023-05-17T19:02:49.576Z] ------------------- [2023-05-17T19:02:49.576Z] experimental info: [2023-05-17T19:02:49.576Z] ------------------- [2023-05-17T19:02:49.576Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-17T19:02:49.576Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T19:02:49.576Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-17T19:02:49.762Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-17T19:02:49.780Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-17T19:02:49.802Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-17T19:02:49.820Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-17T19:02:49.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-17T19:02:49.862Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-17T19:02:49.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-17T19:02:49.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-17T19:02:49.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-17T19:02:49.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-17T19:02:49.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-17T19:02:49.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-17T19:02:50.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-17T19:02:50.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-17T19:02:50.033Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-17T19:02:50.050Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-17T19:02:50.076Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T19:02:50.093Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T19:02:50.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-17T19:02:50.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-17T19:02:50.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-17T19:02:50.167Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-17T19:02:50.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-17T19:02:50.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-17T19:02:50.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-17T19:02:50.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-17T19:02:50.267Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-17T19:02:50.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-17T19:02:50.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-17T19:02:50.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-17T19:02:50.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo [2023-05-17T19:02:50.382Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e24262e [Pipeline] echo [2023-05-17T19:02:50.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:02:50.468Z] provisioning config files... [2023-05-17T19:02:50.481Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config13302020362332186306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:02:50.786Z] ---> docker-login.sh [2023-05-17T19:02:50.786Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:02:51.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:02:51.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:02:51.046Z] Configure a credential helper to remove this warning. See [2023-05-17T19:02:51.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:02:51.046Z] [2023-05-17T19:02:51.046Z] Login Succeeded [2023-05-17T19:02:51.046Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:02:51.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:02:51.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:02:51.046Z] Configure a credential helper to remove this warning. See [2023-05-17T19:02:51.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:02:51.046Z] [2023-05-17T19:02:51.046Z] Login Succeeded [2023-05-17T19:02:51.046Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:02:51.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:02:51.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:02:51.305Z] Configure a credential helper to remove this warning. See [2023-05-17T19:02:51.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:02:51.305Z] [2023-05-17T19:02:51.305Z] Login Succeeded [2023-05-17T19:02:51.305Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:02:51.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:02:51.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:02:51.305Z] Configure a credential helper to remove this warning. See [2023-05-17T19:02:51.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:02:51.305Z] [2023-05-17T19:02:51.305Z] Login Succeeded [2023-05-17T19:02:51.305Z] docker.io [2023-05-17T19:02:51.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:02:51.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:02:51.566Z] Configure a credential helper to remove this warning. See [2023-05-17T19:02:51.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:02:51.566Z] [2023-05-17T19:02:51.566Z] Login Succeeded [2023-05-17T19:02:51.566Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:02:51.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-17T19:02:51.956Z] + git rev-list -1 --merges e24262ef9183de1c0c5cd9baee4f648fbf1c66fe~1..e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo [2023-05-17T19:02:52.007Z] -----------> git rev-list -1 --merges e24262ef9183de1c0c5cd9baee4f648fbf1c66fe~1..e24262ef9183de1c0c5cd9baee4f648fbf1c66fe e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [false] [Pipeline] sh [2023-05-17T19:02:52.300Z] + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo [2023-05-17T19:02:52.329Z] ========================================================= [2023-05-17T19:02:52.329Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-17T19:02:52.329Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:02:52.687Z] + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] echo [2023-05-17T19:02:52.698Z] [semverPrep] GIT_COMMIT: e24262ef9183de1c0c5cd9baee4f648fbf1c66fe, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483) [Pipeline] echo [2023-05-17T19:02:52.706Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-17T19:02:53.052Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T19:02:53.052Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-17T19:02:53.052Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-17T19:02:53.052Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-17T19:02:53.052Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-17T19:02:53.052Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-17T19:02:53.052Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:02:53.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:02:53.417Z] [2023-05-17T19:02:53.417Z] 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-17T19:02:53.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:02:53.716Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-17T19:02:53.716Z] b85a868b505f: Pulling fs layer [2023-05-17T19:02:53.716Z] e2be974225ed: Pulling fs layer [2023-05-17T19:02:53.716Z] 339a4e72a1f5: Pulling fs layer [2023-05-17T19:02:53.716Z] 988bab9f4d93: Pulling fs layer [2023-05-17T19:02:53.716Z] 1469e6f7b9e6: Pulling fs layer [2023-05-17T19:02:53.716Z] eaf3925da568: Pulling fs layer [2023-05-17T19:02:53.716Z] bab4dde63d76: Pulling fs layer [2023-05-17T19:02:53.716Z] bde34c3a00c8: Pulling fs layer [2023-05-17T19:02:53.716Z] b352a97aabf1: Pulling fs layer [2023-05-17T19:02:53.716Z] 4872d77fe225: Pulling fs layer [2023-05-17T19:02:53.716Z] 5851b861e8e6: Pulling fs layer [2023-05-17T19:02:53.716Z] 1469e6f7b9e6: Waiting [2023-05-17T19:02:53.716Z] 988bab9f4d93: Waiting [2023-05-17T19:02:53.716Z] b352a97aabf1: Waiting [2023-05-17T19:02:53.716Z] eaf3925da568: Waiting [2023-05-17T19:02:53.716Z] 4872d77fe225: Waiting [2023-05-17T19:02:53.716Z] bab4dde63d76: Waiting [2023-05-17T19:02:53.716Z] bde34c3a00c8: Waiting [2023-05-17T19:02:53.716Z] 5851b861e8e6: Waiting [2023-05-17T19:02:53.716Z] e2be974225ed: Verifying Checksum [2023-05-17T19:02:53.716Z] e2be974225ed: Download complete [2023-05-17T19:02:53.716Z] 988bab9f4d93: Verifying Checksum [2023-05-17T19:02:53.716Z] 988bab9f4d93: Download complete [2023-05-17T19:02:53.716Z] 1469e6f7b9e6: Verifying Checksum [2023-05-17T19:02:53.716Z] 1469e6f7b9e6: Download complete [2023-05-17T19:02:53.716Z] eaf3925da568: Download complete [2023-05-17T19:02:53.975Z] 339a4e72a1f5: Verifying Checksum [2023-05-17T19:02:53.975Z] 339a4e72a1f5: Download complete [2023-05-17T19:02:53.975Z] bde34c3a00c8: Download complete [2023-05-17T19:02:53.975Z] b352a97aabf1: Verifying Checksum [2023-05-17T19:02:53.975Z] b352a97aabf1: Download complete [2023-05-17T19:02:53.975Z] 4872d77fe225: Download complete [2023-05-17T19:02:53.975Z] 5851b861e8e6: Verifying Checksum [2023-05-17T19:02:53.975Z] b85a868b505f: Verifying Checksum [2023-05-17T19:02:53.975Z] b85a868b505f: Download complete [2023-05-17T19:02:54.235Z] bab4dde63d76: Verifying Checksum [2023-05-17T19:02:54.235Z] bab4dde63d76: Download complete [2023-05-17T19:02:55.170Z] b85a868b505f: Pull complete [2023-05-17T19:02:55.170Z] e2be974225ed: Pull complete [2023-05-17T19:02:55.735Z] 339a4e72a1f5: Pull complete [2023-05-17T19:02:55.735Z] 988bab9f4d93: Pull complete [2023-05-17T19:02:55.994Z] 1469e6f7b9e6: Pull complete [2023-05-17T19:02:55.994Z] eaf3925da568: Pull complete [2023-05-17T19:02:57.371Z] bab4dde63d76: Pull complete [2023-05-17T19:02:57.630Z] bde34c3a00c8: Pull complete [2023-05-17T19:02:57.630Z] b352a97aabf1: Pull complete [2023-05-17T19:02:57.630Z] 4872d77fe225: Pull complete [2023-05-17T19:02:57.888Z] 5851b861e8e6: Pull complete [2023-05-17T19:02:57.888Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-17T19:02:57.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:02:57.888Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:02:57.976Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:02:58.011Z] $ 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-17T19:03:01.000Z] $ docker top a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 -eo pid,comm [2023-05-17T19:03:01.056Z] 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-17T19:03:01.056Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T19:03:01.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:03:01.100Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:03:01.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:03:01.218Z] $ docker exec a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent [2023-05-17T19:03:01.313Z] SSH_AUTH_SOCK=/tmp/ssh-tm7v9P1gGInR/agent.32 [2023-05-17T19:03:01.313Z] SSH_AGENT_PID=38 [2023-05-17T19:03:01.318Z] Running ssh-add (command line suppressed) [2023-05-17T19:03:01.417Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10298140440712477575.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_10298140440712477575.key) [2023-05-17T19:03:01.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:03:01.712Z] + git tag --points-at HEAD [Pipeline] } [2023-05-17T19:03:01.726Z] $ docker exec --env ******** --env ******** a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent -k [2023-05-17T19:03:01.821Z] unset SSH_AUTH_SOCK; [2023-05-17T19:03:01.821Z] unset SSH_AGENT_PID; [2023-05-17T19:03:01.821Z] echo Agent pid 38 killed; [2023-05-17T19:03:01.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-17T19:03:01.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:03:01.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:03:01.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:03:01.985Z] $ docker exec a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent [2023-05-17T19:03:02.093Z] SSH_AUTH_SOCK=/tmp/ssh-bJXHRmj8MDix/agent.71 [2023-05-17T19:03:02.093Z] SSH_AGENT_PID=77 [2023-05-17T19:03:02.098Z] Running ssh-add (command line suppressed) [2023-05-17T19:03:02.198Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8795442100677097629.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_8795442100677097629.key) [2023-05-17T19:03:02.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:03:02.499Z] + git semver init [2023-05-17T19:03:02.758Z] 2023-05-17 19:03:02,700 [run_init] DEBUG init version:0.0.0 force:False [2023-05-17T19:03:02.758Z] 2023-05-17 19:03:02,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-17T19:03:02.758Z] 2023-05-17 19:03:02,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver [2023-05-17T19:03:02.758Z] 2023-05-17 19:03:02,702 [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-17T19:03:03.695Z] 2023-05-17 19:03:03,486 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude [2023-05-17T19:03:03.695Z] 2023-05-17 19:03:03,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False [2023-05-17T19:03:03.695Z] 2023-05-17 19:03:03,487 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:03:03.695Z] 2023-05-17 19:03:03,487 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:03:03.695Z] 3.0.0-dev.42 [Pipeline] } [2023-05-17T19:03:03.708Z] $ docker exec --env ******** --env ******** a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 ssh-agent -k [2023-05-17T19:03:03.793Z] unset SSH_AUTH_SOCK; [2023-05-17T19:03:03.794Z] unset SSH_AGENT_PID; [2023-05-17T19:03:03.794Z] echo Agent pid 77 killed; [2023-05-17T19:03:03.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T19:03:04.106Z] + git semver [Pipeline] } [2023-05-17T19:03:04.383Z] $ docker stop --time=1 a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 [2023-05-17T19:03:05.640Z] $ docker rm -f --volumes a406cf9dbc030020bc0cb298282506b310db74f0ba7c5eb4cdcdd43b2ed7a559 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:03:05.969Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-17T19:03:06.173Z] Stashed 1 file(s) [Pipeline] echo [2023-05-17T19:03:06.175Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [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-17T19:03:06.369Z] provisioning config files... [2023-05-17T19:03:06.378Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config47018238116116325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:03:06.674Z] ---> docker-login.sh [2023-05-17T19:03:06.674Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:03:06.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:06.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:06.934Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:06.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:06.934Z] [2023-05-17T19:03:06.934Z] Login Succeeded [2023-05-17T19:03:06.934Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:03:06.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:06.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:06.934Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:06.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:06.934Z] [2023-05-17T19:03:06.934Z] Login Succeeded [2023-05-17T19:03:06.934Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:03:06.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:07.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:07.195Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:07.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:07.195Z] [2023-05-17T19:03:07.195Z] Login Succeeded [2023-05-17T19:03:07.195Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:03:07.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:07.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:07.195Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:07.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:07.195Z] [2023-05-17T19:03:07.195Z] Login Succeeded [2023-05-17T19:03:07.195Z] docker.io [2023-05-17T19:03:07.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:07.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:07.456Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:07.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:07.456Z] [2023-05-17T19:03:07.456Z] Login Succeeded [2023-05-17T19:03:07.456Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:03:07.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T19:03:07.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:03:07.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:03:07.570Z] ========================================================= [2023-05-17T19:03:07.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-17T19:03:07.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:03:07.888Z] + 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-17T19:03:07.888Z] Sending build context to Docker daemon 6.526MB [2023-05-17T19:03:07.888Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:03:07.888Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T19:03:07.888Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-17T19:03:07.888Z] f56be85fc22e: Pulling fs layer [2023-05-17T19:03:07.888Z] 85791d961cd3: Pulling fs layer [2023-05-17T19:03:07.888Z] d694b5ae8c79: Pulling fs layer [2023-05-17T19:03:07.888Z] 9f32a84ed3da: Pulling fs layer [2023-05-17T19:03:07.888Z] 4d19c01a9841: Pulling fs layer [2023-05-17T19:03:07.888Z] 9325e15d5711: Pulling fs layer [2023-05-17T19:03:07.888Z] 556b6ee489ea: Pulling fs layer [2023-05-17T19:03:07.888Z] c5a4b2cf53e6: Pulling fs layer [2023-05-17T19:03:07.888Z] 9f32a84ed3da: Waiting [2023-05-17T19:03:07.888Z] 4d19c01a9841: Waiting [2023-05-17T19:03:07.888Z] 556b6ee489ea: Waiting [2023-05-17T19:03:07.888Z] c5a4b2cf53e6: Waiting [2023-05-17T19:03:07.888Z] 85791d961cd3: Download complete [2023-05-17T19:03:07.888Z] 9f32a84ed3da: Verifying Checksum [2023-05-17T19:03:07.888Z] 9f32a84ed3da: Download complete [2023-05-17T19:03:07.888Z] 4d19c01a9841: Verifying Checksum [2023-05-17T19:03:07.888Z] 4d19c01a9841: Download complete [2023-05-17T19:03:08.148Z] f56be85fc22e: Verifying Checksum [2023-05-17T19:03:08.148Z] f56be85fc22e: Download complete [2023-05-17T19:03:08.148Z] 9325e15d5711: Verifying Checksum [2023-05-17T19:03:08.148Z] 9325e15d5711: Download complete [2023-05-17T19:03:08.148Z] f56be85fc22e: Pull complete [2023-05-17T19:03:08.410Z] 85791d961cd3: Pull complete [2023-05-17T19:03:08.672Z] c5a4b2cf53e6: Verifying Checksum [2023-05-17T19:03:08.672Z] c5a4b2cf53e6: Download complete [2023-05-17T19:03:08.672Z] d694b5ae8c79: Verifying Checksum [2023-05-17T19:03:08.672Z] d694b5ae8c79: Download complete [2023-05-17T19:03:08.932Z] 556b6ee489ea: Verifying Checksum [2023-05-17T19:03:08.932Z] 556b6ee489ea: Download complete [2023-05-17T19:03:12.216Z] d694b5ae8c79: Pull complete [2023-05-17T19:03:12.216Z] 9f32a84ed3da: Pull complete [2023-05-17T19:03:12.216Z] 4d19c01a9841: Pull complete [2023-05-17T19:03:12.216Z] 9325e15d5711: Pull complete [2023-05-17T19:03:14.116Z] 556b6ee489ea: Pull complete [2023-05-17T19:03:15.050Z] c5a4b2cf53e6: Pull complete [2023-05-17T19:03:15.050Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-17T19:03:15.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-17T19:03:15.050Z] ---> c4be618373d6 [2023-05-17T19:03:15.050Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:03:19.247Z] ---> Running in f0052b13c27f [2023-05-17T19:03:19.247Z] Removing intermediate container f0052b13c27f [2023-05-17T19:03:19.247Z] ---> abf671eedfbd [2023-05-17T19:03:19.247Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:03:19.247Z] ---> Running in b13f51edfb79 [2023-05-17T19:03:19.247Z] Removing intermediate container b13f51edfb79 [2023-05-17T19:03:19.247Z] ---> 96e27e0709be [2023-05-17T19:03:19.247Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:03:19.247Z] ---> Running in a1732ce84d73 [2023-05-17T19:03:19.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:03:19.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:03:19.508Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-17T19:03:19.508Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-17T19:03:19.508Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-17T19:03:19.508Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:03:19.508Z] OK: 270 MiB in 61 packages [2023-05-17T19:03:20.079Z] Removing intermediate container a1732ce84d73 [2023-05-17T19:03:20.079Z] ---> f5c59e301149 [2023-05-17T19:03:20.079Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-17T19:03:20.079Z] ---> Running in a91f68673d31 [2023-05-17T19:03:20.079Z] Removing intermediate container a91f68673d31 [2023-05-17T19:03:20.079Z] ---> 7fb0bb392e69 [2023-05-17T19:03:20.079Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T19:03:20.337Z] ---> 749c52713ad1 [2023-05-17T19:03:20.337Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:03:20.337Z] ---> Running in c8ec5cb1e753 [2023-05-17T19:03:21.326Z] Still waiting to schedule task [2023-05-17T19:03:21.326Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-17T19:03:46.953Z] Removing intermediate container c8ec5cb1e753 [2023-05-17T19:03:46.953Z] ---> bdbb6ca50351 [2023-05-17T19:03:46.953Z] Step 9/10 : COPY . . [2023-05-17T19:03:46.953Z] ---> fdb7f59eda18 [2023-05-17T19:03:46.953Z] Step 10/10 : RUN ${MAKE} [2023-05-17T19:03:46.953Z] ---> Running in d8adfea28e11 [2023-05-17T19:03:46.953Z] noop [2023-05-17T19:03:46.953Z] Removing intermediate container d8adfea28e11 [2023-05-17T19:03:46.953Z] ---> 3b90a549ed48 [2023-05-17T19:03:46.953Z] Successfully built 3b90a549ed48 [2023-05-17T19:03:46.953Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:03:47.261Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T19:03:47.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:03:47.337Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:03:47.368Z] $ 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-17T19:03:47.699Z] $ docker top b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:03:48.042Z] + go version [2023-05-17T19:03:48.042Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-17T19:03:48.060Z] $ docker stop --time=1 b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d [2023-05-17T19:03:49.327Z] $ docker rm -f --volumes b53c473b0d2269f25e195b9dd79218e423c293f1e2254eccddb84224815d280d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:03:49.748Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T19:03:49.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:03:49.828Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:03:49.865Z] $ 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-17T19:03:50.182Z] $ docker top 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:03:50.535Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-17T19:03:50.822Z] + make test [2023-05-17T19:03:50.822Z] go test ./... -coverprofile=coverage.out [2023-05-17T19:03:56.085Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-17T19:04:06.053Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-17T19:04:06.053Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.013s coverage: 47.4% of statements [2023-05-17T19:04:10.235Z] go vet ./... [2023-05-17T19:04:13.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T19:04:13.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T19:04:13.513Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T19:04:13.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T19:04:13.540Z] $ docker stop --time=1 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 [2023-05-17T19:04:16.783Z] $ docker rm -f --volumes 01a2c99db7b15e9600b1213f771793bbd41994d845d18bd14618cdaf83d45327 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:04:17.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T19:04:17.273Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-17T19:04:17.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T19:04:18.019Z] + ls -al . [2023-05-17T19:04:18.019Z] total 184 [2023-05-17T19:04:18.019Z] drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:03 . [2023-05-17T19:04:18.019Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 .. [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:02 .dockerignore [2023-05-17T19:04:18.019Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:03 .git [2023-05-17T19:04:18.019Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 .github [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:02 .gitignore [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:02 .golangci.yml [2023-05-17T19:04:18.019Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:03 .semver [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:02 Attribution.txt [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:02 CHANGELOG.md [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:02 Dockerfile [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:02 GOVERNANCE.md [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:02 Jenkinsfile [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:02 LICENSE [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:02 Makefile [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:02 OWNERS.md [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:02 README.md [2023-05-17T19:04:18.019Z] -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION [2023-05-17T19:04:18.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 bin [2023-05-17T19:04:18.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 cmd [2023-05-17T19:04:18.020Z] -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:04 coverage.out [2023-05-17T19:04:18.020Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:02 go.mod [2023-05-17T19:04:18.020Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:02 go.sum [2023-05-17T19:04:18.020Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 internal [2023-05-17T19:04:18.020Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 simulator [2023-05-17T19:04:18.020Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 snap [2023-05-17T19:04:18.020Z] -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:18.342Z] + 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe --label arch=amd64 --label version=3.0.0-dev.42 . [2023-05-17T19:04:18.342Z] Sending build context to Docker daemon 6.551MB [2023-05-17T19:04:18.342Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:04:18.342Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-17T19:04:18.342Z] ---> 3b90a549ed48 [2023-05-17T19:04:18.342Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:04:18.600Z] ---> Running in 8ed189dee0cc [2023-05-17T19:04:18.600Z] Removing intermediate container 8ed189dee0cc [2023-05-17T19:04:18.600Z] ---> da24ea4884b6 [2023-05-17T19:04:18.600Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:04:18.600Z] ---> Running in 03c13eca1d57 [2023-05-17T19:04:18.600Z] Removing intermediate container 03c13eca1d57 [2023-05-17T19:04:18.600Z] ---> cc70a4715549 [2023-05-17T19:04:18.600Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:04:18.859Z] ---> Running in bbf6f690159f [2023-05-17T19:04:19.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:19.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:19.378Z] OK: 270 MiB in 61 packages [2023-05-17T19:04:19.636Z] Removing intermediate container bbf6f690159f [2023-05-17T19:04:19.636Z] ---> d3bd43b8d4e0 [2023-05-17T19:04:19.636Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-17T19:04:19.636Z] ---> Running in b77a921ee0ac [2023-05-17T19:04:19.636Z] Removing intermediate container b77a921ee0ac [2023-05-17T19:04:19.636Z] ---> cda5738308e5 [2023-05-17T19:04:19.636Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-17T19:04:19.896Z] ---> e88b2ee68d3c [2023-05-17T19:04:19.896Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:04:19.896Z] ---> Running in 5529bd4a5270 [2023-05-17T19:04:20.542Z] Removing intermediate container 5529bd4a5270 [2023-05-17T19:04:20.542Z] ---> 0cb44df541e6 [2023-05-17T19:04:20.542Z] Step 9/22 : COPY . . [2023-05-17T19:04:20.991Z] ---> bb759949817f [2023-05-17T19:04:20.991Z] Step 10/22 : RUN ${MAKE} [2023-05-17T19:04:21.262Z] ---> Running in cc816a2b9841 [2023-05-17T19:04:21.522Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-17T19:04:39.604Z] Removing intermediate container cc816a2b9841 [2023-05-17T19:04:39.604Z] ---> e192ab952f2d [2023-05-17T19:04:39.604Z] Step 11/22 : FROM alpine:3.17 [2023-05-17T19:04:39.604Z] 3.17: Pulling from library/alpine [2023-05-17T19:04:39.604Z] f56be85fc22e: Already exists [2023-05-17T19:04:39.604Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T19:04:39.604Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T19:04:39.604Z] ---> 9ed4aefc74f6 [2023-05-17T19:04:39.604Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-17T19:04:39.604Z] ---> Running in 50dd11ec5606 [2023-05-17T19:04:39.604Z] Removing intermediate container 50dd11ec5606 [2023-05-17T19:04:39.604Z] ---> 1e33baca218d [2023-05-17T19:04:39.604Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-17T19:04:39.604Z] ---> Running in 653c984f2c59 [2023-05-17T19:04:39.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:39.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:40.120Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-17T19:04:40.120Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:04:40.120Z] OK: 7 MiB in 16 packages [2023-05-17T19:04:40.377Z] Removing intermediate container 653c984f2c59 [2023-05-17T19:04:40.377Z] ---> 21bcec66314d [2023-05-17T19:04:40.377Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-17T19:04:40.944Z] ---> d3d398fe823e [2023-05-17T19:04:40.944Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-17T19:04:41.203Z] ---> 15b9a0fa4796 [2023-05-17T19:04:41.203Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-17T19:04:41.203Z] ---> 6d33234b2ecd [2023-05-17T19:04:41.203Z] Step 17/22 : EXPOSE 59901 [2023-05-17T19:04:41.203Z] ---> Running in 2b7ba3fe9568 [2023-05-17T19:04:41.203Z] Removing intermediate container 2b7ba3fe9568 [2023-05-17T19:04:41.203Z] ---> 14485962e3b9 [2023-05-17T19:04:41.203Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-17T19:04:41.203Z] ---> Running in 4484f75bab6c [2023-05-17T19:04:41.464Z] Removing intermediate container 4484f75bab6c [2023-05-17T19:04:41.464Z] ---> 95564b89c2de [2023-05-17T19:04:41.464Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-17T19:04:41.464Z] ---> Running in 29362cbe926e [2023-05-17T19:04:41.464Z] Removing intermediate container 29362cbe926e [2023-05-17T19:04:41.464Z] ---> 36d63b81cdac [2023-05-17T19:04:41.464Z] Step 20/22 : LABEL arch=amd64 [2023-05-17T19:04:41.464Z] ---> Running in f2ec255b88a2 [2023-05-17T19:04:41.464Z] Removing intermediate container f2ec255b88a2 [2023-05-17T19:04:41.464Z] ---> aced47bb1453 [2023-05-17T19:04:41.464Z] Step 21/22 : LABEL git_sha=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:04:41.464Z] ---> Running in 4933f5db4aaf [2023-05-17T19:04:41.723Z] Removing intermediate container 4933f5db4aaf [2023-05-17T19:04:41.723Z] ---> ef83855b8f17 [2023-05-17T19:04:41.723Z] Step 22/22 : LABEL version=3.0.0-dev.42 [2023-05-17T19:04:41.723Z] ---> Running in 147bb4b664f2 [2023-05-17T19:04:41.723Z] Removing intermediate container 147bb4b664f2 [2023-05-17T19:04:41.723Z] ---> d7898f2525ee [2023-05-17T19:04:41.723Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T19:04:41.723Z] Successfully built d7898f2525ee [2023-05-17T19:04:41.723Z] 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-17T19:04:41.838Z] provisioning config files... [2023-05-17T19:04:41.847Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config15028064895726560233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:04:42.147Z] ---> docker-login.sh [2023-05-17T19:04:42.147Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:04:42.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:42.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:42.147Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:42.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:42.147Z] [2023-05-17T19:04:42.147Z] Login Succeeded [2023-05-17T19:04:42.147Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:04:42.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:42.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:42.147Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:42.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:42.147Z] [2023-05-17T19:04:42.147Z] Login Succeeded [2023-05-17T19:04:42.147Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:04:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:42.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:42.406Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:42.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:42.406Z] [2023-05-17T19:04:42.406Z] Login Succeeded [2023-05-17T19:04:42.406Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:04:42.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:42.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:42.406Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:42.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:42.406Z] [2023-05-17T19:04:42.406Z] Login Succeeded [2023-05-17T19:04:42.406Z] docker.io [2023-05-17T19:04:42.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:42.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:42.666Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:42.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:42.666Z] [2023-05-17T19:04:42.666Z] Login Succeeded [2023-05-17T19:04:42.666Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:04:42.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-17T19:04:42.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:04:42.756Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2023-05-17T19:04:42.756Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:04:42.756Z] latest [2023-05-17T19:04:42.756Z] 3.0.0-dev.42 [2023-05-17T19:04:42.756Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:04:42.756Z] main [2023-05-17T19:04:42.756Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:43.097Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:43.419Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:04:43.419Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-17T19:04:43.419Z] 54f10fca6138: Preparing [2023-05-17T19:04:43.419Z] aae3e8a7ad0f: Preparing [2023-05-17T19:04:43.419Z] ee63f79dbc1b: Preparing [2023-05-17T19:04:43.419Z] 7f5ad85ef53f: Preparing [2023-05-17T19:04:43.419Z] f1417ff83b31: Preparing [2023-05-17T19:04:43.419Z] f1417ff83b31: Layer already exists [2023-05-17T19:04:43.419Z] 54f10fca6138: Pushed [2023-05-17T19:04:43.419Z] aae3e8a7ad0f: Pushed [2023-05-17T19:04:43.419Z] 7f5ad85ef53f: Pushed [2023-05-17T19:04:45.946Z] ee63f79dbc1b: Pushed [2023-05-17T19:04:45.946Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:46.261Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:46.583Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-17T19:04:46.583Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-17T19:04:46.583Z] 54f10fca6138: Preparing [2023-05-17T19:04:46.583Z] aae3e8a7ad0f: Preparing [2023-05-17T19:04:46.583Z] ee63f79dbc1b: Preparing [2023-05-17T19:04:46.583Z] 7f5ad85ef53f: Preparing [2023-05-17T19:04:46.583Z] f1417ff83b31: Preparing [2023-05-17T19:04:46.583Z] 7f5ad85ef53f: Layer already exists [2023-05-17T19:04:46.583Z] 54f10fca6138: Layer already exists [2023-05-17T19:04:46.583Z] f1417ff83b31: Layer already exists [2023-05-17T19:04:46.583Z] ee63f79dbc1b: Layer already exists [2023-05-17T19:04:46.583Z] aae3e8a7ad0f: Layer already exists [2023-05-17T19:04:46.583Z] latest: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:46.912Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:47.223Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 [2023-05-17T19:04:47.223Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-17T19:04:47.223Z] 54f10fca6138: Preparing [2023-05-17T19:04:47.223Z] aae3e8a7ad0f: Preparing [2023-05-17T19:04:47.223Z] ee63f79dbc1b: Preparing [2023-05-17T19:04:47.223Z] 7f5ad85ef53f: Preparing [2023-05-17T19:04:47.223Z] f1417ff83b31: Preparing [2023-05-17T19:04:47.223Z] ee63f79dbc1b: Layer already exists [2023-05-17T19:04:47.223Z] 7f5ad85ef53f: Layer already exists [2023-05-17T19:04:47.223Z] aae3e8a7ad0f: Layer already exists [2023-05-17T19:04:47.223Z] 54f10fca6138: Layer already exists [2023-05-17T19:04:47.223Z] f1417ff83b31: Layer already exists [2023-05-17T19:04:47.223Z] 3.0.0-dev.42: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:47.546Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:47.865Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:04:47.865Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-17T19:04:47.865Z] 54f10fca6138: Preparing [2023-05-17T19:04:47.865Z] aae3e8a7ad0f: Preparing [2023-05-17T19:04:47.865Z] ee63f79dbc1b: Preparing [2023-05-17T19:04:47.865Z] 7f5ad85ef53f: Preparing [2023-05-17T19:04:47.865Z] f1417ff83b31: Preparing [2023-05-17T19:04:47.865Z] f1417ff83b31: Layer already exists [2023-05-17T19:04:47.865Z] 7f5ad85ef53f: Layer already exists [2023-05-17T19:04:47.865Z] aae3e8a7ad0f: Layer already exists [2023-05-17T19:04:47.865Z] ee63f79dbc1b: Layer already exists [2023-05-17T19:04:47.865Z] 54f10fca6138: Layer already exists [2023-05-17T19:04:47.865Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:48.191Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:48.520Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2023-05-17T19:04:48.520Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2023-05-17T19:04:48.520Z] 54f10fca6138: Preparing [2023-05-17T19:04:48.520Z] aae3e8a7ad0f: Preparing [2023-05-17T19:04:48.520Z] ee63f79dbc1b: Preparing [2023-05-17T19:04:48.520Z] 7f5ad85ef53f: Preparing [2023-05-17T19:04:48.520Z] f1417ff83b31: Preparing [2023-05-17T19:04:48.520Z] 54f10fca6138: Layer already exists [2023-05-17T19:04:48.520Z] aae3e8a7ad0f: Layer already exists [2023-05-17T19:04:48.520Z] 7f5ad85ef53f: Layer already exists [2023-05-17T19:04:48.520Z] ee63f79dbc1b: Layer already exists [2023-05-17T19:04:48.520Z] f1417ff83b31: Layer already exists [2023-05-17T19:04:48.520Z] main: digest: sha256:86f368b50767332e576639455cc05bf6cee7bfa2e3d5aa5d5228acdc06cf6c8d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-17T19:04:48.592Z] ===================================================== [Pipeline] echo [2023-05-17T19:04:48.602Z] taggedImages: [2023-05-17T19:04:48.602Z] - nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:04:48.602Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2023-05-17T19:04:48.602Z] - nexus3.edgexfoundry.org:10004/device-modbus:3.0.0-dev.42 [2023-05-17T19:04:48.602Z] - nexus3.edgexfoundry.org:10004/device-modbus:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:04:48.602Z] - 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-17T19:04:49.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:04:49.019Z] [2023-05-17T19:04:49.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:49.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:04:49.321Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-17T19:04:49.321Z] 5eb5b503b376: Pulling fs layer [2023-05-17T19:04:49.321Z] 5c69ac0246d0: Pulling fs layer [2023-05-17T19:04:49.321Z] ec43610c2a17: Pulling fs layer [2023-05-17T19:04:49.321Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-17T19:04:49.321Z] 33b1e0a273af: Pulling fs layer [2023-05-17T19:04:49.321Z] 5d3b04190fa2: Pulling fs layer [2023-05-17T19:04:49.321Z] 2f39f015ded8: Pulling fs layer [2023-05-17T19:04:49.321Z] 33b1e0a273af: Waiting [2023-05-17T19:04:49.321Z] 5d3b04190fa2: Waiting [2023-05-17T19:04:49.321Z] 2f39f015ded8: Waiting [2023-05-17T19:04:49.321Z] 3a2ae6a8a46f: Waiting [2023-05-17T19:04:49.321Z] 5c69ac0246d0: Verifying Checksum [2023-05-17T19:04:49.321Z] 5c69ac0246d0: Download complete [2023-05-17T19:04:49.321Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-17T19:04:49.321Z] 3a2ae6a8a46f: Download complete [2023-05-17T19:04:49.321Z] 33b1e0a273af: Verifying Checksum [2023-05-17T19:04:49.321Z] 33b1e0a273af: Download complete [2023-05-17T19:04:49.321Z] ec43610c2a17: Verifying Checksum [2023-05-17T19:04:49.321Z] ec43610c2a17: Download complete [2023-05-17T19:04:49.321Z] 5d3b04190fa2: Verifying Checksum [2023-05-17T19:04:49.321Z] 5d3b04190fa2: Download complete [2023-05-17T19:04:49.580Z] 5eb5b503b376: Verifying Checksum [2023-05-17T19:04:49.580Z] 5eb5b503b376: Download complete [2023-05-17T19:04:50.148Z] 2f39f015ded8: Verifying Checksum [2023-05-17T19:04:50.148Z] 2f39f015ded8: Download complete [2023-05-17T19:04:50.720Z] 5eb5b503b376: Pull complete [2023-05-17T19:04:50.979Z] 5c69ac0246d0: Pull complete [2023-05-17T19:04:51.242Z] ec43610c2a17: Pull complete [2023-05-17T19:04:51.506Z] 3a2ae6a8a46f: Pull complete [2023-05-17T19:04:51.506Z] 33b1e0a273af: Pull complete [2023-05-17T19:04:51.765Z] 5d3b04190fa2: Pull complete [2023-05-17T19:04:55.959Z] 2f39f015ded8: Pull complete [2023-05-17T19:04:55.959Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-17T19:04:55.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:04:55.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:04:56.033Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:04:56.066Z] $ 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-17T19:04:59.859Z] $ docker top 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:05:00.241Z] ---> job-cost.sh [2023-05-17T19:05:00.241Z] lf-activate-venv: SKIPPING [2023-05-17T19:05:00.241Z] INFO: No Stack... [2023-05-17T19:05:00.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T19:05:00.762Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T19:05:01.049Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2023-05-17T19:05:01.049Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T19:05:01.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [2023-05-17T19:05:01.080Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] did not exist. Created. [2023-05-17T19:05:01.081Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T19:05:01.403Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-17T19:05:01.430Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T19:05:01.437Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T19:05:01.462Z] $ docker stop --time=1 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 [2023-05-17T19:05:02.614Z] $ docker rm -f --volumes 2f1a29331da637e68af57045f149e4399916796d9c8f663d418e25b08ad882d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-17T19:08:19.985Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15932 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2023-05-17T19:08:19.998Z] Running in /w/workspace/device-modbus-go/108 [Pipeline] { [Pipeline] checkout [2023-05-17T19:08:20.045Z] Selected Git installation does not exist. Using Default [2023-05-17T19:08:20.045Z] The recommended git tool is: NONE [2023-05-17T19:08:27.622Z] using credential edgex-jenkins-ssh [2023-05-17T19:08:27.641Z] Cloning the remote Git repository [2023-05-17T19:08:27.711Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-17T19:08:27.831Z] > git init /w/workspace/device-modbus-go/108 # timeout=10 [2023-05-17T19:08:28.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-17T19:08:28.015Z] > git --version # timeout=10 [2023-05-17T19:08:28.044Z] > git --version # 'git version 2.25.1' [2023-05-17T19:08:28.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T19:08:28.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T19:08:29.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-17T19:08:29.572Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T19:08:30.856Z] Avoid second fetch [2023-05-17T19:08:30.857Z] Checking out Revision e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (main) [2023-05-17T19:08:31.725Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#483)" [2023-05-17T19:08:30.886Z] > git config core.sparsecheckout # timeout=10 [2023-05-17T19:08:30.981Z] > git checkout -f e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:08:32.813Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-17T19:08:32.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T19:08:32.813Z] Dload Upload Total Spent Left Speed [2023-05-17T19:08:32.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12751 75 9637 0 0 68835 0 --:--:-- --:--:-- --:--:-- 68347 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-05-17T19:08:33.542Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-17T19:08:33.896Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-17T19:08:33.896Z] + sudo tee /etc/docker/daemon.new [2023-05-17T19:08:33.896Z] { [2023-05-17T19:08:33.896Z] "registry-mirrors": [ [2023-05-17T19:08:33.896Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-17T19:08:33.896Z] ], [2023-05-17T19:08:33.896Z] "bip": "10.250.0.254/24", [2023-05-17T19:08:33.896Z] "hosts": [ [2023-05-17T19:08:33.896Z] "tcp://0.0.0.0:5555", [2023-05-17T19:08:33.896Z] "unix:///var/run/docker.sock" [2023-05-17T19:08:33.896Z] ], [2023-05-17T19:08:33.896Z] "mtu": 1458, [2023-05-17T19:08:33.896Z] "selinux-enabled": true, [2023-05-17T19:08:33.896Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-17T19:08:33.896Z] } [Pipeline] sh [2023-05-17T19:08:34.268Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-17T19:08:34.648Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:08:53.032Z] provisioning config files... [2023-05-17T19:08:53.071Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/108@tmp/config13100510876497892695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:08:53.459Z] ---> docker-login.sh [2023-05-17T19:08:53.460Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:08:54.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:54.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:54.332Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:54.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:54.333Z] [2023-05-17T19:08:54.333Z] Login Succeeded [2023-05-17T19:08:54.333Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:08:54.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:54.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:54.606Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:54.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:54.606Z] [2023-05-17T19:08:54.606Z] Login Succeeded [2023-05-17T19:08:54.606Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:08:54.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:55.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:55.154Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:55.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:55.154Z] [2023-05-17T19:08:55.154Z] Login Succeeded [2023-05-17T19:08:55.154Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:08:55.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:55.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:55.428Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:55.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:55.428Z] [2023-05-17T19:08:55.428Z] Login Succeeded [2023-05-17T19:08:55.428Z] docker.io [2023-05-17T19:08:55.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:55.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:55.978Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:55.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:55.978Z] [2023-05-17T19:08:55.978Z] Login Succeeded [2023-05-17T19:08:55.978Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:08:55.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T19:08:56.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:08:56.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:08:56.393Z] ========================================================= [2023-05-17T19:08:56.393Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-17T19:08:56.393Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:08:56.796Z] + 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-17T19:08:57.081Z] Sending build context to Docker daemon 3.415MB [2023-05-17T19:08:57.357Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:08:57.357Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T19:08:57.357Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-17T19:08:57.357Z] c41833b44d91: Pulling fs layer [2023-05-17T19:08:57.357Z] ed15518f5707: Pulling fs layer [2023-05-17T19:08:57.357Z] feae8fd75edb: Pulling fs layer [2023-05-17T19:08:57.357Z] 242c74f7c9fa: Pulling fs layer [2023-05-17T19:08:57.357Z] 3cdef696dda3: Pulling fs layer [2023-05-17T19:08:57.357Z] 2ced38df9373: Pulling fs layer [2023-05-17T19:08:57.357Z] 58f1dce35555: Pulling fs layer [2023-05-17T19:08:57.357Z] 242c74f7c9fa: Waiting [2023-05-17T19:08:57.357Z] 3cdef696dda3: Waiting [2023-05-17T19:08:57.357Z] 2ced38df9373: Waiting [2023-05-17T19:08:57.357Z] 58f1dce35555: Waiting [2023-05-17T19:08:57.357Z] ed15518f5707: Verifying Checksum [2023-05-17T19:08:57.357Z] ed15518f5707: Download complete [2023-05-17T19:08:57.637Z] 242c74f7c9fa: Verifying Checksum [2023-05-17T19:08:57.637Z] 242c74f7c9fa: Download complete [2023-05-17T19:08:57.637Z] 3cdef696dda3: Verifying Checksum [2023-05-17T19:08:57.637Z] 3cdef696dda3: Download complete [2023-05-17T19:08:57.637Z] c41833b44d91: Verifying Checksum [2023-05-17T19:08:57.637Z] c41833b44d91: Download complete [2023-05-17T19:08:58.640Z] c41833b44d91: Pull complete [2023-05-17T19:08:59.251Z] 58f1dce35555: Verifying Checksum [2023-05-17T19:08:59.251Z] 58f1dce35555: Download complete [2023-05-17T19:08:59.535Z] ed15518f5707: Pull complete [2023-05-17T19:09:01.579Z] feae8fd75edb: Verifying Checksum [2023-05-17T19:09:01.579Z] feae8fd75edb: Download complete [2023-05-17T19:09:01.864Z] 2ced38df9373: Verifying Checksum [2023-05-17T19:09:01.864Z] 2ced38df9373: Download complete [2023-05-17T19:09:12.053Z] feae8fd75edb: Pull complete [2023-05-17T19:09:12.653Z] 242c74f7c9fa: Pull complete [2023-05-17T19:09:12.926Z] 3cdef696dda3: Pull complete [2023-05-17T19:09:19.760Z] 2ced38df9373: Pull complete [2023-05-17T19:09:22.403Z] 58f1dce35555: Pull complete [2023-05-17T19:09:22.403Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-17T19:09:22.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-17T19:09:22.403Z] ---> fadd8f120f05 [2023-05-17T19:09:22.403Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:09:24.384Z] ---> Running in be23873ce52b [2023-05-17T19:09:24.657Z] Removing intermediate container be23873ce52b [2023-05-17T19:09:24.657Z] ---> f5afe1563b09 [2023-05-17T19:09:24.657Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:09:24.657Z] ---> Running in 142cb32147a6 [2023-05-17T19:09:25.254Z] Removing intermediate container 142cb32147a6 [2023-05-17T19:09:25.254Z] ---> 171b3104c386 [2023-05-17T19:09:25.254Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:09:25.254Z] ---> Running in c1599965d2ae [2023-05-17T19:09:26.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:09:27.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:09:28.682Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-17T19:09:28.961Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-17T19:09:28.961Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-17T19:09:28.961Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:09:28.961Z] OK: 270 MiB in 61 packages [2023-05-17T19:09:30.950Z] Removing intermediate container c1599965d2ae [2023-05-17T19:09:30.950Z] ---> 03669735d4f1 [2023-05-17T19:09:30.950Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-17T19:09:30.950Z] ---> Running in 0920b26f81ef [2023-05-17T19:09:31.231Z] Removing intermediate container 0920b26f81ef [2023-05-17T19:09:31.231Z] ---> d8764f2df562 [2023-05-17T19:09:31.231Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T19:09:31.844Z] ---> 07baf382181f [2023-05-17T19:09:31.844Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:09:32.127Z] ---> Running in e1be69ff9611 [2023-05-17T19:10:40.406Z] Removing intermediate container e1be69ff9611 [2023-05-17T19:10:40.406Z] ---> d39dd58528db [2023-05-17T19:10:40.406Z] Step 9/10 : COPY . . [2023-05-17T19:10:40.996Z] ---> d2a375734366 [2023-05-17T19:10:40.996Z] Step 10/10 : RUN ${MAKE} [2023-05-17T19:10:40.996Z] ---> Running in b3cd0a6f169d [2023-05-17T19:10:42.433Z] noop [2023-05-17T19:10:43.036Z] Removing intermediate container b3cd0a6f169d [2023-05-17T19:10:43.036Z] ---> 7a18f39d3968 [2023-05-17T19:10:43.036Z] Successfully built 7a18f39d3968 [2023-05-17T19:10:43.036Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:10:43.405Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T19:10:43.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:10:43.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container [2023-05-17T19:10:43.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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-17T19:10:48.647Z] $ docker top f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:10:49.525Z] + go version [2023-05-17T19:10:49.525Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-17T19:10:49.551Z] $ docker stop --time=1 f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 [2023-05-17T19:10:51.259Z] $ docker rm -f --volumes f7d94f689363d96d4c991fc740a5a2775838519b6e7ff9cb0f8a41bb5feeedd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:10:51.892Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T19:10:51.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:10:52.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container [2023-05-17T19:10:52.212Z] $ 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/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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-17T19:10:53.451Z] $ docker top d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:10:54.318Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/108 [Pipeline] fileExists [Pipeline] sh [2023-05-17T19:10:54.995Z] + make test [2023-05-17T19:10:54.995Z] go test ./... -coverprofile=coverage.out [2023-05-17T19:11:33.923Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-17T19:14:10.789Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-17T19:14:10.789Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.080s coverage: 47.4% of statements [2023-05-17T19:14:10.789Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-17T19:14:10.789Z] go vet ./... [2023-05-17T19:14:43.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T19:14:43.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T19:14:43.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T19:14:43.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T19:14:43.185Z] $ docker stop --time=1 d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 [2023-05-17T19:14:45.131Z] $ docker rm -f --volumes d3fcd1c956189fe9af64594b41332e8a038045e88827770e7dcb94e87f10cdc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:14:46.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T19:14:46.432Z] Warning: overwriting stash ‘coverage-report’ [2023-05-17T19:14:47.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:14:47.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T19:14:47.777Z] + ls -al . [2023-05-17T19:14:47.777Z] total 180 [2023-05-17T19:14:47.777Z] drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:10 . [2023-05-17T19:14:47.777Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 .. [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:08 .dockerignore [2023-05-17T19:14:47.777Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:08 .git [2023-05-17T19:14:47.777Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 .github [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:08 .gitignore [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:08 .golangci.yml [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:08 Attribution.txt [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:08 CHANGELOG.md [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:08 Dockerfile [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:08 GOVERNANCE.md [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:08 Jenkinsfile [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:08 LICENSE [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:08 Makefile [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:08 OWNERS.md [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:08 README.md [2023-05-17T19:14:47.777Z] -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:03 VERSION [2023-05-17T19:14:47.778Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 bin [2023-05-17T19:14:47.778Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 cmd [2023-05-17T19:14:47.778Z] -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:14 coverage.out [2023-05-17T19:14:47.778Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:08 go.mod [2023-05-17T19:14:47.778Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:08 go.sum [2023-05-17T19:14:47.778Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 internal [2023-05-17T19:14:47.778Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 simulator [2023-05-17T19:14:47.778Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 snap [2023-05-17T19:14:47.778Z] -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:14:48.147Z] + 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe --label arch=arm64 --label version=3.0.0-dev.42 . [2023-05-17T19:14:48.424Z] Sending build context to Docker daemon 3.44MB [2023-05-17T19:14:48.424Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:14:48.424Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-17T19:14:48.424Z] ---> 7a18f39d3968 [2023-05-17T19:14:48.424Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:14:48.698Z] ---> Running in 93ed5a095322 [2023-05-17T19:14:48.968Z] Removing intermediate container 93ed5a095322 [2023-05-17T19:14:48.968Z] ---> 82f84c170307 [2023-05-17T19:14:48.968Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:14:49.240Z] ---> Running in b59b9b28816e [2023-05-17T19:14:49.509Z] Removing intermediate container b59b9b28816e [2023-05-17T19:14:49.509Z] ---> a13abccd9241 [2023-05-17T19:14:49.509Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:14:49.509Z] ---> Running in 090c0056b1c4 [2023-05-17T19:14:50.942Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:14:51.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:14:52.507Z] OK: 270 MiB in 61 packages [2023-05-17T19:14:55.176Z] Removing intermediate container 090c0056b1c4 [2023-05-17T19:14:55.176Z] ---> f63b09a3d585 [2023-05-17T19:14:55.176Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-17T19:14:55.176Z] ---> Running in 9db46de6b2d0 [2023-05-17T19:14:55.176Z] Removing intermediate container 9db46de6b2d0 [2023-05-17T19:14:55.176Z] ---> 2e84a59e1f93 [2023-05-17T19:14:55.176Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-17T19:14:55.789Z] ---> dbbdd77a400a [2023-05-17T19:14:55.789Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:14:55.789Z] ---> Running in f0f03cc56080 [2023-05-17T19:14:59.167Z] Removing intermediate container f0f03cc56080 [2023-05-17T19:14:59.167Z] ---> fa4a01e80c3c [2023-05-17T19:14:59.167Z] Step 9/22 : COPY . . [2023-05-17T19:14:59.754Z] ---> 766dd8792e48 [2023-05-17T19:14:59.754Z] Step 10/22 : RUN ${MAKE} [2023-05-17T19:14:59.754Z] ---> Running in 4b0b6dd790d8 [2023-05-17T19:15:00.726Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=3.0.0-dev.42" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-17T19:17:37.569Z] Removing intermediate container 4b0b6dd790d8 [2023-05-17T19:17:37.569Z] ---> 5093bfa8cd87 [2023-05-17T19:17:37.569Z] Step 11/22 : FROM alpine:3.17 [2023-05-17T19:17:37.569Z] 3.17: Pulling from library/alpine [2023-05-17T19:17:37.569Z] c41833b44d91: Already exists [2023-05-17T19:17:37.569Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T19:17:37.569Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T19:17:37.569Z] ---> 51e60588ff2c [2023-05-17T19:17:37.569Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-17T19:17:37.569Z] ---> Running in 37348ef5e5dc [2023-05-17T19:17:37.569Z] Removing intermediate container 37348ef5e5dc [2023-05-17T19:17:37.569Z] ---> 09367a0d76be [2023-05-17T19:17:37.569Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-17T19:17:37.569Z] ---> Running in f9bef6477077 [2023-05-17T19:17:37.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:17:37.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:17:37.569Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-17T19:17:37.569Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:17:37.569Z] OK: 8 MiB in 16 packages [2023-05-17T19:17:37.569Z] Removing intermediate container f9bef6477077 [2023-05-17T19:17:37.569Z] ---> 9510714937eb [2023-05-17T19:17:37.569Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-17T19:17:37.569Z] ---> 04735734bff0 [2023-05-17T19:17:37.569Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-17T19:17:37.569Z] ---> 96e4f0d5304b [2023-05-17T19:17:37.569Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-17T19:17:37.569Z] ---> 7b341857764f [2023-05-17T19:17:37.569Z] Step 17/22 : EXPOSE 59901 [2023-05-17T19:17:37.569Z] ---> Running in b0723911fc0b [2023-05-17T19:17:37.569Z] Removing intermediate container b0723911fc0b [2023-05-17T19:17:37.569Z] ---> 835345c99203 [2023-05-17T19:17:37.569Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-17T19:17:37.569Z] ---> Running in cbfff018723d [2023-05-17T19:17:37.569Z] Removing intermediate container cbfff018723d [2023-05-17T19:17:37.569Z] ---> 346417a4abbb [2023-05-17T19:17:37.569Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-17T19:17:37.569Z] ---> Running in 7123d16278a4 [2023-05-17T19:17:37.569Z] Removing intermediate container 7123d16278a4 [2023-05-17T19:17:37.569Z] ---> d89ebe8a6b9f [2023-05-17T19:17:37.569Z] Step 20/22 : LABEL arch=arm64 [2023-05-17T19:17:37.570Z] ---> Running in 3d2a38ce92c9 [2023-05-17T19:17:37.570Z] Removing intermediate container 3d2a38ce92c9 [2023-05-17T19:17:37.570Z] ---> 3aa31e79cfed [2023-05-17T19:17:37.570Z] Step 21/22 : LABEL git_sha=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:17:37.570Z] ---> Running in 2a2d8e126785 [2023-05-17T19:17:37.570Z] Removing intermediate container 2a2d8e126785 [2023-05-17T19:17:37.570Z] ---> fa2af31c3002 [2023-05-17T19:17:37.570Z] Step 22/22 : LABEL version=3.0.0-dev.42 [2023-05-17T19:17:37.570Z] ---> Running in 42f8172b8fcc [2023-05-17T19:17:37.570Z] Removing intermediate container 42f8172b8fcc [2023-05-17T19:17:37.570Z] ---> d94211d50986 [2023-05-17T19:17:37.570Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T19:17:37.570Z] Successfully built d94211d50986 [2023-05-17T19:17:37.570Z] 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-17T19:17:37.704Z] provisioning config files... [2023-05-17T19:17:37.720Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/108@tmp/config13650701012614156593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:17:38.074Z] ---> docker-login.sh [2023-05-17T19:17:38.074Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:17:38.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:17:38.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:17:38.344Z] Configure a credential helper to remove this warning. See [2023-05-17T19:17:38.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:17:38.344Z] [2023-05-17T19:17:38.344Z] Login Succeeded [2023-05-17T19:17:38.344Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:17:38.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:17:38.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:17:38.880Z] Configure a credential helper to remove this warning. See [2023-05-17T19:17:38.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:17:38.880Z] [2023-05-17T19:17:38.880Z] Login Succeeded [2023-05-17T19:17:38.880Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:17:39.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:17:39.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:17:39.150Z] Configure a credential helper to remove this warning. See [2023-05-17T19:17:39.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:17:39.150Z] [2023-05-17T19:17:39.150Z] Login Succeeded [2023-05-17T19:17:39.150Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:17:39.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:17:39.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:17:39.686Z] Configure a credential helper to remove this warning. See [2023-05-17T19:17:39.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:17:39.686Z] [2023-05-17T19:17:39.686Z] Login Succeeded [2023-05-17T19:17:39.686Z] docker.io [2023-05-17T19:17:39.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:17:40.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:17:40.221Z] Configure a credential helper to remove this warning. See [2023-05-17T19:17:40.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:17:40.221Z] [2023-05-17T19:17:40.221Z] Login Succeeded [2023-05-17T19:17:40.221Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:17:40.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-17T19:17:40.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:17:40.309Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2023-05-17T19:17:40.309Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:17:40.309Z] latest [2023-05-17T19:17:40.309Z] 3.0.0-dev.42 [2023-05-17T19:17:40.309Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:17:40.309Z] main [2023-05-17T19:17:40.309Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:40.681Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:41.062Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:17:41.062Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-17T19:17:41.062Z] bd34c2be0593: Preparing [2023-05-17T19:17:41.062Z] e40a94aecd9b: Preparing [2023-05-17T19:17:41.062Z] 805f250e16b6: Preparing [2023-05-17T19:17:41.062Z] ae33eb4f92bd: Preparing [2023-05-17T19:17:41.062Z] 26cbea5cba74: Preparing [2023-05-17T19:17:41.062Z] 26cbea5cba74: Layer already exists [2023-05-17T19:17:41.331Z] bd34c2be0593: Pushed [2023-05-17T19:17:41.331Z] ae33eb4f92bd: Pushed [2023-05-17T19:17:41.331Z] e40a94aecd9b: Pushed [2023-05-17T19:17:46.680Z] 805f250e16b6: Pushed [2023-05-17T19:17:46.680Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:49.649Z] + 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-17T19:17:50.019Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-17T19:17:50.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-17T19:17:50.019Z] bd34c2be0593: Preparing [2023-05-17T19:17:50.019Z] e40a94aecd9b: Preparing [2023-05-17T19:17:50.019Z] 805f250e16b6: Preparing [2023-05-17T19:17:50.019Z] ae33eb4f92bd: Preparing [2023-05-17T19:17:50.019Z] 26cbea5cba74: Preparing [2023-05-17T19:17:50.019Z] bd34c2be0593: Layer already exists [2023-05-17T19:17:50.019Z] ae33eb4f92bd: Layer already exists [2023-05-17T19:17:50.019Z] 805f250e16b6: Layer already exists [2023-05-17T19:17:50.019Z] 26cbea5cba74: Layer already exists [2023-05-17T19:17:50.019Z] e40a94aecd9b: Layer already exists [2023-05-17T19:17:50.288Z] latest: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:50.660Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:51.012Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 [2023-05-17T19:17:51.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-17T19:17:51.012Z] bd34c2be0593: Preparing [2023-05-17T19:17:51.012Z] e40a94aecd9b: Preparing [2023-05-17T19:17:51.012Z] 805f250e16b6: Preparing [2023-05-17T19:17:51.012Z] ae33eb4f92bd: Preparing [2023-05-17T19:17:51.012Z] 26cbea5cba74: Preparing [2023-05-17T19:17:51.012Z] 26cbea5cba74: Layer already exists [2023-05-17T19:17:51.012Z] bd34c2be0593: Layer already exists [2023-05-17T19:17:51.012Z] 805f250e16b6: Layer already exists [2023-05-17T19:17:51.012Z] ae33eb4f92bd: Layer already exists [2023-05-17T19:17:51.012Z] e40a94aecd9b: Layer already exists [2023-05-17T19:17:51.012Z] 3.0.0-dev.42: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:51.654Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:52.019Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:17:52.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-17T19:17:52.019Z] bd34c2be0593: Preparing [2023-05-17T19:17:52.019Z] e40a94aecd9b: Preparing [2023-05-17T19:17:52.019Z] 805f250e16b6: Preparing [2023-05-17T19:17:52.019Z] ae33eb4f92bd: Preparing [2023-05-17T19:17:52.019Z] 26cbea5cba74: Preparing [2023-05-17T19:17:52.019Z] e40a94aecd9b: Layer already exists [2023-05-17T19:17:52.019Z] ae33eb4f92bd: Layer already exists [2023-05-17T19:17:52.019Z] bd34c2be0593: Layer already exists [2023-05-17T19:17:52.019Z] 805f250e16b6: Layer already exists [2023-05-17T19:17:52.019Z] 26cbea5cba74: Layer already exists [2023-05-17T19:17:52.288Z] e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:52.642Z] + 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-17T19:17:53.025Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2023-05-17T19:17:53.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2023-05-17T19:17:53.025Z] bd34c2be0593: Preparing [2023-05-17T19:17:53.025Z] e40a94aecd9b: Preparing [2023-05-17T19:17:53.025Z] 805f250e16b6: Preparing [2023-05-17T19:17:53.025Z] ae33eb4f92bd: Preparing [2023-05-17T19:17:53.025Z] 26cbea5cba74: Preparing [2023-05-17T19:17:53.025Z] e40a94aecd9b: Layer already exists [2023-05-17T19:17:53.025Z] 26cbea5cba74: Layer already exists [2023-05-17T19:17:53.025Z] 805f250e16b6: Layer already exists [2023-05-17T19:17:53.025Z] ae33eb4f92bd: Layer already exists [2023-05-17T19:17:53.025Z] bd34c2be0593: Layer already exists [2023-05-17T19:17:53.294Z] main: digest: sha256:fe0c0d2f86119787bf3570515a887be2aeee92032009802f5e6e715937fbea42 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-17T19:17:53.366Z] ===================================================== [Pipeline] echo [2023-05-17T19:17:53.372Z] taggedImages: [2023-05-17T19:17:53.372Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [2023-05-17T19:17:53.372Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2023-05-17T19:17:53.372Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:3.0.0-dev.42 [2023-05-17T19:17:53.372Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:e24262ef9183de1c0c5cd9baee4f648fbf1c66fe-3.0.0-dev.42 [2023-05-17T19:17:53.372Z] - 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-17T19:17:53.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:17:53.795Z] [2023-05-17T19:17:53.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:54.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:17:54.156Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-17T19:17:54.156Z] 8998bd30e6a1: Pulling fs layer [2023-05-17T19:17:54.156Z] 04944245beec: Pulling fs layer [2023-05-17T19:17:54.156Z] 699f458cf7ca: Pulling fs layer [2023-05-17T19:17:54.156Z] 765212b225bb: Pulling fs layer [2023-05-17T19:17:54.156Z] f23df028b6ca: Pulling fs layer [2023-05-17T19:17:54.156Z] d65c8cfc05b1: Pulling fs layer [2023-05-17T19:17:54.156Z] 2437ff75d9bd: Pulling fs layer [2023-05-17T19:17:54.156Z] 765212b225bb: Waiting [2023-05-17T19:17:54.156Z] f23df028b6ca: Waiting [2023-05-17T19:17:54.156Z] d65c8cfc05b1: Waiting [2023-05-17T19:17:54.156Z] 2437ff75d9bd: Waiting [2023-05-17T19:17:54.428Z] 04944245beec: Verifying Checksum [2023-05-17T19:17:54.428Z] 04944245beec: Download complete [2023-05-17T19:17:54.428Z] 765212b225bb: Verifying Checksum [2023-05-17T19:17:54.428Z] 765212b225bb: Download complete [2023-05-17T19:17:54.428Z] f23df028b6ca: Verifying Checksum [2023-05-17T19:17:54.428Z] f23df028b6ca: Download complete [2023-05-17T19:17:54.428Z] d65c8cfc05b1: Verifying Checksum [2023-05-17T19:17:54.428Z] d65c8cfc05b1: Download complete [2023-05-17T19:17:54.707Z] 699f458cf7ca: Verifying Checksum [2023-05-17T19:17:54.707Z] 699f458cf7ca: Download complete [2023-05-17T19:17:54.983Z] 8998bd30e6a1: Verifying Checksum [2023-05-17T19:17:54.983Z] 8998bd30e6a1: Download complete [2023-05-17T19:17:57.582Z] 2437ff75d9bd: Verifying Checksum [2023-05-17T19:17:57.582Z] 2437ff75d9bd: Download complete [2023-05-17T19:17:59.534Z] 8998bd30e6a1: Pull complete [2023-05-17T19:17:59.534Z] 04944245beec: Pull complete [2023-05-17T19:18:00.951Z] 699f458cf7ca: Pull complete [2023-05-17T19:18:02.908Z] 765212b225bb: Pull complete [2023-05-17T19:18:03.494Z] f23df028b6ca: Pull complete [2023-05-17T19:18:03.494Z] d65c8cfc05b1: Pull complete [2023-05-17T19:18:18.506Z] 2437ff75d9bd: Pull complete [2023-05-17T19:18:18.506Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-17T19:18:18.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:18:18.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:18:18.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-15932 does not seem to be running inside a container [2023-05-17T19:18:18.792Z] $ 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/108 -v /w/workspace/device-modbus-go/108:/w/workspace/device-modbus-go/108:rw,z -v /w/workspace/device-modbus-go/108@tmp:/w/workspace/device-modbus-go/108@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-17T19:18:21.561Z] $ docker top 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:22.442Z] ---> job-cost.sh [2023-05-17T19:18:22.442Z] lf-activate-venv: SKIPPING [2023-05-17T19:18:22.442Z] INFO: No Stack... [2023-05-17T19:18:23.028Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-17T19:18:23.613Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T19:18:24.272Z] + cat /w/workspace/device-modbus-go/108/archives/cost.csv [2023-05-17T19:18:24.272Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T19:18:24.310Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [2023-05-17T19:18:24.324Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] did not exist. Created. [2023-05-17T19:18:24.324Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T19:18:24.996Z] /w/workspace/device-modbus-go/108@tmp/durable-3a71de02/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-17T19:18:25.661Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-17T19:18:25.682Z] Warning: overwriting stash ‘stack-cost’ [2023-05-17T19:18:25.734Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T19:18:25.741Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T19:18:25.767Z] $ docker stop --time=1 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 [2023-05-17T19:18:27.292Z] $ docker rm -f --volumes 5c6cceb177a8dfed69d08c8988e11494cbaadfd328d0363d445c0ed33dec2d81 [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-17T19:18:27.710Z] provisioning config files... [2023-05-17T19:18:27.716Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config403615470963588355tmp [Pipeline] { [Pipeline] sh [2023-05-17T19:18:28.008Z] + set +x [2023-05-17T19:18:28.008Z] + curl -s https://codecov.io/bash [2023-05-17T19:18:28.008Z] + bash -s -- [2023-05-17T19:18:28.008Z] [2023-05-17T19:18:28.008Z] _____ _ [2023-05-17T19:18:28.008Z] / ____| | | [2023-05-17T19:18:28.008Z] | | ___ __| | ___ ___ _____ __ [2023-05-17T19:18:28.008Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-17T19:18:28.008Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-17T19:18:28.008Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-17T19:18:28.008Z] Bash-1.0.6 [2023-05-17T19:18:28.008Z] [2023-05-17T19:18:28.008Z] [2023-05-17T19:18:28.008Z] ==> git version 2.25.1 found [2023-05-17T19:18:28.008Z] ==> 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-17T19:18:28.008Z] Release-Date: 2020-01-08 [2023-05-17T19:18:28.008Z] 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-17T19:18:28.008Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-17T19:18:28.008Z] ==> Jenkins CI detected. [2023-05-17T19:18:28.008Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2023-05-17T19:18:28.008Z] project root: . [2023-05-17T19:18:28.008Z] --> token set from env [2023-05-17T19:18:28.008Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-17T19:18:28.008Z] ==> Running gcov in . (disable via -X gcov) [2023-05-17T19:18:28.008Z] ==> Python coveragepy not found [2023-05-17T19:18:28.008Z] ==> Searching for coverage reports in: [2023-05-17T19:18:28.008Z] + . [2023-05-17T19:18:28.008Z] -> Found 1 reports [2023-05-17T19:18:28.008Z] ==> Detecting git/mercurial file structure [2023-05-17T19:18:28.008Z] ==> Reading reports [2023-05-17T19:18:28.008Z] + ./coverage.out bytes=24160 [2023-05-17T19:18:28.266Z] ==> Appending adjustments [2023-05-17T19:18:28.266Z] https://docs.codecov.io/docs/fixing-reports [2023-05-17T19:18:28.266Z] + Found adjustments [2023-05-17T19:18:28.266Z] ==> Gzipping contents [2023-05-17T19:18:28.266Z] 4.0K /tmp/codecov.KbWEtl.gz [2023-05-17T19:18:28.266Z] ==> Uploading reports [2023-05-17T19:18:28.266Z] url: https://codecov.io [2023-05-17T19:18:28.266Z] query: branch=main&commit=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-17T19:18:28.266Z] -> Pinging Codecov [2023-05-17T19:18:28.266Z] 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=e24262ef9183de1c0c5cd9baee4f648fbf1c66fe&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-17T19:18:28.525Z] -> Uploading to [2023-05-17T19:18:28.525Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/e24262ef9183de1c0c5cd9baee4f648fbf1c66fe/81f39c97-7665-495c-9aa9-d17862cf500d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3c17da77f1f6d288451908e161fb98ac8c47770566a6baa3bd61f5df968bc4d [2023-05-17T19:18:28.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T19:18:28.525Z] Dload Upload Total Spent Left Speed [2023-05-17T19:18:28.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 21210 --:--:-- --:--:-- --:--:-- 21210 [2023-05-17T19:18:28.525Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] } [2023-05-17T19:18:28.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-17T19:18:28.712Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-17T19:18:28.721Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:18:29.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-17T19:18:29.021Z] [2023-05-17T19:18:29.021Z] 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-17T19:18:29.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-17T19:18:29.326Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-17T19:18:29.326Z] df9b9388f04a: Pulling fs layer [2023-05-17T19:18:29.326Z] 52dc419b0ee2: Pulling fs layer [2023-05-17T19:18:29.326Z] 25bc292e5bac: Pulling fs layer [2023-05-17T19:18:29.326Z] 114826534d7a: Pulling fs layer [2023-05-17T19:18:29.326Z] 4657fd5d0bcf: Pulling fs layer [2023-05-17T19:18:29.326Z] 6ad1cebc031e: Pulling fs layer [2023-05-17T19:18:29.326Z] 8a3aa393b2d8: Pulling fs layer [2023-05-17T19:18:29.326Z] 4657fd5d0bcf: Waiting [2023-05-17T19:18:29.326Z] 6ad1cebc031e: Waiting [2023-05-17T19:18:29.326Z] 114826534d7a: Waiting [2023-05-17T19:18:29.326Z] 8a3aa393b2d8: Waiting [2023-05-17T19:18:29.326Z] 25bc292e5bac: Verifying Checksum [2023-05-17T19:18:29.326Z] 25bc292e5bac: Download complete [2023-05-17T19:18:29.326Z] 52dc419b0ee2: Verifying Checksum [2023-05-17T19:18:29.326Z] 52dc419b0ee2: Download complete [2023-05-17T19:18:29.326Z] 4657fd5d0bcf: Verifying Checksum [2023-05-17T19:18:29.326Z] 4657fd5d0bcf: Download complete [2023-05-17T19:18:29.326Z] df9b9388f04a: Download complete [2023-05-17T19:18:29.326Z] 6ad1cebc031e: Verifying Checksum [2023-05-17T19:18:29.326Z] 6ad1cebc031e: Download complete [2023-05-17T19:18:29.587Z] df9b9388f04a: Pull complete [2023-05-17T19:18:29.587Z] 52dc419b0ee2: Pull complete [2023-05-17T19:18:29.587Z] 25bc292e5bac: Pull complete [2023-05-17T19:18:30.158Z] 114826534d7a: Verifying Checksum [2023-05-17T19:18:30.158Z] 114826534d7a: Download complete [2023-05-17T19:18:30.158Z] 8a3aa393b2d8: Verifying Checksum [2023-05-17T19:18:30.158Z] 8a3aa393b2d8: Download complete [2023-05-17T19:18:33.440Z] 114826534d7a: Pull complete [2023-05-17T19:18:33.440Z] 4657fd5d0bcf: Pull complete [2023-05-17T19:18:33.440Z] 6ad1cebc031e: Pull complete [2023-05-17T19:18:35.974Z] 8a3aa393b2d8: Pull complete [2023-05-17T19:18:35.974Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-17T19:18:35.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-17T19:18:35.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:18:36.050Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:18:36.076Z] $ 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-17T19:18:39.558Z] $ docker top a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-17T19:18:39.629Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-modbus-go:main' [Pipeline] sh [2023-05-17T19:18:39.906Z] + set -o pipefail [2023-05-17T19:18:39.906Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-modbus-go:main' [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/5174d6d0-2379-4548-918f-caa15a8d100f/history/b5f2de89-fd18-4955-9153-79f1291858f6 [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] [2023-05-17T19:18:44.102Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-17T19:18:44.102Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-17T19:18:44.102Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-17T19:18:44.106Z] $ docker stop --time=1 a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f [2023-05-17T19:18:47.261Z] $ docker rm -f --volumes a0e0df7b3fe2d268a45be239970362be35ae4a12810a532e3de27dbe90f7880f [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-17T19:18:48.018Z] + git log --format=format:%s -1 e24262ef9183de1c0c5cd9baee4f648fbf1c66fe [Pipeline] sh [2023-05-17T19:18:48.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T19:18:48.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:18:48.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:18:48.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:18:48.708Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:18:48.731Z] $ 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-17T19:18:49.145Z] $ docker top abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T19:18:49.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:18:49.248Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:18:49.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:18:49.361Z] $ docker exec abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e ssh-agent [2023-05-17T19:18:49.476Z] SSH_AUTH_SOCK=/tmp/ssh-404Ex6tirUkr/agent.32 [2023-05-17T19:18:49.476Z] SSH_AGENT_PID=38 [2023-05-17T19:18:49.480Z] Running ssh-add (command line suppressed) [2023-05-17T19:18:49.573Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11986089917836701665.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_11986089917836701665.key) [2023-05-17T19:18:49.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:18:49.879Z] + git semver tag [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,039 [run_tag] DEBUG tag force:False [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,039 [check_head_tag] DEBUG check head tag [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,041 [execute] INFO git cat-file --batch-check [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,045 [execute] INFO git cat-file --batch [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=) [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,069 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,069 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-17T19:18:50.139Z] 2023-05-17 19:18:50,073 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:18:50.139Z] 3.0.0-dev.42 [Pipeline] } [2023-05-17T19:18:50.140Z] $ docker exec --env ******** --env ******** abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e ssh-agent -k [2023-05-17T19:18:50.228Z] unset SSH_AUTH_SOCK; [2023-05-17T19:18:50.229Z] unset SSH_AGENT_PID; [2023-05-17T19:18:50.229Z] echo Agent pid 38 killed; [2023-05-17T19:18:50.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T19:18:50.550Z] + git semver [Pipeline] } [2023-05-17T19:18:50.819Z] $ docker stop --time=1 abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e [2023-05-17T19:18:52.063Z] $ docker rm -f --volumes abc03f9bdae6441e28af75658b3e9c46187cffd9806cec75ddf8e44fbfae702e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:18:52.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-17T19:18:52.462Z] [2023-05-17T19:18:52.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:18:52.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-17T19:18:52.763Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-17T19:18:52.763Z] ab5ef0e58194: Pulling fs layer [2023-05-17T19:18:52.763Z] 9712f1f96733: Pulling fs layer [2023-05-17T19:18:52.763Z] 63f879dbbcfc: Pulling fs layer [2023-05-17T19:18:52.763Z] 0d9ebad4ef96: Pulling fs layer [2023-05-17T19:18:52.763Z] e9a5061849ea: Pulling fs layer [2023-05-17T19:18:52.763Z] d747dcd14b5f: Pulling fs layer [2023-05-17T19:18:52.763Z] 2de7ff778b66: Pulling fs layer [2023-05-17T19:18:52.763Z] 0d9ebad4ef96: Waiting [2023-05-17T19:18:52.763Z] d747dcd14b5f: Waiting [2023-05-17T19:18:52.763Z] 2de7ff778b66: Waiting [2023-05-17T19:18:52.763Z] e9a5061849ea: Waiting [2023-05-17T19:18:52.763Z] 9712f1f96733: Download complete [2023-05-17T19:18:53.023Z] 63f879dbbcfc: Verifying Checksum [2023-05-17T19:18:53.023Z] 63f879dbbcfc: Download complete [2023-05-17T19:18:53.281Z] e9a5061849ea: Verifying Checksum [2023-05-17T19:18:53.281Z] e9a5061849ea: Download complete [2023-05-17T19:18:53.281Z] d747dcd14b5f: Download complete [2023-05-17T19:18:53.281Z] ab5ef0e58194: Verifying Checksum [2023-05-17T19:18:53.281Z] ab5ef0e58194: Download complete [2023-05-17T19:18:53.281Z] 0d9ebad4ef96: Verifying Checksum [2023-05-17T19:18:53.281Z] 0d9ebad4ef96: Download complete [2023-05-17T19:18:53.281Z] 2de7ff778b66: Verifying Checksum [2023-05-17T19:18:53.281Z] 2de7ff778b66: Download complete [2023-05-17T19:18:56.564Z] ab5ef0e58194: Pull complete [2023-05-17T19:18:56.564Z] 9712f1f96733: Pull complete [2023-05-17T19:18:56.822Z] 63f879dbbcfc: Pull complete [2023-05-17T19:19:01.027Z] 0d9ebad4ef96: Pull complete [2023-05-17T19:19:01.027Z] e9a5061849ea: Pull complete [2023-05-17T19:19:01.027Z] d747dcd14b5f: Pull complete [2023-05-17T19:19:01.962Z] 2de7ff778b66: Pull complete [2023-05-17T19:19:01.962Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-17T19:19:01.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-17T19:19:01.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:19:02.046Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:19:02.069Z] $ 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-17T19:19:06.606Z] $ docker top 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:19:06.685Z] provisioning config files... [2023-05-17T19:19:06.695Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8471924026311911004tmp [2023-05-17T19:19:06.705Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11896705451384744tmp [2023-05-17T19:19:06.715Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config16182820844515429141tmp [Pipeline] { [Pipeline] echo [2023-05-17T19:19:06.732Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:07.012Z] ---> sigul-configuration.sh [2023-05-17T19:19:07.012Z] gpg: directory `/root/.gnupg' created [2023-05-17T19:19:07.012Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-17T19:19:07.013Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-17T19:19:07.013Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-17T19:19:07.013Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-17T19:19:07.013Z] gpg: CAST5 encrypted data [2023-05-17T19:19:07.013Z] gpg: encrypted with 1 passphrase [2023-05-17T19:19:07.013Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-17T19:19:07.310Z] + mkdir /home/jenkins [2023-05-17T19:19:07.310Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-17T19:19:07.596Z] + 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-17T19:19:07.605Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:07.889Z] ---> sigul-install.sh [2023-05-17T19:19:07.889Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-17T19:19:08.170Z] + git tag --list [2023-05-17T19:19:08.170Z] 0.7.1 [2023-05-17T19:19:08.170Z] v1.0.0 [2023-05-17T19:19:08.170Z] v1.1.0 [2023-05-17T19:19:08.170Z] v1.1.1 [2023-05-17T19:19:08.170Z] v1.2.2 [2023-05-17T19:19:08.170Z] v1.3.0 [2023-05-17T19:19:08.170Z] v1.3.1 [2023-05-17T19:19:08.170Z] v2.0.0 [2023-05-17T19:19:08.170Z] v2.1.0 [2023-05-17T19:19:08.170Z] v2.1.1 [2023-05-17T19:19:08.170Z] v2.1.1-dev.1 [2023-05-17T19:19:08.170Z] v2.1.1-dev.2 [2023-05-17T19:19:08.170Z] v2.1.1-dev.3 [2023-05-17T19:19:08.170Z] v2.2.0 [2023-05-17T19:19:08.170Z] v2.2.1-dev.1 [2023-05-17T19:19:08.170Z] v2.2.1-dev.2 [2023-05-17T19:19:08.170Z] v2.2.1-dev.3 [2023-05-17T19:19:08.170Z] v2.2.1-dev.4 [2023-05-17T19:19:08.170Z] v2.2.1-dev.5 [2023-05-17T19:19:08.170Z] v2.2.1-dev.6 [2023-05-17T19:19:08.170Z] v2.2.1-dev.7 [2023-05-17T19:19:08.170Z] v2.3.0 [2023-05-17T19:19:08.170Z] v2.3.0-dev.10 [2023-05-17T19:19:08.170Z] v2.3.0-dev.11 [2023-05-17T19:19:08.170Z] v2.3.0-dev.12 [2023-05-17T19:19:08.170Z] v2.3.0-dev.13 [2023-05-17T19:19:08.170Z] v2.3.0-dev.14 [2023-05-17T19:19:08.170Z] v2.3.0-dev.15 [2023-05-17T19:19:08.170Z] v2.3.0-dev.16 [2023-05-17T19:19:08.170Z] v2.3.0-dev.17 [2023-05-17T19:19:08.170Z] v2.3.0-dev.18 [2023-05-17T19:19:08.170Z] v2.3.0-dev.19 [2023-05-17T19:19:08.170Z] v2.3.0-dev.20 [2023-05-17T19:19:08.170Z] v2.3.0-dev.21 [2023-05-17T19:19:08.170Z] v2.3.0-dev.22 [2023-05-17T19:19:08.170Z] v2.3.0-dev.23 [2023-05-17T19:19:08.170Z] v2.3.0-dev.24 [2023-05-17T19:19:08.170Z] v2.3.0-dev.25 [2023-05-17T19:19:08.170Z] v2.3.0-dev.7 [2023-05-17T19:19:08.170Z] v2.3.0-dev.8 [2023-05-17T19:19:08.170Z] v2.3.0-dev.9 [2023-05-17T19:19:08.170Z] v3.0.0-dev.1 [2023-05-17T19:19:08.170Z] v3.0.0-dev.10 [2023-05-17T19:19:08.170Z] v3.0.0-dev.11 [2023-05-17T19:19:08.170Z] v3.0.0-dev.12 [2023-05-17T19:19:08.170Z] v3.0.0-dev.13 [2023-05-17T19:19:08.170Z] v3.0.0-dev.14 [2023-05-17T19:19:08.170Z] v3.0.0-dev.15 [2023-05-17T19:19:08.170Z] v3.0.0-dev.16 [2023-05-17T19:19:08.170Z] v3.0.0-dev.17 [2023-05-17T19:19:08.170Z] v3.0.0-dev.18 [2023-05-17T19:19:08.170Z] v3.0.0-dev.19 [2023-05-17T19:19:08.170Z] v3.0.0-dev.2 [2023-05-17T19:19:08.170Z] v3.0.0-dev.20 [2023-05-17T19:19:08.170Z] v3.0.0-dev.21 [2023-05-17T19:19:08.170Z] v3.0.0-dev.22 [2023-05-17T19:19:08.170Z] v3.0.0-dev.23 [2023-05-17T19:19:08.170Z] v3.0.0-dev.24 [2023-05-17T19:19:08.170Z] v3.0.0-dev.25 [2023-05-17T19:19:08.170Z] v3.0.0-dev.26 [2023-05-17T19:19:08.170Z] v3.0.0-dev.27 [2023-05-17T19:19:08.170Z] v3.0.0-dev.28 [2023-05-17T19:19:08.170Z] v3.0.0-dev.29 [2023-05-17T19:19:08.170Z] v3.0.0-dev.3 [2023-05-17T19:19:08.170Z] v3.0.0-dev.30 [2023-05-17T19:19:08.170Z] v3.0.0-dev.31 [2023-05-17T19:19:08.170Z] v3.0.0-dev.32 [2023-05-17T19:19:08.170Z] v3.0.0-dev.33 [2023-05-17T19:19:08.170Z] v3.0.0-dev.34 [2023-05-17T19:19:08.170Z] v3.0.0-dev.35 [2023-05-17T19:19:08.170Z] v3.0.0-dev.36 [2023-05-17T19:19:08.170Z] v3.0.0-dev.37 [2023-05-17T19:19:08.170Z] v3.0.0-dev.38 [2023-05-17T19:19:08.170Z] v3.0.0-dev.39 [2023-05-17T19:19:08.170Z] v3.0.0-dev.4 [2023-05-17T19:19:08.170Z] v3.0.0-dev.40 [2023-05-17T19:19:08.170Z] v3.0.0-dev.41 [2023-05-17T19:19:08.170Z] v3.0.0-dev.42 [2023-05-17T19:19:08.170Z] v3.0.0-dev.5 [2023-05-17T19:19:08.170Z] v3.0.0-dev.6 [2023-05-17T19:19:08.170Z] v3.0.0-dev.7 [2023-05-17T19:19:08.170Z] v3.0.0-dev.8 [2023-05-17T19:19:08.170Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-17T19:19:08.455Z] + lftools sign git-tag v3.0.0-dev.42 [2023-05-17T19:19:09.023Z] Signing Git tag with Sigul... [2023-05-17T19:19:09.023Z] Signing v3.0.0-dev.42 [Pipeline] echo [2023-05-17T19:19:09.291Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:09.575Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-17T19:19:09.582Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-17T19:19:09.603Z] $ docker stop --time=1 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea [2023-05-17T19:19:10.869Z] $ docker rm -f --volumes 2e5554f5e0a6f63c31347d9cf485d4fb2e88d8f0c72512345d88d72499e5ddea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-17T19:19:11.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T19:19:11.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:19:11.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:19:11.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:19:11.701Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:19:11.718Z] $ 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-17T19:19:12.057Z] $ docker top eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 -eo pid,comm [2023-05-17T19:19:12.118Z] 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-17T19:19:12.118Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T19:19:12.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:19:12.159Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:19:12.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:19:12.268Z] $ docker exec eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 ssh-agent [2023-05-17T19:19:12.379Z] SSH_AUTH_SOCK=/tmp/ssh-rejwBnGVfhHU/agent.31 [2023-05-17T19:19:12.379Z] SSH_AGENT_PID=37 [2023-05-17T19:19:12.383Z] Running ssh-add (command line suppressed) [2023-05-17T19:19:12.473Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12865861079483685697.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_12865861079483685697.key) [2023-05-17T19:19:12.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:19:12.779Z] + git semver bump pre [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [bump_version] DEBUG bumped version:3.0.0-dev.43 [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:True [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,958 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,960 [execute] INFO git cat-file --batch-check [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,960 [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-17T19:19:13.039Z] 2023-05-17 19:19:12,968 [execute] INFO git cat-file --batch [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-17T19:19:13.039Z] 2023-05-17 19:19:12,974 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:19:13.039Z] 3.0.0-dev.43 [Pipeline] } [2023-05-17T19:19:13.041Z] $ docker exec --env ******** --env ******** eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 ssh-agent -k [2023-05-17T19:19:13.141Z] unset SSH_AUTH_SOCK; [2023-05-17T19:19:13.141Z] unset SSH_AGENT_PID; [2023-05-17T19:19:13.142Z] echo Agent pid 37 killed; [2023-05-17T19:19:13.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T19:19:13.474Z] + git semver [Pipeline] } [2023-05-17T19:19:13.738Z] $ docker stop --time=1 eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 [2023-05-17T19:19:15.030Z] $ docker rm -f --volumes eab71ee6ed47563af3d71ae4317c853271638c2ae416a3009cde59120fd05fa0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:19:15.375Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T19:19:15.375Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:19:15.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:19:15.676Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:19:15.753Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:19:15.779Z] $ 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-17T19:19:16.097Z] $ docker top 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T19:19:16.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:19:16.186Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:19:16.290Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:19:16.284Z] $ docker exec 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 ssh-agent [2023-05-17T19:19:16.399Z] SSH_AUTH_SOCK=/tmp/ssh-r4E9CJ74a4bk/agent.31 [2023-05-17T19:19:16.399Z] SSH_AGENT_PID=37 [2023-05-17T19:19:16.403Z] Running ssh-add (command line suppressed) [2023-05-17T19:19:16.485Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13771067982011218415.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_13771067982011218415.key) [2023-05-17T19:19:16.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:19:16.792Z] + git semver push [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,955 [run_push] DEBUG push [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,956 [execute] INFO git cat-file --batch-check [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,956 [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-17T19:19:17.052Z] 2023-05-17 19:19:16,959 [execute] INFO git rev-list 72f1c3c41cc5d75e65459faf23226a8308aa1fc5 -- [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,960 [execute] DEBUG Popen(['git', 'rev-list', '72f1c3c41cc5d75e65459faf23226a8308aa1fc5', '--'], cwd=/w/workspace/gexfoundry_device-modbus-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,968 [execute] INFO git fetch -v origin [2023-05-17T19:19:17.052Z] 2023-05-17 19:19:16,969 [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-17T19:19:17.621Z] 2023-05-17 19:19:17,466 [run_push] DEBUG no remote changes detected [2023-05-17T19:19:17.621Z] 2023-05-17 19:19:17,467 [execute] INFO git push origin semver [2023-05-17T19:19:17.621Z] 2023-05-17 19:19:17,467 [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-17T19:19:18.560Z] 2023-05-17 19:19:18,279 [run_push] DEBUG push all version tags [2023-05-17T19:19:18.560Z] 2023-05-17 19:19:18,279 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-17T19:19:18.560Z] 2023-05-17 19:19:18,280 [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-17T19:19:19.129Z] 2023-05-17 19:19:19,050 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main [2023-05-17T19:19:19.129Z] 3.0.0-dev.43 [Pipeline] } [2023-05-17T19:19:19.133Z] $ docker exec --env ******** --env ******** 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 ssh-agent -k [2023-05-17T19:19:19.229Z] unset SSH_AUTH_SOCK; [2023-05-17T19:19:19.229Z] unset SSH_AGENT_PID; [2023-05-17T19:19:19.229Z] echo Agent pid 37 killed; [2023-05-17T19:19:19.250Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T19:19:19.550Z] + git semver [Pipeline] } [2023-05-17T19:19:19.817Z] $ docker stop --time=1 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 [2023-05-17T19:19:21.111Z] $ docker rm -f --volumes 6657315ae9f924abab8a0e5f5550f321c487a4d9a6049f6429016496f3299af4 [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-17T19:19:21.784Z] + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] [2023-05-17T19:19:21.784Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-17T19:19:21.784Z] total 16 [2023-05-17T19:19:21.784Z] drwxr-xr-x 3 root root 4096 May 17 19:05 . [2023-05-17T19:19:21.784Z] drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:19 .. [2023-05-17T19:19:21.784Z] drwxr-xr-x 2 root root 4096 May 17 19:05 cost [2023-05-17T19:19:21.784Z] -rw-r--r-- 1 root root 88 May 17 19:05 cost.csv [2023-05-17T19:19:21.784Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-17T19:19:21.784Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2023-05-17T19:19:21.784Z] total 16 [2023-05-17T19:19:21.784Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:05 . [2023-05-17T19:19:21.784Z] drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:19 .. [2023-05-17T19:19:21.784Z] drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:05 cost [2023-05-17T19:19:21.784Z] -rw-r--r-- 1 jenkins jenkins 88 May 17 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:22.113Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:22.973Z] ---> package-listing.sh [2023-05-17T19:19:22.973Z] ++ facter osfamily [2023-05-17T19:19:22.973Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-17T19:19:23.236Z] + OS_FAMILY=debian [2023-05-17T19:19:23.236Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2023-05-17T19:19:23.236Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-17T19:19:23.236Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-17T19:19:23.236Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-17T19:19:23.236Z] + PACKAGES=/tmp/packages_start.txt [2023-05-17T19:19:23.236Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-17T19:19:23.236Z] + PACKAGES=/tmp/packages_end.txt [2023-05-17T19:19:23.236Z] + case "${OS_FAMILY}" in [2023-05-17T19:19:23.236Z] + dpkg -l [2023-05-17T19:19:23.236Z] + grep '^ii' [2023-05-17T19:19:23.236Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-17T19:19:23.236Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-17T19:19:23.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-17T19:19:23.236Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2023-05-17T19:19:23.236Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2023-05-17T19:19:23.236Z] + 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-17T19:19:23.251Z] 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-17T19:19:23.532Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:19:24.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:19:24.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:19:24.174Z] prd-ubuntu20.04-docker-8c-8g-15923 does not seem to be running inside a container [2023-05-17T19:19:24.197Z] $ 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-17T19:19:24.387Z] $ docker top 27d50aece3e95af519be6c184aae3bd99b5e932d3fcee36a5fe5afce4fce0e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:19:24.752Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-17T19:19:25.035Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-17T19:19:25.320Z] + ls /var/log/sa-host [2023-05-17T19:19:25.320Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:19:25.386Z] provisioning config files... [2023-05-17T19:19:25.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config10831103991423802308tmp [Pipeline] { [Pipeline] echo [2023-05-17T19:19:25.406Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:25.692Z] ---> create-netrc.sh [Pipeline] } [2023-05-17T19:19:25.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:26.024Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-17T19:19:26.033Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:26.317Z] ---> sudo-logs.sh [2023-05-17T19:19:26.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-17T19:19:26.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:26.622Z] ---> job-cost.sh [2023-05-17T19:19:26.622Z] lf-activate-venv: SKIPPING [2023-05-17T19:19:26.622Z] DEBUG: total: 0.2199999988079071 [2023-05-17T19:19:26.622Z] INFO: Retrieving Stack Cost... [2023-05-17T19:19:27.192Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T19:19:27.452Z] INFO: Archiving Costs [Pipeline] echo [2023-05-17T19:19:27.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:19:27.746Z] ---> logs-deploy.sh [2023-05-17T19:19:27.746Z] lf-activate-venv: SKIPPING [2023-05-17T19:19:27.746Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/108 [2023-05-17T19:19:27.746Z] INFO: archiving workspace using pattern(s): [2023-05-17T19:19:28.680Z] Archives upload complete. [2023-05-17T19:19:28.680Z] INFO: archiving logs to Nexus [2023-05-17T19:19:29.250Z] ---> uname -a: [2023-05-17T19:19:29.250Z] Linux prd-ubuntu20-04-docker-8c-8g-15923 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-17T19:19:29.250Z] [2023-05-17T19:19:29.250Z]