Pull request #12 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-s7 Obtained Jenkinsfile from f7f97db7578a3a57d460f2ed62b0c2f6f5792442+27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 (2edbd9ff78eb99c4384aeb2f95376ed58776baa8) 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-ssh14497236620846677579.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-ssh6617896938969853441.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-12/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-12/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13802406455023961878.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-12/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14095276321572750137.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-ssh14245304014451440124.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-12/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-12/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7540085348277164341.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15596’ Running on prd-ubuntu20.04-docker-8c-8g-15599 in /w/workspace/edgexfoundry_device-s7_PR-12 [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-12 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 into PR head commit f7f97db7578a3a57d460f2ed62b0c2f6f5792442 Merge succeeded, producing f7f97db7578a3a57d460f2ed62b0c2f6f5792442 Checking out Revision f7f97db7578a3a57d460f2ed62b0c2f6f5792442 (PR-12) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/12/head:refs/remotes/origin/PR-12 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7f97db7578a3a57d460f2ed62b0c2f6f5792442 # 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 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7f97db7578a3a57d460f2ed62b0c2f6f5792442 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:45:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:53 ========================================================= 05:45:53 EdgeX Global Pipelines Version Info 05:45:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:54 ------------------- 05:45:54 stable info: 05:45:54 ------------------- 05:45:54 Commited By: Ginny Guan ginny@iotechsys.com 05:45:54 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:45:54 Message: update stable to v1.0.265 05:45:55 ------------------- 05:45:55 experimental info: 05:45:55 ------------------- 05:45:55 Commited By: Cherry Wang cherry@iotechsys.com 05:45:55 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:45:55 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:45:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:45:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-12 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-12 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-12 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7f97db [Pipeline] echo 05:45:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:57 provisioning config files... 05:45:57 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-12@tmp/config15658283273117691347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:57 ---> ****-login.sh 05:45:57 nexus3.edgexfoundry.org:10001 05:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10002 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10003 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 nexus3.edgexfoundry.org:10004 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:58 Configure a credential helper to remove this warning. See 05:45:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:58 05:45:58 Login Succeeded 05:45:58 ****.io 05:45:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:45:59 Configure a credential helper to remove this warning. See 05:45:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:45:59 05:45:59 Login Succeeded 05:45:59 ---> ****-login.sh ends [Pipeline] } 05:45:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:45:59 + git rev-list -1 --merges f7f97db7578a3a57d460f2ed62b0c2f6f5792442~1..f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [Pipeline] echo 05:45:59 -----------> git rev-list -1 --merges f7f97db7578a3a57d460f2ed62b0c2f6f5792442~1..f7f97db7578a3a57d460f2ed62b0c2f6f5792442 f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [false] [Pipeline] sh 05:46:00 + git log --format=format:%s -1 f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [Pipeline] echo 05:46:00 ========================================================= 05:46:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:46:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:46:00 + git log --format=format:%s -1 f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [Pipeline] echo 05:46:00 [semverPrep] GIT_COMMIT: f7f97db7578a3a57d460f2ed62b0c2f6f5792442, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo 05:46:00 [semverPrep] This is not a build commit. [Pipeline] sh 05:46:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:01 + grep -v github /etc/ssh/ssh_known_hosts 05:46:01 + [ -e /tmp/ssh_known_hosts ] 05:46:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:46:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:46:01 + sudo tee -a /etc/ssh/ssh_known_hosts 05:46:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:01 05:46:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:02 0.1.4: Pulling from edgex-devops/py-git-semver 05:46:02 b85a868b505f: Pulling fs layer 05:46:02 e2be974225ed: Pulling fs layer 05:46:02 339a4e72a1f5: Pulling fs layer 05:46:02 988bab9f4d93: Pulling fs layer 05:46:02 1469e6f7b9e6: Pulling fs layer 05:46:02 eaf3925da568: Pulling fs layer 05:46:02 bab4dde63d76: Pulling fs layer 05:46:02 bde34c3a00c8: Pulling fs layer 05:46:02 b352a97aabf1: Pulling fs layer 05:46:02 4872d77fe225: Pulling fs layer 05:46:02 5851b861e8e6: Pulling fs layer 05:46:02 1469e6f7b9e6: Waiting 05:46:02 eaf3925da568: Waiting 05:46:02 bab4dde63d76: Waiting 05:46:02 988bab9f4d93: Waiting 05:46:02 bde34c3a00c8: Waiting 05:46:02 5851b861e8e6: Waiting 05:46:02 b352a97aabf1: Waiting 05:46:02 4872d77fe225: Waiting 05:46:02 e2be974225ed: Verifying Checksum 05:46:02 e2be974225ed: Download complete 05:46:02 988bab9f4d93: Verifying Checksum 05:46:02 988bab9f4d93: Download complete 05:46:02 1469e6f7b9e6: Verifying Checksum 05:46:02 1469e6f7b9e6: Download complete 05:46:02 339a4e72a1f5: Verifying Checksum 05:46:02 339a4e72a1f5: Download complete 05:46:02 eaf3925da568: Download complete 05:46:02 bde34c3a00c8: Verifying Checksum 05:46:02 bde34c3a00c8: Download complete 05:46:02 b352a97aabf1: Download complete 05:46:02 4872d77fe225: Verifying Checksum 05:46:02 4872d77fe225: Download complete 05:46:02 5851b861e8e6: Verifying Checksum 05:46:02 5851b861e8e6: Download complete 05:46:02 b85a868b505f: Verifying Checksum 05:46:02 b85a868b505f: Download complete 05:46:02 bab4dde63d76: Verifying Checksum 05:46:02 bab4dde63d76: Download complete 05:46:03 b85a868b505f: Pull complete 05:46:03 e2be974225ed: Pull complete 05:46:04 339a4e72a1f5: Pull complete 05:46:04 988bab9f4d93: Pull complete 05:46:04 1469e6f7b9e6: Pull complete 05:46:04 eaf3925da568: Pull complete 05:46:06 bab4dde63d76: Pull complete 05:46:06 bde34c3a00c8: Pull complete 05:46:06 b352a97aabf1: Pull complete 05:46:06 4872d77fe225: Pull complete 05:46:06 5851b861e8e6: Pull complete 05:46:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:46:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:06 prd-ubuntu20.04-docker-8c-8g-15599 does not seem to be running inside a container 05:46:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-12 -v /w/workspace/edgexfoundry_device-s7_PR-12:/w/workspace/edgexfoundry_device-s7_PR-12:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-12@tmp:/w/workspace/edgexfoundry_device-s7_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:09 $ docker top 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 -eo pid,comm 05:46:09 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). 05:46:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:10 [ssh-agent] Looking for ssh-agent implementation... 05:46:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:10 $ docker exec 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 ssh-agent 05:46:10 SSH_AUTH_SOCK=/tmp/ssh-e7zA3wLMjOik/agent.32 05:46:10 SSH_AGENT_PID=38 05:46:10 Running ssh-add (command line suppressed) 05:46:10 Identity added: /w/workspace/edgexfoundry_device-s7_PR-12@tmp/private_key_1248137651141608915.key (/w/workspace/edgexfoundry_device-s7_PR-12@tmp/private_key_1248137651141608915.key) 05:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:10 + git tag --points-at HEAD [Pipeline] } 05:46:10 $ docker exec --env ******** --env ******** 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 ssh-agent -k 05:46:10 unset SSH_AUTH_SOCK; 05:46:10 unset SSH_AGENT_PID; 05:46:10 echo Agent pid 38 killed; 05:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:11 [ssh-agent] Looking for ssh-agent implementation... 05:46:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:11 $ docker exec 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 ssh-agent 05:46:11 SSH_AUTH_SOCK=/tmp/ssh-u3dRtABaKs5z/agent.71 05:46:11 SSH_AGENT_PID=77 05:46:11 Running ssh-add (command line suppressed) 05:46:11 Identity added: /w/workspace/edgexfoundry_device-s7_PR-12@tmp/private_key_2431882624260947345.key (/w/workspace/edgexfoundry_device-s7_PR-12@tmp/private_key_2431882624260947345.key) 05:46:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:11 + git semver init 05:46:12 2024-10-04 05:46:11,939 [run_init] DEBUG init version:0.0.0 force:False 05:46:12 2024-10-04 05:46:11,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-12/.semver 05:46:12 2024-10-04 05:46:11,940 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-12/.semver 05:46:12 2024-10-04 05:46:11,940 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-12/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-12, universal_newlines=False, shell=None, istream=None) 05:46:12 2024-10-04 05:46:12,502 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-12/.git/info/exclude 05:46:12 2024-10-04 05:46:12,503 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-12/.semver/PR-12 with force:False 05:46:12 2024-10-04 05:46:12,503 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-12/.semver/PR-12 05:46:12 2024-10-04 05:46:12,507 [execute] INFO git cat-file --batch-check 05:46:12 2024-10-04 05:46:12,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-12/.semver, universal_newlines=False, shell=None, istream=) 05:46:12 2024-10-04 05:46:12,513 [execute] INFO git cat-file --batch 05:46:12 2024-10-04 05:46:12,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-12/.semver, universal_newlines=False, shell=None, istream=) 05:46:12 2024-10-04 05:46:12,518 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-12/.semver/PR-12 05:46:12 0.0.0 [Pipeline] } 05:46:12 $ docker exec --env ******** --env ******** 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 ssh-agent -k 05:46:12 unset SSH_AUTH_SOCK; 05:46:12 unset SSH_AGENT_PID; 05:46:12 echo Agent pid 77 killed; 05:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:13 + git semver [Pipeline] } 05:46:13 $ docker stop --time=1 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 05:46:14 $ docker rm -f --volumes 602118e7a25231fbad2f1d6bceb02018f27c5d576650999ab6cfe3a7284a4901 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:15 Stashed 1 file(s) [Pipeline] echo 05:46:15 [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 05:46:16 provisioning config files... 05:46:16 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-12@tmp/config90580792647286282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:16 ---> ****-login.sh 05:46:16 nexus3.edgexfoundry.org:10001 05:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:16 Configure a credential helper to remove this warning. See 05:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:16 05:46:16 Login Succeeded 05:46:16 nexus3.edgexfoundry.org:10002 05:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:16 Configure a credential helper to remove this warning. See 05:46:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:16 05:46:16 Login Succeeded 05:46:16 nexus3.edgexfoundry.org:10003 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 nexus3.edgexfoundry.org:10004 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 ****.io 05:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:46:17 Configure a credential helper to remove this warning. See 05:46:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:46:17 05:46:17 Login Succeeded 05:46:17 ---> ****-login.sh ends [Pipeline] } 05:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:46:17 ========================================================= 05:46:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:46:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:18 + 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 . 05:46:18 Sending build context to Docker daemon 450.6kB 05:46:18 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:46:18 Step 2/10 : FROM ${BASE} AS builder 05:46:18 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:46:18 43c4264eed91: Pulling fs layer 05:46:18 4cc291be95ef: Pulling fs layer 05:46:18 2ac1f1163629: Pulling fs layer 05:46:18 5c3c966382ef: Pulling fs layer 05:46:18 4f4fb700ef54: Pulling fs layer 05:46:18 5d5c8e513c77: Pulling fs layer 05:46:18 9f66e0745190: Pulling fs layer 05:46:18 f49a43e4bbc0: Pulling fs layer 05:46:18 561ebcabdf7f: Pulling fs layer 05:46:18 5d5c8e513c77: Waiting 05:46:18 9f66e0745190: Waiting 05:46:18 f49a43e4bbc0: Waiting 05:46:18 561ebcabdf7f: Waiting 05:46:18 5c3c966382ef: Waiting 05:46:18 4f4fb700ef54: Waiting 05:46:18 4cc291be95ef: Verifying Checksum 05:46:18 4cc291be95ef: Download complete 05:46:18 5c3c966382ef: Download complete 05:46:18 4f4fb700ef54: Verifying Checksum 05:46:18 4f4fb700ef54: Download complete 05:46:18 5d5c8e513c77: Verifying Checksum 05:46:18 5d5c8e513c77: Download complete 05:46:18 43c4264eed91: Verifying Checksum 05:46:18 43c4264eed91: Download complete 05:46:18 9f66e0745190: Verifying Checksum 05:46:18 9f66e0745190: Download complete 05:46:18 43c4264eed91: Pull complete 05:46:18 561ebcabdf7f: Verifying Checksum 05:46:18 561ebcabdf7f: Download complete 05:46:18 4cc291be95ef: Pull complete 05:46:18 2ac1f1163629: Verifying Checksum 05:46:18 2ac1f1163629: Download complete 05:46:19 f49a43e4bbc0: Download complete 05:46:22 2ac1f1163629: Pull complete 05:46:22 5c3c966382ef: Pull complete 05:46:22 4f4fb700ef54: Pull complete 05:46:22 5d5c8e513c77: Pull complete 05:46:22 9f66e0745190: Pull complete 05:46:24 f49a43e4bbc0: Pull complete 05:46:24 561ebcabdf7f: Pull complete 05:46:24 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:46:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:46:24 ---> 3a752c3f9dda 05:46:24 Step 3/10 : ARG MAKE=make build 05:46:29 ---> Running in 006b52eb5071 05:46:29 Removing intermediate container 006b52eb5071 05:46:29 ---> 55b882223b52 05:46:29 Step 4/10 : WORKDIR /device-s7 05:46:29 ---> Running in 3843e98a8785 05:46:29 Removing intermediate container 3843e98a8785 05:46:29 ---> 0aaca137ef1f 05:46:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 05:46:29 ---> Running in 60793ca18b46 05:46:29 Removing intermediate container 60793ca18b46 05:46:29 ---> 4ffda107b30e 05:46:29 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 05:46:29 ---> Running in a8116a953ad2 05:46:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:46:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:46:30 OK: 246 MiB in 54 packages 05:46:31 Still waiting to schedule task 05:46:31 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15598’ 05:46:31 Removing intermediate container a8116a953ad2 05:46:31 ---> 568b16fee958 05:46:31 Step 7/10 : COPY go.mod vendor* ./ 05:46:31 ---> b9575de802b6 05:46:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:46:31 ---> Running in 672b895aa9fa 05:46:57 Removing intermediate container 672b895aa9fa 05:46:57 ---> b84c05b6c39c 05:46:57 Step 9/10 : COPY . . 05:46:58 ---> ef508522ee81 05:46:58 Step 10/10 : RUN ${MAKE} 05:46:58 ---> Running in 498b7f044f7c 05:46:58 noop 05:46:58 Removing intermediate container 498b7f044f7c 05:46:58 ---> e49db57654bf 05:46:58 Successfully built e49db57654bf 05:46:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:59 + docker inspect -f . ci-base-image-x86_64 05:46:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:59 prd-ubuntu20.04-docker-8c-8g-15599 does not seem to be running inside a container 05:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-12 -v /w/workspace/edgexfoundry_device-s7_PR-12:/w/workspace/edgexfoundry_device-s7_PR-12:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-12@tmp:/w/workspace/edgexfoundry_device-s7_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:46:59 $ docker top e4a2f1f6cc4075ac26b97914a944c7cbfe2ef38a137202295aa6b1b9205fb1e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:00 + go version 05:47:00 go version go1.23.2 linux/amd64 [Pipeline] } 05:47:00 $ docker stop --time=1 e4a2f1f6cc4075ac26b97914a944c7cbfe2ef38a137202295aa6b1b9205fb1e5 05:47:01 $ docker rm -f --volumes e4a2f1f6cc4075ac26b97914a944c7cbfe2ef38a137202295aa6b1b9205fb1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:02 + docker inspect -f . ci-base-image-x86_64 05:47:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:47:02 prd-ubuntu20.04-docker-8c-8g-15599 does not seem to be running inside a container 05:47:02 $ 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-12 -v /w/workspace/edgexfoundry_device-s7_PR-12:/w/workspace/edgexfoundry_device-s7_PR-12:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-12@tmp:/w/workspace/edgexfoundry_device-s7_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:47:02 $ docker top a367124184eaf6b72f3feb8bc187a8f57d21ea2f662e476d8761e0d48a6d3e92 -eo pid,comm [Pipeline] { [Pipeline] sh 05:47:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-12 [Pipeline] fileExists [Pipeline] sh 05:47:03 + make test 05:47:03 go test -race -coverprofile=coverage.out ./... 05:47:10 ? github.com/edgexfoundry/device-s7 [no test files] 05:47:22 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 05:47:22 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 05:47:37 go vet ./... 05:47:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:40 ./bin/test-attribution-txt.sh [Pipeline] echo 05:47:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:47:40 $ docker stop --time=1 a367124184eaf6b72f3feb8bc187a8f57d21ea2f662e476d8761e0d48a6d3e92 05:47:46 $ docker rm -f --volumes a367124184eaf6b72f3feb8bc187a8f57d21ea2f662e476d8761e0d48a6d3e92 [Pipeline] // withDockerContainer [Pipeline] sh 05:47:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:47:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:47:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:47:47 + ls -al . 05:47:47 total 152 05:47:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:47 . 05:47:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:45 .. 05:47:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:47 .git 05:47:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:45 .github 05:47:47 -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 05:45 .gitignore 05:47:47 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 05:45 .golangci.yml 05:47:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:46 .semver 05:47:47 -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 05:45 Attribution.txt 05:47:47 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 05:45 Dockerfile 05:47:47 -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 05:45 Jenkinsfile 05:47:47 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 05:45 LICENSE 05:47:47 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 05:45 Makefile 05:47:47 -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 05:45 OWNERS.md 05:47:47 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 05:45 README.md 05:47:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:46 VERSION 05:47:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:45 bin 05:47:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:45 cmd 05:47:47 -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 05:47 coverage.out 05:47:47 -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 05:45 go.mod 05:47:47 -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 05:45 go.sum 05:47:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:45 internal 05:47:47 -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 05:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:47:48 + 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=f7f97db7578a3a57d460f2ed62b0c2f6f5792442 --label arch=amd64 --label version=0.0.0 . 05:47:48 Sending build context to Docker daemon 468.5kB 05:47:48 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 05:47:48 Step 2/24 : FROM ${BASE} AS builder 05:47:48 ---> e49db57654bf 05:47:48 Step 3/24 : ARG MAKE=make build 05:47:48 ---> Running in b0e2712c5329 05:47:48 Removing intermediate container b0e2712c5329 05:47:48 ---> 4e77b2180477 05:47:48 Step 4/24 : WORKDIR /device-s7 05:47:48 ---> Running in cc4618d5980a 05:47:48 Removing intermediate container cc4618d5980a 05:47:48 ---> 93b451aadfe8 05:47:48 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 05:47:48 ---> Running in 3f3cc71ea2fe 05:47:48 Removing intermediate container 3f3cc71ea2fe 05:47:48 ---> 55c701634bcb 05:47:48 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 05:47:48 ---> Running in f128d4318d72 05:47:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:47:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:47:49 OK: 246 MiB in 54 packages 05:47:49 Removing intermediate container f128d4318d72 05:47:49 ---> 82ec18a4ab80 05:47:49 Step 7/24 : COPY go.mod vendor* ./ 05:47:49 ---> 6511e2675ae8 05:47:49 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:47:49 ---> Running in 74a220a5814e 05:47:50 Removing intermediate container 74a220a5814e 05:47:50 ---> 0100736601a5 05:47:50 Step 9/24 : COPY . . 05:47:50 ---> 77a63f00d943 05:47:50 Step 10/24 : RUN ${MAKE} 05:47:50 ---> Running in 3ef8acd2daa2 05:47:50 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 05:48:12 Removing intermediate container 3ef8acd2daa2 05:48:12 ---> 5ed38bbb13dc 05:48:12 Step 11/24 : FROM alpine:3.20 05:48:12 3.20: Pulling from library/alpine 05:48:12 43c4264eed91: Already exists 05:48:12 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 05:48:12 Status: Downloaded newer image for alpine:3.20 05:48:12 ---> 91ef0af61f39 05:48:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 05:48:12 ---> Running in 19601a989279 05:48:12 Removing intermediate container 19601a989279 05:48:12 ---> bcaaf67aa9cb 05:48:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:48:12 ---> Running in 452d3e4a123f 05:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:12 (1/1) Installing dumb-init (1.2.5-r3) 05:48:12 Executing busybox-1.36.1-r29.trigger 05:48:12 OK: 8 MiB in 15 packages 05:48:12 Removing intermediate container 452d3e4a123f 05:48:12 ---> b98b0ba3c7dc 05:48:12 Step 14/24 : RUN apk --no-cache upgrade 05:48:12 ---> Running in fba2fe98bdd4 05:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:13 Upgrading critical system libraries and apk-tools: 05:48:13 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 05:48:13 Executing busybox-1.36.1-r29.trigger 05:48:13 Continuing the upgrade transaction with new apk-tools: 05:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:48:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:48:13 OK: 8 MiB in 15 packages 05:48:14 Removing intermediate container fba2fe98bdd4 05:48:14 ---> 4a322250c677 05:48:14 Step 15/24 : WORKDIR / 05:48:14 ---> Running in f96c11fb74a3 05:48:14 Removing intermediate container f96c11fb74a3 05:48:14 ---> 4d97f245aeb6 05:48:14 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 05:48:14 ---> 8e98c99c48e2 05:48:14 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 05:48:14 ---> 8525d2889dd4 05:48:14 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 05:48:15 ---> bf70a8a9390e 05:48:15 Step 19/24 : EXPOSE 59994 05:48:15 ---> Running in a308e66a142a 05:48:15 Removing intermediate container a308e66a142a 05:48:15 ---> a7df3c123112 05:48:15 Step 20/24 : ENTRYPOINT ["/device-s7"] 05:48:15 ---> Running in d848c157b68a 05:48:15 Removing intermediate container d848c157b68a 05:48:15 ---> f4e1a975c0d8 05:48:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:48:15 ---> Running in d802066d50a9 05:48:15 Removing intermediate container d802066d50a9 05:48:15 ---> 993f42b8a881 05:48:15 Step 22/24 : LABEL arch=amd64 05:48:15 ---> Running in dbbb83d0a85f 05:48:15 Removing intermediate container dbbb83d0a85f 05:48:15 ---> 4a4808f28fe1 05:48:15 Step 23/24 : LABEL git_sha=f7f97db7578a3a57d460f2ed62b0c2f6f5792442 05:48:15 ---> Running in 6718a95a808c 05:48:15 Removing intermediate container 6718a95a808c 05:48:15 ---> 225a130b31a0 05:48:15 Step 24/24 : LABEL version=0.0.0 05:48:15 ---> Running in 225d3beb78dd 05:48:15 Removing intermediate container 225d3beb78dd 05:48:15 ---> 57288d11e55d 05:48:15 [Warning] One or more build-args [ARCH] were not consumed 05:48:15 Successfully built 57288d11e55d 05:48:15 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:16 05:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:17 latest: Pulling from edgex-lftools-log-publisher 05:48:17 5eb5b503b376: Pulling fs layer 05:48:17 5c69ac0246d0: Pulling fs layer 05:48:17 ec43610c2a17: Pulling fs layer 05:48:17 3a2ae6a8a46f: Pulling fs layer 05:48:17 33b1e0a273af: Pulling fs layer 05:48:17 5d3b04190fa2: Pulling fs layer 05:48:17 2f39f015ded8: Pulling fs layer 05:48:17 3a2ae6a8a46f: Waiting 05:48:17 33b1e0a273af: Waiting 05:48:17 5d3b04190fa2: Waiting 05:48:17 2f39f015ded8: Waiting 05:48:17 5c69ac0246d0: Download complete 05:48:17 3a2ae6a8a46f: Verifying Checksum 05:48:17 3a2ae6a8a46f: Download complete 05:48:17 33b1e0a273af: Verifying Checksum 05:48:17 33b1e0a273af: Download complete 05:48:17 5d3b04190fa2: Download complete 05:48:17 ec43610c2a17: Verifying Checksum 05:48:17 ec43610c2a17: Download complete 05:48:17 5eb5b503b376: Verifying Checksum 05:48:17 5eb5b503b376: Download complete 05:48:17 2f39f015ded8: Download complete 05:48:18 5eb5b503b376: Pull complete 05:48:18 5c69ac0246d0: Pull complete 05:48:19 ec43610c2a17: Pull complete 05:48:19 3a2ae6a8a46f: Pull complete 05:48:19 33b1e0a273af: Pull complete 05:48:19 5d3b04190fa2: Pull complete 05:48:22 2f39f015ded8: Pull complete 05:48:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:48:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:48:22 prd-ubuntu20.04-docker-8c-8g-15599 does not seem to be running inside a container 05:48:22 $ 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-12 -v /w/workspace/edgexfoundry_device-s7_PR-12:/w/workspace/edgexfoundry_device-s7_PR-12:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-12@tmp:/w/workspace/edgexfoundry_device-s7_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:48:27 $ docker top 441b3ae30b78355f78885f14feeddad299b5ad9bb3c850990cae48e24dbd53a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:27 ---> job-cost.sh 05:48:27 lf-activate-venv: SKIPPING 05:48:27 INFO: No Stack... 05:48:28 INFO: Retrieving Pricing Info for: v3-standard-8 05:48:28 INFO: Archiving Costs [Pipeline] sh 05:48:28 + cat /w/workspace/edgexfoundry_device-s7_PR-12/archives/cost.csv 05:48:28 + cut -d, -f6 [Pipeline] lock 05:48:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] 05:48:28 Resource [jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] did not exist. Created. 05:48:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:29 + echo total: 0.2199999988079071 [Pipeline] stash 05:48:29 Stashed 1 file(s) [Pipeline] } 05:48:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:48:29 $ docker stop --time=1 441b3ae30b78355f78885f14feeddad299b5ad9bb3c850990cae48e24dbd53a6 05:48:30 $ docker rm -f --volumes 441b3ae30b78355f78885f14feeddad299b5ad9bb3c850990cae48e24dbd53a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:53:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15621 in /w/workspace/edgexfoundry_device-s7_PR-12 [Pipeline] { [Pipeline] ws 05:53:35 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 05:53:38 Selected Git installation does not exist. Using Default 05:53:38 The recommended git tool is: NONE 05:53:46 using credential edgex-jenkins-ssh 05:53:46 Cloning the remote Git repository 05:53:46 Cloning repository git@github.com:edgexfoundry/device-s7.git 05:53:46 > git init /w/workspace/device-s7/1 # timeout=10 05:53:47 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 05:53:47 > git --version # timeout=10 05:53:47 > git --version # 'git version 2.25.1' 05:53:47 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 05:53:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:50 Merging remotes/origin/main commit 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 into PR head commit f7f97db7578a3a57d460f2ed62b0c2f6f5792442 05:53:49 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 05:53:49 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 05:53:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/12/head:refs/remotes/origin/PR-12 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:53:50 > git config core.sparsecheckout # timeout=10 05:53:50 > git checkout -f f7f97db7578a3a57d460f2ed62b0c2f6f5792442 # timeout=10 05:53:50 > git remote # timeout=10 05:53:50 > git config --get remote.origin.url # timeout=10 05:53:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:50 Merge succeeded, producing f7f97db7578a3a57d460f2ed62b0c2f6f5792442 05:53:50 Checking out Revision f7f97db7578a3a57d460f2ed62b0c2f6f5792442 (PR-12) 05:53:50 > git merge 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 05:53:50 > git rev-parse HEAD^{commit} # timeout=10 05:53:50 > git config core.sparsecheckout # timeout=10 05:53:50 > git checkout -f f7f97db7578a3a57d460f2ed62b0c2f6f5792442 # timeout=10 05:53:54 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" 05:53:54 > git --version # timeout=10 05:53:54 > git --version # 'git version 2.25.1' 05:53:54 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:53:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:56 Dload Upload Total Spent Left Speed 05:53:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 05:53:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:53:57 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 05:53:57 /etc/docker/daemon.json 05:53:57 { 05:53:57 "registry-mirrors": [ 05:53:57 "https://nexus3.edgexfoundry.org:10001" 05:53:57 ], 05:53:57 "bip": "10.250.0.254/24", 05:53:57 "hosts": [ 05:53:57 "tcp://0.0.0.0:5555", 05:53:57 "unix:///var/run/docker.sock" 05:53:57 ], 05:53:57 "mtu": 1458, 05:53:57 "selinux-enabled": true, 05:53:57 "seccomp-profile": "/etc/docker/seccomp.json" 05:53:57 } [Pipeline] sh 05:53:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:53:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:54:16 provisioning config files... 05:54:16 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config15236330750558535609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:16 ---> ****-login.sh 05:54:16 nexus3.edgexfoundry.org:10001 05:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:17 Configure a credential helper to remove this warning. See 05:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:17 05:54:17 Login Succeeded 05:54:17 nexus3.edgexfoundry.org:10002 05:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:17 Configure a credential helper to remove this warning. See 05:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:17 05:54:17 Login Succeeded 05:54:17 nexus3.edgexfoundry.org:10003 05:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:18 Configure a credential helper to remove this warning. See 05:54:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:18 05:54:18 Login Succeeded 05:54:18 nexus3.edgexfoundry.org:10004 05:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:18 Configure a credential helper to remove this warning. See 05:54:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:18 05:54:18 Login Succeeded 05:54:18 ****.io 05:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:54:18 Configure a credential helper to remove this warning. See 05:54:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:54:18 05:54:18 Login Succeeded 05:54:18 ---> ****-login.sh ends [Pipeline] } 05:54:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:54:19 ========================================================= 05:54:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:54:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:54:20 + 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 . 05:54:20 Sending build context to Docker daemon 294.4kB 05:54:20 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 05:54:20 Step 2/10 : FROM ${BASE} AS builder 05:54:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:54:21 cf04c63912e1: Pulling fs layer 05:54:21 55b35a11ae5e: Pulling fs layer 05:54:21 a37a00ec5f00: Pulling fs layer 05:54:21 50b3750afda1: Pulling fs layer 05:54:21 4f4fb700ef54: Pulling fs layer 05:54:21 80978eb59214: Pulling fs layer 05:54:21 c9f46d7d2bd2: Pulling fs layer 05:54:21 c5a475d317c9: Pulling fs layer 05:54:21 50b3750afda1: Waiting 05:54:21 4f4fb700ef54: Waiting 05:54:21 80978eb59214: Waiting 05:54:21 c9f46d7d2bd2: Waiting 05:54:21 c5a475d317c9: Waiting 05:54:21 55b35a11ae5e: Verifying Checksum 05:54:21 55b35a11ae5e: Download complete 05:54:21 50b3750afda1: Verifying Checksum 05:54:21 50b3750afda1: Download complete 05:54:21 4f4fb700ef54: Download complete 05:54:21 80978eb59214: Verifying Checksum 05:54:21 80978eb59214: Download complete 05:54:21 cf04c63912e1: Download complete 05:54:22 c5a475d317c9: Verifying Checksum 05:54:22 c5a475d317c9: Download complete 05:54:22 cf04c63912e1: Pull complete 05:54:23 55b35a11ae5e: Pull complete 05:54:23 a37a00ec5f00: Download complete 05:54:24 c9f46d7d2bd2: Verifying Checksum 05:54:24 c9f46d7d2bd2: Download complete 05:54:39 a37a00ec5f00: Pull complete 05:54:39 50b3750afda1: Pull complete 05:54:39 4f4fb700ef54: Pull complete 05:54:39 80978eb59214: Pull complete 05:54:45 c9f46d7d2bd2: Pull complete 05:54:47 c5a475d317c9: Pull complete 05:54:47 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:54:47 ---> be29e6b0f0d4 05:54:47 Step 3/10 : ARG MAKE=make build 05:54:49 ---> Running in 6176cd1fc67a 05:54:49 Removing intermediate container 6176cd1fc67a 05:54:49 ---> 4d0e90edfdbf 05:54:49 Step 4/10 : WORKDIR /device-s7 05:54:49 ---> Running in 2cb6924dac3c 05:54:49 Removing intermediate container 2cb6924dac3c 05:54:49 ---> 4a88774b5c4f 05:54:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 05:54:49 ---> Running in 46f9a7f51481 05:54:49 Removing intermediate container 46f9a7f51481 05:54:49 ---> 434cfe0bb0a4 05:54:49 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 05:54:49 ---> Running in 93a05c749618 05:54:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:54:52 OK: 238 MiB in 54 packages 05:54:53 Removing intermediate container 93a05c749618 05:54:53 ---> 824c5b63dce2 05:54:53 Step 7/10 : COPY go.mod vendor* ./ 05:54:53 ---> 607b46fbfe2a 05:54:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:53 ---> Running in a8c98392a97d 05:55:50 Removing intermediate container a8c98392a97d 05:55:50 ---> b2268d6ef867 05:55:50 Step 9/10 : COPY . . 05:55:50 ---> 2b413e97fc34 05:55:50 Step 10/10 : RUN ${MAKE} 05:55:50 ---> Running in 623d78a79ba8 05:55:50 noop 05:55:50 Removing intermediate container 623d78a79ba8 05:55:50 ---> cc19289ab367 05:55:50 Successfully built cc19289ab367 05:55:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:50 + docker inspect -f . ci-base-image-arm64 05:55:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:50 prd-ubuntu20.04-docker-arm64-4c-16g-15621 does not seem to be running inside a container 05:55:50 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:55:52 $ docker top 649f90beffa297ed84e1a3f3cd4129589163a2fdecb45d8366c9142efd1f8ad2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:53 + go version 05:55:53 go version go1.23.2 linux/arm64 [Pipeline] } 05:55:53 $ docker stop --time=1 649f90beffa297ed84e1a3f3cd4129589163a2fdecb45d8366c9142efd1f8ad2 05:55:54 $ docker rm -f --volumes 649f90beffa297ed84e1a3f3cd4129589163a2fdecb45d8366c9142efd1f8ad2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:55 + docker inspect -f . ci-base-image-arm64 05:55:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:55 prd-ubuntu20.04-docker-arm64-4c-16g-15621 does not seem to be running inside a container 05:55:55 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 05:55:57 $ docker top 9bc5ac013b6ab87549b8a0dda6eb9b040c76b90ac9acb953b151b3a2713eec82 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:57 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 05:55:58 + make test 05:55:58 go test -race -coverprofile=coverage.out ./... 05:56:37 ? github.com/edgexfoundry/device-s7 [no test files] 05:58:43 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 05:58:43 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 05:58:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:58:43 go vet ./... 06:00:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:00:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:00:20 ./bin/test-attribution-txt.sh [Pipeline] echo 06:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:00:20 $ docker stop --time=1 9bc5ac013b6ab87549b8a0dda6eb9b040c76b90ac9acb953b151b3a2713eec82 06:00:22 $ docker rm -f --volumes 9bc5ac013b6ab87549b8a0dda6eb9b040c76b90ac9acb953b151b3a2713eec82 [Pipeline] // withDockerContainer [Pipeline] sh 06:00:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:00:24 Warning: overwriting stash ‘coverage-report’ 06:00:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:00:25 + ls -al . 06:00:25 total 148 06:00:25 drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 05:56 . 06:00:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:53 .. 06:00:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:53 .git 06:00:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:53 .github 06:00:25 -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 05:53 .gitignore 06:00:25 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 05:53 .golangci.yml 06:00:25 -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 05:53 Attribution.txt 06:00:25 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 05:53 Dockerfile 06:00:25 -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 05:53 Jenkinsfile 06:00:25 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 05:53 LICENSE 06:00:25 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 05:53 Makefile 06:00:25 -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 05:53 OWNERS.md 06:00:25 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 05:53 README.md 06:00:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:46 VERSION 06:00:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:53 bin 06:00:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:53 cmd 06:00:25 -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 05:58 coverage.out 06:00:25 -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 05:53 go.mod 06:00:25 -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 05:53 go.sum 06:00:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:53 internal 06:00:25 -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:26 + 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=f7f97db7578a3a57d460f2ed62b0c2f6f5792442 --label arch=arm64 --label version=0.0.0 . 06:00:26 Sending build context to Docker daemon 312.3kB 06:00:26 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 06:00:26 Step 2/24 : FROM ${BASE} AS builder 06:00:26 ---> cc19289ab367 06:00:26 Step 3/24 : ARG MAKE=make build 06:00:26 ---> Running in 1926845933d5 06:00:27 Removing intermediate container 1926845933d5 06:00:27 ---> 303eda0c48b7 06:00:27 Step 4/24 : WORKDIR /device-s7 06:00:27 ---> Running in 46c733f56cb4 06:00:27 Removing intermediate container 46c733f56cb4 06:00:27 ---> 27175e5b0ef5 06:00:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 06:00:27 ---> Running in 0c024f3ad42f 06:00:27 Removing intermediate container 0c024f3ad42f 06:00:27 ---> 484b2e6bc169 06:00:27 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 06:00:27 ---> Running in c9169d2c8e5e 06:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:00:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:00:30 OK: 238 MiB in 54 packages 06:00:31 Removing intermediate container c9169d2c8e5e 06:00:31 ---> 81b31cf84bc9 06:00:31 Step 7/24 : COPY go.mod vendor* ./ 06:00:32 ---> 141aa3ba4559 06:00:32 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:32 ---> Running in 6b61867855ec 06:00:34 Removing intermediate container 6b61867855ec 06:00:34 ---> 96ba884c4045 06:00:34 Step 9/24 : COPY . . 06:00:35 ---> fffddf653e29 06:00:35 Step 10/24 : RUN ${MAKE} 06:00:35 ---> Running in 4bcd8ef859d2 06:00:36 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 06:02:50 Removing intermediate container 4bcd8ef859d2 06:02:50 ---> eea985f631cf 06:02:50 Step 11/24 : FROM alpine:3.20 06:02:50 3.20: Pulling from library/alpine 06:02:50 cf04c63912e1: Already exists 06:02:50 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:02:50 Status: Downloaded newer image for alpine:3.20 06:02:50 ---> c157a85ed455 06:02:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 06:02:50 ---> Running in b7cc715a0012 06:02:50 Removing intermediate container b7cc715a0012 06:02:50 ---> 7268dfce11a9 06:02:50 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:02:50 ---> Running in 4aeb91e8f97a 06:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:02:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:02:50 (1/1) Installing dumb-init (1.2.5-r3) 06:02:50 Executing busybox-1.36.1-r29.trigger 06:02:50 OK: 9 MiB in 15 packages 06:02:50 Removing intermediate container 4aeb91e8f97a 06:02:50 ---> d40484b88764 06:02:50 Step 14/24 : RUN apk --no-cache upgrade 06:02:50 ---> Running in 6aaff2d5dd5e 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:02:52 Upgrading critical system libraries and apk-tools: 06:02:52 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:02:52 Executing busybox-1.36.1-r29.trigger 06:02:52 Continuing the upgrade transaction with new apk-tools: 06:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:02:54 OK: 9 MiB in 15 packages 06:02:55 Removing intermediate container 6aaff2d5dd5e 06:02:55 ---> d5bd7a2927b2 06:02:55 Step 15/24 : WORKDIR / 06:02:55 ---> Running in 95d647b39caa 06:02:56 Removing intermediate container 95d647b39caa 06:02:56 ---> 018e3737615e 06:02:56 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 06:02:56 ---> 95b44c7b9e21 06:02:56 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 06:02:58 ---> afe5b9aef7bb 06:02:58 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 06:02:58 ---> 624c2d6b55cf 06:02:58 Step 19/24 : EXPOSE 59994 06:02:58 ---> Running in 768dbb98a951 06:02:59 Removing intermediate container 768dbb98a951 06:02:59 ---> fca977e64340 06:02:59 Step 20/24 : ENTRYPOINT ["/device-s7"] 06:02:59 ---> Running in 5a3c1ae9038e 06:02:59 Removing intermediate container 5a3c1ae9038e 06:02:59 ---> 06f54384cc35 06:02:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:02:59 ---> Running in d06fb921208a 06:02:59 Removing intermediate container d06fb921208a 06:02:59 ---> b8b34620d1f1 06:02:59 Step 22/24 : LABEL arch=arm64 06:02:59 ---> Running in ef20b6ea98f6 06:03:00 Removing intermediate container ef20b6ea98f6 06:03:00 ---> 2ccb89b5c63c 06:03:00 Step 23/24 : LABEL git_sha=f7f97db7578a3a57d460f2ed62b0c2f6f5792442 06:03:00 ---> Running in 3d5f061c9a59 06:03:00 Removing intermediate container 3d5f061c9a59 06:03:00 ---> e039c05aa22c 06:03:00 Step 24/24 : LABEL version=0.0.0 06:03:00 ---> Running in a65332c63895 06:03:00 Removing intermediate container a65332c63895 06:03:00 ---> 8942290cc9d6 06:03:00 [Warning] One or more build-args [ARCH] were not consumed 06:03:00 Successfully built 8942290cc9d6 06:03:00 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 06:03:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:03:01 06:03:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:03:01 arm64: Pulling from edgex-lftools-log-publisher 06:03:01 8998bd30e6a1: Pulling fs layer 06:03:01 04944245beec: Pulling fs layer 06:03:01 699f458cf7ca: Pulling fs layer 06:03:01 765212b225bb: Pulling fs layer 06:03:01 f23df028b6ca: Pulling fs layer 06:03:01 d65c8cfc05b1: Pulling fs layer 06:03:01 2437ff75d9bd: Pulling fs layer 06:03:01 765212b225bb: Waiting 06:03:01 f23df028b6ca: Waiting 06:03:01 d65c8cfc05b1: Waiting 06:03:02 04944245beec: Verifying Checksum 06:03:02 04944245beec: Download complete 06:03:02 765212b225bb: Verifying Checksum 06:03:02 765212b225bb: Download complete 06:03:02 f23df028b6ca: Verifying Checksum 06:03:02 f23df028b6ca: Download complete 06:03:02 d65c8cfc05b1: Verifying Checksum 06:03:02 d65c8cfc05b1: Download complete 06:03:02 699f458cf7ca: Verifying Checksum 06:03:02 699f458cf7ca: Download complete 06:03:02 8998bd30e6a1: Verifying Checksum 06:03:02 8998bd30e6a1: Download complete 06:03:05 2437ff75d9bd: Verifying Checksum 06:03:05 2437ff75d9bd: Download complete 06:03:07 8998bd30e6a1: Pull complete 06:03:07 04944245beec: Pull complete 06:03:09 699f458cf7ca: Pull complete 06:03:09 765212b225bb: Pull complete 06:03:10 f23df028b6ca: Pull complete 06:03:10 d65c8cfc05b1: Pull complete 06:03:28 2437ff75d9bd: Pull complete 06:03:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:03:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:28 prd-ubuntu20.04-docker-arm64-4c-16g-15621 does not seem to be running inside a container 06:03:28 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:03:31 $ docker top 7c58d1fa50d1e32ee735c211832d2b73c03708ee6ac2b8da6c1353eb588ccb63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:32 ---> job-cost.sh 06:03:32 lf-activate-venv: SKIPPING 06:03:32 INFO: No Stack... 06:03:35 INFO: Retrieving Pricing Info for: v3-standard-4 06:03:36 INFO: Archiving Costs [Pipeline] sh 06:03:36 + cut -d, -f6 06:03:36 + cat /w/workspace/device-s7/1/archives/cost.csv [Pipeline] lock 06:03:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] 06:03:36 Resource [jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] did not exist. Created. 06:03:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:37 /w/workspace/device-s7/1@tmp/durable-c9aca9f6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:03:37 + echo total: 0.10999999940395355 [Pipeline] stash 06:03:37 Warning: overwriting stash ‘stack-cost’ 06:03:37 Stashed 1 file(s) [Pipeline] } 06:03:37 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-12-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:03:37 $ docker stop --time=1 7c58d1fa50d1e32ee735c211832d2b73c03708ee6ac2b8da6c1353eb588ccb63 06:03:39 $ docker rm -f --volumes 7c58d1fa50d1e32ee735c211832d2b73c03708ee6ac2b8da6c1353eb588ccb63 [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 06:03:40 provisioning config files... 06:03:40 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-12@tmp/config9290143796691397511tmp [Pipeline] { [Pipeline] sh 06:03:40 + set +x 06:03:40 + curl -s https://codecov.io/bash 06:03:40 + bash -s -- 06:03:40 06:03:40 _____ _ 06:03:40 / ____| | | 06:03:40 | | ___ __| | ___ ___ _____ __ 06:03:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:03:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:03:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:03:40 Bash-1.0.6 06:03:40 06:03:40 06:03:40 ==> git version 2.25.1 found 06:03:40 ==> 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 06:03:40 Release-Date: 2020-01-08 06:03:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:03:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:03:40 ==> Jenkins CI detected. 06:03:40 current dir:  /w/workspace/edgexfoundry_device-s7_PR-12 06:03:40 project root: . 06:03:40 --> token set from env 06:03:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:03:40 ==> Running gcov in . (disable via -X gcov) 06:03:40 ==> Python coveragepy not found 06:03:40 ==> Searching for coverage reports in: 06:03:40 + . 06:03:40 -> Found 1 reports 06:03:40 ==> Detecting git/mercurial file structure 06:03:40 ==> Reading reports 06:03:40 + ./coverage.out bytes=17163 06:03:40 ==> Appending adjustments 06:03:40 https://docs.codecov.io/docs/fixing-reports 06:03:40 + Found adjustments 06:03:40 ==> Gzipping contents 06:03:40 4.0K /tmp/codecov.AZVCn3.gz 06:03:40 ==> Uploading reports 06:03:40 url: https://codecov.io 06:03:40 query: branch=PR-12&commit=f7f97db7578a3a57d460f2ed62b0c2f6f5792442&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-12%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=12&job=&cmd_args= 06:03:40 -> Pinging Codecov 06:03:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-12&commit=f7f97db7578a3a57d460f2ed62b0c2f6f5792442&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-12%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=12&job=&cmd_args= 06:03:41 -> Uploading to 06:03:41 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/f7f97db7578a3a57d460f2ed62b0c2f6f5792442/c730d3d4-b683-4b01-8fc4-87ac26fbe10d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T060340Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=84ae5ad9b596ae76789c53576a7034871a8cfbd8b4c57095de977c6c4147089d 06:03:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:41 Dload Upload Total Spent Left Speed 06:03:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2593 0 0 100 2593 0 10627 --:--:-- --:--:-- --:--:-- 10583 06:03:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/f7f97db7578a3a57d460f2ed62b0c2f6f5792442 [Pipeline] } 06:03:41 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 06:03:43 + [ -d /w/workspace/edgexfoundry_device-s7_PR-12/archives ] 06:03:43 + ls -al /w/workspace/edgexfoundry_device-s7_PR-12/archives 06:03:43 total 16 06:03:43 drwxr-xr-x 3 root root 4096 Oct 4 05:48 . 06:03:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 05:48 .. 06:03:43 drwxr-xr-x 2 root root 4096 Oct 4 05:48 cost 06:03:43 -rw-r--r-- 1 root root 80 Oct 4 05:48 cost.csv 06:03:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-12/archives 06:03:43 + ls -al /w/workspace/edgexfoundry_device-s7_PR-12/archives 06:03:43 total 16 06:03:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:48 . 06:03:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 05:48 .. 06:03:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:48 cost 06:03:43 -rw-r--r-- 1 jenkins jenkins 80 Oct 4 05:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:03:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:45 ---> package-listing.sh 06:03:45 ++ facter osfamily 06:03:45 ++ tr '[:upper:]' '[:lower:]' 06:03:45 + OS_FAMILY=debian 06:03:45 + workspace=/w/workspace/edgexfoundry_device-s7_PR-12 06:03:45 + START_PACKAGES=/tmp/packages_start.txt 06:03:45 + END_PACKAGES=/tmp/packages_end.txt 06:03:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:45 + PACKAGES=/tmp/packages_start.txt 06:03:45 + '[' /w/workspace/edgexfoundry_device-s7_PR-12 ']' 06:03:45 + PACKAGES=/tmp/packages_end.txt 06:03:45 + case "${OS_FAMILY}" in 06:03:45 + dpkg -l 06:03:45 + grep '^ii' 06:03:45 + '[' -f /tmp/packages_start.txt ']' 06:03:45 + '[' -f /tmp/packages_end.txt ']' 06:03:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:45 + '[' /w/workspace/edgexfoundry_device-s7_PR-12 ']' 06:03:45 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-12/archives/ 06:03:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-12/archives/ [Pipeline] echo 06:03:45 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-12/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:03:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:46 prd-ubuntu20.04-docker-8c-8g-15599 does not seem to be running inside a container 06:03:46 $ 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-12/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-12 -v /w/workspace/edgexfoundry_device-s7_PR-12:/w/workspace/edgexfoundry_device-s7_PR-12:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-12@tmp:/w/workspace/edgexfoundry_device-s7_PR-12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:03:46 $ docker top 0dab1a4ab652c7595c383a7c98d8e9da144077ea96309ce0d63ed42bed1a7d3b -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:47 + touch /tmp/pre-build-complete [Pipeline] sh 06:03:47 + mkdir -p /var/log/sysstat [Pipeline] sh 06:03:47 + ls /var/log/sa-host 06:03:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:48 provisioning config files... 06:03:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-12@tmp/config4186567783437169322tmp [Pipeline] { [Pipeline] echo 06:03:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:48 ---> create-netrc.sh [Pipeline] } 06:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:03:49 ---> python-tools-install.sh [Pipeline] echo 06:03:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:03:49 ---> sudo-logs.sh 06:03:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:03:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:03:49 ---> job-cost.sh 06:03:49 lf-activate-venv: SKIPPING 06:03:49 DEBUG: total: 0.2199999988079071 06:03:49 INFO: Retrieving Stack Cost... 06:03:51 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:51 INFO: Archiving Costs [Pipeline] echo 06:03:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:03:52 ---> logs-deploy.sh 06:03:52 lf-activate-venv: SKIPPING 06:03:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-12/1 06:03:52 INFO: archiving workspace using pattern(s): 06:03:53 Archives upload complete. 06:03:53 INFO: archiving logs to Nexus