Pull request #452 updated 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 e55ff0c5733a77c6f757dab9d5deb531538806d0+7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 (218e112a2a6639c5892865e52935e421c74df191) 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-ssh1742255239690144222.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh7548894891537136991.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh7115983103414102120.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 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-ssh12666205236988870439.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh11047235878324580275.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8393 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 > 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 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit e55ff0c5733a77c6f757dab9d5deb531538806d0 Merge succeeded, producing e55ff0c5733a77c6f757dab9d5deb531538806d0 Checking out Revision e55ff0c5733a77c6f757dab9d5deb531538806d0 (PR-452) > git config core.sparsecheckout # timeout=10 > git checkout -f e55ff0c5733a77c6f757dab9d5deb531538806d0 # 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 e55ff0c5733a77c6f757dab9d5deb531538806d0 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk d275d874f8497be02ccfdbba3a4cf2cb70ce65df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:10:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:10:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:44 ========================================================= 06:10:44 EdgeX Global Pipelines Version Info 06:10:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:10:44 ------------------- 06:10:44 stable info: 06:10:44 ------------------- 06:10:44 Commited By: Bill Mahoney bill.mahoney@intel.com 06:10:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:10:44 Message: update stable to v1.0.248 06:10:45 ------------------- 06:10:45 experimental info: 06:10:45 ------------------- 06:10:45 Commited By: **** collab-it+edgex@linuxfoundation.org 06:10:45 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:10:45 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e55ff0c5733a77c6f757dab9d5deb531538806d0 [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e55ff0c [Pipeline] echo 06:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:46 provisioning config files... 06:10:46 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config9037614130494125151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:46 ---> docker-login.sh 06:10:46 nexus3.edgexfoundry.org:10001 06:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:47 Configure a credential helper to remove this warning. See 06:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:47 06:10:47 Login Succeeded 06:10:47 nexus3.edgexfoundry.org:10002 06:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:47 Configure a credential helper to remove this warning. See 06:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:47 06:10:47 Login Succeeded 06:10:47 nexus3.edgexfoundry.org:10003 06:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:47 Configure a credential helper to remove this warning. See 06:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:47 06:10:47 Login Succeeded 06:10:47 nexus3.edgexfoundry.org:10004 06:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:47 Configure a credential helper to remove this warning. See 06:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:47 06:10:47 Login Succeeded 06:10:47 docker.io 06:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:10:47 Configure a credential helper to remove this warning. See 06:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:10:47 06:10:47 Login Succeeded 06:10:47 ---> docker-login.sh ends [Pipeline] } 06:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:10:48 + git rev-list -1 --merges e55ff0c5733a77c6f757dab9d5deb531538806d0~1..e55ff0c5733a77c6f757dab9d5deb531538806d0 [Pipeline] echo 06:10:48 -----------> git rev-list -1 --merges e55ff0c5733a77c6f757dab9d5deb531538806d0~1..e55ff0c5733a77c6f757dab9d5deb531538806d0 e55ff0c5733a77c6f757dab9d5deb531538806d0 [false] [Pipeline] sh 06:10:48 + git log --format=format:%s -1 e55ff0c5733a77c6f757dab9d5deb531538806d0 [Pipeline] echo 06:10:48 ========================================================= 06:10:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:10:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:48 + git log --format=format:%s -1 e55ff0c5733a77c6f757dab9d5deb531538806d0 [Pipeline] echo 06:10:48 [semverPrep] GIT_COMMIT: e55ff0c5733a77c6f757dab9d5deb531538806d0, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 06:10:48 [semverPrep] This is not a build commit. [Pipeline] sh 06:10:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:10:49 + grep -v github /etc/ssh/ssh_known_hosts 06:10:49 + [ -e /tmp/ssh_known_hosts ] 06:10:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:10:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:10:49 + sudo tee -a /etc/ssh/ssh_known_hosts 06:10:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:49 06:10:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:49 0.1.4: Pulling from edgex-devops/py-git-semver 06:10:49 b85a868b505f: Pulling fs layer 06:10:49 e2be974225ed: Pulling fs layer 06:10:49 339a4e72a1f5: Pulling fs layer 06:10:49 988bab9f4d93: Pulling fs layer 06:10:49 1469e6f7b9e6: Pulling fs layer 06:10:49 eaf3925da568: Pulling fs layer 06:10:49 bab4dde63d76: Pulling fs layer 06:10:49 bde34c3a00c8: Pulling fs layer 06:10:49 b352a97aabf1: Pulling fs layer 06:10:49 4872d77fe225: Pulling fs layer 06:10:49 5851b861e8e6: Pulling fs layer 06:10:49 eaf3925da568: Waiting 06:10:49 988bab9f4d93: Waiting 06:10:49 5851b861e8e6: Waiting 06:10:49 bde34c3a00c8: Waiting 06:10:49 b352a97aabf1: Waiting 06:10:49 bab4dde63d76: Waiting 06:10:49 4872d77fe225: Waiting 06:10:49 1469e6f7b9e6: Waiting 06:10:49 e2be974225ed: Download complete 06:10:49 988bab9f4d93: Verifying Checksum 06:10:49 988bab9f4d93: Download complete 06:10:50 339a4e72a1f5: Verifying Checksum 06:10:50 339a4e72a1f5: Download complete 06:10:50 1469e6f7b9e6: Verifying Checksum 06:10:50 1469e6f7b9e6: Download complete 06:10:50 eaf3925da568: Verifying Checksum 06:10:50 eaf3925da568: Download complete 06:10:50 bde34c3a00c8: Verifying Checksum 06:10:50 bde34c3a00c8: Download complete 06:10:50 b352a97aabf1: Download complete 06:10:50 4872d77fe225: Download complete 06:10:50 5851b861e8e6: Verifying Checksum 06:10:50 5851b861e8e6: Download complete 06:10:50 b85a868b505f: Verifying Checksum 06:10:50 b85a868b505f: Download complete 06:10:50 bab4dde63d76: Verifying Checksum 06:10:50 bab4dde63d76: Download complete 06:10:51 b85a868b505f: Pull complete 06:10:51 e2be974225ed: Pull complete 06:10:52 339a4e72a1f5: Pull complete 06:10:52 988bab9f4d93: Pull complete 06:10:52 1469e6f7b9e6: Pull complete 06:10:52 eaf3925da568: Pull complete 06:10:54 bab4dde63d76: Pull complete 06:10:54 bde34c3a00c8: Pull complete 06:10:54 b352a97aabf1: Pull complete 06:10:54 4872d77fe225: Pull complete 06:10:54 5851b861e8e6: Pull complete 06:10:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:10:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:10:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:54 prd-ubuntu20.04-docker-8c-8g-8393 does not seem to be running inside a container 06:10:54 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:10:58 $ docker top ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a -eo pid,comm 06:10:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:10:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:10:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:58 [ssh-agent] Looking for ssh-agent implementation... 06:10:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:58 $ docker exec ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a ssh-agent 06:10:58 SSH_AUTH_SOCK=/tmp/ssh-pCxSm2uVaKXu/agent.33 06:10:58 SSH_AGENT_PID=39 06:10:58 Running ssh-add (command line suppressed) 06:10:58 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_1503953287842923352.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_1503953287842923352.key) 06:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:58 + git tag --points-at HEAD [Pipeline] } 06:10:58 $ docker exec --env ******** --env ******** ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a ssh-agent -k 06:10:59 unset SSH_AUTH_SOCK; 06:10:59 unset SSH_AGENT_PID; 06:10:59 echo Agent pid 39 killed; 06:10:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:10:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:10:59 [ssh-agent] Looking for ssh-agent implementation... 06:10:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:10:59 $ docker exec ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a ssh-agent 06:10:59 SSH_AUTH_SOCK=/tmp/ssh-42F8l0zqxNlB/agent.71 06:10:59 SSH_AGENT_PID=77 06:10:59 Running ssh-add (command line suppressed) 06:10:59 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_12304910171197582175.key (/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/private_key_12304910171197582175.key) 06:10:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:10:59 + git semver init 06:10:59 2023-04-13 06:10:59,829 [run_init] DEBUG init version:0.0.0 force:False 06:10:59 2023-04-13 06:10:59,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver 06:10:59 2023-04-13 06:10:59,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-452/.semver 06:10:59 2023-04-13 06:10:59,831 [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) 06:11:00 2023-04-13 06:11:00,578 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.git/info/exclude 06:11:00 2023-04-13 06:11:00,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 with force:False 06:11:00 2023-04-13 06:11:00,579 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 06:11:00 2023-04-13 06:11:00,583 [execute] INFO git cat-file --batch-check 06:11:00 2023-04-13 06:11:00,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 06:11:00 2023-04-13 06:11:00,589 [execute] INFO git cat-file --batch 06:11:00 2023-04-13 06:11:00,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 06:11:00 2023-04-13 06:11:00,593 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-452/.semver/PR-452 06:11:00 0.0.0 [Pipeline] } 06:11:00 $ docker exec --env ******** --env ******** ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a ssh-agent -k 06:11:00 unset SSH_AUTH_SOCK; 06:11:00 unset SSH_AGENT_PID; 06:11:00 echo Agent pid 77 killed; 06:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:11:01 + git semver [Pipeline] } 06:11:01 $ docker stop --time=1 ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a 06:11:02 $ docker rm -f --volumes ae6b46f0b06f93ab91c6d969b2a1d7e61347c673dd89b9a22b9db7273ed2ae8a [Pipeline] // withDockerContainer [Pipeline] sh 06:11:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:11:03 Stashed 1 file(s) [Pipeline] echo 06:11:03 [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 06:11:03 provisioning config files... 06:11:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config11415584004096090602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:03 ---> docker-login.sh 06:11:03 nexus3.edgexfoundry.org:10001 06:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:03 Configure a credential helper to remove this warning. See 06:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:03 06:11:03 Login Succeeded 06:11:03 nexus3.edgexfoundry.org:10002 06:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:03 Configure a credential helper to remove this warning. See 06:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:03 06:11:03 Login Succeeded 06:11:03 nexus3.edgexfoundry.org:10003 06:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:04 Configure a credential helper to remove this warning. See 06:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:04 06:11:04 Login Succeeded 06:11:04 nexus3.edgexfoundry.org:10004 06:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:04 Configure a credential helper to remove this warning. See 06:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:04 06:11:04 Login Succeeded 06:11:04 docker.io 06:11:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:11:04 Configure a credential helper to remove this warning. See 06:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:11:04 06:11:04 Login Succeeded 06:11:04 ---> docker-login.sh ends [Pipeline] } 06:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:11:04 ========================================================= 06:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:11:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:11:04 + 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 . 06:11:04 Sending build context to Docker daemon 6.457MB 06:11:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:11:04 Step 2/10 : FROM ${BASE} AS builder 06:11:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:11:04 63b65145d645: Pulling fs layer 06:11:04 a2d21d5440eb: Pulling fs layer 06:11:04 935e6c44a52c: Pulling fs layer 06:11:04 94cc34f8dd06: Pulling fs layer 06:11:04 30dea6a524f1: Pulling fs layer 06:11:04 a2aff8979fd8: Pulling fs layer 06:11:04 6808be2612f2: Pulling fs layer 06:11:04 f25807f1079a: Pulling fs layer 06:11:04 94cc34f8dd06: Waiting 06:11:04 30dea6a524f1: Waiting 06:11:04 a2aff8979fd8: Waiting 06:11:04 6808be2612f2: Waiting 06:11:04 f25807f1079a: Waiting 06:11:04 a2d21d5440eb: Verifying Checksum 06:11:04 a2d21d5440eb: Download complete 06:11:04 94cc34f8dd06: Download complete 06:11:04 30dea6a524f1: Verifying Checksum 06:11:04 30dea6a524f1: Download complete 06:11:04 63b65145d645: Verifying Checksum 06:11:04 63b65145d645: Download complete 06:11:05 a2aff8979fd8: Verifying Checksum 06:11:05 a2aff8979fd8: Download complete 06:11:05 63b65145d645: Pull complete 06:11:05 a2d21d5440eb: Pull complete 06:11:05 f25807f1079a: Verifying Checksum 06:11:05 f25807f1079a: Download complete 06:11:05 935e6c44a52c: Verifying Checksum 06:11:05 935e6c44a52c: Download complete 06:11:05 6808be2612f2: Verifying Checksum 06:11:05 6808be2612f2: Download complete 06:11:08 935e6c44a52c: Pull complete 06:11:08 94cc34f8dd06: Pull complete 06:11:08 30dea6a524f1: Pull complete 06:11:08 a2aff8979fd8: Pull complete 06:11:10 6808be2612f2: Pull complete 06:11:11 f25807f1079a: Pull complete 06:11:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:11:11 ---> 3b553350e43f 06:11:11 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:11:18 ---> Running in 78cd69894ddd 06:11:18 Removing intermediate container 78cd69894ddd 06:11:18 ---> a925c21d29f2 06:11:18 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:11:18 ---> Running in 1c4cff1877ef 06:11:18 Still waiting to schedule task 06:11:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:11:19 Removing intermediate container 1c4cff1877ef 06:11:19 ---> a84b74f6ec2b 06:11:19 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:11:19 ---> Running in 1888490ec4df 06:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:11:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:11:19 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:11:19 (2/8) Installing libedit (20221030.3.1-r0) 06:11:19 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:11:19 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:11:19 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:11:19 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:11:19 (7/8) Installing openssh-server (9.1_p1-r2) 06:11:19 (8/8) Installing openssh (9.1_p1-r2) 06:11:19 Executing busybox-1.35.0-r29.trigger 06:11:19 OK: 270 MiB in 61 packages 06:11:21 Removing intermediate container 1888490ec4df 06:11:21 ---> 7118bb5611f4 06:11:21 Step 6/10 : WORKDIR /device-modbus-go 06:11:21 ---> Running in bd66a5cd9e54 06:11:21 Removing intermediate container bd66a5cd9e54 06:11:21 ---> 31c022e6f932 06:11:21 Step 7/10 : COPY go.mod vendor* ./ 06:11:21 ---> e0e0c57d2114 06:11:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:11:21 ---> Running in c49d7c830470 06:12:07 Removing intermediate container c49d7c830470 06:12:07 ---> 4ec6b80743a2 06:12:07 Step 9/10 : COPY . . 06:12:07 ---> 006665b34fd3 06:12:07 Step 10/10 : RUN ${MAKE} 06:12:07 ---> Running in 8c1f5309b757 06:12:07 noop 06:12:07 Removing intermediate container 8c1f5309b757 06:12:07 ---> 6ee83a5c1cef 06:12:07 Successfully built 6ee83a5c1cef 06:12:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:08 + docker inspect -f . ci-base-image-x86_64 06:12:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:08 prd-ubuntu20.04-docker-8c-8g-8393 does not seem to be running inside a container 06:12:08 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:08 $ docker top af89251899dfa660f78297fdac6ed1700782da4e7fb7bc40230f1a37804c70d5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:09 + go version 06:12:09 go version go1.20.2 linux/amd64 [Pipeline] } 06:12:09 $ docker stop --time=1 af89251899dfa660f78297fdac6ed1700782da4e7fb7bc40230f1a37804c70d5 06:12:10 $ docker rm -f --volumes af89251899dfa660f78297fdac6ed1700782da4e7fb7bc40230f1a37804c70d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:10 + docker inspect -f . ci-base-image-x86_64 06:12:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:10 prd-ubuntu20.04-docker-8c-8g-8393 does not seem to be running inside a container 06:12:10 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:12:11 $ docker top fc91f2b7ec4dbffcb116d52ea9487a271ed61c667bbbe71fbf3a592f0590d703 -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:11 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] fileExists [Pipeline] sh 06:12:11 + make test 06:12:11 go test ./... -coverprofile=coverage.out 06:12:17 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:12:27 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:12:27 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 47.5% of statements 06:12:33 go vet ./... 06:12:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:12:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:12:37 ./bin/test-attribution-txt.sh 06:12:37 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:12:37 $ docker stop --time=1 fc91f2b7ec4dbffcb116d52ea9487a271ed61c667bbbe71fbf3a592f0590d703 06:12:40 $ docker rm -f --volumes fc91f2b7ec4dbffcb116d52ea9487a271ed61c667bbbe71fbf3a592f0590d703 [Pipeline] // withDockerContainer [Pipeline] sh 06:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:12:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:12:41 + ls -al . 06:12:41 total 180 06:12:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:12 . 06:12:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:10 .. 06:12:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 06:10 .dockerignore 06:12:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:11 .git 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:10 .github 06:12:41 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 06:10 .gitignore 06:12:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:10 .golangci.yml 06:12:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:11 .semver 06:12:41 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 06:10 Attribution.txt 06:12:41 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 06:10 CHANGELOG.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 06:10 Dockerfile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:10 GOVERNANCE.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 06:10 Jenkinsfile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:10 LICENSE 06:12:41 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 06:10 Makefile 06:12:41 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 06:10 OWNERS.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 06:10 README.md 06:12:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:11 VERSION 06:12:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:10 bin 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:10 cmd 06:12:41 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 06:12 coverage.out 06:12:41 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 06:10 go.mod 06:12:41 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 06:10 go.sum 06:12:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:10 internal 06:12:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:10 simulator 06:12:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:10 snap 06:12:41 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:41 + 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=e55ff0c5733a77c6f757dab9d5deb531538806d0 --label arch=amd64 --label version=0.0.0 . 06:12:41 Sending build context to Docker daemon 6.482MB 06:12:41 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:12:41 Step 2/22 : FROM ${BASE} AS builder 06:12:41 ---> 6ee83a5c1cef 06:12:41 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:12:42 ---> Running in 1943bf1a0009 06:12:42 Removing intermediate container 1943bf1a0009 06:12:42 ---> 816d0f308011 06:12:42 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:42 ---> Running in 12fc1c785df4 06:12:42 Removing intermediate container 12fc1c785df4 06:12:42 ---> 998dc1bf030c 06:12:42 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:12:42 ---> Running in 24f0bf1d383f 06:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:12:42 OK: 270 MiB in 61 packages 06:12:43 Removing intermediate container 24f0bf1d383f 06:12:43 ---> bc9f709897cb 06:12:43 Step 6/22 : WORKDIR /device-modbus-go 06:12:43 ---> Running in d051eb6ed788 06:12:43 Removing intermediate container d051eb6ed788 06:12:43 ---> d8a2a37b96ba 06:12:43 Step 7/22 : COPY go.mod vendor* ./ 06:12:43 ---> ab7b52560c32 06:12:43 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:12:43 ---> Running in c9ffdb931dc2 06:12:44 Removing intermediate container c9ffdb931dc2 06:12:44 ---> 8314c220bb42 06:12:44 Step 9/22 : COPY . . 06:12:44 ---> 962b21dad77d 06:12:44 Step 10/22 : RUN ${MAKE} 06:12:44 ---> Running in 659f535375c6 06:12:45 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 06:12:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8394 in /w/workspace/xfoundry_device-modbus-go_PR-452 [Pipeline] { [Pipeline] ws 06:12:48 Running in /w/workspace/device-modbus-go/4 [Pipeline] { [Pipeline] checkout 06:12:48 Selected Git installation does not exist. Using Default 06:12:48 The recommended git tool is: NONE 06:12:53 using credential edgex-jenkins-ssh 06:12:53 Cloning the remote Git repository 06:12:53 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:12:53 > git init /w/workspace/device-modbus-go/4 # timeout=10 06:12:53 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:12:53 > git --version # timeout=10 06:12:53 > git --version # 'git version 2.25.1' 06:12:53 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:12:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:12:56 Merging remotes/origin/main commit 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 into PR head commit e55ff0c5733a77c6f757dab9d5deb531538806d0 06:12:57 Merge succeeded, producing e55ff0c5733a77c6f757dab9d5deb531538806d0 06:12:57 Checking out Revision e55ff0c5733a77c6f757dab9d5deb531538806d0 (PR-452) 06:12:56 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:12:56 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:56 > 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 06:12:56 > git config core.sparsecheckout # timeout=10 06:12:56 > git checkout -f e55ff0c5733a77c6f757dab9d5deb531538806d0 # timeout=10 06:12:56 > git remote # timeout=10 06:12:56 > git config --get remote.origin.url # timeout=10 06:12:57 using GIT_SSH to set credentials SSH Credentials for GitHub 06:12:57 > git merge 7ebcbdca1c8e99aa5fa67a846a7ac4c06130ebb3 # timeout=10 06:12:57 > git rev-parse HEAD^{commit} # timeout=10 06:12:57 > git config core.sparsecheckout # timeout=10 06:12:57 > git checkout -f e55ff0c5733a77c6f757dab9d5deb531538806d0 # timeout=10 06:13:00 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:13:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:13:01 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:01 Dload Upload Total Spent Left Speed 06:13:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 06:13:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:13:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:13:02 + sudo tee /etc/docker/daemon.new 06:13:02 { 06:13:02 "registry-mirrors": [ 06:13:02 "https://nexus3.edgexfoundry.org:10001" 06:13:02 ], 06:13:02 "bip": "10.250.0.254/24", 06:13:02 "hosts": [ 06:13:02 "tcp://0.0.0.0:5555", 06:13:02 "unix:///var/run/docker.sock" 06:13:02 ], 06:13:02 "mtu": 1458, 06:13:02 "selinux-enabled": true, 06:13:02 "seccomp-profile": "/etc/docker/seccomp.json" 06:13:02 } [Pipeline] sh 06:13:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:13:03 + sudo service docker restart 06:13:06 Removing intermediate container 659f535375c6 06:13:06 ---> 08307c1ecdf6 06:13:06 Step 11/22 : FROM alpine:3.17 06:13:06 3.17: Pulling from library/alpine 06:13:06 f56be85fc22e: Pulling fs layer 06:13:06 f56be85fc22e: Verifying Checksum 06:13:06 f56be85fc22e: Download complete 06:13:06 f56be85fc22e: Pull complete 06:13:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:13:06 Status: Downloaded newer image for alpine:3.17 06:13:06 ---> 9ed4aefc74f6 06:13:06 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:13:06 ---> Running in 292485d6ea1b 06:13:06 Removing intermediate container 292485d6ea1b 06:13:06 ---> a52b38a5f83b 06:13:06 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:13:06 ---> Running in 1e421af56c56 06:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:13:06 (1/1) Installing dumb-init (1.2.5-r2) 06:13:06 Executing busybox-1.35.0-r29.trigger 06:13:06 OK: 7 MiB in 16 packages 06:13:06 Removing intermediate container 1e421af56c56 06:13:06 ---> 55a929854886 06:13:06 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:13:07 ---> 31b43fe8cd27 06:13:07 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:13:07 ---> 85bcfbb02682 06:13:07 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:13:07 ---> c1bdafeef038 06:13:07 Step 17/22 : EXPOSE 59901 06:13:07 ---> Running in 91e01d2d07bb 06:13:08 Removing intermediate container 91e01d2d07bb 06:13:08 ---> addb3b4ad521 06:13:08 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:13:08 ---> Running in 0426976da191 06:13:08 Removing intermediate container 0426976da191 06:13:08 ---> 8081a36dab46 06:13:08 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:13:08 ---> Running in 1d5686e0052f 06:13:08 Removing intermediate container 1d5686e0052f 06:13:08 ---> a7f8126e5c2f 06:13:08 Step 20/22 : LABEL arch=amd64 06:13:08 ---> Running in 2967dd95d56f 06:13:08 Removing intermediate container 2967dd95d56f 06:13:08 ---> 6087b9b60460 06:13:08 Step 21/22 : LABEL git_sha=e55ff0c5733a77c6f757dab9d5deb531538806d0 06:13:08 ---> Running in 75e31fea6c6f 06:13:08 Removing intermediate container 75e31fea6c6f 06:13:08 ---> ce448f946140 06:13:08 Step 22/22 : LABEL version=0.0.0 06:13:08 ---> Running in eb939d1c201a 06:13:08 Removing intermediate container eb939d1c201a 06:13:08 ---> c61e6912d1e7 06:13:08 [Warning] One or more build-args [ARCH] were not consumed 06:13:08 Successfully built c61e6912d1e7 06:13:08 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 06:13:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:08 06:13:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:09 latest: Pulling from edgex-lftools-log-publisher 06:13:09 5eb5b503b376: Pulling fs layer 06:13:09 5c69ac0246d0: Pulling fs layer 06:13:09 ec43610c2a17: Pulling fs layer 06:13:09 3a2ae6a8a46f: Pulling fs layer 06:13:09 33b1e0a273af: Pulling fs layer 06:13:09 5d3b04190fa2: Pulling fs layer 06:13:09 2f39f015ded8: Pulling fs layer 06:13:09 3a2ae6a8a46f: Waiting 06:13:09 5d3b04190fa2: Waiting 06:13:09 5c69ac0246d0: Verifying Checksum 06:13:09 5c69ac0246d0: Download complete 06:13:09 3a2ae6a8a46f: Verifying Checksum 06:13:09 3a2ae6a8a46f: Download complete 06:13:09 33b1e0a273af: Verifying Checksum 06:13:09 33b1e0a273af: Download complete 06:13:09 ec43610c2a17: Verifying Checksum 06:13:09 ec43610c2a17: Download complete 06:13:09 5d3b04190fa2: Verifying Checksum 06:13:09 5d3b04190fa2: Download complete 06:13:09 5eb5b503b376: Verifying Checksum 06:13:09 5eb5b503b376: Download complete 06:13:10 2f39f015ded8: Verifying Checksum 06:13:10 2f39f015ded8: Download complete 06:13:10 5eb5b503b376: Pull complete 06:13:10 5c69ac0246d0: Pull complete 06:13:11 ec43610c2a17: Pull complete 06:13:11 3a2ae6a8a46f: Pull complete 06:13:11 33b1e0a273af: Pull complete 06:13:11 5d3b04190fa2: Pull complete 06:13:17 2f39f015ded8: Pull complete 06:13:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:13:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:13:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:17 prd-ubuntu20.04-docker-8c-8g-8393 does not seem to be running inside a container 06:13:17 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:13:21 $ docker top fa612c9a65da71b7e3cad966dc92b9635604c364889fa9487faf9c4aa9e0177c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 06:13:21 provisioning config files... 06:13:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/4@tmp/config5664892737319946577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:21 ---> job-cost.sh 06:13:21 lf-activate-venv: SKIPPING 06:13:21 INFO: No Stack... 06:13:21 ---> docker-login.sh 06:13:21 nexus3.edgexfoundry.org:10001 06:13:21 INFO: Retrieving Pricing Info for: v3-standard-8 06:13:22 INFO: Archiving Costs [Pipeline] sh 06:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:22 Configure a credential helper to remove this warning. See 06:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:22 06:13:22 Login Succeeded 06:13:22 + cat /w/workspace/xfoundry_device-modbus-go_PR-452/archives/cost.csv 06:13:22 + cut -d, -f6 [Pipeline] lock 06:13:22 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] 06:13:22 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] did not exist. Created. 06:13:22 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:22 nexus3.edgexfoundry.org:10002 06:13:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:22 + echo total: 0.2199999988079071 [Pipeline] stash 06:13:22 Stashed 1 file(s) [Pipeline] } 06:13:22 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:22 $ docker stop --time=1 fa612c9a65da71b7e3cad966dc92b9635604c364889fa9487faf9c4aa9e0177c 06:13:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:22 Configure a credential helper to remove this warning. See 06:13:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:22 06:13:22 Login Succeeded 06:13:22 nexus3.edgexfoundry.org:10003 06:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:23 Configure a credential helper to remove this warning. See 06:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:23 06:13:23 Login Succeeded 06:13:23 nexus3.edgexfoundry.org:10004 06:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:23 Configure a credential helper to remove this warning. See 06:13:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:23 06:13:23 Login Succeeded 06:13:23 docker.io 06:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:24 Configure a credential helper to remove this warning. See 06:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:24 06:13:24 Login Succeeded 06:13:24 ---> docker-login.sh ends 06:13:24 $ docker rm -f --volumes fa612c9a65da71b7e3cad966dc92b9635604c364889fa9487faf9c4aa9e0177c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:13:24 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 06:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:13:24 ========================================================= 06:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:13:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:24 + 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 . 06:13:25 Sending build context to Docker daemon 3.382MB 06:13:25 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 06:13:25 Step 2/10 : FROM ${BASE} AS builder 06:13:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:13:25 af6eaf76a39c: Pulling fs layer 06:13:25 55522c791124: Pulling fs layer 06:13:25 ce5c4a1c91eb: Pulling fs layer 06:13:25 169dfbe0d373: Pulling fs layer 06:13:25 e1ff8fa3b103: Pulling fs layer 06:13:25 52ebb69f0ebf: Pulling fs layer 06:13:25 5abe8eddf0d5: Pulling fs layer 06:13:25 169dfbe0d373: Waiting 06:13:25 e1ff8fa3b103: Waiting 06:13:25 52ebb69f0ebf: Waiting 06:13:25 5abe8eddf0d5: Waiting 06:13:25 55522c791124: Verifying Checksum 06:13:25 169dfbe0d373: Verifying Checksum 06:13:25 169dfbe0d373: Download complete 06:13:25 e1ff8fa3b103: Verifying Checksum 06:13:25 e1ff8fa3b103: Download complete 06:13:25 af6eaf76a39c: Download complete 06:13:26 af6eaf76a39c: Pull complete 06:13:26 5abe8eddf0d5: Verifying Checksum 06:13:26 5abe8eddf0d5: Download complete 06:13:27 ce5c4a1c91eb: Verifying Checksum 06:13:27 ce5c4a1c91eb: Download complete 06:13:27 52ebb69f0ebf: Verifying Checksum 06:13:27 52ebb69f0ebf: Download complete 06:13:30 55522c791124: Pull complete 06:13:45 ce5c4a1c91eb: Pull complete 06:13:45 169dfbe0d373: Pull complete 06:13:45 e1ff8fa3b103: Pull complete 06:13:52 52ebb69f0ebf: Pull complete 06:13:53 5abe8eddf0d5: Pull complete 06:13:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:13:53 ---> 6cb57ee374ae 06:13:53 Step 3/10 : ARG ADD_BUILD_TAGS="" 06:13:54 ---> Running in 7980a5ccb93a 06:13:54 Removing intermediate container 7980a5ccb93a 06:13:54 ---> 609d405f80e7 06:13:54 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:13:54 ---> Running in 7fdbcfd3cbeb 06:13:54 Removing intermediate container 7fdbcfd3cbeb 06:13:54 ---> 514957e1347c 06:13:54 Step 5/10 : RUN apk add --update --no-cache make git openssh 06:13:54 ---> Running in 8021d3c0cddc 06:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:13:57 (1/8) Installing openssh-keygen (9.1_p1-r2) 06:13:57 (2/8) Installing libedit (20221030.3.1-r0) 06:13:57 (3/8) Installing openssh-client-common (9.1_p1-r2) 06:13:57 (4/8) Installing openssh-client-default (9.1_p1-r2) 06:13:57 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 06:13:57 (6/8) Installing openssh-server-common (9.1_p1-r2) 06:13:57 (7/8) Installing openssh-server (9.1_p1-r2) 06:13:57 (8/8) Installing openssh (9.1_p1-r2) 06:13:57 Executing busybox-1.35.0-r29.trigger 06:13:57 OK: 270 MiB in 61 packages 06:13:58 Removing intermediate container 8021d3c0cddc 06:13:58 ---> 5fa03a1a47b6 06:13:58 Step 6/10 : WORKDIR /device-modbus-go 06:13:58 ---> Running in 08d5f563174d 06:13:59 Removing intermediate container 08d5f563174d 06:13:59 ---> 20b1208c495a 06:13:59 Step 7/10 : COPY go.mod vendor* ./ 06:13:59 ---> 6f97345c6ff9 06:13:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:13:59 ---> Running in 882878238c9c 06:15:07 Removing intermediate container 882878238c9c 06:15:07 ---> 1fb2df7169b9 06:15:07 Step 9/10 : COPY . . 06:15:07 ---> f9091ba25385 06:15:07 Step 10/10 : RUN ${MAKE} 06:15:07 ---> Running in 17d364b6a338 06:15:07 noop 06:15:08 Removing intermediate container 17d364b6a338 06:15:08 ---> b28937596807 06:15:08 Successfully built b28937596807 06:15:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:08 + docker inspect -f . ci-base-image-arm64 06:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:09 prd-ubuntu20.04-docker-arm64-4c-16g-8394 does not seem to be running inside a container 06:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:10 $ docker top b3794ad05aca315fc3c0fce528d1ddab0f6458899e41867c77b3f6e2d9452261 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:11 + go version 06:15:11 go version go1.20.2 linux/arm64 [Pipeline] } 06:15:11 $ docker stop --time=1 b3794ad05aca315fc3c0fce528d1ddab0f6458899e41867c77b3f6e2d9452261 06:15:12 $ docker rm -f --volumes b3794ad05aca315fc3c0fce528d1ddab0f6458899e41867c77b3f6e2d9452261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:13 + docker inspect -f . ci-base-image-arm64 06:15:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:13 prd-ubuntu20.04-docker-arm64-4c-16g-8394 does not seem to be running inside a container 06:15:13 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:15:14 $ docker top 448b0a27d4aceb779fd077c2f13d31822a58115c8bda9760dea7d97d5b8b12b4 -eo pid,comm [Pipeline] { [Pipeline] sh 06:15:15 + git config --global --add safe.directory /w/workspace/device-modbus-go/4 [Pipeline] fileExists [Pipeline] sh 06:15:15 + make test 06:15:15 go test ./... -coverprofile=coverage.out 06:15:48 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:17:54 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:17:54 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.083s coverage: 47.5% of statements 06:17:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:17:54 go vet ./... 06:18:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:27 ./bin/test-attribution-txt.sh 06:18:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:18:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:18:27 $ docker stop --time=1 448b0a27d4aceb779fd077c2f13d31822a58115c8bda9760dea7d97d5b8b12b4 06:18:28 $ docker rm -f --volumes 448b0a27d4aceb779fd077c2f13d31822a58115c8bda9760dea7d97d5b8b12b4 [Pipeline] // withDockerContainer [Pipeline] sh 06:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:18:30 Warning: overwriting stash ‘coverage-report’ 06:18:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:31 + ls -al . 06:18:31 total 176 06:18:31 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 06:15 . 06:18:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:12 .. 06:18:31 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 06:12 .dockerignore 06:18:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:12 .git 06:18:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:12 .github 06:18:31 -rw-rw-r-- 1 jenkins jenkins 331 Apr 13 06:12 .gitignore 06:18:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:12 .golangci.yml 06:18:31 -rw-rw-r-- 1 jenkins jenkins 10004 Apr 13 06:12 Attribution.txt 06:18:31 -rw-rw-r-- 1 jenkins jenkins 11576 Apr 13 06:12 CHANGELOG.md 06:18:31 -rw-rw-r-- 1 jenkins jenkins 1365 Apr 13 06:12 Dockerfile 06:18:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:12 GOVERNANCE.md 06:18:31 -rw-rw-r-- 1 jenkins jenkins 680 Apr 13 06:12 Jenkinsfile 06:18:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:12 LICENSE 06:18:31 -rw-rw-r-- 1 jenkins jenkins 1705 Apr 13 06:12 Makefile 06:18:31 -rw-rw-r-- 1 jenkins jenkins 622 Apr 13 06:12 OWNERS.md 06:18:31 -rw-rw-r-- 1 jenkins jenkins 4045 Apr 13 06:12 README.md 06:18:31 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:11 VERSION 06:18:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:12 bin 06:18:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:12 cmd 06:18:31 -rw-r--r-- 1 jenkins jenkins 24076 Apr 13 06:17 coverage.out 06:18:31 -rw-rw-r-- 1 jenkins jenkins 3453 Apr 13 06:12 go.mod 06:18:31 -rw-rw-r-- 1 jenkins jenkins 31895 Apr 13 06:12 go.sum 06:18:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:12 internal 06:18:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:12 simulator 06:18:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:12 snap 06:18:31 -rw-rw-r-- 1 jenkins jenkins 229 Apr 13 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:31 + 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=e55ff0c5733a77c6f757dab9d5deb531538806d0 --label arch=arm64 --label version=0.0.0 . 06:18:32 Sending build context to Docker daemon 3.407MB 06:18:32 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 06:18:32 Step 2/22 : FROM ${BASE} AS builder 06:18:32 ---> b28937596807 06:18:32 Step 3/22 : ARG ADD_BUILD_TAGS="" 06:18:33 ---> Running in c4b8ce0f7a22 06:18:33 Removing intermediate container c4b8ce0f7a22 06:18:33 ---> 4c978c6e23af 06:18:33 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:18:33 ---> Running in 0b01e114e3d2 06:18:33 Removing intermediate container 0b01e114e3d2 06:18:33 ---> 524b6b3fc5cc 06:18:33 Step 5/22 : RUN apk add --update --no-cache make git openssh 06:18:33 ---> Running in 80d98187b7b5 06:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:18:36 OK: 270 MiB in 61 packages 06:18:37 Removing intermediate container 80d98187b7b5 06:18:37 ---> 9a823ac967b8 06:18:37 Step 6/22 : WORKDIR /device-modbus-go 06:18:37 ---> Running in b3327430f81f 06:18:37 Removing intermediate container b3327430f81f 06:18:37 ---> 2de995c61b26 06:18:37 Step 7/22 : COPY go.mod vendor* ./ 06:18:37 ---> 377cd18a43fe 06:18:37 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:37 ---> Running in a54c9ddd55af 06:18:40 Removing intermediate container a54c9ddd55af 06:18:40 ---> 4d9201057171 06:18:40 Step 9/22 : COPY . . 06:18:40 ---> c07ceca28328 06:18:40 Step 10/22 : RUN ${MAKE} 06:18:41 ---> Running in f6cfcbd256d8 06:18:42 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 06:21:03 Removing intermediate container f6cfcbd256d8 06:21:03 ---> eb1b39f15d69 06:21:03 Step 11/22 : FROM alpine:3.17 06:21:03 3.17: Pulling from library/alpine 06:21:03 c41833b44d91: Pulling fs layer 06:21:03 c41833b44d91: Verifying Checksum 06:21:03 c41833b44d91: Download complete 06:21:03 c41833b44d91: Pull complete 06:21:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:21:03 Status: Downloaded newer image for alpine:3.17 06:21:03 ---> 51e60588ff2c 06:21:03 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 06:21:03 ---> Running in 8561cf483eb3 06:21:03 Removing intermediate container 8561cf483eb3 06:21:03 ---> 1bb7b4eef9e7 06:21:03 Step 13/22 : RUN apk add --update --no-cache dumb-init 06:21:03 ---> Running in 291880c38c51 06:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:21:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:21:03 (1/1) Installing dumb-init (1.2.5-r2) 06:21:03 Executing busybox-1.35.0-r29.trigger 06:21:03 OK: 8 MiB in 16 packages 06:21:03 Removing intermediate container 291880c38c51 06:21:03 ---> 209a7c967795 06:21:03 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 06:21:03 ---> 92d7809464d8 06:21:03 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 06:21:04 ---> 1d7856db048c 06:21:04 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 06:21:05 ---> 50a6cf3d1536 06:21:05 Step 17/22 : EXPOSE 59901 06:21:05 ---> Running in 0c55c5ef588f 06:21:05 Removing intermediate container 0c55c5ef588f 06:21:05 ---> b26c173d1184 06:21:05 Step 18/22 : ENTRYPOINT ["/device-modbus"] 06:21:05 ---> Running in 663d3a02f1c7 06:21:05 Removing intermediate container 663d3a02f1c7 06:21:05 ---> 24668fbe2fed 06:21:05 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:21:05 ---> Running in 4589a3c84f4c 06:21:05 Removing intermediate container 4589a3c84f4c 06:21:05 ---> 65cb0be8ddd9 06:21:05 Step 20/22 : LABEL arch=arm64 06:21:06 ---> Running in dffab070be17 06:21:06 Removing intermediate container dffab070be17 06:21:06 ---> d184a9b4bd50 06:21:06 Step 21/22 : LABEL git_sha=e55ff0c5733a77c6f757dab9d5deb531538806d0 06:21:06 ---> Running in ad149d900e0e 06:21:06 Removing intermediate container ad149d900e0e 06:21:06 ---> 8ea5eab13d7f 06:21:06 Step 22/22 : LABEL version=0.0.0 06:21:06 ---> Running in 262ea0e4be33 06:21:06 Removing intermediate container 262ea0e4be33 06:21:06 ---> 27afbe9fb135 06:21:06 [Warning] One or more build-args [ARCH] were not consumed 06:21:06 Successfully built 27afbe9fb135 06:21:06 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 06:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:07 06:21:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:07 arm64: Pulling from edgex-lftools-log-publisher 06:21:07 8998bd30e6a1: Pulling fs layer 06:21:07 04944245beec: Pulling fs layer 06:21:07 699f458cf7ca: Pulling fs layer 06:21:07 765212b225bb: Pulling fs layer 06:21:07 f23df028b6ca: Pulling fs layer 06:21:07 d65c8cfc05b1: Pulling fs layer 06:21:07 2437ff75d9bd: Pulling fs layer 06:21:07 f23df028b6ca: Waiting 06:21:07 d65c8cfc05b1: Waiting 06:21:07 2437ff75d9bd: Waiting 06:21:07 765212b225bb: Waiting 06:21:07 04944245beec: Verifying Checksum 06:21:07 04944245beec: Download complete 06:21:07 765212b225bb: Download complete 06:21:07 f23df028b6ca: Verifying Checksum 06:21:07 f23df028b6ca: Download complete 06:21:07 d65c8cfc05b1: Verifying Checksum 06:21:07 d65c8cfc05b1: Download complete 06:21:08 699f458cf7ca: Verifying Checksum 06:21:08 699f458cf7ca: Download complete 06:21:08 8998bd30e6a1: Verifying Checksum 06:21:08 8998bd30e6a1: Download complete 06:21:10 2437ff75d9bd: Verifying Checksum 06:21:10 2437ff75d9bd: Download complete 06:21:12 8998bd30e6a1: Pull complete 06:21:12 04944245beec: Pull complete 06:21:13 699f458cf7ca: Pull complete 06:21:13 765212b225bb: Pull complete 06:21:14 f23df028b6ca: Pull complete 06:21:14 d65c8cfc05b1: Pull complete 06:21:27 2437ff75d9bd: Pull complete 06:21:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:21:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:27 prd-ubuntu20.04-docker-arm64-4c-16g-8394 does not seem to be running inside a container 06:21:27 $ 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/4 -v /w/workspace/device-modbus-go/4:/w/workspace/device-modbus-go/4:rw,z -v /w/workspace/device-modbus-go/4@tmp:/w/workspace/device-modbus-go/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:21:30 $ docker top 5463cfac4de4ec3631128193fefe9f0720bdc74dea79080418b3d17a2df28422 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:30 ---> job-cost.sh 06:21:30 lf-activate-venv: SKIPPING 06:21:30 INFO: No Stack... 06:21:31 INFO: Retrieving Pricing Info for: v3-standard-4 06:21:32 INFO: Archiving Costs [Pipeline] sh 06:21:32 + cat+ /w/workspace/device-modbus-go/4/archives/cost.csv 06:21:32 cut -d, -f6 [Pipeline] lock 06:21:32 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] 06:21:32 Resource [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] did not exist. Created. 06:21:32 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:32 /w/workspace/device-modbus-go/4@tmp/durable-e2307b9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:21:33 + echo total: 0.10999999940395355 [Pipeline] stash 06:21:33 Warning: overwriting stash ‘stack-cost’ 06:21:33 Stashed 1 file(s) [Pipeline] } 06:21:33 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-452-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:21:33 $ docker stop --time=1 5463cfac4de4ec3631128193fefe9f0720bdc74dea79080418b3d17a2df28422 06:21:34 $ docker rm -f --volumes 5463cfac4de4ec3631128193fefe9f0720bdc74dea79080418b3d17a2df28422 [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 06:21:35 provisioning config files... 06:21:35 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config9025608503637893735tmp [Pipeline] { [Pipeline] sh 06:21:35 + set +x 06:21:35 + curl -s https://codecov.io/bash 06:21:35 + bash -s -- 06:21:35 06:21:35 _____ _ 06:21:35 / ____| | | 06:21:35 | | ___ __| | ___ ___ _____ __ 06:21:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:21:35 | |___| (_) | (_| | __/ (_| (_) \ V / 06:21:35 \_____\___/ \__,_|\___|\___\___/ \_/ 06:21:35 Bash-1.0.6 06:21:35 06:21:35 06:21:35 ==> git version 2.25.1 found 06:21:35 ==> 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 06:21:35 Release-Date: 2020-01-08 06:21:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:21:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:21:35 ==> Jenkins CI detected. 06:21:35 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-452 06:21:35 project root: . 06:21:35 --> token set from env 06:21:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:21:35 ==> Running gcov in . (disable via -X gcov) 06:21:35 ==> Python coveragepy not found 06:21:35 ==> Searching for coverage reports in: 06:21:35 + . 06:21:35 -> Found 1 reports 06:21:35 ==> Detecting git/mercurial file structure 06:21:35 ==> Reading reports 06:21:35 + ./coverage.out bytes=24076 06:21:35 ==> Appending adjustments 06:21:35 https://docs.codecov.io/docs/fixing-reports 06:21:35 + Found adjustments 06:21:35 ==> Gzipping contents 06:21:35 4.0K /tmp/codecov.EA59SP.gz 06:21:35 ==> Uploading reports 06:21:35 url: https://codecov.io 06:21:35 query: branch=PR-452&commit=e55ff0c5733a77c6f757dab9d5deb531538806d0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 06:21:35 -> Pinging Codecov 06:21:35 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=e55ff0c5733a77c6f757dab9d5deb531538806d0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-452%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=452&job=&cmd_args= 06:21:35 -> Uploading to 06:21:35 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/55DBCA73C666E3227836607328DD7E49/e55ff0c5733a77c6f757dab9d5deb531538806d0/4a229456-345e-4107-8195-73526d98180b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T062135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0fca22db0d53042680937e04d3b5be08fdd07e5bb6f2700aa8da5ac17c760d4 06:21:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:35 Dload Upload Total Spent Left Speed 06:21:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3917 0 0 100 3917 0 17885 --:--:-- --:--:-- --:--:-- 17885 06:21:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/e55ff0c5733a77c6f757dab9d5deb531538806d0 [Pipeline] } 06:21:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:21:36 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-452/archives ] 06:21:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 06:21:36 total 16 06:21:36 drwxr-xr-x 3 root root 4096 Apr 13 06:13 . 06:21:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 06:13 .. 06:21:36 drwxr-xr-x 2 root root 4096 Apr 13 06:13 cost 06:21:36 -rw-r--r-- 1 root root 88 Apr 13 06:13 cost.csv 06:21:36 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-452/archives 06:21:36 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-452/archives 06:21:36 total 16 06:21:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:13 . 06:21:36 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 06:13 .. 06:21:36 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 06:13 cost 06:21:36 -rw-r--r-- 1 jenkins jenkins 88 Apr 13 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:37 ---> package-listing.sh 06:21:37 ++ facter osfamily 06:21:37 ++ tr '[:upper:]' '[:lower:]' 06:21:38 + OS_FAMILY=debian 06:21:38 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-452 06:21:38 + START_PACKAGES=/tmp/packages_start.txt 06:21:38 + END_PACKAGES=/tmp/packages_end.txt 06:21:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:38 + PACKAGES=/tmp/packages_start.txt 06:21:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 06:21:38 + PACKAGES=/tmp/packages_end.txt 06:21:38 + case "${OS_FAMILY}" in 06:21:38 + dpkg -l 06:21:38 + grep '^ii' 06:21:38 + '[' -f /tmp/packages_start.txt ']' 06:21:38 + '[' -f /tmp/packages_end.txt ']' 06:21:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:38 + '[' /w/workspace/xfoundry_device-modbus-go_PR-452 ']' 06:21:38 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-452/archives/ 06:21:38 + 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 06:21:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:38 prd-ubuntu20.04-docker-8c-8g-8393 does not seem to be running inside a container 06:21:38 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:21:39 $ docker top 6cb9eb40d0f46d5c435ccefd0680ab1ef09c07fe37385a77ff414fdbdaa6481f -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:39 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:39 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:39 + ls /var/log/sa-host 06:21:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:40 provisioning config files... 06:21:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-452@tmp/config11071876412991370664tmp [Pipeline] { [Pipeline] echo 06:21:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:40 ---> create-netrc.sh [Pipeline] } 06:21:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:40 ---> python-tools-install.sh [Pipeline] echo 06:21:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> sudo-logs.sh 06:21:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:21:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:41 ---> job-cost.sh 06:21:41 lf-activate-venv: SKIPPING 06:21:41 DEBUG: total: 0.2199999988079071 06:21:41 INFO: Retrieving Stack Cost... 06:21:41 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:42 INFO: Archiving Costs [Pipeline] echo 06:21:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:42 ---> logs-deploy.sh 06:21:42 lf-activate-venv: SKIPPING 06:21:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-452/4 06:21:42 INFO: archiving workspace using pattern(s): 06:21:43 Archives upload complete. 06:21:43 INFO: archiving logs to Nexus