Pull request #521 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57+83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 (7b79fbe531d25f953d3822fc83e183302663912a) 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-ssh11219332209657322290.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh18121350608890619090.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2503666489318992888.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh24451099551053925.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14719269672200444981.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13674648115601149359.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16823’ Running on prd-ubuntu20.04-docker-8c-8g-16825 in /w/workspace/xfoundry_device-modbus-go_PR-521 [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-521 # 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 > 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/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 Merge succeeded, producing 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 Checking out Revision 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 (PR-521) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:10:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:10:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:10:31 ========================================================= 05:10:31 EdgeX Global Pipelines Version Info 05:10:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 # 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 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 # timeout=10 05:10:32 ------------------- 05:10:32 stable info: 05:10:32 ------------------- 05:10:32 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 05:10:32 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:10:32 Message: update stable to v1.0.257 05:10:32 ------------------- 05:10:32 experimental info: 05:10:32 ------------------- 05:10:32 Commited By: **** collab-it+edgex@linuxfoundation.org 05:10:32 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:10:32 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:10:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 226b90c [Pipeline] echo 05:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:10:34 provisioning config files... 05:10:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/config9165858852674046039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:34 ---> docker-login.sh 05:10:34 nexus3.edgexfoundry.org:10001 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:35 Configure a credential helper to remove this warning. See 05:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:35 05:10:35 Login Succeeded 05:10:35 nexus3.edgexfoundry.org:10002 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:35 Configure a credential helper to remove this warning. See 05:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:35 05:10:35 Login Succeeded 05:10:35 nexus3.edgexfoundry.org:10003 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:35 Configure a credential helper to remove this warning. See 05:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:35 05:10:35 Login Succeeded 05:10:35 nexus3.edgexfoundry.org:10004 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:35 Configure a credential helper to remove this warning. See 05:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:35 05:10:35 Login Succeeded 05:10:35 docker.io 05:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:36 Configure a credential helper to remove this warning. See 05:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:36 05:10:36 Login Succeeded 05:10:36 ---> docker-login.sh ends [Pipeline] } 05:10:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:10:36 + git rev-list -1 --merges 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57~1..226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [Pipeline] echo 05:10:36 -----------> git rev-list -1 --merges 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57~1..226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [false] [Pipeline] sh 05:10:37 + git log --format=format:%s -1 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [Pipeline] echo 05:10:37 ========================================================= 05:10:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:10:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:37 + git log --format=format:%s -1 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [Pipeline] echo 05:10:37 [semverPrep] GIT_COMMIT: 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:10:37 [semverPrep] This is not a build commit. [Pipeline] sh 05:10:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:10:37 + grep -v github /etc/ssh/ssh_known_hosts 05:10:37 + [ -e /tmp/ssh_known_hosts ] 05:10:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:10:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:10:37 + sudo tee -a /etc/ssh/ssh_known_hosts 05:10:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:38 05:10:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:38 0.1.4: Pulling from edgex-devops/py-git-semver 05:10:38 b85a868b505f: Pulling fs layer 05:10:38 e2be974225ed: Pulling fs layer 05:10:38 339a4e72a1f5: Pulling fs layer 05:10:38 988bab9f4d93: Pulling fs layer 05:10:38 1469e6f7b9e6: Pulling fs layer 05:10:38 eaf3925da568: Pulling fs layer 05:10:38 bab4dde63d76: Pulling fs layer 05:10:38 bde34c3a00c8: Pulling fs layer 05:10:38 b352a97aabf1: Pulling fs layer 05:10:38 4872d77fe225: Pulling fs layer 05:10:38 5851b861e8e6: Pulling fs layer 05:10:38 988bab9f4d93: Waiting 05:10:38 1469e6f7b9e6: Waiting 05:10:38 eaf3925da568: Waiting 05:10:38 5851b861e8e6: Waiting 05:10:38 b352a97aabf1: Waiting 05:10:38 bab4dde63d76: Waiting 05:10:38 4872d77fe225: Waiting 05:10:38 e2be974225ed: Verifying Checksum 05:10:38 e2be974225ed: Download complete 05:10:38 988bab9f4d93: Verifying Checksum 05:10:38 988bab9f4d93: Download complete 05:10:39 1469e6f7b9e6: Verifying Checksum 05:10:39 1469e6f7b9e6: Download complete 05:10:39 339a4e72a1f5: Verifying Checksum 05:10:39 339a4e72a1f5: Download complete 05:10:39 eaf3925da568: Download complete 05:10:39 bde34c3a00c8: Download complete 05:10:39 b352a97aabf1: Verifying Checksum 05:10:39 b352a97aabf1: Download complete 05:10:39 4872d77fe225: Download complete 05:10:39 5851b861e8e6: Verifying Checksum 05:10:39 5851b861e8e6: Download complete 05:10:39 b85a868b505f: Verifying Checksum 05:10:39 b85a868b505f: Download complete 05:10:39 bab4dde63d76: Verifying Checksum 05:10:39 bab4dde63d76: Download complete 05:10:40 b85a868b505f: Pull complete 05:10:40 e2be974225ed: Pull complete 05:10:41 339a4e72a1f5: Pull complete 05:10:41 988bab9f4d93: Pull complete 05:10:41 1469e6f7b9e6: Pull complete 05:10:41 eaf3925da568: Pull complete 05:10:43 bab4dde63d76: Pull complete 05:10:43 bde34c3a00c8: Pull complete 05:10:43 b352a97aabf1: Pull complete 05:10:43 4872d77fe225: Pull complete 05:10:43 5851b861e8e6: Pull complete 05:10:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:10:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:44 prd-ubuntu20.04-docker-8c-8g-16825 does not seem to be running inside a container 05:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-521 -v /w/workspace/xfoundry_device-modbus-go_PR-521:/w/workspace/xfoundry_device-modbus-go_PR-521:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-521@tmp:/w/workspace/xfoundry_device-modbus-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:10:47 $ docker top c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b -eo pid,comm 05:10:47 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). 05:10:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:47 [ssh-agent] Looking for ssh-agent implementation... 05:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:47 $ docker exec c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b ssh-agent 05:10:47 SSH_AUTH_SOCK=/tmp/ssh-bwqAjsP2OO2e/agent.32 05:10:47 SSH_AGENT_PID=38 05:10:47 Running ssh-add (command line suppressed) 05:10:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-521@tmp/private_key_17393536177655995181.key (/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/private_key_17393536177655995181.key) 05:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:48 + git tag --points-at HEAD [Pipeline] } 05:10:48 $ docker exec --env ******** --env ******** c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b ssh-agent -k 05:10:48 unset SSH_AUTH_SOCK; 05:10:48 unset SSH_AGENT_PID; 05:10:48 echo Agent pid 38 killed; 05:10:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:10:48 [ssh-agent] Looking for ssh-agent implementation... 05:10:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:10:48 $ docker exec c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b ssh-agent 05:10:48 SSH_AUTH_SOCK=/tmp/ssh-h1AUk2Ipz6tT/agent.70 05:10:48 SSH_AGENT_PID=76 05:10:48 Running ssh-add (command line suppressed) 05:10:48 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-521@tmp/private_key_16431162254711324011.key (/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/private_key_16431162254711324011.key) 05:10:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:10:49 + git semver init 05:10:49 2023-11-07 05:10:49,338 [run_init] DEBUG init version:0.0.0 force:False 05:10:49 2023-11-07 05:10:49,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-521/.semver 05:10:49 2023-11-07 05:10:49,339 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-521/.semver 05:10:49 2023-11-07 05:10:49,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-521/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-521, universal_newlines=False, shell=None, istream=None) 05:10:50 2023-11-07 05:10:50,176 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-521/.git/info/exclude 05:10:50 2023-11-07 05:10:50,177 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-521/.semver/PR-521 with force:False 05:10:50 2023-11-07 05:10:50,177 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-521/.semver/PR-521 05:10:50 2023-11-07 05:10:50,182 [execute] INFO git cat-file --batch-check 05:10:50 2023-11-07 05:10:50,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) 05:10:50 2023-11-07 05:10:50,188 [execute] INFO git cat-file --batch 05:10:50 2023-11-07 05:10:50,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) 05:10:50 2023-11-07 05:10:50,194 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-521/.semver/PR-521 05:10:50 0.0.0 [Pipeline] } 05:10:50 $ docker exec --env ******** --env ******** c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b ssh-agent -k 05:10:50 unset SSH_AUTH_SOCK; 05:10:50 unset SSH_AGENT_PID; 05:10:50 echo Agent pid 76 killed; 05:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:10:50 + git semver [Pipeline] } 05:10:51 $ docker stop --time=1 c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b 05:10:52 $ docker rm -f --volumes c294a55caa00f4e61c909ec59cabd41717397d0781c677bba032f2aacd45b16b [Pipeline] // withDockerContainer [Pipeline] sh 05:10:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:10:53 Stashed 1 file(s) [Pipeline] echo 05:10:53 [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 05:10:53 provisioning config files... 05:10:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/config1601529092666518247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:10:54 ---> docker-login.sh 05:10:54 nexus3.edgexfoundry.org:10001 05:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:54 Configure a credential helper to remove this warning. See 05:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:54 05:10:54 Login Succeeded 05:10:54 nexus3.edgexfoundry.org:10002 05:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:54 Configure a credential helper to remove this warning. See 05:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:54 05:10:54 Login Succeeded 05:10:54 nexus3.edgexfoundry.org:10003 05:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:54 Configure a credential helper to remove this warning. See 05:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:54 05:10:54 Login Succeeded 05:10:54 nexus3.edgexfoundry.org:10004 05:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:54 Configure a credential helper to remove this warning. See 05:10:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:54 05:10:54 Login Succeeded 05:10:54 docker.io 05:10:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:10:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:10:55 Configure a credential helper to remove this warning. See 05:10:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:10:55 05:10:55 Login Succeeded 05:10:55 ---> docker-login.sh ends [Pipeline] } 05:10:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:10:55 ========================================================= 05:10:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:10:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:10:55 Sending build context to Docker daemon 6.587MB 05:10:55 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:10:55 Step 2/10 : FROM ${BASE} AS builder 05:10:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:10:55 7264a8db6415: Pulling fs layer 05:10:55 c4d48a809fc2: Pulling fs layer 05:10:55 4f1c88b9dad5: Pulling fs layer 05:10:55 ad3a456e5733: Pulling fs layer 05:10:55 33e27b845d1e: Pulling fs layer 05:10:55 c68163c4e522: Pulling fs layer 05:10:55 50da416c3ac9: Pulling fs layer 05:10:55 23d2d4c4bb30: Pulling fs layer 05:10:55 50da416c3ac9: Waiting 05:10:55 23d2d4c4bb30: Waiting 05:10:55 ad3a456e5733: Waiting 05:10:55 c68163c4e522: Waiting 05:10:55 33e27b845d1e: Waiting 05:10:55 c4d48a809fc2: Verifying Checksum 05:10:55 c4d48a809fc2: Download complete 05:10:55 ad3a456e5733: Download complete 05:10:56 33e27b845d1e: Verifying Checksum 05:10:56 33e27b845d1e: Download complete 05:10:56 7264a8db6415: Verifying Checksum 05:10:56 7264a8db6415: Download complete 05:10:56 c68163c4e522: Download complete 05:10:56 7264a8db6415: Pull complete 05:10:56 c4d48a809fc2: Pull complete 05:10:56 23d2d4c4bb30: Verifying Checksum 05:10:56 23d2d4c4bb30: Download complete 05:10:56 4f1c88b9dad5: Verifying Checksum 05:10:56 4f1c88b9dad5: Download complete 05:10:56 50da416c3ac9: Verifying Checksum 05:10:56 50da416c3ac9: Download complete 05:11:00 4f1c88b9dad5: Pull complete 05:11:00 ad3a456e5733: Pull complete 05:11:00 33e27b845d1e: Pull complete 05:11:00 c68163c4e522: Pull complete 05:11:02 50da416c3ac9: Pull complete 05:11:02 23d2d4c4bb30: Pull complete 05:11:02 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 05:11:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:11:02 ---> 0786185ac409 05:11:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:11:08 Still waiting to schedule task 05:11:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16824’ 05:11:10 ---> Running in 45fc9b95798d 05:11:10 Removing intermediate container 45fc9b95798d 05:11:10 ---> 8763461b5bb1 05:11:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:11:10 ---> Running in fb092d69f849 05:11:11 Removing intermediate container fb092d69f849 05:11:11 ---> 8bd406e0f396 05:11:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:11:11 ---> Running in cb2a4219942e 05:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:11:12 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:11:12 (2/8) Installing libedit (20221030.3.1-r1) 05:11:12 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:11:12 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:11:12 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:11:12 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:11:12 (7/8) Installing openssh-server (9.3_p2-r0) 05:11:12 (8/8) Installing openssh (9.3_p2-r0) 05:11:12 Executing busybox-1.36.1-r2.trigger 05:11:12 OK: 270 MiB in 60 packages 05:11:14 Removing intermediate container cb2a4219942e 05:11:14 ---> cef9abe7b84e 05:11:14 Step 6/10 : WORKDIR /device-modbus-go 05:11:14 ---> Running in f413c21456e3 05:11:14 Removing intermediate container f413c21456e3 05:11:14 ---> daa39ddf07a7 05:11:14 Step 7/10 : COPY go.mod vendor* ./ 05:11:14 ---> ae265d61711b 05:11:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:14 ---> Running in 16eadc7d6a7e 05:11:53 Removing intermediate container 16eadc7d6a7e 05:11:53 ---> 46e6ab977270 05:11:53 Step 9/10 : COPY . . 05:11:53 ---> ee9badf0e16a 05:11:53 Step 10/10 : RUN ${MAKE} 05:11:53 ---> Running in e9be945d1c0b 05:11:53 noop 05:11:53 Removing intermediate container e9be945d1c0b 05:11:53 ---> e7fe09784223 05:11:53 Successfully built e7fe09784223 05:11:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:53 + docker inspect -f . ci-base-image-x86_64 05:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:53 prd-ubuntu20.04-docker-8c-8g-16825 does not seem to be running inside a container 05:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-521 -v /w/workspace/xfoundry_device-modbus-go_PR-521:/w/workspace/xfoundry_device-modbus-go_PR-521:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-521@tmp:/w/workspace/xfoundry_device-modbus-go_PR-521@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 ******** ci-base-image-x86_64 cat 05:11:54 $ docker top 7978833709a8891a3defdd8dcf61b8bfdac12e16cdeb17359ba2f8f91d6091d2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:54 + go version 05:11:54 go version go1.21.0 linux/amd64 [Pipeline] } 05:11:54 $ docker stop --time=1 7978833709a8891a3defdd8dcf61b8bfdac12e16cdeb17359ba2f8f91d6091d2 05:11:55 $ docker rm -f --volumes 7978833709a8891a3defdd8dcf61b8bfdac12e16cdeb17359ba2f8f91d6091d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:56 + docker inspect -f . ci-base-image-x86_64 05:11:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:56 prd-ubuntu20.04-docker-8c-8g-16825 does not seem to be running inside a container 05:11:56 $ 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-521 -v /w/workspace/xfoundry_device-modbus-go_PR-521:/w/workspace/xfoundry_device-modbus-go_PR-521:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-521@tmp:/w/workspace/xfoundry_device-modbus-go_PR-521@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 ******** ci-base-image-x86_64 cat 05:11:57 $ docker top 09469e7fc0ad187921fe9a22207155a0a11ae9c87e8831d6c997540eca2d4f87 -eo pid,comm [Pipeline] { [Pipeline] sh 05:11:57 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-521 [Pipeline] fileExists [Pipeline] sh 05:11:57 + make test 05:11:57 go test ./... -coverprofile=coverage.out 05:11:59 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:12:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:12:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.017s coverage: 47.9% of statements 05:12:18 go vet ./... 05:12:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:12:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:12:21 ./bin/test-attribution-txt.sh [Pipeline] echo 05:12:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:12:21 $ docker stop --time=1 09469e7fc0ad187921fe9a22207155a0a11ae9c87e8831d6c997540eca2d4f87 05:12:24 $ docker rm -f --volumes 09469e7fc0ad187921fe9a22207155a0a11ae9c87e8831d6c997540eca2d4f87 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:12:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:12:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:12:26 + ls -al . 05:12:26 total 188 05:12:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 05:11 . 05:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:10 .. 05:12:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:10 .dockerignore 05:12:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:12 .git 05:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 .github 05:12:26 -rw-rw-r-- 1 jenkins jenkins 266 Nov 7 05:10 .gitignore 05:12:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:10 .golangci.yml 05:12:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:10 .semver 05:12:26 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 7 05:10 Attribution.txt 05:12:26 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 7 05:10 CHANGELOG.md 05:12:26 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 7 05:10 Dockerfile 05:12:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:10 GOVERNANCE.md 05:12:26 -rw-rw-r-- 1 jenkins jenkins 658 Nov 7 05:10 Jenkinsfile 05:12:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:10 LICENSE 05:12:26 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 7 05:10 Makefile 05:12:26 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:10 OWNERS.md 05:12:26 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 7 05:10 README.md 05:12:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:10 VERSION 05:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:10 bin 05:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 cmd 05:12:26 -rw-r--r-- 1 jenkins jenkins 24334 Nov 7 05:12 coverage.out 05:12:26 -rw-rw-r-- 1 jenkins jenkins 3902 Nov 7 05:10 go.mod 05:12:26 -rw-rw-r-- 1 jenkins jenkins 35356 Nov 7 05:10 go.sum 05:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:10 internal 05:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:10 simulator 05:12:26 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:26 + 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=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 --label arch=amd64 --label version=0.0.0 . 05:12:26 Sending build context to Docker daemon 6.612MB 05:12:26 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:12:26 Step 2/22 : FROM ${BASE} AS builder 05:12:26 ---> e7fe09784223 05:12:26 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:12:26 ---> Running in 35fb67bfce43 05:12:26 Removing intermediate container 35fb67bfce43 05:12:26 ---> 3025d52d7dd0 05:12:26 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:12:26 ---> Running in 97308c83ccf0 05:12:26 Removing intermediate container 97308c83ccf0 05:12:26 ---> 367794f95919 05:12:26 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:12:26 ---> Running in 54a612734ead 05:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:27 OK: 270 MiB in 60 packages 05:12:27 Removing intermediate container 54a612734ead 05:12:27 ---> 5799ee405023 05:12:27 Step 6/22 : WORKDIR /device-modbus-go 05:12:28 ---> Running in b0551b0398e1 05:12:28 Removing intermediate container b0551b0398e1 05:12:28 ---> 25dc53ef7951 05:12:28 Step 7/22 : COPY go.mod vendor* ./ 05:12:28 ---> f8026143c4cf 05:12:28 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:28 ---> Running in ef7c3d622da4 05:12:29 Removing intermediate container ef7c3d622da4 05:12:29 ---> 708f2673ccf2 05:12:29 Step 9/22 : COPY . . 05:12:29 ---> 5712fecb403c 05:12:29 Step 10/22 : RUN ${MAKE} 05:12:29 ---> Running in f45d92438587 05:12:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:12:51 Removing intermediate container f45d92438587 05:12:51 ---> b08a94404a1f 05:12:51 Step 11/22 : FROM alpine:3.18 05:12:51 3.18: Pulling from library/alpine 05:12:51 96526aa774ef: Pulling fs layer 05:12:51 96526aa774ef: Verifying Checksum 05:12:51 96526aa774ef: Download complete 05:12:51 96526aa774ef: Pull complete 05:12:51 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:12:51 Status: Downloaded newer image for alpine:3.18 05:12:51 ---> 8ca4688f4f35 05:12:51 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:12:51 ---> Running in 13941afd3e56 05:12:51 Removing intermediate container 13941afd3e56 05:12:51 ---> 7c412d839a26 05:12:51 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:12:51 ---> Running in 34b0dd5a34fe 05:12:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:51 (1/1) Installing dumb-init (1.2.5-r2) 05:12:51 Executing busybox-1.36.1-r2.trigger 05:12:51 OK: 7 MiB in 16 packages 05:12:51 Removing intermediate container 34b0dd5a34fe 05:12:51 ---> d4500ab03b7f 05:12:51 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:12:52 ---> abdf94571e18 05:12:52 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:12:52 ---> 3c2b7791d58d 05:12:52 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:12:52 ---> a11dbef4d7bd 05:12:52 Step 17/22 : EXPOSE 59901 05:12:52 ---> Running in 8fa4201a6921 05:12:52 Removing intermediate container 8fa4201a6921 05:12:52 ---> 808eb30242b4 05:12:52 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:12:52 ---> Running in 974a0a344cfd 05:12:52 Removing intermediate container 974a0a344cfd 05:12:52 ---> a6f109f71c08 05:12:52 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:12:52 ---> Running in a7a73f0053f7 05:12:52 Removing intermediate container a7a73f0053f7 05:12:52 ---> 4762a2c29d0b 05:12:52 Step 20/22 : LABEL arch=amd64 05:12:52 ---> Running in a85a267c4cec 05:12:52 Removing intermediate container a85a267c4cec 05:12:52 ---> 7912bc8009c7 05:12:52 Step 21/22 : LABEL git_sha=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 05:12:52 ---> Running in 42790fad195f 05:12:52 Removing intermediate container 42790fad195f 05:12:52 ---> 67e50c700d34 05:12:52 Step 22/22 : LABEL version=0.0.0 05:12:53 ---> Running in 225388ea87cc 05:12:53 Removing intermediate container 225388ea87cc 05:12:53 ---> e991becd5bd8 05:12:53 [Warning] One or more build-args [ARCH] were not consumed 05:12:53 Successfully built e991becd5bd8 05:12:53 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 05:12:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:54 05:12:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:54 latest: Pulling from edgex-lftools-log-publisher 05:12:54 5eb5b503b376: Pulling fs layer 05:12:54 5c69ac0246d0: Pulling fs layer 05:12:54 ec43610c2a17: Pulling fs layer 05:12:54 3a2ae6a8a46f: Pulling fs layer 05:12:54 33b1e0a273af: Pulling fs layer 05:12:54 5d3b04190fa2: Pulling fs layer 05:12:54 2f39f015ded8: Pulling fs layer 05:12:54 2f39f015ded8: Waiting 05:12:54 3a2ae6a8a46f: Waiting 05:12:54 33b1e0a273af: Waiting 05:12:54 5d3b04190fa2: Waiting 05:12:54 5c69ac0246d0: Download complete 05:12:54 3a2ae6a8a46f: Verifying Checksum 05:12:54 3a2ae6a8a46f: Download complete 05:12:54 33b1e0a273af: Verifying Checksum 05:12:54 33b1e0a273af: Download complete 05:12:54 5d3b04190fa2: Verifying Checksum 05:12:54 5d3b04190fa2: Download complete 05:12:54 ec43610c2a17: Verifying Checksum 05:12:54 ec43610c2a17: Download complete 05:12:54 5eb5b503b376: Verifying Checksum 05:12:54 5eb5b503b376: Download complete 05:12:55 2f39f015ded8: Download complete 05:12:56 5eb5b503b376: Pull complete 05:12:56 5c69ac0246d0: Pull complete 05:12:56 ec43610c2a17: Pull complete 05:12:56 3a2ae6a8a46f: Pull complete 05:12:57 33b1e0a273af: Pull complete 05:12:57 5d3b04190fa2: Pull complete 05:13:01 2f39f015ded8: Pull complete 05:13:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:01 prd-ubuntu20.04-docker-8c-8g-16825 does not seem to be running inside a container 05:13:01 $ 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-521 -v /w/workspace/xfoundry_device-modbus-go_PR-521:/w/workspace/xfoundry_device-modbus-go_PR-521:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-521@tmp:/w/workspace/xfoundry_device-modbus-go_PR-521@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 05:13:05 $ docker top 29a0960e51c2c3e44926dc191a1733c5a85c64cd59071a2c8dfcf0a9dbda5ee7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:06 ---> job-cost.sh 05:13:06 lf-activate-venv: SKIPPING 05:13:06 INFO: No Stack... 05:13:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:06 INFO: Archiving Costs [Pipeline] sh 05:13:06 + cat /w/workspace/xfoundry_device-modbus-go_PR-521/archives/cost.csv 05:13:06 + cut -d, -f6 [Pipeline] lock 05:13:06 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] 05:13:06 Resource [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] did not exist. Created. 05:13:06 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:07 + echo total: 0.2199999988079071 [Pipeline] stash 05:13:07 Stashed 1 file(s) [Pipeline] } 05:13:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:07 $ docker stop --time=1 29a0960e51c2c3e44926dc191a1733c5a85c64cd59071a2c8dfcf0a9dbda5ee7 05:13:08 $ docker rm -f --volumes 29a0960e51c2c3e44926dc191a1733c5a85c64cd59071a2c8dfcf0a9dbda5ee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:14:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16826 in /w/workspace/xfoundry_device-modbus-go_PR-521 [Pipeline] { [Pipeline] ws 05:14:34 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:14:34 Selected Git installation does not exist. Using Default 05:14:34 The recommended git tool is: NONE 05:14:41 using credential edgex-jenkins-ssh 05:14:41 Cloning the remote Git repository 05:14:41 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:14:41 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:14:41 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:41 > git --version # timeout=10 05:14:41 > git --version # 'git version 2.25.1' 05:14:41 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:43 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:44 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:14:44 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:14:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:14:47 Merging remotes/origin/main commit 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 into PR head commit 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 05:14:48 Merge succeeded, producing 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 05:14:48 Checking out Revision 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 (PR-521) 05:14:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:14:49 > git --version # timeout=10 05:14:49 > git --version # 'git version 2.25.1' 05:14:49 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 05:14:47 > git config core.sparsecheckout # timeout=10 05:14:47 > git checkout -f 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 # timeout=10 05:14:48 > git remote # timeout=10 05:14:48 > git config --get remote.origin.url # timeout=10 05:14:48 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:48 > git merge 83e3636f3d0d9b10ed1b1a22d55c5d268cf4fa51 # timeout=10 05:14:48 > git rev-parse HEAD^{commit} # timeout=10 05:14:48 > git config core.sparsecheckout # timeout=10 05:14:48 > git checkout -f 226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:14:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:14:50 % Total % Received % Xferd Average Speed Time Time Time Current 05:14:50 Dload Upload Total Spent Left Speed 05:14:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 76 12682 76 9637 0 0 62174 0 --:--:-- --:--:-- --:--:-- 61775 100 12682 100 12682 0 0 79262 0 --:--:-- --:--:-- --:--:-- 79262 [Pipeline] sh 05:14:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:14:52 + sudo tee /etc/docker/daemon.new 05:14:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:14:52 { 05:14:52 "registry-mirrors": [ 05:14:52 "https://nexus3.edgexfoundry.org:10001" 05:14:52 ], 05:14:52 "bip": "10.250.0.254/24", 05:14:52 "hosts": [ 05:14:52 "tcp://0.0.0.0:5555", 05:14:52 "unix:///var/run/docker.sock" 05:14:52 ], 05:14:52 "mtu": 1458, 05:14:52 "selinux-enabled": true, 05:14:52 "seccomp-profile": "/etc/docker/seccomp.json" 05:14:52 } [Pipeline] sh 05:14:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:14:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:11 provisioning config files... 05:15:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8970677296380079870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:11 ---> docker-login.sh 05:15:11 nexus3.edgexfoundry.org:10001 05:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:12 Configure a credential helper to remove this warning. See 05:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:12 05:15:12 Login Succeeded 05:15:12 nexus3.edgexfoundry.org:10002 05:15:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:13 Configure a credential helper to remove this warning. See 05:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:13 05:15:13 Login Succeeded 05:15:13 nexus3.edgexfoundry.org:10003 05:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:13 Configure a credential helper to remove this warning. See 05:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:13 05:15:13 Login Succeeded 05:15:13 nexus3.edgexfoundry.org:10004 05:15:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:13 Configure a credential helper to remove this warning. See 05:15:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:13 05:15:13 Login Succeeded 05:15:13 docker.io 05:15:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:14 Configure a credential helper to remove this warning. See 05:15:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:14 05:15:14 Login Succeeded 05:15:14 ---> docker-login.sh ends [Pipeline] } 05:15:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:15:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:15:14 ========================================================= 05:15:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:15:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:15:17 Sending build context to Docker daemon 3.413MB 05:15:17 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:15:17 Step 2/10 : FROM ${BASE} AS builder 05:15:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:17 9fda8d8052c6: Pulling fs layer 05:15:17 5d54e960e981: Pulling fs layer 05:15:17 c4a7e357bf2a: Pulling fs layer 05:15:17 f0e02332f6b5: Pulling fs layer 05:15:17 cefa15bbcfad: Pulling fs layer 05:15:17 17808c966233: Pulling fs layer 05:15:17 f4c1fc716caa: Pulling fs layer 05:15:17 cefa15bbcfad: Waiting 05:15:17 17808c966233: Waiting 05:15:17 f4c1fc716caa: Waiting 05:15:17 f0e02332f6b5: Waiting 05:15:17 5d54e960e981: Download complete 05:15:17 f0e02332f6b5: Verifying Checksum 05:15:17 f0e02332f6b5: Download complete 05:15:17 cefa15bbcfad: Verifying Checksum 05:15:17 cefa15bbcfad: Download complete 05:15:17 9fda8d8052c6: Verifying Checksum 05:15:17 9fda8d8052c6: Download complete 05:15:18 f4c1fc716caa: Verifying Checksum 05:15:18 f4c1fc716caa: Download complete 05:15:18 9fda8d8052c6: Pull complete 05:15:18 5d54e960e981: Pull complete 05:15:19 c4a7e357bf2a: Verifying Checksum 05:15:19 c4a7e357bf2a: Download complete 05:15:20 17808c966233: Verifying Checksum 05:15:20 17808c966233: Download complete 05:15:32 c4a7e357bf2a: Pull complete 05:15:32 f0e02332f6b5: Pull complete 05:15:32 cefa15bbcfad: Pull complete 05:15:42 17808c966233: Pull complete 05:15:42 f4c1fc716caa: Pull complete 05:15:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 05:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:15:42 ---> ea914061e18c 05:15:42 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:15:47 ---> Running in 406bee009ff0 05:15:47 Removing intermediate container 406bee009ff0 05:15:47 ---> 8ccaf04bc904 05:15:47 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:47 ---> Running in 2c4c77a1ba47 05:15:47 Removing intermediate container 2c4c77a1ba47 05:15:47 ---> 589c489a4456 05:15:47 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:15:47 ---> Running in 9f77ef105a8c 05:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:15:49 (1/8) Installing openssh-keygen (9.3_p2-r0) 05:15:49 (2/8) Installing libedit (20221030.3.1-r1) 05:15:49 (3/8) Installing openssh-client-common (9.3_p2-r0) 05:15:50 (4/8) Installing openssh-client-default (9.3_p2-r0) 05:15:50 (5/8) Installing openssh-sftp-server (9.3_p2-r0) 05:15:50 (6/8) Installing openssh-server-common (9.3_p2-r0) 05:15:50 (7/8) Installing openssh-server (9.3_p2-r0) 05:15:50 (8/8) Installing openssh (9.3_p2-r0) 05:15:50 Executing busybox-1.36.1-r2.trigger 05:15:50 OK: 272 MiB in 60 packages 05:15:51 Removing intermediate container 9f77ef105a8c 05:15:51 ---> ca7e05858411 05:15:51 Step 6/10 : WORKDIR /device-modbus-go 05:15:51 ---> Running in 9cd5e792b256 05:15:51 Removing intermediate container 9cd5e792b256 05:15:51 ---> 7b361ab94c2e 05:15:51 Step 7/10 : COPY go.mod vendor* ./ 05:15:52 ---> a63290a8981b 05:15:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:52 ---> Running in 161383a8f6ed 05:17:13 Removing intermediate container 161383a8f6ed 05:17:13 ---> ceeb77f2da5c 05:17:13 Step 9/10 : COPY . . 05:17:13 ---> 079105d53121 05:17:13 Step 10/10 : RUN ${MAKE} 05:17:13 ---> Running in b60fee09d21b 05:17:13 noop 05:17:13 Removing intermediate container b60fee09d21b 05:17:13 ---> 6020fe96e18d 05:17:13 Successfully built 6020fe96e18d 05:17:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:14 + docker inspect -f . ci-base-image-arm64 05:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-16826 does not seem to be running inside a container 05:17:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:17:15 $ docker top 8b98c647973bdb83517879e4f24b76479541199b4d5de89fab359e3cc82472f1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:16 + go version 05:17:16 go version go1.21.0 linux/arm64 [Pipeline] } 05:17:16 $ docker stop --time=1 8b98c647973bdb83517879e4f24b76479541199b4d5de89fab359e3cc82472f1 05:17:18 $ docker rm -f --volumes 8b98c647973bdb83517879e4f24b76479541199b4d5de89fab359e3cc82472f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:17:19 + docker inspect -f . ci-base-image-arm64 05:17:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:17:19 prd-ubuntu20.04-docker-arm64-4c-16g-16826 does not seem to be running inside a container 05:17:19 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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 ******** ci-base-image-arm64 cat 05:17:23 $ docker top 6488081b0d09c62c9bbe1d1ebcbd0b1cef3c1e23209436f7bf180e56094f1774 -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:24 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:17:25 + make test 05:17:25 go test ./... -coverprofile=coverage.out 05:17:29 ? github.com/edgexfoundry/device-modbus-go [no test files] 05:19:06 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 05:19:06 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.062s coverage: 47.9% of statements 05:19:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:19:06 go vet ./... 05:19:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:19:16 $ docker stop --time=1 6488081b0d09c62c9bbe1d1ebcbd0b1cef3c1e23209436f7bf180e56094f1774 05:19:18 $ docker rm -f --volumes 6488081b0d09c62c9bbe1d1ebcbd0b1cef3c1e23209436f7bf180e56094f1774 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:19 Warning: overwriting stash ‘coverage-report’ 05:19:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:21 + ls -al . 05:19:21 total 184 05:19:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:17 . 05:19:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 05:14 .. 05:19:21 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 05:14 .dockerignore 05:19:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 05:14 .git 05:19:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:14 .github 05:19:21 -rw-rw-r-- 1 jenkins jenkins 266 Nov 7 05:14 .gitignore 05:19:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 05:14 .golangci.yml 05:19:21 -rw-rw-r-- 1 jenkins jenkins 11101 Nov 7 05:14 Attribution.txt 05:19:21 -rw-rw-r-- 1 jenkins jenkins 14764 Nov 7 05:14 CHANGELOG.md 05:19:21 -rw-rw-r-- 1 jenkins jenkins 1365 Nov 7 05:14 Dockerfile 05:19:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 05:14 GOVERNANCE.md 05:19:21 -rw-rw-r-- 1 jenkins jenkins 658 Nov 7 05:14 Jenkinsfile 05:19:21 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 05:14 LICENSE 05:19:21 -rw-rw-r-- 1 jenkins jenkins 1936 Nov 7 05:14 Makefile 05:19:21 -rw-rw-r-- 1 jenkins jenkins 622 Nov 7 05:14 OWNERS.md 05:19:21 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 7 05:14 README.md 05:19:21 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 05:10 VERSION 05:19:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:14 bin 05:19:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:14 cmd 05:19:21 -rw-r--r-- 1 jenkins jenkins 24334 Nov 7 05:18 coverage.out 05:19:21 -rw-rw-r-- 1 jenkins jenkins 3902 Nov 7 05:14 go.mod 05:19:21 -rw-rw-r-- 1 jenkins jenkins 35356 Nov 7 05:14 go.sum 05:19:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 05:14 internal 05:19:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 05:14 simulator 05:19:21 -rw-rw-r-- 1 jenkins jenkins 229 Nov 7 05:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:21 + 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=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 --label arch=arm64 --label version=0.0.0 . 05:19:22 Sending build context to Docker daemon 3.438MB 05:19:22 Step 1/22 : ARG BASE=golang:1.21-alpine3.18 05:19:22 Step 2/22 : FROM ${BASE} AS builder 05:19:22 ---> 6020fe96e18d 05:19:22 Step 3/22 : ARG ADD_BUILD_TAGS="" 05:19:22 ---> Running in 8ef58b98b9eb 05:19:22 Removing intermediate container 8ef58b98b9eb 05:19:22 ---> baeec9ee2cbf 05:19:22 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:19:22 ---> Running in a597ce675dd8 05:19:22 Removing intermediate container a597ce675dd8 05:19:22 ---> 7f67e7f06658 05:19:22 Step 5/22 : RUN apk add --update --no-cache make git openssh 05:19:22 ---> Running in 12180b535ca4 05:19:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:19:25 OK: 272 MiB in 60 packages 05:19:26 Removing intermediate container 12180b535ca4 05:19:26 ---> b0ff47a5d373 05:19:26 Step 6/22 : WORKDIR /device-modbus-go 05:19:26 ---> Running in d262bcc8b625 05:19:26 Removing intermediate container d262bcc8b625 05:19:26 ---> 33e6052a4d99 05:19:26 Step 7/22 : COPY go.mod vendor* ./ 05:19:27 ---> 61624e72e94d 05:19:27 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:27 ---> Running in df09bcc05310 05:19:30 Removing intermediate container df09bcc05310 05:19:30 ---> 815f43f00c6f 05:19:30 Step 9/22 : COPY . . 05:19:31 ---> 497227cdf586 05:19:31 Step 10/22 : RUN ${MAKE} 05:19:31 ---> Running in 4c5afb5f6cbb 05:19:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.40" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 05:21:24 Removing intermediate container 4c5afb5f6cbb 05:21:24 ---> 5fb1e23d91b1 05:21:24 Step 11/22 : FROM alpine:3.18 05:21:24 3.18: Pulling from library/alpine 05:21:24 579b34f0a95b: Pulling fs layer 05:21:24 579b34f0a95b: Verifying Checksum 05:21:24 579b34f0a95b: Download complete 05:21:24 579b34f0a95b: Pull complete 05:21:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 05:21:24 Status: Downloaded newer image for alpine:3.18 05:21:24 ---> 3cc203321400 05:21:24 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 05:21:24 ---> Running in 6d32c656da95 05:21:24 Removing intermediate container 6d32c656da95 05:21:24 ---> 68f417cf27c0 05:21:24 Step 13/22 : RUN apk add --update --no-cache dumb-init 05:21:24 ---> Running in b2fb94f63ec7 05:21:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:21:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:21:24 (1/1) Installing dumb-init (1.2.5-r2) 05:21:24 Executing busybox-1.36.1-r2.trigger 05:21:24 OK: 8 MiB in 16 packages 05:21:24 Removing intermediate container b2fb94f63ec7 05:21:24 ---> f8fdc2888750 05:21:24 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 05:21:24 ---> 811e87a90122 05:21:24 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 05:21:24 ---> ab51d922d0fe 05:21:24 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 05:21:24 ---> 6b9a80358bcf 05:21:24 Step 17/22 : EXPOSE 59901 05:21:24 ---> Running in 087a07307292 05:21:24 Removing intermediate container 087a07307292 05:21:24 ---> 8905e9a2aa87 05:21:24 Step 18/22 : ENTRYPOINT ["/device-modbus"] 05:21:24 ---> Running in 4446e38d9d68 05:21:24 Removing intermediate container 4446e38d9d68 05:21:24 ---> ccf973f26139 05:21:24 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 05:21:24 ---> Running in 3cf19e459ff8 05:21:24 Removing intermediate container 3cf19e459ff8 05:21:24 ---> d27511b03cd9 05:21:24 Step 20/22 : LABEL arch=arm64 05:21:24 ---> Running in 03612335601f 05:21:24 Removing intermediate container 03612335601f 05:21:24 ---> 8d52e77aa9f0 05:21:24 Step 21/22 : LABEL git_sha=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 05:21:24 ---> Running in 29ffb909a26b 05:21:24 Removing intermediate container 29ffb909a26b 05:21:24 ---> 851610d12d46 05:21:24 Step 22/22 : LABEL version=0.0.0 05:21:24 ---> Running in 44936eb410b7 05:21:24 Removing intermediate container 44936eb410b7 05:21:24 ---> 825d488bb423 05:21:24 [Warning] One or more build-args [ARCH] were not consumed 05:21:24 Successfully built 825d488bb423 05:21:24 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 05:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:25 05:21:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:25 arm64: Pulling from edgex-lftools-log-publisher 05:21:25 8998bd30e6a1: Pulling fs layer 05:21:25 04944245beec: Pulling fs layer 05:21:25 699f458cf7ca: Pulling fs layer 05:21:25 765212b225bb: Pulling fs layer 05:21:25 f23df028b6ca: Pulling fs layer 05:21:25 d65c8cfc05b1: Pulling fs layer 05:21:25 2437ff75d9bd: Pulling fs layer 05:21:25 765212b225bb: Waiting 05:21:25 2437ff75d9bd: Waiting 05:21:25 d65c8cfc05b1: Waiting 05:21:25 04944245beec: Verifying Checksum 05:21:25 04944245beec: Download complete 05:21:25 765212b225bb: Verifying Checksum 05:21:25 765212b225bb: Download complete 05:21:25 f23df028b6ca: Download complete 05:21:25 d65c8cfc05b1: Verifying Checksum 05:21:25 d65c8cfc05b1: Download complete 05:21:26 699f458cf7ca: Verifying Checksum 05:21:26 699f458cf7ca: Download complete 05:21:26 8998bd30e6a1: Verifying Checksum 05:21:26 8998bd30e6a1: Download complete 05:21:29 2437ff75d9bd: Download complete 05:21:30 8998bd30e6a1: Pull complete 05:21:31 04944245beec: Pull complete 05:21:33 699f458cf7ca: Pull complete 05:21:33 765212b225bb: Pull complete 05:21:34 f23df028b6ca: Pull complete 05:21:34 d65c8cfc05b1: Pull complete 05:21:52 2437ff75d9bd: Pull complete 05:21:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:21:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:52 prd-ubuntu20.04-docker-arm64-4c-16g-16826 does not seem to be running inside a container 05:21:52 $ 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/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@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:arm64 cat 05:21:55 $ docker top 5bd94fee8ab6386bbdab9e924ff58058c60394d3f6631972a20f89a8384ca692 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:55 ---> job-cost.sh 05:21:56 lf-activate-venv: SKIPPING 05:21:56 INFO: No Stack... 05:21:56 INFO: Retrieving Pricing Info for: v3-standard-4 05:21:57 INFO: Archiving Costs [Pipeline] sh 05:21:58 + cut -d, -f6 05:21:58 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 05:21:58 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] 05:21:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] did not exist. Created. 05:21:58 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:58 /w/workspace/device-modbus-go/1@tmp/durable-3db467d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:21:59 + echo total: 0.10999999940395355 [Pipeline] stash 05:21:59 Warning: overwriting stash ‘stack-cost’ 05:21:59 Stashed 1 file(s) [Pipeline] } 05:21:59 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:59 $ docker stop --time=1 5bd94fee8ab6386bbdab9e924ff58058c60394d3f6631972a20f89a8384ca692 05:22:01 $ docker rm -f --volumes 5bd94fee8ab6386bbdab9e924ff58058c60394d3f6631972a20f89a8384ca692 [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 05:22:02 provisioning config files... 05:22:02 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/config83701249028299445tmp [Pipeline] { [Pipeline] sh 05:22:02 + set +x 05:22:02 + + bash -s -- 05:22:02 curl -s https://codecov.io/bash 05:22:02 05:22:02 _____ _ 05:22:02 / ____| | | 05:22:02 | | ___ __| | ___ ___ _____ __ 05:22:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:02 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:02 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:02 Bash-1.0.6 05:22:02 05:22:02 05:22:02 ==> git version 2.25.1 found 05:22:02 ==> 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 05:22:02 Release-Date: 2020-01-08 05:22:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:22:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:02 ==> Jenkins CI detected. 05:22:02 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-521 05:22:02 project root: . 05:22:02 --> token set from env 05:22:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:02 ==> Running gcov in . (disable via -X gcov) 05:22:02 ==> Python coveragepy not found 05:22:02 ==> Searching for coverage reports in: 05:22:02 + . 05:22:02 -> Found 1 reports 05:22:02 ==> Detecting git/mercurial file structure 05:22:02 ==> Reading reports 05:22:02 + ./coverage.out bytes=24334 05:22:02 ==> Appending adjustments 05:22:02 https://docs.codecov.io/docs/fixing-reports 05:22:02 + Found adjustments 05:22:02 ==> Gzipping contents 05:22:02 4.0K /tmp/codecov.DdjgJn.gz 05:22:02 ==> Uploading reports 05:22:02 url: https://codecov.io 05:22:02 query: branch=PR-521&commit=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=521&job=&cmd_args= 05:22:02 -> Pinging Codecov 05:22:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-521&commit=226b90ca8ad7287b9154febeb5f9b9d6b20a8d57&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=521&job=&cmd_args= 05:22:03 -> Uploading to 05:22:03 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/55DBCA73C666E3227836607328DD7E49/226b90ca8ad7287b9154febeb5f9b9d6b20a8d57/73956713-49a8-43ec-87fa-f853a025fffb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T052202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=611098da72064ce97eae7753857c3341a699a39736bc6613cf1642d26251830a 05:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:03 Dload Upload Total Spent Left Speed 05:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3806 0 0 100 3806 0 14044 --:--:-- --:--:-- --:--:-- 14044 05:22:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/226b90ca8ad7287b9154febeb5f9b9d6b20a8d57 [Pipeline] } 05:22:03 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 05:22:05 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-521/archives ] 05:22:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-521/archives 05:22:05 total 16 05:22:05 drwxr-xr-x 3 root root 4096 Nov 7 05:13 . 05:22:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:13 .. 05:22:05 drwxr-xr-x 2 root root 4096 Nov 7 05:13 cost 05:22:05 -rw-r--r-- 1 root root 88 Nov 7 05:13 cost.csv 05:22:05 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-521/archives 05:22:05 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-521/archives 05:22:05 total 16 05:22:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 05:13 . 05:22:05 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 05:13 .. 05:22:05 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 05:13 cost 05:22:05 -rw-r--r-- 1 jenkins jenkins 88 Nov 7 05:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:22:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:22:06 ---> package-listing.sh 05:22:06 ++ facter osfamily 05:22:06 ++ tr '[:upper:]' '[:lower:]' 05:22:06 + OS_FAMILY=debian 05:22:06 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-521 05:22:06 + START_PACKAGES=/tmp/packages_start.txt 05:22:06 + END_PACKAGES=/tmp/packages_end.txt 05:22:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:22:06 + PACKAGES=/tmp/packages_start.txt 05:22:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-521 ']' 05:22:06 + PACKAGES=/tmp/packages_end.txt 05:22:06 + case "${OS_FAMILY}" in 05:22:06 + dpkg -l 05:22:06 + grep '^ii' 05:22:06 + '[' -f /tmp/packages_start.txt ']' 05:22:06 + '[' -f /tmp/packages_end.txt ']' 05:22:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:22:06 + '[' /w/workspace/xfoundry_device-modbus-go_PR-521 ']' 05:22:06 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-521/archives/ 05:22:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-521/archives/ [Pipeline] echo 05:22:06 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:22:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:07 prd-ubuntu20.04-docker-8c-8g-16825 does not seem to be running inside a container 05:22:07 $ 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-521/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-521 -v /w/workspace/xfoundry_device-modbus-go_PR-521:/w/workspace/xfoundry_device-modbus-go_PR-521:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-521@tmp:/w/workspace/xfoundry_device-modbus-go_PR-521@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-lftools-log-publisher:latest cat 05:22:08 $ docker top ffa33091549b292e2c8b9019d4da504f9d021ec91cba133663c2dc8cb720bf4a -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:08 + touch /tmp/pre-build-complete [Pipeline] sh 05:22:08 + mkdir -p /var/log/sysstat [Pipeline] sh 05:22:09 + ls /var/log/sa-host 05:22:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:09 provisioning config files... 05:22:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-521@tmp/config13949325354005867048tmp [Pipeline] { [Pipeline] echo 05:22:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:22:09 ---> create-netrc.sh [Pipeline] } 05:22:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:22:09 ---> python-tools-install.sh [Pipeline] echo 05:22:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:22:10 ---> sudo-logs.sh 05:22:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:22:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:22:10 ---> job-cost.sh 05:22:10 lf-activate-venv: SKIPPING 05:22:10 DEBUG: total: 0.2199999988079071 05:22:10 INFO: Retrieving Stack Cost... 05:22:10 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:11 INFO: Archiving Costs [Pipeline] echo 05:22:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:22:11 ---> logs-deploy.sh 05:22:11 lf-activate-venv: SKIPPING 05:22:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-521/1 05:22:11 INFO: archiving workspace using pattern(s): 05:22:12 Archives upload complete. 05:22:12 INFO: archiving logs to Nexus