Pull request #432 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 MonicaisHer for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 2e7aedab8b7610aa0b6e028687a14e8560321eb0+8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d (facd9b294a48a0cef892b54fead2641b670da596) 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-ssh12636716614225088402.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14148760877083518960.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-432/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-432/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2387719704491627127.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-432/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12758250889341308197.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7324677185764214565.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-432/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-432/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4855633531257229876.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-860 in /w/workspace/xfoundry_device-modbus-go_PR-432 [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-432 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d into PR head commit 2e7aedab8b7610aa0b6e028687a14e8560321eb0 Merge succeeded, producing b4a89600524365c8192c0c054936057e58ded0a6 Checking out Revision b4a89600524365c8192c0c054936057e58ded0a6 (PR-432) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e7aedab8b7610aa0b6e028687a14e8560321eb0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4a89600524365c8192c0c054936057e58ded0a6 # timeout=10 Commit message: "Merge commit '8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:45 ========================================================= 16:13:45 EdgeX Global Pipelines Version Info 16:13:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:46 ------------------- 16:13:46 stable info: 16:13:46 ------------------- 16:13:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:46 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:13:46 Message: update stable to v1.0.245 16:13:46 ------------------- 16:13:46 experimental info: 16:13:46 ------------------- 16:13:46 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:46 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:13:46 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 16:13:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 16:13:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-432 [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-432 [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-432 [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4a89600524365c8192c0c054936057e58ded0a6 [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4a8960 [Pipeline] echo 16:13:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:48 provisioning config files... 16:13:48 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/config14406460490681370267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:48 ---> docker-login.sh 16:13:48 nexus3.edgexfoundry.org:10001 16:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:48 Configure a credential helper to remove this warning. See 16:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:48 16:13:48 Login Succeeded 16:13:48 nexus3.edgexfoundry.org:10002 16:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:48 Configure a credential helper to remove this warning. See 16:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:48 16:13:48 Login Succeeded 16:13:48 nexus3.edgexfoundry.org:10003 16:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:49 Configure a credential helper to remove this warning. See 16:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:49 16:13:49 Login Succeeded 16:13:49 nexus3.edgexfoundry.org:10004 16:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:49 Configure a credential helper to remove this warning. See 16:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:49 16:13:49 Login Succeeded 16:13:49 docker.io 16:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:49 Configure a credential helper to remove this warning. See 16:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:49 16:13:49 Login Succeeded 16:13:49 ---> docker-login.sh ends [Pipeline] } 16:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:13:50 + git rev-list -1 --merges b4a89600524365c8192c0c054936057e58ded0a6~1..b4a89600524365c8192c0c054936057e58ded0a6 [Pipeline] echo 16:13:50 -----------> git rev-list -1 --merges b4a89600524365c8192c0c054936057e58ded0a6~1..b4a89600524365c8192c0c054936057e58ded0a6 b4a89600524365c8192c0c054936057e58ded0a6 16:13:50 b4a89600524365c8192c0c054936057e58ded0a6 [false] [Pipeline] sh 16:13:50 + git log --format=format:%s -1 b4a89600524365c8192c0c054936057e58ded0a6 [Pipeline] echo 16:13:50 ========================================================= 16:13:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:13:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:51 + git log --format=format:%s -1 b4a89600524365c8192c0c054936057e58ded0a6 [Pipeline] echo 16:13:51 [semverPrep] GIT_COMMIT: b4a89600524365c8192c0c054936057e58ded0a6, Commit Message: Merge commit '8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d' into HEAD [Pipeline] echo 16:13:51 [semverPrep] This is not a build commit. [Pipeline] sh 16:13:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:13:51 + grep -v github /etc/ssh/ssh_known_hosts 16:13:51 + [ -e /tmp/ssh_known_hosts ] 16:13:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:13:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:13:51 + sudo tee -a /etc/ssh/ssh_known_hosts 16:13:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:51 16:13:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:52 0.1.4: Pulling from edgex-devops/py-git-semver 16:13:52 b85a868b505f: Pulling fs layer 16:13:52 e2be974225ed: Pulling fs layer 16:13:52 339a4e72a1f5: Pulling fs layer 16:13:52 988bab9f4d93: Pulling fs layer 16:13:52 1469e6f7b9e6: Pulling fs layer 16:13:52 eaf3925da568: Pulling fs layer 16:13:52 bab4dde63d76: Pulling fs layer 16:13:52 bde34c3a00c8: Pulling fs layer 16:13:52 b352a97aabf1: Pulling fs layer 16:13:52 4872d77fe225: Pulling fs layer 16:13:52 5851b861e8e6: Pulling fs layer 16:13:52 bab4dde63d76: Waiting 16:13:52 988bab9f4d93: Waiting 16:13:52 bde34c3a00c8: Waiting 16:13:52 1469e6f7b9e6: Waiting 16:13:52 b352a97aabf1: Waiting 16:13:52 4872d77fe225: Waiting 16:13:52 5851b861e8e6: Waiting 16:13:52 eaf3925da568: Waiting 16:13:52 e2be974225ed: Verifying Checksum 16:13:52 e2be974225ed: Download complete 16:13:52 988bab9f4d93: Verifying Checksum 16:13:52 988bab9f4d93: Download complete 16:13:52 1469e6f7b9e6: Verifying Checksum 16:13:52 1469e6f7b9e6: Download complete 16:13:52 eaf3925da568: Download complete 16:13:52 339a4e72a1f5: Verifying Checksum 16:13:52 339a4e72a1f5: Download complete 16:13:52 bde34c3a00c8: Download complete 16:13:52 b352a97aabf1: Verifying Checksum 16:13:52 b352a97aabf1: Download complete 16:13:52 4872d77fe225: Download complete 16:13:52 5851b861e8e6: Verifying Checksum 16:13:52 5851b861e8e6: Download complete 16:13:52 b85a868b505f: Download complete 16:13:52 bab4dde63d76: Verifying Checksum 16:13:52 bab4dde63d76: Download complete 16:13:53 b85a868b505f: Pull complete 16:13:53 e2be974225ed: Pull complete 16:13:54 339a4e72a1f5: Pull complete 16:13:54 988bab9f4d93: Pull complete 16:13:54 1469e6f7b9e6: Pull complete 16:13:54 eaf3925da568: Pull complete 16:13:56 bab4dde63d76: Pull complete 16:13:56 bde34c3a00c8: Pull complete 16:13:56 b352a97aabf1: Pull complete 16:13:56 4872d77fe225: Pull complete 16:13:56 5851b861e8e6: Pull complete 16:13:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:57 prd-ubuntu20.04-docker-8c-8g-860 does not seem to be running inside a container 16:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-432 -v /w/workspace/xfoundry_device-modbus-go_PR-432:/w/workspace/xfoundry_device-modbus-go_PR-432:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-432@tmp:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:13:58 $ docker top c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 -eo pid,comm 16:13:58 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). 16:13:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:13:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:58 [ssh-agent] Looking for ssh-agent implementation... 16:13:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:58 $ docker exec c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 ssh-agent 16:13:59 SSH_AUTH_SOCK=/tmp/ssh-DJN3LqlN9FGk/agent.33 16:13:59 SSH_AGENT_PID=39 16:13:59 Running ssh-add (command line suppressed) 16:13:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-432@tmp/private_key_15659072216354101677.key (/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/private_key_15659072216354101677.key) 16:13:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:59 + git tag --points-at HEAD [Pipeline] } 16:13:59 $ docker exec --env ******** --env ******** c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 ssh-agent -k 16:13:59 unset SSH_AUTH_SOCK; 16:13:59 unset SSH_AGENT_PID; 16:13:59 echo Agent pid 39 killed; 16:13:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:13:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:59 [ssh-agent] Looking for ssh-agent implementation... 16:13:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:59 $ docker exec c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 ssh-agent 16:13:59 SSH_AUTH_SOCK=/tmp/ssh-UprRcQF6jFLS/agent.71 16:13:59 SSH_AGENT_PID=77 16:13:59 Running ssh-add (command line suppressed) 16:14:00 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-432@tmp/private_key_6507491545405451432.key (/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/private_key_6507491545405451432.key) 16:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:14:00 + git semver init 16:14:00 2023-03-15 16:14:00,649 [run_init] DEBUG init version:0.0.0 force:False 16:14:00 2023-03-15 16:14:00,650 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-432/.semver 16:14:00 2023-03-15 16:14:00,651 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-432/.semver 16:14:00 2023-03-15 16:14:00,651 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-432/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-432, universal_newlines=False, shell=None, istream=None) 16:14:01 2023-03-15 16:14:01,419 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-432/.git/info/exclude 16:14:01 2023-03-15 16:14:01,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-432/.semver/PR-432 with force:False 16:14:01 2023-03-15 16:14:01,419 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-432/.semver/PR-432 16:14:01 2023-03-15 16:14:01,423 [execute] INFO git cat-file --batch-check 16:14:01 2023-03-15 16:14:01,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-432/.semver, universal_newlines=False, shell=None, istream=) 16:14:01 2023-03-15 16:14:01,430 [execute] INFO git cat-file --batch 16:14:01 2023-03-15 16:14:01,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-432/.semver, universal_newlines=False, shell=None, istream=) 16:14:01 2023-03-15 16:14:01,435 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-432/.semver/PR-432 16:14:01 0.0.0 [Pipeline] } 16:14:01 $ docker exec --env ******** --env ******** c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 ssh-agent -k 16:14:01 unset SSH_AUTH_SOCK; 16:14:01 unset SSH_AGENT_PID; 16:14:01 echo Agent pid 77 killed; 16:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:14:02 + git semver [Pipeline] } 16:14:02 $ docker stop --time=1 c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 16:14:03 $ docker rm -f --volumes c5e093aa52433f5974a46e66a548b8fd27250c1440e9aa6d046e39ed84b8e4f0 [Pipeline] // withDockerContainer [Pipeline] sh 16:14:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:14:04 Stashed 1 file(s) [Pipeline] echo 16:14:04 [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 16:14:05 provisioning config files... 16:14:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/config10592945869985253296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:05 ---> docker-login.sh 16:14:05 nexus3.edgexfoundry.org:10001 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10002 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10003 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10004 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 docker.io 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:06 Configure a credential helper to remove this warning. See 16:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:06 16:14:06 Login Succeeded 16:14:06 ---> docker-login.sh ends [Pipeline] } 16:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:06 ========================================================= 16:14:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:14:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:14:06 Sending build context to Docker daemon 6.365MB 16:14:06 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:14:06 Step 2/10 : FROM ${BASE} AS builder 16:14:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:14:06 63b65145d645: Pulling fs layer 16:14:06 a2d21d5440eb: Pulling fs layer 16:14:06 935e6c44a52c: Pulling fs layer 16:14:06 94cc34f8dd06: Pulling fs layer 16:14:06 30dea6a524f1: Pulling fs layer 16:14:06 a2aff8979fd8: Pulling fs layer 16:14:06 6808be2612f2: Pulling fs layer 16:14:06 f25807f1079a: Pulling fs layer 16:14:06 30dea6a524f1: Waiting 16:14:06 a2aff8979fd8: Waiting 16:14:06 6808be2612f2: Waiting 16:14:06 f25807f1079a: Waiting 16:14:06 a2d21d5440eb: Download complete 16:14:06 94cc34f8dd06: Verifying Checksum 16:14:06 94cc34f8dd06: Download complete 16:14:07 30dea6a524f1: Verifying Checksum 16:14:07 30dea6a524f1: Download complete 16:14:07 63b65145d645: Verifying Checksum 16:14:07 63b65145d645: Download complete 16:14:07 a2aff8979fd8: Verifying Checksum 16:14:07 a2aff8979fd8: Download complete 16:14:07 63b65145d645: Pull complete 16:14:07 a2d21d5440eb: Pull complete 16:14:07 f25807f1079a: Verifying Checksum 16:14:07 f25807f1079a: Download complete 16:14:07 935e6c44a52c: Verifying Checksum 16:14:07 935e6c44a52c: Download complete 16:14:07 6808be2612f2: Verifying Checksum 16:14:07 6808be2612f2: Download complete 16:14:11 935e6c44a52c: Pull complete 16:14:11 94cc34f8dd06: Pull complete 16:14:11 30dea6a524f1: Pull complete 16:14:11 a2aff8979fd8: Pull complete 16:14:13 6808be2612f2: Pull complete 16:14:13 f25807f1079a: Pull complete 16:14:13 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:14:13 ---> 3b553350e43f 16:14:13 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:14:15 ---> Running in e99f69d3ce31 16:14:15 Removing intermediate container e99f69d3ce31 16:14:15 ---> e1d04a89be4a 16:14:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:15 ---> Running in 56894b0b18de 16:14:16 Removing intermediate container 56894b0b18de 16:14:16 ---> 1e6190b7c369 16:14:16 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:14:16 ---> Running in 6fe5112acebe 16:14:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:14:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:14:16 (1/8) Installing openssh-keygen (9.1_p1-r2) 16:14:16 (2/8) Installing libedit (20221030.3.1-r0) 16:14:16 (3/8) Installing openssh-client-common (9.1_p1-r2) 16:14:16 (4/8) Installing openssh-client-default (9.1_p1-r2) 16:14:16 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 16:14:16 (6/8) Installing openssh-server-common (9.1_p1-r2) 16:14:16 (7/8) Installing openssh-server (9.1_p1-r2) 16:14:16 (8/8) Installing openssh (9.1_p1-r2) 16:14:16 Executing busybox-1.35.0-r29.trigger 16:14:16 OK: 270 MiB in 61 packages 16:14:17 Removing intermediate container 6fe5112acebe 16:14:17 ---> e0cacaef681d 16:14:17 Step 6/10 : WORKDIR /device-modbus-go 16:14:17 ---> Running in 6513fc623d50 16:14:17 Removing intermediate container 6513fc623d50 16:14:17 ---> 000a7303a110 16:14:17 Step 7/10 : COPY go.mod vendor* ./ 16:14:17 ---> d69f0b0b6549 16:14:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:17 ---> Running in 26c5f38a69f8 16:14:20 Still waiting to schedule task 16:14:20 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:14:39 Removing intermediate container 26c5f38a69f8 16:14:39 ---> 4b86986a64eb 16:14:39 Step 9/10 : COPY . . 16:14:39 ---> 6cb6eec38fa8 16:14:39 Step 10/10 : RUN ${MAKE} 16:14:39 ---> Running in 8098f35fe117 16:14:39 noop 16:14:39 Removing intermediate container 8098f35fe117 16:14:39 ---> 10352f1d425e 16:14:39 Successfully built 10352f1d425e 16:14:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:39 + docker inspect -f . ci-base-image-x86_64 16:14:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:40 prd-ubuntu20.04-docker-8c-8g-860 does not seem to be running inside a container 16:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-432 -v /w/workspace/xfoundry_device-modbus-go_PR-432:/w/workspace/xfoundry_device-modbus-go_PR-432:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-432@tmp:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:40 $ docker top 5c1fb3ba30c8e3029be7f30ab3f5cd7714c3f2ec61b1206b4384c9a5146ce53c -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:40 + go version 16:14:40 go version go1.20.2 linux/amd64 [Pipeline] } 16:14:40 $ docker stop --time=1 5c1fb3ba30c8e3029be7f30ab3f5cd7714c3f2ec61b1206b4384c9a5146ce53c 16:14:42 $ docker rm -f --volumes 5c1fb3ba30c8e3029be7f30ab3f5cd7714c3f2ec61b1206b4384c9a5146ce53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:42 + docker inspect -f . ci-base-image-x86_64 16:14:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:14:43 prd-ubuntu20.04-docker-8c-8g-860 does not seem to be running inside a container 16:14:43 $ 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-432 -v /w/workspace/xfoundry_device-modbus-go_PR-432:/w/workspace/xfoundry_device-modbus-go_PR-432:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-432@tmp:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:14:43 $ docker top c4e03b1156a42f2edb7e91f8c0ba691dc30e150bfab587ab687dc890b97607af -eo pid,comm [Pipeline] { [Pipeline] sh 16:14:43 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-432 [Pipeline] fileExists [Pipeline] sh 16:14:44 + make test 16:14:44 go test ./... -coverprofile=coverage.out 16:14:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:14:58 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:14:58 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.012s coverage: 48.0% of statements 16:15:03 go vet ./... 16:15:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:15:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:15:06 ./bin/test-attribution-txt.sh [Pipeline] echo 16:15:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:15:06 $ docker stop --time=1 c4e03b1156a42f2edb7e91f8c0ba691dc30e150bfab587ab687dc890b97607af 16:15:09 $ docker rm -f --volumes c4e03b1156a42f2edb7e91f8c0ba691dc30e150bfab587ab687dc890b97607af [Pipeline] // withDockerContainer [Pipeline] sh 16:15:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:15:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:15:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:15:10 + ls -al . 16:15:10 total 180 16:15:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:14 . 16:15:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:13 .. 16:15:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:13 .dockerignore 16:15:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:14 .git 16:15:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 .github 16:15:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:13 .gitignore 16:15:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:13 .golangci.yml 16:15:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:14 .semver 16:15:10 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:13 Attribution.txt 16:15:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:13 CHANGELOG.md 16:15:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:13 Dockerfile 16:15:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:13 GOVERNANCE.md 16:15:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:13 Jenkinsfile 16:15:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:13 LICENSE 16:15:10 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:13 Makefile 16:15:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:13 OWNERS.md 16:15:10 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:13 README.md 16:15:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:14 VERSION 16:15:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:13 bin 16:15:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 cmd 16:15:10 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:14 coverage.out 16:15:10 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:13 go.mod 16:15:10 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:13 go.sum 16:15:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:13 internal 16:15:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:13 simulator 16:15:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:13 snap 16:15:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:10 + 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=b4a89600524365c8192c0c054936057e58ded0a6 --label arch=amd64 --label version=0.0.0 . 16:15:10 Sending build context to Docker daemon 6.39MB 16:15:10 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 16:15:10 Step 2/22 : FROM ${BASE} AS builder 16:15:10 ---> 10352f1d425e 16:15:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:15:10 ---> Running in c027d8c38130 16:15:11 Removing intermediate container c027d8c38130 16:15:11 ---> 8f8287282197 16:15:11 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:15:11 ---> Running in 701e0bc73307 16:15:11 Removing intermediate container 701e0bc73307 16:15:11 ---> 0f768469a6dd 16:15:11 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:15:11 ---> Running in 691eac7dfb54 16:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:15:11 OK: 270 MiB in 61 packages 16:15:12 Removing intermediate container 691eac7dfb54 16:15:12 ---> a8062198007d 16:15:12 Step 6/22 : WORKDIR /device-modbus-go 16:15:12 ---> Running in cc77d8c305d8 16:15:12 Removing intermediate container cc77d8c305d8 16:15:12 ---> a4d754a7c67e 16:15:12 Step 7/22 : COPY go.mod vendor* ./ 16:15:12 ---> 4435d9819ad3 16:15:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:12 ---> Running in 79bce60ba31e 16:15:13 Removing intermediate container 79bce60ba31e 16:15:13 ---> 371c24abf4af 16:15:13 Step 9/22 : COPY . . 16:15:13 ---> 1a5c20666b09 16:15:13 Step 10/22 : RUN ${MAKE} 16:15:13 ---> Running in 9bf479e82a34 16:15:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 16:15:32 Removing intermediate container 9bf479e82a34 16:15:32 ---> 27863746a921 16:15:32 Step 11/22 : FROM alpine:3.17 16:15:32 3.17: Pulling from library/alpine 16:15:32 63b65145d645: Already exists 16:15:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:15:32 Status: Downloaded newer image for alpine:3.17 16:15:32 ---> b2aa39c304c2 16:15:32 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:15:32 ---> Running in b3980b75d606 16:15:32 Removing intermediate container b3980b75d606 16:15:32 ---> d56d3f56d117 16:15:32 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:15:32 ---> Running in 916889a79932 16:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:15:32 (1/1) Installing dumb-init (1.2.5-r2) 16:15:32 Executing busybox-1.35.0-r29.trigger 16:15:32 OK: 7 MiB in 16 packages 16:15:32 Removing intermediate container 916889a79932 16:15:32 ---> 923d0b5fc54f 16:15:32 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:15:32 ---> c81b3c9fed6f 16:15:32 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:15:32 ---> d35636a65b78 16:15:32 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:15:32 ---> 69e767bce398 16:15:32 Step 17/22 : EXPOSE 59901 16:15:32 ---> Running in 0e3712a8b6ec 16:15:32 Removing intermediate container 0e3712a8b6ec 16:15:32 ---> e2dcc02fa418 16:15:32 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:15:32 ---> Running in 1792c487ddae 16:15:33 Removing intermediate container 1792c487ddae 16:15:33 ---> 1dcbc6d18038 16:15:33 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:15:33 ---> Running in ebd1aa24324b 16:15:33 Removing intermediate container ebd1aa24324b 16:15:33 ---> 875f86305bd7 16:15:33 Step 20/22 : LABEL arch=amd64 16:15:33 ---> Running in e3fbe138f91b 16:15:33 Removing intermediate container e3fbe138f91b 16:15:33 ---> cbe4bc371168 16:15:33 Step 21/22 : LABEL git_sha=b4a89600524365c8192c0c054936057e58ded0a6 16:15:33 ---> Running in 353eeee7bb46 16:15:33 Removing intermediate container 353eeee7bb46 16:15:33 ---> a31f301581e2 16:15:33 Step 22/22 : LABEL version=0.0.0 16:15:33 ---> Running in c7d77b5fe616 16:15:33 Removing intermediate container c7d77b5fe616 16:15:33 ---> 081c396e012a 16:15:33 [Warning] One or more build-args [ARCH] were not consumed 16:15:33 Successfully built 081c396e012a 16:15:33 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 16:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:34 16:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:34 latest: Pulling from edgex-lftools-log-publisher 16:15:34 5eb5b503b376: Pulling fs layer 16:15:34 5c69ac0246d0: Pulling fs layer 16:15:34 ec43610c2a17: Pulling fs layer 16:15:34 3a2ae6a8a46f: Pulling fs layer 16:15:34 33b1e0a273af: Pulling fs layer 16:15:34 5d3b04190fa2: Pulling fs layer 16:15:34 2f39f015ded8: Pulling fs layer 16:15:34 33b1e0a273af: Waiting 16:15:34 5d3b04190fa2: Waiting 16:15:34 2f39f015ded8: Waiting 16:15:34 3a2ae6a8a46f: Waiting 16:15:34 5c69ac0246d0: Verifying Checksum 16:15:34 5c69ac0246d0: Download complete 16:15:34 3a2ae6a8a46f: Verifying Checksum 16:15:35 ec43610c2a17: Verifying Checksum 16:15:35 ec43610c2a17: Download complete 16:15:35 5d3b04190fa2: Verifying Checksum 16:15:35 5d3b04190fa2: Download complete 16:15:35 33b1e0a273af: Verifying Checksum 16:15:35 33b1e0a273af: Download complete 16:15:35 5eb5b503b376: Verifying Checksum 16:15:35 5eb5b503b376: Download complete 16:15:35 2f39f015ded8: Download complete 16:15:36 5eb5b503b376: Pull complete 16:15:36 5c69ac0246d0: Pull complete 16:15:36 ec43610c2a17: Pull complete 16:15:37 3a2ae6a8a46f: Pull complete 16:15:37 33b1e0a273af: Pull complete 16:15:37 5d3b04190fa2: Pull complete 16:15:41 2f39f015ded8: Pull complete 16:15:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:15:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:41 prd-ubuntu20.04-docker-8c-8g-860 does not seem to be running inside a container 16:15:41 $ 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-432 -v /w/workspace/xfoundry_device-modbus-go_PR-432:/w/workspace/xfoundry_device-modbus-go_PR-432:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-432@tmp:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:15:43 $ docker top 13d9443abe4d820d491867c7cef94ccec2d4f26ec6a82b6049e60865091f344c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:43 ---> job-cost.sh 16:15:43 lf-activate-venv: SKIPPING 16:15:43 INFO: No Stack... 16:15:44 INFO: Retrieving Pricing Info for: v3-standard-8 16:15:44 INFO: Archiving Costs [Pipeline] sh 16:15:45 + cat /w/workspace/xfoundry_device-modbus-go_PR-432/archives/cost.csv 16:15:45 + cut -d, -f6 [Pipeline] lock 16:15:45 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] 16:15:45 Resource [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] did not exist. Created. 16:15:45 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:15:45 + echo total: 0.2199999988079071 [Pipeline] stash 16:15:45 Stashed 1 file(s) [Pipeline] } 16:15:45 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:15:45 $ docker stop --time=1 13d9443abe4d820d491867c7cef94ccec2d4f26ec6a82b6049e60865091f344c 16:15:46 $ docker rm -f --volumes 13d9443abe4d820d491867c7cef94ccec2d4f26ec6a82b6049e60865091f344c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:28:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1283 in /w/workspace/xfoundry_device-modbus-go_PR-432 [Pipeline] { [Pipeline] ws 16:28:03 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 16:28:03 Selected Git installation does not exist. Using Default 16:28:03 The recommended git tool is: NONE 16:28:14 using credential edgex-jenkins-ssh 16:28:15 Cloning the remote Git repository 16:28:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 16:28:15 > git init /w/workspace/device-modbus-go/1 # timeout=10 16:28:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:28:15 > git --version # timeout=10 16:28:15 > git --version # 'git version 2.25.1' 16:28:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:28:17 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:28:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:28:19 Merging remotes/origin/main commit 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d into PR head commit 2e7aedab8b7610aa0b6e028687a14e8560321eb0 16:28:20 Merge succeeded, producing c71549929a8e36f28b1680a3d2190106d9f9fcb1 16:28:20 Checking out Revision c71549929a8e36f28b1680a3d2190106d9f9fcb1 (PR-432) 16:28:19 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 16:28:19 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 16:28:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/432/head:refs/remotes/origin/PR-432 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:28:19 > git config core.sparsecheckout # timeout=10 16:28:20 > git checkout -f 2e7aedab8b7610aa0b6e028687a14e8560321eb0 # timeout=10 16:28:20 > git remote # timeout=10 16:28:20 > git config --get remote.origin.url # timeout=10 16:28:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:20 > git merge 8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d # timeout=10 16:28:20 > git rev-parse HEAD^{commit} # timeout=10 16:28:20 > git config core.sparsecheckout # timeout=10 16:28:20 > git checkout -f c71549929a8e36f28b1680a3d2190106d9f9fcb1 # timeout=10 16:28:24 Commit message: "Merge commit '8ef455de97d4f3c2abbb3fe2f935b051c9a8c04d' into HEAD" 16:28:24 First time build. Skipping changelog. 16:28:24 > git --version # timeout=10 16:28:24 > git --version # 'git version 2.25.1' 16:28:24 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:28:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:28:25 Dload Upload Total Spent Left Speed 16:28:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 163k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 16:28:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:28:27 + sudo tee /etc/docker/daemon.new 16:28:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:28:27 { 16:28:27 "registry-mirrors": [ 16:28:27 "https://nexus3.edgexfoundry.org:10001" 16:28:27 ], 16:28:27 "bip": "10.250.0.254/24", 16:28:27 "hosts": [ 16:28:27 "tcp://0.0.0.0:5555", 16:28:27 "unix:///var/run/docker.sock" 16:28:27 ], 16:28:27 "mtu": 1458, 16:28:27 "selinux-enabled": true, 16:28:27 "seccomp-profile": "/etc/docker/seccomp.json" 16:28:27 } [Pipeline] sh 16:28:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:28:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:46 provisioning config files... 16:28:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config10465568757291297426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:46 ---> docker-login.sh 16:28:46 nexus3.edgexfoundry.org:10001 16:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:47 Configure a credential helper to remove this warning. See 16:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:47 16:28:47 Login Succeeded 16:28:47 nexus3.edgexfoundry.org:10002 16:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:47 Configure a credential helper to remove this warning. See 16:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:47 16:28:47 Login Succeeded 16:28:47 nexus3.edgexfoundry.org:10003 16:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:48 Configure a credential helper to remove this warning. See 16:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:48 16:28:48 Login Succeeded 16:28:48 nexus3.edgexfoundry.org:10004 16:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:48 Configure a credential helper to remove this warning. See 16:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:48 16:28:48 Login Succeeded 16:28:48 docker.io 16:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:49 Configure a credential helper to remove this warning. See 16:28:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:49 16:28:49 Login Succeeded 16:28:49 ---> docker-login.sh ends [Pipeline] } 16:28:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:28:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:49 ========================================================= 16:28:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:28:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:28:50 Sending build context to Docker daemon 3.327MB 16:28:50 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:28:50 Step 2/10 : FROM ${BASE} AS builder 16:28:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:28:50 af6eaf76a39c: Pulling fs layer 16:28:50 55522c791124: Pulling fs layer 16:28:50 ce5c4a1c91eb: Pulling fs layer 16:28:50 169dfbe0d373: Pulling fs layer 16:28:50 e1ff8fa3b103: Pulling fs layer 16:28:50 52ebb69f0ebf: Pulling fs layer 16:28:50 5abe8eddf0d5: Pulling fs layer 16:28:50 169dfbe0d373: Waiting 16:28:50 e1ff8fa3b103: Waiting 16:28:50 52ebb69f0ebf: Waiting 16:28:50 5abe8eddf0d5: Waiting 16:28:50 55522c791124: Download complete 16:28:50 169dfbe0d373: Verifying Checksum 16:28:50 169dfbe0d373: Download complete 16:28:51 e1ff8fa3b103: Verifying Checksum 16:28:51 e1ff8fa3b103: Download complete 16:28:51 af6eaf76a39c: Verifying Checksum 16:28:52 af6eaf76a39c: Pull complete 16:28:52 5abe8eddf0d5: Verifying Checksum 16:28:52 5abe8eddf0d5: Download complete 16:28:52 55522c791124: Pull complete 16:28:53 52ebb69f0ebf: Verifying Checksum 16:28:53 52ebb69f0ebf: Download complete 16:28:53 ce5c4a1c91eb: Verifying Checksum 16:28:53 ce5c4a1c91eb: Download complete 16:29:04 ce5c4a1c91eb: Pull complete 16:29:04 169dfbe0d373: Pull complete 16:29:04 e1ff8fa3b103: Pull complete 16:29:11 52ebb69f0ebf: Pull complete 16:29:12 5abe8eddf0d5: Pull complete 16:29:12 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:29:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:29:12 ---> 6cb57ee374ae 16:29:12 Step 3/10 : ARG ADD_BUILD_TAGS="" 16:29:14 ---> Running in 6bc3e4f0c08d 16:29:15 Removing intermediate container 6bc3e4f0c08d 16:29:15 ---> ab6add754679 16:29:15 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:29:15 ---> Running in 9f5f5ec86911 16:29:15 Removing intermediate container 9f5f5ec86911 16:29:15 ---> eba204d95cf3 16:29:15 Step 5/10 : RUN apk add --update --no-cache make git openssh 16:29:15 ---> Running in cbdfb1c06b92 16:29:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:29:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:29:18 (1/8) Installing openssh-keygen (9.1_p1-r2) 16:29:18 (2/8) Installing libedit (20221030.3.1-r0) 16:29:18 (3/8) Installing openssh-client-common (9.1_p1-r2) 16:29:18 (4/8) Installing openssh-client-default (9.1_p1-r2) 16:29:18 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 16:29:18 (6/8) Installing openssh-server-common (9.1_p1-r2) 16:29:18 (7/8) Installing openssh-server (9.1_p1-r2) 16:29:18 (8/8) Installing openssh (9.1_p1-r2) 16:29:18 Executing busybox-1.35.0-r29.trigger 16:29:18 OK: 270 MiB in 61 packages 16:29:19 Removing intermediate container cbdfb1c06b92 16:29:19 ---> 30d0f743d29b 16:29:19 Step 6/10 : WORKDIR /device-modbus-go 16:29:19 ---> Running in f9e8bbc175cf 16:29:20 Removing intermediate container f9e8bbc175cf 16:29:20 ---> 9627907f43ec 16:29:20 Step 7/10 : COPY go.mod vendor* ./ 16:29:20 ---> 97ea0e28d8de 16:29:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:20 ---> Running in 042695f388b8 16:30:28 Removing intermediate container 042695f388b8 16:30:28 ---> a6bff6705cfa 16:30:28 Step 9/10 : COPY . . 16:30:28 ---> c253d0b21079 16:30:28 Step 10/10 : RUN ${MAKE} 16:30:28 ---> Running in 7b626374cdb8 16:30:28 noop 16:30:28 Removing intermediate container 7b626374cdb8 16:30:28 ---> a782e782f144 16:30:28 Successfully built a782e782f144 16:30:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:29 + docker inspect -f . ci-base-image-arm64 16:30:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:29 prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container 16:30:29 $ 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 ******** ci-base-image-arm64 cat 16:30:31 $ docker top 3edc4c17f22a08e3434ea48c41fa19f305a14575cd6647faed858724547ee810 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:32 + go version 16:30:32 go version go1.20.2 linux/arm64 [Pipeline] } 16:30:32 $ docker stop --time=1 3edc4c17f22a08e3434ea48c41fa19f305a14575cd6647faed858724547ee810 16:30:33 $ docker rm -f --volumes 3edc4c17f22a08e3434ea48c41fa19f305a14575cd6647faed858724547ee810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:34 + docker inspect -f . ci-base-image-arm64 16:30:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:35 prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container 16:30:35 $ 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 ******** ci-base-image-arm64 cat 16:30:36 $ docker top d091fa5a96a170c17451ee4f5a7104972ce95954ffa8aabc22a8736c86bedb43 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 16:30:38 + make test 16:30:38 go test ./... -coverprofile=coverage.out 16:31:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 16:33:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 16:33:26 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.077s coverage: 48.0% of statements 16:33:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:33:27 go vet ./... 16:33:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:33:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:33:59 ./bin/test-attribution-txt.sh [Pipeline] echo 16:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:33:59 $ docker stop --time=1 d091fa5a96a170c17451ee4f5a7104972ce95954ffa8aabc22a8736c86bedb43 16:34:01 $ docker rm -f --volumes d091fa5a96a170c17451ee4f5a7104972ce95954ffa8aabc22a8736c86bedb43 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:34:02 Warning: overwriting stash ‘coverage-report’ 16:34:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:34:04 + ls -al . 16:34:04 total 176 16:34:04 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:30 . 16:34:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:28 .. 16:34:04 -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:28 .dockerignore 16:34:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:28 .git 16:34:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 .github 16:34:04 -rw-rw-r-- 1 jenkins jenkins 331 Mar 15 16:28 .gitignore 16:34:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:28 .golangci.yml 16:34:04 -rw-rw-r-- 1 jenkins jenkins 10236 Mar 15 16:28 Attribution.txt 16:34:04 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 15 16:28 CHANGELOG.md 16:34:04 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 15 16:28 Dockerfile 16:34:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:28 GOVERNANCE.md 16:34:04 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:28 Jenkinsfile 16:34:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:28 LICENSE 16:34:04 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 15 16:28 Makefile 16:34:04 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:28 OWNERS.md 16:34:04 -rw-rw-r-- 1 jenkins jenkins 4061 Mar 15 16:28 README.md 16:34:04 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:14 VERSION 16:34:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:28 bin 16:34:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 cmd 16:34:04 -rw-r--r-- 1 jenkins jenkins 23736 Mar 15 16:33 coverage.out 16:34:04 -rw-rw-r-- 1 jenkins jenkins 3497 Mar 15 16:28 go.mod 16:34:04 -rw-rw-r-- 1 jenkins jenkins 31641 Mar 15 16:28 go.sum 16:34:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 internal 16:34:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:28 simulator 16:34:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:28 snap 16:34:04 -rw-rw-r-- 1 jenkins jenkins 229 Mar 15 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:04 + 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=c71549929a8e36f28b1680a3d2190106d9f9fcb1 --label arch=arm64 --label version=0.0.0 . 16:34:05 Sending build context to Docker daemon 3.352MB 16:34:05 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 16:34:05 Step 2/22 : FROM ${BASE} AS builder 16:34:05 ---> a782e782f144 16:34:05 Step 3/22 : ARG ADD_BUILD_TAGS="" 16:34:05 ---> Running in 4c5c842b2fb4 16:34:05 Removing intermediate container 4c5c842b2fb4 16:34:05 ---> 1138db0dd992 16:34:05 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:34:05 ---> Running in ab9b9ee557a6 16:34:05 Removing intermediate container ab9b9ee557a6 16:34:05 ---> c50ded792974 16:34:05 Step 5/22 : RUN apk add --update --no-cache make git openssh 16:34:05 ---> Running in 9560aa4460e6 16:34:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:34:08 OK: 270 MiB in 61 packages 16:34:09 Removing intermediate container 9560aa4460e6 16:34:09 ---> 69ed827ae35f 16:34:09 Step 6/22 : WORKDIR /device-modbus-go 16:34:09 ---> Running in c4c2af36142e 16:34:10 Removing intermediate container c4c2af36142e 16:34:10 ---> 7aede7d37f36 16:34:10 Step 7/22 : COPY go.mod vendor* ./ 16:34:10 ---> 2814058dcf7e 16:34:10 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:34:10 ---> Running in abf47309e58a 16:34:16 Removing intermediate container abf47309e58a 16:34:16 ---> 919187c7d5ee 16:34:16 Step 9/22 : COPY . . 16:34:16 ---> 8b47690360d5 16:34:16 Step 10/22 : RUN ${MAKE} 16:34:16 ---> Running in 5a7cc2bf5263 16:34:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 16:36:39 Removing intermediate container 5a7cc2bf5263 16:36:39 ---> d7a726547792 16:36:39 Step 11/22 : FROM alpine:3.17 16:36:39 3.17: Pulling from library/alpine 16:36:39 af6eaf76a39c: Already exists 16:36:39 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:36:39 Status: Downloaded newer image for alpine:3.17 16:36:39 ---> d74e625d9115 16:36:39 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 16:36:39 ---> Running in 19713743499d 16:36:39 Removing intermediate container 19713743499d 16:36:39 ---> 4840c2fa613a 16:36:39 Step 13/22 : RUN apk add --update --no-cache dumb-init 16:36:39 ---> Running in 18f86ee33210 16:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:36:39 (1/1) Installing dumb-init (1.2.5-r2) 16:36:39 Executing busybox-1.35.0-r29.trigger 16:36:39 OK: 8 MiB in 16 packages 16:36:39 Removing intermediate container 18f86ee33210 16:36:39 ---> bfecc8f749d5 16:36:39 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 16:36:42 ---> a56e632e44fe 16:36:42 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 16:36:42 ---> cdd049a77dda 16:36:42 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 16:36:43 ---> ac18d3105e0a 16:36:43 Step 17/22 : EXPOSE 59901 16:36:43 ---> Running in 44eed1d3e7b4 16:36:43 Removing intermediate container 44eed1d3e7b4 16:36:43 ---> 2ae41557c839 16:36:43 Step 18/22 : ENTRYPOINT ["/device-modbus"] 16:36:43 ---> Running in 1ee476fe3944 16:36:44 Removing intermediate container 1ee476fe3944 16:36:44 ---> 96be3fee2e40 16:36:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:36:44 ---> Running in 9d990f06f52a 16:36:44 Removing intermediate container 9d990f06f52a 16:36:44 ---> f85c6808e4f8 16:36:44 Step 20/22 : LABEL arch=arm64 16:36:45 ---> Running in d4d2ee2b08bd 16:36:45 Removing intermediate container d4d2ee2b08bd 16:36:45 ---> 57b5bfee01ca 16:36:45 Step 21/22 : LABEL git_sha=c71549929a8e36f28b1680a3d2190106d9f9fcb1 16:36:45 ---> Running in 0f986dc97779 16:36:45 Removing intermediate container 0f986dc97779 16:36:45 ---> e503570c2e92 16:36:45 Step 22/22 : LABEL version=0.0.0 16:36:45 ---> Running in 07f142dc12c3 16:36:46 Removing intermediate container 07f142dc12c3 16:36:46 ---> f912f2bc85e0 16:36:46 [Warning] One or more build-args [ARCH] were not consumed 16:36:46 Successfully built f912f2bc85e0 16:36:46 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 16:36:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:47 16:36:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:47 arm64: Pulling from edgex-lftools-log-publisher 16:36:47 8998bd30e6a1: Pulling fs layer 16:36:47 04944245beec: Pulling fs layer 16:36:47 699f458cf7ca: Pulling fs layer 16:36:47 765212b225bb: Pulling fs layer 16:36:47 f23df028b6ca: Pulling fs layer 16:36:47 d65c8cfc05b1: Pulling fs layer 16:36:47 2437ff75d9bd: Pulling fs layer 16:36:47 f23df028b6ca: Waiting 16:36:47 d65c8cfc05b1: Waiting 16:36:47 2437ff75d9bd: Waiting 16:36:47 04944245beec: Verifying Checksum 16:36:47 04944245beec: Download complete 16:36:47 765212b225bb: Verifying Checksum 16:36:47 765212b225bb: Download complete 16:36:47 f23df028b6ca: Verifying Checksum 16:36:47 f23df028b6ca: Download complete 16:36:47 d65c8cfc05b1: Download complete 16:36:48 699f458cf7ca: Download complete 16:36:48 8998bd30e6a1: Verifying Checksum 16:36:48 8998bd30e6a1: Download complete 16:36:51 2437ff75d9bd: Verifying Checksum 16:36:51 2437ff75d9bd: Download complete 16:36:53 8998bd30e6a1: Pull complete 16:36:53 04944245beec: Pull complete 16:36:54 699f458cf7ca: Pull complete 16:36:54 765212b225bb: Pull complete 16:36:55 f23df028b6ca: Pull complete 16:36:56 d65c8cfc05b1: Pull complete 16:37:11 2437ff75d9bd: Pull complete 16:37:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:11 prd-ubuntu20.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container 16:37:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:37:14 $ docker top 01bb35e7699d0f340d9bcd89c06b5b5d1e5e5a4982df328e007ffd7bec524b75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:15 ---> job-cost.sh 16:37:15 lf-activate-venv: SKIPPING 16:37:15 INFO: No Stack... 16:37:16 INFO: Retrieving Pricing Info for: v3-standard-4 16:37:17 INFO: Archiving Costs [Pipeline] sh 16:37:17 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 16:37:17 + cut -d, -f6 [Pipeline] lock 16:37:18 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] 16:37:18 Resource [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] did not exist. Created. 16:37:18 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:37:18 /w/workspace/device-modbus-go/1@tmp/durable-9c6012fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:37:19 + echo total: 0.10999999940395355 [Pipeline] stash 16:37:19 Warning: overwriting stash ‘stack-cost’ 16:37:19 Stashed 1 file(s) [Pipeline] } 16:37:19 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-432-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:37:19 $ docker stop --time=1 01bb35e7699d0f340d9bcd89c06b5b5d1e5e5a4982df328e007ffd7bec524b75 16:37:21 $ docker rm -f --volumes 01bb35e7699d0f340d9bcd89c06b5b5d1e5e5a4982df328e007ffd7bec524b75 [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 16:37:22 provisioning config files... 16:37:22 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/config5499564217100606161tmp [Pipeline] { [Pipeline] sh 16:37:22 + set +x 16:37:22 + bash -s -- 16:37:22 + curl -s https://codecov.io/bash 16:37:22 16:37:22 _____ _ 16:37:22 / ____| | | 16:37:22 | | ___ __| | ___ ___ _____ __ 16:37:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:37:22 | |___| (_) | (_| | __/ (_| (_) \ V / 16:37:22 \_____\___/ \__,_|\___|\___\___/ \_/ 16:37:22 Bash-1.0.6 16:37:22 16:37:22 16:37:22 ==> git version 2.25.1 found 16:37:22 ==> 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 16:37:22 Release-Date: 2020-01-08 16:37:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:37:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:37:22 ==> Jenkins CI detected. 16:37:22 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-432 16:37:22 project root: . 16:37:22 --> token set from env 16:37:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:37:22 ==> Running gcov in . (disable via -X gcov) 16:37:22 ==> Python coveragepy not found 16:37:22 ==> Searching for coverage reports in: 16:37:22 + . 16:37:22 -> Found 1 reports 16:37:22 ==> Detecting git/mercurial file structure 16:37:22 ==> Reading reports 16:37:22 + ./coverage.out bytes=23736 16:37:22 ==> Appending adjustments 16:37:22 https://docs.codecov.io/docs/fixing-reports 16:37:22 + Found adjustments 16:37:22 ==> Gzipping contents 16:37:22 4.0K /tmp/codecov.4PN5a8.gz 16:37:22 ==> Uploading reports 16:37:22 url: https://codecov.io 16:37:22 query: branch=PR-432&commit=b4a89600524365c8192c0c054936057e58ded0a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-432%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=432&job=&cmd_args= 16:37:22 -> Pinging Codecov 16:37:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-432&commit=b4a89600524365c8192c0c054936057e58ded0a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-432%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=432&job=&cmd_args= 16:37:35 upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure 16:37:35 503 16:37:35 ==> Uploading to Codecov 16:37:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:37:35 Dload Upload Total Spent Left Speed 16:37:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4158 100 249 100 3909 1245 19545 --:--:-- --:--:-- --:--:-- 20686 16:37:35 Reports have been successfully queued for processing at {"message": "Coverage reports upload successfully", "uploaded": true, "queued": true, "id": "4dddbc45-d6d0-4131-a25d-e4d878e601ce", "url": "https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/b4a89600524365c8192c0c054936057e58ded0a6"} [Pipeline] } 16:37:35 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 16:37:36 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-432/archives ] 16:37:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-432/archives 16:37:36 total 16 16:37:36 drwxr-xr-x 3 root root 4096 Mar 15 16:15 . 16:37:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:15 .. 16:37:36 drwxr-xr-x 2 root root 4096 Mar 15 16:15 cost 16:37:36 -rw-r--r-- 1 root root 88 Mar 15 16:15 cost.csv 16:37:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-432/archives 16:37:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-432/archives 16:37:36 total 16 16:37:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:15 . 16:37:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:15 .. 16:37:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:15 cost 16:37:36 -rw-r--r-- 1 jenkins jenkins 88 Mar 15 16:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:37:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:37:38 ---> package-listing.sh 16:37:38 ++ facter osfamily 16:37:38 ++ tr '[:upper:]' '[:lower:]' 16:37:38 + OS_FAMILY=debian 16:37:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-432 16:37:38 + START_PACKAGES=/tmp/packages_start.txt 16:37:38 + END_PACKAGES=/tmp/packages_end.txt 16:37:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:37:38 + PACKAGES=/tmp/packages_start.txt 16:37:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-432 ']' 16:37:38 + PACKAGES=/tmp/packages_end.txt 16:37:38 + case "${OS_FAMILY}" in 16:37:38 + dpkg -l 16:37:38 + grep '^ii' 16:37:38 + '[' -f /tmp/packages_start.txt ']' 16:37:38 + '[' -f /tmp/packages_end.txt ']' 16:37:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:37:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-432 ']' 16:37:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-432/archives/ 16:37:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-432/archives/ [Pipeline] echo 16:37:38 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-432/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:37:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:39 prd-ubuntu20.04-docker-8c-8g-860 does not seem to be running inside a container 16:37:39 $ 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-432/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-432 -v /w/workspace/xfoundry_device-modbus-go_PR-432:/w/workspace/xfoundry_device-modbus-go_PR-432:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-432@tmp:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:37:39 $ docker top 12e6320465cdcb0598960e27d57f2b7181e014462f0c0c7487bf6712856d1a26 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:40 + touch /tmp/pre-build-complete [Pipeline] sh 16:37:40 + mkdir -p /var/log/sysstat [Pipeline] sh 16:37:40 + ls /var/log/sa-host 16:37:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:40 provisioning config files... 16:37:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-432@tmp/config13770863932573272620tmp [Pipeline] { [Pipeline] echo 16:37:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:37:41 ---> create-netrc.sh [Pipeline] } 16:37:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:37:41 ---> python-tools-install.sh [Pipeline] echo 16:37:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:37:41 ---> sudo-logs.sh 16:37:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:37:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:37:42 ---> job-cost.sh 16:37:42 lf-activate-venv: SKIPPING 16:37:42 DEBUG: total: 0.2199999988079071 16:37:42 INFO: Retrieving Stack Cost... 16:37:42 INFO: Retrieving Pricing Info for: v3-standard-8 16:37:43 INFO: Archiving Costs [Pipeline] echo 16:37:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:37:43 ---> logs-deploy.sh 16:37:43 lf-activate-venv: SKIPPING 16:37:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-432/1 16:37:43 INFO: archiving workspace using pattern(s): 16:37:44 Archives upload complete. 16:37:44 INFO: archiving logs to Nexus