Pull request #20 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c1af0712044a16520f2767898be2128e221bf20+8abf73570ad6030a87cde2867b8b9b061b07feca (134ea54ff1b3ce9e140a2ca7795d97c8f25974df) 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-ssh2019471069869562721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh1026416387328532499.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17131876233099092286.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6367368967257794381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16264509162391746922.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18370762605676611854.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-s7] ========================================================= [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-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 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-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26943’ Running on prd-ubuntu20.04-docker-8c-8g-26946 in /w/workspace/edgexfoundry_device-s7_PR-20 [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-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.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-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 9c1af0712044a16520f2767898be2128e221bf20 Merge succeeded, producing 9c1af0712044a16520f2767898be2128e221bf20 Checking out Revision 9c1af0712044a16520f2767898be2128e221bf20 (PR-20) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c1af0712044a16520f2767898be2128e221bf20 # 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 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c1af0712044a16520f2767898be2128e221bf20 # timeout=10 Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:50:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:50:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:50:14 ========================================================= 19:50:14 EdgeX Global Pipelines Version Info 19:50:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:50:14 ------------------- 19:50:14 stable info: 19:50:14 ------------------- 19:50:14 Commited By: Ginny Guan ginny@iotechsys.com 19:50:14 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:50:14 Message: update stable to v1.0.265 19:50:15 ------------------- 19:50:15 experimental info: 19:50:15 ------------------- 19:50:15 Commited By: Cherry Wang cherry@iotechsys.com 19:50:15 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 19:50:15 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:50:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:50:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c1af0712044a16520f2767898be2128e221bf20 [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c1af07 [Pipeline] echo 19:50:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:50:17 provisioning config files... 19:50:17 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-20@tmp/config4989324347388823044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:18 ---> ****-login.sh 19:50:18 nexus3.edgexfoundry.org:10001 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10002 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10003 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 nexus3.edgexfoundry.org:10004 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 ****.io 19:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:18 Configure a credential helper to remove this warning. See 19:50:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:18 19:50:18 Login Succeeded 19:50:18 ---> ****-login.sh ends [Pipeline] } 19:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:50:19 + git rev-list -1 --merges 9c1af0712044a16520f2767898be2128e221bf20~1..9c1af0712044a16520f2767898be2128e221bf20 [Pipeline] echo 19:50:19 -----------> git rev-list -1 --merges 9c1af0712044a16520f2767898be2128e221bf20~1..9c1af0712044a16520f2767898be2128e221bf20 9c1af0712044a16520f2767898be2128e221bf20 [false] [Pipeline] sh 19:50:20 + git log --format=format:%s -1 9c1af0712044a16520f2767898be2128e221bf20 [Pipeline] echo 19:50:20 ========================================================= 19:50:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:50:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:50:20 + git log --format=format:%s -1 9c1af0712044a16520f2767898be2128e221bf20 [Pipeline] echo 19:50:20 [semverPrep] GIT_COMMIT: 9c1af0712044a16520f2767898be2128e221bf20, Commit Message: Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 19:50:20 [semverPrep] This is not a build commit. [Pipeline] sh 19:50:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:50:21 + grep -v github /etc/ssh/ssh_known_hosts 19:50:21 + [ -e /tmp/ssh_known_hosts ] 19:50:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:50:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:50:21 sudo tee -a /etc/ssh/ssh_known_hosts 19:50:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:50:21 19:50:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:50:22 0.1.4: Pulling from edgex-devops/py-git-semver 19:50:22 b85a868b505f: Pulling fs layer 19:50:22 e2be974225ed: Pulling fs layer 19:50:22 339a4e72a1f5: Pulling fs layer 19:50:22 988bab9f4d93: Pulling fs layer 19:50:22 1469e6f7b9e6: Pulling fs layer 19:50:22 eaf3925da568: Pulling fs layer 19:50:22 bab4dde63d76: Pulling fs layer 19:50:22 bde34c3a00c8: Pulling fs layer 19:50:22 b352a97aabf1: Pulling fs layer 19:50:22 4872d77fe225: Pulling fs layer 19:50:22 5851b861e8e6: Pulling fs layer 19:50:22 eaf3925da568: Waiting 19:50:22 b352a97aabf1: Waiting 19:50:22 4872d77fe225: Waiting 19:50:22 5851b861e8e6: Waiting 19:50:22 bde34c3a00c8: Waiting 19:50:22 988bab9f4d93: Waiting 19:50:22 bab4dde63d76: Waiting 19:50:22 1469e6f7b9e6: Waiting 19:50:22 988bab9f4d93: Download complete 19:50:22 1469e6f7b9e6: Verifying Checksum 19:50:22 1469e6f7b9e6: Download complete 19:50:22 eaf3925da568: Download complete 19:50:22 339a4e72a1f5: Verifying Checksum 19:50:22 339a4e72a1f5: Download complete 19:50:22 bde34c3a00c8: Download complete 19:50:22 b352a97aabf1: Verifying Checksum 19:50:22 b352a97aabf1: Download complete 19:50:22 4872d77fe225: Download complete 19:50:22 5851b861e8e6: Download complete 19:50:22 b85a868b505f: Verifying Checksum 19:50:22 b85a868b505f: Download complete 19:50:22 bab4dde63d76: Verifying Checksum 19:50:22 bab4dde63d76: Download complete 19:50:23 b85a868b505f: Pull complete 19:50:23 e2be974225ed: Pull complete 19:50:24 339a4e72a1f5: Pull complete 19:50:24 988bab9f4d93: Pull complete 19:50:24 1469e6f7b9e6: Pull complete 19:50:24 eaf3925da568: Pull complete 19:50:26 bab4dde63d76: Pull complete 19:50:26 bde34c3a00c8: Pull complete 19:50:26 b352a97aabf1: Pull complete 19:50:26 4872d77fe225: Pull complete 19:50:26 5851b861e8e6: Pull complete 19:50:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:50:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:50:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:50:26 prd-ubuntu20.04-docker-8c-8g-26946 does not seem to be running inside a container 19:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-20 -v /w/workspace/edgexfoundry_device-s7_PR-20:/w/workspace/edgexfoundry_device-s7_PR-20:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-20@tmp:/w/workspace/edgexfoundry_device-s7_PR-20@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:50:27 $ docker top 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 -eo pid,comm 19:50:27 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). 19:50:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:50:28 [ssh-agent] Looking for ssh-agent implementation... 19:50:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:50:28 $ docker exec 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 ssh-agent 19:50:28 SSH_AUTH_SOCK=/tmp/ssh-YxKSnb8SFE9o/agent.31 19:50:28 SSH_AGENT_PID=37 19:50:28 Running ssh-add (command line suppressed) 19:50:28 Identity added: /w/workspace/edgexfoundry_device-s7_PR-20@tmp/private_key_16575814098305100562.key (/w/workspace/edgexfoundry_device-s7_PR-20@tmp/private_key_16575814098305100562.key) 19:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:50:28 + git tag --points-at HEAD [Pipeline] } 19:50:28 $ docker exec --env ******** --env ******** 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 ssh-agent -k 19:50:28 unset SSH_AUTH_SOCK; 19:50:28 unset SSH_AGENT_PID; 19:50:28 echo Agent pid 37 killed; 19:50:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:50:29 [ssh-agent] Looking for ssh-agent implementation... 19:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:50:29 $ docker exec 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 ssh-agent 19:50:29 SSH_AUTH_SOCK=/tmp/ssh-qOJItGDjKqAI/agent.70 19:50:29 SSH_AGENT_PID=76 19:50:29 Running ssh-add (command line suppressed) 19:50:29 Identity added: /w/workspace/edgexfoundry_device-s7_PR-20@tmp/private_key_14806325383624330759.key (/w/workspace/edgexfoundry_device-s7_PR-20@tmp/private_key_14806325383624330759.key) 19:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:50:29 + git semver init 19:50:30 2024-11-18 19:50:29,973 [run_init] DEBUG init version:0.0.0 force:False 19:50:30 2024-11-18 19:50:29,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-20/.semver 19:50:30 2024-11-18 19:50:29,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-20/.semver 19:50:30 2024-11-18 19:50:29,974 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-20, universal_newlines=False, shell=None, istream=None) 19:50:30 2024-11-18 19:50:30,551 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-20/.git/info/exclude 19:50:30 2024-11-18 19:50:30,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-20/.semver/PR-20 with force:False 19:50:30 2024-11-18 19:50:30,552 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-20/.semver/PR-20 19:50:30 2024-11-18 19:50:30,556 [execute] INFO git cat-file --batch-check 19:50:30 2024-11-18 19:50:30,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-20/.semver, universal_newlines=False, shell=None, istream=) 19:50:30 2024-11-18 19:50:30,563 [execute] INFO git cat-file --batch 19:50:30 2024-11-18 19:50:30,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-20/.semver, universal_newlines=False, shell=None, istream=) 19:50:30 2024-11-18 19:50:30,569 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-20/.semver/PR-20 19:50:30 0.0.0 [Pipeline] } 19:50:30 $ docker exec --env ******** --env ******** 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 ssh-agent -k 19:50:30 unset SSH_AUTH_SOCK; 19:50:30 unset SSH_AGENT_PID; 19:50:30 echo Agent pid 76 killed; 19:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:50:31 + git semver [Pipeline] } 19:50:31 $ docker stop --time=1 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 19:50:32 $ docker rm -f --volumes 3e3f11b561cd612ff4a239957f18ca0f76261b878e5d6a0d85acc195a1abd6e3 [Pipeline] // withDockerContainer [Pipeline] sh 19:50:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:50:33 Stashed 1 file(s) [Pipeline] echo 19:50:33 [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 19:50:34 provisioning config files... 19:50:34 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-20@tmp/config16681788723317912644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:50:34 ---> ****-login.sh 19:50:34 nexus3.edgexfoundry.org:10001 19:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:34 Configure a credential helper to remove this warning. See 19:50:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:34 19:50:34 Login Succeeded 19:50:34 nexus3.edgexfoundry.org:10002 19:50:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:34 Configure a credential helper to remove this warning. See 19:50:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:34 19:50:34 Login Succeeded 19:50:34 nexus3.edgexfoundry.org:10003 19:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:35 Configure a credential helper to remove this warning. See 19:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:35 19:50:35 Login Succeeded 19:50:35 nexus3.edgexfoundry.org:10004 19:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:35 Configure a credential helper to remove this warning. See 19:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:35 19:50:35 Login Succeeded 19:50:35 ****.io 19:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:50:35 Configure a credential helper to remove this warning. See 19:50:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:50:35 19:50:35 Login Succeeded 19:50:35 ---> ****-login.sh ends [Pipeline] } 19:50:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:50:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:50:35 ========================================================= 19:50:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:50:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:50:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 19:50:36 Sending build context to Docker daemon 611.3kB 19:50:36 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:50:36 Step 2/10 : FROM ${BASE} AS builder 19:50:36 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:50:36 43c4264eed91: Pulling fs layer 19:50:36 4cc291be95ef: Pulling fs layer 19:50:36 2ac1f1163629: Pulling fs layer 19:50:36 5c3c966382ef: Pulling fs layer 19:50:36 4f4fb700ef54: Pulling fs layer 19:50:36 5d5c8e513c77: Pulling fs layer 19:50:36 9f66e0745190: Pulling fs layer 19:50:36 f49a43e4bbc0: Pulling fs layer 19:50:36 561ebcabdf7f: Pulling fs layer 19:50:36 5c3c966382ef: Waiting 19:50:36 4f4fb700ef54: Waiting 19:50:36 5d5c8e513c77: Waiting 19:50:36 9f66e0745190: Waiting 19:50:36 f49a43e4bbc0: Waiting 19:50:36 561ebcabdf7f: Waiting 19:50:36 4cc291be95ef: Verifying Checksum 19:50:36 4cc291be95ef: Download complete 19:50:36 5c3c966382ef: Verifying Checksum 19:50:36 5c3c966382ef: Download complete 19:50:36 4f4fb700ef54: Download complete 19:50:36 5d5c8e513c77: Verifying Checksum 19:50:36 5d5c8e513c77: Download complete 19:50:36 43c4264eed91: Verifying Checksum 19:50:36 43c4264eed91: Download complete 19:50:36 9f66e0745190: Verifying Checksum 19:50:36 9f66e0745190: Download complete 19:50:36 43c4264eed91: Pull complete 19:50:36 4cc291be95ef: Pull complete 19:50:36 561ebcabdf7f: Verifying Checksum 19:50:36 561ebcabdf7f: Download complete 19:50:36 2ac1f1163629: Verifying Checksum 19:50:36 2ac1f1163629: Download complete 19:50:36 f49a43e4bbc0: Verifying Checksum 19:50:36 f49a43e4bbc0: Download complete 19:50:40 2ac1f1163629: Pull complete 19:50:40 5c3c966382ef: Pull complete 19:50:40 4f4fb700ef54: Pull complete 19:50:40 5d5c8e513c77: Pull complete 19:50:40 9f66e0745190: Pull complete 19:50:42 f49a43e4bbc0: Pull complete 19:50:43 561ebcabdf7f: Pull complete 19:50:43 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 19:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:50:43 ---> 3a752c3f9dda 19:50:43 Step 3/10 : ARG MAKE=make build 19:50:44 ---> Running in 9cc03decefec 19:50:44 Removing intermediate container 9cc03decefec 19:50:44 ---> 8318cee8a5ae 19:50:44 Step 4/10 : WORKDIR /device-s7 19:50:44 ---> Running in 0e7988c4f903 19:50:44 Removing intermediate container 0e7988c4f903 19:50:44 ---> 31573b59154c 19:50:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:50:44 ---> Running in 6d94afaf5b2b 19:50:44 Removing intermediate container 6d94afaf5b2b 19:50:44 ---> 45732288bc62 19:50:44 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:50:44 ---> Running in b35389a71b0d 19:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:50:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:50:45 OK: 246 MiB in 54 packages 19:50:45 Removing intermediate container b35389a71b0d 19:50:45 ---> 4ff6b55559af 19:50:45 Step 7/10 : COPY go.mod vendor* ./ 19:50:45 ---> 92fb83024b5e 19:50:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:50:45 ---> Running in 0f3a21e91023 19:50:49 Still waiting to schedule task 19:50:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26944’ 19:51:17 Removing intermediate container 0f3a21e91023 19:51:17 ---> 13a57e184d78 19:51:17 Step 9/10 : COPY . . 19:51:17 ---> 4894c063357a 19:51:17 Step 10/10 : RUN ${MAKE} 19:51:17 ---> Running in 72a405d6f149 19:51:17 noop 19:51:17 Removing intermediate container 72a405d6f149 19:51:17 ---> 768fb2219a2e 19:51:17 Successfully built 768fb2219a2e 19:51:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:18 + docker inspect -f . ci-base-image-x86_64 19:51:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:18 prd-ubuntu20.04-docker-8c-8g-26946 does not seem to be running inside a container 19:51:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-20 -v /w/workspace/edgexfoundry_device-s7_PR-20:/w/workspace/edgexfoundry_device-s7_PR-20:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-20@tmp:/w/workspace/edgexfoundry_device-s7_PR-20@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 ******** ci-base-image-x86_64 cat 19:51:18 $ docker top 8e157413e2b74b9727256b8e0f4868006aecf91c89562009aa33d57ecf7bc9df -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:19 + go version 19:51:19 go version go1.23.2 linux/amd64 [Pipeline] } 19:51:19 $ docker stop --time=1 8e157413e2b74b9727256b8e0f4868006aecf91c89562009aa33d57ecf7bc9df 19:51:20 $ docker rm -f --volumes 8e157413e2b74b9727256b8e0f4868006aecf91c89562009aa33d57ecf7bc9df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:21 + docker inspect -f . ci-base-image-x86_64 19:51:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:21 prd-ubuntu20.04-docker-8c-8g-26946 does not seem to be running inside a container 19:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-20 -v /w/workspace/edgexfoundry_device-s7_PR-20:/w/workspace/edgexfoundry_device-s7_PR-20:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-20@tmp:/w/workspace/edgexfoundry_device-s7_PR-20@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 ******** ci-base-image-x86_64 cat 19:51:21 $ docker top 09df7526afc701061880f376a4dfd456c58962efe48a293db5843498ba805737 -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-20 [Pipeline] fileExists [Pipeline] sh 19:51:22 + make test 19:51:22 go test -race -coverprofile=coverage.out ./... 19:51:29 ? github.com/edgexfoundry/device-s7 [no test files] 19:51:52 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:51:52 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:52:24 go vet ./... 19:52:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:52:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:52:25 ./bin/test-attribution-txt.sh [Pipeline] echo 19:52:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:52:26 $ docker stop --time=1 09df7526afc701061880f376a4dfd456c58962efe48a293db5843498ba805737 19:52:33 $ docker rm -f --volumes 09df7526afc701061880f376a4dfd456c58962efe48a293db5843498ba805737 [Pipeline] // withDockerContainer [Pipeline] sh 19:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:52:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:52:35 + ls -al . 19:52:35 total 216 19:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:51 . 19:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:50 .. 19:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:51 .git 19:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:50 .github 19:52:35 -rw-rw-r-- 1 jenkins jenkins 237 Nov 18 19:50 .gitignore 19:52:35 -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 19:50 .golangci.yml 19:52:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 19:50 .semver 19:52:35 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 18 19:50 Attribution.txt 19:52:35 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 18 19:50 Dockerfile 19:52:35 -rw-rw-r-- 1 jenkins jenkins 643 Nov 18 19:50 Jenkinsfile 19:52:35 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 18 19:50 LICENSE 19:52:35 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 18 19:50 Makefile 19:52:35 -rw-rw-r-- 1 jenkins jenkins 614 Nov 18 19:50 OWNERS.md 19:52:35 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 18 19:50 README.md 19:52:35 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 19:50 VERSION 19:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:50 bin 19:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:50 cmd 19:52:35 -rw-r--r-- 1 jenkins jenkins 17164 Nov 18 19:51 coverage.out 19:52:35 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 18 19:50 go.mod 19:52:35 -rw-rw-r-- 1 jenkins jenkins 87560 Nov 18 19:50 go.sum 19:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:50 internal 19:52:35 -rw-rw-r-- 1 jenkins jenkins 223 Nov 18 19:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:35 + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9c1af0712044a16520f2767898be2128e221bf20 --label arch=amd64 --label version=0.0.0 . 19:52:35 Sending build context to Docker daemon 629.2kB 19:52:35 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:52:35 Step 2/24 : FROM ${BASE} AS builder 19:52:35 ---> 768fb2219a2e 19:52:35 Step 3/24 : ARG MAKE=make build 19:52:35 ---> Running in 2fcfe1cb2708 19:52:35 Removing intermediate container 2fcfe1cb2708 19:52:35 ---> 456dac2310b6 19:52:35 Step 4/24 : WORKDIR /device-s7 19:52:35 ---> Running in 99ba81d52978 19:52:36 Removing intermediate container 99ba81d52978 19:52:36 ---> 31ba8806c14c 19:52:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:52:36 ---> Running in 5bccbadb4fab 19:52:36 Removing intermediate container 5bccbadb4fab 19:52:36 ---> b03467c1b304 19:52:36 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:52:36 ---> Running in 6c13a460af0a 19:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:52:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:52:36 OK: 246 MiB in 54 packages 19:52:37 Removing intermediate container 6c13a460af0a 19:52:37 ---> 180151ddca3d 19:52:37 Step 7/24 : COPY go.mod vendor* ./ 19:52:37 ---> 56a81ca0d3e1 19:52:37 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:37 ---> Running in 8be965660b62 19:52:39 Removing intermediate container 8be965660b62 19:52:39 ---> d798cb4b58f1 19:52:39 Step 9/24 : COPY . . 19:52:39 ---> 33e715ca8b28 19:52:39 Step 10/24 : RUN ${MAKE} 19:52:39 ---> Running in 320005294c24 19:52:40 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:53:12 Removing intermediate container 320005294c24 19:53:12 ---> d187a532eedd 19:53:12 Step 11/24 : FROM alpine:3.20 19:53:12 3.20: Pulling from library/alpine 19:53:12 da9db072f522: Pulling fs layer 19:53:13 da9db072f522: Verifying Checksum 19:53:13 da9db072f522: Download complete 19:53:13 da9db072f522: Pull complete 19:53:13 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 19:53:13 Status: Downloaded newer image for alpine:3.20 19:53:13 ---> 63b790fccc90 19:53:13 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:53:13 ---> Running in f384f5c8fff9 19:53:13 Removing intermediate container f384f5c8fff9 19:53:13 ---> fc8007aaf8e1 19:53:13 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:53:13 ---> Running in a4c595e0d944 19:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:53:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:53:14 (1/1) Installing dumb-init (1.2.5-r3) 19:53:14 Executing busybox-1.36.1-r29.trigger 19:53:14 OK: 8 MiB in 15 packages 19:53:14 Removing intermediate container a4c595e0d944 19:53:14 ---> a18e3cd2b19c 19:53:14 Step 14/24 : RUN apk --no-cache upgrade 19:53:14 ---> Running in 752daa695e94 19:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:53:14 Upgrading critical system libraries and apk-tools: 19:53:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:53:14 Executing busybox-1.36.1-r29.trigger 19:53:14 Continuing the upgrade transaction with new apk-tools: 19:53:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:53:15 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:53:15 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:53:15 OK: 8 MiB in 15 packages 19:53:15 Removing intermediate container 752daa695e94 19:53:15 ---> ce1c48da360f 19:53:15 Step 15/24 : WORKDIR / 19:53:15 ---> Running in 008810d5c0bd 19:53:15 Removing intermediate container 008810d5c0bd 19:53:15 ---> d8dc4288e611 19:53:15 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:53:16 ---> 3958902fcd73 19:53:16 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:53:17 ---> 1aaf3871d98d 19:53:17 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:53:17 ---> 9df128ba2560 19:53:17 Step 19/24 : EXPOSE 59994 19:53:17 ---> Running in 6fe1e4d63e8e 19:53:17 Removing intermediate container 6fe1e4d63e8e 19:53:17 ---> e22e536902a4 19:53:17 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:53:17 ---> Running in 17f1776bca6b 19:53:17 Removing intermediate container 17f1776bca6b 19:53:17 ---> 2808428e1ef5 19:53:17 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:53:17 ---> Running in f4da1918bc26 19:53:17 Removing intermediate container f4da1918bc26 19:53:17 ---> d4eea3086892 19:53:17 Step 22/24 : LABEL arch=amd64 19:53:17 ---> Running in aad5c9352483 19:53:17 Removing intermediate container aad5c9352483 19:53:17 ---> d758f10aa99c 19:53:17 Step 23/24 : LABEL git_sha=9c1af0712044a16520f2767898be2128e221bf20 19:53:17 ---> Running in d3bda62a6080 19:53:17 Removing intermediate container d3bda62a6080 19:53:17 ---> 490bc0b7ea56 19:53:17 Step 24/24 : LABEL version=0.0.0 19:53:17 ---> Running in 466297709dd9 19:53:17 Removing intermediate container 466297709dd9 19:53:17 ---> b22218570cd0 19:53:17 [Warning] One or more build-args [ARCH] were not consumed 19:53:17 Successfully built b22218570cd0 19:53:17 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:18 19:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:19 latest: Pulling from edgex-lftools-log-publisher 19:53:19 5eb5b503b376: Pulling fs layer 19:53:19 5c69ac0246d0: Pulling fs layer 19:53:19 ec43610c2a17: Pulling fs layer 19:53:19 3a2ae6a8a46f: Pulling fs layer 19:53:19 33b1e0a273af: Pulling fs layer 19:53:19 5d3b04190fa2: Pulling fs layer 19:53:19 2f39f015ded8: Pulling fs layer 19:53:19 3a2ae6a8a46f: Waiting 19:53:19 5d3b04190fa2: Waiting 19:53:19 2f39f015ded8: Waiting 19:53:19 33b1e0a273af: Waiting 19:53:19 3a2ae6a8a46f: Verifying Checksum 19:53:19 3a2ae6a8a46f: Download complete 19:53:19 33b1e0a273af: Verifying Checksum 19:53:19 33b1e0a273af: Download complete 19:53:19 ec43610c2a17: Verifying Checksum 19:53:19 ec43610c2a17: Download complete 19:53:19 5d3b04190fa2: Verifying Checksum 19:53:19 5d3b04190fa2: Download complete 19:53:19 5eb5b503b376: Verifying Checksum 19:53:19 5eb5b503b376: Download complete 19:53:20 2f39f015ded8: Verifying Checksum 19:53:20 2f39f015ded8: Download complete 19:53:20 5eb5b503b376: Pull complete 19:53:20 5c69ac0246d0: Pull complete 19:53:21 ec43610c2a17: Pull complete 19:53:21 3a2ae6a8a46f: Pull complete 19:53:21 33b1e0a273af: Pull complete 19:53:21 5d3b04190fa2: Pull complete 19:53:25 2f39f015ded8: Pull complete 19:53:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:26 prd-ubuntu20.04-docker-8c-8g-26946 does not seem to be running inside a container 19:53:26 $ 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/edgexfoundry_device-s7_PR-20 -v /w/workspace/edgexfoundry_device-s7_PR-20:/w/workspace/edgexfoundry_device-s7_PR-20:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-20@tmp:/w/workspace/edgexfoundry_device-s7_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:53:31 $ docker top 80f57c43432c8090d9ed70ebd453026edc43f907941a68838151e9a0caad1f3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:31 ---> job-cost.sh 19:53:31 lf-activate-venv: SKIPPING 19:53:31 INFO: No Stack... 19:53:31 INFO: Retrieving Pricing Info for: v3-standard-8 19:53:32 INFO: Archiving Costs [Pipeline] sh 19:53:32 + cat /w/workspace/edgexfoundry_device-s7_PR-20/archives/cost.csv 19:53:32 + cut -d, -f6 [Pipeline] lock 19:53:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] 19:53:32 Resource [jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] did not exist. Created. 19:53:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:53:33 + echo total: 0.2199999988079071 [Pipeline] stash 19:53:33 Stashed 1 file(s) [Pipeline] } 19:53:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:53:33 $ docker stop --time=1 80f57c43432c8090d9ed70ebd453026edc43f907941a68838151e9a0caad1f3e 19:53:34 $ docker rm -f --volumes 80f57c43432c8090d9ed70ebd453026edc43f907941a68838151e9a0caad1f3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:54:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26948 in /w/workspace/edgexfoundry_device-s7_PR-20 [Pipeline] { [Pipeline] ws 19:54:02 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:54:05 Selected Git installation does not exist. Using Default 19:54:05 The recommended git tool is: NONE 19:54:10 using credential edgex-jenkins-ssh 19:54:10 Cloning the remote Git repository 19:54:10 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:54:10 > git init /w/workspace/device-s7/1 # timeout=10 19:54:10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:54:10 > git --version # timeout=10 19:54:10 > git --version # 'git version 2.25.1' 19:54:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:11 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:54:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:12 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:54:12 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:54:12 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 9c1af0712044a16520f2767898be2128e221bf20 19:54:13 Merge succeeded, producing 9c1af0712044a16520f2767898be2128e221bf20 19:54:13 Checking out Revision 9c1af0712044a16520f2767898be2128e221bf20 (PR-20) 19:54:13 Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v4" 19:54:13 > git --version # timeout=10 19:54:13 > git --version # 'git version 2.25.1' 19:54:13 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:54:12 > git config core.sparsecheckout # timeout=10 19:54:12 > git checkout -f 9c1af0712044a16520f2767898be2128e221bf20 # timeout=10 19:54:12 > git remote # timeout=10 19:54:13 > git config --get remote.origin.url # timeout=10 19:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:13 > git merge 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 19:54:13 > git rev-parse HEAD^{commit} # timeout=10 19:54:13 > git config core.sparsecheckout # timeout=10 19:54:13 > git checkout -f 9c1af0712044a16520f2767898be2128e221bf20 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:54:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:54:18 % Total % Received % Xferd Average Speed Time Time Time Current 19:54:18 Dload Upload Total Spent Left Speed 19:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 19:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:54:19 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:54:19 sudo tee /etc/docker/daemon.new 19:54:19 { 19:54:19 "registry-mirrors": [ 19:54:19 "https://nexus3.edgexfoundry.org:10001" 19:54:19 ], 19:54:19 "bip": "10.250.0.254/24", 19:54:19 "hosts": [ 19:54:19 "tcp://0.0.0.0:5555", 19:54:19 "unix:///var/run/docker.sock" 19:54:19 ], 19:54:19 "mtu": 1458, 19:54:19 "selinux-enabled": true, 19:54:19 "seccomp-profile": "/etc/docker/seccomp.json" 19:54:19 } [Pipeline] sh 19:54:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:54:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:38 provisioning config files... 19:54:38 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config1821188278387574677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:39 ---> ****-login.sh 19:54:39 nexus3.edgexfoundry.org:10001 19:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:39 Configure a credential helper to remove this warning. See 19:54:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:39 19:54:39 Login Succeeded 19:54:39 nexus3.edgexfoundry.org:10002 19:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:40 Configure a credential helper to remove this warning. See 19:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:40 19:54:40 Login Succeeded 19:54:40 nexus3.edgexfoundry.org:10003 19:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:40 Configure a credential helper to remove this warning. See 19:54:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:40 19:54:40 Login Succeeded 19:54:40 nexus3.edgexfoundry.org:10004 19:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:41 Configure a credential helper to remove this warning. See 19:54:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:41 19:54:41 Login Succeeded 19:54:41 ****.io 19:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:41 Configure a credential helper to remove this warning. See 19:54:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:41 19:54:41 Login Succeeded 19:54:41 ---> ****-login.sh ends [Pipeline] } 19:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:54:42 ========================================================= 19:54:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 19:54:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 19:54:43 Sending build context to Docker daemon 405.5kB 19:54:43 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:54:43 Step 2/10 : FROM ${BASE} AS builder 19:54:43 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:54:43 cf04c63912e1: Pulling fs layer 19:54:43 55b35a11ae5e: Pulling fs layer 19:54:43 a37a00ec5f00: Pulling fs layer 19:54:43 50b3750afda1: Pulling fs layer 19:54:43 4f4fb700ef54: Pulling fs layer 19:54:43 80978eb59214: Pulling fs layer 19:54:43 c9f46d7d2bd2: Pulling fs layer 19:54:43 50b3750afda1: Waiting 19:54:43 4f4fb700ef54: Waiting 19:54:43 c5a475d317c9: Pulling fs layer 19:54:43 c9f46d7d2bd2: Waiting 19:54:43 80978eb59214: Waiting 19:54:43 55b35a11ae5e: Verifying Checksum 19:54:43 55b35a11ae5e: Download complete 19:54:43 50b3750afda1: Verifying Checksum 19:54:43 50b3750afda1: Download complete 19:54:43 4f4fb700ef54: Verifying Checksum 19:54:43 4f4fb700ef54: Download complete 19:54:43 80978eb59214: Verifying Checksum 19:54:43 80978eb59214: Download complete 19:54:43 cf04c63912e1: Verifying Checksum 19:54:43 cf04c63912e1: Download complete 19:54:44 c5a475d317c9: Verifying Checksum 19:54:44 c5a475d317c9: Download complete 19:54:44 cf04c63912e1: Pull complete 19:54:45 a37a00ec5f00: Verifying Checksum 19:54:45 a37a00ec5f00: Download complete 19:54:46 55b35a11ae5e: Pull complete 19:54:46 c9f46d7d2bd2: Verifying Checksum 19:55:01 a37a00ec5f00: Pull complete 19:55:01 50b3750afda1: Pull complete 19:55:01 4f4fb700ef54: Pull complete 19:55:01 80978eb59214: Pull complete 19:55:09 c9f46d7d2bd2: Pull complete 19:55:11 c5a475d317c9: Pull complete 19:55:11 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 19:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 19:55:11 ---> be29e6b0f0d4 19:55:11 Step 3/10 : ARG MAKE=make build 19:55:12 ---> Running in cc071066e567 19:55:13 Removing intermediate container cc071066e567 19:55:13 ---> 4b35dbaa50fc 19:55:13 Step 4/10 : WORKDIR /device-s7 19:55:13 ---> Running in 84b0c5d026c7 19:55:13 Removing intermediate container 84b0c5d026c7 19:55:13 ---> ec132d81c70e 19:55:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:55:13 ---> Running in b8b3d0fd2810 19:55:14 Removing intermediate container b8b3d0fd2810 19:55:14 ---> a72192f729b5 19:55:14 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:55:14 ---> Running in 1be97419f72b 19:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:55:17 OK: 238 MiB in 54 packages 19:55:18 Removing intermediate container 1be97419f72b 19:55:18 ---> eeae33a9c45c 19:55:18 Step 7/10 : COPY go.mod vendor* ./ 19:55:19 ---> 2f4f92f64bb4 19:55:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:55:19 ---> Running in 2aaf761a6747 19:57:11 Removing intermediate container 2aaf761a6747 19:57:11 ---> 9117b8f2141e 19:57:11 Step 9/10 : COPY . . 19:57:11 ---> bd8cd479fd1a 19:57:11 Step 10/10 : RUN ${MAKE} 19:57:11 ---> Running in 0c0577db997e 19:57:11 noop 19:57:11 Removing intermediate container 0c0577db997e 19:57:11 ---> 31732bf8429e 19:57:11 Successfully built 31732bf8429e 19:57:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:12 + docker inspect -f . ci-base-image-arm64 19:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:12 prd-ubuntu20.04-docker-arm64-4c-16g-26948 does not seem to be running inside a container 19:57:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:57:14 $ docker top 6d050b567febae8ce6496b94479b651959866b1feab79ce05365818d1766479a -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:15 + go version 19:57:15 go version go1.23.2 linux/arm64 [Pipeline] } 19:57:15 $ docker stop --time=1 6d050b567febae8ce6496b94479b651959866b1feab79ce05365818d1766479a 19:57:16 $ docker rm -f --volumes 6d050b567febae8ce6496b94479b651959866b1feab79ce05365818d1766479a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:17 + docker inspect -f . ci-base-image-arm64 19:57:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:18 prd-ubuntu20.04-docker-arm64-4c-16g-26948 does not seem to be running inside a container 19:57:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:57:19 $ docker top f2fca144f4776661b562c900637d1021766d8ee19fd5e4aae3c7d8cacafd1218 -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:20 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:57:21 + make test 19:57:21 go test -race -coverprofile=coverage.out ./... 19:58:17 ? github.com/edgexfoundry/device-s7 [no test files] 20:02:25 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 20:02:25 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 20:02:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:02:25 go vet ./... 20:05:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:05:47 $ docker stop --time=1 f2fca144f4776661b562c900637d1021766d8ee19fd5e4aae3c7d8cacafd1218 20:05:48 $ docker rm -f --volumes f2fca144f4776661b562c900637d1021766d8ee19fd5e4aae3c7d8cacafd1218 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:50 Warning: overwriting stash ‘coverage-report’ 20:05:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:52 + ls -al . 20:05:52 total 212 20:05:52 drwxrwxr-x 7 jenkins jenkins 4096 Nov 18 19:57 . 20:05:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:54 .. 20:05:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:54 .git 20:05:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:54 .github 20:05:52 -rw-rw-r-- 1 jenkins jenkins 237 Nov 18 19:54 .gitignore 20:05:52 -rw-rw-r-- 1 jenkins jenkins 42 Nov 18 19:54 .golangci.yml 20:05:52 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 18 19:54 Attribution.txt 20:05:52 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 18 19:54 Dockerfile 20:05:52 -rw-rw-r-- 1 jenkins jenkins 643 Nov 18 19:54 Jenkinsfile 20:05:52 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 18 19:54 LICENSE 20:05:52 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 18 19:54 Makefile 20:05:52 -rw-rw-r-- 1 jenkins jenkins 614 Nov 18 19:54 OWNERS.md 20:05:52 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 18 19:54 README.md 20:05:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 19:50 VERSION 20:05:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:54 bin 20:05:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:54 cmd 20:05:52 -rw-r--r-- 1 jenkins jenkins 17164 Nov 18 20:02 coverage.out 20:05:52 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 18 19:54 go.mod 20:05:52 -rw-rw-r-- 1 jenkins jenkins 87560 Nov 18 19:54 go.sum 20:05:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:54 internal 20:05:52 -rw-rw-r-- 1 jenkins jenkins 223 Nov 18 19:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:52 + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9c1af0712044a16520f2767898be2128e221bf20 --label arch=arm64 --label version=0.0.0 . 20:05:53 Sending build context to Docker daemon 423.4kB 20:05:53 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 20:05:53 Step 2/24 : FROM ${BASE} AS builder 20:05:53 ---> 31732bf8429e 20:05:53 Step 3/24 : ARG MAKE=make build 20:05:53 ---> Running in 17d60f0d7f86 20:05:53 Removing intermediate container 17d60f0d7f86 20:05:53 ---> 869fc5c0389e 20:05:53 Step 4/24 : WORKDIR /device-s7 20:05:53 ---> Running in cf9675628c76 20:05:53 Removing intermediate container cf9675628c76 20:05:53 ---> 2dac0a5b3bfc 20:05:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 20:05:54 ---> Running in d3049c700677 20:05:54 Removing intermediate container d3049c700677 20:05:54 ---> 749707c89fd5 20:05:54 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 20:05:54 ---> Running in 2f95c1db154c 20:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:05:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:05:56 OK: 238 MiB in 54 packages 20:05:57 Removing intermediate container 2f95c1db154c 20:05:57 ---> 5510bf7c55d8 20:05:57 Step 7/24 : COPY go.mod vendor* ./ 20:05:58 ---> 8bf471205127 20:05:58 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:58 ---> Running in 868d9b87c514 20:06:00 Removing intermediate container 868d9b87c514 20:06:00 ---> 671aa39d5140 20:06:00 Step 9/24 : COPY . . 20:06:01 ---> 3d21a14ecd25 20:06:01 Step 10/24 : RUN ${MAKE} 20:06:01 ---> Running in 7d1fe948f655 20:06:02 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 20:09:24 Removing intermediate container 7d1fe948f655 20:09:24 ---> 82f71c26a16a 20:09:24 Step 11/24 : FROM alpine:3.20 20:09:24 3.20: Pulling from library/alpine 20:09:24 9986a736f7d3: Pulling fs layer 20:09:24 9986a736f7d3: Verifying Checksum 20:09:24 9986a736f7d3: Download complete 20:09:24 9986a736f7d3: Pull complete 20:09:24 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 20:09:24 Status: Downloaded newer image for alpine:3.20 20:09:24 ---> 511a44083d3a 20:09:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 20:09:24 ---> Running in 1efb0a09968d 20:09:24 Removing intermediate container 1efb0a09968d 20:09:24 ---> 31aee08bfaa7 20:09:24 Step 13/24 : RUN apk add --update --no-cache dumb-init 20:09:24 ---> Running in 463ba2e20f91 20:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:09:24 (1/1) Installing dumb-init (1.2.5-r3) 20:09:24 Executing busybox-1.36.1-r29.trigger 20:09:24 OK: 9 MiB in 15 packages 20:09:24 Removing intermediate container 463ba2e20f91 20:09:24 ---> d95c804bcc14 20:09:24 Step 14/24 : RUN apk --no-cache upgrade 20:09:24 ---> Running in 6f51d8a80260 20:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:09:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:09:26 Upgrading critical system libraries and apk-tools: 20:09:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:09:26 Executing busybox-1.36.1-r29.trigger 20:09:26 Continuing the upgrade transaction with new apk-tools: 20:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:09:28 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 20:09:28 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 20:09:28 OK: 9 MiB in 15 packages 20:09:29 Removing intermediate container 6f51d8a80260 20:09:29 ---> 26b7e16a0c3f 20:09:29 Step 15/24 : WORKDIR / 20:09:29 ---> Running in 4e2ce97dfbeb 20:09:30 Removing intermediate container 4e2ce97dfbeb 20:09:30 ---> 5519618c8c98 20:09:30 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 20:09:30 ---> 5fd11024b8e1 20:09:30 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 20:09:32 ---> 58405e5efdc3 20:09:32 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 20:09:32 ---> 7002b4f8b671 20:09:32 Step 19/24 : EXPOSE 59994 20:09:32 ---> Running in 6fa1fba83f05 20:09:33 Removing intermediate container 6fa1fba83f05 20:09:33 ---> 23ca97355ef6 20:09:33 Step 20/24 : ENTRYPOINT ["/device-s7"] 20:09:33 ---> Running in 0cefea87359b 20:09:33 Removing intermediate container 0cefea87359b 20:09:33 ---> fdbc180fe542 20:09:33 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:09:33 ---> Running in 84eb6126171a 20:09:34 Removing intermediate container 84eb6126171a 20:09:34 ---> b600321f7848 20:09:34 Step 22/24 : LABEL arch=arm64 20:09:34 ---> Running in 7c73d1ff7be1 20:09:34 Removing intermediate container 7c73d1ff7be1 20:09:34 ---> 905e64116751 20:09:34 Step 23/24 : LABEL git_sha=9c1af0712044a16520f2767898be2128e221bf20 20:09:34 ---> Running in 0bdc18b712ef 20:09:34 Removing intermediate container 0bdc18b712ef 20:09:34 ---> 789d19568061 20:09:34 Step 24/24 : LABEL version=0.0.0 20:09:34 ---> Running in 6bb7cda17699 20:09:35 Removing intermediate container 6bb7cda17699 20:09:35 ---> dd597947dde9 20:09:35 [Warning] One or more build-args [ARCH] were not consumed 20:09:35 Successfully built dd597947dde9 20:09:35 Successfully tagged device-s7-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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:36 20:09:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:09:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:09:36 arm64: Pulling from edgex-lftools-log-publisher 20:09:36 8998bd30e6a1: Pulling fs layer 20:09:36 04944245beec: Pulling fs layer 20:09:36 699f458cf7ca: Pulling fs layer 20:09:36 765212b225bb: Pulling fs layer 20:09:36 f23df028b6ca: Pulling fs layer 20:09:36 d65c8cfc05b1: Pulling fs layer 20:09:36 2437ff75d9bd: Pulling fs layer 20:09:36 f23df028b6ca: Waiting 20:09:36 d65c8cfc05b1: Waiting 20:09:36 2437ff75d9bd: Waiting 20:09:36 04944245beec: Verifying Checksum 20:09:36 04944245beec: Download complete 20:09:36 765212b225bb: Verifying Checksum 20:09:36 765212b225bb: Download complete 20:09:36 f23df028b6ca: Verifying Checksum 20:09:36 f23df028b6ca: Download complete 20:09:36 d65c8cfc05b1: Verifying Checksum 20:09:36 d65c8cfc05b1: Download complete 20:09:36 699f458cf7ca: Verifying Checksum 20:09:36 699f458cf7ca: Download complete 20:09:37 8998bd30e6a1: Verifying Checksum 20:09:37 8998bd30e6a1: Download complete 20:09:39 2437ff75d9bd: Verifying Checksum 20:09:39 2437ff75d9bd: Download complete 20:09:41 8998bd30e6a1: Pull complete 20:09:42 04944245beec: Pull complete 20:09:43 699f458cf7ca: Pull complete 20:09:44 765212b225bb: Pull complete 20:09:45 f23df028b6ca: Pull complete 20:09:45 d65c8cfc05b1: Pull complete 20:10:03 2437ff75d9bd: Pull complete 20:10:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:03 prd-ubuntu20.04-docker-arm64-4c-16g-26948 does not seem to be running inside a container 20:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:10:06 $ docker top 1d1de681b6751a5e8779e12624b65b072c14e65de4b9f89143ba37b6378f3177 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:10:07 ---> job-cost.sh 20:10:07 lf-activate-venv: SKIPPING 20:10:07 INFO: No Stack... 20:10:08 INFO: Retrieving Pricing Info for: v3-standard-4 20:10:08 INFO: Archiving Costs [Pipeline] sh 20:10:09 + cat /w/workspace/device-s7/1/archives/cost.csv 20:10:09 + cut -d, -f6 [Pipeline] lock 20:10:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] 20:10:09 Resource [jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] did not exist. Created. 20:10:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:10:10 /w/workspace/device-s7/1@tmp/durable-ac28c8c2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:10:10 + echo total: 0.10999999940395355 [Pipeline] stash 20:10:10 Warning: overwriting stash ‘stack-cost’ 20:10:10 Stashed 1 file(s) [Pipeline] } 20:10:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-20-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:10:11 $ docker stop --time=1 1d1de681b6751a5e8779e12624b65b072c14e65de4b9f89143ba37b6378f3177 20:10:12 $ docker rm -f --volumes 1d1de681b6751a5e8779e12624b65b072c14e65de4b9f89143ba37b6378f3177 [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 20:10:13 provisioning config files... 20:10:13 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-20@tmp/config533287535948079719tmp [Pipeline] { [Pipeline] sh 20:10:14 + set +x 20:10:14 + bash -s -- 20:10:14 + curl -s https://codecov.io/bash 20:10:14 20:10:14 _____ _ 20:10:14 / ____| | | 20:10:14 | | ___ __| | ___ ___ _____ __ 20:10:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:10:14 | |___| (_) | (_| | __/ (_| (_) \ V / 20:10:14 \_____\___/ \__,_|\___|\___\___/ \_/ 20:10:14 Bash-1.0.6 20:10:14 20:10:14 20:10:14 ==> git version 2.25.1 found 20:10:14 ==> 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 20:10:14 Release-Date: 2020-01-08 20:10:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:10:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:10:14 ==> Jenkins CI detected. 20:10:14 current dir:  /w/workspace/edgexfoundry_device-s7_PR-20 20:10:14 project root: . 20:10:14 --> token set from env 20:10:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:10:14 ==> Running gcov in . (disable via -X gcov) 20:10:14 ==> Python coveragepy not found 20:10:14 ==> Searching for coverage reports in: 20:10:14 + . 20:10:14 -> Found 1 reports 20:10:14 ==> Detecting git/mercurial file structure 20:10:14 ==> Reading reports 20:10:14 + ./coverage.out bytes=17164 20:10:14 ==> Appending adjustments 20:10:14 https://docs.codecov.io/docs/fixing-reports 20:10:14 + Found adjustments 20:10:14 ==> Gzipping contents 20:10:14 4.0K /tmp/codecov.yB0PLE.gz 20:10:14 ==> Uploading reports 20:10:14 url: https://codecov.io 20:10:14 query: branch=PR-20&commit=9c1af0712044a16520f2767898be2128e221bf20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-20%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=20&job=&cmd_args= 20:10:14 -> Pinging Codecov 20:10:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-20&commit=9c1af0712044a16520f2767898be2128e221bf20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-20%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=20&job=&cmd_args= 20:10:14 -> Uploading to 20:10:14 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/9c1af0712044a16520f2767898be2128e221bf20/607a0c57-92ba-4a0f-a402-8afa45b10169.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241118%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241118T201014Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=334161f046f902f72a85d9a15f29a227aff31401bbbb0478325bc10228f34fe4 20:10:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:10:14 Dload Upload Total Spent Left Speed 20:10:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 11566 --:--:-- --:--:-- --:--:-- 11566 20:10:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/9c1af0712044a16520f2767898be2128e221bf20 [Pipeline] } 20:10:14 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:10:17 + [ -d /w/workspace/edgexfoundry_device-s7_PR-20/archives ] 20:10:17 + ls -al /w/workspace/edgexfoundry_device-s7_PR-20/archives 20:10:17 total 16 20:10:17 drwxr-xr-x 3 root root 4096 Nov 18 19:53 . 20:10:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 18 19:53 .. 20:10:17 drwxr-xr-x 2 root root 4096 Nov 18 19:53 cost 20:10:17 -rw-r--r-- 1 root root 80 Nov 18 19:53 cost.csv 20:10:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-20/archives 20:10:17 + ls -al /w/workspace/edgexfoundry_device-s7_PR-20/archives 20:10:17 total 16 20:10:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 18 19:53 . 20:10:17 drwxrwxr-x 9 jenkins jenkins 4096 Nov 18 19:53 .. 20:10:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 18 19:53 cost 20:10:17 -rw-r--r-- 1 jenkins jenkins 80 Nov 18 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:10:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:10:18 ---> package-listing.sh 20:10:18 ++ tr '[:upper:]' '[:lower:]' 20:10:18 ++ facter osfamily 20:10:18 + OS_FAMILY=debian 20:10:18 + workspace=/w/workspace/edgexfoundry_device-s7_PR-20 20:10:18 + START_PACKAGES=/tmp/packages_start.txt 20:10:18 + END_PACKAGES=/tmp/packages_end.txt 20:10:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:10:18 + PACKAGES=/tmp/packages_start.txt 20:10:18 + '[' /w/workspace/edgexfoundry_device-s7_PR-20 ']' 20:10:18 + PACKAGES=/tmp/packages_end.txt 20:10:18 + case "${OS_FAMILY}" in 20:10:18 + dpkg -l 20:10:18 + grep '^ii' 20:10:18 + '[' -f /tmp/packages_start.txt ']' 20:10:18 + '[' -f /tmp/packages_end.txt ']' 20:10:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:10:18 + '[' /w/workspace/edgexfoundry_device-s7_PR-20 ']' 20:10:18 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-20/archives/ 20:10:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-20/archives/ [Pipeline] echo 20:10:18 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/edgexfoundry_device-s7_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:10:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:10:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:10:20 prd-ubuntu20.04-docker-8c-8g-26946 does not seem to be running inside a container 20:10:20 $ 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/edgexfoundry_device-s7_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-20 -v /w/workspace/edgexfoundry_device-s7_PR-20:/w/workspace/edgexfoundry_device-s7_PR-20:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-20@tmp:/w/workspace/edgexfoundry_device-s7_PR-20@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-lftools-log-publisher:latest cat 20:10:20 $ docker top b01c8ca6d8ef1b555b1fe411739160f69766432b1d7aaf46d941a53e96bfd64c -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:10:21 + mkdir -p /var/log/sysstat [Pipeline] sh 20:10:21 + ls /var/log/sa-host 20:10:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:10:21 provisioning config files... 20:10:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-20@tmp/config7226873649481758586tmp [Pipeline] { [Pipeline] echo 20:10:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:10:21 ---> create-netrc.sh [Pipeline] } 20:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:10:22 ---> python-tools-install.sh [Pipeline] echo 20:10:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:10:22 ---> sudo-logs.sh 20:10:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:10:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:10:23 ---> job-cost.sh 20:10:23 lf-activate-venv: SKIPPING 20:10:23 DEBUG: total: 0.2199999988079071 20:10:23 INFO: Retrieving Stack Cost... 20:10:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:10:24 INFO: Archiving Costs [Pipeline] echo 20:10:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:10:24 ---> logs-deploy.sh 20:10:24 lf-activate-venv: SKIPPING 20:10:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-20/1 20:10:24 INFO: archiving workspace using pattern(s): 20:10:25 Archives upload complete. 20:10:25 INFO: archiving logs to Nexus