Pull request #15 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d+8abf73570ad6030a87cde2867b8b9b061b07feca (d3463d19dd3d2327105eb30144f3f4a844f343b6) 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-ssh15521814045612718119.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-ssh16516476175403121945.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-15/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-15/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8844394700034079424.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-15/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13971005975856457466.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-ssh4513245801744249009.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-15/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-15/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14090666805215051188.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-24522 in /w/workspace/edgexfoundry_device-s7_PR-15 [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-15 # 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 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d Merge succeeded, producing 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d Checking out Revision 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d (PR-15) > 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 > 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/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d # 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 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:38:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:38:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:38:06 ========================================================= 19:38:06 EdgeX Global Pipelines Version Info 19:38:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:38:07 ------------------- 19:38:07 stable info: 19:38:07 ------------------- 19:38:07 Commited By: Ginny Guan ginny@iotechsys.com 19:38:07 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:38:07 Message: update stable to v1.0.265 19:38:08 ------------------- 19:38:08 experimental info: 19:38:08 ------------------- 19:38:08 Commited By: Cherry Wang cherry@iotechsys.com 19:38:08 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 19:38:08 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:38:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:38:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f0bf49 [Pipeline] echo 19:38:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:38:10 provisioning config files... 19:38:10 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-15@tmp/config12506466383854586986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:10 ---> ****-login.sh 19:38:10 nexus3.edgexfoundry.org:10001 19:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:11 Configure a credential helper to remove this warning. See 19:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:11 19:38:11 Login Succeeded 19:38:11 nexus3.edgexfoundry.org:10002 19:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:11 Configure a credential helper to remove this warning. See 19:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:11 19:38:11 Login Succeeded 19:38:11 nexus3.edgexfoundry.org:10003 19:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:11 Configure a credential helper to remove this warning. See 19:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:11 19:38:11 Login Succeeded 19:38:11 nexus3.edgexfoundry.org:10004 19:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:11 Configure a credential helper to remove this warning. See 19:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:11 19:38:11 Login Succeeded 19:38:11 ****.io 19:38:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:11 Configure a credential helper to remove this warning. See 19:38:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:11 19:38:11 Login Succeeded 19:38:11 ---> ****-login.sh ends [Pipeline] } 19:38:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:38:12 + git rev-list -1 --merges 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d~1..2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [Pipeline] echo 19:38:12 -----------> git rev-list -1 --merges 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d~1..2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [false] [Pipeline] sh 19:38:12 + git log --format=format:%s -1 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [Pipeline] echo 19:38:13 ========================================================= 19:38:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:38:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:38:13 + git log --format=format:%s -1 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [Pipeline] echo 19:38:13 [semverPrep] GIT_COMMIT: 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts/v4 [Pipeline] echo 19:38:13 [semverPrep] This is not a build commit. [Pipeline] sh 19:38:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:38:13 + grep -v github /etc/ssh/ssh_known_hosts 19:38:13 + [ -e /tmp/ssh_known_hosts ] 19:38:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:38:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:38:13 + sudo tee -a /etc/ssh/ssh_known_hosts 19:38:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:38:14 19:38:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:38:14 0.1.4: Pulling from edgex-devops/py-git-semver 19:38:14 b85a868b505f: Pulling fs layer 19:38:14 e2be974225ed: Pulling fs layer 19:38:14 339a4e72a1f5: Pulling fs layer 19:38:14 988bab9f4d93: Pulling fs layer 19:38:14 1469e6f7b9e6: Pulling fs layer 19:38:14 eaf3925da568: Pulling fs layer 19:38:14 bab4dde63d76: Pulling fs layer 19:38:14 bde34c3a00c8: Pulling fs layer 19:38:14 b352a97aabf1: Pulling fs layer 19:38:14 4872d77fe225: Pulling fs layer 19:38:14 5851b861e8e6: Pulling fs layer 19:38:14 bde34c3a00c8: Waiting 19:38:14 1469e6f7b9e6: Waiting 19:38:14 eaf3925da568: Waiting 19:38:14 b352a97aabf1: Waiting 19:38:14 4872d77fe225: Waiting 19:38:14 5851b861e8e6: Waiting 19:38:14 988bab9f4d93: Waiting 19:38:14 bab4dde63d76: Waiting 19:38:14 e2be974225ed: Verifying Checksum 19:38:14 e2be974225ed: Download complete 19:38:14 988bab9f4d93: Verifying Checksum 19:38:14 988bab9f4d93: Download complete 19:38:14 339a4e72a1f5: Verifying Checksum 19:38:14 339a4e72a1f5: Download complete 19:38:14 1469e6f7b9e6: Verifying Checksum 19:38:14 1469e6f7b9e6: Download complete 19:38:15 eaf3925da568: Verifying Checksum 19:38:15 eaf3925da568: Download complete 19:38:15 bde34c3a00c8: Download complete 19:38:15 b352a97aabf1: Verifying Checksum 19:38:15 b352a97aabf1: Download complete 19:38:15 4872d77fe225: Verifying Checksum 19:38:15 4872d77fe225: Download complete 19:38:15 5851b861e8e6: Verifying Checksum 19:38:15 5851b861e8e6: Download complete 19:38:15 b85a868b505f: Verifying Checksum 19:38:15 b85a868b505f: Download complete 19:38:15 bab4dde63d76: Download complete 19:38:16 b85a868b505f: Pull complete 19:38:16 e2be974225ed: Pull complete 19:38:17 339a4e72a1f5: Pull complete 19:38:17 988bab9f4d93: Pull complete 19:38:17 1469e6f7b9e6: Pull complete 19:38:17 eaf3925da568: Pull complete 19:38:19 bab4dde63d76: Pull complete 19:38:19 bde34c3a00c8: Pull complete 19:38:19 b352a97aabf1: Pull complete 19:38:19 4872d77fe225: Pull complete 19:38:19 5851b861e8e6: Pull complete 19:38:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:38:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:38:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:38:20 prd-ubuntu20.04-docker-8c-8g-24522 does not seem to be running inside a container 19:38:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-15 -v /w/workspace/edgexfoundry_device-s7_PR-15:/w/workspace/edgexfoundry_device-s7_PR-15:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-15@tmp:/w/workspace/edgexfoundry_device-s7_PR-15@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:38:22 $ docker top 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 -eo pid,comm 19:38:22 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:38:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:38:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:38:23 [ssh-agent] Looking for ssh-agent implementation... 19:38:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:38:23 $ docker exec 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 ssh-agent 19:38:23 SSH_AUTH_SOCK=/tmp/ssh-huEjnaRFllwb/agent.33 19:38:23 SSH_AGENT_PID=39 19:38:23 Running ssh-add (command line suppressed) 19:38:23 Identity added: /w/workspace/edgexfoundry_device-s7_PR-15@tmp/private_key_16429478504438784062.key (/w/workspace/edgexfoundry_device-s7_PR-15@tmp/private_key_16429478504438784062.key) 19:38:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:38:23 + git tag --points-at HEAD [Pipeline] } 19:38:23 $ docker exec --env ******** --env ******** 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 ssh-agent -k 19:38:23 unset SSH_AUTH_SOCK; 19:38:23 unset SSH_AGENT_PID; 19:38:23 echo Agent pid 39 killed; 19:38:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:38:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:38:23 [ssh-agent] Looking for ssh-agent implementation... 19:38:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:38:24 $ docker exec 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 ssh-agent 19:38:24 SSH_AUTH_SOCK=/tmp/ssh-8s7SEHu4VMGH/agent.72 19:38:24 SSH_AGENT_PID=78 19:38:24 Running ssh-add (command line suppressed) 19:38:24 Identity added: /w/workspace/edgexfoundry_device-s7_PR-15@tmp/private_key_2638438615974636106.key (/w/workspace/edgexfoundry_device-s7_PR-15@tmp/private_key_2638438615974636106.key) 19:38:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:38:24 + git semver init 19:38:24 2024-11-04 19:38:24,871 [run_init] DEBUG init version:0.0.0 force:False 19:38:24 2024-11-04 19:38:24,872 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-15/.semver 19:38:24 2024-11-04 19:38:24,872 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-15/.semver 19:38:24 2024-11-04 19:38:24,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-15/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-15, universal_newlines=False, shell=None, istream=None) 19:38:25 2024-11-04 19:38:25,451 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-15/.git/info/exclude 19:38:25 2024-11-04 19:38:25,451 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-15/.semver/PR-15 with force:False 19:38:25 2024-11-04 19:38:25,451 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-15/.semver/PR-15 19:38:25 2024-11-04 19:38:25,453 [execute] INFO git cat-file --batch-check 19:38:25 2024-11-04 19:38:25,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-15/.semver, universal_newlines=False, shell=None, istream=) 19:38:25 2024-11-04 19:38:25,460 [execute] INFO git cat-file --batch 19:38:25 2024-11-04 19:38:25,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-15/.semver, universal_newlines=False, shell=None, istream=) 19:38:25 2024-11-04 19:38:25,466 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-15/.semver/PR-15 19:38:25 0.0.0 [Pipeline] } 19:38:25 $ docker exec --env ******** --env ******** 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 ssh-agent -k 19:38:25 unset SSH_AUTH_SOCK; 19:38:25 unset SSH_AGENT_PID; 19:38:25 echo Agent pid 78 killed; 19:38:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:38:26 + git semver [Pipeline] } 19:38:26 $ docker stop --time=1 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 19:38:27 $ docker rm -f --volumes 280e98f087581d54f9b02fd5f366d6327521b9fee4fb93984b1d50f15cf44d81 [Pipeline] // withDockerContainer [Pipeline] sh 19:38:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:38:28 Stashed 1 file(s) [Pipeline] echo 19:38:28 [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:38:29 provisioning config files... 19:38:29 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-15@tmp/config11437165695317979185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:29 ---> ****-login.sh 19:38:29 nexus3.edgexfoundry.org:10001 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 nexus3.edgexfoundry.org:10002 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 nexus3.edgexfoundry.org:10003 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 nexus3.edgexfoundry.org:10004 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 ****.io 19:38:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:38:29 Configure a credential helper to remove this warning. See 19:38:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:38:29 19:38:29 Login Succeeded 19:38:29 ---> ****-login.sh ends [Pipeline] } 19:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:38:30 ========================================================= 19:38:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:38:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:30 + 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:38:30 Sending build context to Docker daemon 622.6kB 19:38:30 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:38:30 Step 2/10 : FROM ${BASE} AS builder 19:38:30 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:38:30 43c4264eed91: Pulling fs layer 19:38:30 4cc291be95ef: Pulling fs layer 19:38:30 2ac1f1163629: Pulling fs layer 19:38:30 5c3c966382ef: Pulling fs layer 19:38:30 4f4fb700ef54: Pulling fs layer 19:38:30 5d5c8e513c77: Pulling fs layer 19:38:30 9f66e0745190: Pulling fs layer 19:38:30 f49a43e4bbc0: Pulling fs layer 19:38:30 561ebcabdf7f: Pulling fs layer 19:38:30 5c3c966382ef: Waiting 19:38:30 9f66e0745190: Waiting 19:38:30 4f4fb700ef54: Waiting 19:38:30 f49a43e4bbc0: Waiting 19:38:30 5d5c8e513c77: Waiting 19:38:30 4cc291be95ef: Verifying Checksum 19:38:30 4cc291be95ef: Download complete 19:38:30 5c3c966382ef: Download complete 19:38:30 4f4fb700ef54: Verifying Checksum 19:38:30 4f4fb700ef54: Download complete 19:38:31 5d5c8e513c77: Download complete 19:38:31 43c4264eed91: Verifying Checksum 19:38:31 43c4264eed91: Download complete 19:38:31 9f66e0745190: Verifying Checksum 19:38:31 9f66e0745190: Download complete 19:38:31 43c4264eed91: Pull complete 19:38:31 561ebcabdf7f: Verifying Checksum 19:38:31 561ebcabdf7f: Download complete 19:38:31 4cc291be95ef: Pull complete 19:38:31 2ac1f1163629: Download complete 19:38:32 f49a43e4bbc0: Verifying Checksum 19:38:32 f49a43e4bbc0: Download complete 19:38:35 2ac1f1163629: Pull complete 19:38:35 5c3c966382ef: Pull complete 19:38:35 4f4fb700ef54: Pull complete 19:38:35 5d5c8e513c77: Pull complete 19:38:35 9f66e0745190: Pull complete 19:38:38 f49a43e4bbc0: Pull complete 19:38:38 561ebcabdf7f: Pull complete 19:38:38 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 19:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:38:38 ---> 3a752c3f9dda 19:38:38 Step 3/10 : ARG MAKE=make build 19:38:42 ---> Running in 40a1c351b401 19:38:42 Removing intermediate container 40a1c351b401 19:38:42 ---> 93bc9b200e1a 19:38:42 Step 4/10 : WORKDIR /device-s7 19:38:42 ---> Running in 5eca0a81e5f7 19:38:42 Removing intermediate container 5eca0a81e5f7 19:38:42 ---> e2c0a7edb276 19:38:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:38:42 ---> Running in ce94beb01154 19:38:42 Removing intermediate container ce94beb01154 19:38:42 ---> fbd53bab18c8 19:38:42 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:38:42 ---> Running in 92949e733f26 19:38:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:38:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:38:43 OK: 246 MiB in 54 packages 19:38:43 Still waiting to schedule task 19:38:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:38:43 Removing intermediate container 92949e733f26 19:38:43 ---> 896797cd1ebc 19:38:43 Step 7/10 : COPY go.mod vendor* ./ 19:38:43 ---> 65fc75e834aa 19:38:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:38:43 ---> Running in 0fc896117e95 19:39:40 Removing intermediate container 0fc896117e95 19:39:40 ---> 772243d3bec4 19:39:40 Step 9/10 : COPY . . 19:39:40 ---> ffe3aad91562 19:39:40 Step 10/10 : RUN ${MAKE} 19:39:40 ---> Running in 6bc629357b05 19:39:40 noop 19:39:40 Removing intermediate container 6bc629357b05 19:39:40 ---> f5c042e8c49e 19:39:40 Successfully built f5c042e8c49e 19:39:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:40 + docker inspect -f . ci-base-image-x86_64 19:39:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:40 prd-ubuntu20.04-docker-8c-8g-24522 does not seem to be running inside a container 19:39:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-15 -v /w/workspace/edgexfoundry_device-s7_PR-15:/w/workspace/edgexfoundry_device-s7_PR-15:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-15@tmp:/w/workspace/edgexfoundry_device-s7_PR-15@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:39:41 $ docker top ce5c3b98ab864fa4ef0d3463701fc2cd91049f324e17aba345f7cc0bbbe1930c -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:41 + go version 19:39:41 go version go1.23.2 linux/amd64 [Pipeline] } 19:39:41 $ docker stop --time=1 ce5c3b98ab864fa4ef0d3463701fc2cd91049f324e17aba345f7cc0bbbe1930c 19:39:42 $ docker rm -f --volumes ce5c3b98ab864fa4ef0d3463701fc2cd91049f324e17aba345f7cc0bbbe1930c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:43 + docker inspect -f . ci-base-image-x86_64 19:39:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:43 prd-ubuntu20.04-docker-8c-8g-24522 does not seem to be running inside a container 19:39:43 $ 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-15 -v /w/workspace/edgexfoundry_device-s7_PR-15:/w/workspace/edgexfoundry_device-s7_PR-15:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-15@tmp:/w/workspace/edgexfoundry_device-s7_PR-15@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:39:44 $ docker top 74c6b288a816625aaa8d57028203137cc64015f852a2bf20653b3725e42727c4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-15 [Pipeline] fileExists [Pipeline] sh 19:39:45 + make test 19:39:45 go test -race -coverprofile=coverage.out ./... 19:39:53 ? github.com/edgexfoundry/device-s7 [no test files] 19:40:15 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:40:15 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:40:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24524 in /w/workspace/edgexfoundry_device-s7_PR-15 [Pipeline] { [Pipeline] ws 19:40:15 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:40:15 Selected Git installation does not exist. Using Default 19:40:15 The recommended git tool is: NONE 19:40:20 using credential edgex-jenkins-ssh 19:40:20 Cloning the remote Git repository 19:40:20 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:40:20 > git init /w/workspace/device-s7/1 # timeout=10 19:40:20 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:40:20 > git --version # timeout=10 19:40:20 > git --version # 'git version 2.25.1' 19:40:20 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:40:21 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:40:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:40:23 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d 19:40:23 Merge succeeded, producing 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d 19:40:23 Checking out Revision 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d (PR-15) 19:40:22 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:40:22 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:40:22 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:40:23 > git config core.sparsecheckout # timeout=10 19:40:23 > git checkout -f 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d # timeout=10 19:40:23 > git remote # timeout=10 19:40:23 > git config --get remote.origin.url # timeout=10 19:40:23 using GIT_SSH to set credentials SSH Credentials for GitHub 19:40:23 > git merge 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 19:40:23 > git rev-parse HEAD^{commit} # timeout=10 19:40:23 > git config core.sparsecheckout # timeout=10 19:40:23 > git checkout -f 2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d # timeout=10 19:40:23 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v4" 19:40:23 > git --version # timeout=10 19:40:23 > git --version # 'git version 2.25.1' 19:40:23 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:40:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:40:28 % Total % Received % Xferd Average Speed Time Time Time Current 19:40:28 Dload Upload Total Spent Left Speed 19:40:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86093 0 --:--:-- --:--:-- --:--:-- 86093 [Pipeline] sh 19:40:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:40:29 + sudo tee /etc/docker/daemon.new 19:40:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:40:29 { 19:40:29 "registry-mirrors": [ 19:40:29 "https://nexus3.edgexfoundry.org:10001" 19:40:29 ], 19:40:29 "bip": "10.250.0.254/24", 19:40:29 "hosts": [ 19:40:29 "tcp://0.0.0.0:5555", 19:40:29 "unix:///var/run/docker.sock" 19:40:29 ], 19:40:29 "mtu": 1458, 19:40:29 "selinux-enabled": true, 19:40:29 "seccomp-profile": "/etc/docker/seccomp.json" 19:40:29 } [Pipeline] sh 19:40:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:40:30 + sudo service docker restart 19:40:47 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:40:48 provisioning config files... 19:40:48 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config6223723302608226277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:40:49 ---> ****-login.sh 19:40:49 nexus3.edgexfoundry.org:10001 19:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:40:49 Configure a credential helper to remove this warning. See 19:40:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:40:49 19:40:49 Login Succeeded 19:40:49 nexus3.edgexfoundry.org:10002 19:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:40:50 Configure a credential helper to remove this warning. See 19:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:40:50 19:40:50 Login Succeeded 19:40:50 nexus3.edgexfoundry.org:10003 19:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:40:50 Configure a credential helper to remove this warning. See 19:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:40:50 19:40:50 Login Succeeded 19:40:50 nexus3.edgexfoundry.org:10004 19:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:40:50 Configure a credential helper to remove this warning. See 19:40:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:40:50 19:40:50 Login Succeeded 19:40:50 ****.io 19:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:40:51 Configure a credential helper to remove this warning. See 19:40:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:40:51 19:40:51 Login Succeeded 19:40:51 ---> ****-login.sh ends [Pipeline] } 19:40:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:40:51 ========================================================= 19:40:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 19:40:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:40:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:40:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:40:52 ./bin/test-attribution-txt.sh [Pipeline] echo 19:40:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:40:52 $ docker stop --time=1 74c6b288a816625aaa8d57028203137cc64015f852a2bf20653b3725e42727c4 19:40:52 + 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:40:52 Sending build context to Docker daemon 417.8kB 19:40:52 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:40:52 Step 2/10 : FROM ${BASE} AS builder 19:40:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:40:53 cf04c63912e1: Pulling fs layer 19:40:53 55b35a11ae5e: Pulling fs layer 19:40:53 a37a00ec5f00: Pulling fs layer 19:40:53 50b3750afda1: Pulling fs layer 19:40:53 4f4fb700ef54: Pulling fs layer 19:40:53 80978eb59214: Pulling fs layer 19:40:53 c9f46d7d2bd2: Pulling fs layer 19:40:53 c5a475d317c9: Pulling fs layer 19:40:53 50b3750afda1: Waiting 19:40:53 4f4fb700ef54: Waiting 19:40:53 c9f46d7d2bd2: Waiting 19:40:53 c5a475d317c9: Waiting 19:40:53 55b35a11ae5e: Verifying Checksum 19:40:53 55b35a11ae5e: Download complete 19:40:53 50b3750afda1: Verifying Checksum 19:40:53 50b3750afda1: Download complete 19:40:53 4f4fb700ef54: Verifying Checksum 19:40:53 4f4fb700ef54: Download complete 19:40:53 80978eb59214: Verifying Checksum 19:40:53 80978eb59214: Download complete 19:40:53 cf04c63912e1: Verifying Checksum 19:40:53 cf04c63912e1: Download complete 19:40:53 c5a475d317c9: Verifying Checksum 19:40:53 c5a475d317c9: Download complete 19:40:53 cf04c63912e1: Pull complete 19:40:54 55b35a11ae5e: Pull complete 19:40:55 a37a00ec5f00: Verifying Checksum 19:40:55 a37a00ec5f00: Download complete 19:40:55 c9f46d7d2bd2: Verifying Checksum 19:40:55 c9f46d7d2bd2: Download complete 19:40:57 $ docker rm -f --volumes 74c6b288a816625aaa8d57028203137cc64015f852a2bf20653b3725e42727c4 [Pipeline] // withDockerContainer [Pipeline] sh 19:40:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:40:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:40:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:40:59 + ls -al . 19:40:59 total 228 19:40:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 19:39 . 19:40:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 19:38 .. 19:40:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 19:40 .git 19:40:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 19:38 .github 19:40:59 -rw-rw-r-- 1 jenkins jenkins 237 Nov 4 19:38 .gitignore 19:40:59 -rw-rw-r-- 1 jenkins jenkins 42 Nov 4 19:38 .golangci.yml 19:40:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 19:38 .semver 19:40:59 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 4 19:38 Attribution.txt 19:40:59 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 4 19:38 Dockerfile 19:40:59 -rw-rw-r-- 1 jenkins jenkins 643 Nov 4 19:38 Jenkinsfile 19:40:59 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 4 19:38 LICENSE 19:40:59 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 4 19:38 Makefile 19:40:59 -rw-rw-r-- 1 jenkins jenkins 614 Nov 4 19:38 OWNERS.md 19:40:59 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 4 19:38 README.md 19:40:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 19:38 VERSION 19:40:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 19:38 bin 19:40:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 19:38 cmd 19:40:59 -rw-r--r-- 1 jenkins jenkins 17164 Nov 4 19:40 coverage.out 19:40:59 -rw-rw-r-- 1 jenkins jenkins 6929 Nov 4 19:38 go.mod 19:40:59 -rw-rw-r-- 1 jenkins jenkins 100385 Nov 4 19:38 go.sum 19:40:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 19:38 internal 19:40:59 -rw-rw-r-- 1 jenkins jenkins 223 Nov 4 19:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:40:59 + 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=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d --label arch=amd64 --label version=0.0.0 . 19:40:59 Sending build context to Docker daemon 640.5kB 19:40:59 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:40:59 Step 2/24 : FROM ${BASE} AS builder 19:40:59 ---> f5c042e8c49e 19:40:59 Step 3/24 : ARG MAKE=make build 19:40:59 ---> Running in 0b7f72ef1639 19:40:59 Removing intermediate container 0b7f72ef1639 19:40:59 ---> 0030ca90e88a 19:40:59 Step 4/24 : WORKDIR /device-s7 19:40:59 ---> Running in c5bc13156ffa 19:40:59 Removing intermediate container c5bc13156ffa 19:40:59 ---> d99e7fa4f071 19:40:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:40:59 ---> Running in 6359894f0bc8 19:40:59 Removing intermediate container 6359894f0bc8 19:40:59 ---> f2ff50b74a76 19:40:59 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:40:59 ---> Running in e61203bb7857 19:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:41:00 OK: 246 MiB in 54 packages 19:41:00 Removing intermediate container e61203bb7857 19:41:00 ---> 021dd65fdd68 19:41:00 Step 7/24 : COPY go.mod vendor* ./ 19:41:00 ---> c356f74b92de 19:41:00 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:41:00 ---> Running in b90d3bbd5dc1 19:41:01 Removing intermediate container b90d3bbd5dc1 19:41:01 ---> 97d92e8c6931 19:41:01 Step 9/24 : COPY . . 19:41:01 ---> 308f7e40bf35 19:41:01 Step 10/24 : RUN ${MAKE} 19:41:01 ---> Running in 03e7637f5f10 19:41:02 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:41:08 a37a00ec5f00: Pull complete 19:41:08 50b3750afda1: Pull complete 19:41:08 4f4fb700ef54: Pull complete 19:41:08 80978eb59214: Pull complete 19:41:17 c9f46d7d2bd2: Pull complete 19:41:18 c5a475d317c9: Pull complete 19:41:18 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 19:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 19:41:18 ---> be29e6b0f0d4 19:41:18 Step 3/10 : ARG MAKE=make build 19:41:19 ---> Running in 61ef8141399a 19:41:19 Removing intermediate container 61ef8141399a 19:41:19 ---> a464a6ce8177 19:41:19 Step 4/10 : WORKDIR /device-s7 19:41:19 ---> Running in ab326fbc42eb 19:41:20 Removing intermediate container ab326fbc42eb 19:41:20 ---> e2872013c5bb 19:41:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:41:20 ---> Running in 648d72b93088 19:41:20 Removing intermediate container 648d72b93088 19:41:20 ---> e7d2992b4611 19:41:20 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:41:20 ---> Running in 6775af66069e 19:41:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:41:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:41:23 OK: 238 MiB in 54 packages 19:41:24 Removing intermediate container 6775af66069e 19:41:24 ---> 87a82c870fde 19:41:24 Step 7/10 : COPY go.mod vendor* ./ 19:41:24 ---> e0bb8ac0fffa 19:41:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:41:24 ---> Running in 1cc5f0ab5df2 19:41:34 Removing intermediate container 03e7637f5f10 19:41:34 ---> 6f21bfdcdbdb 19:41:34 Step 11/24 : FROM alpine:3.20 19:41:34 3.20: Pulling from library/alpine 19:41:34 43c4264eed91: Already exists 19:41:34 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:41:34 Status: Downloaded newer image for alpine:3.20 19:41:34 ---> 91ef0af61f39 19:41:34 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:41:34 ---> Running in 5da2af99e247 19:41:34 Removing intermediate container 5da2af99e247 19:41:34 ---> 3eb450eb192d 19:41:34 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:41:34 ---> Running in 1626db1b8332 19:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:41:34 (1/1) Installing dumb-init (1.2.5-r3) 19:41:34 Executing busybox-1.36.1-r29.trigger 19:41:34 OK: 8 MiB in 15 packages 19:41:35 Removing intermediate container 1626db1b8332 19:41:35 ---> 3c233a4ce07a 19:41:35 Step 14/24 : RUN apk --no-cache upgrade 19:41:35 ---> Running in 5571a15ac8a6 19:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:41:35 Upgrading critical system libraries and apk-tools: 19:41:35 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:41:35 Executing busybox-1.36.1-r29.trigger 19:41:35 Continuing the upgrade transaction with new apk-tools: 19:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:41:35 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:41:35 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:41:36 OK: 8 MiB in 15 packages 19:41:36 Removing intermediate container 5571a15ac8a6 19:41:36 ---> cfb717296b8a 19:41:36 Step 15/24 : WORKDIR / 19:41:36 ---> Running in 52c7701cb401 19:41:36 Removing intermediate container 52c7701cb401 19:41:36 ---> 2bca9c9f2025 19:41:36 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:41:36 ---> 49f3a9a213ec 19:41:36 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:41:37 ---> 38306380cad2 19:41:37 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:41:37 ---> 37abc4bf0228 19:41:37 Step 19/24 : EXPOSE 59994 19:41:37 ---> Running in a6c7f677d419 19:41:37 Removing intermediate container a6c7f677d419 19:41:37 ---> 4820a8f238a1 19:41:37 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:41:37 ---> Running in cb61e471e268 19:41:38 Removing intermediate container cb61e471e268 19:41:38 ---> 6247d66972bc 19:41:38 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:41:38 ---> Running in 40ce8cf0182a 19:41:38 Removing intermediate container 40ce8cf0182a 19:41:38 ---> 4eb637127434 19:41:38 Step 22/24 : LABEL arch=amd64 19:41:38 ---> Running in b5b9b248c17d 19:41:38 Removing intermediate container b5b9b248c17d 19:41:38 ---> 2f15be6c50c8 19:41:38 Step 23/24 : LABEL git_sha=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d 19:41:38 ---> Running in 860aabad413f 19:41:38 Removing intermediate container 860aabad413f 19:41:38 ---> f604d3922290 19:41:38 Step 24/24 : LABEL version=0.0.0 19:41:38 ---> Running in d5891ebed5cd 19:41:38 Removing intermediate container d5891ebed5cd 19:41:38 ---> cc9a28f974ee 19:41:38 [Warning] One or more build-args [ARCH] were not consumed 19:41:38 Successfully built cc9a28f974ee 19:41:38 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:41:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:41:39 19:41:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:41:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:41:39 latest: Pulling from edgex-lftools-log-publisher 19:41:39 5eb5b503b376: Pulling fs layer 19:41:39 5c69ac0246d0: Pulling fs layer 19:41:39 ec43610c2a17: Pulling fs layer 19:41:39 3a2ae6a8a46f: Pulling fs layer 19:41:39 33b1e0a273af: Pulling fs layer 19:41:39 5d3b04190fa2: Pulling fs layer 19:41:39 2f39f015ded8: Pulling fs layer 19:41:39 33b1e0a273af: Waiting 19:41:39 5d3b04190fa2: Waiting 19:41:39 3a2ae6a8a46f: Waiting 19:41:39 5c69ac0246d0: Verifying Checksum 19:41:39 5c69ac0246d0: Download complete 19:41:39 3a2ae6a8a46f: Download complete 19:41:39 33b1e0a273af: Verifying Checksum 19:41:39 33b1e0a273af: Download complete 19:41:39 5d3b04190fa2: Download complete 19:41:39 ec43610c2a17: Verifying Checksum 19:41:39 ec43610c2a17: Download complete 19:41:40 5eb5b503b376: Verifying Checksum 19:41:40 5eb5b503b376: Download complete 19:41:40 2f39f015ded8: Download complete 19:41:41 5eb5b503b376: Pull complete 19:41:41 5c69ac0246d0: Pull complete 19:41:41 ec43610c2a17: Pull complete 19:41:41 3a2ae6a8a46f: Pull complete 19:41:42 33b1e0a273af: Pull complete 19:41:42 5d3b04190fa2: Pull complete 19:41:46 2f39f015ded8: Pull complete 19:41:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:41:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:41:46 prd-ubuntu20.04-docker-8c-8g-24522 does not seem to be running inside a container 19:41:46 $ 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-15 -v /w/workspace/edgexfoundry_device-s7_PR-15:/w/workspace/edgexfoundry_device-s7_PR-15:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-15@tmp:/w/workspace/edgexfoundry_device-s7_PR-15@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:41:49 $ docker top 8bb418118ebcb8c7ebe8c09b7423dfde07640ca8973e578fad899bf2d814d2ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:41:50 ---> job-cost.sh 19:41:50 lf-activate-venv: SKIPPING 19:41:50 INFO: No Stack... 19:41:50 INFO: Retrieving Pricing Info for: v3-standard-8 19:41:51 INFO: Archiving Costs [Pipeline] sh 19:41:51 + cat /w/workspace/edgexfoundry_device-s7_PR-15/archives/cost.csv 19:41:51 + cut -d, -f6 [Pipeline] lock 19:41:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] 19:41:51 Resource [jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] did not exist. Created. 19:41:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:41:52 + echo total: 0.2199999988079071 [Pipeline] stash 19:41:52 Stashed 1 file(s) [Pipeline] } 19:41:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:41:52 $ docker stop --time=1 8bb418118ebcb8c7ebe8c09b7423dfde07640ca8973e578fad899bf2d814d2ae 19:41:53 $ docker rm -f --volumes 8bb418118ebcb8c7ebe8c09b7423dfde07640ca8973e578fad899bf2d814d2ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:43:16 Removing intermediate container 1cc5f0ab5df2 19:43:16 ---> 11e2a5a7a7c2 19:43:16 Step 9/10 : COPY . . 19:43:16 ---> ff8c3ce14ec3 19:43:16 Step 10/10 : RUN ${MAKE} 19:43:16 ---> Running in d1f4cd76240a 19:43:17 noop 19:43:18 Removing intermediate container d1f4cd76240a 19:43:18 ---> 1bab761ce73b 19:43:18 Successfully built 1bab761ce73b 19:43:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:18 + docker inspect -f . ci-base-image-arm64 19:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:19 prd-ubuntu20.04-docker-arm64-4c-16g-24524 does not seem to be running inside a container 19:43:19 $ 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:43:20 $ docker top 68d051a606558c95e3b326fec6207166f2bdc3a6065064bbe776a66017c85ecc -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:23 + go version 19:43:23 go version go1.23.2 linux/arm64 [Pipeline] } 19:43:23 $ docker stop --time=1 68d051a606558c95e3b326fec6207166f2bdc3a6065064bbe776a66017c85ecc 19:43:24 $ docker rm -f --volumes 68d051a606558c95e3b326fec6207166f2bdc3a6065064bbe776a66017c85ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:25 + docker inspect -f . ci-base-image-arm64 19:43:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:26 prd-ubuntu20.04-docker-arm64-4c-16g-24524 does not seem to be running inside a container 19:43:26 $ 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:43:27 $ docker top d94db879657e628a1bb0e9064d6d815ed882e40df1b5ac838d0b4a5b9fab357e -eo pid,comm [Pipeline] { [Pipeline] sh 19:43:28 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:43:29 + make test 19:43:29 go test -race -coverprofile=coverage.out ./... 19:44:26 ? github.com/edgexfoundry/device-s7 [no test files] 19:48:17 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:48:17 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:48:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:48:17 go vet ./... 19:52:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:52:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:52:24 ./bin/test-attribution-txt.sh [Pipeline] echo 19:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:52:24 $ docker stop --time=1 d94db879657e628a1bb0e9064d6d815ed882e40df1b5ac838d0b4a5b9fab357e 19:52:26 $ docker rm -f --volumes d94db879657e628a1bb0e9064d6d815ed882e40df1b5ac838d0b4a5b9fab357e [Pipeline] // withDockerContainer [Pipeline] sh 19:52:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:52:29 Warning: overwriting stash ‘coverage-report’ 19:52:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:52:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:52:31 + ls -al . 19:52:31 total 224 19:52:31 drwxrwxr-x 7 jenkins jenkins 4096 Nov 4 19:43 . 19:52:31 drwxrwxr-x 4 jenkins jenkins 4096 Nov 4 19:40 .. 19:52:31 drwxrwxr-x 8 jenkins jenkins 4096 Nov 4 19:40 .git 19:52:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 19:40 .github 19:52:31 -rw-rw-r-- 1 jenkins jenkins 237 Nov 4 19:40 .gitignore 19:52:31 -rw-rw-r-- 1 jenkins jenkins 42 Nov 4 19:40 .golangci.yml 19:52:31 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 4 19:40 Attribution.txt 19:52:31 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 4 19:40 Dockerfile 19:52:31 -rw-rw-r-- 1 jenkins jenkins 643 Nov 4 19:40 Jenkinsfile 19:52:31 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 4 19:40 LICENSE 19:52:31 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 4 19:40 Makefile 19:52:31 -rw-rw-r-- 1 jenkins jenkins 614 Nov 4 19:40 OWNERS.md 19:52:31 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 4 19:40 README.md 19:52:31 -rw-rw-r-- 1 jenkins jenkins 5 Nov 4 19:38 VERSION 19:52:31 drwxrwxr-x 2 jenkins jenkins 4096 Nov 4 19:40 bin 19:52:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 19:40 cmd 19:52:31 -rw-r--r-- 1 jenkins jenkins 17164 Nov 4 19:48 coverage.out 19:52:31 -rw-rw-r-- 1 jenkins jenkins 6929 Nov 4 19:40 go.mod 19:52:31 -rw-rw-r-- 1 jenkins jenkins 100385 Nov 4 19:40 go.sum 19:52:31 drwxrwxr-x 3 jenkins jenkins 4096 Nov 4 19:40 internal 19:52:31 -rw-rw-r-- 1 jenkins jenkins 223 Nov 4 19:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:31 + 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=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d --label arch=arm64 --label version=0.0.0 . 19:52:31 Sending build context to Docker daemon 435.7kB 19:52:31 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:52:31 Step 2/24 : FROM ${BASE} AS builder 19:52:31 ---> 1bab761ce73b 19:52:31 Step 3/24 : ARG MAKE=make build 19:52:32 ---> Running in 4559f5904ca7 19:52:32 Removing intermediate container 4559f5904ca7 19:52:32 ---> 664a8513832c 19:52:32 Step 4/24 : WORKDIR /device-s7 19:52:32 ---> Running in 2410b64a727e 19:52:32 Removing intermediate container 2410b64a727e 19:52:32 ---> 4ef3d2202cd9 19:52:32 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:52:32 ---> Running in c1e5c3551415 19:52:33 Removing intermediate container c1e5c3551415 19:52:33 ---> 898a68a79fd5 19:52:33 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:52:33 ---> Running in 2c73ad88ffd3 19:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:52:36 OK: 238 MiB in 54 packages 19:52:37 Removing intermediate container 2c73ad88ffd3 19:52:37 ---> f19318e2729e 19:52:37 Step 7/24 : COPY go.mod vendor* ./ 19:52:38 ---> a75fa5fcbdaf 19:52:38 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:38 ---> Running in 8a5310447b7c 19:52:41 Removing intermediate container 8a5310447b7c 19:52:41 ---> 4a5f89b3c285 19:52:41 Step 9/24 : COPY . . 19:52:41 ---> 92479544a4db 19:52:41 Step 10/24 : RUN ${MAKE} 19:52:41 ---> Running in 59189a471a5b 19:52:42 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:56:34 Removing intermediate container 59189a471a5b 19:56:34 ---> eb52bf36dc0e 19:56:34 Step 11/24 : FROM alpine:3.20 19:56:34 3.20: Pulling from library/alpine 19:56:34 cf04c63912e1: Already exists 19:56:34 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:56:34 Status: Downloaded newer image for alpine:3.20 19:56:34 ---> c157a85ed455 19:56:34 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:56:34 ---> Running in 2e384f0976cf 19:56:34 Removing intermediate container 2e384f0976cf 19:56:34 ---> e2b934c9eb6b 19:56:34 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:56:34 ---> Running in 572fa9844f35 19:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:56:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:56:36 (1/1) Installing dumb-init (1.2.5-r3) 19:56:36 Executing busybox-1.36.1-r29.trigger 19:56:36 OK: 9 MiB in 15 packages 19:56:37 Removing intermediate container 572fa9844f35 19:56:37 ---> b8aed8499d26 19:56:37 Step 14/24 : RUN apk --no-cache upgrade 19:56:37 ---> Running in 552ed1c9ccc2 19:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:56:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:56:41 Upgrading critical system libraries and apk-tools: 19:56:41 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:56:41 Executing busybox-1.36.1-r29.trigger 19:56:41 Continuing the upgrade transaction with new apk-tools: 19:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:56:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:56:43 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:56:43 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:56:43 OK: 9 MiB in 15 packages 19:56:45 Removing intermediate container 552ed1c9ccc2 19:56:45 ---> e0a4e60ee8e2 19:56:45 Step 15/24 : WORKDIR / 19:56:45 ---> Running in e44065854b87 19:56:45 Removing intermediate container e44065854b87 19:56:45 ---> 758e3c19cb3f 19:56:45 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:56:46 ---> acefc25ca8dc 19:56:46 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:56:48 ---> 6f85ac4dbc95 19:56:48 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:56:48 ---> 6e2e9ea78b23 19:56:48 Step 19/24 : EXPOSE 59994 19:56:49 ---> Running in 5080021adbd6 19:56:49 Removing intermediate container 5080021adbd6 19:56:49 ---> 3fe853e87c4b 19:56:49 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:56:49 ---> Running in 93754b267174 19:56:50 Removing intermediate container 93754b267174 19:56:50 ---> fd0eea584184 19:56:50 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:56:50 ---> Running in 2ac6af25e59a 19:56:50 Removing intermediate container 2ac6af25e59a 19:56:50 ---> 16ce60bc757a 19:56:50 Step 22/24 : LABEL arch=arm64 19:56:50 ---> Running in cff5ee2669d4 19:56:51 Removing intermediate container cff5ee2669d4 19:56:51 ---> f5951cf9b38a 19:56:51 Step 23/24 : LABEL git_sha=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d 19:56:51 ---> Running in 646c9504939a 19:56:51 Removing intermediate container 646c9504939a 19:56:51 ---> fa922ced6d5b 19:56:51 Step 24/24 : LABEL version=0.0.0 19:56:51 ---> Running in ce987774c0d0 19:56:52 Removing intermediate container ce987774c0d0 19:56:52 ---> bfe12a435549 19:56:52 [Warning] One or more build-args [ARCH] were not consumed 19:56:52 Successfully built bfe12a435549 19:56:52 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:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:56:53 19:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:56:54 arm64: Pulling from edgex-lftools-log-publisher 19:56:54 8998bd30e6a1: Pulling fs layer 19:56:54 04944245beec: Pulling fs layer 19:56:54 699f458cf7ca: Pulling fs layer 19:56:54 765212b225bb: Pulling fs layer 19:56:54 f23df028b6ca: Pulling fs layer 19:56:54 d65c8cfc05b1: Pulling fs layer 19:56:54 2437ff75d9bd: Pulling fs layer 19:56:54 765212b225bb: Waiting 19:56:54 d65c8cfc05b1: Waiting 19:56:54 2437ff75d9bd: Waiting 19:56:54 f23df028b6ca: Waiting 19:56:54 04944245beec: Verifying Checksum 19:56:54 04944245beec: Download complete 19:56:54 765212b225bb: Verifying Checksum 19:56:54 765212b225bb: Download complete 19:56:54 f23df028b6ca: Verifying Checksum 19:56:54 f23df028b6ca: Download complete 19:56:54 d65c8cfc05b1: Verifying Checksum 19:56:54 d65c8cfc05b1: Download complete 19:56:54 699f458cf7ca: Verifying Checksum 19:56:54 699f458cf7ca: Download complete 19:56:54 8998bd30e6a1: Verifying Checksum 19:56:54 8998bd30e6a1: Download complete 19:56:57 2437ff75d9bd: Verifying Checksum 19:56:57 2437ff75d9bd: Download complete 19:56:59 8998bd30e6a1: Pull complete 19:57:00 04944245beec: Pull complete 19:57:01 699f458cf7ca: Pull complete 19:57:01 765212b225bb: Pull complete 19:57:02 f23df028b6ca: Pull complete 19:57:03 d65c8cfc05b1: Pull complete 19:57:21 2437ff75d9bd: Pull complete 19:57:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:57:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:57:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:21 prd-ubuntu20.04-docker-arm64-4c-16g-24524 does not seem to be running inside a container 19:57:21 $ 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:57:25 $ docker top fda4c0677790949b11a439a293bbf287ee68d5f53d3cdbb234ef2269db679473 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:26 ---> job-cost.sh 19:57:26 lf-activate-venv: SKIPPING 19:57:26 INFO: No Stack... 19:57:26 INFO: Retrieving Pricing Info for: v3-standard-4 19:57:27 INFO: Archiving Costs [Pipeline] sh 19:57:28 + cat /w/workspace/device-s7/1/archives/cost.csv 19:57:28 + cut -d, -f6 [Pipeline] lock 19:57:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] 19:57:28 Resource [jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] did not exist. Created. 19:57:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:57:29 /w/workspace/device-s7/1@tmp/durable-0f4a6dfa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:57:30 + echo total: 0.10999999940395355 [Pipeline] stash 19:57:30 Warning: overwriting stash ‘stack-cost’ 19:57:30 Stashed 1 file(s) [Pipeline] } 19:57:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-15-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:57:30 $ docker stop --time=1 fda4c0677790949b11a439a293bbf287ee68d5f53d3cdbb234ef2269db679473 19:57:31 $ docker rm -f --volumes fda4c0677790949b11a439a293bbf287ee68d5f53d3cdbb234ef2269db679473 [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:57:33 provisioning config files... 19:57:33 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-15@tmp/config4379111966658131377tmp [Pipeline] { [Pipeline] sh 19:57:33 + set +x 19:57:33 + curl -s https://codecov.io/bash 19:57:33 + bash -s -- 19:57:33 19:57:33 _____ _ 19:57:33 / ____| | | 19:57:33 | | ___ __| | ___ ___ _____ __ 19:57:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:57:33 | |___| (_) | (_| | __/ (_| (_) \ V / 19:57:33 \_____\___/ \__,_|\___|\___\___/ \_/ 19:57:33 Bash-1.0.6 19:57:33 19:57:33 19:57:33 ==> git version 2.25.1 found 19:57:33 ==> 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:57:33 Release-Date: 2020-01-08 19:57:33 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:57:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:57:33 ==> Jenkins CI detected. 19:57:33 current dir:  /w/workspace/edgexfoundry_device-s7_PR-15 19:57:33 project root: . 19:57:33 --> token set from env 19:57:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:57:33 ==> Running gcov in . (disable via -X gcov) 19:57:33 ==> Python coveragepy not found 19:57:33 ==> Searching for coverage reports in: 19:57:33 + . 19:57:33 -> Found 1 reports 19:57:33 ==> Detecting git/mercurial file structure 19:57:33 ==> Reading reports 19:57:33 + ./coverage.out bytes=17164 19:57:33 ==> Appending adjustments 19:57:33 https://docs.codecov.io/docs/fixing-reports 19:57:33 + Found adjustments 19:57:33 ==> Gzipping contents 19:57:33 4.0K /tmp/codecov.BCYbrO.gz 19:57:33 ==> Uploading reports 19:57:33 url: https://codecov.io 19:57:33 query: branch=PR-15&commit=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-15%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=15&job=&cmd_args= 19:57:33 -> Pinging Codecov 19:57:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-15&commit=2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-15%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=15&job=&cmd_args= 19:57:34 -> Uploading to 19:57:34 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d/0bf49f26-bfa2-4a3f-9045-dc2471cc9425.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241104%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241104T195733Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=fdc5895ff1bbed9e13e606f6e37b8705ee8ab99a6a868c91afc6e956ddb664be 19:57:34 % Total % Received % Xferd Average Speed Time Time Time Current 19:57:34 Dload Upload Total Spent Left Speed 19:57:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 10447 --:--:-- --:--:-- --:--:-- 10447 19:57:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/2f0bf492cc5a36ce397e5469e8adf74d5c1dfc2d [Pipeline] } 19:57:34 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:57:36 + [ -d /w/workspace/edgexfoundry_device-s7_PR-15/archives ] 19:57:36 + ls -al /w/workspace/edgexfoundry_device-s7_PR-15/archives 19:57:36 total 16 19:57:36 drwxr-xr-x 3 root root 4096 Nov 4 19:41 . 19:57:36 drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 19:41 .. 19:57:36 drwxr-xr-x 2 root root 4096 Nov 4 19:41 cost 19:57:36 -rw-r--r-- 1 root root 80 Nov 4 19:41 cost.csv 19:57:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-15/archives 19:57:36 + ls -al /w/workspace/edgexfoundry_device-s7_PR-15/archives 19:57:36 total 16 19:57:36 drwxr-xr-x 3 jenkins jenkins 4096 Nov 4 19:41 . 19:57:36 drwxrwxr-x 9 jenkins jenkins 4096 Nov 4 19:41 .. 19:57:36 drwxr-xr-x 2 jenkins jenkins 4096 Nov 4 19:41 cost 19:57:36 -rw-r--r-- 1 jenkins jenkins 80 Nov 4 19:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:57:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:57:37 ---> package-listing.sh 19:57:37 ++ facter osfamily 19:57:37 ++ tr '[:upper:]' '[:lower:]' 19:57:38 + OS_FAMILY=debian 19:57:38 + workspace=/w/workspace/edgexfoundry_device-s7_PR-15 19:57:38 + START_PACKAGES=/tmp/packages_start.txt 19:57:38 + END_PACKAGES=/tmp/packages_end.txt 19:57:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:57:38 + PACKAGES=/tmp/packages_start.txt 19:57:38 + '[' /w/workspace/edgexfoundry_device-s7_PR-15 ']' 19:57:38 + PACKAGES=/tmp/packages_end.txt 19:57:38 + case "${OS_FAMILY}" in 19:57:38 + dpkg -l 19:57:38 + grep '^ii' 19:57:38 + '[' -f /tmp/packages_start.txt ']' 19:57:38 + '[' -f /tmp/packages_end.txt ']' 19:57:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:57:38 + '[' /w/workspace/edgexfoundry_device-s7_PR-15 ']' 19:57:38 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-15/archives/ 19:57:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-15/archives/ [Pipeline] echo 19:57:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-15/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:57:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:57:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:57:39 prd-ubuntu20.04-docker-8c-8g-24522 does not seem to be running inside a container 19:57:39 $ 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-15/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-15 -v /w/workspace/edgexfoundry_device-s7_PR-15:/w/workspace/edgexfoundry_device-s7_PR-15:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-15@tmp:/w/workspace/edgexfoundry_device-s7_PR-15@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:57:39 $ docker top 1f8e99c774d8538193f4e1a1c94bdb3cf615415133dbbcb812f18c78394ab382 -eo pid,comm [Pipeline] { [Pipeline] sh 19:57:40 + touch /tmp/pre-build-complete [Pipeline] sh 19:57:40 + mkdir -p /var/log/sysstat [Pipeline] sh 19:57:40 + ls /var/log/sa-host 19:57:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:40 provisioning config files... 19:57:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-15@tmp/config11246708349594390206tmp [Pipeline] { [Pipeline] echo 19:57:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:57:41 ---> create-netrc.sh [Pipeline] } 19:57:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:57:41 ---> python-tools-install.sh [Pipeline] echo 19:57:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:57:42 ---> sudo-logs.sh 19:57:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:57:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:57:42 ---> job-cost.sh 19:57:42 lf-activate-venv: SKIPPING 19:57:42 DEBUG: total: 0.2199999988079071 19:57:42 INFO: Retrieving Stack Cost... 19:57:42 INFO: Retrieving Pricing Info for: v3-standard-8 19:57:43 INFO: Archiving Costs [Pipeline] echo 19:57:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:57:43 ---> logs-deploy.sh 19:57:43 lf-activate-venv: SKIPPING 19:57:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-15/1 19:57:43 INFO: archiving workspace using pattern(s): 19:57:44 Archives upload complete. 19:57:44 INFO: archiving logs to Nexus