Pull request #376 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 lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from c2e0f675d3f4f9009a8b9434d51a991f7e5265cd+53d947db5a4f9528d63bb92e74d3c6e84cd7a675 (068f3717d569caffc1336da674f3457995501425) 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-ssh14458402731134284230.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4749253859528210912.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5744354659388868817.key Verifying host key using known hosts file > 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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11707862768894335977.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh3794963831261007638.key Verifying host key using known hosts file > 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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9571358002391713417.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-680 in /w/workspace/xfoundry_device-modbus-go_PR-376 [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-376 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Merge succeeded, producing c2e0f675d3f4f9009a8b9434d51a991f7e5265cd Checking out Revision c2e0f675d3f4f9009a8b9434d51a991f7e5265cd (PR-376) > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:01:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:01:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:01:03 ========================================================= 23:01:03 EdgeX Global Pipelines Version Info 23:01:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:01:04 ------------------- 23:01:04 stable info: 23:01:04 ------------------- 23:01:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:01:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:01:04 Message: update stable to v1.0.239 23:01:05 ------------------- 23:01:05 experimental info: 23:01:05 ------------------- 23:01:05 Commited By: **** collab-it+edgex@linuxfoundation.org 23:01:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:01:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2e0f67 [Pipeline] echo 23:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:06 provisioning config files... 23:01:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config15772676056780401257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:07 ---> docker-login.sh 23:01:07 nexus3.edgexfoundry.org:10001 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 nexus3.edgexfoundry.org:10002 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 nexus3.edgexfoundry.org:10003 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:07 nexus3.edgexfoundry.org:10004 23:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:07 Configure a credential helper to remove this warning. See 23:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:07 23:01:07 Login Succeeded 23:01:08 docker.io 23:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:08 Configure a credential helper to remove this warning. See 23:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:08 23:01:08 Login Succeeded 23:01:08 ---> docker-login.sh ends [Pipeline] } 23:01:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:01:09 + git rev-list -1 --merges c2e0f675d3f4f9009a8b9434d51a991f7e5265cd~1..c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo 23:01:09 -----------> git rev-list -1 --merges c2e0f675d3f4f9009a8b9434d51a991f7e5265cd~1..c2e0f675d3f4f9009a8b9434d51a991f7e5265cd c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [false] [Pipeline] sh 23:01:09 + git log --format=format:%s -1 c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo 23:01:09 ========================================================= 23:01:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:01:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:09 + git log --format=format:%s -1 c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] echo 23:01:09 [semverPrep] GIT_COMMIT: c2e0f675d3f4f9009a8b9434d51a991f7e5265cd, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 23:01:09 [semverPrep] This is not a build commit. [Pipeline] sh 23:01:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:01:10 + grep -v github /etc/ssh/ssh_known_hosts 23:01:10 + [ -e /tmp/ssh_known_hosts ] 23:01:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:01:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:01:10 + sudo tee -a /etc/ssh/ssh_known_hosts 23:01:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:01:10 23:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:01:11 0.1.4: Pulling from edgex-devops/py-git-semver 23:01:11 b85a868b505f: Pulling fs layer 23:01:11 e2be974225ed: Pulling fs layer 23:01:11 339a4e72a1f5: Pulling fs layer 23:01:11 988bab9f4d93: Pulling fs layer 23:01:11 1469e6f7b9e6: Pulling fs layer 23:01:11 eaf3925da568: Pulling fs layer 23:01:11 bab4dde63d76: Pulling fs layer 23:01:11 bde34c3a00c8: Pulling fs layer 23:01:11 b352a97aabf1: Pulling fs layer 23:01:11 4872d77fe225: Pulling fs layer 23:01:11 5851b861e8e6: Pulling fs layer 23:01:11 bab4dde63d76: Waiting 23:01:11 bde34c3a00c8: Waiting 23:01:11 b352a97aabf1: Waiting 23:01:11 1469e6f7b9e6: Waiting 23:01:11 988bab9f4d93: Waiting 23:01:11 4872d77fe225: Waiting 23:01:11 5851b861e8e6: Waiting 23:01:11 eaf3925da568: Waiting 23:01:11 e2be974225ed: Download complete 23:01:11 988bab9f4d93: Verifying Checksum 23:01:11 988bab9f4d93: Download complete 23:01:11 339a4e72a1f5: Verifying Checksum 23:01:11 339a4e72a1f5: Download complete 23:01:11 1469e6f7b9e6: Verifying Checksum 23:01:11 1469e6f7b9e6: Download complete 23:01:11 eaf3925da568: Verifying Checksum 23:01:11 eaf3925da568: Download complete 23:01:11 bde34c3a00c8: Verifying Checksum 23:01:11 bde34c3a00c8: Download complete 23:01:11 b352a97aabf1: Verifying Checksum 23:01:11 b352a97aabf1: Download complete 23:01:11 4872d77fe225: Verifying Checksum 23:01:11 4872d77fe225: Download complete 23:01:11 5851b861e8e6: Verifying Checksum 23:01:11 b85a868b505f: Verifying Checksum 23:01:11 b85a868b505f: Download complete 23:01:11 bab4dde63d76: Verifying Checksum 23:01:11 bab4dde63d76: Download complete 23:01:12 b85a868b505f: Pull complete 23:01:12 e2be974225ed: Pull complete 23:01:13 339a4e72a1f5: Pull complete 23:01:13 988bab9f4d93: Pull complete 23:01:13 1469e6f7b9e6: Pull complete 23:01:13 eaf3925da568: Pull complete 23:01:15 bab4dde63d76: Pull complete 23:01:15 bde34c3a00c8: Pull complete 23:01:15 b352a97aabf1: Pull complete 23:01:15 4872d77fe225: Pull complete 23:01:16 5851b861e8e6: Pull complete 23:01:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:01:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:16 prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container 23:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 23:01:17 $ docker top 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c -eo pid,comm 23:01:17 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). 23:01:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:01:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:01:18 [ssh-agent] Looking for ssh-agent implementation... 23:01:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:01:18 $ docker exec 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent 23:01:18 SSH_AUTH_SOCK=/tmp/ssh-0zPru5skzWIy/agent.32 23:01:18 SSH_AGENT_PID=38 23:01:18 Running ssh-add (command line suppressed) 23:01:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_8167531921790865756.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_8167531921790865756.key) 23:01:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:01:18 + git tag --points-at HEAD [Pipeline] } 23:01:18 $ docker exec --env ******** --env ******** 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent -k 23:01:18 unset SSH_AUTH_SOCK; 23:01:18 unset SSH_AGENT_PID; 23:01:18 echo Agent pid 38 killed; 23:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:01:19 [ssh-agent] Looking for ssh-agent implementation... 23:01:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:01:19 $ docker exec 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent 23:01:19 SSH_AUTH_SOCK=/tmp/ssh-mrXkTrmbE5pr/agent.70 23:01:19 SSH_AGENT_PID=76 23:01:19 Running ssh-add (command line suppressed) 23:01:19 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_17735347826544285011.key (/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/private_key_17735347826544285011.key) 23:01:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:01:19 + git semver init 23:01:19 2022-09-22 23:01:19,912 [run_init] DEBUG init version:0.0.0 force:False 23:01:19 2022-09-22 23:01:19,913 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver 23:01:19 2022-09-22 23:01:19,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-376/.semver 23:01:19 2022-09-22 23:01:19,914 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-376/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376, universal_newlines=False, shell=None, istream=None) 23:01:20 2022-09-22 23:01:20,800 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.git/info/exclude 23:01:20 2022-09-22 23:01:20,800 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 with force:False 23:01:20 2022-09-22 23:01:20,800 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 23:01:20 2022-09-22 23:01:20,805 [execute] INFO git cat-file --batch-check 23:01:20 2022-09-22 23:01:20,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 23:01:20 2022-09-22 23:01:20,811 [execute] INFO git cat-file --batch 23:01:20 2022-09-22 23:01:20,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 23:01:20 2022-09-22 23:01:20,817 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-376/.semver/PR-376 23:01:20 0.0.0 [Pipeline] } 23:01:20 $ docker exec --env ******** --env ******** 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c ssh-agent -k 23:01:21 unset SSH_AUTH_SOCK; 23:01:21 unset SSH_AGENT_PID; 23:01:21 echo Agent pid 76 killed; 23:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:01:21 + git semver [Pipeline] } 23:01:21 $ docker stop --time=1 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c 23:01:23 $ docker rm -f 26af0b7180ee37b5649d76ce006e447e5ff8351763bf6aba9bdd4a1b4e03c46c [Pipeline] // withDockerContainer [Pipeline] sh 23:01:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:01:23 Stashed 1 file(s) [Pipeline] echo 23:01:23 [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 23:01:24 provisioning config files... 23:01:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config10276189703791962915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:24 ---> docker-login.sh 23:01:24 nexus3.edgexfoundry.org:10001 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10002 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10003 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10004 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 docker.io 23:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:25 Configure a credential helper to remove this warning. See 23:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:25 23:01:25 Login Succeeded 23:01:25 ---> docker-login.sh ends [Pipeline] } 23:01:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:25 ========================================================= 23:01:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:01:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:26 + 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 . 23:01:26 Sending build context to Docker daemon 6.172MB 23:01:26 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 23:01:26 Step 2/11 : FROM ${BASE} AS builder 23:01:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:01:26 2408cc74d12b: Pulling fs layer 23:01:26 ea60b727a1ce: Pulling fs layer 23:01:26 30c4a7721957: Pulling fs layer 23:01:26 370296b7ddb6: Pulling fs layer 23:01:26 7c6cee850709: Pulling fs layer 23:01:26 39a5fcdaea64: Pulling fs layer 23:01:26 d94ebbe4e438: Pulling fs layer 23:01:26 bcfd1f05c69d: Pulling fs layer 23:01:26 59ccb84bbe0f: Pulling fs layer 23:01:26 d94ebbe4e438: Waiting 23:01:26 7c6cee850709: Waiting 23:01:26 39a5fcdaea64: Waiting 23:01:26 bcfd1f05c69d: Waiting 23:01:26 370296b7ddb6: Waiting 23:01:26 59ccb84bbe0f: Waiting 23:01:26 30c4a7721957: Download complete 23:01:26 ea60b727a1ce: Verifying Checksum 23:01:26 ea60b727a1ce: Download complete 23:01:26 7c6cee850709: Verifying Checksum 23:01:26 7c6cee850709: Download complete 23:01:26 39a5fcdaea64: Verifying Checksum 23:01:26 39a5fcdaea64: Download complete 23:01:26 2408cc74d12b: Download complete 23:01:26 d94ebbe4e438: Verifying Checksum 23:01:26 d94ebbe4e438: Download complete 23:01:26 2408cc74d12b: Pull complete 23:01:26 ea60b727a1ce: Pull complete 23:01:26 30c4a7721957: Pull complete 23:01:27 59ccb84bbe0f: Verifying Checksum 23:01:27 59ccb84bbe0f: Download complete 23:01:27 bcfd1f05c69d: Verifying Checksum 23:01:27 bcfd1f05c69d: Download complete 23:01:27 370296b7ddb6: Verifying Checksum 23:01:27 370296b7ddb6: Download complete 23:01:31 370296b7ddb6: Pull complete 23:01:31 7c6cee850709: Pull complete 23:01:31 39a5fcdaea64: Pull complete 23:01:31 d94ebbe4e438: Pull complete 23:01:34 bcfd1f05c69d: Pull complete 23:01:34 59ccb84bbe0f: Pull complete 23:01:34 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:01:34 ---> a4fb48ad2a94 23:01:34 Step 3/11 : ARG ADD_BUILD_TAGS="" 23:01:36 ---> Running in 539eae019ee0 23:01:36 Removing intermediate container 539eae019ee0 23:01:36 ---> 370496654cdd 23:01:36 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:01:36 ---> Running in 5d9f8dd5a25a 23:01:36 Removing intermediate container 5d9f8dd5a25a 23:01:36 ---> f89aeb5a4380 23:01:36 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:36 ---> Running in adc267d05b6b 23:01:37 Removing intermediate container adc267d05b6b 23:01:37 ---> e22730328b93 23:01:37 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:01:37 ---> Running in 34565b90c248 23:01:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:01:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:01:38 (1/8) Installing openssh-keygen (9.0_p1-r2) 23:01:38 (2/8) Installing libedit (20210910.3.1-r0) 23:01:38 (3/8) Installing openssh-client-common (9.0_p1-r2) 23:01:38 (4/8) Installing openssh-client-default (9.0_p1-r2) 23:01:38 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 23:01:38 (6/8) Installing openssh-server-common (9.0_p1-r2) 23:01:39 Still waiting to schedule task 23:01:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:01:39 (7/8) Installing openssh-server (9.0_p1-r2) 23:01:39 (8/8) Installing openssh (9.0_p1-r2) 23:01:39 Executing busybox-1.35.0-r13.trigger 23:01:39 OK: 217 MiB in 59 packages 23:01:39 Removing intermediate container 34565b90c248 23:01:39 ---> 5f61143957d8 23:01:39 Step 7/11 : WORKDIR /device-modbus-go 23:01:39 ---> Running in 42befec48604 23:01:40 Removing intermediate container 42befec48604 23:01:40 ---> 52911a7eaac4 23:01:40 Step 8/11 : COPY go.mod vendor* ./ 23:01:40 ---> 9d7521a56471 23:01:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:40 ---> Running in 9c5057fec9f9 23:01:55 Removing intermediate container 9c5057fec9f9 23:01:55 ---> 6a5f733095a0 23:01:55 Step 10/11 : COPY . . 23:01:55 ---> 32e8078adeb0 23:01:55 Step 11/11 : RUN ${MAKE} 23:01:55 ---> Running in 8cb7ae7f12fe 23:01:55 noop 23:01:55 Removing intermediate container 8cb7ae7f12fe 23:01:55 ---> 8095c9970a4f 23:01:55 Successfully built 8095c9970a4f 23:01:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:56 + docker inspect -f . ci-base-image-x86_64 23:01:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:56 prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container 23:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 23:01:56 $ docker top 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:57 + go version 23:01:57 go version go1.18.3 linux/amd64 [Pipeline] } 23:01:57 $ docker stop --time=1 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 23:01:58 $ docker rm -f 850738dc2c1e5ab700be2fc77e692c6eff039c5fc642572beec59031b905f580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:59 + docker inspect -f . ci-base-image-x86_64 23:01:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:59 prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container 23:01:59 $ 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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 23:01:59 $ docker top 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:00 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] fileExists [Pipeline] sh 23:02:00 + make test 23:02:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:02:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:02:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:02:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.016s coverage: 47.7% of statements 23:02:17 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." 23:02:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:02:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:02:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:02:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:02:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:02:20 $ docker stop --time=1 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 23:02:22 $ docker rm -f 9076806c5b6670c62ba52d3cb880441c21fbdc0ade09b501f708c28019dbde37 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:02:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:02:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:02:23 + ls -al . 23:02:23 total 188 23:02:23 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:02 . 23:02:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 .. 23:02:23 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:00 .dockerignore 23:02:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:02 .git 23:02:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 .github 23:02:23 -rw-rw-r-- 1 jenkins jenkins 331 Sep 22 23:00 .gitignore 23:02:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:00 .golangci.yml 23:02:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:01 .semver 23:02:23 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 22 23:00 Attribution.txt 23:02:23 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 22 23:00 CHANGELOG.md 23:02:23 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 22 23:00 Dockerfile 23:02:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:00 GOVERNANCE.md 23:02:23 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 23:00 Jenkinsfile 23:02:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:00 LICENSE 23:02:23 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 22 23:00 Makefile 23:02:23 -rw-rw-r-- 1 jenkins jenkins 622 Sep 22 23:00 OWNERS.md 23:02:23 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 22 23:00 README.md 23:02:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:01 VERSION 23:02:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 bin 23:02:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 cmd 23:02:23 -rw-r--r-- 1 jenkins jenkins 23241 Sep 22 23:02 coverage.out 23:02:23 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 22 23:00 go.mod 23:02:23 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 22 23:00 go.sum 23:02:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 internal 23:02:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 simulator 23:02:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 snap 23:02:23 -rw-rw-r-- 1 jenkins jenkins 229 Sep 22 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:24 + 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=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd --label arch=amd64 --label version=0.0.0 . 23:02:24 Sending build context to Docker daemon 6.196MB 23:02:24 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:02:24 Step 2/24 : FROM ${BASE} AS builder 23:02:24 ---> 8095c9970a4f 23:02:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:02:24 ---> Running in 484772a033c3 23:02:24 Removing intermediate container 484772a033c3 23:02:24 ---> d8f81d2c34ff 23:02:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:02:24 ---> Running in 04be31be8772 23:02:24 Removing intermediate container 04be31be8772 23:02:24 ---> cafee02c8235 23:02:24 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:24 ---> Running in 6736b303ce42 23:02:25 Removing intermediate container 6736b303ce42 23:02:25 ---> 19a565f459ab 23:02:25 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:02:25 ---> Running in 88e0770ed7d9 23:02:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:02:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:02:26 OK: 217 MiB in 59 packages 23:02:27 Removing intermediate container 88e0770ed7d9 23:02:27 ---> 7c82def087be 23:02:27 Step 7/24 : WORKDIR /device-modbus-go 23:02:27 ---> Running in 20fad8caa4e0 23:02:27 Removing intermediate container 20fad8caa4e0 23:02:27 ---> 15039f4d5bc4 23:02:27 Step 8/24 : COPY go.mod vendor* ./ 23:02:27 ---> b977ec107895 23:02:27 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:27 ---> Running in b5b2b41bf5e6 23:02:28 Removing intermediate container b5b2b41bf5e6 23:02:28 ---> d31a7defd62f 23:02:28 Step 10/24 : COPY . . 23:02:28 ---> 5aef227a9f33 23:02:28 Step 11/24 : RUN ${MAKE} 23:02:28 ---> Running in a6e0f0477b3c 23:02:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 23:02:51 Removing intermediate container a6e0f0477b3c 23:02:51 ---> 7ec5c2e3fc6f 23:02:51 Step 12/24 : FROM alpine:3.14 23:02:51 3.14: Pulling from library/alpine 23:02:51 c7ed990a2339: Pulling fs layer 23:02:51 c7ed990a2339: Verifying Checksum 23:02:51 c7ed990a2339: Download complete 23:02:51 c7ed990a2339: Pull complete 23:02:51 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 23:02:51 Status: Downloaded newer image for alpine:3.14 23:02:51 ---> dd53f409bf0b 23:02:51 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:02:51 ---> Running in d82361f1311b 23:02:51 Removing intermediate container d82361f1311b 23:02:51 ---> b7383b7491cc 23:02:51 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:51 ---> Running in f085a9fa1edb 23:02:51 Removing intermediate container f085a9fa1edb 23:02:51 ---> 7369b2874747 23:02:51 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:02:51 ---> Running in d514a1a69bae 23:02:51 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:02:51 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:02:51 (1/6) Installing dumb-init (1.2.5-r1) 23:02:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:02:51 (3/6) Installing libsodium (1.0.18-r0) 23:02:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:02:52 (5/6) Installing libzmq (4.3.4-r0) 23:02:52 (6/6) Installing zeromq (4.3.4-r0) 23:02:52 Executing busybox-1.33.1-r8.trigger 23:02:52 OK: 8 MiB in 20 packages 23:02:53 Removing intermediate container d514a1a69bae 23:02:53 ---> 81cffcc2c668 23:02:53 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 23:02:53 ---> ed800a52af29 23:02:53 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 23:02:53 ---> e3f03a823c12 23:02:53 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:02:53 ---> 9f12f5f37ebf 23:02:53 Step 19/24 : EXPOSE 59901 23:02:53 ---> Running in 690f8cb22c5b 23:02:54 Removing intermediate container 690f8cb22c5b 23:02:54 ---> d93c20b5b0a3 23:02:54 Step 20/24 : ENTRYPOINT ["/device-modbus"] 23:02:54 ---> Running in a2482eb581a4 23:02:54 Removing intermediate container a2482eb581a4 23:02:54 ---> 860ee55da9ab 23:02:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:02:54 ---> Running in 547aebf96306 23:02:54 Removing intermediate container 547aebf96306 23:02:54 ---> c90e8cb96019 23:02:54 Step 22/24 : LABEL arch=amd64 23:02:54 ---> Running in 8298f92543cb 23:02:54 Removing intermediate container 8298f92543cb 23:02:54 ---> 8fa688620306 23:02:54 Step 23/24 : LABEL git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd 23:02:54 ---> Running in 4cec92b25396 23:02:54 Removing intermediate container 4cec92b25396 23:02:54 ---> ee75bc8e0e1e 23:02:54 Step 24/24 : LABEL version=0.0.0 23:02:54 ---> Running in a0e07fdd4857 23:02:54 Removing intermediate container a0e07fdd4857 23:02:54 ---> e8401c360027 23:02:54 [Warning] One or more build-args [ARCH] were not consumed 23:02:54 Successfully built e8401c360027 23:02:54 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 23:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:55 23:02:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:55 latest: Pulling from edgex-lftools-log-publisher 23:02:55 5eb5b503b376: Pulling fs layer 23:02:55 5c69ac0246d0: Pulling fs layer 23:02:55 ec43610c2a17: Pulling fs layer 23:02:55 3a2ae6a8a46f: Pulling fs layer 23:02:55 33b1e0a273af: Pulling fs layer 23:02:55 5d3b04190fa2: Pulling fs layer 23:02:55 2f39f015ded8: Pulling fs layer 23:02:55 3a2ae6a8a46f: Waiting 23:02:55 33b1e0a273af: Waiting 23:02:55 2f39f015ded8: Waiting 23:02:55 5d3b04190fa2: Waiting 23:02:55 5c69ac0246d0: Verifying Checksum 23:02:55 5c69ac0246d0: Download complete 23:02:55 3a2ae6a8a46f: Verifying Checksum 23:02:55 3a2ae6a8a46f: Download complete 23:02:56 33b1e0a273af: Verifying Checksum 23:02:56 33b1e0a273af: Download complete 23:02:56 ec43610c2a17: Verifying Checksum 23:02:56 ec43610c2a17: Download complete 23:02:56 5d3b04190fa2: Verifying Checksum 23:02:56 5d3b04190fa2: Download complete 23:02:56 5eb5b503b376: Verifying Checksum 23:02:56 5eb5b503b376: Download complete 23:02:56 2f39f015ded8: Download complete 23:02:57 5eb5b503b376: Pull complete 23:02:57 5c69ac0246d0: Pull complete 23:02:58 ec43610c2a17: Pull complete 23:02:58 3a2ae6a8a46f: Pull complete 23:02:58 33b1e0a273af: Pull complete 23:02:58 5d3b04190fa2: Pull complete 23:03:03 2f39f015ded8: Pull complete 23:03:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:03:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:03 prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container 23:03:03 $ 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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 23:03:05 $ docker top 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:03:06 ---> job-cost.sh 23:03:06 lf-activate-venv: SKIPPING 23:03:06 INFO: No Stack... 23:03:06 INFO: Retrieving Pricing Info for: v3-standard-8 23:03:06 INFO: Archiving Costs [Pipeline] sh 23:03:07 + cat /w/workspace/xfoundry_device-modbus-go_PR-376/archives/cost.csv 23:03:07 + cut -d, -f6 [Pipeline] lock 23:03:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] 23:03:07 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] did not exist. Created. 23:03:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:03:07 + echo total: 0.2199999988079071 [Pipeline] stash 23:03:07 Stashed 1 file(s) [Pipeline] } 23:03:07 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:03:07 $ docker stop --time=1 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 23:03:08 $ docker rm -f 7ed011177ef35844f6d1cda6eca8be67f8b4ac684c3f0a5b974a56d5ef0731b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:04:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-683 in /w/workspace/xfoundry_device-modbus-go_PR-376 [Pipeline] { [Pipeline] ws 23:04:50 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 23:04:50 Selected Git installation does not exist. Using Default 23:04:50 The recommended git tool is: NONE 23:04:55 using credential edgex-jenkins-ssh 23:04:56 Cloning the remote Git repository 23:04:56 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 23:04:56 > git init /w/workspace/device-modbus-go/1 # timeout=10 23:04:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:04:56 > git --version # timeout=10 23:04:56 > git --version # 'git version 2.25.1' 23:04:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:56 Verifying host key using known hosts file 23:04:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:04:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:04:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:59 Merging remotes/origin/main commit 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 into PR head commit c2e0f675d3f4f9009a8b9434d51a991f7e5265cd 23:04:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 23:04:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 23:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:58 Verifying host key using known hosts file 23:04:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:04:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:04:59 > git config core.sparsecheckout # timeout=10 23:04:59 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 23:04:59 > git remote # timeout=10 23:04:59 > git config --get remote.origin.url # timeout=10 23:04:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:59 Verifying host key using known hosts file 23:04:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:04:59 > git merge 53d947db5a4f9528d63bb92e74d3c6e84cd7a675 # timeout=10 23:04:59 > git rev-parse HEAD^{commit} # timeout=10 23:04:59 Merge succeeded, producing c2e0f675d3f4f9009a8b9434d51a991f7e5265cd 23:04:59 Checking out Revision c2e0f675d3f4f9009a8b9434d51a991f7e5265cd (PR-376) 23:04:59 > git config core.sparsecheckout # timeout=10 23:04:59 > git checkout -f c2e0f675d3f4f9009a8b9434d51a991f7e5265cd # timeout=10 23:05:03 Commit message: "build: Add option to build Service with NATS Capability" 23:05:03 > git --version # timeout=10 23:05:03 > git --version # 'git version 2.25.1' 23:05:03 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:05:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:05:04 Dload Upload Total Spent Left Speed 23:05:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 23:05:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:05:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:05:05 + sudo tee /etc/docker/daemon.new 23:05:05 { 23:05:05 "registry-mirrors": [ 23:05:05 "https://nexus3.edgexfoundry.org:10001" 23:05:05 ], 23:05:05 "bip": "10.250.0.254/24", 23:05:05 "hosts": [ 23:05:05 "tcp://0.0.0.0:5555", 23:05:05 "unix:///var/run/docker.sock" 23:05:05 ], 23:05:05 "mtu": 1458, 23:05:05 "selinux-enabled": true, 23:05:05 "seccomp-profile": "/etc/docker/seccomp.json" 23:05:05 } [Pipeline] sh 23:05:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:05:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:05:24 provisioning config files... 23:05:24 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10792461342537075716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:05:24 ---> docker-login.sh 23:05:24 nexus3.edgexfoundry.org:10001 23:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:25 Configure a credential helper to remove this warning. See 23:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:25 23:05:25 Login Succeeded 23:05:25 nexus3.edgexfoundry.org:10002 23:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:25 Configure a credential helper to remove this warning. See 23:05:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:25 23:05:25 Login Succeeded 23:05:25 nexus3.edgexfoundry.org:10003 23:05:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:26 Configure a credential helper to remove this warning. See 23:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:26 23:05:26 Login Succeeded 23:05:26 nexus3.edgexfoundry.org:10004 23:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:26 Configure a credential helper to remove this warning. See 23:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:26 23:05:26 Login Succeeded 23:05:26 docker.io 23:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:05:27 Configure a credential helper to remove this warning. See 23:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:05:27 23:05:27 Login Succeeded 23:05:27 ---> docker-login.sh ends [Pipeline] } 23:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:05:27 ========================================================= 23:05:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:05:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:27 + 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 . 23:05:28 Sending build context to Docker daemon 3.224MB 23:05:28 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 23:05:28 Step 2/11 : FROM ${BASE} AS builder 23:05:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:05:28 b3c136eddcbf: Pulling fs layer 23:05:28 c0a3192eca97: Pulling fs layer 23:05:28 a050256f5b6f: Pulling fs layer 23:05:28 656be50a0ddc: Pulling fs layer 23:05:28 2bbca73fdf42: Pulling fs layer 23:05:28 46d945488cbd: Pulling fs layer 23:05:28 8a5474983e97: Pulling fs layer 23:05:28 329c88fbcd65: Pulling fs layer 23:05:28 656be50a0ddc: Waiting 23:05:28 46d945488cbd: Waiting 23:05:28 2bbca73fdf42: Waiting 23:05:28 8a5474983e97: Waiting 23:05:28 329c88fbcd65: Waiting 23:05:28 a050256f5b6f: Verifying Checksum 23:05:28 a050256f5b6f: Download complete 23:05:28 c0a3192eca97: Verifying Checksum 23:05:28 c0a3192eca97: Download complete 23:05:28 2bbca73fdf42: Download complete 23:05:28 46d945488cbd: Verifying Checksum 23:05:28 46d945488cbd: Download complete 23:05:28 b3c136eddcbf: Verifying Checksum 23:05:28 b3c136eddcbf: Download complete 23:05:29 b3c136eddcbf: Pull complete 23:05:29 329c88fbcd65: Verifying Checksum 23:05:29 329c88fbcd65: Download complete 23:05:30 c0a3192eca97: Pull complete 23:05:30 a050256f5b6f: Pull complete 23:05:30 8a5474983e97: Verifying Checksum 23:05:30 8a5474983e97: Download complete 23:05:31 656be50a0ddc: Verifying Checksum 23:05:31 656be50a0ddc: Download complete 23:05:43 656be50a0ddc: Pull complete 23:05:43 2bbca73fdf42: Pull complete 23:05:43 46d945488cbd: Pull complete 23:05:49 8a5474983e97: Pull complete 23:05:51 329c88fbcd65: Pull complete 23:05:51 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:05:51 ---> ff4287adb874 23:05:51 Step 3/11 : ARG ADD_BUILD_TAGS="" 23:05:53 ---> Running in 8c15dce5dfcc 23:05:53 Removing intermediate container 8c15dce5dfcc 23:05:53 ---> b21402f89023 23:05:53 Step 4/11 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:05:53 ---> Running in a68d3af358b5 23:05:53 Removing intermediate container a68d3af358b5 23:05:53 ---> 020b8d2165c2 23:05:53 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:05:53 ---> Running in 02dce3699947 23:05:55 Removing intermediate container 02dce3699947 23:05:55 ---> 098b49d3be8c 23:05:55 Step 6/11 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:05:55 ---> Running in 5424aff06247 23:05:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:05:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:05:58 (1/8) Installing openssh-keygen (9.0_p1-r2) 23:05:58 (2/8) Installing libedit (20210910.3.1-r0) 23:05:58 (3/8) Installing openssh-client-common (9.0_p1-r2) 23:05:58 (4/8) Installing openssh-client-default (9.0_p1-r2) 23:05:58 (5/8) Installing openssh-sftp-server (9.0_p1-r2) 23:05:59 (6/8) Installing openssh-server-common (9.0_p1-r2) 23:05:59 (7/8) Installing openssh-server (9.0_p1-r2) 23:05:59 (8/8) Installing openssh (9.0_p1-r2) 23:05:59 Executing busybox-1.35.0-r13.trigger 23:05:59 OK: 228 MiB in 59 packages 23:06:00 Removing intermediate container 5424aff06247 23:06:00 ---> 1483b4070ad9 23:06:00 Step 7/11 : WORKDIR /device-modbus-go 23:06:00 ---> Running in e9115f6fa756 23:06:00 Removing intermediate container e9115f6fa756 23:06:00 ---> 420e1af0f54e 23:06:00 Step 8/11 : COPY go.mod vendor* ./ 23:06:01 ---> c9813b739198 23:06:01 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:06:01 ---> Running in 97b4b8c89b57 23:06:48 Removing intermediate container 97b4b8c89b57 23:06:48 ---> aa6f9edf28a7 23:06:48 Step 10/11 : COPY . . 23:06:49 ---> 0be96331b973 23:06:49 Step 11/11 : RUN ${MAKE} 23:06:49 ---> Running in 9bf378dede38 23:06:50 noop 23:06:50 Removing intermediate container 9bf378dede38 23:06:50 ---> a1d4c0b7bad8 23:06:50 Successfully built a1d4c0b7bad8 23:06:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:51 + docker inspect -f . ci-base-image-arm64 23:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container 23:06:51 $ 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 23:06:52 $ docker top daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:53 + go version 23:06:53 go version go1.18.3 linux/arm64 [Pipeline] } 23:06:53 $ docker stop --time=1 daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 23:06:55 $ docker rm -f daaa93a32efb964dbada06f615b0cbe522e9c1425da3e0eb2692b97be26bd263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:56 + docker inspect -f . ci-base-image-arm64 23:06:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:56 prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container 23:06:56 $ 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 23:06:57 $ docker top 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:58 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 23:06:58 + make test 23:06:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:07:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 23:08:36 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 23:08:36 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.101s coverage: 47.7% of statements 23:08:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:08:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:08:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:08:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:08:49 ./bin/test-attribution-txt.sh [Pipeline] echo 23:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:08:49 $ docker stop --time=1 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 23:08:51 $ docker rm -f 84033cf74e78b76af5d1dbf0fc16fb136b47acc92221bc3e8984f59624aa3bc1 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:08:52 Warning: overwriting stash ‘coverage-report’ 23:08:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:08:53 + ls -al . 23:08:53 total 184 23:08:53 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:06 . 23:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:04 .. 23:08:53 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:04 .dockerignore 23:08:53 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:04 .git 23:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 .github 23:08:53 -rw-rw-r-- 1 jenkins jenkins 331 Sep 22 23:04 .gitignore 23:08:53 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:04 .golangci.yml 23:08:53 -rw-rw-r-- 1 jenkins jenkins 10121 Sep 22 23:04 Attribution.txt 23:08:53 -rw-rw-r-- 1 jenkins jenkins 10001 Sep 22 23:04 CHANGELOG.md 23:08:53 -rw-rw-r-- 1 jenkins jenkins 1606 Sep 22 23:04 Dockerfile 23:08:53 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:04 GOVERNANCE.md 23:08:53 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 23:04 Jenkinsfile 23:08:53 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:04 LICENSE 23:08:53 -rw-rw-r-- 1 jenkins jenkins 2101 Sep 22 23:04 Makefile 23:08:53 -rw-rw-r-- 1 jenkins jenkins 622 Sep 22 23:04 OWNERS.md 23:08:53 -rw-rw-r-- 1 jenkins jenkins 4061 Sep 22 23:04 README.md 23:08:53 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:01 VERSION 23:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:04 bin 23:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 cmd 23:08:53 -rw-r--r-- 1 jenkins jenkins 23241 Sep 22 23:08 coverage.out 23:08:53 -rw-rw-r-- 1 jenkins jenkins 3643 Sep 22 23:04 go.mod 23:08:53 -rw-rw-r-- 1 jenkins jenkins 38287 Sep 22 23:04 go.sum 23:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:04 internal 23:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:04 simulator 23:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:04 snap 23:08:53 -rw-rw-r-- 1 jenkins jenkins 229 Sep 22 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:54 + 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=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd --label arch=arm64 --label version=0.0.0 . 23:08:54 Sending build context to Docker daemon 3.248MB 23:08:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:08:54 Step 2/24 : FROM ${BASE} AS builder 23:08:54 ---> a1d4c0b7bad8 23:08:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:08:54 ---> Running in c124ee086402 23:08:55 Removing intermediate container c124ee086402 23:08:55 ---> 0916a323e27b 23:08:55 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:08:55 ---> Running in 1dc77ae587ec 23:08:55 Removing intermediate container 1dc77ae587ec 23:08:55 ---> c94a9c78fd39 23:08:55 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:08:55 ---> Running in e2e3db208ef8 23:08:57 Removing intermediate container e2e3db208ef8 23:08:57 ---> 1ad0b70be6d9 23:08:57 Step 6/24 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 23:08:57 ---> Running in 038ee54ad533 23:08:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:08:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:09:00 OK: 228 MiB in 59 packages 23:09:01 Removing intermediate container 038ee54ad533 23:09:01 ---> 049bb524d89d 23:09:01 Step 7/24 : WORKDIR /device-modbus-go 23:09:01 ---> Running in d9df76319717 23:09:01 Removing intermediate container d9df76319717 23:09:01 ---> 06f2a7d9e6c7 23:09:01 Step 8/24 : COPY go.mod vendor* ./ 23:09:02 ---> 7814bc4b90b0 23:09:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:02 ---> Running in e27d0e340e98 23:09:04 Removing intermediate container e27d0e340e98 23:09:04 ---> 3929f07a3c2d 23:09:04 Step 10/24 : COPY . . 23:09:04 ---> 03a735d79f05 23:09:04 Step 11/24 : RUN ${MAKE} 23:09:04 ---> Running in c2bcfdce4d71 23:09:05 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 23:11:42 Removing intermediate container c2bcfdce4d71 23:11:42 ---> b86661c53928 23:11:42 Step 12/24 : FROM alpine:3.14 23:11:42 3.14: Pulling from library/alpine 23:11:42 90cda3b7c325: Pulling fs layer 23:11:42 90cda3b7c325: Verifying Checksum 23:11:42 90cda3b7c325: Download complete 23:11:42 90cda3b7c325: Pull complete 23:11:42 Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c 23:11:42 Status: Downloaded newer image for alpine:3.14 23:11:42 ---> 376ba31ae3da 23:11:42 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 23:11:42 ---> Running in 4c198fe5b8d4 23:11:42 Removing intermediate container 4c198fe5b8d4 23:11:42 ---> c7e21ea95e03 23:11:42 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:42 ---> Running in d7595c27a1aa 23:11:43 Removing intermediate container d7595c27a1aa 23:11:43 ---> 543d616734f0 23:11:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:11:43 ---> Running in 4d71bb97c338 23:11:44 fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:11:45 fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:11:46 (1/6) Installing dumb-init (1.2.5-r1) 23:11:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:11:46 (3/6) Installing libsodium (1.0.18-r0) 23:11:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:11:46 (5/6) Installing libzmq (4.3.4-r0) 23:11:47 (6/6) Installing zeromq (4.3.4-r0) 23:11:47 Executing busybox-1.33.1-r8.trigger 23:11:47 OK: 8 MiB in 20 packages 23:11:48 Removing intermediate container 4d71bb97c338 23:11:48 ---> fb09eb52d833 23:11:48 Step 16/24 : COPY --from=builder /device-modbus-go/cmd / 23:11:49 ---> 03a85e209ca7 23:11:49 Step 17/24 : COPY --from=builder /device-modbus-go/LICENSE / 23:11:49 ---> ef36057ad320 23:11:49 Step 18/24 : COPY --from=builder /device-modbus-go/Attribution.txt / 23:11:50 ---> b6ecf45bd697 23:11:50 Step 19/24 : EXPOSE 59901 23:11:50 ---> Running in fe1890bdc272 23:11:50 Removing intermediate container fe1890bdc272 23:11:50 ---> 1cd5ff907ee6 23:11:50 Step 20/24 : ENTRYPOINT ["/device-modbus"] 23:11:50 ---> Running in 6b80780e8446 23:11:50 Removing intermediate container 6b80780e8446 23:11:50 ---> 0b010944778f 23:11:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:11:51 ---> Running in 84eb4f415e69 23:11:51 Removing intermediate container 84eb4f415e69 23:11:51 ---> ffd6692f528b 23:11:51 Step 22/24 : LABEL arch=arm64 23:11:51 ---> Running in fdc06fc74926 23:11:51 Removing intermediate container fdc06fc74926 23:11:51 ---> efccd97d894e 23:11:51 Step 23/24 : LABEL git_sha=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd 23:11:51 ---> Running in 084b9144afc4 23:11:52 Removing intermediate container 084b9144afc4 23:11:52 ---> b09039450763 23:11:52 Step 24/24 : LABEL version=0.0.0 23:11:52 ---> Running in 68a2eff916c0 23:11:52 Removing intermediate container 68a2eff916c0 23:11:52 ---> 0e78747155ce 23:11:52 [Warning] One or more build-args [ARCH] were not consumed 23:11:52 Successfully built 0e78747155ce 23:11:52 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 23:11:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:11:53 23:11:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:11:53 arm64: Pulling from edgex-lftools-log-publisher 23:11:53 8998bd30e6a1: Pulling fs layer 23:11:53 04944245beec: Pulling fs layer 23:11:53 699f458cf7ca: Pulling fs layer 23:11:53 765212b225bb: Pulling fs layer 23:11:53 f23df028b6ca: Pulling fs layer 23:11:53 d65c8cfc05b1: Pulling fs layer 23:11:53 2437ff75d9bd: Pulling fs layer 23:11:53 f23df028b6ca: Waiting 23:11:53 d65c8cfc05b1: Waiting 23:11:53 2437ff75d9bd: Waiting 23:11:53 765212b225bb: Waiting 23:11:54 04944245beec: Verifying Checksum 23:11:54 04944245beec: Download complete 23:11:54 765212b225bb: Verifying Checksum 23:11:54 765212b225bb: Download complete 23:11:54 f23df028b6ca: Verifying Checksum 23:11:54 f23df028b6ca: Download complete 23:11:54 d65c8cfc05b1: Verifying Checksum 23:11:54 d65c8cfc05b1: Download complete 23:11:54 699f458cf7ca: Verifying Checksum 23:11:54 699f458cf7ca: Download complete 23:11:54 8998bd30e6a1: Verifying Checksum 23:11:54 8998bd30e6a1: Download complete 23:11:57 2437ff75d9bd: Verifying Checksum 23:11:57 2437ff75d9bd: Download complete 23:11:58 8998bd30e6a1: Pull complete 23:11:58 04944245beec: Pull complete 23:12:00 699f458cf7ca: Pull complete 23:12:00 765212b225bb: Pull complete 23:12:01 f23df028b6ca: Pull complete 23:12:01 d65c8cfc05b1: Pull complete 23:12:16 2437ff75d9bd: Pull complete 23:12:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-683 does not seem to be running inside a container 23:12:16 $ 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 23:12:19 $ docker top 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:20 ---> job-cost.sh 23:12:20 lf-activate-venv: SKIPPING 23:12:20 INFO: No Stack... 23:12:20 INFO: Retrieving Pricing Info for: v3-standard-4 23:12:21 INFO: Archiving Costs [Pipeline] sh 23:12:21 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 23:12:21 + cut -d, -f6 [Pipeline] lock 23:12:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] 23:12:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] did not exist. Created. 23:12:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:12:22 /w/workspace/device-modbus-go/1@tmp/durable-a104e55c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:12:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:12:22 Warning: overwriting stash ‘stack-cost’ 23:12:22 Stashed 1 file(s) [Pipeline] } 23:12:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-376-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:12:23 $ docker stop --time=1 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec 23:12:24 $ docker rm -f 1fbf30fee27e2c5204d52862587cbcde9f3ff01f61bf7729643554232907fbec [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 23:12:25 provisioning config files... 23:12:25 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config7483435845294780684tmp [Pipeline] { [Pipeline] sh 23:12:25 + set +x 23:12:25 + curl -s https://codecov.io/bash 23:12:25 + bash -s -- 23:12:25 23:12:25 _____ _ 23:12:25 / ____| | | 23:12:25 | | ___ __| | ___ ___ _____ __ 23:12:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:12:25 | |___| (_) | (_| | __/ (_| (_) \ V / 23:12:25 \_____\___/ \__,_|\___|\___\___/ \_/ 23:12:25 Bash-1.0.6 23:12:25 23:12:25 23:12:25 ==> git version 2.25.1 found 23:12:25 ==> 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 23:12:25 Release-Date: 2020-01-08 23:12:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:12:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:12:25 ==> Jenkins CI detected. 23:12:25 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-376 23:12:25 project root: . 23:12:25 --> token set from env 23:12:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:12:25 ==> Running gcov in . (disable via -X gcov) 23:12:25 ==> Python coveragepy not found 23:12:25 ==> Searching for coverage reports in: 23:12:25 + . 23:12:25 -> Found 1 reports 23:12:25 ==> Detecting git/mercurial file structure 23:12:25 ==> Reading reports 23:12:25 + ./coverage.out bytes=23241 23:12:25 ==> Appending adjustments 23:12:25 https://docs.codecov.io/docs/fixing-reports 23:12:26 + Found adjustments 23:12:26 ==> Gzipping contents 23:12:26 4.0K /tmp/codecov.WoIOWp.gz 23:12:26 ==> Uploading reports 23:12:26 url: https://codecov.io 23:12:26 query: branch=PR-376&commit=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 23:12:26 -> Pinging Codecov 23:12:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-376&commit=c2e0f675d3f4f9009a8b9434d51a991f7e5265cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-376%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=376&job=&cmd_args= 23:12:26 -> Uploading to 23:12:26 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/55DBCA73C666E3227836607328DD7E49/c2e0f675d3f4f9009a8b9434d51a991f7e5265cd/9cd1ad11-b59c-48d0-a967-bd66faa4ee44.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T231226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ae2569f3a3930c2aebd87de87f017bdc07b21f109f47e90412d9dc80336c20f 23:12:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:26 Dload Upload Total Spent Left Speed 23:12:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3930 0 0 100 3930 0 17161 --:--:-- --:--:-- --:--:-- 17161 23:12:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/c2e0f675d3f4f9009a8b9434d51a991f7e5265cd [Pipeline] } 23:12:26 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 23:12:28 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-376/archives ] 23:12:28 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 23:12:28 total 16 23:12:28 drwxr-xr-x 3 root root 4096 Sep 22 23:03 . 23:12:28 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:03 .. 23:12:28 drwxr-xr-x 2 root root 4096 Sep 22 23:03 cost 23:12:28 -rw-r--r-- 1 root root 88 Sep 22 23:03 cost.csv 23:12:28 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-376/archives 23:12:28 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-376/archives 23:12:28 total 16 23:12:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:03 . 23:12:28 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:03 .. 23:12:28 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:03 cost 23:12:28 -rw-r--r-- 1 jenkins jenkins 88 Sep 22 23:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:12:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:12:29 ---> package-listing.sh 23:12:29 ++ facter osfamily 23:12:29 ++ tr '[:upper:]' '[:lower:]' 23:12:29 + OS_FAMILY=debian 23:12:29 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-376 23:12:29 + START_PACKAGES=/tmp/packages_start.txt 23:12:29 + END_PACKAGES=/tmp/packages_end.txt 23:12:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:12:29 + PACKAGES=/tmp/packages_start.txt 23:12:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 23:12:29 + PACKAGES=/tmp/packages_end.txt 23:12:29 + case "${OS_FAMILY}" in 23:12:29 + dpkg -l 23:12:29 + grep '^ii' 23:12:29 + '[' -f /tmp/packages_start.txt ']' 23:12:29 + '[' -f /tmp/packages_end.txt ']' 23:12:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:12:29 + '[' /w/workspace/xfoundry_device-modbus-go_PR-376 ']' 23:12:29 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ 23:12:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-376/archives/ [Pipeline] echo 23:12:29 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:12:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:30 prd-ubuntu20.04-docker-8c-8g-680 does not seem to be running inside a container 23:12:30 $ 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-376/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-376 -v /w/workspace/xfoundry_device-modbus-go_PR-376:/w/workspace/xfoundry_device-modbus-go_PR-376:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-376@tmp:/w/workspace/xfoundry_device-modbus-go_PR-376@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 23:12:31 $ docker top a26d1c302356ec6d352349cbca2e002305a47224dbc816913ae1f1635183eb58 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:31 + touch /tmp/pre-build-complete [Pipeline] sh 23:12:31 + mkdir -p /var/log/sysstat [Pipeline] sh 23:12:32 + ls /var/log/sa-host 23:12:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:32 provisioning config files... 23:12:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-376@tmp/config2956738534742142216tmp [Pipeline] { [Pipeline] echo 23:12:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:12:32 ---> create-netrc.sh [Pipeline] } 23:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:12:33 ---> python-tools-install.sh [Pipeline] echo 23:12:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:12:33 ---> sudo-logs.sh 23:12:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:12:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:12:33 ---> job-cost.sh 23:12:33 lf-activate-venv: SKIPPING 23:12:33 DEBUG: total: 0.2199999988079071 23:12:33 INFO: Retrieving Stack Cost... 23:12:34 INFO: Retrieving Pricing Info for: v3-standard-8 23:12:34 INFO: Archiving Costs [Pipeline] echo 23:12:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:12:35 ---> logs-deploy.sh 23:12:35 lf-activate-venv: SKIPPING 23:12:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-376/1 23:12:35 INFO: archiving workspace using pattern(s): 23:12:36 Archives upload complete. 23:12:36 INFO: archiving logs to Nexus