Pull request #480 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac4121a6a7904df9618b3f379b244e5282c25357+e24262ef9183de1c0c5cd9baee4f648fbf1c66fe (1a9b790cfd2387c38aebb4c2612e7c8dfd2e7156) 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-ssh7786648281272833159.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-ssh7452288491716134282.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/PR-480/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/PR-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13791260091385998593.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-ssh7857918954915034785.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/PR-480/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/PR-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10578614650130979514.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 Running on prd-ubuntu20.04-docker-8c-8g-15927 in /w/workspace/xfoundry_device-modbus-go_PR-480 [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/xfoundry_device-modbus-go_PR-480 # 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 Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit ac4121a6a7904df9618b3f379b244e5282c25357 > 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 remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 Merge succeeded, producing ac4121a6a7904df9618b3f379b244e5282c25357 Checking out Revision ac4121a6a7904df9618b3f379b244e5282c25357 (PR-480) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-17T19:03:42.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-17T19:03:42.456Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-17T19:03:42.473Z] ========================================================= [2023-05-17T19:03:42.474Z] EdgeX Global Pipelines Version Info [2023-05-17T19:03:42.474Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 > git rev-list --no-walk 03409e6d331d0be31f92e98c4f8be8894e9eeba6 # timeout=10 [2023-05-17T19:03:43.170Z] ------------------- [2023-05-17T19:03:43.170Z] stable info: [2023-05-17T19:03:43.170Z] ------------------- [2023-05-17T19:03:43.170Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-17T19:03:43.170Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T19:03:43.170Z] Message: update stable to v1.0.249 [2023-05-17T19:03:43.746Z] ------------------- [2023-05-17T19:03:43.746Z] experimental info: [2023-05-17T19:03:43.746Z] ------------------- [2023-05-17T19:03:43.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-17T19:03:43.747Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-17T19:03:43.747Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-17T19:03:43.910Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2023-05-17T19:03:43.920Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2023-05-17T19:03:43.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-17T19:03:43.948Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-17T19:03:43.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-17T19:03:43.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-17T19:03:43.989Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-17T19:03:44.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-17T19:03:44.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-17T19:03:44.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-17T19:03:44.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-17T19:03:44.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2023-05-17T19:03:44.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-17T19:03:44.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-17T19:03:44.087Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-17T19:03:44.104Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-17T19:03:44.121Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T19:03:44.140Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-17T19:03:44.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-17T19:03:44.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-17T19:03:44.184Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-17T19:03:44.197Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-17T19:03:44.218Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-17T19:03:44.237Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-17T19:03:44.252Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-17T19:03:44.262Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-17T19:03:44.275Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-17T19:03:44.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo [2023-05-17T19:03:44.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo [2023-05-17T19:03:44.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo [2023-05-17T19:03:44.329Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo [2023-05-17T19:03:44.349Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac4121a [Pipeline] echo [2023-05-17T19:03:44.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:03:44.415Z] provisioning config files... [2023-05-17T19:03:44.432Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config15230547386313571339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:03:44.744Z] ---> docker-login.sh [2023-05-17T19:03:44.744Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:03:45.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:45.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:45.006Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:45.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:45.006Z] [2023-05-17T19:03:45.006Z] Login Succeeded [2023-05-17T19:03:45.006Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:03:45.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:45.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:45.266Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:45.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:45.266Z] [2023-05-17T19:03:45.266Z] Login Succeeded [2023-05-17T19:03:45.266Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:03:45.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:45.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:45.266Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:45.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:45.266Z] [2023-05-17T19:03:45.266Z] Login Succeeded [2023-05-17T19:03:45.266Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:03:45.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:45.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:45.526Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:45.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:45.526Z] [2023-05-17T19:03:45.526Z] Login Succeeded [2023-05-17T19:03:45.526Z] docker.io [2023-05-17T19:03:45.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:03:45.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:03:45.785Z] Configure a credential helper to remove this warning. See [2023-05-17T19:03:45.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:03:45.785Z] [2023-05-17T19:03:45.785Z] Login Succeeded [2023-05-17T19:03:45.785Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:03:45.792Z] 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:03:46.166Z] + git rev-list -1 --merges ac4121a6a7904df9618b3f379b244e5282c25357~1..ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo [2023-05-17T19:03:46.213Z] -----------> git rev-list -1 --merges ac4121a6a7904df9618b3f379b244e5282c25357~1..ac4121a6a7904df9618b3f379b244e5282c25357 ac4121a6a7904df9618b3f379b244e5282c25357 [false] [Pipeline] sh [2023-05-17T19:03:46.498Z] + git log --format=format:%s -1 ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo [2023-05-17T19:03:46.512Z] ========================================================= [2023-05-17T19:03:46.512Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-17T19:03:46.512Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:03:46.849Z] + git log --format=format:%s -1 ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] echo [2023-05-17T19:03:46.859Z] [semverPrep] GIT_COMMIT: ac4121a6a7904df9618b3f379b244e5282c25357, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-05-17T19:03:46.868Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-17T19:03:47.232Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-17T19:03:47.232Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-17T19:03:47.232Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-17T19:03:47.232Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-17T19:03:47.232Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-17T19:03:47.232Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-17T19:03:47.232Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:03:47.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:03:47.581Z] [2023-05-17T19:03:47.581Z] 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:03:47.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:03:47.892Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-17T19:03:47.892Z] b85a868b505f: Pulling fs layer [2023-05-17T19:03:47.892Z] e2be974225ed: Pulling fs layer [2023-05-17T19:03:47.892Z] 339a4e72a1f5: Pulling fs layer [2023-05-17T19:03:47.892Z] 988bab9f4d93: Pulling fs layer [2023-05-17T19:03:47.892Z] 1469e6f7b9e6: Pulling fs layer [2023-05-17T19:03:47.892Z] eaf3925da568: Pulling fs layer [2023-05-17T19:03:47.892Z] bab4dde63d76: Pulling fs layer [2023-05-17T19:03:47.892Z] bde34c3a00c8: Pulling fs layer [2023-05-17T19:03:47.892Z] b352a97aabf1: Pulling fs layer [2023-05-17T19:03:47.892Z] 4872d77fe225: Pulling fs layer [2023-05-17T19:03:47.892Z] 5851b861e8e6: Pulling fs layer [2023-05-17T19:03:47.892Z] 1469e6f7b9e6: Waiting [2023-05-17T19:03:47.892Z] eaf3925da568: Waiting [2023-05-17T19:03:47.892Z] bab4dde63d76: Waiting [2023-05-17T19:03:47.892Z] bde34c3a00c8: Waiting [2023-05-17T19:03:47.892Z] b352a97aabf1: Waiting [2023-05-17T19:03:47.892Z] 4872d77fe225: Waiting [2023-05-17T19:03:47.892Z] 5851b861e8e6: Waiting [2023-05-17T19:03:47.892Z] 988bab9f4d93: Waiting [2023-05-17T19:03:47.892Z] e2be974225ed: Download complete [2023-05-17T19:03:47.892Z] 988bab9f4d93: Verifying Checksum [2023-05-17T19:03:47.892Z] 988bab9f4d93: Download complete [2023-05-17T19:03:47.892Z] 339a4e72a1f5: Verifying Checksum [2023-05-17T19:03:47.892Z] 339a4e72a1f5: Download complete [2023-05-17T19:03:47.892Z] eaf3925da568: Download complete [2023-05-17T19:03:47.892Z] 1469e6f7b9e6: Verifying Checksum [2023-05-17T19:03:47.892Z] 1469e6f7b9e6: Download complete [2023-05-17T19:03:47.892Z] bde34c3a00c8: Verifying Checksum [2023-05-17T19:03:47.892Z] bde34c3a00c8: Download complete [2023-05-17T19:03:48.151Z] b352a97aabf1: Verifying Checksum [2023-05-17T19:03:48.151Z] 4872d77fe225: Verifying Checksum [2023-05-17T19:03:48.151Z] 4872d77fe225: Download complete [2023-05-17T19:03:48.151Z] 5851b861e8e6: Verifying Checksum [2023-05-17T19:03:48.151Z] 5851b861e8e6: Download complete [2023-05-17T19:03:48.151Z] b85a868b505f: Download complete [2023-05-17T19:03:48.409Z] bab4dde63d76: Verifying Checksum [2023-05-17T19:03:48.409Z] bab4dde63d76: Download complete [2023-05-17T19:03:49.346Z] b85a868b505f: Pull complete [2023-05-17T19:03:49.605Z] e2be974225ed: Pull complete [2023-05-17T19:03:49.863Z] 339a4e72a1f5: Pull complete [2023-05-17T19:03:50.121Z] 988bab9f4d93: Pull complete [2023-05-17T19:03:50.382Z] 1469e6f7b9e6: Pull complete [2023-05-17T19:03:50.382Z] eaf3925da568: Pull complete [2023-05-17T19:03:52.286Z] bab4dde63d76: Pull complete [2023-05-17T19:03:52.286Z] bde34c3a00c8: Pull complete [2023-05-17T19:03:52.546Z] b352a97aabf1: Pull complete [2023-05-17T19:03:52.546Z] 4872d77fe225: Pull complete [2023-05-17T19:03:52.546Z] 5851b861e8e6: Pull complete [2023-05-17T19:03:52.546Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-17T19:03:52.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-17T19:03:52.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:03:52.654Z] prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container [2023-05-17T19:03:52.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-17T19:03:54.911Z] $ docker top 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd -eo pid,comm [2023-05-17T19:03:54.970Z] 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:54.970Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-17T19:03:55.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:03:55.014Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:03:55.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:03:55.131Z] $ docker exec 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent [2023-05-17T19:03:55.241Z] SSH_AUTH_SOCK=/tmp/ssh-wZdDX9dG2cyd/agent.31 [2023-05-17T19:03:55.241Z] SSH_AGENT_PID=38 [2023-05-17T19:03:55.248Z] Running ssh-add (command line suppressed) [2023-05-17T19:03:55.352Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_11769011690233963902.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_11769011690233963902.key) [2023-05-17T19:03:55.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:03:55.649Z] + git tag --points-at HEAD [Pipeline] } [2023-05-17T19:03:55.668Z] $ docker exec --env ******** --env ******** 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent -k [2023-05-17T19:03:55.761Z] unset SSH_AUTH_SOCK; [2023-05-17T19:03:55.761Z] unset SSH_AGENT_PID; [2023-05-17T19:03:55.762Z] echo Agent pid 38 killed; [2023-05-17T19:03:55.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-17T19:03:55.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-17T19:03:55.798Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-17T19:03:55.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-17T19:03:55.914Z] $ docker exec 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent [2023-05-17T19:03:56.030Z] SSH_AUTH_SOCK=/tmp/ssh-mWdJsjmgAyfj/agent.70 [2023-05-17T19:03:56.030Z] SSH_AGENT_PID=76 [2023-05-17T19:03:56.035Z] Running ssh-add (command line suppressed) [2023-05-17T19:03:56.147Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_2640653347070346271.key (/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/private_key_2640653347070346271.key) [2023-05-17T19:03:56.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-17T19:03:56.449Z] + git semver init [2023-05-17T19:03:56.709Z] 2023-05-17 19:03:56,626 [run_init] DEBUG init version:0.0.0 force:False [2023-05-17T19:03:56.709Z] 2023-05-17 19:03:56,627 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver [2023-05-17T19:03:56.709Z] 2023-05-17 19:03:56,627 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-480/.semver [2023-05-17T19:03:56.709Z] 2023-05-17 19:03:56,628 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-480/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480, universal_newlines=False, shell=None, istream=None) [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,365 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.git/info/exclude [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 with force:False [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,366 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,369 [execute] INFO git cat-file --batch-check [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,376 [execute] INFO git cat-file --batch [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-480/.semver, universal_newlines=False, shell=None, istream=) [2023-05-17T19:03:57.648Z] 2023-05-17 19:03:57,381 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-480/.semver/PR-480 [2023-05-17T19:03:57.648Z] 0.0.0 [Pipeline] } [2023-05-17T19:03:57.663Z] $ docker exec --env ******** --env ******** 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd ssh-agent -k [2023-05-17T19:03:57.766Z] unset SSH_AUTH_SOCK; [2023-05-17T19:03:57.766Z] unset SSH_AGENT_PID; [2023-05-17T19:03:57.767Z] echo Agent pid 76 killed; [2023-05-17T19:03:57.772Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-17T19:03:58.083Z] + git semver [Pipeline] } [2023-05-17T19:03:58.360Z] $ docker stop --time=1 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd [2023-05-17T19:03:59.659Z] $ docker rm -f --volumes 0c03bb469bc44954fb243a4c90b73d303ef819ae34c2155f00174f00c3ab78fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:03:59.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-17T19:04:00.204Z] Stashed 1 file(s) [Pipeline] echo [2023-05-17T19:04:00.207Z] [edgeXSemver]: initialized semver on version 0.0.0 [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:04:00.363Z] provisioning config files... [2023-05-17T19:04:00.373Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config10498660312519297303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:04:00.672Z] ---> docker-login.sh [2023-05-17T19:04:00.672Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:04:00.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:00.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:00.672Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:00.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:00.672Z] [2023-05-17T19:04:00.672Z] Login Succeeded [2023-05-17T19:04:00.672Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:04:00.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:00.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:00.672Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:00.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:00.672Z] [2023-05-17T19:04:00.672Z] Login Succeeded [2023-05-17T19:04:00.672Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:04:00.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:00.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:00.932Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:00.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:00.932Z] [2023-05-17T19:04:00.932Z] Login Succeeded [2023-05-17T19:04:00.932Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:04:00.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:00.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:00.932Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:00.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:00.932Z] [2023-05-17T19:04:00.932Z] Login Succeeded [2023-05-17T19:04:00.932Z] docker.io [2023-05-17T19:04:01.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:04:01.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:04:01.192Z] Configure a credential helper to remove this warning. See [2023-05-17T19:04:01.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:04:01.192Z] [2023-05-17T19:04:01.192Z] Login Succeeded [2023-05-17T19:04:01.192Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:04:01.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T19:04:01.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:04:01.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:04:01.288Z] ========================================================= [2023-05-17T19:04:01.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-17T19:04:01.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:01.617Z] + 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:04:01.617Z] Sending build context to Docker daemon 6.529MB [2023-05-17T19:04:01.617Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:04:01.617Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T19:04:01.617Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-17T19:04:01.617Z] f56be85fc22e: Pulling fs layer [2023-05-17T19:04:01.617Z] 85791d961cd3: Pulling fs layer [2023-05-17T19:04:01.617Z] d694b5ae8c79: Pulling fs layer [2023-05-17T19:04:01.617Z] 9f32a84ed3da: Pulling fs layer [2023-05-17T19:04:01.617Z] 4d19c01a9841: Pulling fs layer [2023-05-17T19:04:01.617Z] 9325e15d5711: Pulling fs layer [2023-05-17T19:04:01.617Z] 556b6ee489ea: Pulling fs layer [2023-05-17T19:04:01.617Z] c5a4b2cf53e6: Pulling fs layer [2023-05-17T19:04:01.617Z] 9f32a84ed3da: Waiting [2023-05-17T19:04:01.618Z] 4d19c01a9841: Waiting [2023-05-17T19:04:01.618Z] 9325e15d5711: Waiting [2023-05-17T19:04:01.618Z] 556b6ee489ea: Waiting [2023-05-17T19:04:01.618Z] c5a4b2cf53e6: Waiting [2023-05-17T19:04:01.618Z] 85791d961cd3: Download complete [2023-05-17T19:04:01.877Z] 9f32a84ed3da: Verifying Checksum [2023-05-17T19:04:01.877Z] 9f32a84ed3da: Download complete [2023-05-17T19:04:01.877Z] 4d19c01a9841: Verifying Checksum [2023-05-17T19:04:01.877Z] 4d19c01a9841: Download complete [2023-05-17T19:04:01.877Z] f56be85fc22e: Verifying Checksum [2023-05-17T19:04:01.877Z] f56be85fc22e: Download complete [2023-05-17T19:04:01.877Z] 9325e15d5711: Verifying Checksum [2023-05-17T19:04:01.877Z] 9325e15d5711: Download complete [2023-05-17T19:04:01.877Z] f56be85fc22e: Pull complete [2023-05-17T19:04:02.142Z] 85791d961cd3: Pull complete [2023-05-17T19:04:02.402Z] c5a4b2cf53e6: Verifying Checksum [2023-05-17T19:04:02.402Z] c5a4b2cf53e6: Download complete [2023-05-17T19:04:02.402Z] d694b5ae8c79: Download complete [2023-05-17T19:04:02.671Z] 556b6ee489ea: Verifying Checksum [2023-05-17T19:04:02.671Z] 556b6ee489ea: Download complete [2023-05-17T19:04:05.962Z] d694b5ae8c79: Pull complete [2023-05-17T19:04:05.962Z] 9f32a84ed3da: Pull complete [2023-05-17T19:04:05.962Z] 4d19c01a9841: Pull complete [2023-05-17T19:04:05.962Z] 9325e15d5711: Pull complete [2023-05-17T19:04:08.497Z] 556b6ee489ea: Pull complete [2023-05-17T19:04:09.428Z] c5a4b2cf53e6: Pull complete [2023-05-17T19:04:09.428Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-17T19:04:09.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-17T19:04:09.428Z] ---> c4be618373d6 [2023-05-17T19:04:09.428Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:04:11.963Z] ---> Running in 6c2ae54c152b [2023-05-17T19:04:11.963Z] Removing intermediate container 6c2ae54c152b [2023-05-17T19:04:11.963Z] ---> 94a71c1eb6c9 [2023-05-17T19:04:11.963Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:04:11.963Z] ---> Running in 4f7d7955c686 [2023-05-17T19:04:11.963Z] Removing intermediate container 4f7d7955c686 [2023-05-17T19:04:11.963Z] ---> 89a43756b17c [2023-05-17T19:04:11.963Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:04:12.222Z] ---> Running in e5d87744a6f5 [2023-05-17T19:04:12.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:12.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:04:12.738Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-17T19:04:12.738Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-17T19:04:12.738Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-17T19:04:12.738Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:04:12.738Z] OK: 270 MiB in 61 packages [2023-05-17T19:04:13.308Z] Removing intermediate container e5d87744a6f5 [2023-05-17T19:04:13.308Z] ---> 6b8288a1311c [2023-05-17T19:04:13.308Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-17T19:04:13.308Z] ---> Running in 54763d909e94 [2023-05-17T19:04:13.566Z] Removing intermediate container 54763d909e94 [2023-05-17T19:04:13.566Z] ---> c71a9b319da6 [2023-05-17T19:04:13.566Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T19:04:13.566Z] ---> 60deab409838 [2023-05-17T19:04:13.566Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:04:13.566Z] ---> Running in db87a2a39b29 [2023-05-17T19:04:15.319Z] Still waiting to schedule task [2023-05-17T19:04:15.319Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-17T19:04:40.136Z] Removing intermediate container db87a2a39b29 [2023-05-17T19:04:40.136Z] ---> 2ee19d2c7792 [2023-05-17T19:04:40.136Z] Step 9/10 : COPY . . [2023-05-17T19:04:40.137Z] ---> e75cc200ffe7 [2023-05-17T19:04:40.137Z] Step 10/10 : RUN ${MAKE} [2023-05-17T19:04:40.137Z] ---> Running in 658d21e7a653 [2023-05-17T19:04:40.137Z] noop [2023-05-17T19:04:40.137Z] Removing intermediate container 658d21e7a653 [2023-05-17T19:04:40.137Z] ---> cfab70230f3d [2023-05-17T19:04:40.137Z] Successfully built cfab70230f3d [2023-05-17T19:04:40.137Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:04:40.460Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T19:04:40.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:04:40.529Z] prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container [2023-05-17T19:04:40.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-17T19:04:40.887Z] $ docker top c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:04:41.231Z] + go version [2023-05-17T19:04:41.231Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-17T19:04:41.245Z] $ docker stop --time=1 c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 [2023-05-17T19:04:42.539Z] $ docker rm -f --volumes c1f56ccdfb59fb63c54ec7e0f5eaa91d1ad165b833867534baea377a437379d1 [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:04:42.951Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-17T19:04:42.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:04:43.022Z] prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container [2023-05-17T19:04:43.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-17T19:04:43.400Z] $ docker top 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:04:43.744Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] fileExists [Pipeline] sh [2023-05-17T19:04:44.036Z] + make test [2023-05-17T19:04:44.036Z] go test ./... -coverprofile=coverage.out [2023-05-17T19:04:49.303Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-17T19:04:59.294Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-17T19:04:59.294Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 47.4% of statements [2023-05-17T19:05:05.896Z] go vet ./... [2023-05-17T19:05:09.257Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T19:05:09.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T19:05:09.257Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T19:05:09.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T19:05:09.283Z] $ docker stop --time=1 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca [2023-05-17T19:05:12.483Z] $ docker rm -f --volumes 6476b3daba9bf7fa6a1a5abb74ba6bc3c07d72c4edbcec07878022838ac48bca [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:05:12.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T19:05:13.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-17T19:05:13.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T19:05:13.737Z] + ls -al . [2023-05-17T19:05:13.737Z] total 184 [2023-05-17T19:05:13.737Z] drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:04 . [2023-05-17T19:05:13.737Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 .. [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:03 .dockerignore [2023-05-17T19:05:13.737Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:03 .git [2023-05-17T19:05:13.737Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 .github [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:03 .gitignore [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:03 .golangci.yml [2023-05-17T19:05:13.737Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:03 .semver [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:03 Attribution.txt [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:03 CHANGELOG.md [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:03 Dockerfile [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:03 GOVERNANCE.md [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:03 Jenkinsfile [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:03 LICENSE [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:03 Makefile [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:03 OWNERS.md [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:03 README.md [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION [2023-05-17T19:05:13.737Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 bin [2023-05-17T19:05:13.737Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 cmd [2023-05-17T19:05:13.737Z] -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:04 coverage.out [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:03 go.mod [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:03 go.sum [2023-05-17T19:05:13.737Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 internal [2023-05-17T19:05:13.737Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 simulator [2023-05-17T19:05:13.737Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 snap [2023-05-17T19:05:13.737Z] -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:05:14.049Z] + 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=ac4121a6a7904df9618b3f379b244e5282c25357 --label arch=amd64 --label version=0.0.0 . [2023-05-17T19:05:14.049Z] Sending build context to Docker daemon 6.554MB [2023-05-17T19:05:14.049Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:05:14.049Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-17T19:05:14.049Z] ---> cfab70230f3d [2023-05-17T19:05:14.049Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:05:14.309Z] ---> Running in 58a688c1244d [2023-05-17T19:05:14.309Z] Removing intermediate container 58a688c1244d [2023-05-17T19:05:14.309Z] ---> ec99e86d0005 [2023-05-17T19:05:14.309Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:05:14.309Z] ---> Running in a1ca5d28d087 [2023-05-17T19:05:14.309Z] Removing intermediate container a1ca5d28d087 [2023-05-17T19:05:14.309Z] ---> d47fa88c879d [2023-05-17T19:05:14.309Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:05:14.309Z] ---> Running in 1a8a889c64a9 [2023-05-17T19:05:14.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:05:14.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:05:14.826Z] OK: 270 MiB in 61 packages [2023-05-17T19:05:15.392Z] Removing intermediate container 1a8a889c64a9 [2023-05-17T19:05:15.392Z] ---> 0fa962bf053d [2023-05-17T19:05:15.392Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-17T19:05:15.392Z] ---> Running in 3c6221b160c9 [2023-05-17T19:05:15.392Z] Removing intermediate container 3c6221b160c9 [2023-05-17T19:05:15.392Z] ---> 67bcc015aa4d [2023-05-17T19:05:15.392Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-17T19:05:15.392Z] ---> 26719983795a [2023-05-17T19:05:15.392Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:05:15.392Z] ---> Running in 1eb6233d0d48 [2023-05-17T19:05:16.332Z] Removing intermediate container 1eb6233d0d48 [2023-05-17T19:05:16.332Z] ---> 5eaea332620c [2023-05-17T19:05:16.332Z] Step 9/22 : COPY . . [2023-05-17T19:05:16.591Z] ---> b9dbd6e88cb5 [2023-05-17T19:05:16.591Z] Step 10/22 : RUN ${MAKE} [2023-05-17T19:05:16.591Z] ---> Running in c46a4105f02f [2023-05-17T19:05:16.850Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-17T19:05:38.785Z] Removing intermediate container c46a4105f02f [2023-05-17T19:05:38.785Z] ---> 1527abcdd193 [2023-05-17T19:05:38.785Z] Step 11/22 : FROM alpine:3.17 [2023-05-17T19:05:38.785Z] 3.17: Pulling from library/alpine [2023-05-17T19:05:38.785Z] f56be85fc22e: Already exists [2023-05-17T19:05:38.785Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T19:05:38.785Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T19:05:38.785Z] ---> 9ed4aefc74f6 [2023-05-17T19:05:38.785Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-17T19:05:38.785Z] ---> Running in 8a8ea81c024c [2023-05-17T19:05:38.785Z] Removing intermediate container 8a8ea81c024c [2023-05-17T19:05:38.785Z] ---> e7b7f080f1ad [2023-05-17T19:05:38.785Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-17T19:05:38.785Z] ---> Running in 08e05d6ba361 [2023-05-17T19:05:38.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-17T19:05:38.785Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-17T19:05:38.785Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-17T19:05:38.785Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:05:38.785Z] OK: 7 MiB in 16 packages [2023-05-17T19:05:38.785Z] Removing intermediate container 08e05d6ba361 [2023-05-17T19:05:38.785Z] ---> 814a6f5cce9e [2023-05-17T19:05:38.785Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-17T19:05:38.785Z] ---> 339f710daad0 [2023-05-17T19:05:38.785Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-17T19:05:38.785Z] ---> 73308db56bba [2023-05-17T19:05:38.785Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-17T19:05:38.785Z] ---> 17e2413f20bc [2023-05-17T19:05:38.785Z] Step 17/22 : EXPOSE 59901 [2023-05-17T19:05:38.785Z] ---> Running in aeb96faf311c [2023-05-17T19:05:38.785Z] Removing intermediate container aeb96faf311c [2023-05-17T19:05:38.785Z] ---> 74bf155d60d0 [2023-05-17T19:05:38.785Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-17T19:05:38.785Z] ---> Running in 0fdeb319e364 [2023-05-17T19:05:38.785Z] Removing intermediate container 0fdeb319e364 [2023-05-17T19:05:38.785Z] ---> 1345e4e7cb2b [2023-05-17T19:05:38.785Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-17T19:05:38.785Z] ---> Running in f3bc6d5b7d03 [2023-05-17T19:05:38.785Z] Removing intermediate container f3bc6d5b7d03 [2023-05-17T19:05:38.785Z] ---> a92223c4ffaf [2023-05-17T19:05:38.785Z] Step 20/22 : LABEL arch=amd64 [2023-05-17T19:05:38.785Z] ---> Running in db6b02761376 [2023-05-17T19:05:38.785Z] Removing intermediate container db6b02761376 [2023-05-17T19:05:38.785Z] ---> 8649e20203dc [2023-05-17T19:05:38.785Z] Step 21/22 : LABEL git_sha=ac4121a6a7904df9618b3f379b244e5282c25357 [2023-05-17T19:05:38.785Z] ---> Running in bac9f5e27de4 [2023-05-17T19:05:38.785Z] Removing intermediate container bac9f5e27de4 [2023-05-17T19:05:38.785Z] ---> da097589bad3 [2023-05-17T19:05:38.785Z] Step 22/22 : LABEL version=0.0.0 [2023-05-17T19:05:38.785Z] ---> Running in debcf710af69 [2023-05-17T19:05:38.785Z] Removing intermediate container debcf710af69 [2023-05-17T19:05:38.785Z] ---> dbced6c8aa1d [2023-05-17T19:05:38.785Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T19:05:38.785Z] Successfully built dbced6c8aa1d [2023-05-17T19:05:38.785Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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:05:39.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:05:39.998Z] [2023-05-17T19:05:39.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:05:41.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:05:41.184Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-17T19:05:41.184Z] 5eb5b503b376: Pulling fs layer [2023-05-17T19:05:41.184Z] 5c69ac0246d0: Pulling fs layer [2023-05-17T19:05:41.184Z] ec43610c2a17: Pulling fs layer [2023-05-17T19:05:41.184Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-17T19:05:41.184Z] 33b1e0a273af: Pulling fs layer [2023-05-17T19:05:41.184Z] 5d3b04190fa2: Pulling fs layer [2023-05-17T19:05:41.184Z] 2f39f015ded8: Pulling fs layer [2023-05-17T19:05:41.184Z] 33b1e0a273af: Waiting [2023-05-17T19:05:41.184Z] 5d3b04190fa2: Waiting [2023-05-17T19:05:41.184Z] 2f39f015ded8: Waiting [2023-05-17T19:05:41.184Z] 3a2ae6a8a46f: Waiting [2023-05-17T19:05:41.184Z] 5c69ac0246d0: Verifying Checksum [2023-05-17T19:05:41.184Z] 5c69ac0246d0: Download complete [2023-05-17T19:05:41.184Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-17T19:05:41.184Z] 3a2ae6a8a46f: Download complete [2023-05-17T19:05:41.806Z] 33b1e0a273af: Verifying Checksum [2023-05-17T19:05:41.806Z] 33b1e0a273af: Download complete [2023-05-17T19:05:41.806Z] 5d3b04190fa2: Download complete [2023-05-17T19:05:41.806Z] ec43610c2a17: Verifying Checksum [2023-05-17T19:05:41.806Z] ec43610c2a17: Download complete [2023-05-17T19:05:42.064Z] 5eb5b503b376: Verifying Checksum [2023-05-17T19:05:42.064Z] 5eb5b503b376: Download complete [2023-05-17T19:05:43.000Z] 2f39f015ded8: Download complete [2023-05-17T19:05:43.258Z] 5eb5b503b376: Pull complete [2023-05-17T19:05:43.517Z] 5c69ac0246d0: Pull complete [2023-05-17T19:05:43.777Z] ec43610c2a17: Pull complete [2023-05-17T19:05:44.035Z] 3a2ae6a8a46f: Pull complete [2023-05-17T19:05:44.035Z] 33b1e0a273af: Pull complete [2023-05-17T19:05:44.293Z] 5d3b04190fa2: Pull complete [2023-05-17T19:05:48.477Z] 2f39f015ded8: Pull complete [2023-05-17T19:05:48.477Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-17T19:05:48.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:05:48.477Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:05:48.568Z] prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container [2023-05-17T19:05:48.602Z] $ 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/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-17T19:05:51.287Z] $ docker top 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:05:52.114Z] ---> job-cost.sh [2023-05-17T19:05:52.114Z] lf-activate-venv: SKIPPING [2023-05-17T19:05:52.114Z] INFO: No Stack... [2023-05-17T19:05:52.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T19:05:52.943Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T19:05:53.234Z] + cat /w/workspace/xfoundry_device-modbus-go_PR-480/archives/cost.csv [2023-05-17T19:05:53.234Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T19:05:53.249Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [2023-05-17T19:05:53.259Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] did not exist. Created. [2023-05-17T19:05:53.259Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T19:05:53.562Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-17T19:05:53.595Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T19:05:53.602Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T19:05:53.623Z] $ docker stop --time=1 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 [2023-05-17T19:05:54.780Z] $ docker rm -f --volumes 64703e98fddd32c0a88a4d1820fba6034ab2e62176bd7bc9ffcde86061dcb556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-17T19:08:24.030Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15933 in /w/workspace/xfoundry_device-modbus-go_PR-480 [Pipeline] { [Pipeline] ws [2023-05-17T19:08:24.043Z] Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout [2023-05-17T19:08:24.089Z] Selected Git installation does not exist. Using Default [2023-05-17T19:08:24.089Z] The recommended git tool is: NONE [2023-05-17T19:08:31.825Z] using credential edgex-jenkins-ssh [2023-05-17T19:08:31.846Z] Cloning the remote Git repository [2023-05-17T19:08:31.929Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2023-05-17T19:08:32.083Z] > git init /w/workspace/device-modbus-go/4 # timeout=10 [2023-05-17T19:08:32.331Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-17T19:08:32.333Z] > git --version # timeout=10 [2023-05-17T19:08:32.364Z] > git --version # 'git version 2.25.1' [2023-05-17T19:08:32.369Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T19:08:32.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T19:08:33.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-17T19:08:34.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-17T19:08:35.377Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2023-05-17T19:08:35.439Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2023-05-17T19:08:35.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T19:08:35.463Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-17T19:08:36.044Z] Merging remotes/origin/main commit e24262ef9183de1c0c5cd9baee4f648fbf1c66fe into PR head commit ac4121a6a7904df9618b3f379b244e5282c25357 [2023-05-17T19:08:36.456Z] Merge succeeded, producing ac4121a6a7904df9618b3f379b244e5282c25357 [2023-05-17T19:08:36.457Z] Checking out Revision ac4121a6a7904df9618b3f379b244e5282c25357 (PR-480) [2023-05-17T19:08:37.159Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:08:36.073Z] > git config core.sparsecheckout # timeout=10 [2023-05-17T19:08:36.183Z] > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 [2023-05-17T19:08:36.306Z] > git remote # timeout=10 [2023-05-17T19:08:36.332Z] > git config --get remote.origin.url # timeout=10 [2023-05-17T19:08:36.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-17T19:08:36.388Z] > git merge e24262ef9183de1c0c5cd9baee4f648fbf1c66fe # timeout=10 [2023-05-17T19:08:36.427Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-17T19:08:36.469Z] > git config core.sparsecheckout # timeout=10 [2023-05-17T19:08:36.494Z] > git checkout -f ac4121a6a7904df9618b3f379b244e5282c25357 # timeout=10 [2023-05-17T19:08:38.104Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-17T19:08:38.104Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T19:08:38.104Z] Dload Upload Total Spent Left Speed [2023-05-17T19:08:38.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2023-05-17T19:08:38.944Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-17T19:08:39.324Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-17T19:08:39.325Z] + sudo tee /etc/docker/daemon.new [2023-05-17T19:08:39.325Z] { [2023-05-17T19:08:39.325Z] "registry-mirrors": [ [2023-05-17T19:08:39.325Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-17T19:08:39.325Z] ], [2023-05-17T19:08:39.325Z] "bip": "10.250.0.254/24", [2023-05-17T19:08:39.325Z] "hosts": [ [2023-05-17T19:08:39.325Z] "tcp://0.0.0.0:5555", [2023-05-17T19:08:39.325Z] "unix:///var/run/docker.sock" [2023-05-17T19:08:39.325Z] ], [2023-05-17T19:08:39.325Z] "mtu": 1458, [2023-05-17T19:08:39.325Z] "selinux-enabled": true, [2023-05-17T19:08:39.325Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-17T19:08:39.325Z] } [Pipeline] sh [2023-05-17T19:08:39.676Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-17T19:08:40.050Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:08:58.381Z] provisioning config files... [2023-05-17T19:08:58.415Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5078012426408184992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:08:58.816Z] ---> docker-login.sh [2023-05-17T19:08:58.816Z] nexus3.edgexfoundry.org:10001 [2023-05-17T19:08:59.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:08:59.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:08:59.737Z] Configure a credential helper to remove this warning. See [2023-05-17T19:08:59.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:08:59.737Z] [2023-05-17T19:08:59.737Z] Login Succeeded [2023-05-17T19:08:59.737Z] nexus3.edgexfoundry.org:10002 [2023-05-17T19:09:00.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:09:00.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:09:00.321Z] Configure a credential helper to remove this warning. See [2023-05-17T19:09:00.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:09:00.321Z] [2023-05-17T19:09:00.321Z] Login Succeeded [2023-05-17T19:09:00.321Z] nexus3.edgexfoundry.org:10003 [2023-05-17T19:09:00.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:09:00.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:09:00.607Z] Configure a credential helper to remove this warning. See [2023-05-17T19:09:00.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:09:00.607Z] [2023-05-17T19:09:00.607Z] Login Succeeded [2023-05-17T19:09:00.607Z] nexus3.edgexfoundry.org:10004 [2023-05-17T19:09:00.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:09:01.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:09:01.176Z] Configure a credential helper to remove this warning. See [2023-05-17T19:09:01.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:09:01.176Z] [2023-05-17T19:09:01.176Z] Login Succeeded [2023-05-17T19:09:01.176Z] docker.io [2023-05-17T19:09:01.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-17T19:09:01.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-17T19:09:01.739Z] Configure a credential helper to remove this warning. See [2023-05-17T19:09:01.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-17T19:09:01.739Z] [2023-05-17T19:09:01.739Z] Login Succeeded [2023-05-17T19:09:01.739Z] ---> docker-login.sh ends [Pipeline] } [2023-05-17T19:09:01.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-17T19:09:02.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:09:02.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-17T19:09:02.246Z] ========================================================= [2023-05-17T19:09:02.246Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-17T19:09:02.246Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:09:02.642Z] + 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:09:02.919Z] Sending build context to Docker daemon 3.417MB [2023-05-17T19:09:03.196Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:09:03.197Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-17T19:09:03.197Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-17T19:09:03.197Z] c41833b44d91: Pulling fs layer [2023-05-17T19:09:03.197Z] ed15518f5707: Pulling fs layer [2023-05-17T19:09:03.197Z] feae8fd75edb: Pulling fs layer [2023-05-17T19:09:03.197Z] 242c74f7c9fa: Pulling fs layer [2023-05-17T19:09:03.197Z] 3cdef696dda3: Pulling fs layer [2023-05-17T19:09:03.197Z] 2ced38df9373: Pulling fs layer [2023-05-17T19:09:03.197Z] 58f1dce35555: Pulling fs layer [2023-05-17T19:09:03.197Z] 242c74f7c9fa: Waiting [2023-05-17T19:09:03.197Z] 3cdef696dda3: Waiting [2023-05-17T19:09:03.197Z] 2ced38df9373: Waiting [2023-05-17T19:09:03.197Z] 58f1dce35555: Waiting [2023-05-17T19:09:03.197Z] ed15518f5707: Verifying Checksum [2023-05-17T19:09:03.197Z] ed15518f5707: Download complete [2023-05-17T19:09:03.474Z] 242c74f7c9fa: Download complete [2023-05-17T19:09:03.474Z] 3cdef696dda3: Download complete [2023-05-17T19:09:03.474Z] c41833b44d91: Verifying Checksum [2023-05-17T19:09:03.474Z] c41833b44d91: Download complete [2023-05-17T19:09:04.493Z] c41833b44d91: Pull complete [2023-05-17T19:09:05.099Z] 58f1dce35555: Verifying Checksum [2023-05-17T19:09:05.099Z] 58f1dce35555: Download complete [2023-05-17T19:09:05.099Z] ed15518f5707: Pull complete [2023-05-17T19:09:06.540Z] feae8fd75edb: Verifying Checksum [2023-05-17T19:09:06.540Z] feae8fd75edb: Download complete [2023-05-17T19:09:06.540Z] 2ced38df9373: Verifying Checksum [2023-05-17T19:09:06.540Z] 2ced38df9373: Download complete [2023-05-17T19:09:19.007Z] feae8fd75edb: Pull complete [2023-05-17T19:09:19.007Z] 242c74f7c9fa: Pull complete [2023-05-17T19:09:19.007Z] 3cdef696dda3: Pull complete [2023-05-17T19:09:24.425Z] 2ced38df9373: Pull complete [2023-05-17T19:09:27.046Z] 58f1dce35555: Pull complete [2023-05-17T19:09:27.046Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-17T19:09:27.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-17T19:09:27.046Z] ---> fadd8f120f05 [2023-05-17T19:09:27.046Z] Step 3/10 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:09:29.674Z] ---> Running in ccae5a289426 [2023-05-17T19:09:30.283Z] Removing intermediate container ccae5a289426 [2023-05-17T19:09:30.283Z] ---> 7b0e5ab95ab0 [2023-05-17T19:09:30.283Z] Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:09:30.571Z] ---> Running in 18af3ab0b76a [2023-05-17T19:09:30.848Z] Removing intermediate container 18af3ab0b76a [2023-05-17T19:09:30.848Z] ---> 131985d93917 [2023-05-17T19:09:30.848Z] Step 5/10 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:09:31.125Z] ---> Running in f924bd2c8895 [2023-05-17T19:09:32.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:09:33.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:09:34.642Z] (1/8) Installing openssh-keygen (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (2/8) Installing libedit (20221030.3.1-r0) [2023-05-17T19:09:34.917Z] (3/8) Installing openssh-client-common (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (4/8) Installing openssh-client-default (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (5/8) Installing openssh-sftp-server (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (6/8) Installing openssh-server-common (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (7/8) Installing openssh-server (9.1_p1-r3) [2023-05-17T19:09:34.917Z] (8/8) Installing openssh (9.1_p1-r3) [2023-05-17T19:09:34.917Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:09:35.193Z] OK: 270 MiB in 61 packages [2023-05-17T19:09:36.645Z] Removing intermediate container f924bd2c8895 [2023-05-17T19:09:36.645Z] ---> 2f93e6ef9a00 [2023-05-17T19:09:36.645Z] Step 6/10 : WORKDIR /device-modbus-go [2023-05-17T19:09:36.645Z] ---> Running in 81ee3b8ce347 [2023-05-17T19:09:36.922Z] Removing intermediate container 81ee3b8ce347 [2023-05-17T19:09:36.922Z] ---> ae21ccae4f88 [2023-05-17T19:09:36.922Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-17T19:09:37.910Z] ---> 37dff47b1b9d [2023-05-17T19:09:37.910Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:09:37.910Z] ---> Running in f1a8ae958f46 [2023-05-17T19:10:45.920Z] Removing intermediate container f1a8ae958f46 [2023-05-17T19:10:45.920Z] ---> 1161647117c4 [2023-05-17T19:10:45.920Z] Step 9/10 : COPY . . [2023-05-17T19:10:45.920Z] ---> 10d5cae996a0 [2023-05-17T19:10:45.920Z] Step 10/10 : RUN ${MAKE} [2023-05-17T19:10:45.920Z] ---> Running in 89d310f5ce3e [2023-05-17T19:10:45.920Z] noop [2023-05-17T19:10:48.519Z] Removing intermediate container 89d310f5ce3e [2023-05-17T19:10:48.519Z] ---> 825d335143cf [2023-05-17T19:10:48.519Z] Successfully built 825d335143cf [2023-05-17T19:10:48.519Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:10:48.898Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T19:10:48.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:10:49.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container [2023-05-17T19:10:49.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-17T19:10:50.691Z] $ docker top 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:10:51.592Z] + go version [2023-05-17T19:10:51.592Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-17T19:10:51.619Z] $ docker stop --time=1 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 [2023-05-17T19:10:53.327Z] $ docker rm -f --volumes 6a26be15ae25ea8b7f43a9ad693fa6b4ec0058ac2265e9394b4ed5e50e5147b6 [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:53.916Z] + docker inspect -f . ci-base-image-arm64 [2023-05-17T19:10:53.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:10:54.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container [2023-05-17T19:10:54.208Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-17T19:10:55.602Z] $ docker top 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:10:56.498Z] + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh [2023-05-17T19:10:57.170Z] + make test [2023-05-17T19:10:57.170Z] go test ./... -coverprofile=coverage.out [2023-05-17T19:11:36.188Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2023-05-17T19:14:14.004Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2023-05-17T19:14:14.004Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.090s coverage: 47.4% of statements [2023-05-17T19:14:14.004Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-17T19:14:14.004Z] go vet ./... [2023-05-17T19:14:36.167Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-17T19:14:36.167Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-17T19:14:36.167Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-17T19:14:36.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-17T19:14:36.794Z] $ docker stop --time=1 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a [2023-05-17T19:14:38.789Z] $ docker rm -f --volumes 59dcf37c7210276ad3d81b2fde9af263fd3c72ed1881aab87651ae1d2a7f6c7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-17T19:14:40.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-17T19:14:40.106Z] Warning: overwriting stash ‘coverage-report’ [2023-05-17T19:14:40.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-17T19:14:41.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-17T19:14:41.450Z] + ls -al . [2023-05-17T19:14:41.451Z] total 180 [2023-05-17T19:14:41.451Z] drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:11 . [2023-05-17T19:14:41.451Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 .. [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 140 May 17 19:08 .dockerignore [2023-05-17T19:14:41.451Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:08 .git [2023-05-17T19:14:41.451Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 .github [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 331 May 17 19:08 .gitignore [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:08 .golangci.yml [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 10132 May 17 19:08 Attribution.txt [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 11576 May 17 19:08 CHANGELOG.md [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 1365 May 17 19:08 Dockerfile [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:08 GOVERNANCE.md [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:08 Jenkinsfile [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:08 LICENSE [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 1705 May 17 19:08 Makefile [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 622 May 17 19:08 OWNERS.md [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 4554 May 17 19:08 README.md [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION [2023-05-17T19:14:41.451Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 bin [2023-05-17T19:14:41.451Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 cmd [2023-05-17T19:14:41.451Z] -rw-r--r-- 1 jenkins jenkins 24160 May 17 19:14 coverage.out [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 3453 May 17 19:08 go.mod [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 31670 May 17 19:08 go.sum [2023-05-17T19:14:41.451Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:08 internal [2023-05-17T19:14:41.451Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:08 simulator [2023-05-17T19:14:41.451Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:08 snap [2023-05-17T19:14:41.451Z] -rw-rw-r-- 1 jenkins jenkins 229 May 17 19:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:14:41.804Z] + 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=ac4121a6a7904df9618b3f379b244e5282c25357 --label arch=arm64 --label version=0.0.0 . [2023-05-17T19:14:42.080Z] Sending build context to Docker daemon 3.442MB [2023-05-17T19:14:42.080Z] Step 1/22 : ARG BASE=golang:1.20-alpine3.17 [2023-05-17T19:14:42.080Z] Step 2/22 : FROM ${BASE} AS builder [2023-05-17T19:14:42.080Z] ---> 825d335143cf [2023-05-17T19:14:42.080Z] Step 3/22 : ARG ADD_BUILD_TAGS="" [2023-05-17T19:14:42.354Z] ---> Running in a89cb6b1d5bd [2023-05-17T19:14:42.623Z] Removing intermediate container a89cb6b1d5bd [2023-05-17T19:14:42.623Z] ---> 9dee11e0a27f [2023-05-17T19:14:42.623Z] Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-17T19:14:42.895Z] ---> Running in eed630385afa [2023-05-17T19:14:43.170Z] Removing intermediate container eed630385afa [2023-05-17T19:14:43.170Z] ---> 8c17f505d981 [2023-05-17T19:14:43.170Z] Step 5/22 : RUN apk add --update --no-cache make git openssh [2023-05-17T19:14:43.170Z] ---> Running in 59c6e880a465 [2023-05-17T19:14:44.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:14:44.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:14:46.399Z] OK: 270 MiB in 61 packages [2023-05-17T19:14:47.396Z] Removing intermediate container 59c6e880a465 [2023-05-17T19:14:47.396Z] ---> 0508ba339c89 [2023-05-17T19:14:47.396Z] Step 6/22 : WORKDIR /device-modbus-go [2023-05-17T19:14:47.396Z] ---> Running in 66f7349d0923 [2023-05-17T19:14:47.667Z] Removing intermediate container 66f7349d0923 [2023-05-17T19:14:47.667Z] ---> 9e232d3d83cf [2023-05-17T19:14:47.667Z] Step 7/22 : COPY go.mod vendor* ./ [2023-05-17T19:14:48.259Z] ---> 690b835aed58 [2023-05-17T19:14:48.259Z] Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-17T19:14:48.259Z] ---> Running in 9b7338e76553 [2023-05-17T19:14:50.854Z] Removing intermediate container 9b7338e76553 [2023-05-17T19:14:50.854Z] ---> fdf38380ba00 [2023-05-17T19:14:50.854Z] Step 9/22 : COPY . . [2023-05-17T19:14:55.122Z] ---> 274214c83193 [2023-05-17T19:14:55.122Z] Step 10/22 : RUN ${MAKE} [2023-05-17T19:14:55.122Z] ---> Running in d8f0346cff84 [2023-05-17T19:14:55.708Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd [2023-05-17T19:17:32.504Z] Removing intermediate container d8f0346cff84 [2023-05-17T19:17:32.505Z] ---> 12542ffa09fc [2023-05-17T19:17:32.505Z] Step 11/22 : FROM alpine:3.17 [2023-05-17T19:17:32.505Z] 3.17: Pulling from library/alpine [2023-05-17T19:17:32.505Z] c41833b44d91: Already exists [2023-05-17T19:17:32.505Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-17T19:17:32.505Z] Status: Downloaded newer image for alpine:3.17 [2023-05-17T19:17:32.505Z] ---> 51e60588ff2c [2023-05-17T19:17:32.505Z] Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2023-05-17T19:17:32.505Z] ---> Running in a2d5697e91b2 [2023-05-17T19:17:32.505Z] Removing intermediate container a2d5697e91b2 [2023-05-17T19:17:32.505Z] ---> 5f68a428927c [2023-05-17T19:17:32.505Z] Step 13/22 : RUN apk add --update --no-cache dumb-init [2023-05-17T19:17:32.505Z] ---> Running in 0a43d9ecd9b2 [2023-05-17T19:17:32.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-17T19:17:32.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-17T19:17:32.505Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-17T19:17:32.505Z] Executing busybox-1.35.0-r29.trigger [2023-05-17T19:17:32.505Z] OK: 8 MiB in 16 packages [2023-05-17T19:17:32.505Z] Removing intermediate container 0a43d9ecd9b2 [2023-05-17T19:17:32.505Z] ---> f3033289ccf9 [2023-05-17T19:17:32.505Z] Step 14/22 : COPY --from=builder /device-modbus-go/cmd / [2023-05-17T19:17:32.505Z] ---> 9b37963dd273 [2023-05-17T19:17:32.505Z] Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / [2023-05-17T19:17:32.505Z] ---> 888a72321f52 [2023-05-17T19:17:32.505Z] Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / [2023-05-17T19:17:32.505Z] ---> 3bb70e9d7ed6 [2023-05-17T19:17:32.505Z] Step 17/22 : EXPOSE 59901 [2023-05-17T19:17:32.505Z] ---> Running in 1ad8d3030c9f [2023-05-17T19:17:32.505Z] Removing intermediate container 1ad8d3030c9f [2023-05-17T19:17:32.505Z] ---> beba0cbad1c5 [2023-05-17T19:17:32.505Z] Step 18/22 : ENTRYPOINT ["/device-modbus"] [2023-05-17T19:17:32.505Z] ---> Running in 151482ea02a7 [2023-05-17T19:17:32.505Z] Removing intermediate container 151482ea02a7 [2023-05-17T19:17:32.505Z] ---> c5531fcb7335 [2023-05-17T19:17:32.505Z] Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-17T19:17:32.505Z] ---> Running in 8673887709d4 [2023-05-17T19:17:32.505Z] Removing intermediate container 8673887709d4 [2023-05-17T19:17:32.505Z] ---> bd47b1b6aa1f [2023-05-17T19:17:32.505Z] Step 20/22 : LABEL arch=arm64 [2023-05-17T19:17:32.505Z] ---> Running in fc7c688de5bd [2023-05-17T19:17:32.505Z] Removing intermediate container fc7c688de5bd [2023-05-17T19:17:32.505Z] ---> 93b68558f562 [2023-05-17T19:17:32.505Z] Step 21/22 : LABEL git_sha=ac4121a6a7904df9618b3f379b244e5282c25357 [2023-05-17T19:17:32.505Z] ---> Running in 211922f3453f [2023-05-17T19:17:32.505Z] Removing intermediate container 211922f3453f [2023-05-17T19:17:32.505Z] ---> a4d4f3f7489f [2023-05-17T19:17:32.505Z] Step 22/22 : LABEL version=0.0.0 [2023-05-17T19:17:32.505Z] ---> Running in 4dfa05138f32 [2023-05-17T19:17:32.505Z] Removing intermediate container 4dfa05138f32 [2023-05-17T19:17:32.505Z] ---> 3e1c9b63a10f [2023-05-17T19:17:32.505Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-17T19:17:32.505Z] Successfully built 3e1c9b63a10f [2023-05-17T19:17:32.505Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:32.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:17:32.959Z] [2023-05-17T19:17:32.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:17:33.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:17:33.575Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-17T19:17:33.575Z] 8998bd30e6a1: Pulling fs layer [2023-05-17T19:17:33.575Z] 04944245beec: Pulling fs layer [2023-05-17T19:17:33.575Z] 699f458cf7ca: Pulling fs layer [2023-05-17T19:17:33.575Z] 765212b225bb: Pulling fs layer [2023-05-17T19:17:33.575Z] f23df028b6ca: Pulling fs layer [2023-05-17T19:17:33.575Z] d65c8cfc05b1: Pulling fs layer [2023-05-17T19:17:33.575Z] 2437ff75d9bd: Pulling fs layer [2023-05-17T19:17:33.575Z] f23df028b6ca: Waiting [2023-05-17T19:17:33.575Z] d65c8cfc05b1: Waiting [2023-05-17T19:17:33.575Z] 2437ff75d9bd: Waiting [2023-05-17T19:17:33.575Z] 765212b225bb: Waiting [2023-05-17T19:17:33.575Z] 04944245beec: Verifying Checksum [2023-05-17T19:17:33.575Z] 04944245beec: Download complete [2023-05-17T19:17:33.575Z] 765212b225bb: Verifying Checksum [2023-05-17T19:17:33.575Z] 765212b225bb: Download complete [2023-05-17T19:17:33.575Z] f23df028b6ca: Download complete [2023-05-17T19:17:33.575Z] d65c8cfc05b1: Verifying Checksum [2023-05-17T19:17:33.575Z] d65c8cfc05b1: Download complete [2023-05-17T19:17:33.846Z] 699f458cf7ca: Verifying Checksum [2023-05-17T19:17:33.846Z] 699f458cf7ca: Download complete [2023-05-17T19:17:34.116Z] 8998bd30e6a1: Verifying Checksum [2023-05-17T19:17:34.116Z] 8998bd30e6a1: Download complete [2023-05-17T19:17:36.715Z] 2437ff75d9bd: Download complete [2023-05-17T19:17:38.690Z] 8998bd30e6a1: Pull complete [2023-05-17T19:17:38.957Z] 04944245beec: Pull complete [2023-05-17T19:17:40.372Z] 699f458cf7ca: Pull complete [2023-05-17T19:17:40.372Z] 765212b225bb: Pull complete [2023-05-17T19:17:40.958Z] f23df028b6ca: Pull complete [2023-05-17T19:17:41.227Z] d65c8cfc05b1: Pull complete [2023-05-17T19:17:56.248Z] 2437ff75d9bd: Pull complete [2023-05-17T19:17:56.248Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-17T19:17:56.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-17T19:17:56.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:17:56.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-15933 does not seem to be running inside a container [2023-05-17T19:17:56.566Z] $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-17T19:17:59.527Z] $ docker top e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:00.417Z] ---> job-cost.sh [2023-05-17T19:18:00.417Z] lf-activate-venv: SKIPPING [2023-05-17T19:18:00.417Z] INFO: No Stack... [2023-05-17T19:18:01.006Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-17T19:18:01.971Z] INFO: Archiving Costs [Pipeline] sh [2023-05-17T19:18:02.629Z] + cat /w/workspace/device-modbus-go/4/archives/cost.csv [2023-05-17T19:18:02.629Z] + cut -d, -f6 [Pipeline] lock [2023-05-17T19:18:02.666Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [2023-05-17T19:18:02.671Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] did not exist. Created. [2023-05-17T19:18:02.671Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-17T19:18:03.343Z] /w/workspace/device-modbus-go/4@tmp/durable-e19a5a03/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-17T19:18:04.004Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-17T19:18:04.028Z] Warning: overwriting stash ‘stack-cost’ [2023-05-17T19:18:04.085Z] Stashed 1 file(s) [Pipeline] } [2023-05-17T19:18:04.095Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-480-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-17T19:18:04.113Z] $ docker stop --time=1 e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b [2023-05-17T19:18:05.658Z] $ docker rm -f --volumes e6e320078a7ad397bc0450eaee2f3cf62f2070bf7a03734d1eb355cdb079d77b [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:06.071Z] provisioning config files... [2023-05-17T19:18:06.079Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config5504485414491802559tmp [Pipeline] { [Pipeline] sh [2023-05-17T19:18:06.376Z] + set +x [2023-05-17T19:18:06.376Z] + curl -s https://codecov.io/bash [2023-05-17T19:18:06.376Z] + bash -s -- [2023-05-17T19:18:06.376Z] [2023-05-17T19:18:06.376Z] _____ _ [2023-05-17T19:18:06.376Z] / ____| | | [2023-05-17T19:18:06.376Z] | | ___ __| | ___ ___ _____ __ [2023-05-17T19:18:06.376Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-17T19:18:06.376Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-17T19:18:06.376Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-17T19:18:06.376Z] Bash-1.0.6 [2023-05-17T19:18:06.376Z] [2023-05-17T19:18:06.376Z] [2023-05-17T19:18:06.376Z] ==> git version 2.25.1 found [2023-05-17T19:18:06.376Z] ==> 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:06.376Z] Release-Date: 2020-01-08 [2023-05-17T19:18:06.376Z] 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:06.376Z] 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:06.376Z] ==> Jenkins CI detected. [2023-05-17T19:18:06.376Z] current dir:  /w/workspace/xfoundry_device-modbus-go_PR-480 [2023-05-17T19:18:06.376Z] project root: . [2023-05-17T19:18:06.376Z] --> token set from env [2023-05-17T19:18:06.376Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-17T19:18:06.376Z] ==> Running gcov in . (disable via -X gcov) [2023-05-17T19:18:06.376Z] ==> Python coveragepy not found [2023-05-17T19:18:06.376Z] ==> Searching for coverage reports in: [2023-05-17T19:18:06.376Z] + . [2023-05-17T19:18:06.376Z] -> Found 1 reports [2023-05-17T19:18:06.376Z] ==> Detecting git/mercurial file structure [2023-05-17T19:18:06.637Z] ==> Reading reports [2023-05-17T19:18:06.637Z] + ./coverage.out bytes=24160 [2023-05-17T19:18:06.637Z] ==> Appending adjustments [2023-05-17T19:18:06.637Z] https://docs.codecov.io/docs/fixing-reports [2023-05-17T19:18:06.637Z] + Found adjustments [2023-05-17T19:18:06.637Z] ==> Gzipping contents [2023-05-17T19:18:06.637Z] 4.0K /tmp/codecov.eiPLjR.gz [2023-05-17T19:18:06.637Z] ==> Uploading reports [2023-05-17T19:18:06.637Z] url: https://codecov.io [2023-05-17T19:18:06.637Z] query: branch=PR-480&commit=ac4121a6a7904df9618b3f379b244e5282c25357&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= [2023-05-17T19:18:06.637Z] -> Pinging Codecov [2023-05-17T19:18:06.637Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-480&commit=ac4121a6a7904df9618b3f379b244e5282c25357&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-480%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=480&job=&cmd_args= [2023-05-17T19:18:06.898Z] -> Uploading to [2023-05-17T19:18:06.898Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-17/55DBCA73C666E3227836607328DD7E49/ac4121a6a7904df9618b3f379b244e5282c25357/38ae32e8-1266-4088-9abc-4e3d4c5cf902.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191806Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d689c49bdb1393613c95a50e47186d503c998c573c7ab5af1eaa21477cb77e77 [2023-05-17T19:18:06.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-17T19:18:06.898Z] Dload Upload Total Spent Left Speed [2023-05-17T19:18:07.158Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3924 0 0 100 3924 0 16081 --:--:-- --:--:-- --:--:-- 16081 [2023-05-17T19:18:07.158Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/ac4121a6a7904df9618b3f379b244e5282c25357 [Pipeline] } [2023-05-17T19:18:07.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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:18:07.868Z] + [ -d /w/workspace/xfoundry_device-modbus-go_PR-480/archives ] [2023-05-17T19:18:07.868Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives [2023-05-17T19:18:07.868Z] total 16 [2023-05-17T19:18:07.868Z] drwxr-xr-x 3 root root 4096 May 17 19:05 . [2023-05-17T19:18:07.868Z] drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:05 .. [2023-05-17T19:18:07.868Z] drwxr-xr-x 2 root root 4096 May 17 19:05 cost [2023-05-17T19:18:07.868Z] -rw-r--r-- 1 root root 88 May 17 19:05 cost.csv [2023-05-17T19:18:07.868Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-480/archives [2023-05-17T19:18:07.868Z] + ls -al /w/workspace/xfoundry_device-modbus-go_PR-480/archives [2023-05-17T19:18:07.868Z] total 16 [2023-05-17T19:18:07.868Z] drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:05 . [2023-05-17T19:18:07.868Z] drwxrwxr-x 11 jenkins jenkins 4096 May 17 19:05 .. [2023-05-17T19:18:07.868Z] drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:05 cost [2023-05-17T19:18:07.868Z] -rw-r--r-- 1 jenkins jenkins 88 May 17 19:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:08.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:09.024Z] ---> package-listing.sh [2023-05-17T19:18:09.025Z] ++ facter osfamily [2023-05-17T19:18:09.025Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-17T19:18:09.284Z] + OS_FAMILY=debian [2023-05-17T19:18:09.284Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-480 [2023-05-17T19:18:09.284Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-17T19:18:09.284Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-17T19:18:09.284Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-17T19:18:09.284Z] + PACKAGES=/tmp/packages_start.txt [2023-05-17T19:18:09.284Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' [2023-05-17T19:18:09.284Z] + PACKAGES=/tmp/packages_end.txt [2023-05-17T19:18:09.284Z] + case "${OS_FAMILY}" in [2023-05-17T19:18:09.284Z] + dpkg -l [2023-05-17T19:18:09.284Z] + grep '^ii' [2023-05-17T19:18:09.284Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-17T19:18:09.284Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-17T19:18:09.284Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-17T19:18:09.284Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-480 ']' [2023-05-17T19:18:09.284Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [2023-05-17T19:18:09.284Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-480/archives/ [Pipeline] echo [2023-05-17T19:18:09.296Z] 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/xfoundry_device-modbus-go_PR-480/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:18:09.576Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-17T19:18:10.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-17T19:18:10.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-17T19:18:10.208Z] prd-ubuntu20.04-docker-8c-8g-15927 does not seem to be running inside a container [2023-05-17T19:18:10.231Z] $ 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/xfoundry_device-modbus-go_PR-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-480 -v /w/workspace/xfoundry_device-modbus-go_PR-480:/w/workspace/xfoundry_device-modbus-go_PR-480:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-480@tmp:/w/workspace/xfoundry_device-modbus-go_PR-480@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-17T19:18:10.455Z] $ docker top 8feb012e6e705698a83c9582a3aae82cf4c441e8187433c054d0715945affd51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-17T19:18:10.816Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-17T19:18:11.102Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-17T19:18:11.391Z] + ls /var/log/sa-host [2023-05-17T19:18:11.391Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-17T19:18:11.464Z] provisioning config files... [2023-05-17T19:18:11.472Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-480@tmp/config1295375638871533222tmp [Pipeline] { [Pipeline] echo [2023-05-17T19:18:11.487Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:11.772Z] ---> create-netrc.sh [Pipeline] } [2023-05-17T19:18:11.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:12.105Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-17T19:18:12.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:12.399Z] ---> sudo-logs.sh [2023-05-17T19:18:12.399Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-17T19:18:12.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:12.719Z] ---> job-cost.sh [2023-05-17T19:18:12.719Z] lf-activate-venv: SKIPPING [2023-05-17T19:18:12.719Z] DEBUG: total: 0.2199999988079071 [2023-05-17T19:18:12.719Z] INFO: Retrieving Stack Cost... [2023-05-17T19:18:12.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-17T19:18:13.544Z] INFO: Archiving Costs [Pipeline] echo [2023-05-17T19:18:13.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-17T19:18:13.840Z] ---> logs-deploy.sh [2023-05-17T19:18:13.840Z] lf-activate-venv: SKIPPING [2023-05-17T19:18:13.840Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-480/4 [2023-05-17T19:18:13.840Z] INFO: archiving workspace using pattern(s): [2023-05-17T19:18:14.776Z] Archives upload complete. [2023-05-17T19:18:15.035Z] INFO: archiving logs to Nexus