Pull request #18 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd5f6ec57a9e509068185a370e6b6e300fb21fc2+8abf73570ad6030a87cde2867b8b9b061b07feca (f18d8a213524dca950241084e13c7441090613ec) 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-ssh12010907200601504008.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-ssh1521925099386641849.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-18/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-18/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6079232828177499206.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-18/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13089900662556427679.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-ssh1401825595453891614.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-18/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-18/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14986253032303222047.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-26197 in /w/workspace/edgexfoundry_device-s7_PR-18 [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-18 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit fd5f6ec57a9e509068185a370e6b6e300fb21fc2 Merge succeeded, producing fd5f6ec57a9e509068185a370e6b6e300fb21fc2 Checking out Revision fd5f6ec57a9e509068185a370e6b6e300fb21fc2 (PR-18) Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/18/head:refs/remotes/origin/PR-18 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd5f6ec57a9e509068185a370e6b6e300fb21fc2 # 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 fd5f6ec57a9e509068185a370e6b6e300fb21fc2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:27:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:27:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:27:46 ========================================================= 19:27:46 EdgeX Global Pipelines Version Info 19:27:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:27:47 ------------------- 19:27:47 stable info: 19:27:47 ------------------- 19:27:47 Commited By: Ginny Guan ginny@iotechsys.com 19:27:47 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:27:47 Message: update stable to v1.0.265 19:27:47 ------------------- 19:27:47 experimental info: 19:27:47 ------------------- 19:27:47 Commited By: Cherry Wang cherry@iotechsys.com 19:27:47 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 19:27:47 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:27:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-18 [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-18 [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-18 [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd5f6ec [Pipeline] echo 19:27:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:27:50 provisioning config files... 19:27:50 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-18@tmp/config15036574667758185508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:27:50 ---> ****-login.sh 19:27:50 nexus3.edgexfoundry.org:10001 19:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:50 Configure a credential helper to remove this warning. See 19:27:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:50 19:27:50 Login Succeeded 19:27:50 nexus3.edgexfoundry.org:10002 19:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:51 Configure a credential helper to remove this warning. See 19:27:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:51 19:27:51 Login Succeeded 19:27:51 nexus3.edgexfoundry.org:10003 19:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:51 Configure a credential helper to remove this warning. See 19:27:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:51 19:27:51 Login Succeeded 19:27:51 nexus3.edgexfoundry.org:10004 19:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:51 Configure a credential helper to remove this warning. See 19:27:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:51 19:27:51 Login Succeeded 19:27:51 ****.io 19:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:51 Configure a credential helper to remove this warning. See 19:27:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:51 19:27:51 Login Succeeded 19:27:51 ---> ****-login.sh ends [Pipeline] } 19:27:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:27:52 + git rev-list -1 --merges fd5f6ec57a9e509068185a370e6b6e300fb21fc2~1..fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [Pipeline] echo 19:27:52 -----------> git rev-list -1 --merges fd5f6ec57a9e509068185a370e6b6e300fb21fc2~1..fd5f6ec57a9e509068185a370e6b6e300fb21fc2 fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [false] [Pipeline] sh 19:27:52 + git log --format=format:%s -1 fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [Pipeline] echo 19:27:52 ========================================================= 19:27:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:27:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:27:53 + git log --format=format:%s -1 fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [Pipeline] echo 19:27:53 [semverPrep] GIT_COMMIT: fd5f6ec57a9e509068185a370e6b6e300fb21fc2, Commit Message: Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 19:27:53 [semverPrep] This is not a build commit. [Pipeline] sh 19:27:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:27:53 + grep -v github /etc/ssh/ssh_known_hosts 19:27:53 + [ -e /tmp/ssh_known_hosts ] 19:27:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:27:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:27:53 + sudo tee -a /etc/ssh/ssh_known_hosts 19:27:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:27:54 19:27:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:27:54 0.1.4: Pulling from edgex-devops/py-git-semver 19:27:54 b85a868b505f: Pulling fs layer 19:27:54 e2be974225ed: Pulling fs layer 19:27:54 339a4e72a1f5: Pulling fs layer 19:27:54 988bab9f4d93: Pulling fs layer 19:27:54 1469e6f7b9e6: Pulling fs layer 19:27:54 eaf3925da568: Pulling fs layer 19:27:54 bab4dde63d76: Pulling fs layer 19:27:54 bde34c3a00c8: Pulling fs layer 19:27:54 b352a97aabf1: Pulling fs layer 19:27:54 4872d77fe225: Pulling fs layer 19:27:54 5851b861e8e6: Pulling fs layer 19:27:54 bab4dde63d76: Waiting 19:27:54 bde34c3a00c8: Waiting 19:27:54 b352a97aabf1: Waiting 19:27:54 4872d77fe225: Waiting 19:27:54 988bab9f4d93: Waiting 19:27:54 5851b861e8e6: Waiting 19:27:54 1469e6f7b9e6: Waiting 19:27:54 eaf3925da568: Waiting 19:27:54 e2be974225ed: Verifying Checksum 19:27:54 e2be974225ed: Download complete 19:27:54 988bab9f4d93: Download complete 19:27:54 1469e6f7b9e6: Verifying Checksum 19:27:54 1469e6f7b9e6: Download complete 19:27:54 eaf3925da568: Verifying Checksum 19:27:54 eaf3925da568: Download complete 19:27:54 339a4e72a1f5: Verifying Checksum 19:27:54 339a4e72a1f5: Download complete 19:27:54 bde34c3a00c8: Verifying Checksum 19:27:54 bde34c3a00c8: Download complete 19:27:54 b352a97aabf1: Verifying Checksum 19:27:54 b352a97aabf1: Download complete 19:27:54 4872d77fe225: Verifying Checksum 19:27:54 4872d77fe225: Download complete 19:27:54 5851b861e8e6: Download complete 19:27:54 b85a868b505f: Verifying Checksum 19:27:54 b85a868b505f: Download complete 19:27:54 bab4dde63d76: Verifying Checksum 19:27:54 bab4dde63d76: Download complete 19:27:55 b85a868b505f: Pull complete 19:27:56 e2be974225ed: Pull complete 19:27:56 339a4e72a1f5: Pull complete 19:27:56 988bab9f4d93: Pull complete 19:27:57 1469e6f7b9e6: Pull complete 19:27:57 eaf3925da568: Pull complete 19:27:59 bab4dde63d76: Pull complete 19:27:59 bde34c3a00c8: Pull complete 19:27:59 b352a97aabf1: Pull complete 19:27:59 4872d77fe225: Pull complete 19:27:59 5851b861e8e6: Pull complete 19:27:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:27:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:27:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:27:59 prd-ubuntu20.04-docker-8c-8g-26197 does not seem to be running inside a container 19:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-18 -v /w/workspace/edgexfoundry_device-s7_PR-18:/w/workspace/edgexfoundry_device-s7_PR-18:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-18@tmp:/w/workspace/edgexfoundry_device-s7_PR-18@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:28:03 $ docker top 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef -eo pid,comm 19:28:03 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:28:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:28:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:03 [ssh-agent] Looking for ssh-agent implementation... 19:28:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:03 $ docker exec 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef ssh-agent 19:28:03 SSH_AUTH_SOCK=/tmp/ssh-ch0KkPsGmEer/agent.33 19:28:03 SSH_AGENT_PID=39 19:28:03 Running ssh-add (command line suppressed) 19:28:03 Identity added: /w/workspace/edgexfoundry_device-s7_PR-18@tmp/private_key_720839325833930292.key (/w/workspace/edgexfoundry_device-s7_PR-18@tmp/private_key_720839325833930292.key) 19:28:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:04 + git tag --points-at HEAD [Pipeline] } 19:28:04 $ docker exec --env ******** --env ******** 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef ssh-agent -k 19:28:04 unset SSH_AUTH_SOCK; 19:28:04 unset SSH_AGENT_PID; 19:28:04 echo Agent pid 39 killed; 19:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:28:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:28:04 [ssh-agent] Looking for ssh-agent implementation... 19:28:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:28:04 $ docker exec 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef ssh-agent 19:28:04 SSH_AUTH_SOCK=/tmp/ssh-MdjJCtw4jRWA/agent.73 19:28:04 SSH_AGENT_PID=79 19:28:04 Running ssh-add (command line suppressed) 19:28:04 Identity added: /w/workspace/edgexfoundry_device-s7_PR-18@tmp/private_key_17553916783171271977.key (/w/workspace/edgexfoundry_device-s7_PR-18@tmp/private_key_17553916783171271977.key) 19:28:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:28:05 + git semver init 19:28:05 2024-11-11 19:28:05,243 [run_init] DEBUG init version:0.0.0 force:False 19:28:05 2024-11-11 19:28:05,244 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-18/.semver 19:28:05 2024-11-11 19:28:05,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-18/.semver 19:28:05 2024-11-11 19:28:05,245 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-18/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-18, universal_newlines=False, shell=None, istream=None) 19:28:05 2024-11-11 19:28:05,825 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-18/.git/info/exclude 19:28:05 2024-11-11 19:28:05,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-18/.semver/PR-18 with force:False 19:28:05 2024-11-11 19:28:05,826 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-18/.semver/PR-18 19:28:05 2024-11-11 19:28:05,831 [execute] INFO git cat-file --batch-check 19:28:05 2024-11-11 19:28:05,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-18/.semver, universal_newlines=False, shell=None, istream=) 19:28:05 2024-11-11 19:28:05,838 [execute] INFO git cat-file --batch 19:28:05 2024-11-11 19:28:05,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-18/.semver, universal_newlines=False, shell=None, istream=) 19:28:05 2024-11-11 19:28:05,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-18/.semver/PR-18 19:28:05 0.0.0 [Pipeline] } 19:28:06 $ docker exec --env ******** --env ******** 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef ssh-agent -k 19:28:06 unset SSH_AUTH_SOCK; 19:28:06 unset SSH_AGENT_PID; 19:28:06 echo Agent pid 79 killed; 19:28:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:28:06 + git semver [Pipeline] } 19:28:06 $ docker stop --time=1 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef 19:28:08 $ docker rm -f --volumes 3f20cf719510f3666df1003137faba7697a06ba306770e514948e402a693e8ef [Pipeline] // withDockerContainer [Pipeline] sh 19:28:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:28:08 Stashed 1 file(s) [Pipeline] echo 19:28:09 [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:28:09 provisioning config files... 19:28:09 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-18@tmp/config202129075487404749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:28:10 ---> ****-login.sh 19:28:10 nexus3.edgexfoundry.org:10001 19:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:28:10 Configure a credential helper to remove this warning. See 19:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:28:10 19:28:10 Login Succeeded 19:28:10 nexus3.edgexfoundry.org:10002 19:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:28:10 Configure a credential helper to remove this warning. See 19:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:28:10 19:28:10 Login Succeeded 19:28:10 nexus3.edgexfoundry.org:10003 19:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:28:10 Configure a credential helper to remove this warning. See 19:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:28:10 19:28:10 Login Succeeded 19:28:10 nexus3.edgexfoundry.org:10004 19:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:28:10 Configure a credential helper to remove this warning. See 19:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:28:10 19:28:10 Login Succeeded 19:28:10 ****.io 19:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:28:10 Configure a credential helper to remove this warning. See 19:28:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:28:10 19:28:10 Login Succeeded 19:28:10 ---> ****-login.sh ends [Pipeline] } 19:28:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:28:11 ========================================================= 19:28:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:28:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:11 + 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:28:11 Sending build context to Docker daemon 610.3kB 19:28:11 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:28:11 Step 2/10 : FROM ${BASE} AS builder 19:28:11 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:28:11 43c4264eed91: Pulling fs layer 19:28:11 4cc291be95ef: Pulling fs layer 19:28:11 2ac1f1163629: Pulling fs layer 19:28:11 5c3c966382ef: Pulling fs layer 19:28:11 4f4fb700ef54: Pulling fs layer 19:28:11 5d5c8e513c77: Pulling fs layer 19:28:11 9f66e0745190: Pulling fs layer 19:28:11 f49a43e4bbc0: Pulling fs layer 19:28:11 561ebcabdf7f: Pulling fs layer 19:28:11 5c3c966382ef: Waiting 19:28:11 4f4fb700ef54: Waiting 19:28:11 5d5c8e513c77: Waiting 19:28:11 9f66e0745190: Waiting 19:28:11 f49a43e4bbc0: Waiting 19:28:11 561ebcabdf7f: Waiting 19:28:11 4cc291be95ef: Verifying Checksum 19:28:11 4cc291be95ef: Download complete 19:28:11 5c3c966382ef: Download complete 19:28:11 4f4fb700ef54: Download complete 19:28:11 5d5c8e513c77: Download complete 19:28:11 43c4264eed91: Download complete 19:28:12 9f66e0745190: Verifying Checksum 19:28:12 9f66e0745190: Download complete 19:28:12 43c4264eed91: Pull complete 19:28:12 561ebcabdf7f: Verifying Checksum 19:28:12 561ebcabdf7f: Download complete 19:28:12 4cc291be95ef: Pull complete 19:28:12 2ac1f1163629: Verifying Checksum 19:28:12 2ac1f1163629: Download complete 19:28:12 f49a43e4bbc0: Verifying Checksum 19:28:12 f49a43e4bbc0: Download complete 19:28:16 2ac1f1163629: Pull complete 19:28:16 5c3c966382ef: Pull complete 19:28:16 4f4fb700ef54: Pull complete 19:28:16 5d5c8e513c77: Pull complete 19:28:16 9f66e0745190: Pull complete 19:28:18 f49a43e4bbc0: Pull complete 19:28:19 561ebcabdf7f: Pull complete 19:28:19 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 19:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:28:19 ---> 3a752c3f9dda 19:28:19 Step 3/10 : ARG MAKE=make build 19:28:24 Still waiting to schedule task 19:28:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-26198’ is offline 19:28:24 ---> Running in 4e9d553e47f6 19:28:24 Removing intermediate container 4e9d553e47f6 19:28:24 ---> d72ef3a31705 19:28:24 Step 4/10 : WORKDIR /device-s7 19:28:24 ---> Running in 651c4c8adf1b 19:28:24 Removing intermediate container 651c4c8adf1b 19:28:24 ---> d81ce11a25aa 19:28:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:28:24 ---> Running in dab13909aec1 19:28:24 Removing intermediate container dab13909aec1 19:28:24 ---> 2819942d7fa7 19:28:24 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:28:24 ---> Running in 35c19477f52e 19:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:28:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:28:25 OK: 246 MiB in 54 packages 19:28:25 Removing intermediate container 35c19477f52e 19:28:25 ---> 24cf127e6e97 19:28:25 Step 7/10 : COPY go.mod vendor* ./ 19:28:26 ---> 056e05d07972 19:28:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:28:26 ---> Running in f40d3be82504 19:29:22 Removing intermediate container f40d3be82504 19:29:22 ---> 5641b8f63e03 19:29:22 Step 9/10 : COPY . . 19:29:22 ---> 5f5052e2ee9c 19:29:22 Step 10/10 : RUN ${MAKE} 19:29:22 ---> Running in 407f039b973d 19:29:22 noop 19:29:22 Removing intermediate container 407f039b973d 19:29:22 ---> 1a155c556023 19:29:22 Successfully built 1a155c556023 19:29:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:23 + docker inspect -f . ci-base-image-x86_64 19:29:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:23 prd-ubuntu20.04-docker-8c-8g-26197 does not seem to be running inside a container 19:29:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-18 -v /w/workspace/edgexfoundry_device-s7_PR-18:/w/workspace/edgexfoundry_device-s7_PR-18:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-18@tmp:/w/workspace/edgexfoundry_device-s7_PR-18@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:29:23 $ docker top f0ab4413e74ed7361b6b6f394cff935dbcd1bc040bb00715cf65ac497b0efeee -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:24 + go version 19:29:24 go version go1.23.2 linux/amd64 [Pipeline] } 19:29:24 $ docker stop --time=1 f0ab4413e74ed7361b6b6f394cff935dbcd1bc040bb00715cf65ac497b0efeee 19:29:25 $ docker rm -f --volumes f0ab4413e74ed7361b6b6f394cff935dbcd1bc040bb00715cf65ac497b0efeee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:26 + docker inspect -f . ci-base-image-x86_64 19:29:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:26 prd-ubuntu20.04-docker-8c-8g-26197 does not seem to be running inside a container 19:29:26 $ 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-18 -v /w/workspace/edgexfoundry_device-s7_PR-18:/w/workspace/edgexfoundry_device-s7_PR-18:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-18@tmp:/w/workspace/edgexfoundry_device-s7_PR-18@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:29:26 $ docker top fe0cec87fdb1e0113c70407e6ffed44cc838c93d0fab22b8fcca23b7974a17ca -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-18 [Pipeline] fileExists [Pipeline] sh 19:29:27 + make test 19:29:27 go test -race -coverprofile=coverage.out ./... 19:29:35 ? github.com/edgexfoundry/device-s7 [no test files] 19:29:57 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:29:57 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:30:30 go vet ./... 19:30:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:30:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:30:36 ./bin/test-attribution-txt.sh [Pipeline] echo 19:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:30:36 $ docker stop --time=1 fe0cec87fdb1e0113c70407e6ffed44cc838c93d0fab22b8fcca23b7974a17ca 19:30:42 $ docker rm -f --volumes fe0cec87fdb1e0113c70407e6ffed44cc838c93d0fab22b8fcca23b7974a17ca [Pipeline] // withDockerContainer [Pipeline] sh 19:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:30:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:30:43 + ls -al . 19:30:43 total 216 19:30:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:29 . 19:30:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 19:27 .. 19:30:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:30 .git 19:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:27 .github 19:30:43 -rw-rw-r-- 1 jenkins jenkins 237 Nov 11 19:27 .gitignore 19:30:43 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 19:27 .golangci.yml 19:30:43 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 19:28 .semver 19:30:43 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 11 19:27 Attribution.txt 19:30:43 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 11 19:27 Dockerfile 19:30:43 -rw-rw-r-- 1 jenkins jenkins 643 Nov 11 19:27 Jenkinsfile 19:30:43 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 11 19:27 LICENSE 19:30:43 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 11 19:27 Makefile 19:30:43 -rw-rw-r-- 1 jenkins jenkins 614 Nov 11 19:27 OWNERS.md 19:30:43 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 11 19:27 README.md 19:30:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 19:28 VERSION 19:30:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:27 bin 19:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:27 cmd 19:30:43 -rw-r--r-- 1 jenkins jenkins 17164 Nov 11 19:29 coverage.out 19:30:43 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 11 19:27 go.mod 19:30:43 -rw-rw-r-- 1 jenkins jenkins 87560 Nov 11 19:27 go.sum 19:30:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:27 internal 19:30:43 -rw-rw-r-- 1 jenkins jenkins 223 Nov 11 19:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:44 + 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=fd5f6ec57a9e509068185a370e6b6e300fb21fc2 --label arch=amd64 --label version=0.0.0 . 19:30:44 Sending build context to Docker daemon 628.2kB 19:30:44 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:30:44 Step 2/24 : FROM ${BASE} AS builder 19:30:44 ---> 1a155c556023 19:30:44 Step 3/24 : ARG MAKE=make build 19:30:44 ---> Running in 4bab9748df1d 19:30:44 Removing intermediate container 4bab9748df1d 19:30:44 ---> b06ab2c65a5d 19:30:44 Step 4/24 : WORKDIR /device-s7 19:30:44 ---> Running in 99ea2292b48a 19:30:44 Removing intermediate container 99ea2292b48a 19:30:44 ---> 4859c7e7476f 19:30:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:30:44 ---> Running in dc69c45498de 19:30:44 Removing intermediate container dc69c45498de 19:30:44 ---> f9b8ad83e14d 19:30:44 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:30:44 ---> Running in 37f5fde29651 19:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:30:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:30:45 OK: 246 MiB in 54 packages 19:30:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26199 in /w/workspace/edgexfoundry_device-s7_PR-18 [Pipeline] { 19:30:45 Removing intermediate container 37f5fde29651 19:30:45 ---> 4fcb9ff29aa4 19:30:45 Step 7/24 : COPY go.mod vendor* ./ 19:30:45 ---> 034b8a5dff80 19:30:45 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:30:45 ---> Running in 36c946d940d3 [Pipeline] ws 19:30:45 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:30:46 Removing intermediate container 36c946d940d3 19:30:46 ---> 452b24f8200a 19:30:46 Step 9/24 : COPY . . 19:30:46 ---> a3c6403d240a 19:30:46 Step 10/24 : RUN ${MAKE} 19:30:46 ---> Running in b1cc5b87d8d6 19:30:47 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.6" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:30:49 Selected Git installation does not exist. Using Default 19:30:49 The recommended git tool is: NONE 19:30:54 using credential edgex-jenkins-ssh 19:30:54 Cloning the remote Git repository 19:30:54 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:30:54 > git init /w/workspace/device-s7/1 # timeout=10 19:30:54 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:30:54 > git --version # timeout=10 19:30:54 > git --version # 'git version 2.25.1' 19:30:54 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:55 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:30:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:30:56 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:30:56 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/18/head:refs/remotes/origin/PR-18 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:30:56 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit fd5f6ec57a9e509068185a370e6b6e300fb21fc2 19:30:56 Merge succeeded, producing fd5f6ec57a9e509068185a370e6b6e300fb21fc2 19:30:56 Checking out Revision fd5f6ec57a9e509068185a370e6b6e300fb21fc2 (PR-18) 19:30:57 Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v4" 19:30:57 > git --version # timeout=10 19:30:57 > git --version # 'git version 2.25.1' 19:30:57 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 19:30:56 > git config core.sparsecheckout # timeout=10 19:30:56 > git checkout -f fd5f6ec57a9e509068185a370e6b6e300fb21fc2 # timeout=10 19:30:56 > git remote # timeout=10 19:30:56 > git config --get remote.origin.url # timeout=10 19:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:30:56 > git merge 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 19:30:56 > git rev-parse HEAD^{commit} # timeout=10 19:30:56 > git config core.sparsecheckout # timeout=10 19:30:56 > git checkout -f fd5f6ec57a9e509068185a370e6b6e300fb21fc2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:31:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:31:02 % Total % Received % Xferd Average Speed Time Time Time Current 19:31:02 Dload Upload Total Spent Left Speed 19:31:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 75 12828 75 9637 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 19:31:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:31:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:31:03 + sudo tee /etc/docker/daemon.new 19:31:03 { 19:31:03 "registry-mirrors": [ 19:31:03 "https://nexus3.edgexfoundry.org:10001" 19:31:03 ], 19:31:03 "bip": "10.250.0.254/24", 19:31:03 "hosts": [ 19:31:03 "tcp://0.0.0.0:5555", 19:31:03 "unix:///var/run/docker.sock" 19:31:03 ], 19:31:03 "mtu": 1458, 19:31:03 "selinux-enabled": true, 19:31:03 "seccomp-profile": "/etc/docker/seccomp.json" 19:31:03 } [Pipeline] sh 19:31:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:31:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:31:24 provisioning config files... 19:31:24 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config9296814081387686200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:25 ---> ****-login.sh 19:31:25 nexus3.edgexfoundry.org:10001 19:31:25 Removing intermediate container b1cc5b87d8d6 19:31:25 ---> 85b7605628a5 19:31:25 Step 11/24 : FROM alpine:3.20 19:31:25 3.20: Pulling from library/alpine 19:31:25 43c4264eed91: Already exists 19:31:25 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:31:25 Status: Downloaded newer image for alpine:3.20 19:31:25 ---> 91ef0af61f39 19:31:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:31:25 ---> Running in d8e407e34720 19:31:25 Removing intermediate container d8e407e34720 19:31:25 ---> e642c3c1bbde 19:31:25 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:31:25 ---> Running in 945cbcdece67 19:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:31:25 (1/1) Installing dumb-init (1.2.5-r3) 19:31:25 Executing busybox-1.36.1-r29.trigger 19:31:25 OK: 8 MiB in 15 packages 19:31:25 Removing intermediate container 945cbcdece67 19:31:25 ---> dc4e81e08d92 19:31:25 Step 14/24 : RUN apk --no-cache upgrade 19:31:25 ---> Running in 30f7f837652f 19:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:31:25 Upgrading critical system libraries and apk-tools: 19:31:25 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:31:25 Executing busybox-1.36.1-r29.trigger 19:31:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:31:25 Configure a credential helper to remove this warning. See 19:31:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:31:25 19:31:25 Login Succeeded 19:31:25 nexus3.edgexfoundry.org:10002 19:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:31:26 Configure a credential helper to remove this warning. See 19:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:31:26 19:31:26 Login Succeeded 19:31:26 nexus3.edgexfoundry.org:10003 19:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:31:26 Configure a credential helper to remove this warning. See 19:31:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:31:26 19:31:26 Login Succeeded 19:31:26 nexus3.edgexfoundry.org:10004 19:31:26 Continuing the upgrade transaction with new apk-tools: 19:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:31:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:31:27 Configure a credential helper to remove this warning. See 19:31:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:31:27 19:31:27 Login Succeeded 19:31:27 ****.io 19:31:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:31:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:31:27 Configure a credential helper to remove this warning. See 19:31:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:31:27 19:31:27 Login Succeeded 19:31:27 ---> ****-login.sh ends [Pipeline] } 19:31:27 Deleting 1 temporary files 19:31:27 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 19:31:28 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:31:28 OK: 8 MiB in 15 packages [Pipeline] echo 19:31:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:31:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:31:28 ========================================================= 19:31:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 19:31:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:29 + 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:31:29 Sending build context to Docker daemon 405kB 19:31:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:31:29 Step 2/10 : FROM ${BASE} AS builder 19:31:29 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:31:29 cf04c63912e1: Pulling fs layer 19:31:29 55b35a11ae5e: Pulling fs layer 19:31:29 a37a00ec5f00: Pulling fs layer 19:31:29 50b3750afda1: Pulling fs layer 19:31:29 4f4fb700ef54: Pulling fs layer 19:31:29 80978eb59214: Pulling fs layer 19:31:29 c9f46d7d2bd2: Pulling fs layer 19:31:29 c5a475d317c9: Pulling fs layer 19:31:29 4f4fb700ef54: Waiting 19:31:29 80978eb59214: Waiting 19:31:29 c9f46d7d2bd2: Waiting 19:31:29 c5a475d317c9: Waiting 19:31:29 50b3750afda1: Waiting 19:31:29 55b35a11ae5e: Verifying Checksum 19:31:29 55b35a11ae5e: Download complete 19:31:29 50b3750afda1: Verifying Checksum 19:31:29 50b3750afda1: Download complete 19:31:29 4f4fb700ef54: Download complete 19:31:29 80978eb59214: Verifying Checksum 19:31:29 80978eb59214: Download complete 19:31:29 cf04c63912e1: Verifying Checksum 19:31:29 cf04c63912e1: Download complete 19:31:29 Removing intermediate container 30f7f837652f 19:31:29 ---> 389d1e734f6b 19:31:29 Step 15/24 : WORKDIR / 19:31:29 ---> Running in 0d6935f6dc6d 19:31:29 Removing intermediate container 0d6935f6dc6d 19:31:29 ---> 20ad416c9643 19:31:29 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:31:29 ---> 6b7176653be4 19:31:29 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:31:30 c5a475d317c9: Verifying Checksum 19:31:30 c5a475d317c9: Download complete 19:31:31 cf04c63912e1: Pull complete 19:31:31 55b35a11ae5e: Pull complete 19:31:32 ---> ff2db39789df 19:31:32 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:31:32 ---> fae7cea3a1eb 19:31:32 Step 19/24 : EXPOSE 59994 19:31:32 ---> Running in 1e5e09488d3c 19:31:32 Removing intermediate container 1e5e09488d3c 19:31:32 ---> 99f7a4755fe2 19:31:32 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:31:32 ---> Running in ec0afa66bb8c 19:31:32 Removing intermediate container ec0afa66bb8c 19:31:32 ---> af8183f1c1df 19:31:32 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:31:32 ---> Running in bce2b196f02f 19:31:32 Removing intermediate container bce2b196f02f 19:31:32 ---> 17847bd3d8ec 19:31:32 Step 22/24 : LABEL arch=amd64 19:31:32 ---> Running in 8662560bf7f4 19:31:32 Removing intermediate container 8662560bf7f4 19:31:32 ---> 647678dfea21 19:31:32 Step 23/24 : LABEL git_sha=fd5f6ec57a9e509068185a370e6b6e300fb21fc2 19:31:32 ---> Running in 9d3ee763b0a6 19:31:32 Removing intermediate container 9d3ee763b0a6 19:31:32 ---> 6e7fa7f1e50c 19:31:32 Step 24/24 : LABEL version=0.0.0 19:31:32 ---> Running in 68a18196f448 19:31:32 Removing intermediate container 68a18196f448 19:31:32 ---> e83695d0b21b 19:31:32 [Warning] One or more build-args [ARCH] were not consumed 19:31:32 Successfully built e83695d0b21b 19:31:32 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 19:31:34 a37a00ec5f00: Download complete [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:31:35 c9f46d7d2bd2: Verifying Checksum 19:31:35 c9f46d7d2bd2: Download complete 19:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:35 19:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:36 latest: Pulling from edgex-lftools-log-publisher 19:31:36 5eb5b503b376: Pulling fs layer 19:31:36 5c69ac0246d0: Pulling fs layer 19:31:36 ec43610c2a17: Pulling fs layer 19:31:36 3a2ae6a8a46f: Pulling fs layer 19:31:36 33b1e0a273af: Pulling fs layer 19:31:36 5d3b04190fa2: Pulling fs layer 19:31:36 2f39f015ded8: Pulling fs layer 19:31:36 33b1e0a273af: Waiting 19:31:36 5d3b04190fa2: Waiting 19:31:36 2f39f015ded8: Waiting 19:31:36 3a2ae6a8a46f: Waiting 19:31:36 5c69ac0246d0: Verifying Checksum 19:31:36 5c69ac0246d0: Download complete 19:31:36 3a2ae6a8a46f: Verifying Checksum 19:31:36 3a2ae6a8a46f: Download complete 19:31:36 33b1e0a273af: Verifying Checksum 19:31:36 33b1e0a273af: Download complete 19:31:36 5d3b04190fa2: Verifying Checksum 19:31:36 5d3b04190fa2: Download complete 19:31:36 ec43610c2a17: Verifying Checksum 19:31:36 ec43610c2a17: Download complete 19:31:36 5eb5b503b376: Download complete 19:31:37 2f39f015ded8: Download complete 19:31:38 5eb5b503b376: Pull complete 19:31:38 5c69ac0246d0: Pull complete 19:31:38 ec43610c2a17: Pull complete 19:31:38 3a2ae6a8a46f: Pull complete 19:31:38 33b1e0a273af: Pull complete 19:31:38 5d3b04190fa2: Pull complete 19:31:43 2f39f015ded8: Pull complete 19:31:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:43 prd-ubuntu20.04-docker-8c-8g-26197 does not seem to be running inside a container 19:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-18 -v /w/workspace/edgexfoundry_device-s7_PR-18:/w/workspace/edgexfoundry_device-s7_PR-18:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-18@tmp:/w/workspace/edgexfoundry_device-s7_PR-18@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:31:47 a37a00ec5f00: Pull complete 19:31:48 $ docker top 35929be0e3e68c8374b3bebbe73cc75e45c8b7f35a08bf8b66aac5281b902c42 -eo pid,comm 19:31:48 50b3750afda1: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:48 4f4fb700ef54: Pull complete 19:31:48 ---> job-cost.sh 19:31:48 lf-activate-venv: SKIPPING 19:31:48 INFO: No Stack... 19:31:48 80978eb59214: Pull complete 19:31:48 INFO: Retrieving Pricing Info for: v3-standard-8 19:31:49 INFO: Archiving Costs [Pipeline] sh 19:31:49 + cat /w/workspace/edgexfoundry_device-s7_PR-18/archives/cost.csv 19:31:49 + cut -d, -f6 [Pipeline] lock 19:31:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] 19:31:49 Resource [jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] did not exist. Created. 19:31:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:31:50 + echo total: 0.2199999988079071 [Pipeline] stash 19:31:50 Stashed 1 file(s) [Pipeline] } 19:31:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:31:50 $ docker stop --time=1 35929be0e3e68c8374b3bebbe73cc75e45c8b7f35a08bf8b66aac5281b902c42 19:31:51 $ docker rm -f --volumes 35929be0e3e68c8374b3bebbe73cc75e45c8b7f35a08bf8b66aac5281b902c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:31:55 c9f46d7d2bd2: Pull complete 19:31:57 c5a475d317c9: Pull complete 19:31:57 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 19:31:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 19:31:57 ---> be29e6b0f0d4 19:31:57 Step 3/10 : ARG MAKE=make build 19:31:58 ---> Running in b7e19e32893a 19:31:58 Removing intermediate container b7e19e32893a 19:31:58 ---> f5305ca3cdfe 19:31:58 Step 4/10 : WORKDIR /device-s7 19:31:58 ---> Running in 77b58e248737 19:31:58 Removing intermediate container 77b58e248737 19:31:58 ---> 502329c78b8a 19:31:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:31:59 ---> Running in 4f1ba297d811 19:31:59 Removing intermediate container 4f1ba297d811 19:31:59 ---> a6b613fa90b7 19:31:59 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:31:59 ---> Running in 589eab5514ac 19:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:32:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:32:02 OK: 238 MiB in 54 packages 19:32:02 Removing intermediate container 589eab5514ac 19:32:02 ---> dd6db5fd8006 19:32:02 Step 7/10 : COPY go.mod vendor* ./ 19:32:03 ---> 17dc73591274 19:32:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:03 ---> Running in c63823acb3a3 19:33:57 Removing intermediate container c63823acb3a3 19:33:57 ---> 609383103466 19:33:57 Step 9/10 : COPY . . 19:33:57 ---> 6c0c045825e1 19:33:57 Step 10/10 : RUN ${MAKE} 19:33:57 ---> Running in c7beecd35dcf 19:33:57 noop 19:33:57 Removing intermediate container c7beecd35dcf 19:33:57 ---> 7a23c9d86c9e 19:33:57 Successfully built 7a23c9d86c9e 19:33:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:58 + docker inspect -f . ci-base-image-arm64 19:33:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:33:58 prd-ubuntu20.04-docker-arm64-4c-16g-26199 does not seem to be running inside a container 19:33:58 $ 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:34:00 $ docker top 48d80173bf788f6fe3673e01e959cc8a9ed581e3ee05590427a1f074294ae23c -eo pid,comm [Pipeline] { [Pipeline] sh 19:34:02 + go version 19:34:02 go version go1.23.2 linux/arm64 [Pipeline] } 19:34:02 $ docker stop --time=1 48d80173bf788f6fe3673e01e959cc8a9ed581e3ee05590427a1f074294ae23c 19:34:03 $ docker rm -f --volumes 48d80173bf788f6fe3673e01e959cc8a9ed581e3ee05590427a1f074294ae23c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:04 + docker inspect -f . ci-base-image-arm64 19:34:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:05 prd-ubuntu20.04-docker-arm64-4c-16g-26199 does not seem to be running inside a container 19:34:06 $ 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:34:07 $ docker top e2bf7e34f90f233fa738c09641f3a2a47f87947bf7157146b3537e504dad349a -eo pid,comm [Pipeline] { [Pipeline] sh 19:34:08 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:34:09 + make test 19:34:09 go test -race -coverprofile=coverage.out ./... 19:34:57 ? github.com/edgexfoundry/device-s7 [no test files] 19:38:51 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:38:51 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 19:38:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:38:51 go vet ./... 19:42:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:42:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:42:13 ./bin/test-attribution-txt.sh [Pipeline] echo 19:42:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:42:13 $ docker stop --time=1 e2bf7e34f90f233fa738c09641f3a2a47f87947bf7157146b3537e504dad349a 19:42:15 $ docker rm -f --volumes e2bf7e34f90f233fa738c09641f3a2a47f87947bf7157146b3537e504dad349a [Pipeline] // withDockerContainer [Pipeline] sh 19:42:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:42:17 Warning: overwriting stash ‘coverage-report’ 19:42:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:42:18 + ls -al . 19:42:18 total 212 19:42:18 drwxrwxr-x 7 jenkins jenkins 4096 Nov 11 19:34 . 19:42:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 19:30 .. 19:42:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 19:31 .git 19:42:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:30 .github 19:42:18 -rw-rw-r-- 1 jenkins jenkins 237 Nov 11 19:30 .gitignore 19:42:18 -rw-rw-r-- 1 jenkins jenkins 42 Nov 11 19:30 .golangci.yml 19:42:18 -rw-rw-r-- 1 jenkins jenkins 19679 Nov 11 19:30 Attribution.txt 19:42:18 -rw-rw-r-- 1 jenkins jenkins 1579 Nov 11 19:30 Dockerfile 19:42:18 -rw-rw-r-- 1 jenkins jenkins 643 Nov 11 19:30 Jenkinsfile 19:42:18 -rw-rw-r-- 1 jenkins jenkins 10947 Nov 11 19:30 LICENSE 19:42:18 -rw-rw-r-- 1 jenkins jenkins 1903 Nov 11 19:30 Makefile 19:42:18 -rw-rw-r-- 1 jenkins jenkins 614 Nov 11 19:30 OWNERS.md 19:42:18 -rw-rw-r-- 1 jenkins jenkins 2393 Nov 11 19:30 README.md 19:42:18 -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 19:28 VERSION 19:42:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 19:30 bin 19:42:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:30 cmd 19:42:18 -rw-r--r-- 1 jenkins jenkins 17164 Nov 11 19:38 coverage.out 19:42:18 -rw-rw-r-- 1 jenkins jenkins 6220 Nov 11 19:30 go.mod 19:42:18 -rw-rw-r-- 1 jenkins jenkins 87560 Nov 11 19:30 go.sum 19:42:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 19:30 internal 19:42:18 -rw-rw-r-- 1 jenkins jenkins 223 Nov 11 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:19 + 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=fd5f6ec57a9e509068185a370e6b6e300fb21fc2 --label arch=arm64 --label version=0.0.0 . 19:42:19 Sending build context to Docker daemon 422.9kB 19:42:19 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:42:19 Step 2/24 : FROM ${BASE} AS builder 19:42:19 ---> 7a23c9d86c9e 19:42:19 Step 3/24 : ARG MAKE=make build 19:42:19 ---> Running in f6cd96318812 19:42:19 Removing intermediate container f6cd96318812 19:42:19 ---> e3e4097fddf0 19:42:19 Step 4/24 : WORKDIR /device-s7 19:42:20 ---> Running in a0fa0526f145 19:42:20 Removing intermediate container a0fa0526f145 19:42:20 ---> d07547baaa97 19:42:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:42:20 ---> Running in 2bdec970e559 19:42:20 Removing intermediate container 2bdec970e559 19:42:20 ---> bd3df5d8db7f 19:42:20 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:42:20 ---> Running in e211436f73ca 19:42:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:42:23 OK: 238 MiB in 54 packages 19:42:24 Removing intermediate container e211436f73ca 19:42:24 ---> cd72f0ae9efd 19:42:24 Step 7/24 : COPY go.mod vendor* ./ 19:42:24 ---> a4026a3e655b 19:42:24 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:42:24 ---> Running in 4b84e1fb9002 19:42:27 Removing intermediate container 4b84e1fb9002 19:42:27 ---> 4e19366702dc 19:42:27 Step 9/24 : COPY . . 19:42:27 ---> c537bd01a97b 19:42:27 Step 10/24 : RUN ${MAKE} 19:42:27 ---> Running in 28ddb13c3f77 19:42:28 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.6" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:45:50 Removing intermediate container 28ddb13c3f77 19:45:50 ---> 2605a4e4ea4b 19:45:50 Step 11/24 : FROM alpine:3.20 19:45:50 3.20: Pulling from library/alpine 19:45:50 cf04c63912e1: Already exists 19:45:50 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 19:45:50 Status: Downloaded newer image for alpine:3.20 19:45:50 ---> c157a85ed455 19:45:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:45:50 ---> Running in f1a85a837e59 19:45:50 Removing intermediate container f1a85a837e59 19:45:50 ---> a5c168f866fd 19:45:50 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:45:50 ---> Running in 16f362f60bbf 19:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:45:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:45:50 (1/1) Installing dumb-init (1.2.5-r3) 19:45:50 Executing busybox-1.36.1-r29.trigger 19:45:50 OK: 9 MiB in 15 packages 19:45:51 Removing intermediate container 16f362f60bbf 19:45:51 ---> 3474a1b92ec4 19:45:51 Step 14/24 : RUN apk --no-cache upgrade 19:45:51 ---> Running in 3ed232910557 19:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:45:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:45:53 Upgrading critical system libraries and apk-tools: 19:45:53 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 19:45:53 Executing busybox-1.36.1-r29.trigger 19:45:54 Continuing the upgrade transaction with new apk-tools: 19:45:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 19:45:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 19:45:55 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 19:45:55 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 19:45:55 OK: 9 MiB in 15 packages 19:45:56 Removing intermediate container 3ed232910557 19:45:56 ---> f74380471851 19:45:56 Step 15/24 : WORKDIR / 19:45:56 ---> Running in 5d8215bce86a 19:45:56 Removing intermediate container 5d8215bce86a 19:45:56 ---> 0f3438e2f04c 19:45:56 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:45:57 ---> f055d4be27c4 19:45:57 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:45:59 ---> 456e6c13bf0e 19:45:59 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:46:00 ---> 43b50588dcc8 19:46:00 Step 19/24 : EXPOSE 59994 19:46:00 ---> Running in f9ac0d777156 19:46:00 Removing intermediate container f9ac0d777156 19:46:00 ---> cd674a531406 19:46:00 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:46:00 ---> Running in 33ebdab4eb00 19:46:00 Removing intermediate container 33ebdab4eb00 19:46:00 ---> 1bf46978bfb3 19:46:00 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:46:00 ---> Running in 7dfee9d61389 19:46:00 Removing intermediate container 7dfee9d61389 19:46:00 ---> 3ca7bbc873ac 19:46:00 Step 22/24 : LABEL arch=arm64 19:46:01 ---> Running in eab90452844f 19:46:01 Removing intermediate container eab90452844f 19:46:01 ---> d8957fe34795 19:46:01 Step 23/24 : LABEL git_sha=fd5f6ec57a9e509068185a370e6b6e300fb21fc2 19:46:01 ---> Running in 061719b18937 19:46:01 Removing intermediate container 061719b18937 19:46:01 ---> 5dcaddb84ef6 19:46:01 Step 24/24 : LABEL version=0.0.0 19:46:01 ---> Running in 2f6d39f4710a 19:46:01 Removing intermediate container 2f6d39f4710a 19:46:01 ---> bc2eadf37312 19:46:01 [Warning] One or more build-args [ARCH] were not consumed 19:46:01 Successfully built bc2eadf37312 19:46:01 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:46:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:02 19:46:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:03 arm64: Pulling from edgex-lftools-log-publisher 19:46:03 8998bd30e6a1: Pulling fs layer 19:46:03 04944245beec: Pulling fs layer 19:46:03 699f458cf7ca: Pulling fs layer 19:46:03 765212b225bb: Pulling fs layer 19:46:03 f23df028b6ca: Pulling fs layer 19:46:03 d65c8cfc05b1: Pulling fs layer 19:46:03 2437ff75d9bd: Pulling fs layer 19:46:03 765212b225bb: Waiting 19:46:03 f23df028b6ca: Waiting 19:46:03 2437ff75d9bd: Waiting 19:46:03 04944245beec: Verifying Checksum 19:46:03 04944245beec: Download complete 19:46:03 765212b225bb: Verifying Checksum 19:46:03 765212b225bb: Download complete 19:46:03 f23df028b6ca: Verifying Checksum 19:46:03 f23df028b6ca: Download complete 19:46:03 d65c8cfc05b1: Download complete 19:46:03 699f458cf7ca: Verifying Checksum 19:46:03 699f458cf7ca: Download complete 19:46:04 8998bd30e6a1: Verifying Checksum 19:46:04 8998bd30e6a1: Download complete 19:46:06 2437ff75d9bd: Verifying Checksum 19:46:06 2437ff75d9bd: Download complete 19:46:08 8998bd30e6a1: Pull complete 19:46:08 04944245beec: Pull complete 19:46:10 699f458cf7ca: Pull complete 19:46:10 765212b225bb: Pull complete 19:46:11 f23df028b6ca: Pull complete 19:46:11 d65c8cfc05b1: Pull complete 19:46:26 2437ff75d9bd: Pull complete 19:46:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:26 prd-ubuntu20.04-docker-arm64-4c-16g-26199 does not seem to be running inside a container 19:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:46:29 $ docker top b2f0f44c1b1d9be9554b5aa17d207af98bc463eba37239e307282e5c4b07f61b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:29 ---> job-cost.sh 19:46:30 lf-activate-venv: SKIPPING 19:46:30 INFO: No Stack... 19:46:30 INFO: Retrieving Pricing Info for: v3-standard-4 19:46:31 INFO: Archiving Costs [Pipeline] sh 19:46:31 + cat /w/workspace/device-s7/1/archives/cost.csv+ cut -d, -f6 19:46:31 [Pipeline] lock 19:46:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] 19:46:31 Resource [jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] did not exist. Created. 19:46:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:46:32 /w/workspace/device-s7/1@tmp/durable-8a9d407a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:46:32 + echo total: 0.10999999940395355 [Pipeline] stash 19:46:32 Warning: overwriting stash ‘stack-cost’ 19:46:32 Stashed 1 file(s) [Pipeline] } 19:46:32 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-18-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:46:33 $ docker stop --time=1 b2f0f44c1b1d9be9554b5aa17d207af98bc463eba37239e307282e5c4b07f61b 19:46:34 $ docker rm -f --volumes b2f0f44c1b1d9be9554b5aa17d207af98bc463eba37239e307282e5c4b07f61b [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:46:35 provisioning config files... 19:46:35 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-18@tmp/config17586155580624968503tmp [Pipeline] { [Pipeline] sh 19:46:36 + set +x 19:46:36 + bash -s -- 19:46:36 + curl -s https://codecov.io/bash 19:46:36 19:46:36 _____ _ 19:46:36 / ____| | | 19:46:36 | | ___ __| | ___ ___ _____ __ 19:46:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:46:36 | |___| (_) | (_| | __/ (_| (_) \ V / 19:46:36 \_____\___/ \__,_|\___|\___\___/ \_/ 19:46:36 Bash-1.0.6 19:46:36 19:46:36 19:46:36 ==> git version 2.25.1 found 19:46:36 ==> 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:46:36 Release-Date: 2020-01-08 19:46:36 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:46:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:46:36 ==> Jenkins CI detected. 19:46:36 current dir:  /w/workspace/edgexfoundry_device-s7_PR-18 19:46:36 project root: . 19:46:36 --> token set from env 19:46:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:46:36 ==> Running gcov in . (disable via -X gcov) 19:46:36 ==> Python coveragepy not found 19:46:36 ==> Searching for coverage reports in: 19:46:36 + . 19:46:36 -> Found 1 reports 19:46:36 ==> Detecting git/mercurial file structure 19:46:36 ==> Reading reports 19:46:36 + ./coverage.out bytes=17164 19:46:36 ==> Appending adjustments 19:46:36 https://docs.codecov.io/docs/fixing-reports 19:46:36 + Found adjustments 19:46:36 ==> Gzipping contents 19:46:36 4.0K /tmp/codecov.KT9D9l.gz 19:46:36 ==> Uploading reports 19:46:36 url: https://codecov.io 19:46:36 query: branch=PR-18&commit=fd5f6ec57a9e509068185a370e6b6e300fb21fc2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-18%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=18&job=&cmd_args= 19:46:36 -> Pinging Codecov 19:46:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-18&commit=fd5f6ec57a9e509068185a370e6b6e300fb21fc2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-18%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=18&job=&cmd_args= 19:46:36 -> Uploading to 19:46:36 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/fd5f6ec57a9e509068185a370e6b6e300fb21fc2/e3704f35-ed38-4e6d-9722-8fd76cf48aa7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T194636Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=15f6c43eba4ebe8f49b637b8f2d7fc6f13e7c23cd40b823ba7c0c662ac58327a 19:46:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:46:36 Dload Upload Total Spent Left Speed 19:46:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 11618 --:--:-- --:--:-- --:--:-- 11618 19:46:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/fd5f6ec57a9e509068185a370e6b6e300fb21fc2 [Pipeline] } 19:46:36 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:46:38 + [ -d /w/workspace/edgexfoundry_device-s7_PR-18/archives ] 19:46:38 + ls -al /w/workspace/edgexfoundry_device-s7_PR-18/archives 19:46:38 total 16 19:46:38 drwxr-xr-x 3 root root 4096 Nov 11 19:31 . 19:46:38 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 19:31 .. 19:46:38 drwxr-xr-x 2 root root 4096 Nov 11 19:31 cost 19:46:38 -rw-r--r-- 1 root root 80 Nov 11 19:31 cost.csv 19:46:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-18/archives 19:46:38 + ls -al /w/workspace/edgexfoundry_device-s7_PR-18/archives 19:46:38 total 16 19:46:38 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 19:31 . 19:46:38 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 19:31 .. 19:46:38 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 19:31 cost 19:46:38 -rw-r--r-- 1 jenkins jenkins 80 Nov 11 19:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:46:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:46:39 ---> package-listing.sh 19:46:39 ++ facter osfamily 19:46:39 ++ tr '[:upper:]' '[:lower:]' 19:46:40 + OS_FAMILY=debian 19:46:40 + workspace=/w/workspace/edgexfoundry_device-s7_PR-18 19:46:40 + START_PACKAGES=/tmp/packages_start.txt 19:46:40 + END_PACKAGES=/tmp/packages_end.txt 19:46:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:46:40 + PACKAGES=/tmp/packages_start.txt 19:46:40 + '[' /w/workspace/edgexfoundry_device-s7_PR-18 ']' 19:46:40 + PACKAGES=/tmp/packages_end.txt 19:46:40 + case "${OS_FAMILY}" in 19:46:40 + dpkg -l 19:46:40 + grep '^ii' 19:46:40 + '[' -f /tmp/packages_start.txt ']' 19:46:40 + '[' -f /tmp/packages_end.txt ']' 19:46:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:46:40 + '[' /w/workspace/edgexfoundry_device-s7_PR-18 ']' 19:46:40 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-18/archives/ 19:46:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-18/archives/ [Pipeline] echo 19:46:40 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-18/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:46:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:41 prd-ubuntu20.04-docker-8c-8g-26197 does not seem to be running inside a container 19:46:41 $ 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-18/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-18 -v /w/workspace/edgexfoundry_device-s7_PR-18:/w/workspace/edgexfoundry_device-s7_PR-18:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-18@tmp:/w/workspace/edgexfoundry_device-s7_PR-18@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:46:41 $ docker top 81ee80da96738991268a4ff39fd60af0b7786eae13c33d25adac8cb03c665e4b -eo pid,comm [Pipeline] { [Pipeline] sh 19:46:41 + touch /tmp/pre-build-complete [Pipeline] sh 19:46:42 + mkdir -p /var/log/sysstat [Pipeline] sh 19:46:42 + ls /var/log/sa-host 19:46:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:42 provisioning config files... 19:46:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-18@tmp/config16392427725367075308tmp [Pipeline] { [Pipeline] echo 19:46:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:46:43 ---> create-netrc.sh [Pipeline] } 19:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:46:43 ---> python-tools-install.sh [Pipeline] echo 19:46:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:46:44 ---> sudo-logs.sh 19:46:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:46:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:46:44 ---> job-cost.sh 19:46:44 lf-activate-venv: SKIPPING 19:46:44 DEBUG: total: 0.2199999988079071 19:46:44 INFO: Retrieving Stack Cost... 19:46:44 INFO: Retrieving Pricing Info for: v3-standard-8 19:46:45 INFO: Archiving Costs [Pipeline] echo 19:46:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:46:45 ---> logs-deploy.sh 19:46:45 lf-activate-venv: SKIPPING 19:46:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-18/1 19:46:45 INFO: archiving workspace using pattern(s): 19:46:46 Archives upload complete. 19:46:46 INFO: archiving logs to Nexus