Pull request #17 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 98051f9b494b64813bdbe19a35fce6e5123096f0+8abf73570ad6030a87cde2867b8b9b061b07feca (5c2f08789cb25e67a5c16b1e3ab799f930c58794) 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-ssh7628388138847565341.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-ssh3362424610152407510.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-17/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-17/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1718029630950658689.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-17/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1465533530091389487.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-ssh1183668069197791805.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-17/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-17/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6610407810133695116.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26196 in /w/workspace/edgexfoundry_device-s7_PR-17 [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-17 # 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 98051f9b494b64813bdbe19a35fce6e5123096f0 Merge succeeded, producing 98051f9b494b64813bdbe19a35fce6e5123096f0 Checking out Revision 98051f9b494b64813bdbe19a35fce6e5123096f0 (PR-17) Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98051f9b494b64813bdbe19a35fce6e5123096f0 # 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 98051f9b494b64813bdbe19a35fce6e5123096f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:26:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:26:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:26:25 ========================================================= 19:26:25 EdgeX Global Pipelines Version Info 19:26:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:26:27 ------------------- 19:26:27 stable info: 19:26:27 ------------------- 19:26:27 Commited By: Ginny Guan ginny@iotechsys.com 19:26:27 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:26:27 Message: update stable to v1.0.265 19:26:27 ------------------- 19:26:27 experimental info: 19:26:27 ------------------- 19:26:27 Commited By: Cherry Wang cherry@iotechsys.com 19:26:27 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 19:26:27 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:26:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:26:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-17 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-17 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-17 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98051f9b494b64813bdbe19a35fce6e5123096f0 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98051f9 [Pipeline] echo 19:26:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:29 provisioning config files... 19:26:29 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-17@tmp/config7504659351187994422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:29 ---> ****-login.sh 19:26:29 nexus3.edgexfoundry.org:10001 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 nexus3.edgexfoundry.org:10002 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 nexus3.edgexfoundry.org:10003 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 nexus3.edgexfoundry.org:10004 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 ****.io 19:26:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:30 Configure a credential helper to remove this warning. See 19:26:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:30 19:26:30 Login Succeeded 19:26:30 ---> ****-login.sh ends [Pipeline] } 19:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:26:31 + git rev-list -1 --merges 98051f9b494b64813bdbe19a35fce6e5123096f0~1..98051f9b494b64813bdbe19a35fce6e5123096f0 [Pipeline] echo 19:26:31 -----------> git rev-list -1 --merges 98051f9b494b64813bdbe19a35fce6e5123096f0~1..98051f9b494b64813bdbe19a35fce6e5123096f0 98051f9b494b64813bdbe19a35fce6e5123096f0 [false] [Pipeline] sh 19:26:32 + git log --format=format:%s -1 98051f9b494b64813bdbe19a35fce6e5123096f0 [Pipeline] echo 19:26:32 ========================================================= 19:26:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:26:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:26:32 + git log --format=format:%s -1 98051f9b494b64813bdbe19a35fce6e5123096f0 [Pipeline] echo 19:26:32 [semverPrep] GIT_COMMIT: 98051f9b494b64813bdbe19a35fce6e5123096f0, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts/v4 [Pipeline] echo 19:26:32 [semverPrep] This is not a build commit. [Pipeline] sh 19:26:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:26:33 + grep -v github /etc/ssh/ssh_known_hosts 19:26:33 + [ -e /tmp/ssh_known_hosts ] 19:26:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:26:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:26:33 + sudo tee -a /etc/ssh/ssh_known_hosts 19:26:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:33 19:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:33 0.1.4: Pulling from edgex-devops/py-git-semver 19:26:33 b85a868b505f: Pulling fs layer 19:26:33 e2be974225ed: Pulling fs layer 19:26:33 339a4e72a1f5: Pulling fs layer 19:26:33 988bab9f4d93: Pulling fs layer 19:26:33 1469e6f7b9e6: Pulling fs layer 19:26:33 eaf3925da568: Pulling fs layer 19:26:33 bab4dde63d76: Pulling fs layer 19:26:33 bde34c3a00c8: Pulling fs layer 19:26:33 b352a97aabf1: Pulling fs layer 19:26:33 4872d77fe225: Pulling fs layer 19:26:33 5851b861e8e6: Pulling fs layer 19:26:33 988bab9f4d93: Waiting 19:26:33 eaf3925da568: Waiting 19:26:33 1469e6f7b9e6: Waiting 19:26:33 4872d77fe225: Waiting 19:26:33 bab4dde63d76: Waiting 19:26:33 5851b861e8e6: Waiting 19:26:33 bde34c3a00c8: Waiting 19:26:33 b352a97aabf1: Waiting 19:26:33 e2be974225ed: Verifying Checksum 19:26:33 e2be974225ed: Download complete 19:26:33 988bab9f4d93: Verifying Checksum 19:26:33 988bab9f4d93: Download complete 19:26:33 1469e6f7b9e6: Verifying Checksum 19:26:33 1469e6f7b9e6: Download complete 19:26:33 eaf3925da568: Download complete 19:26:34 339a4e72a1f5: Verifying Checksum 19:26:34 339a4e72a1f5: Download complete 19:26:34 bde34c3a00c8: Verifying Checksum 19:26:34 bde34c3a00c8: Download complete 19:26:34 b352a97aabf1: Verifying Checksum 19:26:34 b352a97aabf1: Download complete 19:26:34 4872d77fe225: Verifying Checksum 19:26:34 4872d77fe225: Download complete 19:26:34 5851b861e8e6: Download complete 19:26:34 b85a868b505f: Verifying Checksum 19:26:34 b85a868b505f: Download complete 19:26:34 bab4dde63d76: Verifying Checksum 19:26:34 bab4dde63d76: Download complete 19:26:35 b85a868b505f: Pull complete 19:26:35 e2be974225ed: Pull complete 19:26:36 339a4e72a1f5: Pull complete 19:26:36 988bab9f4d93: Pull complete 19:26:36 1469e6f7b9e6: Pull complete 19:26:36 eaf3925da568: Pull complete 19:26:38 bab4dde63d76: Pull complete 19:26:38 bde34c3a00c8: Pull complete 19:26:38 b352a97aabf1: Pull complete 19:26:38 4872d77fe225: Pull complete 19:26:38 5851b861e8e6: Pull complete 19:26:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:26:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:38 prd-ubuntu20.04-docker-8c-8g-26196 does not seem to be running inside a container 19:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-17 -v /w/workspace/edgexfoundry_device-s7_PR-17:/w/workspace/edgexfoundry_device-s7_PR-17:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-17@tmp:/w/workspace/edgexfoundry_device-s7_PR-17@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:26:41 $ docker top 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b -eo pid,comm 19:26:41 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:26:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:26:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:41 [ssh-agent] Looking for ssh-agent implementation... 19:26:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:41 $ docker exec 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b ssh-agent 19:26:42 SSH_AUTH_SOCK=/tmp/ssh-HXjmq0UBQSzW/agent.31 19:26:42 SSH_AGENT_PID=37 19:26:42 Running ssh-add (command line suppressed) 19:26:42 Identity added: /w/workspace/edgexfoundry_device-s7_PR-17@tmp/private_key_12894249275833303569.key (/w/workspace/edgexfoundry_device-s7_PR-17@tmp/private_key_12894249275833303569.key) 19:26:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:42 + git tag --points-at HEAD [Pipeline] } 19:26:42 $ docker exec --env ******** --env ******** 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b ssh-agent -k 19:26:42 unset SSH_AUTH_SOCK; 19:26:42 unset SSH_AGENT_PID; 19:26:42 echo Agent pid 37 killed; 19:26:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:26:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:26:42 [ssh-agent] Looking for ssh-agent implementation... 19:26:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:26:42 $ docker exec 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b ssh-agent 19:26:43 SSH_AUTH_SOCK=/tmp/ssh-JFdxB98yuRj4/agent.70 19:26:43 SSH_AGENT_PID=76 19:26:43 Running ssh-add (command line suppressed) 19:26:43 Identity added: /w/workspace/edgexfoundry_device-s7_PR-17@tmp/private_key_11745673129473470886.key (/w/workspace/edgexfoundry_device-s7_PR-17@tmp/private_key_11745673129473470886.key) 19:26:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:26:43 + git semver init 19:26:43 2024-11-11 19:26:43,685 [run_init] DEBUG init version:0.0.0 force:False 19:26:43 2024-11-11 19:26:43,686 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-17/.semver 19:26:43 2024-11-11 19:26:43,687 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-17/.semver 19:26:43 2024-11-11 19:26:43,687 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-17/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-17, universal_newlines=False, shell=None, istream=None) 19:26:44 2024-11-11 19:26:44,380 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-17/.git/info/exclude 19:26:44 2024-11-11 19:26:44,380 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-17/.semver/PR-17 with force:False 19:26:44 2024-11-11 19:26:44,381 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-17/.semver/PR-17 19:26:44 2024-11-11 19:26:44,385 [execute] INFO git cat-file --batch-check 19:26:44 2024-11-11 19:26:44,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-17/.semver, universal_newlines=False, shell=None, istream=) 19:26:44 2024-11-11 19:26:44,392 [execute] INFO git cat-file --batch 19:26:44 2024-11-11 19:26:44,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-17/.semver, universal_newlines=False, shell=None, istream=) 19:26:44 2024-11-11 19:26:44,396 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-17/.semver/PR-17 19:26:44 0.0.0 [Pipeline] } 19:26:44 $ docker exec --env ******** --env ******** 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b ssh-agent -k 19:26:44 unset SSH_AUTH_SOCK; 19:26:44 unset SSH_AGENT_PID; 19:26:44 echo Agent pid 76 killed; 19:26:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:26:45 + git semver [Pipeline] } 19:26:45 $ docker stop --time=1 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b 19:26:46 $ docker rm -f --volumes 69a7117a7be0c445d88f71b53d3c1107acdeec351b6b43fe03281d5bfe271f8b [Pipeline] // withDockerContainer [Pipeline] sh 19:26:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:26:47 Stashed 1 file(s) [Pipeline] echo 19:26:47 [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:26:48 provisioning config files... 19:26:48 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-17@tmp/config5255458968110833590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:48 ---> ****-login.sh 19:26:48 nexus3.edgexfoundry.org:10001 19:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:48 Configure a credential helper to remove this warning. See 19:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:48 19:26:48 Login Succeeded 19:26:48 nexus3.edgexfoundry.org:10002 19:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:48 Configure a credential helper to remove this warning. See 19:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:48 19:26:48 Login Succeeded 19:26:48 nexus3.edgexfoundry.org:10003 19:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:49 Configure a credential helper to remove this warning. See 19:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:49 19:26:49 Login Succeeded 19:26:49 nexus3.edgexfoundry.org:10004 19:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:49 Configure a credential helper to remove this warning. See 19:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:49 19:26:49 Login Succeeded 19:26:49 ****.io 19:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:26:49 Configure a credential helper to remove this warning. See 19:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:26:49 19:26:49 Login Succeeded 19:26:49 ---> ****-login.sh ends [Pipeline] } 19:26:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:26:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:26:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:26:49 ========================================================= 19:26:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:26:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:50 + 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:26:50 Sending build context to Docker daemon 623.6kB 19:26:50 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:26:50 Step 2/10 : FROM ${BASE} AS builder 19:26:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:26:50 43c4264eed91: Pulling fs layer 19:26:50 4cc291be95ef: Pulling fs layer 19:26:50 2ac1f1163629: Pulling fs layer 19:26:50 5c3c966382ef: Pulling fs layer 19:26:50 4f4fb700ef54: Pulling fs layer 19:26:50 5d5c8e513c77: Pulling fs layer 19:26:50 9f66e0745190: Pulling fs layer 19:26:50 f49a43e4bbc0: Pulling fs layer 19:26:50 561ebcabdf7f: Pulling fs layer 19:26:50 5d5c8e513c77: Waiting 19:26:50 9f66e0745190: Waiting 19:26:50 f49a43e4bbc0: Waiting 19:26:50 5c3c966382ef: Waiting 19:26:50 561ebcabdf7f: Waiting 19:26:50 4cc291be95ef: Verifying Checksum 19:26:50 4cc291be95ef: Download complete 19:26:50 5c3c966382ef: Verifying Checksum 19:26:50 5c3c966382ef: Download complete 19:26:50 4f4fb700ef54: Verifying Checksum 19:26:50 4f4fb700ef54: Download complete 19:26:50 43c4264eed91: Verifying Checksum 19:26:50 43c4264eed91: Download complete 19:26:50 5d5c8e513c77: Download complete 19:26:50 9f66e0745190: Verifying Checksum 19:26:50 9f66e0745190: Download complete 19:26:50 43c4264eed91: Pull complete 19:26:50 561ebcabdf7f: Download complete 19:26:50 4cc291be95ef: Pull complete 19:26:50 2ac1f1163629: Download complete 19:26:50 f49a43e4bbc0: Verifying Checksum 19:26:50 f49a43e4bbc0: Download complete 19:26:54 2ac1f1163629: Pull complete 19:26:54 5c3c966382ef: Pull complete 19:26:54 4f4fb700ef54: Pull complete 19:26:54 5d5c8e513c77: Pull complete 19:26:54 9f66e0745190: Pull complete 19:26:56 f49a43e4bbc0: Pull complete 19:26:57 561ebcabdf7f: Pull complete 19:26:57 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 19:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:26:57 ---> 3a752c3f9dda 19:26:57 Step 3/10 : ARG MAKE=make build 19:27:01 ---> Running in 348450d5576e 19:27:01 Removing intermediate container 348450d5576e 19:27:01 ---> fdf28d80213d 19:27:01 Step 4/10 : WORKDIR /device-s7 19:27:01 ---> Running in 390f8a0782c3 19:27:01 Removing intermediate container 390f8a0782c3 19:27:01 ---> bf01160e3d30 19:27:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:27:01 ---> Running in 432b8064461c 19:27:01 Removing intermediate container 432b8064461c 19:27:01 ---> 8a4c349316e4 19:27:01 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:27:01 ---> Running in 3231141fe1ab 19:27:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:27:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:27:01 OK: 246 MiB in 54 packages 19:27:02 Removing intermediate container 3231141fe1ab 19:27:02 ---> 8484ee73ee34 19:27:02 Step 7/10 : COPY go.mod vendor* ./ 19:27:02 ---> 38593ff10287 19:27:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:27:02 ---> Running in fefdb4c30343 19:27:03 Still waiting to schedule task 19:27:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:27:49 Removing intermediate container fefdb4c30343 19:27:49 ---> e7166c8e9360 19:27:49 Step 9/10 : COPY . . 19:27:49 ---> 3aeacb6f3d92 19:27:49 Step 10/10 : RUN ${MAKE} 19:27:49 ---> Running in 578fb39069c0 19:27:49 noop 19:27:49 Removing intermediate container 578fb39069c0 19:27:49 ---> adfcc0e17bcd 19:27:49 Successfully built adfcc0e17bcd 19:27:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:50 + docker inspect -f . ci-base-image-x86_64 19:27:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:50 prd-ubuntu20.04-docker-8c-8g-26196 does not seem to be running inside a container 19:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-17 -v /w/workspace/edgexfoundry_device-s7_PR-17:/w/workspace/edgexfoundry_device-s7_PR-17:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-17@tmp:/w/workspace/edgexfoundry_device-s7_PR-17@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:27:50 $ docker top 84d194cbe39945706fb164aba05c553ecf18b3c243b0c527ed05ee8914da7b4e -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:51 + go version 19:27:51 go version go1.23.2 linux/amd64 [Pipeline] } 19:27:51 $ docker stop --time=1 84d194cbe39945706fb164aba05c553ecf18b3c243b0c527ed05ee8914da7b4e 19:27:52 $ docker rm -f --volumes 84d194cbe39945706fb164aba05c553ecf18b3c243b0c527ed05ee8914da7b4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:53 + docker inspect -f . ci-base-image-x86_64 19:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:53 prd-ubuntu20.04-docker-8c-8g-26196 does not seem to be running inside a container 19:27:53 $ 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-17 -v /w/workspace/edgexfoundry_device-s7_PR-17:/w/workspace/edgexfoundry_device-s7_PR-17:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-17@tmp:/w/workspace/edgexfoundry_device-s7_PR-17@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:27:54 $ docker top 83317c84e1372ad573710102e7fb4632f777e97b440098f80f8014008d959856 -eo pid,comm [Pipeline] { [Pipeline] sh 19:27:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-17 [Pipeline] fileExists [Pipeline] sh 19:27:54 + make test 19:27:54 go test -race -coverprofile=coverage.out ./... 19:28:02 ? github.com/edgexfoundry/device-s7 [no test files] 19:28:24 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:28:24 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:28:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26198 in /w/workspace/edgexfoundry_device-s7_PR-17 [Pipeline] { [Pipeline] ws 19:28:45 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:28:45 Selected Git installation does not exist. Using Default 19:28:45 The recommended git tool is: NONE 19:28:50 using credential edgex-jenkins-ssh 19:28:50 Cloning the remote Git repository 19:28:50 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:28:50 > git init /w/workspace/device-s7/1 # timeout=10 19:28:50 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:28:50 > git --version # timeout=10 19:28:50 > git --version # 'git version 2.25.1' 19:28:50 using GIT_SSH to set credentials SSH Credentials for GitHub 19:28:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:28:51 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:28:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:28:52 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 98051f9b494b64813bdbe19a35fce6e5123096f0 19:28:52 Merge succeeded, producing 98051f9b494b64813bdbe19a35fce6e5123096f0 19:28:52 Checking out Revision 98051f9b494b64813bdbe19a35fce6e5123096f0 (PR-17) 19:28:52 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:28:52 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:28:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/17/head:refs/remotes/origin/PR-17 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:28:52 > git config core.sparsecheckout # timeout=10 19:28:52 > git checkout -f 98051f9b494b64813bdbe19a35fce6e5123096f0 # timeout=10 19:28:52 > git remote # timeout=10 19:28:52 > git config --get remote.origin.url # timeout=10 19:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:28:52 > git merge 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 19:28:52 > git rev-parse HEAD^{commit} # timeout=10 19:28:52 > git config core.sparsecheckout # timeout=10 19:28:52 > git checkout -f 98051f9b494b64813bdbe19a35fce6e5123096f0 # timeout=10 19:28:53 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v4" 19:28:53 > git --version # timeout=10 19:28:53 > git --version # 'git version 2.25.1' 19:28:53 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:28:56 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:28:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:28:58 % Total % Received % Xferd Average Speed Time Time Time Current 19:28:58 Dload Upload Total Spent Left Speed 19:28:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 61673 0 --:--:-- --:--:-- --:--:-- 61971 [Pipeline] sh 19:28:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:28:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:28:59 + sudo tee /etc/docker/daemon.new 19:28:59 { 19:28:59 "registry-mirrors": [ 19:28:59 "https://nexus3.edgexfoundry.org:10001" 19:28:59 ], 19:28:59 "bip": "10.250.0.254/24", 19:28:59 "hosts": [ 19:28:59 "tcp://0.0.0.0:5555", 19:28:59 "unix:///var/run/docker.sock" 19:28:59 ], 19:28:59 "mtu": 1458, 19:28:59 "selinux-enabled": true, 19:28:59 "seccomp-profile": "/etc/docker/seccomp.json" 19:28:59 } [Pipeline] sh 19:28:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:28:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:28:59 ./bin/test-attribution-txt.sh [Pipeline] echo 19:28:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:28:59 $ docker stop --time=1 83317c84e1372ad573710102e7fb4632f777e97b440098f80f8014008d959856 19:28:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 19:29:03 $ docker rm -f --volumes 83317c84e1372ad573710102e7fb4632f777e97b440098f80f8014008d959856 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 19:29:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:29:04 Stashed 1 file(s) [Pipeline] } 19:29:04 + sudo service docker restart [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:29:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:29:05 + ls -al . 19:29:05 total 228 19:29:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:27 . 19:29:05 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 19:26 .. 19:29:05 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:28 .git 19:29:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:26 .github 19:29:05 -rw-rw-r-- 1 jenkins jenkins 237 Nov 11 19:26 .gitignore 19:29:05 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 19:26 .golangci.yml 19:29:05 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 19:26 .semver 19:29:05 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 11 19:26 Attribution.txt 19:29:05 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 11 19:26 Dockerfile 19:29:05 -rw-rw-r-- 1 jenkins jenkins 643 Nov 11 19:26 Jenkinsfile 19:29:05 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 11 19:26 LICENSE 19:29:05 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 11 19:26 Makefile 19:29:05 -rw-rw-r-- 1 jenkins jenkins 614 Nov 11 19:26 OWNERS.md 19:29:05 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 11 19:26 README.md 19:29:05 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 19:26 VERSION 19:29:05 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:26 bin 19:29:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:26 cmd 19:29:05 -rw-r--r-- 1 jenkins jenkins 17164 Nov 11 19:28 coverage.out 19:29:05 -rw-rw-r-- 1 jenkins jenkins 6929 Nov 11 19:26 go.mod 19:29:05 -rw-rw-r-- 1 jenkins jenkins 100385 Nov 11 19:26 go.sum 19:29:05 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:26 internal 19:29:05 -rw-rw-r-- 1 jenkins jenkins 223 Nov 11 19:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:05 + 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=98051f9b494b64813bdbe19a35fce6e5123096f0 --label arch=amd64 --label version=0.0.0 . 19:29:05 Sending build context to Docker daemon 641.5kB 19:29:05 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:29:05 Step 2/24 : FROM ${BASE} AS builder 19:29:05 ---> adfcc0e17bcd 19:29:05 Step 3/24 : ARG MAKE=make build 19:29:05 ---> Running in 18af6c1797d7 19:29:06 Removing intermediate container 18af6c1797d7 19:29:06 ---> 077f670fbb5a 19:29:06 Step 4/24 : WORKDIR /device-s7 19:29:06 ---> Running in fc7a7a044651 19:29:06 Removing intermediate container fc7a7a044651 19:29:06 ---> aa9bdfaafa9d 19:29:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:29:06 ---> Running in c517df9a23a4 19:29:06 Removing intermediate container c517df9a23a4 19:29:06 ---> b8e84a8224ec 19:29:06 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:29:06 ---> Running in de470fe1be1a 19:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:29:06 OK: 246 MiB in 54 packages 19:29:07 Removing intermediate container de470fe1be1a 19:29:07 ---> a1190622a218 19:29:07 Step 7/24 : COPY go.mod vendor* ./ 19:29:07 ---> dd10060db90b 19:29:07 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:29:07 ---> Running in 2b73d5b1ae5a 19:29:08 Removing intermediate container 2b73d5b1ae5a 19:29:08 ---> c37953b8dbe3 19:29:08 Step 9/24 : COPY . . 19:29:08 ---> 26bdccf992a5 19:29:08 Step 10/24 : RUN ${MAKE} 19:29:08 ---> Running in d1f46f8ed2cf 19:29:08 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.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:22 provisioning config files... 19:29:22 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config13286396203613735635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:23 ---> ****-login.sh 19:29:23 nexus3.edgexfoundry.org:10001 19:29:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:29:23 Configure a credential helper to remove this warning. See 19:29:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:29:23 19:29:23 Login Succeeded 19:29:23 nexus3.edgexfoundry.org:10002 19:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:29:24 Configure a credential helper to remove this warning. See 19:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:29:24 19:29:24 Login Succeeded 19:29:24 nexus3.edgexfoundry.org:10003 19:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:29:24 Configure a credential helper to remove this warning. See 19:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:29:24 19:29:24 Login Succeeded 19:29:24 nexus3.edgexfoundry.org:10004 19:29:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:29:24 Configure a credential helper to remove this warning. See 19:29:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:29:24 19:29:24 Login Succeeded 19:29:24 ****.io 19:29:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:29:25 Configure a credential helper to remove this warning. See 19:29:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:29:25 19:29:25 Login Succeeded 19:29:25 ---> ****-login.sh ends [Pipeline] } 19:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:29:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:29:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:29:26 ========================================================= 19:29:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 19:29:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:26 + 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:29:26 Sending build context to Docker daemon 418.3kB 19:29:26 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:29:26 Step 2/10 : FROM ${BASE} AS builder 19:29:26 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:29:26 cf04c63912e1: Pulling fs layer 19:29:26 55b35a11ae5e: Pulling fs layer 19:29:26 a37a00ec5f00: Pulling fs layer 19:29:26 50b3750afda1: Pulling fs layer 19:29:26 4f4fb700ef54: Pulling fs layer 19:29:26 50b3750afda1: Waiting 19:29:26 80978eb59214: Pulling fs layer 19:29:26 4f4fb700ef54: Waiting 19:29:26 c9f46d7d2bd2: Pulling fs layer 19:29:26 80978eb59214: Waiting 19:29:26 c5a475d317c9: Pulling fs layer 19:29:26 c9f46d7d2bd2: Waiting 19:29:26 c5a475d317c9: Waiting 19:29:27 55b35a11ae5e: Verifying Checksum 19:29:27 55b35a11ae5e: Download complete 19:29:27 50b3750afda1: Verifying Checksum 19:29:27 50b3750afda1: Download complete 19:29:27 4f4fb700ef54: Verifying Checksum 19:29:27 4f4fb700ef54: Download complete 19:29:27 80978eb59214: Verifying Checksum 19:29:27 80978eb59214: Download complete 19:29:27 cf04c63912e1: Verifying Checksum 19:29:27 cf04c63912e1: Download complete 19:29:27 c5a475d317c9: Verifying Checksum 19:29:27 c5a475d317c9: Download complete 19:29:28 cf04c63912e1: Pull complete 19:29:28 55b35a11ae5e: Pull complete 19:29:29 a37a00ec5f00: Download complete 19:29:30 c9f46d7d2bd2: Verifying Checksum 19:29:30 c9f46d7d2bd2: Download complete 19:29:42 a37a00ec5f00: Pull complete 19:29:42 50b3750afda1: Pull complete 19:29:42 4f4fb700ef54: Pull complete 19:29:42 80978eb59214: Pull complete 19:29:47 Removing intermediate container d1f46f8ed2cf 19:29:47 ---> 06c412b834cd 19:29:47 Step 11/24 : FROM alpine:3.20 19:29:47 3.20: Pulling from library/alpine 19:29:47 43c4264eed91: Already exists 19:29:47 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:29:47 Status: Downloaded newer image for alpine:3.20 19:29:47 ---> 91ef0af61f39 19:29:47 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:29:47 ---> Running in b6d924789453 19:29:47 Removing intermediate container b6d924789453 19:29:47 ---> 1b18d2480976 19:29:47 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:29:47 ---> Running in 561df50f45a8 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:29:47 (1/1) Installing dumb-init (1.2.5-r3) 19:29:47 Executing busybox-1.36.1-r29.trigger 19:29:47 OK: 8 MiB in 15 packages 19:29:47 Removing intermediate container 561df50f45a8 19:29:47 ---> da20d3b7f0dd 19:29:47 Step 14/24 : RUN apk --no-cache upgrade 19:29:47 ---> Running in e646d3a225cf 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:29:47 Upgrading critical system libraries and apk-tools: 19:29:47 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:29:47 Executing busybox-1.36.1-r29.trigger 19:29:47 Continuing the upgrade transaction with new apk-tools: 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:29:47 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:29:47 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:29:47 OK: 8 MiB in 15 packages 19:29:47 Removing intermediate container e646d3a225cf 19:29:47 ---> a86bbacd8875 19:29:47 Step 15/24 : WORKDIR / 19:29:47 ---> Running in fc721b8668a0 19:29:47 Removing intermediate container fc721b8668a0 19:29:47 ---> 9b6f2a19f6b2 19:29:47 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:29:47 ---> 3a1e6bd7427f 19:29:47 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:29:47 ---> 23b4eeaca068 19:29:47 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:29:47 ---> 9d3ce2535207 19:29:47 Step 19/24 : EXPOSE 59994 19:29:47 ---> Running in 436e59a52fb1 19:29:47 Removing intermediate container 436e59a52fb1 19:29:47 ---> 04d644f0faa2 19:29:47 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:29:47 ---> Running in 0b66bc3246cf 19:29:47 Removing intermediate container 0b66bc3246cf 19:29:47 ---> 0ff9481ff874 19:29:47 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:29:47 ---> Running in f85b59fc8106 19:29:47 Removing intermediate container f85b59fc8106 19:29:47 ---> e805a922a7e9 19:29:47 Step 22/24 : LABEL arch=amd64 19:29:47 ---> Running in 69ec8281828f 19:29:47 Removing intermediate container 69ec8281828f 19:29:47 ---> f32739fa63bc 19:29:47 Step 23/24 : LABEL git_sha=98051f9b494b64813bdbe19a35fce6e5123096f0 19:29:47 ---> Running in ae03d4e5a3be 19:29:47 Removing intermediate container ae03d4e5a3be 19:29:47 ---> 7d7ceaf62bd2 19:29:47 Step 24/24 : LABEL version=0.0.0 19:29:47 ---> Running in 55f11e4bb9ad 19:29:47 Removing intermediate container 55f11e4bb9ad 19:29:47 ---> 261dbf244c81 19:29:47 [Warning] One or more build-args [ARCH] were not consumed 19:29:47 Successfully built 261dbf244c81 19:29:47 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:29:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:48 19:29:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:48 latest: Pulling from edgex-lftools-log-publisher 19:29:48 5eb5b503b376: Pulling fs layer 19:29:48 5c69ac0246d0: Pulling fs layer 19:29:48 ec43610c2a17: Pulling fs layer 19:29:48 3a2ae6a8a46f: Pulling fs layer 19:29:48 33b1e0a273af: Pulling fs layer 19:29:48 5d3b04190fa2: Pulling fs layer 19:29:48 2f39f015ded8: Pulling fs layer 19:29:48 5d3b04190fa2: Waiting 19:29:48 3a2ae6a8a46f: Waiting 19:29:48 33b1e0a273af: Waiting 19:29:48 2f39f015ded8: Waiting 19:29:48 5c69ac0246d0: Download complete 19:29:48 3a2ae6a8a46f: Verifying Checksum 19:29:48 3a2ae6a8a46f: Download complete 19:29:48 33b1e0a273af: Verifying Checksum 19:29:48 33b1e0a273af: Download complete 19:29:48 5d3b04190fa2: Download complete 19:29:48 ec43610c2a17: Verifying Checksum 19:29:48 ec43610c2a17: Download complete 19:29:49 5eb5b503b376: Download complete 19:29:49 2f39f015ded8: Download complete 19:29:50 5eb5b503b376: Pull complete 19:29:50 5c69ac0246d0: Pull complete 19:29:50 ec43610c2a17: Pull complete 19:29:50 3a2ae6a8a46f: Pull complete 19:29:50 33b1e0a273af: Pull complete 19:29:51 c9f46d7d2bd2: Pull complete 19:29:51 5d3b04190fa2: Pull complete 19:29:51 c5a475d317c9: Pull complete 19:29:52 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 19:29:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 19:29:52 ---> be29e6b0f0d4 19:29:52 Step 3/10 : ARG MAKE=make build 19:29:52 ---> Running in c467d9cfeb63 19:29:53 Removing intermediate container c467d9cfeb63 19:29:53 ---> a4a06704e4a0 19:29:53 Step 4/10 : WORKDIR /device-s7 19:29:53 ---> Running in cca2f1a5a099 19:29:53 Removing intermediate container cca2f1a5a099 19:29:53 ---> 260be40ffd1d 19:29:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:29:53 ---> Running in afd14c7157aa 19:29:54 Removing intermediate container afd14c7157aa 19:29:54 ---> 16cb05a77ea6 19:29:54 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:29:54 ---> Running in b0a9f684a40a 19:29:55 2f39f015ded8: Pull complete 19:29:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:55 prd-ubuntu20.04-docker-8c-8g-26196 does not seem to be running inside a container 19:29:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:29:55 $ 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-17 -v /w/workspace/edgexfoundry_device-s7_PR-17:/w/workspace/edgexfoundry_device-s7_PR-17:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-17@tmp:/w/workspace/edgexfoundry_device-s7_PR-17@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:29:57 OK: 238 MiB in 54 packages 19:29:58 Removing intermediate container b0a9f684a40a 19:29:58 ---> 982004840781 19:29:58 Step 7/10 : COPY go.mod vendor* ./ 19:29:58 ---> b5e0488bee21 19:29:58 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:29:58 ---> Running in e92c76157c71 19:29:58 $ docker top 9b3be7f82d2fb482e5b6bd01588c0c40d86e3f505d945f925cde4f43f1ebeb64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:59 ---> job-cost.sh 19:29:59 lf-activate-venv: SKIPPING 19:29:59 INFO: No Stack... 19:29:59 INFO: Retrieving Pricing Info for: v3-standard-8 19:30:00 INFO: Archiving Costs [Pipeline] sh 19:30:00 + cat /w/workspace/edgexfoundry_device-s7_PR-17/archives/cost.csv 19:30:00 + cut -d, -f6 [Pipeline] lock 19:30:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] 19:30:00 Resource [jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] did not exist. Created. 19:30:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:30:00 + echo total: 0.2199999988079071 [Pipeline] stash 19:30:00 Stashed 1 file(s) [Pipeline] } 19:30:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:30:01 $ docker stop --time=1 9b3be7f82d2fb482e5b6bd01588c0c40d86e3f505d945f925cde4f43f1ebeb64 19:30:02 $ docker rm -f --volumes 9b3be7f82d2fb482e5b6bd01588c0c40d86e3f505d945f925cde4f43f1ebeb64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:31:50 Removing intermediate container e92c76157c71 19:31:50 ---> 1c4ac2104287 19:31:50 Step 9/10 : COPY . . 19:31:50 ---> 5a7aa60465a4 19:31:50 Step 10/10 : RUN ${MAKE} 19:31:50 ---> Running in 107ef0caa40e 19:31:51 noop 19:31:52 Removing intermediate container 107ef0caa40e 19:31:52 ---> 4346a8611113 19:31:52 Successfully built 4346a8611113 19:31:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:53 + docker inspect -f . ci-base-image-arm64 19:31:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:53 prd-ubuntu20.04-docker-arm64-4c-16g-26198 does not seem to be running inside a container 19:31:53 $ 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:31:55 $ docker top 70e0c8d74d1815ab91976abf405d4b1d978dfa47c3838c48063770389e2ec80e -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:56 + go version 19:31:56 go version go1.23.2 linux/arm64 [Pipeline] } 19:31:56 $ docker stop --time=1 70e0c8d74d1815ab91976abf405d4b1d978dfa47c3838c48063770389e2ec80e 19:31:57 $ docker rm -f --volumes 70e0c8d74d1815ab91976abf405d4b1d978dfa47c3838c48063770389e2ec80e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:58 + docker inspect -f . ci-base-image-arm64 19:31:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:58 prd-ubuntu20.04-docker-arm64-4c-16g-26198 does not seem to be running inside a container 19:31:59 $ 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:32:00 $ docker top 73bf36e159d6231503c2a5e3b28aed427a8128945aced1d6cc67a0e385048a4b -eo pid,comm [Pipeline] { [Pipeline] sh 19:32:01 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:32:02 + make test 19:32:02 go test -race -coverprofile=coverage.out ./... 19:32:45 ? github.com/edgexfoundry/device-s7 [no test files] 19:36:23 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:36:23 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:36:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:36:23 go vet ./... 19:39:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:39:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:39:59 ./bin/test-attribution-txt.sh [Pipeline] echo 19:40:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:40:00 $ docker stop --time=1 73bf36e159d6231503c2a5e3b28aed427a8128945aced1d6cc67a0e385048a4b 19:40:02 $ docker rm -f --volumes 73bf36e159d6231503c2a5e3b28aed427a8128945aced1d6cc67a0e385048a4b [Pipeline] // withDockerContainer [Pipeline] sh 19:40:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:40:04 Warning: overwriting stash ‘coverage-report’ 19:40:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:40:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:40:06 + ls -al . 19:40:06 total 224 19:40:06 drwxrwxr-x 7 jenkins jenkins 4096 Nov 11 19:32 . 19:40:06 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 19:28 .. 19:40:06 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:28 .git 19:40:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:28 .github 19:40:06 -rw-rw-r-- 1 jenkins jenkins 237 Nov 11 19:28 .gitignore 19:40:06 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 19:28 .golangci.yml 19:40:06 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 11 19:28 Attribution.txt 19:40:06 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 11 19:28 Dockerfile 19:40:06 -rw-rw-r-- 1 jenkins jenkins 643 Nov 11 19:28 Jenkinsfile 19:40:06 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 11 19:28 LICENSE 19:40:06 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 11 19:28 Makefile 19:40:06 -rw-rw-r-- 1 jenkins jenkins 614 Nov 11 19:28 OWNERS.md 19:40:06 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 11 19:28 README.md 19:40:06 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 19:26 VERSION 19:40:06 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:28 bin 19:40:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:28 cmd 19:40:06 -rw-r--r-- 1 jenkins jenkins 17164 Nov 11 19:36 coverage.out 19:40:06 -rw-rw-r-- 1 jenkins jenkins 6929 Nov 11 19:28 go.mod 19:40:06 -rw-rw-r-- 1 jenkins jenkins 100385 Nov 11 19:28 go.sum 19:40:06 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:28 internal 19:40:06 -rw-rw-r-- 1 jenkins jenkins 223 Nov 11 19:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:40:07 + 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=98051f9b494b64813bdbe19a35fce6e5123096f0 --label arch=arm64 --label version=0.0.0 . 19:40:07 Sending build context to Docker daemon 436.2kB 19:40:07 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:40:07 Step 2/24 : FROM ${BASE} AS builder 19:40:07 ---> 4346a8611113 19:40:07 Step 3/24 : ARG MAKE=make build 19:40:07 ---> Running in 98083dc223fc 19:40:07 Removing intermediate container 98083dc223fc 19:40:07 ---> 35125f80415a 19:40:07 Step 4/24 : WORKDIR /device-s7 19:40:08 ---> Running in 4eb8cc4b22f6 19:40:08 Removing intermediate container 4eb8cc4b22f6 19:40:08 ---> b1c3f05b746c 19:40:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:40:08 ---> Running in 32ff626755ce 19:40:09 Removing intermediate container 32ff626755ce 19:40:09 ---> a21d2fff4c36 19:40:09 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:40:09 ---> Running in a6f634cf7aee 19:40:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:40:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:40:12 OK: 238 MiB in 54 packages 19:40:12 Removing intermediate container a6f634cf7aee 19:40:12 ---> 216929b63200 19:40:12 Step 7/24 : COPY go.mod vendor* ./ 19:40:13 ---> 3b191d2d0a98 19:40:13 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:40:13 ---> Running in b3268a54b47e 19:40:16 Removing intermediate container b3268a54b47e 19:40:16 ---> 804c54653756 19:40:16 Step 9/24 : COPY . . 19:40:17 ---> 2223d7dbecb8 19:40:17 Step 10/24 : RUN ${MAKE} 19:40:17 ---> Running in 5d7d542dc3c0 19:40:18 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.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:44:10 Removing intermediate container 5d7d542dc3c0 19:44:10 ---> b3d43609354b 19:44:10 Step 11/24 : FROM alpine:3.20 19:44:10 3.20: Pulling from library/alpine 19:44:10 cf04c63912e1: Already exists 19:44:10 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:44:10 Status: Downloaded newer image for alpine:3.20 19:44:10 ---> c157a85ed455 19:44:10 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:44:10 ---> Running in 5fbde2b2fdb1 19:44:10 Removing intermediate container 5fbde2b2fdb1 19:44:10 ---> dd39d3e471a0 19:44:10 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:44:10 ---> Running in 6695def83425 19:44:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:44:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:44:14 (1/1) Installing dumb-init (1.2.5-r3) 19:44:14 Executing busybox-1.36.1-r29.trigger 19:44:14 OK: 9 MiB in 15 packages 19:44:15 Removing intermediate container 6695def83425 19:44:15 ---> 7f36a5126535 19:44:15 Step 14/24 : RUN apk --no-cache upgrade 19:44:15 ---> Running in c0af805049f9 19:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:44:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:44:17 Upgrading critical system libraries and apk-tools: 19:44:17 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:44:18 Executing busybox-1.36.1-r29.trigger 19:44:18 Continuing the upgrade transaction with new apk-tools: 19:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:44:20 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:44:20 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:44:20 OK: 9 MiB in 15 packages 19:44:21 Removing intermediate container c0af805049f9 19:44:21 ---> c67be6826a05 19:44:21 Step 15/24 : WORKDIR / 19:44:21 ---> Running in c2493e0784e6 19:44:21 Removing intermediate container c2493e0784e6 19:44:21 ---> 3b9af58029e4 19:44:21 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:44:22 ---> bb13b95873a7 19:44:22 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:44:25 ---> cc3497098eef 19:44:25 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:44:25 ---> 865b3b86cb40 19:44:25 Step 19/24 : EXPOSE 59994 19:44:25 ---> Running in 4229ae0a52be 19:44:25 Removing intermediate container 4229ae0a52be 19:44:25 ---> ae8aebeddb05 19:44:25 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:44:25 ---> Running in 429fcf13aa3d 19:44:26 Removing intermediate container 429fcf13aa3d 19:44:26 ---> 25a596ff3f3a 19:44:26 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:44:26 ---> Running in bb75ed0ed8b2 19:44:26 Removing intermediate container bb75ed0ed8b2 19:44:26 ---> 9b50c1af9d14 19:44:26 Step 22/24 : LABEL arch=arm64 19:44:26 ---> Running in 1f657f67f293 19:44:26 Removing intermediate container 1f657f67f293 19:44:26 ---> 9fd436b0a1d6 19:44:26 Step 23/24 : LABEL git_sha=98051f9b494b64813bdbe19a35fce6e5123096f0 19:44:26 ---> Running in 279987f98d84 19:44:27 Removing intermediate container 279987f98d84 19:44:27 ---> 3dceac8a0cbb 19:44:27 Step 24/24 : LABEL version=0.0.0 19:44:27 ---> Running in 2557f5f14d2b 19:44:27 Removing intermediate container 2557f5f14d2b 19:44:27 ---> 08d66036b2b0 19:44:27 [Warning] One or more build-args [ARCH] were not consumed 19:44:27 Successfully built 08d66036b2b0 19:44:27 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 19:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:44:28 19:44:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:44:29 arm64: Pulling from edgex-lftools-log-publisher 19:44:29 8998bd30e6a1: Pulling fs layer 19:44:29 04944245beec: Pulling fs layer 19:44:29 699f458cf7ca: Pulling fs layer 19:44:29 765212b225bb: Pulling fs layer 19:44:29 f23df028b6ca: Pulling fs layer 19:44:29 d65c8cfc05b1: Pulling fs layer 19:44:29 2437ff75d9bd: Pulling fs layer 19:44:29 f23df028b6ca: Waiting 19:44:29 d65c8cfc05b1: Waiting 19:44:29 2437ff75d9bd: Waiting 19:44:29 765212b225bb: Waiting 19:44:29 04944245beec: Verifying Checksum 19:44:29 04944245beec: Download complete 19:44:29 765212b225bb: Verifying Checksum 19:44:29 765212b225bb: Download complete 19:44:29 f23df028b6ca: Download complete 19:44:29 d65c8cfc05b1: Verifying Checksum 19:44:29 d65c8cfc05b1: Download complete 19:44:29 699f458cf7ca: Verifying Checksum 19:44:29 699f458cf7ca: Download complete 19:44:30 8998bd30e6a1: Verifying Checksum 19:44:30 8998bd30e6a1: Download complete 19:44:32 2437ff75d9bd: Verifying Checksum 19:44:32 2437ff75d9bd: Download complete 19:44:34 8998bd30e6a1: Pull complete 19:44:35 04944245beec: Pull complete 19:44:36 699f458cf7ca: Pull complete 19:44:36 765212b225bb: Pull complete 19:44:37 f23df028b6ca: Pull complete 19:44:38 d65c8cfc05b1: Pull complete 19:44:53 2437ff75d9bd: Pull complete 19:44:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:44:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:53 prd-ubuntu20.04-docker-arm64-4c-16g-26198 does not seem to be running inside a container 19:44:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 19:44:56 $ docker top 9b67d885f92f7f1c72c2cc018d3b476083258dbe5164a00dd627452fa99f2062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:44:57 ---> job-cost.sh 19:44:57 lf-activate-venv: SKIPPING 19:44:57 INFO: No Stack... 19:44:57 INFO: Retrieving Pricing Info for: v3-standard-4 19:44:58 INFO: Archiving Costs [Pipeline] sh 19:44:58 + cat /w/workspace/device-s7/1/archives/cost.csv 19:44:58 + cut -d, -f6 [Pipeline] lock 19:44:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] 19:44:58 Resource [jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] did not exist. Created. 19:44:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:44:59 /w/workspace/device-s7/1@tmp/durable-bb769a0a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:45:00 + echo total: 0.10999999940395355 [Pipeline] stash 19:45:00 Warning: overwriting stash ‘stack-cost’ 19:45:00 Stashed 1 file(s) [Pipeline] } 19:45:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-17-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:45:00 $ docker stop --time=1 9b67d885f92f7f1c72c2cc018d3b476083258dbe5164a00dd627452fa99f2062 19:45:01 $ docker rm -f --volumes 9b67d885f92f7f1c72c2cc018d3b476083258dbe5164a00dd627452fa99f2062 [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 19:45:03 provisioning config files... 19:45:03 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-17@tmp/config5295963270784399266tmp [Pipeline] { [Pipeline] sh 19:45:03 + set +x 19:45:03 + curl -s https://codecov.io/bash 19:45:03 + bash -s -- 19:45:03 19:45:03 _____ _ 19:45:03 / ____| | | 19:45:03 | | ___ __| | ___ ___ _____ __ 19:45:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:45:03 | |___| (_) | (_| | __/ (_| (_) \ V / 19:45:03 \_____\___/ \__,_|\___|\___\___/ \_/ 19:45:03 Bash-1.0.6 19:45:03 19:45:03 19:45:03 ==> git version 2.25.1 found 19:45:03 ==> 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 19:45:03 Release-Date: 2020-01-08 19:45:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:45:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:45:03 ==> Jenkins CI detected. 19:45:03 current dir:  /w/workspace/edgexfoundry_device-s7_PR-17 19:45:03 project root: . 19:45:03 --> token set from env 19:45:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:45:03 ==> Running gcov in . (disable via -X gcov) 19:45:03 ==> Python coveragepy not found 19:45:03 ==> Searching for coverage reports in: 19:45:03 + . 19:45:03 -> Found 1 reports 19:45:03 ==> Detecting git/mercurial file structure 19:45:03 ==> Reading reports 19:45:03 + ./coverage.out bytes=17164 19:45:03 ==> Appending adjustments 19:45:03 https://docs.codecov.io/docs/fixing-reports 19:45:03 + Found adjustments 19:45:03 ==> Gzipping contents 19:45:03 4.0K /tmp/codecov.q2ZcDZ.gz 19:45:03 ==> Uploading reports 19:45:03 url: https://codecov.io 19:45:03 query: branch=PR-17&commit=98051f9b494b64813bdbe19a35fce6e5123096f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-17%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=17&job=&cmd_args= 19:45:03 -> Pinging Codecov 19:45:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-17&commit=98051f9b494b64813bdbe19a35fce6e5123096f0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-17%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=17&job=&cmd_args= 19:45:04 -> Uploading to 19:45:04 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/98051f9b494b64813bdbe19a35fce6e5123096f0/548eba07-bc83-46ae-b153-b8bf8c25014f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T194503Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=256e8d5fbcae052ecb135ca669afed345f7766ba9dd7b44243b84cb3bb8dcb4e 19:45:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:45:04 Dload Upload Total Spent Left Speed 19:45:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 11216 --:--:-- --:--:-- --:--:-- 11216 19:45:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/98051f9b494b64813bdbe19a35fce6e5123096f0 [Pipeline] } 19:45:04 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 19:45:06 + [ -d /w/workspace/edgexfoundry_device-s7_PR-17/archives ] 19:45:06 + ls -al /w/workspace/edgexfoundry_device-s7_PR-17/archives 19:45:06 total 16 19:45:06 drwxr-xr-x 3 root root 4096 Nov 11 19:29 . 19:45:06 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 19:30 .. 19:45:06 drwxr-xr-x 2 root root 4096 Nov 11 19:29 cost 19:45:06 -rw-r--r-- 1 root root 80 Nov 11 19:29 cost.csv 19:45:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-17/archives 19:45:06 + ls -al /w/workspace/edgexfoundry_device-s7_PR-17/archives 19:45:06 total 16 19:45:06 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 19:29 . 19:45:06 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 19:30 .. 19:45:06 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 19:29 cost 19:45:06 -rw-r--r-- 1 jenkins jenkins 80 Nov 11 19:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:45:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:45:07 ---> package-listing.sh 19:45:07 ++ facter osfamily 19:45:07 ++ tr '[:upper:]' '[:lower:]' 19:45:08 + OS_FAMILY=debian 19:45:08 + workspace=/w/workspace/edgexfoundry_device-s7_PR-17 19:45:08 + START_PACKAGES=/tmp/packages_start.txt 19:45:08 + END_PACKAGES=/tmp/packages_end.txt 19:45:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:45:08 + PACKAGES=/tmp/packages_start.txt 19:45:08 + '[' /w/workspace/edgexfoundry_device-s7_PR-17 ']' 19:45:08 + PACKAGES=/tmp/packages_end.txt 19:45:08 + case "${OS_FAMILY}" in 19:45:08 + dpkg -l 19:45:08 + grep '^ii' 19:45:08 + '[' -f /tmp/packages_start.txt ']' 19:45:08 + '[' -f /tmp/packages_end.txt ']' 19:45:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:45:08 + '[' /w/workspace/edgexfoundry_device-s7_PR-17 ']' 19:45:08 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-17/archives/ 19:45:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-17/archives/ [Pipeline] echo 19:45:08 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-17/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:45:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:45:09 prd-ubuntu20.04-docker-8c-8g-26196 does not seem to be running inside a container 19:45:09 $ 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-17/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-17 -v /w/workspace/edgexfoundry_device-s7_PR-17:/w/workspace/edgexfoundry_device-s7_PR-17:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-17@tmp:/w/workspace/edgexfoundry_device-s7_PR-17@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 19:45:09 $ docker top 55e9c91a17bc304eec033481f8456776cbde2c96eaa184133d98506d99ca97f7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:45:09 + touch /tmp/pre-build-complete [Pipeline] sh 19:45:10 + mkdir -p /var/log/sysstat [Pipeline] sh 19:45:10 + ls /var/log/sa-host 19:45:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:10 provisioning config files... 19:45:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-17@tmp/config2968865879646672564tmp [Pipeline] { [Pipeline] echo 19:45:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:45:11 ---> create-netrc.sh [Pipeline] } 19:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:45:11 ---> python-tools-install.sh [Pipeline] echo 19:45:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:45:12 ---> sudo-logs.sh 19:45:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:45:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:45:12 ---> job-cost.sh 19:45:12 lf-activate-venv: SKIPPING 19:45:12 DEBUG: total: 0.2199999988079071 19:45:12 INFO: Retrieving Stack Cost... 19:45:12 INFO: Retrieving Pricing Info for: v3-standard-8 19:45:13 INFO: Archiving Costs [Pipeline] echo 19:45:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:45:13 ---> logs-deploy.sh 19:45:13 lf-activate-venv: SKIPPING 19:45:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-17/1 19:45:13 INFO: archiving workspace using pattern(s): 19:45:14 Archives upload complete. 19:45:14 INFO: archiving logs to Nexus