Pull request #403 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from a3d6c5c3fe6636d0378c96d112b34be3b0f662fd+bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 (7939fc09496bcc2260b186c53e11077fdf24e0c1) 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-ssh10574269042197802496.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10404681108948313001.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-403/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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1786733171251070584.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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3087015203579931570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10045371529301594386.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-403/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-403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6135117632650461043.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-3054’ Running on prd-ubuntu20.04-docker-8c-8g-3057 in /w/workspace/xfoundry_device-modbus-go_PR-403 [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-403 # 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 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit a3d6c5c3fe6636d0378c96d112b34be3b0f662fd Merge succeeded, producing a3d6c5c3fe6636d0378c96d112b34be3b0f662fd Checking out Revision a3d6c5c3fe6636d0378c96d112b34be3b0f662fd (PR-403) > 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/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3d6c5c3fe6636d0378c96d112b34be3b0f662fd # 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 bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3d6c5c3fe6636d0378c96d112b34be3b0f662fd # timeout=10 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:31 ========================================================= 02:45:31 EdgeX Global Pipelines Version Info 02:45:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:32 ------------------- 02:45:32 stable info: 02:45:32 ------------------- 02:45:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:45:32 Message: update stable to v1.0.244 02:45:32 ------------------- 02:45:32 experimental info: 02:45:32 ------------------- 02:45:32 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:45:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-403 [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-403 [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-403 [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3d6c5c [Pipeline] echo 02:45:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:34 provisioning config files... 02:45:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/config13180876797058651901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:34 ---> docker-login.sh 02:45:34 nexus3.edgexfoundry.org:10001 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10002 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10003 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 nexus3.edgexfoundry.org:10004 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:35 Configure a credential helper to remove this warning. See 02:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:35 02:45:35 Login Succeeded 02:45:35 docker.io 02:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:36 Configure a credential helper to remove this warning. See 02:45:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:36 02:45:36 Login Succeeded 02:45:36 ---> docker-login.sh ends [Pipeline] } 02:45:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:45:36 + git rev-list -1 --merges a3d6c5c3fe6636d0378c96d112b34be3b0f662fd~1..a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [Pipeline] echo 02:45:36 -----------> git rev-list -1 --merges a3d6c5c3fe6636d0378c96d112b34be3b0f662fd~1..a3d6c5c3fe6636d0378c96d112b34be3b0f662fd a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [false] [Pipeline] sh 02:45:37 + git log --format=format:%s -1 a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [Pipeline] echo 02:45:37 ========================================================= 02:45:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:45:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:37 + git log --format=format:%s -1 a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [Pipeline] echo 02:45:37 [semverPrep] GIT_COMMIT: a3d6c5c3fe6636d0378c96d112b34be3b0f662fd, Commit Message: build(deps): bump device-sdk-go and go-mod dependencies [Pipeline] echo 02:45:37 [semverPrep] This is not a build commit. [Pipeline] sh 02:45:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:38 + grep -v github /etc/ssh/ssh_known_hosts 02:45:38 + [ -e /tmp/ssh_known_hosts ] 02:45:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:45:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:45:38 + sudo tee -a /etc/ssh/ssh_known_hosts 02:45:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:38 02:45:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:38 0.1.4: Pulling from edgex-devops/py-git-semver 02:45:38 b85a868b505f: Pulling fs layer 02:45:38 e2be974225ed: Pulling fs layer 02:45:38 339a4e72a1f5: Pulling fs layer 02:45:38 988bab9f4d93: Pulling fs layer 02:45:38 1469e6f7b9e6: Pulling fs layer 02:45:38 eaf3925da568: Pulling fs layer 02:45:38 bab4dde63d76: Pulling fs layer 02:45:38 bde34c3a00c8: Pulling fs layer 02:45:38 b352a97aabf1: Pulling fs layer 02:45:38 4872d77fe225: Pulling fs layer 02:45:38 5851b861e8e6: Pulling fs layer 02:45:38 988bab9f4d93: Waiting 02:45:38 bab4dde63d76: Waiting 02:45:38 4872d77fe225: Waiting 02:45:38 eaf3925da568: Waiting 02:45:38 b352a97aabf1: Waiting 02:45:38 e2be974225ed: Verifying Checksum 02:45:38 e2be974225ed: Download complete 02:45:38 988bab9f4d93: Download complete 02:45:39 1469e6f7b9e6: Verifying Checksum 02:45:39 1469e6f7b9e6: Download complete 02:45:39 eaf3925da568: Verifying Checksum 02:45:39 eaf3925da568: Download complete 02:45:39 339a4e72a1f5: Verifying Checksum 02:45:39 339a4e72a1f5: Download complete 02:45:39 bde34c3a00c8: Download complete 02:45:39 b352a97aabf1: Download complete 02:45:39 4872d77fe225: Verifying Checksum 02:45:39 4872d77fe225: Download complete 02:45:39 5851b861e8e6: Download complete 02:45:39 b85a868b505f: Verifying Checksum 02:45:39 b85a868b505f: Download complete 02:45:39 bab4dde63d76: Verifying Checksum 02:45:39 bab4dde63d76: Download complete 02:45:40 b85a868b505f: Pull complete 02:45:40 e2be974225ed: Pull complete 02:45:41 339a4e72a1f5: Pull complete 02:45:41 988bab9f4d93: Pull complete 02:45:41 1469e6f7b9e6: Pull complete 02:45:41 eaf3925da568: Pull complete 02:45:43 bab4dde63d76: Pull complete 02:45:43 bde34c3a00c8: Pull complete 02:45:43 b352a97aabf1: Pull complete 02:45:43 4872d77fe225: Pull complete 02:45:43 5851b861e8e6: Pull complete 02:45:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:43 prd-ubuntu20.04-docker-8c-8g-3057 does not seem to be running inside a container 02:45:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-403 -v /w/workspace/xfoundry_device-modbus-go_PR-403:/w/workspace/xfoundry_device-modbus-go_PR-403:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-403@tmp:/w/workspace/xfoundry_device-modbus-go_PR-403@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-devops/py-git-semver:0.1.4 cat 02:45:45 $ docker top 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 -eo pid,comm 02:45:45 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). 02:45:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:46 [ssh-agent] Looking for ssh-agent implementation... 02:45:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:46 $ docker exec 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 ssh-agent 02:45:46 SSH_AUTH_SOCK=/tmp/ssh-oe91MjwD1fZs/agent.32 02:45:46 SSH_AGENT_PID=38 02:45:46 Running ssh-add (command line suppressed) 02:45:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-403@tmp/private_key_17494508638420015325.key (/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/private_key_17494508638420015325.key) 02:45:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:46 + git tag --points-at HEAD [Pipeline] } 02:45:46 $ docker exec --env ******** --env ******** 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 ssh-agent -k 02:45:47 unset SSH_AUTH_SOCK; 02:45:47 unset SSH_AGENT_PID; 02:45:47 echo Agent pid 38 killed; 02:45:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:47 [ssh-agent] Looking for ssh-agent implementation... 02:45:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:47 $ docker exec 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 ssh-agent 02:45:47 SSH_AUTH_SOCK=/tmp/ssh-LHGSjmTmxMBZ/agent.70 02:45:47 SSH_AGENT_PID=76 02:45:47 Running ssh-add (command line suppressed) 02:45:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-403@tmp/private_key_8489612252967620954.key (/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/private_key_8489612252967620954.key) 02:45:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:47 + git semver init 02:45:48 2023-01-19 02:45:48,030 [run_init] DEBUG init version:0.0.0 force:False 02:45:48 2023-01-19 02:45:48,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-403/.semver 02:45:48 2023-01-19 02:45:48,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-403/.semver 02:45:48 2023-01-19 02:45:48,032 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-403/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-403, universal_newlines=False, shell=None, istream=None) 02:45:49 2023-01-19 02:45:49,256 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-403/.git/info/exclude 02:45:49 2023-01-19 02:45:49,257 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-403/.semver/PR-403 with force:False 02:45:49 2023-01-19 02:45:49,257 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-403/.semver/PR-403 02:45:49 2023-01-19 02:45:49,261 [execute] INFO git cat-file --batch-check 02:45:49 2023-01-19 02:45:49,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 02:45:49 2023-01-19 02:45:49,267 [execute] INFO git cat-file --batch 02:45:49 2023-01-19 02:45:49,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 02:45:49 2023-01-19 02:45:49,273 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-403/.semver/PR-403 02:45:49 0.0.0 [Pipeline] } 02:45:49 $ docker exec --env ******** --env ******** 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 ssh-agent -k 02:45:49 unset SSH_AUTH_SOCK; 02:45:49 unset SSH_AGENT_PID; 02:45:49 echo Agent pid 76 killed; 02:45:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:50 + git semver [Pipeline] } 02:45:50 $ docker stop --time=1 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 02:45:51 $ docker rm -f --volumes 598653cbfb856c6fe878732caf3824e42649c35938cd3f19c384214c264a9eb1 [Pipeline] // withDockerContainer [Pipeline] sh 02:45:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:52 Stashed 1 file(s) [Pipeline] echo 02:45:52 [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 02:45:52 provisioning config files... 02:45:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/config135931269673142142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:53 ---> docker-login.sh 02:45:53 nexus3.edgexfoundry.org:10001 02:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:53 Configure a credential helper to remove this warning. See 02:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:53 02:45:53 Login Succeeded 02:45:53 nexus3.edgexfoundry.org:10002 02:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:53 Configure a credential helper to remove this warning. See 02:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:53 02:45:53 Login Succeeded 02:45:53 nexus3.edgexfoundry.org:10003 02:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:53 Configure a credential helper to remove this warning. See 02:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:53 02:45:53 Login Succeeded 02:45:53 nexus3.edgexfoundry.org:10004 02:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:53 Configure a credential helper to remove this warning. See 02:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:53 02:45:53 Login Succeeded 02:45:53 docker.io 02:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:53 Configure a credential helper to remove this warning. See 02:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:53 02:45:53 Login Succeeded 02:45:53 ---> docker-login.sh ends [Pipeline] } 02:45:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:45:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:45:54 ========================================================= 02:45:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:45:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:45:54 Sending build context to Docker daemon 6.366MB 02:45:54 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 02:45:54 Step 2/10 : FROM ${BASE} AS builder 02:45:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:45:54 213ec9aee27d: Pulling fs layer 02:45:54 4583459ba037: Pulling fs layer 02:45:54 93c1e223e6f2: Pulling fs layer 02:45:54 53926ce57604: Pulling fs layer 02:45:54 21b2b0c7a3f4: Pulling fs layer 02:45:54 22ff95d597cd: Pulling fs layer 02:45:54 12d6caf4c0d1: Pulling fs layer 02:45:54 96b7cbca73a9: Pulling fs layer 02:45:54 a7acece74701: Pulling fs layer 02:45:54 96b7cbca73a9: Waiting 02:45:54 a7acece74701: Waiting 02:45:54 53926ce57604: Waiting 02:45:54 21b2b0c7a3f4: Waiting 02:45:54 22ff95d597cd: Waiting 02:45:54 12d6caf4c0d1: Waiting 02:45:54 93c1e223e6f2: Verifying Checksum 02:45:54 93c1e223e6f2: Download complete 02:45:54 4583459ba037: Verifying Checksum 02:45:54 4583459ba037: Download complete 02:45:55 21b2b0c7a3f4: Verifying Checksum 02:45:55 21b2b0c7a3f4: Download complete 02:45:55 22ff95d597cd: Verifying Checksum 02:45:55 22ff95d597cd: Download complete 02:45:55 213ec9aee27d: Verifying Checksum 02:45:55 213ec9aee27d: Download complete 02:45:55 12d6caf4c0d1: Verifying Checksum 02:45:55 12d6caf4c0d1: Download complete 02:45:55 213ec9aee27d: Pull complete 02:45:55 4583459ba037: Pull complete 02:45:55 93c1e223e6f2: Pull complete 02:45:55 a7acece74701: Verifying Checksum 02:45:55 a7acece74701: Download complete 02:45:55 96b7cbca73a9: Verifying Checksum 02:45:55 96b7cbca73a9: Download complete 02:45:56 53926ce57604: Verifying Checksum 02:45:56 53926ce57604: Download complete 02:46:00 53926ce57604: Pull complete 02:46:00 21b2b0c7a3f4: Pull complete 02:46:00 22ff95d597cd: Pull complete 02:46:00 12d6caf4c0d1: Pull complete 02:46:02 96b7cbca73a9: Pull complete 02:46:03 a7acece74701: Pull complete 02:46:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:46:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:46:03 ---> db6d94c90886 02:46:03 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:46:07 ---> Running in 13a43b3e2fc6 02:46:07 Removing intermediate container 13a43b3e2fc6 02:46:07 ---> b15b1779d171 02:46:07 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:46:07 ---> Running in fbd1f643b634 02:46:07 Removing intermediate container fbd1f643b634 02:46:07 ---> 9c76db45cd54 02:46:07 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:46:07 ---> Running in 534bf599b140 02:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:46:07 Still waiting to schedule task 02:46:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3055’ 02:46:07 (1/8) Installing openssh-keygen (9.0_p1-r2) 02:46:07 (2/8) Installing libedit (20210910.3.1-r0) 02:46:07 (3/8) Installing openssh-client-common (9.0_p1-r2) 02:46:07 (4/8) Installing openssh-client-default (9.0_p1-r2) 02:46:07 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 02:46:07 (6/8) Installing openssh-server-common (9.0_p1-r2) 02:46:07 (7/8) Installing openssh-server (9.0_p1-r2) 02:46:07 (8/8) Installing openssh (9.0_p1-r2) 02:46:07 Executing busybox-1.35.0-r17.trigger 02:46:07 OK: 217 MiB in 59 packages 02:46:08 Removing intermediate container 534bf599b140 02:46:08 ---> 7f4518179099 02:46:08 Step 6/10 : WORKDIR /device-modbus-go 02:46:08 ---> Running in 3b959ba5cba7 02:46:08 Removing intermediate container 3b959ba5cba7 02:46:08 ---> 01a70ddafc90 02:46:08 Step 7/10 : COPY go.mod vendor* ./ 02:46:08 ---> e8b1b007c9e6 02:46:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:08 ---> Running in b6f7648c6fef 02:46:41 Removing intermediate container b6f7648c6fef 02:46:41 ---> 095dff2622a2 02:46:41 Step 9/10 : COPY . . 02:46:41 ---> 52682c95900d 02:46:41 Step 10/10 : RUN ${MAKE} 02:46:41 ---> Running in 525077bb0689 02:46:41 noop 02:46:42 Removing intermediate container 525077bb0689 02:46:42 ---> b115c8c24c95 02:46:42 Successfully built b115c8c24c95 02:46:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:42 + docker inspect -f . ci-base-image-x86_64 02:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:42 prd-ubuntu20.04-docker-8c-8g-3057 does not seem to be running inside a container 02:46:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-403 -v /w/workspace/xfoundry_device-modbus-go_PR-403:/w/workspace/xfoundry_device-modbus-go_PR-403:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-403@tmp:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:43 $ docker top 6c2deb8ae554f5384aeff4911e32c649e71c0c2bb665b6c672b702b81b72fdd5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:43 + go version 02:46:43 go version go1.18.7 linux/amd64 [Pipeline] } 02:46:43 $ docker stop --time=1 6c2deb8ae554f5384aeff4911e32c649e71c0c2bb665b6c672b702b81b72fdd5 02:46:44 $ docker rm -f --volumes 6c2deb8ae554f5384aeff4911e32c649e71c0c2bb665b6c672b702b81b72fdd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:45 + docker inspect -f . ci-base-image-x86_64 02:46:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:45 prd-ubuntu20.04-docker-8c-8g-3057 does not seem to be running inside a container 02:46:45 $ 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-403 -v /w/workspace/xfoundry_device-modbus-go_PR-403:/w/workspace/xfoundry_device-modbus-go_PR-403:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-403@tmp:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:46:46 $ docker top 3f1ee7460bc401af7597fc542c5d447257c6bdd17ea96907e2b892149e6c975d -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:46 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-403 [Pipeline] fileExists [Pipeline] sh 02:46:46 + make test 02:46:46 go test ./... -coverprofile=coverage.out 02:46:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:46:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:46:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.7% of statements 02:47:03 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:47:03 go vet ./... 02:47:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:47:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:47:07 ./bin/test-attribution-txt.sh 02:47:07 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:47:07 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:47:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:47:07 $ docker stop --time=1 3f1ee7460bc401af7597fc542c5d447257c6bdd17ea96907e2b892149e6c975d 02:47:09 $ docker rm -f --volumes 3f1ee7460bc401af7597fc542c5d447257c6bdd17ea96907e2b892149e6c975d [Pipeline] // withDockerContainer [Pipeline] sh 02:47:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:47:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:10 + ls -al . 02:47:10 total 184 02:47:10 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:46 . 02:47:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 .. 02:47:10 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:45 .dockerignore 02:47:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:46 .git 02:47:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:45 .github 02:47:10 -rw-rw-r-- 1 jenkins jenkins 331 Jan 19 02:45 .gitignore 02:47:10 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:45 .golangci.yml 02:47:10 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:45 .semver 02:47:10 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 19 02:45 Attribution.txt 02:47:10 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 19 02:45 CHANGELOG.md 02:47:10 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 19 02:45 Dockerfile 02:47:10 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:45 GOVERNANCE.md 02:47:10 -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:45 Jenkinsfile 02:47:10 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:45 LICENSE 02:47:10 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 19 02:45 Makefile 02:47:10 -rw-rw-r-- 1 jenkins jenkins 622 Jan 19 02:45 OWNERS.md 02:47:10 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 19 02:45 README.md 02:47:10 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:45 VERSION 02:47:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 bin 02:47:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:45 cmd 02:47:10 -rw-r--r-- 1 jenkins jenkins 23241 Jan 19 02:46 coverage.out 02:47:10 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 19 02:45 go.mod 02:47:10 -rw-rw-r-- 1 jenkins jenkins 35198 Jan 19 02:45 go.sum 02:47:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:45 internal 02:47:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 simulator 02:47:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 snap 02:47:10 -rw-rw-r-- 1 jenkins jenkins 229 Jan 19 02:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:11 + 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=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd --label arch=amd64 --label version=0.0.0 . 02:47:11 Sending build context to Docker daemon 6.39MB 02:47:11 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 02:47:11 Step 2/22 : FROM ${BASE} AS builder 02:47:11 ---> b115c8c24c95 02:47:11 Step 3/22 : ARG ADD_BUILD_TAGS="" 02:47:11 ---> Running in e0f5991b62d6 02:47:11 Removing intermediate container e0f5991b62d6 02:47:11 ---> 9256d0486b11 02:47:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:47:11 ---> Running in 2facc9368891 02:47:11 Removing intermediate container 2facc9368891 02:47:11 ---> 86dd5519c897 02:47:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 02:47:11 ---> Running in d375eed440ee 02:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:47:11 OK: 217 MiB in 59 packages 02:47:12 Removing intermediate container d375eed440ee 02:47:12 ---> f4322c15e85e 02:47:12 Step 6/22 : WORKDIR /device-modbus-go 02:47:12 ---> Running in 07c4934e7c2f 02:47:12 Removing intermediate container 07c4934e7c2f 02:47:12 ---> c99aaba528bc 02:47:12 Step 7/22 : COPY go.mod vendor* ./ 02:47:12 ---> 163317a6cdc1 02:47:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:47:12 ---> Running in e847fb63cca4 02:47:13 Removing intermediate container e847fb63cca4 02:47:13 ---> af16d9fe372d 02:47:13 Step 9/22 : COPY . . 02:47:13 ---> fa48d0e76f63 02:47:13 Step 10/22 : RUN ${MAKE} 02:47:13 ---> Running in 2de53db27575 02:47:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 02:47:35 Removing intermediate container 2de53db27575 02:47:35 ---> 12d420c457da 02:47:35 Step 11/22 : FROM alpine:3.14 02:47:35 3.14: Pulling from library/alpine 02:47:35 c7ed990a2339: Pulling fs layer 02:47:35 c7ed990a2339: Verifying Checksum 02:47:35 c7ed990a2339: Download complete 02:47:35 c7ed990a2339: Pull complete 02:47:35 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 02:47:35 Status: Downloaded newer image for alpine:3.14 02:47:35 ---> dd53f409bf0b 02:47:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:47:35 ---> Running in 3aa46cbb9c2a 02:47:35 Removing intermediate container 3aa46cbb9c2a 02:47:35 ---> 66687346b1f1 02:47:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 02:47:35 ---> Running in 620b1aa1388f 02:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:47:35 (1/1) Installing dumb-init (1.2.5-r1) 02:47:35 Executing busybox-1.33.1-r8.trigger 02:47:35 OK: 6 MiB in 15 packages 02:47:35 Removing intermediate container 620b1aa1388f 02:47:35 ---> 55a9631eb3e6 02:47:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 02:47:35 ---> 20cae200477c 02:47:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 02:47:35 ---> 7f8f31832afc 02:47:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:47:35 ---> 1e73c4d4367e 02:47:35 Step 17/22 : EXPOSE 59901 02:47:35 ---> Running in 21be4934bc87 02:47:35 Removing intermediate container 21be4934bc87 02:47:35 ---> 29305373cd2f 02:47:35 Step 18/22 : ENTRYPOINT ["/device-modbus"] 02:47:35 ---> Running in 9b47ac5a4d9f 02:47:35 Removing intermediate container 9b47ac5a4d9f 02:47:35 ---> fd67d8babd77 02:47:35 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:47:35 ---> Running in d87548de88a4 02:47:35 Removing intermediate container d87548de88a4 02:47:35 ---> e994be96ae81 02:47:35 Step 20/22 : LABEL arch=amd64 02:47:35 ---> Running in 8528d9323aa6 02:47:35 Removing intermediate container 8528d9323aa6 02:47:35 ---> ce039ad396e9 02:47:35 Step 21/22 : LABEL git_sha=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd 02:47:35 ---> Running in f4fef7712ecb 02:47:35 Removing intermediate container f4fef7712ecb 02:47:35 ---> 412bfb05e8ec 02:47:35 Step 22/22 : LABEL version=0.0.0 02:47:35 ---> Running in de3b9fd3db8b 02:47:35 Removing intermediate container de3b9fd3db8b 02:47:35 ---> 680359323ff2 02:47:35 [Warning] One or more build-args [ARCH] were not consumed 02:47:35 Successfully built 680359323ff2 02:47:35 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 02:47:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:36 02:47:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:37 latest: Pulling from edgex-lftools-log-publisher 02:47:37 5eb5b503b376: Pulling fs layer 02:47:37 5c69ac0246d0: Pulling fs layer 02:47:37 ec43610c2a17: Pulling fs layer 02:47:37 3a2ae6a8a46f: Pulling fs layer 02:47:37 33b1e0a273af: Pulling fs layer 02:47:37 5d3b04190fa2: Pulling fs layer 02:47:37 2f39f015ded8: Pulling fs layer 02:47:37 3a2ae6a8a46f: Waiting 02:47:37 33b1e0a273af: Waiting 02:47:37 5d3b04190fa2: Waiting 02:47:37 5c69ac0246d0: Verifying Checksum 02:47:37 5c69ac0246d0: Download complete 02:47:37 3a2ae6a8a46f: Verifying Checksum 02:47:37 3a2ae6a8a46f: Download complete 02:47:37 33b1e0a273af: Verifying Checksum 02:47:37 33b1e0a273af: Download complete 02:47:37 5d3b04190fa2: Verifying Checksum 02:47:37 5d3b04190fa2: Download complete 02:47:37 ec43610c2a17: Verifying Checksum 02:47:37 ec43610c2a17: Download complete 02:47:37 5eb5b503b376: Verifying Checksum 02:47:37 5eb5b503b376: Download complete 02:47:38 2f39f015ded8: Verifying Checksum 02:47:38 2f39f015ded8: Download complete 02:47:38 5eb5b503b376: Pull complete 02:47:38 5c69ac0246d0: Pull complete 02:47:39 ec43610c2a17: Pull complete 02:47:39 3a2ae6a8a46f: Pull complete 02:47:39 33b1e0a273af: Pull complete 02:47:39 5d3b04190fa2: Pull complete 02:47:43 2f39f015ded8: Pull complete 02:47:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:43 prd-ubuntu20.04-docker-8c-8g-3057 does not seem to be running inside a container 02:47:43 $ 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-403 -v /w/workspace/xfoundry_device-modbus-go_PR-403:/w/workspace/xfoundry_device-modbus-go_PR-403:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-403@tmp:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:46 $ docker top 55850486ab45021c89dbb6c7ab279733d43ddc569787ce217ecf35b95930ee24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:46 ---> job-cost.sh 02:47:46 lf-activate-venv: SKIPPING 02:47:46 INFO: No Stack... 02:47:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:48 INFO: Archiving Costs [Pipeline] sh 02:47:48 + cat /w/workspace/xfoundry_device-modbus-go_PR-403/archives/cost.csv 02:47:48 + cut -d, -f6 [Pipeline] lock 02:47:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] 02:47:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] did not exist. Created. 02:47:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:49 + echo total: 0.2199999988079071 [Pipeline] stash 02:47:49 Stashed 1 file(s) [Pipeline] } 02:47:49 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:49 $ docker stop --time=1 55850486ab45021c89dbb6c7ab279733d43ddc569787ce217ecf35b95930ee24 02:47:50 $ docker rm -f --volumes 55850486ab45021c89dbb6c7ab279733d43ddc569787ce217ecf35b95930ee24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:49:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3059 in /w/workspace/xfoundry_device-modbus-go_PR-403 [Pipeline] { [Pipeline] ws 02:49:06 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 02:49:06 Selected Git installation does not exist. Using Default 02:49:06 The recommended git tool is: NONE 02:49:12 using credential edgex-jenkins-ssh 02:49:12 Cloning the remote Git repository 02:49:12 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 02:49:12 > git init /w/workspace/device-modbus-go/1 # timeout=10 02:49:12 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:49:12 > git --version # timeout=10 02:49:12 > git --version # 'git version 2.25.1' 02:49:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:13 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:49:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:49:14 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 02:49:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 02:49:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:49:15 Merging remotes/origin/main commit bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 into PR head commit a3d6c5c3fe6636d0378c96d112b34be3b0f662fd 02:49:15 Merge succeeded, producing a3d6c5c3fe6636d0378c96d112b34be3b0f662fd 02:49:15 Checking out Revision a3d6c5c3fe6636d0378c96d112b34be3b0f662fd (PR-403) 02:49:15 > git config core.sparsecheckout # timeout=10 02:49:15 > git checkout -f a3d6c5c3fe6636d0378c96d112b34be3b0f662fd # timeout=10 02:49:15 > git remote # timeout=10 02:49:15 > git config --get remote.origin.url # timeout=10 02:49:15 using GIT_SSH to set credentials SSH Credentials for GitHub 02:49:15 > git merge bb2f4bd64c3941eb86d6cd8a035d25878e21dc53 # timeout=10 02:49:15 > git rev-parse HEAD^{commit} # timeout=10 02:49:15 > git config core.sparsecheckout # timeout=10 02:49:15 > git checkout -f a3d6c5c3fe6636d0378c96d112b34be3b0f662fd # timeout=10 02:49:19 Commit message: "build(deps): bump device-sdk-go and go-mod dependencies" 02:49:19 > git --version # timeout=10 02:49:19 > git --version # 'git version 2.25.1' 02:49:19 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:49:20 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:20 Dload Upload Total Spent Left Speed 02:49:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 02:49:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:49:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:49:21 + sudo tee /etc/docker/daemon.new 02:49:21 { 02:49:21 "registry-mirrors": [ 02:49:21 "https://nexus3.edgexfoundry.org:10001" 02:49:21 ], 02:49:21 "bip": "10.250.0.254/24", 02:49:21 "hosts": [ 02:49:21 "tcp://0.0.0.0:5555", 02:49:21 "unix:///var/run/docker.sock" 02:49:21 ], 02:49:21 "mtu": 1458, 02:49:21 "selinux-enabled": true, 02:49:21 "seccomp-profile": "/etc/docker/seccomp.json" 02:49:21 } [Pipeline] sh 02:49:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:49:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:40 provisioning config files... 02:49:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config14002334252927157899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:41 ---> docker-login.sh 02:49:41 nexus3.edgexfoundry.org:10001 02:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:42 Configure a credential helper to remove this warning. See 02:49:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:42 02:49:42 Login Succeeded 02:49:42 nexus3.edgexfoundry.org:10002 02:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:43 Configure a credential helper to remove this warning. See 02:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:43 02:49:43 Login Succeeded 02:49:43 nexus3.edgexfoundry.org:10003 02:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:43 Configure a credential helper to remove this warning. See 02:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:43 02:49:43 Login Succeeded 02:49:43 nexus3.edgexfoundry.org:10004 02:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:43 Configure a credential helper to remove this warning. See 02:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:43 02:49:43 Login Succeeded 02:49:43 docker.io 02:49:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:44 Configure a credential helper to remove this warning. See 02:49:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:44 02:49:44 Login Succeeded 02:49:44 ---> docker-login.sh ends [Pipeline] } 02:49:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:49:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:49:44 ========================================================= 02:49:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:49:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:49:45 Sending build context to Docker daemon 3.332MB 02:49:45 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 02:49:45 Step 2/10 : FROM ${BASE} AS builder 02:49:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:49:45 9b18e9b68314: Pulling fs layer 02:49:45 35d82f9e3411: Pulling fs layer 02:49:45 e16973657156: Pulling fs layer 02:49:45 fc693d55d65f: Pulling fs layer 02:49:45 7e9fc2657dce: Pulling fs layer 02:49:45 dda99020689f: Pulling fs layer 02:49:45 db1c61fa0a46: Pulling fs layer 02:49:45 891c053d2c06: Pulling fs layer 02:49:45 dda99020689f: Waiting 02:49:45 db1c61fa0a46: Waiting 02:49:45 fc693d55d65f: Waiting 02:49:45 891c053d2c06: Waiting 02:49:45 7e9fc2657dce: Waiting 02:49:45 e16973657156: Verifying Checksum 02:49:45 e16973657156: Download complete 02:49:45 35d82f9e3411: Verifying Checksum 02:49:45 35d82f9e3411: Download complete 02:49:45 7e9fc2657dce: Verifying Checksum 02:49:45 7e9fc2657dce: Download complete 02:49:45 dda99020689f: Verifying Checksum 02:49:45 dda99020689f: Download complete 02:49:45 9b18e9b68314: Verifying Checksum 02:49:45 9b18e9b68314: Download complete 02:49:46 9b18e9b68314: Pull complete 02:49:47 891c053d2c06: Verifying Checksum 02:49:47 891c053d2c06: Download complete 02:49:47 35d82f9e3411: Pull complete 02:49:47 e16973657156: Pull complete 02:49:48 db1c61fa0a46: Verifying Checksum 02:49:48 db1c61fa0a46: Download complete 02:49:48 fc693d55d65f: Verifying Checksum 02:49:48 fc693d55d65f: Download complete 02:50:01 fc693d55d65f: Pull complete 02:50:01 7e9fc2657dce: Pull complete 02:50:01 dda99020689f: Pull complete 02:50:06 db1c61fa0a46: Pull complete 02:50:07 891c053d2c06: Pull complete 02:50:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:50:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:50:07 ---> f96f9c87975a 02:50:07 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:50:09 ---> Running in 727e353f4165 02:50:10 Removing intermediate container 727e353f4165 02:50:10 ---> 5d2acd976df1 02:50:10 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:50:10 ---> Running in 4e75b7c75a7c 02:50:10 Removing intermediate container 4e75b7c75a7c 02:50:10 ---> bab813666881 02:50:10 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:50:10 ---> Running in 8245af2bcfca 02:50:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:50:13 (1/8) Installing openssh-keygen (9.0_p1-r2) 02:50:13 (2/8) Installing libedit (20210910.3.1-r0) 02:50:13 (3/8) Installing openssh-client-common (9.0_p1-r2) 02:50:13 (4/8) Installing openssh-client-default (9.0_p1-r2) 02:50:13 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 02:50:13 (6/8) Installing openssh-server-common (9.0_p1-r2) 02:50:13 (7/8) Installing openssh-server (9.0_p1-r2) 02:50:13 (8/8) Installing openssh (9.0_p1-r2) 02:50:13 Executing busybox-1.35.0-r17.trigger 02:50:13 OK: 228 MiB in 59 packages 02:50:14 Removing intermediate container 8245af2bcfca 02:50:14 ---> 949bc6a1aa29 02:50:14 Step 6/10 : WORKDIR /device-modbus-go 02:50:14 ---> Running in 1c8d5fb9ef2c 02:50:14 Removing intermediate container 1c8d5fb9ef2c 02:50:14 ---> e49ba991b498 02:50:14 Step 7/10 : COPY go.mod vendor* ./ 02:50:15 ---> 5fb66cf6f504 02:50:15 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:50:15 ---> Running in 197b29e5e459 02:51:23 Removing intermediate container 197b29e5e459 02:51:23 ---> 3c0930cf9071 02:51:23 Step 9/10 : COPY . . 02:51:23 ---> 116798dff6b5 02:51:23 Step 10/10 : RUN ${MAKE} 02:51:23 ---> Running in a3cee68aedc9 02:51:23 noop 02:51:23 Removing intermediate container a3cee68aedc9 02:51:23 ---> 78ac8330da71 02:51:23 Successfully built 78ac8330da71 02:51:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:24 + docker inspect -f . ci-base-image-arm64 02:51:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:24 prd-ubuntu20.04-docker-arm64-4c-16g-3059 does not seem to be running inside a container 02:51:24 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:51:25 $ docker top d89c89ec9ac2e12ccf6723595117d952805dbbefbd549896182ced3a64a6702b -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:26 + go version 02:51:26 go version go1.18.7 linux/arm64 [Pipeline] } 02:51:26 $ docker stop --time=1 d89c89ec9ac2e12ccf6723595117d952805dbbefbd549896182ced3a64a6702b 02:51:28 $ docker rm -f --volumes d89c89ec9ac2e12ccf6723595117d952805dbbefbd549896182ced3a64a6702b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:29 + docker inspect -f . ci-base-image-arm64 02:51:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:29 prd-ubuntu20.04-docker-arm64-4c-16g-3059 does not seem to be running inside a container 02:51:29 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:51:31 $ docker top 4b6300c67d7e5ebb9866b3b0e1f944e1e3a3e9dc7edf8f4829f51069300f4b4f -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:32 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 02:51:33 + make test 02:51:33 go test ./... -coverprofile=coverage.out 02:51:35 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:53:11 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 02:53:11 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.063s coverage: 47.7% of statements 02:53:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:53:11 go vet ./... 02:53:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:53:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:53:30 ./bin/test-attribution-txt.sh 02:53:30 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:53:30 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:53:30 $ docker stop --time=1 4b6300c67d7e5ebb9866b3b0e1f944e1e3a3e9dc7edf8f4829f51069300f4b4f 02:53:32 $ docker rm -f --volumes 4b6300c67d7e5ebb9866b3b0e1f944e1e3a3e9dc7edf8f4829f51069300f4b4f [Pipeline] // withDockerContainer [Pipeline] sh 02:53:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:53:33 Warning: overwriting stash ‘coverage-report’ 02:53:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:53:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:53:35 + ls -al . 02:53:35 total 180 02:53:35 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 02:51 . 02:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:49 .. 02:53:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:49 .dockerignore 02:53:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:49 .git 02:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 .github 02:53:35 -rw-rw-r-- 1 jenkins jenkins 331 Jan 19 02:49 .gitignore 02:53:35 -rw-rw-r-- 1 jenkins jenkins 41 Jan 19 02:49 .golangci.yml 02:53:35 -rw-rw-r-- 1 jenkins jenkins 10017 Jan 19 02:49 Attribution.txt 02:53:35 -rw-rw-r-- 1 jenkins jenkins 11576 Jan 19 02:49 CHANGELOG.md 02:53:35 -rw-rw-r-- 1 jenkins jenkins 1365 Jan 19 02:49 Dockerfile 02:53:35 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 02:49 GOVERNANCE.md 02:53:35 -rw-rw-r-- 1 jenkins jenkins 680 Jan 19 02:49 Jenkinsfile 02:53:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 02:49 LICENSE 02:53:35 -rw-rw-r-- 1 jenkins jenkins 1670 Jan 19 02:49 Makefile 02:53:35 -rw-rw-r-- 1 jenkins jenkins 622 Jan 19 02:49 OWNERS.md 02:53:35 -rw-rw-r-- 1 jenkins jenkins 4061 Jan 19 02:49 README.md 02:53:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:45 VERSION 02:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:49 bin 02:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 cmd 02:53:35 -rw-r--r-- 1 jenkins jenkins 23241 Jan 19 02:53 coverage.out 02:53:35 -rw-rw-r-- 1 jenkins jenkins 3550 Jan 19 02:49 go.mod 02:53:35 -rw-rw-r-- 1 jenkins jenkins 35198 Jan 19 02:49 go.sum 02:53:35 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 02:49 internal 02:53:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:49 simulator 02:53:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:49 snap 02:53:35 -rw-rw-r-- 1 jenkins jenkins 229 Jan 19 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:37 + 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=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd --label arch=arm64 --label version=0.0.0 . 02:53:37 Sending build context to Docker daemon 3.356MB 02:53:37 Step 1/22 : ARG BASE=golang:1.18-alpine3.16 02:53:37 Step 2/22 : FROM ${BASE} AS builder 02:53:37 ---> 78ac8330da71 02:53:37 Step 3/22 : ARG ADD_BUILD_TAGS="" 02:53:37 ---> Running in 82faa76e373f 02:53:37 Removing intermediate container 82faa76e373f 02:53:37 ---> 3a4ececd7c3d 02:53:37 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:53:38 ---> Running in d6249f70bb60 02:53:38 Removing intermediate container d6249f70bb60 02:53:38 ---> d71a5b6fce6a 02:53:38 Step 5/22 : RUN apk add --update --no-cache make git openssh 02:53:38 ---> Running in 57e6376aa638 02:53:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:53:41 OK: 228 MiB in 59 packages 02:53:42 Removing intermediate container 57e6376aa638 02:53:42 ---> 0cc9b42b1ee9 02:53:42 Step 6/22 : WORKDIR /device-modbus-go 02:53:42 ---> Running in 086cd971013d 02:53:42 Removing intermediate container 086cd971013d 02:53:42 ---> 2848aff51d7d 02:53:42 Step 7/22 : COPY go.mod vendor* ./ 02:53:43 ---> 1c37199127b7 02:53:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:53:43 ---> Running in 537ea88a24b6 02:53:47 Removing intermediate container 537ea88a24b6 02:53:47 ---> 1b7b9150f361 02:53:47 Step 9/22 : COPY . . 02:53:49 ---> 5d94db697358 02:53:49 Step 10/22 : RUN ${MAKE} 02:53:49 ---> Running in 74be9e9af016 02:53:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 02:56:27 Removing intermediate container 74be9e9af016 02:56:27 ---> bfe5c9596f73 02:56:27 Step 11/22 : FROM alpine:3.14 02:56:27 3.14: Pulling from library/alpine 02:56:27 90cda3b7c325: Pulling fs layer 02:56:27 90cda3b7c325: Verifying Checksum 02:56:27 90cda3b7c325: Download complete 02:56:27 90cda3b7c325: Pull complete 02:56:27 Digest: sha256:4c869a63e1b7c0722fed1e402a6466610327c3b83bdddb94bd94fb71da7f638a 02:56:27 Status: Downloaded newer image for alpine:3.14 02:56:27 ---> 275902a1839d 02:56:27 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 02:56:27 ---> Running in 496a50c70731 02:56:27 Removing intermediate container 496a50c70731 02:56:27 ---> 477dcf869163 02:56:27 Step 13/22 : RUN apk add --update --no-cache dumb-init 02:56:27 ---> Running in 9589f8e719e4 02:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:56:27 (1/1) Installing dumb-init (1.2.5-r1) 02:56:27 Executing busybox-1.33.1-r8.trigger 02:56:27 OK: 6 MiB in 15 packages 02:56:27 Removing intermediate container 9589f8e719e4 02:56:27 ---> 35e05c438442 02:56:27 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 02:56:27 ---> 5ff3dbaddef9 02:56:27 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 02:56:27 ---> ef783911a6f9 02:56:27 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 02:56:27 ---> c8353aa42051 02:56:27 Step 17/22 : EXPOSE 59901 02:56:27 ---> Running in 8be1b3af82da 02:56:27 Removing intermediate container 8be1b3af82da 02:56:27 ---> bc6e2b78a898 02:56:27 Step 18/22 : ENTRYPOINT ["/device-modbus"] 02:56:27 ---> Running in 70b5ab979aa0 02:56:27 Removing intermediate container 70b5ab979aa0 02:56:27 ---> c3c5986cc4e0 02:56:27 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:56:27 ---> Running in 189876b81c75 02:56:27 Removing intermediate container 189876b81c75 02:56:27 ---> 5fc99efc77dd 02:56:27 Step 20/22 : LABEL arch=arm64 02:56:27 ---> Running in 9e3341b106e6 02:56:27 Removing intermediate container 9e3341b106e6 02:56:27 ---> cde47305c779 02:56:27 Step 21/22 : LABEL git_sha=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd 02:56:27 ---> Running in 153e4814edae 02:56:27 Removing intermediate container 153e4814edae 02:56:27 ---> 3c4ab579728a 02:56:27 Step 22/22 : LABEL version=0.0.0 02:56:27 ---> Running in ef66aa463bb9 02:56:28 Removing intermediate container ef66aa463bb9 02:56:28 ---> eb40f24ecb44 02:56:28 [Warning] One or more build-args [ARCH] were not consumed 02:56:28 Successfully built eb40f24ecb44 02:56:28 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 02:56:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:29 02:56:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:29 arm64: Pulling from edgex-lftools-log-publisher 02:56:29 8998bd30e6a1: Pulling fs layer 02:56:29 04944245beec: Pulling fs layer 02:56:29 699f458cf7ca: Pulling fs layer 02:56:29 765212b225bb: Pulling fs layer 02:56:29 f23df028b6ca: Pulling fs layer 02:56:29 d65c8cfc05b1: Pulling fs layer 02:56:29 2437ff75d9bd: Pulling fs layer 02:56:29 765212b225bb: Waiting 02:56:29 f23df028b6ca: Waiting 02:56:29 2437ff75d9bd: Waiting 02:56:29 d65c8cfc05b1: Waiting 02:56:29 04944245beec: Verifying Checksum 02:56:29 04944245beec: Download complete 02:56:29 765212b225bb: Verifying Checksum 02:56:29 765212b225bb: Download complete 02:56:29 f23df028b6ca: Verifying Checksum 02:56:29 f23df028b6ca: Download complete 02:56:29 d65c8cfc05b1: Verifying Checksum 02:56:29 d65c8cfc05b1: Download complete 02:56:30 699f458cf7ca: Verifying Checksum 02:56:30 699f458cf7ca: Download complete 02:56:31 8998bd30e6a1: Verifying Checksum 02:56:31 8998bd30e6a1: Download complete 02:56:32 2437ff75d9bd: Verifying Checksum 02:56:32 2437ff75d9bd: Download complete 02:56:35 8998bd30e6a1: Pull complete 02:56:36 04944245beec: Pull complete 02:56:38 699f458cf7ca: Pull complete 02:56:38 765212b225bb: Pull complete 02:56:39 f23df028b6ca: Pull complete 02:56:39 d65c8cfc05b1: Pull complete 02:56:54 2437ff75d9bd: Pull complete 02:56:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:56:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:56:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:54 prd-ubuntu20.04-docker-arm64-4c-16g-3059 does not seem to be running inside a container 02:56:54 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:56:57 $ docker top fcc557e286982e2ce34b04cd95597f68caf37ae5443bed0deedc382abd22e438 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:56:58 ---> job-cost.sh 02:56:58 lf-activate-venv: SKIPPING 02:56:58 INFO: No Stack... 02:56:58 INFO: Retrieving Pricing Info for: v3-standard-4 02:56:59 INFO: Archiving Costs [Pipeline] sh 02:57:00 + cut -d, -f6 02:57:00 + cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock 02:57:00 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] 02:57:00 Resource [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] did not exist. Created. 02:57:00 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:57:01 /w/workspace/device-modbus-go/1@tmp/durable-d9aab4b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:57:01 + echo total: 0.10999999940395355 [Pipeline] stash 02:57:01 Warning: overwriting stash ‘stack-cost’ 02:57:01 Stashed 1 file(s) [Pipeline] } 02:57:01 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:57:01 $ docker stop --time=1 fcc557e286982e2ce34b04cd95597f68caf37ae5443bed0deedc382abd22e438 02:57:03 $ docker rm -f --volumes fcc557e286982e2ce34b04cd95597f68caf37ae5443bed0deedc382abd22e438 [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 02:57:04 provisioning config files... 02:57:04 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/config5503459583123172420tmp [Pipeline] { [Pipeline] sh 02:57:04 + set +x 02:57:04 + curl -s https://codecov.io/bash 02:57:04 + bash -s -- 02:57:04 02:57:04 _____ _ 02:57:04 / ____| | | 02:57:04 | | ___ __| | ___ ___ _____ __ 02:57:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:57:04 | |___| (_) | (_| | __/ (_| (_) \ V / 02:57:04 \_____\___/ \__,_|\___|\___\___/ \_/ 02:57:04 Bash-1.0.6 02:57:04 02:57:04 02:57:04 ==> git version 2.25.1 found 02:57:04 ==> 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 02:57:04 Release-Date: 2020-01-08 02:57:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:57:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:57:04 ==> Jenkins CI detected. 02:57:04 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-403 02:57:04 project root: . 02:57:04 --> token set from env 02:57:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:57:04 ==> Running gcov in . (disable via -X gcov) 02:57:04 ==> Python coveragepy not found 02:57:04 ==> Searching for coverage reports in: 02:57:04 + . 02:57:04 -> Found 1 reports 02:57:04 ==> Detecting git/mercurial file structure 02:57:04 ==> Reading reports 02:57:04 + ./coverage.out bytes=23241 02:57:04 ==> Appending adjustments 02:57:04 https://docs.codecov.io/docs/fixing-reports 02:57:05 + Found adjustments 02:57:05 ==> Gzipping contents 02:57:05 4.0K /tmp/codecov.zyCfr5.gz 02:57:05 ==> Uploading reports 02:57:05 url: https://codecov.io 02:57:05 query: branch=PR-403&commit=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=403&job=&cmd_args= 02:57:05 -> Pinging Codecov 02:57:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-403&commit=a3d6c5c3fe6636d0378c96d112b34be3b0f662fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=403&job=&cmd_args= 02:57:05 -> Uploading to 02:57:05 https://storage.googleapis.com/codecov/v4/raw/2023-01-19/55DBCA73C666E3227836607328DD7E49/a3d6c5c3fe6636d0378c96d112b34be3b0f662fd/0d5ef75f-43ab-4112-ba02-b5176e4346e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T025705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a73ec6845db5fa65879869d443eb2b5fa8a3fbd505f2c18c4852130b67e2973c 02:57:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:57:05 Dload Upload Total Spent Left Speed 02:57:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3907 0 0 100 3907 0 14578 --:--:-- --:--:-- --:--:-- 14524 02:57:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/a3d6c5c3fe6636d0378c96d112b34be3b0f662fd [Pipeline] } 02:57:06 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 02:57:07 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-403/archives ] 02:57:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-403/archives 02:57:07 total 16 02:57:07 drwxr-xr-x 3 root root 4096 Jan 19 02:47 . 02:57:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 02:47 .. 02:57:07 drwxr-xr-x 2 root root 4096 Jan 19 02:47 cost 02:57:07 -rw-r--r-- 1 root root 88 Jan 19 02:47 cost.csv 02:57:07 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-403/archives 02:57:07 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-403/archives 02:57:07 total 16 02:57:07 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 02:47 . 02:57:07 drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 02:47 .. 02:57:07 drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 02:47 cost 02:57:07 -rw-r--r-- 1 jenkins jenkins 88 Jan 19 02:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:57:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:57:09 ---> package-listing.sh 02:57:09 ++ facter osfamily 02:57:09 ++ tr '[:upper:]' '[:lower:]' 02:57:09 + OS_FAMILY=debian 02:57:09 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-403 02:57:09 + START_PACKAGES=/tmp/packages_start.txt 02:57:09 + END_PACKAGES=/tmp/packages_end.txt 02:57:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:57:09 + PACKAGES=/tmp/packages_start.txt 02:57:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-403 ']' 02:57:09 + PACKAGES=/tmp/packages_end.txt 02:57:09 + case "${OS_FAMILY}" in 02:57:09 + dpkg -l 02:57:09 + grep '^ii' 02:57:09 + '[' -f /tmp/packages_start.txt ']' 02:57:09 + '[' -f /tmp/packages_end.txt ']' 02:57:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:57:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-403 ']' 02:57:09 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-403/archives/ 02:57:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-403/archives/ [Pipeline] echo 02:57:09 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-403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:57:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:10 prd-ubuntu20.04-docker-8c-8g-3057 does not seem to be running inside a container 02:57:10 $ 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-403/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-403 -v /w/workspace/xfoundry_device-modbus-go_PR-403:/w/workspace/xfoundry_device-modbus-go_PR-403:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-403@tmp:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:57:10 $ docker top 6c7bf86cd8a25b59e9d64a9d062ff90191e423a6861a689933aa847524d2c59a -eo pid,comm [Pipeline] { [Pipeline] sh 02:57:11 + touch /tmp/pre-build-complete [Pipeline] sh 02:57:11 + mkdir -p /var/log/sysstat [Pipeline] sh 02:57:11 + ls /var/log/sa-host 02:57:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:11 provisioning config files... 02:57:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-403@tmp/config3469408342626434980tmp [Pipeline] { [Pipeline] echo 02:57:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:57:12 ---> create-netrc.sh [Pipeline] } 02:57:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:57:12 ---> python-tools-install.sh [Pipeline] echo 02:57:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:57:13 ---> sudo-logs.sh 02:57:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:57:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:57:13 ---> job-cost.sh 02:57:13 lf-activate-venv: SKIPPING 02:57:13 DEBUG: total: 0.2199999988079071 02:57:13 INFO: Retrieving Stack Cost... 02:57:13 INFO: Retrieving Pricing Info for: v3-standard-8 02:57:14 INFO: Archiving Costs [Pipeline] echo 02:57:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:57:14 ---> logs-deploy.sh 02:57:14 lf-activate-venv: SKIPPING 02:57:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-403/1 02:57:14 INFO: archiving workspace using pattern(s): 02:57:15 Archives upload complete. 02:57:15 INFO: archiving logs to Nexus