Pull request #452 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from d8efb5639a2b1160a579bc2232ace4dedeb4b665+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (0d45a1143704037eedc1be5d0c0e7fb8f072beac) 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-ssh2646989658645012672.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-ssh2996235221410287235.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-452/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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7292803738499859826.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-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8503792319746131966.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-ssh12037686959172045119.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-452/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-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6764635604876963140.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-7104 in /w/workspace/xfoundry_device-modbus-go_PR-452 [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-452 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d8efb5639a2b1160a579bc2232ace4dedeb4b665 Merge succeeded, producing d8efb5639a2b1160a579bc2232ace4dedeb4b665 Checking out Revision d8efb5639a2b1160a579bc2232ace4dedeb4b665 (PR-452) > 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # 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 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 Commit message: "feat!: Consume SDK interface changes" 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 08:16:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:16:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:16:50 ========================================================= 08:16:50 EdgeX Global Pipelines Version Info 08:16:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:16:50 ------------------- 08:16:50 stable info: 08:16:50 ------------------- 08:16:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:16:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:16:50 Message: update stable to v1.0.245 08:16:51 ------------------- 08:16:51 experimental info: 08:16:51 ------------------- 08:16:51 Commited By: **** collab-it+edgex@linuxfoundation.org 08:16:51 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:16:51 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:16:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8efb56 [Pipeline] echo 08:16:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:53 provisioning config files... 08:16:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config4600372949320811859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:53 ---> docker-login.sh 08:16:53 nexus3.edgexfoundry.org:10001 08:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:53 Configure a credential helper to remove this warning. See 08:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:53 08:16:53 Login Succeeded 08:16:53 nexus3.edgexfoundry.org:10002 08:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:53 Configure a credential helper to remove this warning. See 08:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:53 08:16:53 Login Succeeded 08:16:53 nexus3.edgexfoundry.org:10003 08:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:53 Configure a credential helper to remove this warning. See 08:16:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:53 08:16:53 Login Succeeded 08:16:53 nexus3.edgexfoundry.org:10004 08:16:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:54 Configure a credential helper to remove this warning. See 08:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:54 08:16:54 Login Succeeded 08:16:54 docker.io 08:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:54 Configure a credential helper to remove this warning. See 08:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:54 08:16:54 Login Succeeded 08:16:54 ---> docker-login.sh ends [Pipeline] } 08:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:16:55 + git rev-list -1 --merges d8efb5639a2b1160a579bc2232ace4dedeb4b665~1..d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo 08:16:55 -----------> git rev-list -1 --merges d8efb5639a2b1160a579bc2232ace4dedeb4b665~1..d8efb5639a2b1160a579bc2232ace4dedeb4b665 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [false] [Pipeline] sh 08:16:55 + git log --format=format:%s -1 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo 08:16:55 ========================================================= 08:16:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:16:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:16:55 + git log --format=format:%s -1 d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] echo 08:16:55 [semverPrep] GIT_COMMIT: d8efb5639a2b1160a579bc2232ace4dedeb4b665, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 08:16:56 [semverPrep] This is not a build commit. [Pipeline] sh 08:16:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:16:56 + grep -v github /etc/ssh/ssh_known_hosts 08:16:56 + [ -e /tmp/ssh_known_hosts ] 08:16:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:16:56 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:16:56 sudo tee -a /etc/ssh/ssh_known_hosts 08:16:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:56 08:16:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:57 0.1.4: Pulling from edgex-devops/py-git-semver 08:16:57 b85a868b505f: Pulling fs layer 08:16:57 e2be974225ed: Pulling fs layer 08:16:57 339a4e72a1f5: Pulling fs layer 08:16:57 988bab9f4d93: Pulling fs layer 08:16:57 1469e6f7b9e6: Pulling fs layer 08:16:57 eaf3925da568: Pulling fs layer 08:16:57 bab4dde63d76: Pulling fs layer 08:16:57 bde34c3a00c8: Pulling fs layer 08:16:57 b352a97aabf1: Pulling fs layer 08:16:57 4872d77fe225: Pulling fs layer 08:16:57 5851b861e8e6: Pulling fs layer 08:16:57 bab4dde63d76: Waiting 08:16:57 bde34c3a00c8: Waiting 08:16:57 b352a97aabf1: Waiting 08:16:57 988bab9f4d93: Waiting 08:16:57 5851b861e8e6: Waiting 08:16:57 4872d77fe225: Waiting 08:16:57 1469e6f7b9e6: Waiting 08:16:57 eaf3925da568: Waiting 08:16:57 e2be974225ed: Download complete 08:16:57 988bab9f4d93: Verifying Checksum 08:16:57 988bab9f4d93: Download complete 08:16:57 1469e6f7b9e6: Verifying Checksum 08:16:57 1469e6f7b9e6: Download complete 08:16:57 339a4e72a1f5: Verifying Checksum 08:16:57 339a4e72a1f5: Download complete 08:16:57 eaf3925da568: Verifying Checksum 08:16:57 eaf3925da568: Download complete 08:16:57 bde34c3a00c8: Verifying Checksum 08:16:57 bde34c3a00c8: Download complete 08:16:57 b352a97aabf1: Download complete 08:16:57 4872d77fe225: Download complete 08:16:57 5851b861e8e6: Verifying Checksum 08:16:57 5851b861e8e6: Download complete 08:16:57 b85a868b505f: Verifying Checksum 08:16:57 b85a868b505f: Download complete 08:16:57 bab4dde63d76: Verifying Checksum 08:16:57 bab4dde63d76: Download complete 08:16:58 b85a868b505f: Pull complete 08:16:59 e2be974225ed: Pull complete 08:16:59 339a4e72a1f5: Pull complete 08:16:59 988bab9f4d93: Pull complete 08:16:59 1469e6f7b9e6: Pull complete 08:16:59 eaf3925da568: Pull complete 08:17:01 bab4dde63d76: Pull complete 08:17:01 bde34c3a00c8: Pull complete 08:17:01 b352a97aabf1: Pull complete 08:17:01 4872d77fe225: Pull complete 08:17:01 5851b861e8e6: Pull complete 08:17:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:17:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:17:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:01 prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container 08:17:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:17:03 $ docker top 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 -eo pid,comm 08:17:03 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). 08:17:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:17:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:03 [ssh-agent] Looking for ssh-agent implementation... 08:17:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:03 $ docker exec 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent 08:17:03 SSH_AUTH_SOCK=/tmp/ssh-NSkz7hOqroqI/agent.33 08:17:03 SSH_AGENT_PID=39 08:17:03 Running ssh-add (command line suppressed) 08:17:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7527095891389124435.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7527095891389124435.key) 08:17:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:04 + git tag --points-at HEAD [Pipeline] } 08:17:04 $ docker exec --env ******** --env ******** 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent -k 08:17:04 unset SSH_AUTH_SOCK; 08:17:04 unset SSH_AGENT_PID; 08:17:04 echo Agent pid 39 killed; 08:17:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:17:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:17:04 [ssh-agent] Looking for ssh-agent implementation... 08:17:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:17:04 $ docker exec 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent 08:17:04 SSH_AUTH_SOCK=/tmp/ssh-pmbOm4mHdUzm/agent.71 08:17:04 SSH_AGENT_PID=76 08:17:04 Running ssh-add (command line suppressed) 08:17:04 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7049253801780693694.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_7049253801780693694.key) 08:17:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:05 + git semver init 08:17:05 2023-04-07 08:17:05,546 [run_init] DEBUG init version:0.0.0 force:False 08:17:05 2023-04-07 08:17:05,547 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver 08:17:05 2023-04-07 08:17:05,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver 08:17:05 2023-04-07 08:17:05,548 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-452/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452, universal_newlines=False, shell=None, istream=None) 08:17:06 2023-04-07 08:17:06,314 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude 08:17:06 2023-04-07 08:17:06,315 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 with force:False 08:17:06 2023-04-07 08:17:06,315 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 08:17:06 2023-04-07 08:17:06,320 [execute] INFO git cat-file --batch-check 08:17:06 2023-04-07 08:17:06,320 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 08:17:06 2023-04-07 08:17:06,327 [execute] INFO git cat-file --batch 08:17:06 2023-04-07 08:17:06,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 08:17:06 2023-04-07 08:17:06,334 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 08:17:06 0.0.0 [Pipeline] } 08:17:06 $ docker exec --env ******** --env ******** 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 ssh-agent -k 08:17:06 unset SSH_AUTH_SOCK; 08:17:06 unset SSH_AGENT_PID; 08:17:06 echo Agent pid 76 killed; 08:17:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:07 + git semver [Pipeline] } 08:17:07 $ docker stop --time=1 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 08:17:08 $ docker rm -f --volumes 735d851a503d675150567dbffb3e5c8727161f155a5001736cab28783e6513f0 [Pipeline] // withDockerContainer [Pipeline] sh 08:17:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:17:09 Stashed 1 file(s) [Pipeline] echo 08:17:09 [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 08:17:09 provisioning config files... 08:17:09 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config17671061102570772396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:17:10 ---> docker-login.sh 08:17:10 nexus3.edgexfoundry.org:10001 08:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:10 Configure a credential helper to remove this warning. See 08:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:10 08:17:10 Login Succeeded 08:17:10 nexus3.edgexfoundry.org:10002 08:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:10 Configure a credential helper to remove this warning. See 08:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:10 08:17:10 Login Succeeded 08:17:10 nexus3.edgexfoundry.org:10003 08:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:10 Configure a credential helper to remove this warning. See 08:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:10 08:17:10 Login Succeeded 08:17:10 nexus3.edgexfoundry.org:10004 08:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:10 Configure a credential helper to remove this warning. See 08:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:10 08:17:10 Login Succeeded 08:17:10 docker.io 08:17:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:17:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:17:10 Configure a credential helper to remove this warning. See 08:17:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:17:10 08:17:10 Login Succeeded 08:17:10 ---> docker-login.sh ends [Pipeline] } 08:17:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:17:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:17:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:17:11 ========================================================= 08:17:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:17:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:11 + 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 . 08:17:11 Sending build context to Docker daemon 6.449MB 08:17:11 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 08:17:11 Step 2/10 : FROM ${BASE} AS builder 08:17:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:17:11 63b65145d645: Pulling fs layer 08:17:11 a2d21d5440eb: Pulling fs layer 08:17:11 935e6c44a52c: Pulling fs layer 08:17:11 94cc34f8dd06: Pulling fs layer 08:17:11 30dea6a524f1: Pulling fs layer 08:17:11 a2aff8979fd8: Pulling fs layer 08:17:11 6808be2612f2: Pulling fs layer 08:17:11 f25807f1079a: Pulling fs layer 08:17:11 30dea6a524f1: Waiting 08:17:11 a2aff8979fd8: Waiting 08:17:11 94cc34f8dd06: Waiting 08:17:11 6808be2612f2: Waiting 08:17:11 a2d21d5440eb: Download complete 08:17:11 94cc34f8dd06: Verifying Checksum 08:17:11 94cc34f8dd06: Download complete 08:17:12 30dea6a524f1: Verifying Checksum 08:17:12 30dea6a524f1: Download complete 08:17:12 63b65145d645: Verifying Checksum 08:17:12 63b65145d645: Download complete 08:17:12 a2aff8979fd8: Verifying Checksum 08:17:12 a2aff8979fd8: Download complete 08:17:12 63b65145d645: Pull complete 08:17:12 a2d21d5440eb: Pull complete 08:17:12 f25807f1079a: Verifying Checksum 08:17:12 f25807f1079a: Download complete 08:17:12 935e6c44a52c: Verifying Checksum 08:17:12 935e6c44a52c: Download complete 08:17:12 6808be2612f2: Verifying Checksum 08:17:16 935e6c44a52c: Pull complete 08:17:16 94cc34f8dd06: Pull complete 08:17:16 30dea6a524f1: Pull complete 08:17:16 a2aff8979fd8: Pull complete 08:17:18 6808be2612f2: Pull complete 08:17:18 f25807f1079a: Pull complete 08:17:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:17:18 ---> 3b553350e43f 08:17:18 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:17:20 ---> Running in 16aa1e7e5bbc 08:17:20 Removing intermediate container 16aa1e7e5bbc 08:17:20 ---> 777a428059f5 08:17:20 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:17:20 ---> Running in e97744f0de2f 08:17:20 Removing intermediate container e97744f0de2f 08:17:20 ---> aa861e54fee8 08:17:20 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:17:20 ---> Running in fc709e35dbb1 08:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:17:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:17:21 (1/8) Installing openssh-keygen (9.1_p1-r2) 08:17:21 (2/8) Installing libedit (20221030.3.1-r0) 08:17:21 (3/8) Installing openssh-client-common (9.1_p1-r2) 08:17:21 (4/8) Installing openssh-client-default (9.1_p1-r2) 08:17:21 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 08:17:21 (6/8) Installing openssh-server-common (9.1_p1-r2) 08:17:21 (7/8) Installing openssh-server (9.1_p1-r2) 08:17:21 (8/8) Installing openssh (9.1_p1-r2) 08:17:21 Executing busybox-1.35.0-r29.trigger 08:17:21 OK: 270 MiB in 61 packages 08:17:21 Removing intermediate container fc709e35dbb1 08:17:21 ---> a290771e0e91 08:17:21 Step 6/10 : WORKDIR /device-modbus-go 08:17:21 ---> Running in 748562ed292c 08:17:21 Removing intermediate container 748562ed292c 08:17:21 ---> 80e3cc03fb1e 08:17:21 Step 7/10 : COPY go.mod vendor* ./ 08:17:22 ---> a106eca1fd53 08:17:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:17:22 ---> Running in fbdfe0b0d8da 08:17:24 Still waiting to schedule task 08:17:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:17:48 Removing intermediate container fbdfe0b0d8da 08:17:48 ---> 8415bf86936e 08:17:48 Step 9/10 : COPY . . 08:17:48 ---> ddc3085a7cde 08:17:48 Step 10/10 : RUN ${MAKE} 08:17:48 ---> Running in cf2f7cca3d0f 08:17:48 noop 08:17:48 Removing intermediate container cf2f7cca3d0f 08:17:48 ---> 98bb11766dde 08:17:48 Successfully built 98bb11766dde 08:17:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:49 + docker inspect -f . ci-base-image-x86_64 08:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:49 prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container 08:17:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@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-x86_64 cat 08:17:49 $ docker top 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:50 + go version 08:17:50 go version go1.20.2 linux/amd64 [Pipeline] } 08:17:50 $ docker stop --time=1 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 08:17:51 $ docker rm -f --volumes 2df5f3bc48b66502ec742937dc26eebfffab767ebfb77706a55e6043967bea92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:52 + docker inspect -f . ci-base-image-x86_64 08:17:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:52 prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container 08:17:52 $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@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-x86_64 cat 08:17:52 $ docker top d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:53 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh 08:17:53 + make test 08:17:53 go test ./... -coverprofile=coverage.out 08:17:58 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:18:08 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:18:08 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.014s coverage: 47.4% of statements 08:18:14 go vet ./... 08:18:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:18:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:18:17 ./bin/test-attribution-txt.sh 08:18:17 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:18:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:18:17 $ docker stop --time=1 d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 08:18:19 $ docker rm -f --volumes d90a899ee2772039da524bd47bff8128515eba8703643307cd567c2595b5b800 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:21 + ls -al . 08:18:21 total 180 08:18:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 08:17 . 08:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:16 .. 08:18:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 08:16 .dockerignore 08:18:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 08:17 .git 08:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 .github 08:18:21 -rw-rw-r-- 1 jenkins jenkins 331 Apr 7 08:16 .gitignore 08:18:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 08:16 .golangci.yml 08:18:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 08:17 .semver 08:18:21 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 7 08:16 Attribution.txt 08:18:21 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 7 08:16 CHANGELOG.md 08:18:21 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 7 08:16 Dockerfile 08:18:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 08:16 GOVERNANCE.md 08:18:21 -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 08:16 Jenkinsfile 08:18:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 08:16 LICENSE 08:18:21 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 7 08:16 Makefile 08:18:21 -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 08:16 OWNERS.md 08:18:21 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 7 08:16 README.md 08:18:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 08:17 VERSION 08:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:16 bin 08:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 cmd 08:18:21 -rw-r--r-- 1 jenkins jenkins 24076 Apr 7 08:18 coverage.out 08:18:21 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 7 08:16 go.mod 08:18:21 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 7 08:16 go.sum 08:18:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:16 internal 08:18:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:16 simulator 08:18:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:16 snap 08:18:21 -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 08:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:21 + 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=d8efb5639a2b1160a579bc2232ace4dedeb4b665 --label arch=amd64 --label version=0.0.0 . 08:18:21 Sending build context to Docker daemon 6.474MB 08:18:21 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 08:18:21 Step 2/22 : FROM ${BASE} AS builder 08:18:21 ---> 98bb11766dde 08:18:21 Step 3/22 : ARG ADD_BUILD_TAGS="" 08:18:21 ---> Running in fe6a87527bcd 08:18:21 Removing intermediate container fe6a87527bcd 08:18:21 ---> 7a48a8541131 08:18:21 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:18:21 ---> Running in 1aa4e1460cee 08:18:21 Removing intermediate container 1aa4e1460cee 08:18:21 ---> 81139ffc86b6 08:18:21 Step 5/22 : RUN apk add --update --no-cache make git openssh 08:18:21 ---> Running in 68c1e61e9266 08:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:18:22 OK: 270 MiB in 61 packages 08:18:22 Removing intermediate container 68c1e61e9266 08:18:22 ---> 1a0af6d48a63 08:18:22 Step 6/22 : WORKDIR /device-modbus-go 08:18:23 ---> Running in 2711858f697e 08:18:23 Removing intermediate container 2711858f697e 08:18:23 ---> cb91fc6d3b74 08:18:23 Step 7/22 : COPY go.mod vendor* ./ 08:18:23 ---> 1711eeaba89d 08:18:23 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:18:23 ---> Running in 3f5fe4b99734 08:18:24 Removing intermediate container 3f5fe4b99734 08:18:24 ---> c6f4a8255ea0 08:18:24 Step 9/22 : COPY . . 08:18:24 ---> 2bfa42919a0c 08:18:24 Step 10/22 : RUN ${MAKE} 08:18:24 ---> Running in 93b8fdb4abda 08:18:24 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 08:18:42 Removing intermediate container 93b8fdb4abda 08:18:42 ---> 692506c82dc3 08:18:42 Step 11/22 : FROM alpine:3.17 08:18:42 3.17: Pulling from library/alpine 08:18:42 f56be85fc22e: Pulling fs layer 08:18:42 f56be85fc22e: Verifying Checksum 08:18:42 f56be85fc22e: Download complete 08:18:42 f56be85fc22e: Pull complete 08:18:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:18:42 Status: Downloaded newer image for alpine:3.17 08:18:42 ---> 9ed4aefc74f6 08:18:42 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:18:42 ---> Running in 77592ff80696 08:18:42 Removing intermediate container 77592ff80696 08:18:42 ---> e9252e918945 08:18:42 Step 13/22 : RUN apk add --update --no-cache dumb-init 08:18:42 ---> Running in 01c180f4e393 08:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:18:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:18:43 (1/1) Installing dumb-init (1.2.5-r2) 08:18:43 Executing busybox-1.35.0-r29.trigger 08:18:43 OK: 7 MiB in 16 packages 08:18:43 Removing intermediate container 01c180f4e393 08:18:43 ---> 454ee2b12c87 08:18:43 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 08:18:43 ---> 12a0095620ce 08:18:43 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 08:18:44 ---> 032c9fe8be0f 08:18:44 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:18:44 ---> 4f6cad790a11 08:18:44 Step 17/22 : EXPOSE 59901 08:18:44 ---> Running in c207086923a8 08:18:44 Removing intermediate container c207086923a8 08:18:44 ---> c59161a9d0cd 08:18:44 Step 18/22 : ENTRYPOINT ["/device-modbus"] 08:18:44 ---> Running in e5ca7c4d9b3d 08:18:44 Removing intermediate container e5ca7c4d9b3d 08:18:44 ---> fd9b3d77779f 08:18:44 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:18:44 ---> Running in 0dfec13f728b 08:18:44 Removing intermediate container 0dfec13f728b 08:18:44 ---> aa2fd8258f7a 08:18:44 Step 20/22 : LABEL arch=amd64 08:18:44 ---> Running in 38d414863f81 08:18:45 Removing intermediate container 38d414863f81 08:18:45 ---> 677a8d23cfc8 08:18:45 Step 21/22 : LABEL git_sha=d8efb5639a2b1160a579bc2232ace4dedeb4b665 08:18:45 ---> Running in 6018fa0cb60f 08:18:45 Removing intermediate container 6018fa0cb60f 08:18:45 ---> ccc77923bfde 08:18:45 Step 22/22 : LABEL version=0.0.0 08:18:45 ---> Running in b827609954e6 08:18:45 Removing intermediate container b827609954e6 08:18:45 ---> 9f496aa8dcea 08:18:45 [Warning] One or more build-args [ARCH] were not consumed 08:18:45 Successfully built 9f496aa8dcea 08:18:45 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 08:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:46 08:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:46 latest: Pulling from edgex-lftools-log-publisher 08:18:46 5eb5b503b376: Pulling fs layer 08:18:46 5c69ac0246d0: Pulling fs layer 08:18:46 ec43610c2a17: Pulling fs layer 08:18:46 3a2ae6a8a46f: Pulling fs layer 08:18:46 33b1e0a273af: Pulling fs layer 08:18:46 5d3b04190fa2: Pulling fs layer 08:18:46 2f39f015ded8: Pulling fs layer 08:18:46 33b1e0a273af: Waiting 08:18:46 5d3b04190fa2: Waiting 08:18:46 2f39f015ded8: Waiting 08:18:46 3a2ae6a8a46f: Waiting 08:18:46 5c69ac0246d0: Download complete 08:18:46 3a2ae6a8a46f: Verifying Checksum 08:18:46 3a2ae6a8a46f: Download complete 08:18:46 33b1e0a273af: Verifying Checksum 08:18:46 33b1e0a273af: Download complete 08:18:46 5d3b04190fa2: Verifying Checksum 08:18:46 5d3b04190fa2: Download complete 08:18:46 ec43610c2a17: Verifying Checksum 08:18:46 ec43610c2a17: Download complete 08:18:46 5eb5b503b376: Verifying Checksum 08:18:46 5eb5b503b376: Download complete 08:18:47 2f39f015ded8: Download complete 08:18:48 5eb5b503b376: Pull complete 08:18:48 5c69ac0246d0: Pull complete 08:18:48 ec43610c2a17: Pull complete 08:18:48 3a2ae6a8a46f: Pull complete 08:18:48 33b1e0a273af: Pull complete 08:18:48 5d3b04190fa2: Pull complete 08:18:53 2f39f015ded8: Pull complete 08:18:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:18:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:18:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:18:53 prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container 08:18:53 $ 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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:18:55 $ docker top d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:18:55 ---> job-cost.sh 08:18:55 lf-activate-venv: SKIPPING 08:18:55 INFO: No Stack... 08:18:55 INFO: Retrieving Pricing Info for: v3-standard-8 08:18:56 INFO: Archiving Costs [Pipeline] sh 08:18:56 + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv 08:18:56 + cut -d, -f6 [Pipeline] lock 08:18:56 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] 08:18:56 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] did not exist. Created. 08:18:56 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:18:57 + echo total: 0.2199999988079071 [Pipeline] stash 08:18:57 Stashed 1 file(s) [Pipeline] } 08:18:57 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:18:57 $ docker stop --time=1 d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb 08:18:58 $ docker rm -f --volumes d4dc2fb0e476990f6e9f65cd4673704315f2bd4f62feb84d14b17f5d23ac57fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:18:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7113 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws 08:18:59 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:18:59 Selected Git installation does not exist. Using Default 08:18:59 The recommended git tool is: NONE 08:19:05 using credential edgex-jenkins-ssh 08:19:05 Cloning the remote Git repository 08:19:05 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:19:05 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:19:05 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:19:05 > git --version # timeout=10 08:19:05 > git --version # 'git version 2.25.1' 08:19:05 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:06 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:19:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:07 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:19:07 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:19:07 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:19:08 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit d8efb5639a2b1160a579bc2232ace4dedeb4b665 08:19:08 Merge succeeded, producing d8efb5639a2b1160a579bc2232ace4dedeb4b665 08:19:08 Checking out Revision d8efb5639a2b1160a579bc2232ace4dedeb4b665 (PR-452) 08:19:08 > git config core.sparsecheckout # timeout=10 08:19:08 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 08:19:08 > git remote # timeout=10 08:19:08 > git config --get remote.origin.url # timeout=10 08:19:08 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:08 > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 08:19:08 > git rev-parse HEAD^{commit} # timeout=10 08:19:08 > git config core.sparsecheckout # timeout=10 08:19:08 > git checkout -f d8efb5639a2b1160a579bc2232ace4dedeb4b665 # timeout=10 08:19:12 Commit message: "feat!: Consume SDK interface changes" 08:19:12 > git --version # timeout=10 08:19:12 > git --version # 'git version 2.25.1' 08:19:12 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:19:13 % Total % Received % Xferd Average Speed Time Time Time Current 08:19:13 Dload Upload Total Spent Left Speed 08:19:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 08:19:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:19:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:19:14 + sudo tee /etc/docker/daemon.new 08:19:14 { 08:19:14 "registry-mirrors": [ 08:19:14 "https://nexus3.edgexfoundry.org:10001" 08:19:14 ], 08:19:14 "bip": "10.250.0.254/24", 08:19:14 "hosts": [ 08:19:14 "tcp://0.0.0.0:5555", 08:19:14 "unix:///var/run/docker.sock" 08:19:14 ], 08:19:14 "mtu": 1458, 08:19:14 "selinux-enabled": true, 08:19:14 "seccomp-profile": "/etc/docker/seccomp.json" 08:19:14 } [Pipeline] sh 08:19:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:19:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:19:33 provisioning config files... 08:19:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config1240622272912732272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:34 ---> docker-login.sh 08:19:34 nexus3.edgexfoundry.org:10001 08:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:34 Configure a credential helper to remove this warning. See 08:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:34 08:19:34 Login Succeeded 08:19:34 nexus3.edgexfoundry.org:10002 08:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:35 Configure a credential helper to remove this warning. See 08:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:35 08:19:35 Login Succeeded 08:19:35 nexus3.edgexfoundry.org:10003 08:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:35 Configure a credential helper to remove this warning. See 08:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:35 08:19:35 Login Succeeded 08:19:35 nexus3.edgexfoundry.org:10004 08:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:35 Configure a credential helper to remove this warning. See 08:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:35 08:19:35 Login Succeeded 08:19:35 docker.io 08:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:36 Configure a credential helper to remove this warning. See 08:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:36 08:19:36 Login Succeeded 08:19:36 ---> docker-login.sh ends [Pipeline] } 08:19:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:19:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:19:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:19:36 ========================================================= 08:19:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:19:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:37 + 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 . 08:19:37 Sending build context to Docker daemon 3.383MB 08:19:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 08:19:37 Step 2/10 : FROM ${BASE} AS builder 08:19:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:19:37 af6eaf76a39c: Pulling fs layer 08:19:37 55522c791124: Pulling fs layer 08:19:37 ce5c4a1c91eb: Pulling fs layer 08:19:37 169dfbe0d373: Pulling fs layer 08:19:37 e1ff8fa3b103: Pulling fs layer 08:19:37 52ebb69f0ebf: Pulling fs layer 08:19:37 5abe8eddf0d5: Pulling fs layer 08:19:37 169dfbe0d373: Waiting 08:19:37 e1ff8fa3b103: Waiting 08:19:37 52ebb69f0ebf: Waiting 08:19:37 5abe8eddf0d5: Waiting 08:19:37 55522c791124: Verifying Checksum 08:19:37 55522c791124: Download complete 08:19:37 169dfbe0d373: Verifying Checksum 08:19:37 169dfbe0d373: Download complete 08:19:37 e1ff8fa3b103: Verifying Checksum 08:19:37 e1ff8fa3b103: Download complete 08:19:37 af6eaf76a39c: Verifying Checksum 08:19:37 af6eaf76a39c: Download complete 08:19:38 af6eaf76a39c: Pull complete 08:19:38 5abe8eddf0d5: Verifying Checksum 08:19:38 5abe8eddf0d5: Download complete 08:19:40 ce5c4a1c91eb: Verifying Checksum 08:19:40 ce5c4a1c91eb: Download complete 08:19:40 52ebb69f0ebf: Download complete 08:19:41 55522c791124: Pull complete 08:19:53 ce5c4a1c91eb: Pull complete 08:19:53 169dfbe0d373: Pull complete 08:19:53 e1ff8fa3b103: Pull complete 08:19:58 52ebb69f0ebf: Pull complete 08:20:00 5abe8eddf0d5: Pull complete 08:20:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:20:00 ---> 6cb57ee374ae 08:20:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 08:20:02 ---> Running in b6c0859acd80 08:20:02 Removing intermediate container b6c0859acd80 08:20:02 ---> d4c82a7181b8 08:20:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:20:02 ---> Running in 6943319013c6 08:20:02 Removing intermediate container 6943319013c6 08:20:02 ---> 54d0021faefc 08:20:02 Step 5/10 : RUN apk add --update --no-cache make git openssh 08:20:02 ---> Running in 0271ac1ce07a 08:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:20:05 (1/8) Installing openssh-keygen (9.1_p1-r2) 08:20:05 (2/8) Installing libedit (20221030.3.1-r0) 08:20:05 (3/8) Installing openssh-client-common (9.1_p1-r2) 08:20:05 (4/8) Installing openssh-client-default (9.1_p1-r2) 08:20:05 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 08:20:05 (6/8) Installing openssh-server-common (9.1_p1-r2) 08:20:05 (7/8) Installing openssh-server (9.1_p1-r2) 08:20:05 (8/8) Installing openssh (9.1_p1-r2) 08:20:05 Executing busybox-1.35.0-r29.trigger 08:20:05 OK: 270 MiB in 61 packages 08:20:08 Removing intermediate container 0271ac1ce07a 08:20:08 ---> 17255bbc5826 08:20:08 Step 6/10 : WORKDIR /device-modbus-go 08:20:08 ---> Running in 0f96abc5e318 08:20:08 Removing intermediate container 0f96abc5e318 08:20:08 ---> 0a5eff32ca48 08:20:08 Step 7/10 : COPY go.mod vendor* ./ 08:20:09 ---> 9f8f2fc674dd 08:20:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:09 ---> Running in 2067407f71b1 08:21:16 Removing intermediate container 2067407f71b1 08:21:16 ---> 5eeddac49800 08:21:16 Step 9/10 : COPY . . 08:21:16 ---> f94a911f2ef4 08:21:16 Step 10/10 : RUN ${MAKE} 08:21:16 ---> Running in 7aa11851daf6 08:21:16 noop 08:21:16 Removing intermediate container 7aa11851daf6 08:21:16 ---> c6203f1107d6 08:21:16 Successfully built c6203f1107d6 08:21:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:17 + docker inspect -f . ci-base-image-arm64 08:21:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:17 prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container 08:21:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:21:18 $ docker top 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:19 + go version 08:21:19 go version go1.20.2 linux/arm64 [Pipeline] } 08:21:19 $ docker stop --time=1 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 08:21:21 $ docker rm -f --volumes 6889b5c8d83fb2f963ff8a68aca036dac25eecab5add2c67a35496cbc19f3a19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:22 + docker inspect -f . ci-base-image-arm64 08:21:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:21:22 prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container 08:21:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:21:23 $ docker top 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 -eo pid,comm [Pipeline] { [Pipeline] sh 08:21:24 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 08:21:25 + make test 08:21:25 go test ./... -coverprofile=coverage.out 08:21:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:23:49 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:23:49 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.069s coverage: 47.4% of statements 08:23:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:23:49 go vet ./... 08:24:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:24:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:24:21 ./bin/test-attribution-txt.sh 08:24:21 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:24:22 $ docker stop --time=1 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 08:24:23 $ docker rm -f --volumes 7b090725017e44d1c90ee983d37a8d23307cac7717b11801fdda66c81f8e49c8 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:24:25 Warning: overwriting stash ‘coverage-report’ 08:24:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:24:26 + ls -al . 08:24:26 total 176 08:24:26 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 08:21 . 08:24:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:19 .. 08:24:26 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 08:19 .dockerignore 08:24:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 08:19 .git 08:24:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 .github 08:24:26 -rw-rw-r-- 1 jenkins jenkins 331 Apr 7 08:19 .gitignore 08:24:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 08:19 .golangci.yml 08:24:26 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 7 08:19 Attribution.txt 08:24:26 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 7 08:19 CHANGELOG.md 08:24:26 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 7 08:19 Dockerfile 08:24:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 08:19 GOVERNANCE.md 08:24:26 -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 08:19 Jenkinsfile 08:24:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 08:19 LICENSE 08:24:26 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 7 08:19 Makefile 08:24:26 -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 08:19 OWNERS.md 08:24:26 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 7 08:19 README.md 08:24:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 08:17 VERSION 08:24:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:19 bin 08:24:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 cmd 08:24:26 -rw-r--r-- 1 jenkins jenkins 24076 Apr 7 08:23 coverage.out 08:24:26 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 7 08:19 go.mod 08:24:26 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 7 08:19 go.sum 08:24:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 08:19 internal 08:24:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 08:19 simulator 08:24:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 08:19 snap 08:24:26 -rw-rw-r-- 1 jenkins jenkins 229 Apr 7 08:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:27 + 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=d8efb5639a2b1160a579bc2232ace4dedeb4b665 --label arch=arm64 --label version=0.0.0 . 08:24:27 Sending build context to Docker daemon 3.408MB 08:24:27 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 08:24:27 Step 2/22 : FROM ${BASE} AS builder 08:24:27 ---> c6203f1107d6 08:24:27 Step 3/22 : ARG ADD_BUILD_TAGS="" 08:24:27 ---> Running in ed625a8afb67 08:24:27 Removing intermediate container ed625a8afb67 08:24:27 ---> 877f1ec9e1c4 08:24:27 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:24:27 ---> Running in 7c63fab4ed32 08:24:28 Removing intermediate container 7c63fab4ed32 08:24:28 ---> ac7ec2b9031d 08:24:28 Step 5/22 : RUN apk add --update --no-cache make git openssh 08:24:28 ---> Running in ad865e62c102 08:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:24:30 OK: 270 MiB in 61 packages 08:24:32 Removing intermediate container ad865e62c102 08:24:32 ---> 812fe670cd03 08:24:32 Step 6/22 : WORKDIR /device-modbus-go 08:24:32 ---> Running in 4e4d29e1cbd9 08:24:32 Removing intermediate container 4e4d29e1cbd9 08:24:32 ---> e3ec788ac7ba 08:24:32 Step 7/22 : COPY go.mod vendor* ./ 08:24:32 ---> 4ea01c0599bd 08:24:32 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:24:32 ---> Running in 4ddae7915473 08:24:35 Removing intermediate container 4ddae7915473 08:24:35 ---> 82d84fa2c4b5 08:24:35 Step 9/22 : COPY . . 08:24:36 ---> d56d5d891878 08:24:36 Step 10/22 : RUN ${MAKE} 08:24:36 ---> Running in f45011603335 08:24:37 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 08:26:43 Removing intermediate container f45011603335 08:26:43 ---> 6e71f1645184 08:26:43 Step 11/22 : FROM alpine:3.17 08:26:43 3.17: Pulling from library/alpine 08:26:43 c41833b44d91: Pulling fs layer 08:26:43 c41833b44d91: Download complete 08:26:43 c41833b44d91: Pull complete 08:26:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:26:43 Status: Downloaded newer image for alpine:3.17 08:26:43 ---> 51e60588ff2c 08:26:43 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 08:26:43 ---> Running in 85ba640beeac 08:26:43 Removing intermediate container 85ba640beeac 08:26:43 ---> 5babab42f3ab 08:26:43 Step 13/22 : RUN apk add --update --no-cache dumb-init 08:26:43 ---> Running in d7b582bf7d2a 08:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:26:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:26:45 (1/1) Installing dumb-init (1.2.5-r2) 08:26:45 Executing busybox-1.35.0-r29.trigger 08:26:45 OK: 8 MiB in 16 packages 08:26:46 Removing intermediate container d7b582bf7d2a 08:26:46 ---> 259def3c665f 08:26:46 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 08:26:47 ---> 9e24734f3c0e 08:26:47 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 08:26:48 ---> 66f7eb44927f 08:26:48 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 08:26:48 ---> 743a3a71a24a 08:26:48 Step 17/22 : EXPOSE 59901 08:26:48 ---> Running in ad2f3ba690a4 08:26:49 Removing intermediate container ad2f3ba690a4 08:26:49 ---> e030ea86a944 08:26:49 Step 18/22 : ENTRYPOINT ["/device-modbus"] 08:26:49 ---> Running in 2ff5454c59d6 08:26:49 Removing intermediate container 2ff5454c59d6 08:26:49 ---> c7bb326ad13b 08:26:49 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:26:49 ---> Running in 4bbe69d41744 08:26:49 Removing intermediate container 4bbe69d41744 08:26:49 ---> 39dd9889432e 08:26:49 Step 20/22 : LABEL arch=arm64 08:26:49 ---> Running in cbe362383155 08:26:50 Removing intermediate container cbe362383155 08:26:50 ---> 2d4d4c0a5247 08:26:50 Step 21/22 : LABEL git_sha=d8efb5639a2b1160a579bc2232ace4dedeb4b665 08:26:50 ---> Running in 2a8a44628e01 08:26:50 Removing intermediate container 2a8a44628e01 08:26:50 ---> ed21919821a7 08:26:50 Step 22/22 : LABEL version=0.0.0 08:26:50 ---> Running in a3c732de2b91 08:26:50 Removing intermediate container a3c732de2b91 08:26:50 ---> 2d5231e5196e 08:26:50 [Warning] One or more build-args [ARCH] were not consumed 08:26:50 Successfully built 2d5231e5196e 08:26:50 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 08:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:51 08:26:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:26:52 arm64: Pulling from edgex-lftools-log-publisher 08:26:52 8998bd30e6a1: Pulling fs layer 08:26:52 04944245beec: Pulling fs layer 08:26:52 699f458cf7ca: Pulling fs layer 08:26:52 765212b225bb: Pulling fs layer 08:26:52 f23df028b6ca: Pulling fs layer 08:26:52 d65c8cfc05b1: Pulling fs layer 08:26:52 2437ff75d9bd: Pulling fs layer 08:26:52 765212b225bb: Waiting 08:26:52 f23df028b6ca: Waiting 08:26:52 d65c8cfc05b1: Waiting 08:26:52 2437ff75d9bd: Waiting 08:26:52 04944245beec: Verifying Checksum 08:26:52 04944245beec: Download complete 08:26:52 765212b225bb: Verifying Checksum 08:26:52 765212b225bb: Download complete 08:26:52 f23df028b6ca: Verifying Checksum 08:26:52 f23df028b6ca: Download complete 08:26:52 d65c8cfc05b1: Verifying Checksum 08:26:52 d65c8cfc05b1: Download complete 08:26:52 699f458cf7ca: Verifying Checksum 08:26:52 699f458cf7ca: Download complete 08:26:52 8998bd30e6a1: Verifying Checksum 08:26:52 8998bd30e6a1: Download complete 08:26:55 2437ff75d9bd: Verifying Checksum 08:26:55 2437ff75d9bd: Download complete 08:26:56 8998bd30e6a1: Pull complete 08:26:57 04944245beec: Pull complete 08:26:58 699f458cf7ca: Pull complete 08:26:58 765212b225bb: Pull complete 08:26:59 f23df028b6ca: Pull complete 08:26:59 d65c8cfc05b1: Pull complete 08:27:14 2437ff75d9bd: Pull complete 08:27:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:27:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:15 prd-ubuntu20.04-docker-arm64-4c-16g-7113 does not seem to be running inside a container 08:27:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:27:17 $ docker top d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:18 ---> job-cost.sh 08:27:18 lf-activate-venv: SKIPPING 08:27:18 INFO: No Stack... 08:27:18 INFO: Retrieving Pricing Info for: v3-standard-4 08:27:19 INFO: Archiving Costs [Pipeline] sh 08:27:20 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 08:27:20 + cut -d, -f6 [Pipeline] lock 08:27:20 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] 08:27:20 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] did not exist. Created. 08:27:20 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:20 /w/workspace/device-modbus-go/1@tmp/durable-8b11befe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:27:21 + echo total: 0.10999999940395355 [Pipeline] stash 08:27:21 Warning: overwriting stash ‘stack-cost’ 08:27:21 Stashed 1 file(s) [Pipeline] } 08:27:21 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:27:21 $ docker stop --time=1 d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b 08:27:22 $ docker rm -f --volumes d20da48e4245e5dc733030c5ae65da20324c390bb30e60e2c8975620fdb5a19b [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 08:27:23 provisioning config files... 08:27:23 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config13190424986361252225tmp [Pipeline] { [Pipeline] sh 08:27:24 + set +x 08:27:24 + curl -s https://codecov.io/bash 08:27:24 + bash -s -- 08:27:24 08:27:24 _____ _ 08:27:24 / ____| | | 08:27:24 | | ___ __| | ___ ___ _____ __ 08:27:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:27:24 | |___| (_) | (_| | __/ (_| (_) \ V / 08:27:24 \_____\___/ \__,_|\___|\___\___/ \_/ 08:27:24 Bash-1.0.6 08:27:24 08:27:24 08:27:24 ==> git version 2.25.1 found 08:27:24 ==> 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 08:27:24 Release-Date: 2020-01-08 08:27:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:27:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:27:24 ==> Jenkins CI detected. 08:27:24 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-452 08:27:24 project root: . 08:27:24 --> token set from env 08:27:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:27:24 ==> Running gcov in . (disable via -X gcov) 08:27:24 ==> Python coveragepy not found 08:27:24 ==> Searching for coverage reports in: 08:27:24 + . 08:27:24 -> Found 1 reports 08:27:24 ==> Detecting git/mercurial file structure 08:27:24 ==> Reading reports 08:27:24 + ./coverage.out bytes=24076 08:27:24 ==> Appending adjustments 08:27:24 https://docs.codecov.io/docs/fixing-reports 08:27:24 + Found adjustments 08:27:24 ==> Gzipping contents 08:27:24 4.0K /tmp/codecov.E4yU4G.gz 08:27:24 ==> Uploading reports 08:27:24 url: https://codecov.io 08:27:24 query: branch=PR-452&commit=d8efb5639a2b1160a579bc2232ace4dedeb4b665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 08:27:24 -> Pinging Codecov 08:27:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-452&commit=d8efb5639a2b1160a579bc2232ace4dedeb4b665&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 08:27:24 -> Uploading to 08:27:24 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/55DBCA73C666E3227836607328DD7E49/d8efb5639a2b1160a579bc2232ace4dedeb4b665/00e2ba33-6726-4cb4-a228-334b304674b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T082724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9803bc32f52ca237cedfffc2d039edd05e0140a76718bc0daff43528182906f8 08:27:24 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:24 Dload Upload Total Spent Left Speed 08:27:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3916 0 0 100 3916 0 12551 --:--:-- --:--:-- --:--:-- 12591 08:27:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/d8efb5639a2b1160a579bc2232ace4dedeb4b665 [Pipeline] } 08:27:25 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 08:27:26 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] 08:27:26 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 08:27:26 total 16 08:27:26 drwxr-xr-x 3 root root 4096 Apr 7 08:18 . 08:27:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:18 .. 08:27:26 drwxr-xr-x 2 root root 4096 Apr 7 08:18 cost 08:27:26 -rw-r--r-- 1 root root 89 Apr 7 08:18 cost.csv 08:27:26 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives 08:27:26 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 08:27:26 total 16 08:27:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 08:18 . 08:27:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 08:18 .. 08:27:26 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 08:18 cost 08:27:26 -rw-r--r-- 1 jenkins jenkins 89 Apr 7 08:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:27:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:27:28 ---> package-listing.sh 08:27:28 ++ facter osfamily 08:27:28 ++ tr '[:upper:]' '[:lower:]' 08:27:28 + OS_FAMILY=debian 08:27:28 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 08:27:28 + START_PACKAGES=/tmp/packages_start.txt 08:27:28 + END_PACKAGES=/tmp/packages_end.txt 08:27:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:27:28 + PACKAGES=/tmp/packages_start.txt 08:27:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 08:27:28 + PACKAGES=/tmp/packages_end.txt 08:27:28 + case "${OS_FAMILY}" in 08:27:28 + dpkg -l 08:27:28 + grep '^ii' 08:27:28 + '[' -f /tmp/packages_start.txt ']' 08:27:28 + '[' -f /tmp/packages_end.txt ']' 08:27:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:27:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 08:27:28 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ 08:27:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ [Pipeline] echo 08:27:28 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:27:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:29 prd-ubuntu20.04-docker-8c-8g-7104 does not seem to be running inside a container 08:27:29 $ 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-452/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-452 -v /w/workspace/xfoundry_device-modbus-go_PR-452:/w/workspace/xfoundry_device-modbus-go_PR-452:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-452@tmp:/w/workspace/xfoundry_device-modbus-go_PR-452@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 08:27:33 $ docker top f9ba5271119aa3b55200a7213fe02a35cd2f903a77742f378bbaf4f8318df78f -eo pid,comm [Pipeline] { [Pipeline] sh 08:27:33 + touch /tmp/pre-build-complete [Pipeline] sh 08:27:34 + mkdir -p /var/log/sysstat [Pipeline] sh 08:27:34 + ls /var/log/sa-host 08:27:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:34 provisioning config files... 08:27:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config8455832818135611212tmp [Pipeline] { [Pipeline] echo 08:27:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:27:35 ---> create-netrc.sh [Pipeline] } 08:27:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:27:35 ---> python-tools-install.sh [Pipeline] echo 08:27:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:27:35 ---> sudo-logs.sh 08:27:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:27:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:27:36 ---> job-cost.sh 08:27:36 lf-activate-venv: SKIPPING 08:27:36 DEBUG: total: 0.2199999988079071 08:27:36 INFO: Retrieving Stack Cost... 08:27:36 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:36 INFO: Archiving Costs [Pipeline] echo 08:27:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:27:37 ---> logs-deploy.sh 08:27:37 lf-activate-venv: SKIPPING 08:27:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/1 08:27:37 INFO: archiving workspace using pattern(s): 08:27:38 Archives upload complete. 08:27:38 INFO: archiving logs to Nexus