Pull request #448 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6fbeb089fbbe4e762a90d6a370d24d1abe97e316+053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 (faa1a6fae0ae7b804c5be79a0329b4f23f5cf49e) 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-ssh11029959441394893816.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2591971252769946866.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-448/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-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4115044804144634497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3686163300820593729.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-448/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-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14906754976688250350.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 ‘prd-centos7-blackbox-4c-2g-5786’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-5787’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6104’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6105’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6106’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6117’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6107’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6120 in /w/workspace/xfoundry_device-modbus-go_PR-448 [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-448 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 > 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/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 # 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 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 Checking out Revision 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 (PR-448) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:54:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:54:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:54:40 ========================================================= 20:54:40 EdgeX Global Pipelines Version Info 20:54:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 # timeout=10 > git rev-list --no-walk 263cfeb3c48c755545a7af7512c3241740e2324c # timeout=10 20:54:40 ------------------- 20:54:40 stable info: 20:54:40 ------------------- 20:54:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:54:40 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:54:40 Message: update stable to v1.0.245 20:54:41 ------------------- 20:54:41 experimental info: 20:54:41 ------------------- 20:54:41 Commited By: **** collab-it+edgex@linuxfoundation.org 20:54:41 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 20:54:41 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-448 [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-448 [Pipeline] echo 20:54:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-448 [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fbeb08 [Pipeline] echo 20:54:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:42 provisioning config files... 20:54:42 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config1878137871507698653tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:42 ---> docker-login.sh 20:54:42 nexus3.edgexfoundry.org:10001 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 nexus3.edgexfoundry.org:10002 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 nexus3.edgexfoundry.org:10003 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 nexus3.edgexfoundry.org:10004 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 docker.io 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:43 Configure a credential helper to remove this warning. See 20:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:43 20:54:43 Login Succeeded 20:54:43 ---> docker-login.sh ends [Pipeline] } 20:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:54:43 + git rev-list -1 --merges 6fbeb089fbbe4e762a90d6a370d24d1abe97e316~1..6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [Pipeline] echo 20:54:43 -----------> git rev-list -1 --merges 6fbeb089fbbe4e762a90d6a370d24d1abe97e316~1..6fbeb089fbbe4e762a90d6a370d24d1abe97e316 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [false] [Pipeline] sh 20:54:43 + git log --format=format:%s -1 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [Pipeline] echo 20:54:43 ========================================================= 20:54:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:54:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:44 + git log --format=format:%s -1 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [Pipeline] echo 20:54:44 [semverPrep] GIT_COMMIT: 6fbeb089fbbe4e762a90d6a370d24d1abe97e316, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:54:44 [semverPrep] This is not a build commit. [Pipeline] sh 20:54:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:54:44 + grep -v github /etc/ssh/ssh_known_hosts 20:54:44 + [ -e /tmp/ssh_known_hosts ] 20:54:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:54:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:54:44 + sudo tee -a /etc/ssh/ssh_known_hosts 20:54:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:44 20:54:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:45 0.1.4: Pulling from edgex-devops/py-git-semver 20:54:45 b85a868b505f: Pulling fs layer 20:54:45 e2be974225ed: Pulling fs layer 20:54:45 339a4e72a1f5: Pulling fs layer 20:54:45 988bab9f4d93: Pulling fs layer 20:54:45 1469e6f7b9e6: Pulling fs layer 20:54:45 eaf3925da568: Pulling fs layer 20:54:45 bab4dde63d76: Pulling fs layer 20:54:45 bde34c3a00c8: Pulling fs layer 20:54:45 b352a97aabf1: Pulling fs layer 20:54:45 4872d77fe225: Pulling fs layer 20:54:45 5851b861e8e6: Pulling fs layer 20:54:45 bab4dde63d76: Waiting 20:54:45 bde34c3a00c8: Waiting 20:54:45 b352a97aabf1: Waiting 20:54:45 4872d77fe225: Waiting 20:54:45 5851b861e8e6: Waiting 20:54:45 988bab9f4d93: Waiting 20:54:45 1469e6f7b9e6: Waiting 20:54:45 eaf3925da568: Waiting 20:54:45 e2be974225ed: Download complete 20:54:45 988bab9f4d93: Download complete 20:54:45 1469e6f7b9e6: Verifying Checksum 20:54:45 1469e6f7b9e6: Download complete 20:54:45 339a4e72a1f5: Verifying Checksum 20:54:45 339a4e72a1f5: Download complete 20:54:45 eaf3925da568: Download complete 20:54:45 bde34c3a00c8: Verifying Checksum 20:54:45 bde34c3a00c8: Download complete 20:54:45 b352a97aabf1: Download complete 20:54:45 4872d77fe225: Verifying Checksum 20:54:45 4872d77fe225: Download complete 20:54:45 5851b861e8e6: Download complete 20:54:45 b85a868b505f: Verifying Checksum 20:54:45 b85a868b505f: Download complete 20:54:45 bab4dde63d76: Verifying Checksum 20:54:45 bab4dde63d76: Download complete 20:54:47 b85a868b505f: Pull complete 20:54:47 e2be974225ed: Pull complete 20:54:47 339a4e72a1f5: Pull complete 20:54:47 988bab9f4d93: Pull complete 20:54:47 1469e6f7b9e6: Pull complete 20:54:47 eaf3925da568: Pull complete 20:54:49 bab4dde63d76: Pull complete 20:54:49 bde34c3a00c8: Pull complete 20:54:49 b352a97aabf1: Pull complete 20:54:50 4872d77fe225: Pull complete 20:54:50 5851b861e8e6: Pull complete 20:54:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:54:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:50 prd-ubuntu20.04-docker-8c-8g-6120 does not seem to be running inside a container 20:54:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:54:53 $ docker top eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 -eo pid,comm 20:54:53 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). 20:54:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:54:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:53 [ssh-agent] Looking for ssh-agent implementation... 20:54:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:53 $ docker exec eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 ssh-agent 20:54:53 SSH_AUTH_SOCK=/tmp/ssh-zvGeTeQwoChY/agent.31 20:54:53 SSH_AGENT_PID=37 20:54:53 Running ssh-add (command line suppressed) 20:54:53 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_10171342652575581410.key (/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_10171342652575581410.key) 20:54:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:53 + git tag --points-at HEAD [Pipeline] } 20:54:53 $ docker exec --env ******** --env ******** eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 ssh-agent -k 20:54:53 unset SSH_AUTH_SOCK; 20:54:53 unset SSH_AGENT_PID; 20:54:53 echo Agent pid 37 killed; 20:54:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:54:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:54:54 [ssh-agent] Looking for ssh-agent implementation... 20:54:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:54:54 $ docker exec eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 ssh-agent 20:54:54 SSH_AUTH_SOCK=/tmp/ssh-nnhu5fllvAyy/agent.69 20:54:54 SSH_AGENT_PID=75 20:54:54 Running ssh-add (command line suppressed) 20:54:54 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_11419854128108215131.key (/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/private_key_11419854128108215131.key) 20:54:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:54:54 + git semver init 20:54:54 2023-03-28 20:54:54,792 [run_init] DEBUG init version:0.0.0 force:False 20:54:54 2023-03-28 20:54:54,793 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver 20:54:54 2023-03-28 20:54:54,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-448/.semver 20:54:54 2023-03-28 20:54:54,794 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-448/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448, universal_newlines=False, shell=None, istream=None) 20:54:55 2023-03-28 20:54:55,553 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-448/.git/info/exclude 20:54:55 2023-03-28 20:54:55,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 with force:False 20:54:55 2023-03-28 20:54:55,553 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 20:54:55 2023-03-28 20:54:55,557 [execute] INFO git cat-file --batch-check 20:54:55 2023-03-28 20:54:55,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 20:54:55 2023-03-28 20:54:55,564 [execute] INFO git cat-file --batch 20:54:55 2023-03-28 20:54:55,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 20:54:55 2023-03-28 20:54:55,569 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-448/.semver/PR-448 20:54:55 0.0.0 [Pipeline] } 20:54:55 $ docker exec --env ******** --env ******** eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 ssh-agent -k 20:54:55 unset SSH_AUTH_SOCK; 20:54:55 unset SSH_AGENT_PID; 20:54:55 echo Agent pid 75 killed; 20:54:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:54:56 + git semver [Pipeline] } 20:54:56 $ docker stop --time=1 eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 20:54:57 $ docker rm -f --volumes eddac10a29b2c3fbcf384d812ee3c05f755622f62d05e297b217fd076f8430b5 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:54:58 Stashed 1 file(s) [Pipeline] echo 20:54:58 [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 20:54:58 provisioning config files... 20:54:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config17203085948797330166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:58 ---> docker-login.sh 20:54:58 nexus3.edgexfoundry.org:10001 20:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:58 Configure a credential helper to remove this warning. See 20:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:58 20:54:58 Login Succeeded 20:54:58 nexus3.edgexfoundry.org:10002 20:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:58 Configure a credential helper to remove this warning. See 20:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:58 20:54:58 Login Succeeded 20:54:58 nexus3.edgexfoundry.org:10003 20:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:59 Configure a credential helper to remove this warning. See 20:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:59 20:54:59 Login Succeeded 20:54:59 nexus3.edgexfoundry.org:10004 20:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:59 Configure a credential helper to remove this warning. See 20:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:59 20:54:59 Login Succeeded 20:54:59 docker.io 20:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:59 Configure a credential helper to remove this warning. See 20:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:59 20:54:59 Login Succeeded 20:54:59 ---> docker-login.sh ends [Pipeline] } 20:54:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:59 ========================================================= 20:54:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:54:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:59 + 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 . 20:54:59 Sending build context to Docker daemon 6.403MB 20:54:59 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:54:59 Step 2/10 : FROM ${BASE} AS builder 20:54:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:54:59 63b65145d645: Pulling fs layer 20:54:59 a2d21d5440eb: Pulling fs layer 20:54:59 935e6c44a52c: Pulling fs layer 20:54:59 94cc34f8dd06: Pulling fs layer 20:54:59 30dea6a524f1: Pulling fs layer 20:54:59 a2aff8979fd8: Pulling fs layer 20:54:59 6808be2612f2: Pulling fs layer 20:54:59 f25807f1079a: Pulling fs layer 20:54:59 30dea6a524f1: Waiting 20:54:59 6808be2612f2: Waiting 20:54:59 f25807f1079a: Waiting 20:54:59 94cc34f8dd06: Waiting 20:54:59 a2d21d5440eb: Download complete 20:54:59 94cc34f8dd06: Download complete 20:54:59 30dea6a524f1: Verifying Checksum 20:54:59 30dea6a524f1: Download complete 20:54:59 63b65145d645: Verifying Checksum 20:54:59 63b65145d645: Download complete 20:54:59 a2aff8979fd8: Verifying Checksum 20:54:59 a2aff8979fd8: Download complete 20:54:59 63b65145d645: Pull complete 20:55:00 a2d21d5440eb: Pull complete 20:55:00 f25807f1079a: Verifying Checksum 20:55:00 f25807f1079a: Download complete 20:55:00 935e6c44a52c: Download complete 20:55:00 6808be2612f2: Verifying Checksum 20:55:00 6808be2612f2: Download complete 20:55:04 935e6c44a52c: Pull complete 20:55:04 94cc34f8dd06: Pull complete 20:55:04 30dea6a524f1: Pull complete 20:55:04 a2aff8979fd8: Pull complete 20:55:05 6808be2612f2: Pull complete 20:55:06 f25807f1079a: Pull complete 20:55:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:55:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:55:06 ---> 3b553350e43f 20:55:06 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:55:11 ---> Running in f37c1b9f9ec4 20:55:11 Removing intermediate container f37c1b9f9ec4 20:55:11 ---> 95b8568b5706 20:55:11 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:11 ---> Running in 6de03fde0798 20:55:11 Removing intermediate container 6de03fde0798 20:55:11 ---> 7c87f9da1ece 20:55:11 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:55:11 ---> Running in 0a2d380a6feb 20:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:55:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:55:11 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:55:11 (2/8) Installing libedit (20221030.3.1-r0) 20:55:11 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:55:11 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:55:11 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:55:11 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:55:11 (7/8) Installing openssh-server (9.1_p1-r2) 20:55:11 (8/8) Installing openssh (9.1_p1-r2) 20:55:11 Executing busybox-1.35.0-r29.trigger 20:55:11 OK: 270 MiB in 61 packages 20:55:12 Removing intermediate container 0a2d380a6feb 20:55:12 ---> aa5f68c8d409 20:55:12 Step 6/10 : WORKDIR /device-modbus-go 20:55:12 ---> Running in d7fe0c6ff0d1 20:55:12 Removing intermediate container d7fe0c6ff0d1 20:55:12 ---> 809b59418cfa 20:55:12 Step 7/10 : COPY go.mod vendor* ./ 20:55:12 ---> 84d155329fac 20:55:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:12 ---> Running in cc4dda15133d 20:55:13 Still waiting to schedule task 20:55:13 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:55:39 Removing intermediate container cc4dda15133d 20:55:39 ---> 1ae8b70f5873 20:55:39 Step 9/10 : COPY . . 20:55:39 ---> 6d11440ca5fc 20:55:39 Step 10/10 : RUN ${MAKE} 20:55:39 ---> Running in 253f7231b4d9 20:55:39 noop 20:55:39 Removing intermediate container 253f7231b4d9 20:55:39 ---> 7fd78236eeba 20:55:39 Successfully built 7fd78236eeba 20:55:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:39 + docker inspect -f . ci-base-image-x86_64 20:55:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:39 prd-ubuntu20.04-docker-8c-8g-6120 does not seem to be running inside a container 20:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:55:39 $ docker top 080f7db6c0f663da4361649f029c13669c26481f8dd302bff5f70b1ba123d533 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:40 + go version 20:55:40 go version go1.20.2 linux/amd64 [Pipeline] } 20:55:40 $ docker stop --time=1 080f7db6c0f663da4361649f029c13669c26481f8dd302bff5f70b1ba123d533 20:55:41 $ docker rm -f --volumes 080f7db6c0f663da4361649f029c13669c26481f8dd302bff5f70b1ba123d533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:41 + docker inspect -f . ci-base-image-x86_64 20:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:41 prd-ubuntu20.04-docker-8c-8g-6120 does not seem to be running inside a container 20:55:42 $ 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-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:55:42 $ docker top 44d45aae704c0927d51a6896c8c32cdb57b35b35e8989ce2faceb282d258ab3d -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:42 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-448 [Pipeline] fileExists [Pipeline] sh 20:55:42 + make test 20:55:42 go test ./... -coverprofile=coverage.out 20:55:47 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:55:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 20:55:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.015s coverage: 48.0% of statements 20:56:02 go vet ./... 20:56:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:05 $ docker stop --time=1 44d45aae704c0927d51a6896c8c32cdb57b35b35e8989ce2faceb282d258ab3d 20:56:09 $ docker rm -f --volumes 44d45aae704c0927d51a6896c8c32cdb57b35b35e8989ce2faceb282d258ab3d [Pipeline] // withDockerContainer [Pipeline] sh 20:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:10 + ls -al . 20:56:10 total 180 20:56:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:55 . 20:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:54 .. 20:56:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:54 .dockerignore 20:56:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:54 .git 20:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 .github 20:56:10 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:54 .gitignore 20:56:10 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:54 .golangci.yml 20:56:10 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:54 .semver 20:56:10 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:54 Attribution.txt 20:56:10 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:54 CHANGELOG.md 20:56:10 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:54 Dockerfile 20:56:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:54 GOVERNANCE.md 20:56:10 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:54 Jenkinsfile 20:56:10 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:54 LICENSE 20:56:10 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:54 Makefile 20:56:10 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:54 OWNERS.md 20:56:10 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:54 README.md 20:56:10 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:54 VERSION 20:56:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:54 bin 20:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 cmd 20:56:10 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 20:55 coverage.out 20:56:10 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:54 go.mod 20:56:10 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:54 go.sum 20:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:54 internal 20:56:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:54 simulator 20:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:54 snap 20:56:10 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:10 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6fbeb089fbbe4e762a90d6a370d24d1abe97e316 --label arch=amd64 --label version=0.0.0 . 20:56:10 Sending build context to Docker daemon 6.427MB 20:56:10 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 20:56:10 Step 2/22 : FROM ${BASE} AS builder 20:56:10 ---> 7fd78236eeba 20:56:10 Step 3/22 : ARG ADD_BUILD_TAGS="" 20:56:10 ---> Running in 225e2bed5050 20:56:10 Removing intermediate container 225e2bed5050 20:56:10 ---> fe66a38dbd01 20:56:10 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:10 ---> Running in e12c3a4a96c8 20:56:10 Removing intermediate container e12c3a4a96c8 20:56:10 ---> 3e364cb9deb7 20:56:10 Step 5/22 : RUN apk add --update --no-cache make git openssh 20:56:11 ---> Running in 92c10e802b09 20:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:56:11 OK: 270 MiB in 61 packages 20:56:11 Removing intermediate container 92c10e802b09 20:56:11 ---> d81d22e3268c 20:56:11 Step 6/22 : WORKDIR /device-modbus-go 20:56:11 ---> Running in 2fd071384870 20:56:11 Removing intermediate container 2fd071384870 20:56:11 ---> 44c77ef1e196 20:56:11 Step 7/22 : COPY go.mod vendor* ./ 20:56:12 ---> 138bffcbf6c7 20:56:12 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:12 ---> Running in 58197f45b851 20:56:12 Removing intermediate container 58197f45b851 20:56:12 ---> d622bf35c815 20:56:12 Step 9/22 : COPY . . 20:56:13 ---> fe5c3e93a944 20:56:13 Step 10/22 : RUN ${MAKE} 20:56:13 ---> Running in e08303274d65 20:56:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-modbus ./cmd 20:56:35 Removing intermediate container e08303274d65 20:56:35 ---> 9a159d07ee53 20:56:35 Step 11/22 : FROM alpine:3.17 20:56:35 3.17: Pulling from library/alpine 20:56:35 63b65145d645: Already exists 20:56:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 20:56:35 Status: Downloaded newer image for alpine:3.17 20:56:35 ---> b2aa39c304c2 20:56:35 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 20:56:35 ---> Running in 1521ea96d0cc 20:56:35 Removing intermediate container 1521ea96d0cc 20:56:35 ---> 0dd840cad831 20:56:35 Step 13/22 : RUN apk add --update --no-cache dumb-init 20:56:35 ---> Running in f8a3f3155a8e 20:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:56:35 (1/1) Installing dumb-init (1.2.5-r2) 20:56:35 Executing busybox-1.35.0-r29.trigger 20:56:35 OK: 7 MiB in 16 packages 20:56:35 Removing intermediate container f8a3f3155a8e 20:56:35 ---> 33885da4d70e 20:56:35 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 20:56:35 ---> 822e061d5b27 20:56:35 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 20:56:35 ---> 3df168fff6d9 20:56:35 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 20:56:35 ---> 9287814877f0 20:56:35 Step 17/22 : EXPOSE 59901 20:56:35 ---> Running in dc37be0b49bb 20:56:35 Removing intermediate container dc37be0b49bb 20:56:35 ---> 55955f45fe35 20:56:35 Step 18/22 : ENTRYPOINT ["/device-modbus"] 20:56:35 ---> Running in bfd2974e6164 20:56:35 Removing intermediate container bfd2974e6164 20:56:35 ---> 681591c1347f 20:56:35 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:35 ---> Running in 0b5f34e3f993 20:56:35 Removing intermediate container 0b5f34e3f993 20:56:35 ---> d6dc7c3310ac 20:56:35 Step 20/22 : LABEL arch=amd64 20:56:35 ---> Running in 26e480f1f0be 20:56:35 Removing intermediate container 26e480f1f0be 20:56:35 ---> bdb1d5ca5747 20:56:35 Step 21/22 : LABEL git_sha=6fbeb089fbbe4e762a90d6a370d24d1abe97e316 20:56:35 ---> Running in d02f7e81bfc7 20:56:35 Removing intermediate container d02f7e81bfc7 20:56:35 ---> cbb7bad6f8ce 20:56:35 Step 22/22 : LABEL version=0.0.0 20:56:35 ---> Running in ce5be097eac3 20:56:35 Removing intermediate container ce5be097eac3 20:56:35 ---> fa8296bbb41e 20:56:35 [Warning] One or more build-args [ARCH] were not consumed 20:56:35 Successfully built fa8296bbb41e 20:56:35 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:36 20:56:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:36 latest: Pulling from edgex-lftools-log-publisher 20:56:36 5eb5b503b376: Pulling fs layer 20:56:36 5c69ac0246d0: Pulling fs layer 20:56:36 ec43610c2a17: Pulling fs layer 20:56:36 3a2ae6a8a46f: Pulling fs layer 20:56:36 33b1e0a273af: Pulling fs layer 20:56:36 3a2ae6a8a46f: Waiting 20:56:36 5d3b04190fa2: Pulling fs layer 20:56:36 2f39f015ded8: Pulling fs layer 20:56:36 33b1e0a273af: Waiting 20:56:36 2f39f015ded8: Waiting 20:56:36 5d3b04190fa2: Waiting 20:56:36 5c69ac0246d0: Download complete 20:56:36 3a2ae6a8a46f: Verifying Checksum 20:56:36 3a2ae6a8a46f: Download complete 20:56:36 33b1e0a273af: Download complete 20:56:36 ec43610c2a17: Verifying Checksum 20:56:36 ec43610c2a17: Download complete 20:56:36 5d3b04190fa2: Verifying Checksum 20:56:36 5d3b04190fa2: Download complete 20:56:36 5eb5b503b376: Verifying Checksum 20:56:36 5eb5b503b376: Download complete 20:56:37 2f39f015ded8: Download complete 20:56:37 5eb5b503b376: Pull complete 20:56:38 5c69ac0246d0: Pull complete 20:56:38 ec43610c2a17: Pull complete 20:56:38 3a2ae6a8a46f: Pull complete 20:56:39 33b1e0a273af: Pull complete 20:56:39 5d3b04190fa2: Pull complete 20:56:43 2f39f015ded8: Pull complete 20:56:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:43 prd-ubuntu20.04-docker-8c-8g-6120 does not seem to be running inside a container 20:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:56:47 $ docker top 7b709c315b74007adc20edd56a73a18031f90ce15e23c054ee06790e45af1ec7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:47 ---> job-cost.sh 20:56:47 lf-activate-venv: SKIPPING 20:56:47 INFO: No Stack... 20:56:48 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:48 INFO: Archiving Costs [Pipeline] sh 20:56:48 + cat /w/workspace/xfoundry_device-modbus-go_PR-448/archives/cost.csv 20:56:48 + cut -d, -f6 [Pipeline] lock 20:56:48 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] 20:56:48 Resource [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] did not exist. Created. 20:56:48 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:48 + echo total: 0.2199999988079071 [Pipeline] stash 20:56:48 Stashed 1 file(s) [Pipeline] } 20:56:48 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:48 $ docker stop --time=1 7b709c315b74007adc20edd56a73a18031f90ce15e23c054ee06790e45af1ec7 20:56:50 $ docker rm -f --volumes 7b709c315b74007adc20edd56a73a18031f90ce15e23c054ee06790e45af1ec7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6122 in /w/workspace/xfoundry_device-modbus-go_PR-448 [Pipeline] { [Pipeline] ws 20:58:24 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:58:24 Selected Git installation does not exist. Using Default 20:58:24 The recommended git tool is: NONE 20:58:33 using credential edgex-jenkins-ssh 20:58:33 Cloning the remote Git repository 20:58:33 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:58:33 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:58:34 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:58:34 > git --version # timeout=10 20:58:34 > git --version # 'git version 2.25.1' 20:58:34 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:58:36 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:58:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:58:37 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:58:37 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:58:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:58:38 Merging remotes/origin/main commit 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 into PR head commit 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 20:58:38 Merge succeeded, producing 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 20:58:38 Checking out Revision 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 (PR-448) 20:58:39 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:38 > git config core.sparsecheckout # timeout=10 20:58:38 > git checkout -f 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 # timeout=10 20:58:38 > git remote # timeout=10 20:58:38 > git config --get remote.origin.url # timeout=10 20:58:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:58:38 > git merge 053db68f2108a7cf22f6c86d4ad59a87daeaa2c9 # timeout=10 20:58:38 > git rev-parse HEAD^{commit} # timeout=10 20:58:38 > git config core.sparsecheckout # timeout=10 20:58:38 > git checkout -f 6fbeb089fbbe4e762a90d6a370d24d1abe97e316 # timeout=10 20:58:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:58:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:39 Dload Upload Total Spent Left Speed 20:58:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 20:58:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:58:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:58:40 + sudo tee /etc/docker/daemon.new 20:58:40 { 20:58:40 "registry-mirrors": [ 20:58:40 "https://nexus3.edgexfoundry.org:10001" 20:58:40 ], 20:58:40 "bip": "10.250.0.254/24", 20:58:40 "hosts": [ 20:58:40 "tcp://0.0.0.0:5555", 20:58:40 "unix:///var/run/docker.sock" 20:58:40 ], 20:58:40 "mtu": 1458, 20:58:40 "selinux-enabled": true, 20:58:40 "seccomp-profile": "/etc/docker/seccomp.json" 20:58:40 } [Pipeline] sh 20:58:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:58:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:59 provisioning config files... 20:58:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config17599363262535296765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:00 ---> docker-login.sh 20:59:00 nexus3.edgexfoundry.org:10001 20:59:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:00 Configure a credential helper to remove this warning. See 20:59:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:00 20:59:00 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10002 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10003 20:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:01 Configure a credential helper to remove this warning. See 20:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:01 20:59:01 Login Succeeded 20:59:01 nexus3.edgexfoundry.org:10004 20:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 docker.io 20:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:02 Configure a credential helper to remove this warning. See 20:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:02 20:59:02 Login Succeeded 20:59:02 ---> docker-login.sh ends [Pipeline] } 20:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:03 ========================================================= 20:59:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:59:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:03 + 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 . 20:59:03 Sending build context to Docker daemon 3.342MB 20:59:03 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 20:59:03 Step 2/10 : FROM ${BASE} AS builder 20:59:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:59:04 af6eaf76a39c: Pulling fs layer 20:59:04 55522c791124: Pulling fs layer 20:59:04 ce5c4a1c91eb: Pulling fs layer 20:59:04 169dfbe0d373: Pulling fs layer 20:59:04 e1ff8fa3b103: Pulling fs layer 20:59:04 52ebb69f0ebf: Pulling fs layer 20:59:04 5abe8eddf0d5: Pulling fs layer 20:59:04 169dfbe0d373: Waiting 20:59:04 e1ff8fa3b103: Waiting 20:59:04 5abe8eddf0d5: Waiting 20:59:04 52ebb69f0ebf: Waiting 20:59:04 55522c791124: Verifying Checksum 20:59:04 55522c791124: Download complete 20:59:04 169dfbe0d373: Verifying Checksum 20:59:04 169dfbe0d373: Download complete 20:59:04 e1ff8fa3b103: Verifying Checksum 20:59:04 e1ff8fa3b103: Download complete 20:59:04 af6eaf76a39c: Verifying Checksum 20:59:05 af6eaf76a39c: Pull complete 20:59:05 5abe8eddf0d5: Verifying Checksum 20:59:05 5abe8eddf0d5: Download complete 20:59:05 55522c791124: Pull complete 20:59:06 ce5c4a1c91eb: Verifying Checksum 20:59:06 ce5c4a1c91eb: Download complete 20:59:06 52ebb69f0ebf: Verifying Checksum 20:59:06 52ebb69f0ebf: Download complete 20:59:19 ce5c4a1c91eb: Pull complete 20:59:19 169dfbe0d373: Pull complete 20:59:19 e1ff8fa3b103: Pull complete 20:59:25 52ebb69f0ebf: Pull complete 20:59:27 5abe8eddf0d5: Pull complete 20:59:27 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:59:27 ---> 6cb57ee374ae 20:59:27 Step 3/10 : ARG ADD_BUILD_TAGS="" 20:59:29 ---> Running in 8f325743791f 20:59:29 Removing intermediate container 8f325743791f 20:59:29 ---> acb9c5711ab3 20:59:29 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:29 ---> Running in 8de9e10942bb 20:59:30 Removing intermediate container 8de9e10942bb 20:59:30 ---> 47a173ca26ea 20:59:30 Step 5/10 : RUN apk add --update --no-cache make git openssh 20:59:30 ---> Running in 538eda4bd820 20:59:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:59:33 (1/8) Installing openssh-keygen (9.1_p1-r2) 20:59:33 (2/8) Installing libedit (20221030.3.1-r0) 20:59:33 (3/8) Installing openssh-client-common (9.1_p1-r2) 20:59:33 (4/8) Installing openssh-client-default (9.1_p1-r2) 20:59:33 (5/8) Installing openssh-sftp-server (9.1_p1-r2) 20:59:33 (6/8) Installing openssh-server-common (9.1_p1-r2) 20:59:33 (7/8) Installing openssh-server (9.1_p1-r2) 20:59:33 (8/8) Installing openssh (9.1_p1-r2) 20:59:33 Executing busybox-1.35.0-r29.trigger 20:59:33 OK: 270 MiB in 61 packages 20:59:34 Removing intermediate container 538eda4bd820 20:59:34 ---> 3603d9ea93d4 20:59:34 Step 6/10 : WORKDIR /device-modbus-go 20:59:34 ---> Running in 1c138de856e8 20:59:35 Removing intermediate container 1c138de856e8 20:59:35 ---> 150b2923d5ef 20:59:35 Step 7/10 : COPY go.mod vendor* ./ 20:59:36 ---> 77a04ac365dd 20:59:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:36 ---> Running in 5d77bb6301cc 21:00:44 Removing intermediate container 5d77bb6301cc 21:00:44 ---> a416b0e21f04 21:00:44 Step 9/10 : COPY . . 21:00:44 ---> ed23edbd4041 21:00:44 Step 10/10 : RUN ${MAKE} 21:00:44 ---> Running in ae19f7634edc 21:00:44 noop 21:00:44 Removing intermediate container ae19f7634edc 21:00:44 ---> 0b93d850548d 21:00:44 Successfully built 0b93d850548d 21:00:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:44 + docker inspect -f . ci-base-image-arm64 21:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-6122 does not seem to be running inside a container 21:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:00:46 $ docker top 8b211fb0b16dd02f8165e9634558f74f8d38421b4bf8ea704180e4c26c83bb36 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:47 + go version 21:00:47 go version go1.20.2 linux/arm64 [Pipeline] } 21:00:47 $ docker stop --time=1 8b211fb0b16dd02f8165e9634558f74f8d38421b4bf8ea704180e4c26c83bb36 21:00:48 $ docker rm -f --volumes 8b211fb0b16dd02f8165e9634558f74f8d38421b4bf8ea704180e4c26c83bb36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:49 + docker inspect -f . ci-base-image-arm64 21:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:49 prd-ubuntu20.04-docker-arm64-4c-16g-6122 does not seem to be running inside a container 21:00:49 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:00:50 $ docker top 873f7a988aaacd4404de3206dee1c19d47198ac35d356f6b74639c64d338d526 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:51 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 21:00:52 + make test 21:00:52 go test ./... -coverprofile=coverage.out 21:01:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 21:03:38 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 21:03:38 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.078s coverage: 48.0% of statements 21:03:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:03:38 go vet ./... 21:03:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:56 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:56 $ docker stop --time=1 873f7a988aaacd4404de3206dee1c19d47198ac35d356f6b74639c64d338d526 21:03:59 $ docker rm -f --volumes 873f7a988aaacd4404de3206dee1c19d47198ac35d356f6b74639c64d338d526 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:00 Warning: overwriting stash ‘coverage-report’ 21:04:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:01 + ls -al . 21:04:01 total 176 21:04:01 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 21:00 . 21:04:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:58 .. 21:04:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 20:58 .dockerignore 21:04:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:58 .git 21:04:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:58 .github 21:04:01 -rw-rw-r-- 1 jenkins jenkins 331 Mar 28 20:58 .gitignore 21:04:01 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 20:58 .golangci.yml 21:04:01 -rw-rw-r-- 1 jenkins jenkins 10004 Mar 28 20:58 Attribution.txt 21:04:01 -rw-rw-r-- 1 jenkins jenkins 11576 Mar 28 20:58 CHANGELOG.md 21:04:01 -rw-rw-r-- 1 jenkins jenkins 1365 Mar 28 20:58 Dockerfile 21:04:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:58 GOVERNANCE.md 21:04:01 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:58 Jenkinsfile 21:04:01 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:58 LICENSE 21:04:01 -rw-rw-r-- 1 jenkins jenkins 1705 Mar 28 20:58 Makefile 21:04:01 -rw-rw-r-- 1 jenkins jenkins 622 Mar 28 20:58 OWNERS.md 21:04:01 -rw-rw-r-- 1 jenkins jenkins 4045 Mar 28 20:58 README.md 21:04:01 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:54 VERSION 21:04:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:58 bin 21:04:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:58 cmd 21:04:01 -rw-r--r-- 1 jenkins jenkins 23739 Mar 28 21:03 coverage.out 21:04:01 -rw-rw-r-- 1 jenkins jenkins 3450 Mar 28 20:58 go.mod 21:04:01 -rw-rw-r-- 1 jenkins jenkins 31495 Mar 28 20:58 go.sum 21:04:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:58 internal 21:04:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:58 simulator 21:04:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:58 snap 21:04:01 -rw-rw-r-- 1 jenkins jenkins 229 Mar 28 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:02 + 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=6fbeb089fbbe4e762a90d6a370d24d1abe97e316 --label arch=arm64 --label version=0.0.0 . 21:04:02 Sending build context to Docker daemon 3.367MB 21:04:02 Step 1/22 : ARG BASE=golang:1.20-alpine3.17 21:04:02 Step 2/22 : FROM ${BASE} AS builder 21:04:02 ---> 0b93d850548d 21:04:02 Step 3/22 : ARG ADD_BUILD_TAGS="" 21:04:02 ---> Running in 092da045ada0 21:04:02 Removing intermediate container 092da045ada0 21:04:02 ---> dd7128a45ab7 21:04:02 Step 4/22 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:02 ---> Running in 5bc944e3ecc4 21:04:03 Removing intermediate container 5bc944e3ecc4 21:04:03 ---> 080bdd79b15e 21:04:03 Step 5/22 : RUN apk add --update --no-cache make git openssh 21:04:03 ---> Running in 7523b0520318 21:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:04:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:04:06 OK: 270 MiB in 61 packages 21:04:06 Removing intermediate container 7523b0520318 21:04:06 ---> 3489f333e28c 21:04:06 Step 6/22 : WORKDIR /device-modbus-go 21:04:07 ---> Running in cee856cf6585 21:04:07 Removing intermediate container cee856cf6585 21:04:07 ---> 42dafa8ad6f5 21:04:07 Step 7/22 : COPY go.mod vendor* ./ 21:04:08 ---> 5c500e15266e 21:04:08 Step 8/22 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:08 ---> Running in 47270bfbaf76 21:04:10 Removing intermediate container 47270bfbaf76 21:04:10 ---> ce347da7021e 21:04:10 Step 9/22 : COPY . . 21:04:11 ---> 735d84db34db 21:04:11 Step 10/22 : RUN ${MAKE} 21:04:11 ---> Running in e289a8ef18db 21:04:12 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 21:06:34 Removing intermediate container e289a8ef18db 21:06:34 ---> 256f01d62582 21:06:34 Step 11/22 : FROM alpine:3.17 21:06:34 3.17: Pulling from library/alpine 21:06:34 af6eaf76a39c: Already exists 21:06:34 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:06:34 Status: Downloaded newer image for alpine:3.17 21:06:34 ---> d74e625d9115 21:06:34 Step 12/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' 21:06:34 ---> Running in 2be67bf2a7fe 21:06:34 Removing intermediate container 2be67bf2a7fe 21:06:34 ---> b05ed6220745 21:06:34 Step 13/22 : RUN apk add --update --no-cache dumb-init 21:06:34 ---> Running in 932ebb4b6bd9 21:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:34 (1/1) Installing dumb-init (1.2.5-r2) 21:06:34 Executing busybox-1.35.0-r29.trigger 21:06:34 OK: 8 MiB in 16 packages 21:06:34 Removing intermediate container 932ebb4b6bd9 21:06:34 ---> aa8ab31151c4 21:06:34 Step 14/22 : COPY --from=builder /device-modbus-go/cmd / 21:06:34 ---> 6fd3e23ccbe5 21:06:34 Step 15/22 : COPY --from=builder /device-modbus-go/LICENSE / 21:06:34 ---> 3feb62bb6f84 21:06:34 Step 16/22 : COPY --from=builder /device-modbus-go/Attribution.txt / 21:06:34 ---> 71a13e0de26d 21:06:34 Step 17/22 : EXPOSE 59901 21:06:34 ---> Running in 8a314d6962ea 21:06:34 Removing intermediate container 8a314d6962ea 21:06:34 ---> 465bc7f1f3f7 21:06:34 Step 18/22 : ENTRYPOINT ["/device-modbus"] 21:06:34 ---> Running in d0648ad9598f 21:06:34 Removing intermediate container d0648ad9598f 21:06:34 ---> 5a857d651888 21:06:34 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:06:34 ---> Running in 212ecf359207 21:06:34 Removing intermediate container 212ecf359207 21:06:34 ---> b49f860d7e2f 21:06:34 Step 20/22 : LABEL arch=arm64 21:06:34 ---> Running in 86ee7db300ed 21:06:34 Removing intermediate container 86ee7db300ed 21:06:34 ---> 84c72569cc43 21:06:34 Step 21/22 : LABEL git_sha=6fbeb089fbbe4e762a90d6a370d24d1abe97e316 21:06:34 ---> Running in 82045496e45b 21:06:34 Removing intermediate container 82045496e45b 21:06:34 ---> 6596220e3d47 21:06:34 Step 22/22 : LABEL version=0.0.0 21:06:34 ---> Running in cea6efd2ceb0 21:06:34 Removing intermediate container cea6efd2ceb0 21:06:34 ---> 4ef0f0097a17 21:06:34 [Warning] One or more build-args [ARCH] were not consumed 21:06:34 Successfully built 4ef0f0097a17 21:06:34 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 21:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:35 21:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:35 arm64: Pulling from edgex-lftools-log-publisher 21:06:35 8998bd30e6a1: Pulling fs layer 21:06:35 04944245beec: Pulling fs layer 21:06:35 699f458cf7ca: Pulling fs layer 21:06:35 765212b225bb: Pulling fs layer 21:06:35 f23df028b6ca: Pulling fs layer 21:06:35 d65c8cfc05b1: Pulling fs layer 21:06:35 2437ff75d9bd: Pulling fs layer 21:06:35 f23df028b6ca: Waiting 21:06:35 d65c8cfc05b1: Waiting 21:06:35 765212b225bb: Waiting 21:06:35 2437ff75d9bd: Waiting 21:06:35 04944245beec: Verifying Checksum 21:06:35 04944245beec: Download complete 21:06:35 765212b225bb: Verifying Checksum 21:06:35 765212b225bb: Download complete 21:06:35 f23df028b6ca: Verifying Checksum 21:06:35 f23df028b6ca: Download complete 21:06:35 d65c8cfc05b1: Download complete 21:06:35 699f458cf7ca: Verifying Checksum 21:06:35 699f458cf7ca: Download complete 21:06:36 8998bd30e6a1: Verifying Checksum 21:06:36 8998bd30e6a1: Download complete 21:06:38 2437ff75d9bd: Verifying Checksum 21:06:38 2437ff75d9bd: Download complete 21:06:39 8998bd30e6a1: Pull complete 21:06:40 04944245beec: Pull complete 21:06:41 699f458cf7ca: Pull complete 21:06:41 765212b225bb: Pull complete 21:06:42 f23df028b6ca: Pull complete 21:06:42 d65c8cfc05b1: Pull complete 21:06:57 2437ff75d9bd: Pull complete 21:06:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:57 prd-ubuntu20.04-docker-arm64-4c-16g-6122 does not seem to be running inside a container 21:06:58 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:07:00 $ docker top db77d013649162ce4ef8b652db3467433733372bfbb3ed574a9b6b6ea207f7a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:01 ---> job-cost.sh 21:07:01 lf-activate-venv: SKIPPING 21:07:01 INFO: No Stack... 21:07:02 INFO: Retrieving Pricing Info for: v3-standard-4 21:07:03 INFO: Archiving Costs [Pipeline] sh 21:07:03 + cut -d, -f6 21:07:03 + cat /w/workspace/device-modbus-go/2/archives/cost.csv [Pipeline] lock 21:07:03 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] 21:07:03 Resource [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] did not exist. Created. 21:07:03 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:07:04 /w/workspace/device-modbus-go/2@tmp/durable-beb72b4b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:07:04 + echo total: 0.10999999940395355 [Pipeline] stash 21:07:04 Warning: overwriting stash ‘stack-cost’ 21:07:04 Stashed 1 file(s) [Pipeline] } 21:07:04 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-448-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:04 $ docker stop --time=1 db77d013649162ce4ef8b652db3467433733372bfbb3ed574a9b6b6ea207f7a5 21:07:06 $ docker rm -f --volumes db77d013649162ce4ef8b652db3467433733372bfbb3ed574a9b6b6ea207f7a5 [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 21:07:06 provisioning config files... 21:07:06 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config4117167990228991836tmp [Pipeline] { [Pipeline] sh 21:07:07 + set +x 21:07:07 + + bash -s --curl 21:07:07 -s https://codecov.io/bash 21:07:07 21:07:07 _____ _ 21:07:07 / ____| | | 21:07:07 | | ___ __| | ___ ___ _____ __ 21:07:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:07:07 | |___| (_) | (_| | __/ (_| (_) \ V / 21:07:07 \_____\___/ \__,_|\___|\___\___/ \_/ 21:07:07 Bash-1.0.6 21:07:07 21:07:07 21:07:07 ==> git version 2.25.1 found 21:07:07 ==> 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 21:07:07 Release-Date: 2020-01-08 21:07:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:07:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:07:07 ==> Jenkins CI detected. 21:07:07 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-448 21:07:07 project root: . 21:07:07 --> token set from env 21:07:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:07:07 ==> Running gcov in . (disable via -X gcov) 21:07:07 ==> Python coveragepy not found 21:07:07 ==> Searching for coverage reports in: 21:07:07 + . 21:07:07 -> Found 1 reports 21:07:07 ==> Detecting git/mercurial file structure 21:07:07 ==> Reading reports 21:07:07 + ./coverage.out bytes=23739 21:07:07 ==> Appending adjustments 21:07:07 https://docs.codecov.io/docs/fixing-reports 21:07:07 + Found adjustments 21:07:07 ==> Gzipping contents 21:07:07 4.0K /tmp/codecov.bvZK21.gz 21:07:07 ==> Uploading reports 21:07:07 url: https://codecov.io 21:07:07 query: branch=PR-448&commit=6fbeb089fbbe4e762a90d6a370d24d1abe97e316&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-448%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=448&job=&cmd_args= 21:07:07 -> Pinging Codecov 21:07:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=PR-448&commit=6fbeb089fbbe4e762a90d6a370d24d1abe97e316&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-448%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=448&job=&cmd_args= 21:07:07 -> Uploading to 21:07:07 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/55DBCA73C666E3227836607328DD7E49/6fbeb089fbbe4e762a90d6a370d24d1abe97e316/bd1f9543-ce4f-493f-ba59-bd49bdfe3741.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T210707Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be9f53ba1638c93a1fe11f3321f273d61fc0c90b555e58b20e0be70eaed5ae37 21:07:07 % Total % Received % Xferd Average Speed Time Time Time Current 21:07:07 Dload Upload Total Spent Left Speed 21:07:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3877 0 0 100 3877 0 19098 --:--:-- --:--:-- --:--:-- 19098 100 3877 0 0 100 3877 0 14253 --:--:-- --:--:-- --:--:-- 14253 21:07:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6fbeb089fbbe4e762a90d6a370d24d1abe97e316 [Pipeline] } 21:07:07 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 21:07:08 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-448/archives ] 21:07:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-448/archives 21:07:08 total 16 21:07:08 drwxr-xr-x 3 root root 4096 Mar 28 20:56 . 21:07:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:56 .. 21:07:08 drwxr-xr-x 2 root root 4096 Mar 28 20:56 cost 21:07:08 -rw-r--r-- 1 root root 88 Mar 28 20:56 cost.csv 21:07:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-448/archives 21:07:08 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-448/archives 21:07:08 total 16 21:07:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:56 . 21:07:08 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 20:56 .. 21:07:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:56 cost 21:07:08 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:07:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:07:09 ---> package-listing.sh 21:07:09 ++ facter osfamily 21:07:09 ++ tr '[:upper:]' '[:lower:]' 21:07:09 + OS_FAMILY=debian 21:07:09 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-448 21:07:09 + START_PACKAGES=/tmp/packages_start.txt 21:07:09 + END_PACKAGES=/tmp/packages_end.txt 21:07:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:07:09 + PACKAGES=/tmp/packages_start.txt 21:07:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-448 ']' 21:07:09 + PACKAGES=/tmp/packages_end.txt 21:07:09 + case "${OS_FAMILY}" in 21:07:09 + dpkg -l 21:07:09 + grep '^ii' 21:07:09 + '[' -f /tmp/packages_start.txt ']' 21:07:09 + '[' -f /tmp/packages_end.txt ']' 21:07:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:07:09 + '[' /w/workspace/xfoundry_device-modbus-go_PR-448 ']' 21:07:09 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-448/archives/ 21:07:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-448/archives/ [Pipeline] echo 21:07:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-448/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:07:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:10 prd-ubuntu20.04-docker-8c-8g-6120 does not seem to be running inside a container 21:07:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-448/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-448 -v /w/workspace/xfoundry_device-modbus-go_PR-448:/w/workspace/xfoundry_device-modbus-go_PR-448:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-448@tmp:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:07:11 $ docker top c6f03bccf1011b90ec7397c14d4913d48f27c96cee11123a5809e6ce990fe2d3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:11 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:11 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:11 + ls /var/log/sa-host 21:07:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:11 provisioning config files... 21:07:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-448@tmp/config7713569741121895422tmp [Pipeline] { [Pipeline] echo 21:07:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:12 ---> create-netrc.sh [Pipeline] } 21:07:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:12 ---> python-tools-install.sh [Pipeline] echo 21:07:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:12 ---> sudo-logs.sh 21:07:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:13 ---> job-cost.sh 21:07:13 lf-activate-venv: SKIPPING 21:07:13 DEBUG: total: 0.2199999988079071 21:07:13 INFO: Retrieving Stack Cost... 21:07:13 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:14 INFO: Archiving Costs [Pipeline] echo 21:07:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:14 ---> logs-deploy.sh 21:07:14 lf-activate-venv: SKIPPING 21:07:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-448/2 21:07:14 INFO: archiving workspace using pattern(s): 21:07:15 Archives upload complete. 21:07:15 INFO: archiving logs to Nexus