Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb31265618feb3b01981c84d7ce9ef615feeadd6+244abab361647dcef607fbcbfbdaea3ae1f72309 (fc046964367193815984afabf22419e3bf8e886b) 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-ssh16059481496148106774.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh8809343664533036962.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-329/workspace@libs/edgex-global-pipelines/.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-329/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13693847575816895975.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh16328106522301760782.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-329/workspace@libs/lf-pipelines/.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-329/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12050558883028662304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20804 in /w/workspace/xfoundry_device-modbus-go_PR-329 [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-329 # 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 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit fb31265618feb3b01981c84d7ce9ef615feeadd6 Merge succeeded, producing 7dcc900f76059ffe1ed632fc8dff27e130593aae Checking out Revision 7dcc900f76059ffe1ed632fc8dff27e130593aae (PR-329) > 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/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb31265618feb3b01981c84d7ce9ef615feeadd6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dcc900f76059ffe1ed632fc8dff27e130593aae # timeout=10 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ba8734ffe2f549d746873aea96786163de512101 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:52:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:52:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:52:31 ========================================================= 12:52:31 EdgeX Global Pipelines Version Info 12:52:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:52:31 ------------------- 12:52:31 stable info: 12:52:31 ------------------- 12:52:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:52:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:52:31 Message: update stable to v1.0.221 12:52:32 ------------------- 12:52:32 experimental info: 12:52:32 ------------------- 12:52:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:52:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 12:52:32 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:52:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-329 [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-329 [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-329 [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7dcc900 [Pipeline] echo 12:52:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:52:33 provisioning config files... 12:52:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config557080931983087204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:33 ---> docker-login.sh 12:52:33 nexus3.edgexfoundry.org:10001 12:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:33 Configure a credential helper to remove this warning. See 12:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:33 12:52:33 Login Succeeded 12:52:33 nexus3.edgexfoundry.org:10002 12:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:33 Configure a credential helper to remove this warning. See 12:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:33 12:52:33 Login Succeeded 12:52:33 nexus3.edgexfoundry.org:10003 12:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:34 Configure a credential helper to remove this warning. See 12:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:34 12:52:34 Login Succeeded 12:52:34 nexus3.edgexfoundry.org:10004 12:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:34 Configure a credential helper to remove this warning. See 12:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:34 12:52:34 Login Succeeded 12:52:34 docker.io 12:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:34 Configure a credential helper to remove this warning. See 12:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:34 12:52:34 Login Succeeded 12:52:34 ---> docker-login.sh ends [Pipeline] } 12:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:52:35 + git rev-list -1 --merges 7dcc900f76059ffe1ed632fc8dff27e130593aae~1..7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo 12:52:35 -----------> git rev-list -1 --merges 7dcc900f76059ffe1ed632fc8dff27e130593aae~1..7dcc900f76059ffe1ed632fc8dff27e130593aae 7dcc900f76059ffe1ed632fc8dff27e130593aae 12:52:35 7dcc900f76059ffe1ed632fc8dff27e130593aae [false] [Pipeline] sh 12:52:35 + git log --format=format:%s -1 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo 12:52:35 ========================================================= 12:52:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:52:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:52:35 + git log --format=format:%s -1 7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] echo 12:52:35 [semverPrep] GIT_COMMIT: 7dcc900f76059ffe1ed632fc8dff27e130593aae, Commit Message: Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD [Pipeline] echo 12:52:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:52:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:52:36 + grep -v github /etc/ssh/ssh_known_hosts 12:52:36 + [ -e /tmp/ssh_known_hosts ] 12:52:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:52:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:52:36 + sudo tee -a /etc/ssh/ssh_known_hosts 12:52:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:52:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:36 12:52:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:52:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:37 latest: Pulling from edgex-devops/git-semver 12:52:37 a0d0a0d46f8b: Pulling fs layer 12:52:37 3e5f54012d9b: Pulling fs layer 12:52:37 4c7163046ea9: Pulling fs layer 12:52:37 0c2d73faf560: Pulling fs layer 12:52:37 0c2d73faf560: Waiting 12:52:37 3e5f54012d9b: Verifying Checksum 12:52:37 3e5f54012d9b: Download complete 12:52:37 a0d0a0d46f8b: Download complete 12:52:37 0c2d73faf560: Verifying Checksum 12:52:37 0c2d73faf560: Download complete 12:52:37 4c7163046ea9: Verifying Checksum 12:52:37 4c7163046ea9: Download complete 12:52:37 a0d0a0d46f8b: Pull complete 12:52:37 3e5f54012d9b: Pull complete 12:52:37 4c7163046ea9: Pull complete 12:52:37 0c2d73faf560: Pull complete 12:52:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:52:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:52:37 prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container 12:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:52:38 $ docker top d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:52:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:38 [ssh-agent] Looking for ssh-agent implementation... 12:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:39 $ docker exec d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent 12:52:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOfoKe/agent.13 12:52:39 SSH_AGENT_PID=19 12:52:39 Running ssh-add (command line suppressed) 12:52:39 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_7445849172995578640.key (/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_7445849172995578640.key) 12:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:39 + git tag --points-at HEAD [Pipeline] } 12:52:39 $ docker exec --env ******** --env ******** d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent -k 12:52:39 unset SSH_AUTH_SOCK; 12:52:39 unset SSH_AGENT_PID; 12:52:39 echo Agent pid 19 killed; 12:52:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:52:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:52:39 [ssh-agent] Looking for ssh-agent implementation... 12:52:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:52:39 $ docker exec d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent 12:52:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhdflLE/agent.52 12:52:40 SSH_AGENT_PID=58 12:52:40 Running ssh-add (command line suppressed) 12:52:40 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_5204532626995580450.key (/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/private_key_5204532626995580450.key) 12:52:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:52:40 + git semver init 12:52:40 # -> Open(): unable to determine branch for HEAD 12:52:40 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-329/.git 12:52:40 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-329 12:52:40 # $SEMVER_REMOTE_NAME = origin 12:52:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:52:40 # $SEMVER_USER_NAME = edgex-jenkins 12:52:40 # $SEMVER_BRANCH = PR-329 12:52:40 # $SEMVER_TEMP = /tmp/semver-252861333 12:52:40 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 12:52:41 # '/tmp/semver-252861333' -> '/w/workspace/xfoundry_device-modbus-go_PR-329/.semver' 12:52:41 # -> Force: false 12:52:41 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-329/.semver [Pipeline] } 12:52:41 $ docker exec --env ******** --env ******** d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 ssh-agent -k 12:52:41 unset SSH_AUTH_SOCK; 12:52:41 unset SSH_AGENT_PID; 12:52:41 echo Agent pid 58 killed; 12:52:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:52:41 + git semver [Pipeline] } 12:52:41 $ docker stop --time=1 d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 12:52:43 $ docker rm -f d013df99d4cf3c44bd49bbae2664afec8000ecf5327d7e8618f4fda86c4a5738 [Pipeline] // withDockerContainer [Pipeline] sh 12:52:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:52:43 Stashed 1 file(s) [Pipeline] echo 12:52:43 [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 12:52:44 provisioning config files... 12:52:44 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config2739715870630339843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:52:44 ---> docker-login.sh 12:52:44 nexus3.edgexfoundry.org:10001 12:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:44 Configure a credential helper to remove this warning. See 12:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:44 12:52:44 Login Succeeded 12:52:44 nexus3.edgexfoundry.org:10002 12:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:44 Configure a credential helper to remove this warning. See 12:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:44 12:52:44 Login Succeeded 12:52:44 nexus3.edgexfoundry.org:10003 12:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:44 Configure a credential helper to remove this warning. See 12:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:44 12:52:44 Login Succeeded 12:52:44 nexus3.edgexfoundry.org:10004 12:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:45 Configure a credential helper to remove this warning. See 12:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:45 12:52:45 Login Succeeded 12:52:45 docker.io 12:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:52:45 Configure a credential helper to remove this warning. See 12:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:52:45 12:52:45 Login Succeeded 12:52:45 ---> docker-login.sh ends [Pipeline] } 12:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:52:45 ========================================================= 12:52:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:52:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:52:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:52:45 Sending build context to Docker daemon 5.804MB 12:52:45 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:52:45 Step 2/10 : FROM ${BASE} AS builder 12:52:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:52:45 59bf1c3509f3: Pulling fs layer 12:52:45 666ba61612fd: Pulling fs layer 12:52:45 8ed8ca486205: Pulling fs layer 12:52:45 4fe6c5a15a65: Pulling fs layer 12:52:45 22a0e8bec74d: Pulling fs layer 12:52:45 640e595b4fbd: Pulling fs layer 12:52:45 763cafe07f6e: Pulling fs layer 12:52:45 640e595b4fbd: Waiting 12:52:45 0c0b528cf693: Pulling fs layer 12:52:45 763cafe07f6e: Waiting 12:52:45 10935f4eaf8b: Pulling fs layer 12:52:45 4fe6c5a15a65: Waiting 12:52:45 22a0e8bec74d: Waiting 12:52:45 10935f4eaf8b: Waiting 12:52:45 8ed8ca486205: Verifying Checksum 12:52:45 8ed8ca486205: Download complete 12:52:45 666ba61612fd: Download complete 12:52:45 22a0e8bec74d: Verifying Checksum 12:52:45 22a0e8bec74d: Download complete 12:52:45 640e595b4fbd: Download complete 12:52:45 59bf1c3509f3: Verifying Checksum 12:52:45 763cafe07f6e: Verifying Checksum 12:52:45 763cafe07f6e: Download complete 12:52:45 0c0b528cf693: Verifying Checksum 12:52:45 59bf1c3509f3: Pull complete 12:52:46 666ba61612fd: Pull complete 12:52:46 8ed8ca486205: Pull complete 12:52:46 10935f4eaf8b: Verifying Checksum 12:52:46 10935f4eaf8b: Download complete 12:52:46 4fe6c5a15a65: Verifying Checksum 12:52:46 4fe6c5a15a65: Download complete 12:52:50 4fe6c5a15a65: Pull complete 12:52:50 22a0e8bec74d: Pull complete 12:52:50 640e595b4fbd: Pull complete 12:52:51 763cafe07f6e: Pull complete 12:52:51 0c0b528cf693: Pull complete 12:52:53 10935f4eaf8b: Pull complete 12:52:53 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:52:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:52:53 ---> 99d49a6021b9 12:52:53 Step 3/10 : ARG MAKE='make build' 12:52:55 ---> Running in ab10f6e6fa30 12:52:55 Removing intermediate container ab10f6e6fa30 12:52:55 ---> e64b87489849 12:52:55 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:52:55 ---> Running in 242340df0c22 12:52:55 Removing intermediate container 242340df0c22 12:52:55 ---> 17fcb8223b49 12:52:55 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:52:55 ---> Running in bc0d019b06dc 12:52:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:52:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:52:57 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:52:57 (2/8) Installing libedit (20210910.3.1-r0) 12:52:57 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:52:57 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:52:57 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:52:57 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:52:57 (7/8) Installing openssh-server (8.8_p1-r1) 12:52:57 (8/8) Installing openssh (8.8_p1-r1) 12:52:57 Executing busybox-1.34.1-r3.trigger 12:52:57 OK: 226 MiB in 60 packages 12:52:58 Removing intermediate container bc0d019b06dc 12:52:58 ---> 7216685e19cd 12:52:58 Step 6/10 : WORKDIR /device-modbus-go 12:52:58 ---> Running in f8bf89250be9 12:52:58 Removing intermediate container f8bf89250be9 12:52:58 ---> 6c5bb947c297 12:52:58 Step 7/10 : COPY go.mod vendor* ./ 12:52:58 ---> c12b83fef104 12:52:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:52:58 ---> Running in 289bebd8035e 12:52:59 Still waiting to schedule task 12:52:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:53:20 Removing intermediate container 289bebd8035e 12:53:20 ---> b574e505362f 12:53:20 Step 9/10 : COPY . . 12:53:20 ---> 453bcb38904b 12:53:20 Step 10/10 : RUN ${MAKE} 12:53:20 ---> Running in 5ba99dc86ae4 12:53:20 noop 12:53:20 Removing intermediate container 5ba99dc86ae4 12:53:20 ---> f1b9b306047a 12:53:20 Successfully built f1b9b306047a 12:53:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:53:21 + docker inspect -f . ci-base-image-x86_64 12:53:21 . [Pipeline] withDockerContainer 12:53:21 prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container 12:53:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@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 ******** ci-base-image-x86_64 cat 12:53:21 $ docker top 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b -eo pid,comm [Pipeline] { [Pipeline] sh 12:53:22 + go version 12:53:22 go version go1.17.6 linux/amd64 [Pipeline] } 12:53:22 $ docker stop --time=1 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b 12:53:23 $ docker rm -f 3582185dfba88a793152db8dcf0a31b2094259f401a3bc48d82cd433380ca26b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:53:23 + docker inspect -f . ci-base-image-x86_64 12:53:23 . [Pipeline] withDockerContainer 12:53:23 prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container 12:53:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@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 ******** ci-base-image-x86_64 cat 12:53:24 $ docker top 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:53:24 + make test 12:53:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:53:24 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:53:35 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:53:35 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 46.4% of statements 12:53:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:53:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:53:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:53:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:53:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:53:45 $ docker stop --time=1 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f 12:53:47 $ docker rm -f 16f7875bb42bb3995751fe51c1ca7d0fc2fc583be6972195fe97258b4cf8124f [Pipeline] // withDockerContainer [Pipeline] sh 12:53:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:53:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:53:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:53:49 + ls -al . 12:53:49 total 200 12:53:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 12:53 . 12:53:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:52 .. 12:53:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:52 .dockerignore 12:53:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:52 .git 12:53:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 .github 12:53:49 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:52 .gitignore 12:53:49 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:52 .golangci.yml 12:53:49 drwx------ 3 jenkins jenkins 4096 Apr 13 12:52 .semver 12:53:49 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:52 Attribution.txt 12:53:49 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:52 CHANGELOG.md 12:53:49 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:52 Dockerfile 12:53:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:52 GOVERNANCE.md 12:53:49 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:52 Jenkinsfile 12:53:49 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:52 LICENSE 12:53:49 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:52 Makefile 12:53:49 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:52 OWNERS.md 12:53:49 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:52 README.md 12:53:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:52 VERSION 12:53:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:52 bin 12:53:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 cmd 12:53:49 -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:53 coverage.out 12:53:49 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:52 go.mod 12:53:49 -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:52 go.sum 12:53:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:52 internal 12:53:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:52 simulator 12:53:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:52 snap 12:53:49 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:52 version.go [Pipeline] isUnix [Pipeline] sh 12:53:49 + 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=7dcc900f76059ffe1ed632fc8dff27e130593aae --label arch=amd64 --label version=0.0.0 . 12:53:49 Sending build context to Docker daemon 5.829MB 12:53:49 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:53:49 Step 2/23 : FROM ${BASE} AS builder 12:53:49 ---> f1b9b306047a 12:53:49 Step 3/23 : ARG MAKE='make build' 12:53:50 ---> Running in e03d248ede01 12:53:50 Removing intermediate container e03d248ede01 12:53:50 ---> 392df44bc7af 12:53:50 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:53:50 ---> Running in 477bfe2c36e0 12:53:50 Removing intermediate container 477bfe2c36e0 12:53:50 ---> aea1f868cedd 12:53:50 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:53:50 ---> Running in a7a4d3d4eee6 12:53:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:53:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:53:52 OK: 226 MiB in 60 packages 12:53:52 Removing intermediate container a7a4d3d4eee6 12:53:52 ---> 637bef239cf7 12:53:52 Step 6/23 : WORKDIR /device-modbus-go 12:53:52 ---> Running in 4a13a61d24a8 12:53:52 Removing intermediate container 4a13a61d24a8 12:53:52 ---> 348ffd8d2bdc 12:53:52 Step 7/23 : COPY go.mod vendor* ./ 12:53:52 ---> 995b39099a6c 12:53:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:52 ---> Running in 6811761068a5 12:53:53 Removing intermediate container 6811761068a5 12:53:53 ---> 3d48d0d33fd3 12:53:53 Step 9/23 : COPY . . 12:53:54 ---> 5796cad90e14 12:53:54 Step 10/23 : RUN ${MAKE} 12:53:54 ---> Running in 88619957ade2 12:53:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 12:54:16 Removing intermediate container 88619957ade2 12:54:16 ---> 47e52bfee1d2 12:54:16 Step 11/23 : FROM alpine:3.14 12:54:16 3.14: Pulling from library/alpine 12:54:16 8663204ce13b: Pulling fs layer 12:54:16 8663204ce13b: Verifying Checksum 12:54:16 8663204ce13b: Download complete 12:54:16 8663204ce13b: Pull complete 12:54:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:54:16 Status: Downloaded newer image for alpine:3.14 12:54:16 ---> e04c818066af 12:54:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 12:54:16 ---> Running in df7b77fc62b3 12:54:16 Removing intermediate container df7b77fc62b3 12:54:16 ---> 6b6e95a7666b 12:54:16 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:54:16 ---> Running in 0fa283a45579 12:54:16 Removing intermediate container 0fa283a45579 12:54:16 ---> c57426e3e243 12:54:16 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 12:54:16 ---> Running in 7364aa34be37 12:54:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:54:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:54:16 (1/6) Installing dumb-init (1.2.5-r1) 12:54:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:54:16 (3/6) Installing libsodium (1.0.18-r0) 12:54:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:54:16 (5/6) Installing libzmq (4.3.4-r0) 12:54:16 (6/6) Installing zeromq (4.3.4-r0) 12:54:17 Executing busybox-1.33.1-r7.trigger 12:54:17 OK: 8 MiB in 20 packages 12:54:17 Removing intermediate container 7364aa34be37 12:54:17 ---> f154c81fcb46 12:54:17 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 12:54:17 ---> 2a184e582733 12:54:17 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 12:54:18 ---> 47077904dd68 12:54:18 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 12:54:18 ---> d67712278cae 12:54:18 Step 18/23 : EXPOSE 59901 12:54:18 ---> Running in 8abbb94f3b3a 12:54:18 Removing intermediate container 8abbb94f3b3a 12:54:18 ---> 3222559cca9a 12:54:18 Step 19/23 : ENTRYPOINT ["/device-modbus"] 12:54:18 ---> Running in cf575d11c72f 12:54:18 Removing intermediate container cf575d11c72f 12:54:18 ---> 5fc88ea3a5a9 12:54:18 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:54:18 ---> Running in 842d67ffcc65 12:54:18 Removing intermediate container 842d67ffcc65 12:54:18 ---> 104551fb11cc 12:54:18 Step 21/23 : LABEL arch=amd64 12:54:18 ---> Running in 42c8c7df0daa 12:54:19 Removing intermediate container 42c8c7df0daa 12:54:19 ---> 24a697c10ae7 12:54:19 Step 22/23 : LABEL git_sha=7dcc900f76059ffe1ed632fc8dff27e130593aae 12:54:19 ---> Running in 6907415a2910 12:54:19 Removing intermediate container 6907415a2910 12:54:19 ---> 38b39c3d6392 12:54:19 Step 23/23 : LABEL version=0.0.0 12:54:19 ---> Running in bef85a792823 12:54:19 Removing intermediate container bef85a792823 12:54:19 ---> a128fd3c0555 12:54:19 [Warning] One or more build-args [ARCH] were not consumed 12:54:19 Successfully built a128fd3c0555 12:54:19 Successfully tagged device-modbus:latest [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] sh 12:54:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:19 12:54:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:54:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:20 latest: Pulling from edgex-lftools-log-publisher 12:54:20 5eb5b503b376: Pulling fs layer 12:54:20 5c69ac0246d0: Pulling fs layer 12:54:20 ec43610c2a17: Pulling fs layer 12:54:20 3a2ae6a8a46f: Pulling fs layer 12:54:20 33b1e0a273af: Pulling fs layer 12:54:20 5d3b04190fa2: Pulling fs layer 12:54:20 2f39f015ded8: Pulling fs layer 12:54:20 3a2ae6a8a46f: Waiting 12:54:20 33b1e0a273af: Waiting 12:54:20 5d3b04190fa2: Waiting 12:54:20 2f39f015ded8: Waiting 12:54:20 5c69ac0246d0: Verifying Checksum 12:54:20 5c69ac0246d0: Download complete 12:54:20 3a2ae6a8a46f: Verifying Checksum 12:54:20 3a2ae6a8a46f: Download complete 12:54:20 33b1e0a273af: Verifying Checksum 12:54:20 33b1e0a273af: Download complete 12:54:20 ec43610c2a17: Verifying Checksum 12:54:20 ec43610c2a17: Download complete 12:54:20 5d3b04190fa2: Download complete 12:54:20 5eb5b503b376: Download complete 12:54:20 2f39f015ded8: Download complete 12:54:21 5eb5b503b376: Pull complete 12:54:21 5c69ac0246d0: Pull complete 12:54:21 ec43610c2a17: Pull complete 12:54:21 3a2ae6a8a46f: Pull complete 12:54:22 33b1e0a273af: Pull complete 12:54:22 5d3b04190fa2: Pull complete 12:54:26 2f39f015ded8: Pull complete 12:54:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:54:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:54:26 prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container 12:54:26 $ 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-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@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 12:54:28 $ docker top f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:29 ---> job-cost.sh 12:54:29 lf-activate-venv: SKIPPING 12:54:29 INFO: No Stack... 12:54:29 INFO: Retrieving Pricing Info for: v3-standard-8 12:54:30 INFO: Archiving Costs [Pipeline] sh 12:54:30 + cat /w/workspace/xfoundry_device-modbus-go_PR-329/archives/cost.csv 12:54:30 + cut -d, -f6 [Pipeline] lock 12:54:30 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] 12:54:30 Resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] did not exist. Created. 12:54:30 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:54:30 + echo total: 0.2199999988079071 [Pipeline] stash 12:54:30 Stashed 1 file(s) [Pipeline] } 12:54:30 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:54:30 $ docker stop --time=1 f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 12:54:32 $ docker rm -f f0bf4385a1792746a36f9972ec4d30c7275f6ff39043ca8a1d14c1723d0be589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:54:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20806 in /w/workspace/xfoundry_device-modbus-go_PR-329 [Pipeline] { [Pipeline] ws 12:54:39 Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout 12:54:40 Selected Git installation does not exist. Using Default 12:54:40 The recommended git tool is: NONE 12:54:47 using credential edgex-jenkins-ssh 12:54:47 Cloning the remote Git repository 12:54:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 12:54:47 > git init /w/workspace/device-modbus-go/3 # timeout=10 12:54:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:54:47 > git --version # timeout=10 12:54:47 > git --version # 'git version 2.25.1' 12:54:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:54:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 12:54:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 12:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/329/head:refs/remotes/origin/PR-329 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:54:49 Merging remotes/origin/main commit 244abab361647dcef607fbcbfbdaea3ae1f72309 into PR head commit fb31265618feb3b01981c84d7ce9ef615feeadd6 12:54:49 Merge succeeded, producing 35c2cbb153bea3d1c2c57383c7f9098b84294026 12:54:49 Checking out Revision 35c2cbb153bea3d1c2c57383c7f9098b84294026 (PR-329) 12:54:49 > git config core.sparsecheckout # timeout=10 12:54:49 > git checkout -f fb31265618feb3b01981c84d7ce9ef615feeadd6 # timeout=10 12:54:49 > git remote # timeout=10 12:54:49 > git config --get remote.origin.url # timeout=10 12:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:49 > git merge 244abab361647dcef607fbcbfbdaea3ae1f72309 # timeout=10 12:54:49 > git rev-parse HEAD^{commit} # timeout=10 12:54:49 > git config core.sparsecheckout # timeout=10 12:54:49 > git checkout -f 35c2cbb153bea3d1c2c57383c7f9098b84294026 # timeout=10 12:54:54 Commit message: "Merge commit '244abab361647dcef607fbcbfbdaea3ae1f72309' into HEAD" 12:54:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:54:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:54:54 Dload Upload Total Spent Left Speed 12:54:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47754 0 --:--:-- --:--:-- --:--:-- 47947 [Pipeline] sh 12:54:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:54:54 > git rev-list --no-walk ba8734ffe2f549d746873aea96786163de512101 # timeout=10 12:54:55 + sudo tee /etc/docker/daemon.new 12:54:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:54:55 { 12:54:55 "registry-mirrors": [ 12:54:55 "https://nexus3.edgexfoundry.org:10001" 12:54:55 ], 12:54:55 "bip": "10.250.0.254/24", 12:54:55 "hosts": [ 12:54:55 "tcp://0.0.0.0:5555", 12:54:55 "unix:///var/run/docker.sock" 12:54:55 ], 12:54:55 "mtu": 1458, 12:54:55 "selinux-enabled": true, 12:54:55 "seccomp-profile": "/etc/docker/seccomp.json" 12:54:55 } [Pipeline] sh 12:54:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:54:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:14 provisioning config files... 12:55:14 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5311241456667116372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:15 ---> docker-login.sh 12:55:15 nexus3.edgexfoundry.org:10001 12:55:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:16 Configure a credential helper to remove this warning. See 12:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:16 12:55:16 Login Succeeded 12:55:16 nexus3.edgexfoundry.org:10002 12:55:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:16 Configure a credential helper to remove this warning. See 12:55:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:16 12:55:16 Login Succeeded 12:55:16 nexus3.edgexfoundry.org:10003 12:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:17 Configure a credential helper to remove this warning. See 12:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:17 12:55:17 Login Succeeded 12:55:17 nexus3.edgexfoundry.org:10004 12:55:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:17 Configure a credential helper to remove this warning. See 12:55:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:17 12:55:17 Login Succeeded 12:55:17 docker.io 12:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:18 Configure a credential helper to remove this warning. See 12:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:18 12:55:18 Login Succeeded 12:55:18 ---> docker-login.sh ends [Pipeline] } 12:55:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:19 ========================================================= 12:55:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:55:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:55:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:55:19 Sending build context to Docker daemon 3.044MB 12:55:19 Step 1/10 : ARG BASE=golang:1.17-alpine3.15 12:55:19 Step 2/10 : FROM ${BASE} AS builder 12:55:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:19 9b3977197b4f: Pulling fs layer 12:55:19 1a89e8eeedd5: Pulling fs layer 12:55:19 94645a83ff95: Pulling fs layer 12:55:19 3f3a8bcf1eab: Pulling fs layer 12:55:19 0c92f367c5e7: Pulling fs layer 12:55:19 f7c0051592d6: Pulling fs layer 12:55:19 a227ed2f7395: Pulling fs layer 12:55:19 7b1c46037f91: Pulling fs layer 12:55:19 3f3a8bcf1eab: Waiting 12:55:19 0c92f367c5e7: Waiting 12:55:19 f7c0051592d6: Waiting 12:55:19 a227ed2f7395: Waiting 12:55:19 7b1c46037f91: Waiting 12:55:19 94645a83ff95: Verifying Checksum 12:55:19 94645a83ff95: Download complete 12:55:19 1a89e8eeedd5: Verifying Checksum 12:55:19 1a89e8eeedd5: Download complete 12:55:19 0c92f367c5e7: Verifying Checksum 12:55:19 0c92f367c5e7: Download complete 12:55:19 f7c0051592d6: Verifying Checksum 12:55:19 f7c0051592d6: Download complete 12:55:19 9b3977197b4f: Verifying Checksum 12:55:19 9b3977197b4f: Download complete 12:55:19 a227ed2f7395: Verifying Checksum 12:55:19 a227ed2f7395: Download complete 12:55:20 9b3977197b4f: Pull complete 12:55:21 1a89e8eeedd5: Pull complete 12:55:21 94645a83ff95: Pull complete 12:55:22 7b1c46037f91: Verifying Checksum 12:55:22 7b1c46037f91: Download complete 12:55:22 3f3a8bcf1eab: Verifying Checksum 12:55:22 3f3a8bcf1eab: Download complete 12:55:35 3f3a8bcf1eab: Pull complete 12:55:35 0c92f367c5e7: Pull complete 12:55:35 f7c0051592d6: Pull complete 12:55:35 a227ed2f7395: Pull complete 12:55:42 7b1c46037f91: Pull complete 12:55:42 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:55:42 ---> f79e39bc4007 12:55:42 Step 3/10 : ARG MAKE='make build' 12:55:43 ---> Running in ba3fb4233256 12:55:43 Removing intermediate container ba3fb4233256 12:55:43 ---> 2f585c932f24 12:55:43 Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:55:43 ---> Running in ed3c00c6f6d2 12:55:45 Removing intermediate container ed3c00c6f6d2 12:55:45 ---> b1f493d8feee 12:55:45 Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:55:45 ---> Running in 33f57a4a7fc2 12:55:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:55:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:55:47 (1/8) Installing openssh-keygen (8.8_p1-r1) 12:55:47 (2/8) Installing libedit (20210910.3.1-r0) 12:55:48 (3/8) Installing openssh-client-common (8.8_p1-r1) 12:55:48 (4/8) Installing openssh-client-default (8.8_p1-r1) 12:55:48 (5/8) Installing openssh-sftp-server (8.8_p1-r1) 12:55:48 (6/8) Installing openssh-server-common (8.8_p1-r1) 12:55:48 (7/8) Installing openssh-server (8.8_p1-r1) 12:55:48 (8/8) Installing openssh (8.8_p1-r1) 12:55:48 Executing busybox-1.34.1-r3.trigger 12:55:49 OK: 226 MiB in 60 packages 12:55:50 Removing intermediate container 33f57a4a7fc2 12:55:50 ---> df910675895c 12:55:50 Step 6/10 : WORKDIR /device-modbus-go 12:55:50 ---> Running in e7ac687116ac 12:55:52 Removing intermediate container e7ac687116ac 12:55:52 ---> 4733eb6d59ef 12:55:52 Step 7/10 : COPY go.mod vendor* ./ 12:55:53 ---> 2eb7b29b56bd 12:55:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:55:53 ---> Running in 16454f6e4559 12:56:40 Removing intermediate container 16454f6e4559 12:56:40 ---> c39d90750671 12:56:40 Step 9/10 : COPY . . 12:56:40 ---> e93930bb4b92 12:56:40 Step 10/10 : RUN ${MAKE} 12:56:40 ---> Running in ece116c8cb90 12:56:41 noop 12:56:42 Removing intermediate container ece116c8cb90 12:56:42 ---> 993d6e35c2fc 12:56:42 Successfully built 993d6e35c2fc 12:56:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:56:42 + docker inspect -f . ci-base-image-arm64 12:56:42 . [Pipeline] withDockerContainer 12:56:42 prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container 12:56:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-arm64 cat 12:56:44 $ docker top 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:45 + go version 12:56:45 go version go1.17.6 linux/arm64 [Pipeline] } 12:56:45 $ docker stop --time=1 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee 12:56:46 $ docker rm -f 3688cdf4b317d8a1714ac559014ba520b4a4d97775bedebad1fbd931e7e9d5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:56:47 + docker inspect -f . ci-base-image-arm64 12:56:47 . [Pipeline] withDockerContainer 12:56:47 prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container 12:56:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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-arm64 cat 12:56:49 $ docker top f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:56:50 + make test 12:56:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:56:52 ? github.com/edgexfoundry/device-modbus-go [no test files] 12:58:13 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 12:58:13 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.058s coverage: 46.4% of statements 12:58:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:58:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:58:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:58:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:58:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:58:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:58:40 $ docker stop --time=1 f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 12:58:42 $ docker rm -f f834e339150a79f23a6109b2904e188aa764931d1d7f81c82b4b7b98c2c3fc12 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:43 Warning: overwriting stash ‘coverage-report’ 12:58:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:44 + ls -al . 12:58:44 total 196 12:58:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 12:58 . 12:58:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:54 .. 12:58:44 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 12:54 .dockerignore 12:58:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 12:54 .git 12:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 .github 12:58:44 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 12:54 .gitignore 12:58:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 12:54 .golangci.yml 12:58:44 -rw-rw-r-- 1 jenkins jenkins 9244 Apr 13 12:54 Attribution.txt 12:58:44 -rw-rw-r-- 1 jenkins jenkins 6038 Apr 13 12:54 CHANGELOG.md 12:58:44 -rw-rw-r-- 1 jenkins jenkins 1546 Apr 13 12:54 Dockerfile 12:58:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 12:54 GOVERNANCE.md 12:58:44 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 12:54 Jenkinsfile 12:58:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 12:54 LICENSE 12:58:44 -rw-rw-r-- 1 jenkins jenkins 1905 Apr 13 12:54 Makefile 12:58:44 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 12:54 OWNERS.md 12:58:44 -rw-rw-r-- 1 jenkins jenkins 3680 Apr 13 12:54 README.md 12:58:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 12:52 VERSION 12:58:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:54 bin 12:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 cmd 12:58:44 -rw-r--r-- 1 jenkins jenkins 24065 Apr 13 12:58 coverage.out 12:58:44 -rw-rw-r-- 1 jenkins jenkins 3306 Apr 13 12:54 go.mod 12:58:44 -rw-rw-r-- 1 jenkins jenkins 54457 Apr 13 12:54 go.sum 12:58:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 12:54 internal 12:58:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 12:54 simulator 12:58:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 12:54 snap 12:58:44 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 12:54 version.go [Pipeline] isUnix [Pipeline] sh 12:58:45 + 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=35c2cbb153bea3d1c2c57383c7f9098b84294026 --label arch=arm64 --label version=0.0.0 . 12:58:45 Sending build context to Docker daemon 3.069MB 12:58:45 Step 1/23 : ARG BASE=golang:1.17-alpine3.15 12:58:45 Step 2/23 : FROM ${BASE} AS builder 12:58:45 ---> 993d6e35c2fc 12:58:45 Step 3/23 : ARG MAKE='make build' 12:58:45 ---> Running in 795ad7049ea2 12:58:45 Removing intermediate container 795ad7049ea2 12:58:45 ---> 1db7a7c35b8c 12:58:45 Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:58:45 ---> Running in 688d0cc32e65 12:58:47 Removing intermediate container 688d0cc32e65 12:58:47 ---> fa1ad956c3f3 12:58:47 Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 12:58:47 ---> Running in f5617082c692 12:58:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:58:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:58:50 OK: 226 MiB in 60 packages 12:58:51 Removing intermediate container f5617082c692 12:58:51 ---> dc7b956a11ef 12:58:51 Step 6/23 : WORKDIR /device-modbus-go 12:58:51 ---> Running in 123df13ec56d 12:58:51 Removing intermediate container 123df13ec56d 12:58:51 ---> b9e9877d90aa 12:58:51 Step 7/23 : COPY go.mod vendor* ./ 12:58:51 ---> ee8c16edb0d5 12:58:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:51 ---> Running in 677607b59415 12:58:53 Removing intermediate container 677607b59415 12:58:53 ---> ac9f459477a3 12:58:53 Step 9/23 : COPY . . 12:58:54 ---> a19ce265841b 12:58:54 Step 10/23 : RUN ${MAKE} 12:58:54 ---> Running in 8ab10ecf5a8e 12:58:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 13:01:02 Removing intermediate container 8ab10ecf5a8e 13:01:02 ---> 7cb65af58a88 13:01:02 Step 11/23 : FROM alpine:3.14 13:01:02 3.14: Pulling from library/alpine 13:01:02 455c02918c45: Pulling fs layer 13:01:02 455c02918c45: Verifying Checksum 13:01:02 455c02918c45: Download complete 13:01:02 455c02918c45: Pull complete 13:01:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:01:02 Status: Downloaded newer image for alpine:3.14 13:01:02 ---> ac73e934f311 13:01:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 13:01:02 ---> Running in 96d9966d2bd7 13:01:02 Removing intermediate container 96d9966d2bd7 13:01:02 ---> 78284d66d392 13:01:02 Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:01:02 ---> Running in 632836d34bc0 13:01:02 Removing intermediate container 632836d34bc0 13:01:02 ---> ef7aa6a5b4c3 13:01:02 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 13:01:02 ---> Running in fd091ab5d569 13:01:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:01:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:01:03 (1/6) Installing dumb-init (1.2.5-r1) 13:01:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:01:03 (3/6) Installing libsodium (1.0.18-r0) 13:01:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:01:03 (5/6) Installing libzmq (4.3.4-r0) 13:01:03 (6/6) Installing zeromq (4.3.4-r0) 13:01:04 Executing busybox-1.33.1-r7.trigger 13:01:04 OK: 8 MiB in 20 packages 13:01:05 Removing intermediate container fd091ab5d569 13:01:05 ---> c8cc7778c3c7 13:01:05 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 13:01:06 ---> ec0ed318ec11 13:01:06 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 13:01:07 ---> c35f727a96bf 13:01:07 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 13:01:07 ---> 5e78a621355b 13:01:07 Step 18/23 : EXPOSE 59901 13:01:07 ---> Running in f506a39a4a02 13:01:08 Removing intermediate container f506a39a4a02 13:01:08 ---> 3218bdd9a348 13:01:08 Step 19/23 : ENTRYPOINT ["/device-modbus"] 13:01:08 ---> Running in 5b2b4a549ca7 13:01:08 Removing intermediate container 5b2b4a549ca7 13:01:08 ---> 6b41d2b0d60f 13:01:08 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:01:08 ---> Running in 9434e9893315 13:01:08 Removing intermediate container 9434e9893315 13:01:08 ---> d01ddfb48203 13:01:08 Step 21/23 : LABEL arch=arm64 13:01:08 ---> Running in 2c19f8146cdf 13:01:09 Removing intermediate container 2c19f8146cdf 13:01:09 ---> 76dbabbcda79 13:01:09 Step 22/23 : LABEL git_sha=35c2cbb153bea3d1c2c57383c7f9098b84294026 13:01:09 ---> Running in 163542a585de 13:01:09 Removing intermediate container 163542a585de 13:01:09 ---> 881da368d708 13:01:09 Step 23/23 : LABEL version=0.0.0 13:01:09 ---> Running in 8eb3ffb87260 13:01:10 Removing intermediate container 8eb3ffb87260 13:01:10 ---> 4f242700c9b9 13:01:10 [Warning] One or more build-args [ARCH] were not consumed 13:01:10 Successfully built 4f242700c9b9 13:01:10 Successfully tagged device-modbus-arm64:latest [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] sh 13:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:10 13:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:01:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:11 arm64: Pulling from edgex-lftools-log-publisher 13:01:11 8998bd30e6a1: Pulling fs layer 13:01:11 04944245beec: Pulling fs layer 13:01:11 699f458cf7ca: Pulling fs layer 13:01:11 765212b225bb: Pulling fs layer 13:01:11 f23df028b6ca: Pulling fs layer 13:01:11 d65c8cfc05b1: Pulling fs layer 13:01:11 2437ff75d9bd: Pulling fs layer 13:01:11 765212b225bb: Waiting 13:01:11 f23df028b6ca: Waiting 13:01:11 d65c8cfc05b1: Waiting 13:01:11 2437ff75d9bd: Waiting 13:01:11 04944245beec: Verifying Checksum 13:01:11 04944245beec: Download complete 13:01:11 765212b225bb: Verifying Checksum 13:01:11 765212b225bb: Download complete 13:01:11 f23df028b6ca: Verifying Checksum 13:01:11 f23df028b6ca: Download complete 13:01:11 d65c8cfc05b1: Verifying Checksum 13:01:11 d65c8cfc05b1: Download complete 13:01:11 699f458cf7ca: Verifying Checksum 13:01:11 699f458cf7ca: Download complete 13:01:11 8998bd30e6a1: Verifying Checksum 13:01:11 8998bd30e6a1: Download complete 13:01:14 2437ff75d9bd: Verifying Checksum 13:01:14 2437ff75d9bd: Download complete 13:01:16 8998bd30e6a1: Pull complete 13:01:16 04944245beec: Pull complete 13:01:18 699f458cf7ca: Pull complete 13:01:18 765212b225bb: Pull complete 13:01:19 f23df028b6ca: Pull complete 13:01:19 d65c8cfc05b1: Pull complete 13:01:34 2437ff75d9bd: Pull complete 13:01:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:01:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:01:34 prd-ubuntu20.04-docker-arm64-4c-16g-20806 does not seem to be running inside a container 13:01:34 $ 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/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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:arm64 cat 13:01:37 $ docker top 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:38 ---> job-cost.sh 13:01:38 lf-activate-venv: SKIPPING 13:01:38 INFO: No Stack... 13:01:39 INFO: Retrieving Pricing Info for: v3-standard-4 13:01:40 INFO: Archiving Costs [Pipeline] sh 13:01:40 + cat /w/workspace/device-modbus-go/3/archives/cost.csv 13:01:40 + cut -d, -f6 [Pipeline] lock 13:01:40 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] 13:01:40 Resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] did not exist. Created. 13:01:40 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:41 /w/workspace/device-modbus-go/3@tmp/durable-87c93e69/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:01:42 + echo total: 0.10999999940395355 [Pipeline] stash 13:01:42 Warning: overwriting stash ‘stack-cost’ 13:01:42 Stashed 1 file(s) [Pipeline] } 13:01:42 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-329-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:42 $ docker stop --time=1 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 13:01:43 $ docker rm -f 67c16f176ec1551f93bb7cd52323e6dcbb098218a28be10d84c543add8e6c080 [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 13:01:44 provisioning config files... 13:01:44 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config5137523201057913754tmp [Pipeline] { [Pipeline] sh 13:01:44 + set +x 13:01:44 + curl -s https://codecov.io/bash 13:01:44 + bash -s -- 13:01:44 13:01:44 _____ _ 13:01:44 / ____| | | 13:01:44 | | ___ __| | ___ ___ _____ __ 13:01:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:01:44 | |___| (_) | (_| | __/ (_| (_) \ V / 13:01:44 \_____\___/ \__,_|\___|\___\___/ \_/ 13:01:44 Bash-1.0.6 13:01:44 13:01:44 13:01:44 ==> git version 2.25.1 found 13:01:44 ==> 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 13:01:44 Release-Date: 2020-01-08 13:01:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:01:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:01:44 ==> Jenkins CI detected. 13:01:44 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-329 13:01:44 project root: . 13:01:44 --> token set from env 13:01:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:01:44 ==> Running gcov in . (disable via -X gcov) 13:01:44 ==> Python coveragepy not found 13:01:44 ==> Searching for coverage reports in: 13:01:44 + . 13:01:44 -> Found 1 reports 13:01:44 ==> Detecting git/mercurial file structure 13:01:44 ==> Reading reports 13:01:44 + ./coverage.out bytes=24065 13:01:44 ==> Appending adjustments 13:01:44 https://docs.codecov.io/docs/fixing-reports 13:01:44 + Found adjustments 13:01:44 ==> Gzipping contents 13:01:44 4.0K /tmp/codecov.mrbSMI.gz 13:01:44 ==> Uploading reports 13:01:44 url: https://codecov.io 13:01:44 query: branch=PR-329&commit=7dcc900f76059ffe1ed632fc8dff27e130593aae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-329%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=329&job=&cmd_args= 13:01:44 -> Pinging Codecov 13:01:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-329&commit=7dcc900f76059ffe1ed632fc8dff27e130593aae&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-329%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=329&job=&cmd_args= 13:01:45 -> Uploading to 13:01:45 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/55DBCA73C666E3227836607328DD7E49/7dcc900f76059ffe1ed632fc8dff27e130593aae/fc95341f-eb64-4274-b97e-fc8c9e22b8c5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T130144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08728212c114228aeccdf0f6106943d6d60e4f9f0e087c91c79950cfbbb4f075 13:01:45 % Total % Received % Xferd Average Speed Time Time Time Current 13:01:45 Dload Upload Total Spent Left Speed 13:01:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3997 0 0 100 3997 0 18004 --:--:-- --:--:-- --:--:-- 18004 13:01:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/7dcc900f76059ffe1ed632fc8dff27e130593aae [Pipeline] } 13:01:45 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 13:01:46 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-329/archives ] 13:01:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-329/archives 13:01:46 total 16 13:01:46 drwxr-xr-x 3 root root 4096 Apr 13 12:54 . 13:01:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:54 .. 13:01:46 drwxr-xr-x 2 root root 4096 Apr 13 12:54 cost 13:01:46 -rw-r--r-- 1 root root 87 Apr 13 12:54 cost.csv 13:01:46 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-329/archives 13:01:46 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-329/archives 13:01:46 total 16 13:01:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 12:54 . 13:01:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 12:54 .. 13:01:46 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 12:54 cost 13:01:46 -rw-r--r-- 1 jenkins jenkins 87 Apr 13 12:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:01:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:01:47 ---> package-listing.sh 13:01:47 ++ facter osfamily 13:01:47 ++ tr '[:upper:]' '[:lower:]' 13:01:47 + OS_FAMILY=debian 13:01:47 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-329 13:01:47 + START_PACKAGES=/tmp/packages_start.txt 13:01:47 + END_PACKAGES=/tmp/packages_end.txt 13:01:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:01:47 + PACKAGES=/tmp/packages_start.txt 13:01:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-329 ']' 13:01:47 + PACKAGES=/tmp/packages_end.txt 13:01:47 + case "${OS_FAMILY}" in 13:01:47 + dpkg -l 13:01:47 + grep '^ii' 13:01:47 + '[' -f /tmp/packages_start.txt ']' 13:01:47 + '[' -f /tmp/packages_end.txt ']' 13:01:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:01:47 + '[' /w/workspace/xfoundry_device-modbus-go_PR-329 ']' 13:01:47 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-329/archives/ 13:01:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-329/archives/ [Pipeline] echo 13:01:47 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-329/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:01:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:01:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:48 . [Pipeline] withDockerContainer 13:01:48 prd-ubuntu20.04-docker-8c-8g-20804 does not seem to be running inside a container 13:01:48 $ 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-329/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-329 -v /w/workspace/xfoundry_device-modbus-go_PR-329:/w/workspace/xfoundry_device-modbus-go_PR-329:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-329@tmp:/w/workspace/xfoundry_device-modbus-go_PR-329@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:01:48 $ docker top c13d20cd693c4591ca75f176b8555958390f91a7a8d0da90a9fde77bf34ad86d -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:48 + touch /tmp/pre-build-complete [Pipeline] sh 13:01:49 + mkdir -p /var/log/sysstat [Pipeline] sh 13:01:49 + ls /var/log/sa-host 13:01:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:49 provisioning config files... 13:01:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-329@tmp/config1726778462548929365tmp [Pipeline] { [Pipeline] echo 13:01:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:01:49 ---> create-netrc.sh [Pipeline] } 13:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:01:50 ---> python-tools-install.sh [Pipeline] echo 13:01:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:01:50 ---> sudo-logs.sh 13:01:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:01:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:01:50 ---> job-cost.sh 13:01:50 lf-activate-venv: SKIPPING 13:01:50 DEBUG: total: 0.2199999988079071 13:01:50 INFO: Retrieving Stack Cost... 13:01:51 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:52 INFO: Archiving Costs [Pipeline] echo 13:01:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:01:52 ---> logs-deploy.sh 13:01:52 lf-activate-venv: SKIPPING 13:01:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-329/3 13:01:52 INFO: archiving workspace using pattern(s): 13:01:53 Archives upload complete. 13:01:53 INFO: archiving logs to Nexus