Pull request #11 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d61501fcc8e6ff122b4cc5c2e56298e658b36994+4bd8664cc9fd2f5480b9401501168e0a6b2480c7 (469d26ca9bb97815b955dfc553aed6cda3deb10f) 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-ssh18365301710152739571.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh3164809270555952650.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 590556114a56c6d90cc8043840e039c2f74196dc 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-11/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-11/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17406126339279077441.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-11/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12162036624062805753.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh3509755248384796595.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-11/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-11/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11749327080240255169.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7583 in /w/workspace/edgexfoundry_device-s7_PR-11 [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-11 # 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 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 into PR head commit d61501fcc8e6ff122b4cc5c2e56298e658b36994 Merge succeeded, producing d61501fcc8e6ff122b4cc5c2e56298e658b36994 Checking out Revision d61501fcc8e6ff122b4cc5c2e56298e658b36994 (PR-11) Commit message: "Bump github.com/spf13/cast from 1.6.0 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/11/head:refs/remotes/origin/PR-11 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d61501fcc8e6ff122b4cc5c2e56298e658b36994 # 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 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d61501fcc8e6ff122b4cc5c2e56298e658b36994 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:10:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:10:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:10:46 ========================================================= 19:10:46 EdgeX Global Pipelines Version Info 19:10:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:10:46 ------------------- 19:10:46 stable info: 19:10:46 ------------------- 19:10:46 Commited By: Ginny Guan ginny@iotechsys.com 19:10:46 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 19:10:46 Message: update stable to v1.0.260 19:10:47 ------------------- 19:10:47 experimental info: 19:10:47 ------------------- 19:10:47 Commited By: Ginny Guan ginny@iotechsys.com 19:10:47 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 19:10:47 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:10:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:10:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-11 [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-11 [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-11 [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d61501fcc8e6ff122b4cc5c2e56298e658b36994 [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d61501f [Pipeline] echo 19:10:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:49 provisioning config files... 19:10:49 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-11@tmp/config8689500203408865229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:50 ---> ****-login.sh 19:10:50 nexus3.edgexfoundry.org:10001 19:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:10:50 Configure a credential helper to remove this warning. See 19:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:10:50 19:10:50 Login Succeeded 19:10:50 nexus3.edgexfoundry.org:10002 19:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:10:50 Configure a credential helper to remove this warning. See 19:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:10:50 19:10:50 Login Succeeded 19:10:50 nexus3.edgexfoundry.org:10003 19:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:10:50 Configure a credential helper to remove this warning. See 19:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:10:50 19:10:50 Login Succeeded 19:10:50 nexus3.edgexfoundry.org:10004 19:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:10:50 Configure a credential helper to remove this warning. See 19:10:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:10:50 19:10:50 Login Succeeded 19:10:50 ****.io 19:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:10:51 Configure a credential helper to remove this warning. See 19:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:10:51 19:10:51 Login Succeeded 19:10:51 ---> ****-login.sh ends [Pipeline] } 19:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:10:52 + git rev-list -1 --merges d61501fcc8e6ff122b4cc5c2e56298e658b36994~1..d61501fcc8e6ff122b4cc5c2e56298e658b36994 [Pipeline] echo 19:10:52 -----------> git rev-list -1 --merges d61501fcc8e6ff122b4cc5c2e56298e658b36994~1..d61501fcc8e6ff122b4cc5c2e56298e658b36994 d61501fcc8e6ff122b4cc5c2e56298e658b36994 [false] [Pipeline] sh 19:10:52 + git log --format=format:%s -1 d61501fcc8e6ff122b4cc5c2e56298e658b36994 [Pipeline] echo 19:10:52 ========================================================= 19:10:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:10:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:52 + git log --format=format:%s -1 d61501fcc8e6ff122b4cc5c2e56298e658b36994 [Pipeline] echo 19:10:52 [semverPrep] GIT_COMMIT: d61501fcc8e6ff122b4cc5c2e56298e658b36994, Commit Message: Bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo 19:10:52 [semverPrep] This is not a build commit. [Pipeline] sh 19:10:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:10:53 + grep -v github /etc/ssh/ssh_known_hosts 19:10:53 + [ -e /tmp/ssh_known_hosts ] 19:10:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:10:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:10:53 + sudo tee -a /etc/ssh/ssh_known_hosts 19:10:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:53 19:10:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:54 0.1.4: Pulling from edgex-devops/py-git-semver 19:10:54 b85a868b505f: Pulling fs layer 19:10:54 e2be974225ed: Pulling fs layer 19:10:54 339a4e72a1f5: Pulling fs layer 19:10:54 988bab9f4d93: Pulling fs layer 19:10:54 1469e6f7b9e6: Pulling fs layer 19:10:54 eaf3925da568: Pulling fs layer 19:10:54 bab4dde63d76: Pulling fs layer 19:10:54 988bab9f4d93: Waiting 19:10:54 eaf3925da568: Waiting 19:10:54 bde34c3a00c8: Pulling fs layer 19:10:54 b352a97aabf1: Pulling fs layer 19:10:54 bab4dde63d76: Waiting 19:10:54 bde34c3a00c8: Waiting 19:10:54 1469e6f7b9e6: Waiting 19:10:54 4872d77fe225: Pulling fs layer 19:10:54 5851b861e8e6: Pulling fs layer 19:10:54 4872d77fe225: Waiting 19:10:54 5851b861e8e6: Waiting 19:10:54 e2be974225ed: Download complete 19:10:54 988bab9f4d93: Verifying Checksum 19:10:54 988bab9f4d93: Download complete 19:10:54 1469e6f7b9e6: Verifying Checksum 19:10:54 1469e6f7b9e6: Download complete 19:10:54 339a4e72a1f5: Verifying Checksum 19:10:54 339a4e72a1f5: Download complete 19:10:54 eaf3925da568: Download complete 19:10:54 bde34c3a00c8: Verifying Checksum 19:10:54 bde34c3a00c8: Download complete 19:10:54 b352a97aabf1: Verifying Checksum 19:10:54 b352a97aabf1: Download complete 19:10:54 4872d77fe225: Verifying Checksum 19:10:54 4872d77fe225: Download complete 19:10:54 5851b861e8e6: Verifying Checksum 19:10:54 5851b861e8e6: Download complete 19:10:54 b85a868b505f: Verifying Checksum 19:10:54 b85a868b505f: Download complete 19:10:54 bab4dde63d76: Verifying Checksum 19:10:54 bab4dde63d76: Download complete 19:10:55 b85a868b505f: Pull complete 19:10:56 e2be974225ed: Pull complete 19:10:56 339a4e72a1f5: Pull complete 19:10:56 988bab9f4d93: Pull complete 19:10:56 1469e6f7b9e6: Pull complete 19:10:57 eaf3925da568: Pull complete 19:10:59 bab4dde63d76: Pull complete 19:10:59 bde34c3a00c8: Pull complete 19:10:59 b352a97aabf1: Pull complete 19:10:59 4872d77fe225: Pull complete 19:10:59 5851b861e8e6: Pull complete 19:10:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:59 prd-ubuntu20.04-docker-8c-8g-7583 does not seem to be running inside a container 19:10:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-11 -v /w/workspace/edgexfoundry_device-s7_PR-11:/w/workspace/edgexfoundry_device-s7_PR-11:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-11@tmp:/w/workspace/edgexfoundry_device-s7_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:11:02 $ docker top f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 -eo pid,comm 19:11:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:11:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:11:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:11:03 [ssh-agent] Looking for ssh-agent implementation... 19:11:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:11:03 $ docker exec f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 ssh-agent 19:11:03 SSH_AUTH_SOCK=/tmp/ssh-5AJh8p2hzhqv/agent.32 19:11:03 SSH_AGENT_PID=38 19:11:03 Running ssh-add (command line suppressed) 19:11:03 Identity added: /w/workspace/edgexfoundry_device-s7_PR-11@tmp/private_key_17524496211185535275.key (/w/workspace/edgexfoundry_device-s7_PR-11@tmp/private_key_17524496211185535275.key) 19:11:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:11:03 + git tag --points-at HEAD [Pipeline] } 19:11:03 $ docker exec --env ******** --env ******** f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 ssh-agent -k 19:11:03 unset SSH_AUTH_SOCK; 19:11:03 unset SSH_AGENT_PID; 19:11:03 echo Agent pid 38 killed; 19:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:11:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:11:04 [ssh-agent] Looking for ssh-agent implementation... 19:11:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:11:04 $ docker exec f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 ssh-agent 19:11:04 SSH_AUTH_SOCK=/tmp/ssh-9XnTmZCvGpPy/agent.71 19:11:04 SSH_AGENT_PID=78 19:11:04 Running ssh-add (command line suppressed) 19:11:04 Identity added: /w/workspace/edgexfoundry_device-s7_PR-11@tmp/private_key_11627062023627187683.key (/w/workspace/edgexfoundry_device-s7_PR-11@tmp/private_key_11627062023627187683.key) 19:11:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:11:04 + git semver init 19:11:05 2024-08-12 19:11:05,044 [run_init] DEBUG init version:0.0.0 force:False 19:11:05 2024-08-12 19:11:05,045 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-11/.semver 19:11:05 2024-08-12 19:11:05,045 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-11/.semver 19:11:05 2024-08-12 19:11:05,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-11/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-11, universal_newlines=False, shell=None, istream=None) 19:11:05 2024-08-12 19:11:05,639 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-11/.git/info/exclude 19:11:05 2024-08-12 19:11:05,641 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-11/.semver/PR-11 with force:False 19:11:05 2024-08-12 19:11:05,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-11/.semver/PR-11 19:11:05 2024-08-12 19:11:05,646 [execute] INFO git cat-file --batch-check 19:11:05 2024-08-12 19:11:05,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-11/.semver, universal_newlines=False, shell=None, istream=) 19:11:05 2024-08-12 19:11:05,652 [execute] INFO git cat-file --batch 19:11:05 2024-08-12 19:11:05,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-11/.semver, universal_newlines=False, shell=None, istream=) 19:11:05 2024-08-12 19:11:05,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-11/.semver/PR-11 19:11:05 0.0.0 [Pipeline] } 19:11:05 $ docker exec --env ******** --env ******** f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 ssh-agent -k 19:11:05 unset SSH_AUTH_SOCK; 19:11:05 unset SSH_AGENT_PID; 19:11:05 echo Agent pid 78 killed; 19:11:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:11:06 + git semver [Pipeline] } 19:11:06 $ docker stop --time=1 f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 19:11:07 $ docker rm -f --volumes f461c812006fbd3a974461fd1a30e48255aae3349fa121e0741d376db1630046 [Pipeline] // withDockerContainer [Pipeline] sh 19:11:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:11:08 Stashed 1 file(s) [Pipeline] echo 19:11:08 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:09 provisioning config files... 19:11:09 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-11@tmp/config9613953317006961384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:09 ---> ****-login.sh 19:11:09 nexus3.edgexfoundry.org:10001 19:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:09 Configure a credential helper to remove this warning. See 19:11:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:09 19:11:09 Login Succeeded 19:11:09 nexus3.edgexfoundry.org:10002 19:11:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:09 Configure a credential helper to remove this warning. See 19:11:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:09 19:11:09 Login Succeeded 19:11:10 nexus3.edgexfoundry.org:10003 19:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:10 Configure a credential helper to remove this warning. See 19:11:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:10 19:11:10 Login Succeeded 19:11:10 nexus3.edgexfoundry.org:10004 19:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:10 Configure a credential helper to remove this warning. See 19:11:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:10 19:11:10 Login Succeeded 19:11:10 ****.io 19:11:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:11:10 Configure a credential helper to remove this warning. See 19:11:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:11:10 19:11:10 Login Succeeded 19:11:10 ---> ****-login.sh ends [Pipeline] } 19:11:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:11:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:11:10 ========================================================= 19:11:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:11:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:11:11 Sending build context to Docker daemon 438.3kB 19:11:11 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:11:11 Step 2/10 : FROM ${BASE} AS builder 19:11:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:11:11 619be1103602: Pulling fs layer 19:11:11 7862e08f4a3e: Pulling fs layer 19:11:11 5df492c9dc93: Pulling fs layer 19:11:11 7629e6793208: Pulling fs layer 19:11:11 4f4fb700ef54: Pulling fs layer 19:11:11 fb5054dd5b73: Pulling fs layer 19:11:11 eeca6798cff9: Pulling fs layer 19:11:11 aa269ceb94a6: Pulling fs layer 19:11:11 ada007ff1a6a: Pulling fs layer 19:11:11 eeca6798cff9: Waiting 19:11:11 aa269ceb94a6: Waiting 19:11:11 ada007ff1a6a: Waiting 19:11:11 7629e6793208: Waiting 19:11:11 4f4fb700ef54: Waiting 19:11:11 fb5054dd5b73: Waiting 19:11:11 7862e08f4a3e: Download complete 19:11:11 7629e6793208: Verifying Checksum 19:11:11 7629e6793208: Download complete 19:11:11 4f4fb700ef54: Verifying Checksum 19:11:11 4f4fb700ef54: Download complete 19:11:11 fb5054dd5b73: Verifying Checksum 19:11:11 fb5054dd5b73: Download complete 19:11:11 619be1103602: Verifying Checksum 19:11:11 619be1103602: Download complete 19:11:11 eeca6798cff9: Download complete 19:11:11 619be1103602: Pull complete 19:11:11 ada007ff1a6a: Verifying Checksum 19:11:11 ada007ff1a6a: Download complete 19:11:11 7862e08f4a3e: Pull complete 19:11:11 5df492c9dc93: Verifying Checksum 19:11:11 5df492c9dc93: Download complete 19:11:12 aa269ceb94a6: Verifying Checksum 19:11:12 aa269ceb94a6: Download complete 19:11:15 5df492c9dc93: Pull complete 19:11:15 7629e6793208: Pull complete 19:11:15 4f4fb700ef54: Pull complete 19:11:15 fb5054dd5b73: Pull complete 19:11:15 eeca6798cff9: Pull complete 19:11:18 aa269ceb94a6: Pull complete 19:11:18 ada007ff1a6a: Pull complete 19:11:18 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 19:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:11:18 ---> f489d0715acc 19:11:18 Step 3/10 : ARG MAKE=make build 19:11:22 ---> Running in c1a6664c923f 19:11:22 Removing intermediate container c1a6664c923f 19:11:22 ---> c126f8d9fb4d 19:11:22 Step 4/10 : WORKDIR /device-s7 19:11:22 ---> Running in 9240e92d184b 19:11:22 Removing intermediate container 9240e92d184b 19:11:22 ---> 7c0048673d82 19:11:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:11:22 ---> Running in d3df20f3d927 19:11:22 Removing intermediate container d3df20f3d927 19:11:22 ---> 593425503afd 19:11:22 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:11:22 ---> Running in 01d993a21994 19:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:11:23 OK: 264 MiB in 52 packages 19:11:24 Removing intermediate container 01d993a21994 19:11:24 ---> bd4015f1d3b6 19:11:24 Step 7/10 : COPY go.mod vendor* ./ 19:11:24 ---> 2c19cf23dc2e 19:11:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:24 ---> Running in bb7c396b18b2 19:11:24 Still waiting to schedule task 19:11:24 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:11:56 Removing intermediate container bb7c396b18b2 19:11:56 ---> 6b4551be591e 19:11:56 Step 9/10 : COPY . . 19:11:56 ---> 4865b419da8f 19:11:56 Step 10/10 : RUN ${MAKE} 19:11:56 ---> Running in 811360ed0ee4 19:11:56 noop 19:11:56 Removing intermediate container 811360ed0ee4 19:11:56 ---> 98f92756c1ff 19:11:56 Successfully built 98f92756c1ff 19:11:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:56 + docker inspect -f . ci-base-image-x86_64 19:11:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:57 prd-ubuntu20.04-docker-8c-8g-7583 does not seem to be running inside a container 19:11:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-11 -v /w/workspace/edgexfoundry_device-s7_PR-11:/w/workspace/edgexfoundry_device-s7_PR-11:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-11@tmp:/w/workspace/edgexfoundry_device-s7_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:11:57 $ docker top 69fe11c2b0a708281e0ff6b39b54966dac531e4c952db59cf0eb56291799456f -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:57 + go version 19:11:57 go version go1.21.9 linux/amd64 [Pipeline] } 19:11:57 $ docker stop --time=1 69fe11c2b0a708281e0ff6b39b54966dac531e4c952db59cf0eb56291799456f 19:11:59 $ docker rm -f --volumes 69fe11c2b0a708281e0ff6b39b54966dac531e4c952db59cf0eb56291799456f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:00 + docker inspect -f . ci-base-image-x86_64 19:12:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:00 prd-ubuntu20.04-docker-8c-8g-7583 does not seem to be running inside a container 19:12:00 $ 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-11 -v /w/workspace/edgexfoundry_device-s7_PR-11:/w/workspace/edgexfoundry_device-s7_PR-11:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-11@tmp:/w/workspace/edgexfoundry_device-s7_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:12:00 $ docker top 63bb1137cd524562479c38fa584358060fc98e907b92554f18e94ac466d4e5b9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-11 [Pipeline] fileExists [Pipeline] sh 19:12:01 + make test 19:12:01 go test -race -coverprofile=coverage.out ./... 19:12:09 ? github.com/edgexfoundry/device-s7 [no test files] 19:12:21 ? github.com/edgexfoundry/device-s7/cmd [no test files] 19:12:21 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 19:12:43 go vet ./... 19:12:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:12:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:12:44 ./bin/test-attribution-txt.sh 19:12:44 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:12:44 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 19:12:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:12:44 $ docker stop --time=1 63bb1137cd524562479c38fa584358060fc98e907b92554f18e94ac466d4e5b9 19:12:47 $ docker rm -f --volumes 63bb1137cd524562479c38fa584358060fc98e907b92554f18e94ac466d4e5b9 [Pipeline] // withDockerContainer [Pipeline] sh 19:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:12:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:12:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:12:49 + ls -al . 19:12:49 total 136 19:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 19:12 . 19:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 19:10 .. 19:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 19:12 .git 19:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 19:10 .github 19:12:49 -rw-rw-r-- 1 jenkins jenkins 237 Aug 12 19:10 .gitignore 19:12:49 -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 19:10 .golangci.yml 19:12:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 19:11 .semver 19:12:49 -rw-rw-r-- 1 jenkins jenkins 11920 Aug 12 19:10 Attribution.txt 19:12:49 -rw-rw-r-- 1 jenkins jenkins 1546 Aug 12 19:10 Dockerfile 19:12:49 -rw-rw-r-- 1 jenkins jenkins 643 Aug 12 19:10 Jenkinsfile 19:12:49 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 12 19:10 LICENSE 19:12:49 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 12 19:10 Makefile 19:12:49 -rw-rw-r-- 1 jenkins jenkins 614 Aug 12 19:10 OWNERS.md 19:12:49 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 12 19:10 README.md 19:12:49 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 19:11 VERSION 19:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 19:10 bin 19:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 19:10 cmd 19:12:49 -rw-r--r-- 1 jenkins jenkins 13 Aug 12 19:12 coverage.out 19:12:49 -rw-rw-r-- 1 jenkins jenkins 3644 Aug 12 19:10 go.mod 19:12:49 -rw-rw-r-- 1 jenkins jenkins 34418 Aug 12 19:10 go.sum 19:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 19:10 internal 19:12:49 -rw-rw-r-- 1 jenkins jenkins 223 Aug 12 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:50 + 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=d61501fcc8e6ff122b4cc5c2e56298e658b36994 --label arch=amd64 --label version=0.0.0 . 19:12:50 Sending build context to Docker daemon 439.3kB 19:12:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 19:12:50 Step 2/24 : FROM ${BASE} AS builder 19:12:50 ---> 98f92756c1ff 19:12:50 Step 3/24 : ARG MAKE=make build 19:12:50 ---> Running in b0af964f830e 19:12:50 Removing intermediate container b0af964f830e 19:12:50 ---> e04e065b8a25 19:12:50 Step 4/24 : WORKDIR /device-s7 19:12:50 ---> Running in e56230d92b79 19:12:50 Removing intermediate container e56230d92b79 19:12:50 ---> 690ae457af66 19:12:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:12:50 ---> Running in 371a57bdb569 19:12:50 Removing intermediate container 371a57bdb569 19:12:50 ---> a817e619a514 19:12:50 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:12:50 ---> Running in bb3bbf3f6073 19:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:12:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:12:51 OK: 264 MiB in 52 packages 19:12:51 Removing intermediate container bb3bbf3f6073 19:12:51 ---> 41a0c15b0e44 19:12:51 Step 7/24 : COPY go.mod vendor* ./ 19:12:51 ---> bd5647cd5813 19:12:51 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:12:51 ---> Running in 48b6313ea2f2 19:12:52 Removing intermediate container 48b6313ea2f2 19:12:52 ---> 071f282de455 19:12:52 Step 9/24 : COPY . . 19:12:52 ---> a061cb3cbc56 19:12:52 Step 10/24 : RUN ${MAKE} 19:12:52 ---> Running in 4ebbd7d94146 19:12:52 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 19:13:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7584 in /w/workspace/edgexfoundry_device-s7_PR-11 [Pipeline] { [Pipeline] ws 19:13:03 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:13:06 Selected Git installation does not exist. Using Default 19:13:06 The recommended git tool is: NONE 19:13:14 Removing intermediate container 4ebbd7d94146 19:13:14 ---> 23c2cec86684 19:13:14 Step 11/24 : FROM alpine:3.18 19:13:14 3.18: Pulling from library/alpine 19:13:14 930bdd4d222e: Pulling fs layer 19:13:14 930bdd4d222e: Verifying Checksum 19:13:14 930bdd4d222e: Download complete 19:13:14 930bdd4d222e: Pull complete 19:13:14 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 19:13:14 Status: Downloaded newer image for alpine:3.18 19:13:14 ---> 18f865063206 19:13:14 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:13:14 ---> Running in 8335a244eadb 19:13:14 Removing intermediate container 8335a244eadb 19:13:14 ---> a4489f9f17da 19:13:14 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:13:14 ---> Running in fc524551c7b6 19:13:14 using credential edgex-jenkins-ssh 19:13:14 Cloning the remote Git repository 19:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:13:15 (1/1) Installing dumb-init (1.2.5-r2) 19:13:15 Executing busybox-1.36.1-r7.trigger 19:13:15 OK: 7 MiB in 16 packages 19:13:15 Removing intermediate container fc524551c7b6 19:13:15 ---> b04d56d73a2b 19:13:15 Step 14/24 : RUN apk --no-cache upgrade 19:13:15 ---> Running in d7f14a36ce11 19:13:14 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:13:14 > git init /w/workspace/device-s7/1 # timeout=10 19:13:15 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:13:15 > git --version # timeout=10 19:13:15 > git --version # 'git version 2.25.1' 19:13:15 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:13:16 OK: 7 MiB in 16 packages 19:13:16 Removing intermediate container d7f14a36ce11 19:13:16 ---> 2bc331176262 19:13:16 Step 15/24 : WORKDIR / 19:13:16 ---> Running in 9f2f9c3f89e1 19:13:16 Removing intermediate container 9f2f9c3f89e1 19:13:16 ---> fe7dee28df37 19:13:16 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:13:16 ---> a1f7948fefed 19:13:16 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:13:15 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:13:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:13:17 ---> 3a0c3b0a99d1 19:13:17 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:13:17 ---> 115874100e2a 19:13:17 Step 19/24 : EXPOSE 59994 19:13:17 ---> Running in 0fd273d3e1bb 19:13:17 Removing intermediate container 0fd273d3e1bb 19:13:17 ---> 330b3ab950e2 19:13:17 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:13:17 Merging remotes/origin/main commit 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 into PR head commit d61501fcc8e6ff122b4cc5c2e56298e658b36994 19:13:17 ---> Running in dae44ad448fd 19:13:17 Removing intermediate container dae44ad448fd 19:13:17 ---> 7a9588775494 19:13:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:13:17 ---> Running in 466e8b796177 19:13:17 Removing intermediate container 466e8b796177 19:13:17 ---> fcec723765e1 19:13:17 Step 22/24 : LABEL arch=amd64 19:13:17 ---> Running in f5deb9462e57 19:13:18 Merge succeeded, producing d61501fcc8e6ff122b4cc5c2e56298e658b36994 19:13:18 Checking out Revision d61501fcc8e6ff122b4cc5c2e56298e658b36994 (PR-11) 19:13:18 Removing intermediate container f5deb9462e57 19:13:18 ---> ef221a41501c 19:13:18 Step 23/24 : LABEL git_sha=d61501fcc8e6ff122b4cc5c2e56298e658b36994 19:13:18 ---> Running in 92a677686b2f 19:13:18 Removing intermediate container 92a677686b2f 19:13:18 ---> 90b6e19b5764 19:13:18 Step 24/24 : LABEL version=0.0.0 19:13:18 ---> Running in 5273c164ebcf 19:13:18 Removing intermediate container 5273c164ebcf 19:13:18 ---> 15d9544bcf46 19:13:18 [Warning] One or more build-args [ARCH] were not consumed 19:13:18 Successfully built 15d9544bcf46 19:13:18 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] } 19:13:17 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:13:17 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:13:17 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/11/head:refs/remotes/origin/PR-11 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:13:17 > git config core.sparsecheckout # timeout=10 19:13:17 > git checkout -f d61501fcc8e6ff122b4cc5c2e56298e658b36994 # timeout=10 19:13:18 > git remote # timeout=10 19:13:18 > git config --get remote.origin.url # timeout=10 19:13:18 using GIT_SSH to set credentials SSH Credentials for GitHub 19:13:18 > git merge 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 # timeout=10 19:13:18 > git rev-parse HEAD^{commit} # timeout=10 19:13:18 > git config core.sparsecheckout # timeout=10 19:13:18 > git checkout -f d61501fcc8e6ff122b4cc5c2e56298e658b36994 # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } 19:13:18 Commit message: "Bump github.com/spf13/cast from 1.6.0 to 1.7.0" [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 19:13:19 > git --version # timeout=10 19:13:19 > git --version # 'git version 2.25.1' 19:13:19 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:19 19:13:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:19 latest: Pulling from edgex-lftools-log-publisher 19:13:19 5eb5b503b376: Pulling fs layer 19:13:19 5c69ac0246d0: Pulling fs layer 19:13:19 ec43610c2a17: Pulling fs layer 19:13:19 3a2ae6a8a46f: Pulling fs layer 19:13:19 33b1e0a273af: Pulling fs layer 19:13:19 5d3b04190fa2: Pulling fs layer 19:13:19 2f39f015ded8: Pulling fs layer 19:13:19 33b1e0a273af: Waiting 19:13:19 5d3b04190fa2: Waiting 19:13:19 3a2ae6a8a46f: Waiting 19:13:19 2f39f015ded8: Waiting 19:13:19 5c69ac0246d0: Verifying Checksum 19:13:19 5c69ac0246d0: Download complete 19:13:19 3a2ae6a8a46f: Download complete 19:13:19 33b1e0a273af: Verifying Checksum 19:13:19 33b1e0a273af: Download complete 19:13:19 ec43610c2a17: Verifying Checksum 19:13:19 ec43610c2a17: Download complete 19:13:19 5d3b04190fa2: Verifying Checksum 19:13:19 5d3b04190fa2: Download complete 19:13:20 5eb5b503b376: Verifying Checksum 19:13:20 5eb5b503b376: Download complete 19:13:20 2f39f015ded8: Download complete 19:13:21 5eb5b503b376: Pull complete 19:13:21 5c69ac0246d0: Pull complete 19:13:21 ec43610c2a17: Pull complete 19:13:22 3a2ae6a8a46f: Pull complete 19:13:22 33b1e0a273af: Pull complete 19:13:22 5d3b04190fa2: Pull complete 19:13:23 19:13:23 GitHub has been notified of this commit’s build result 19:13:23 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:13:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:13:24 % Total % Received % Xferd Average Speed Time Time Time Current 19:13:24 Dload Upload Total Spent Left Speed 19:13:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 92 12828 92 11847 0 0 96317 0 --:--:-- --:--:-- --:--:-- 95540 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 19:13:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:13:24 + + sudo tee /etc/docker/daemon.newsudo 19:13:24 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:13:24 { 19:13:24 "registry-mirrors": [ 19:13:24 "https://nexus3.edgexfoundry.org:10001" 19:13:24 ], 19:13:24 "bip": "10.250.0.254/24", 19:13:24 "hosts": [ 19:13:24 "tcp://0.0.0.0:5555", 19:13:24 "unix:///var/run/docker.sock" 19:13:24 ], 19:13:24 "mtu": 1458, 19:13:24 "selinux-enabled": true, 19:13:24 "seccomp-profile": "/etc/docker/seccomp.json" 19:13:24 } [Pipeline] sh 19:13:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:13:25 + sudo service docker restart 19:13:26 2f39f015ded8: Pull complete 19:13:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:26 prd-ubuntu20.04-docker-8c-8g-7583 does not seem to be running inside a container 19:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-11 -v /w/workspace/edgexfoundry_device-s7_PR-11:/w/workspace/edgexfoundry_device-s7_PR-11:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-11@tmp:/w/workspace/edgexfoundry_device-s7_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:13:31 $ docker top 626497e62a0f0f66b4251f1a27bdfe14abaaa7c74f630a13889e5ecf0427b947 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:32 ---> job-cost.sh 19:13:32 lf-activate-venv: SKIPPING 19:13:32 INFO: No Stack... 19:13:32 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:33 INFO: Archiving Costs [Pipeline] sh 19:13:33 + cat /w/workspace/edgexfoundry_device-s7_PR-11/archives/cost.csv 19:13:33 + cut -d, -f6 [Pipeline] lock 19:13:33 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] 19:13:33 Resource [jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] did not exist. Created. 19:13:33 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:13:33 + echo total: 0.2199999988079071 [Pipeline] stash 19:13:34 Stashed 1 file(s) [Pipeline] } 19:13:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:34 $ docker stop --time=1 626497e62a0f0f66b4251f1a27bdfe14abaaa7c74f630a13889e5ecf0427b947 19:13:35 $ docker rm -f --volumes 626497e62a0f0f66b4251f1a27bdfe14abaaa7c74f630a13889e5ecf0427b947 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:43 provisioning config files... 19:13:43 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config8400510987286320353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:44 ---> ****-login.sh 19:13:44 nexus3.edgexfoundry.org:10001 19:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:13:44 Configure a credential helper to remove this warning. See 19:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:13:44 19:13:44 Login Succeeded 19:13:44 nexus3.edgexfoundry.org:10002 19:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:13:45 Configure a credential helper to remove this warning. See 19:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:13:45 19:13:45 Login Succeeded 19:13:45 nexus3.edgexfoundry.org:10003 19:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:13:45 Configure a credential helper to remove this warning. See 19:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:13:45 19:13:45 Login Succeeded 19:13:45 nexus3.edgexfoundry.org:10004 19:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:13:46 Configure a credential helper to remove this warning. See 19:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:13:46 19:13:46 Login Succeeded 19:13:46 ****.io 19:13:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:13:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:13:46 Configure a credential helper to remove this warning. See 19:13:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:13:46 19:13:46 Login Succeeded 19:13:46 ---> ****-login.sh ends [Pipeline] } 19:13:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:13:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:13:47 ========================================================= 19:13:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:13:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:13:47 Sending build context to Docker daemon 283.6kB 19:13:47 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:13:47 Step 2/10 : FROM ${BASE} AS builder 19:13:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:13:48 c6b39de5b339: Pulling fs layer 19:13:48 a69c41024577: Pulling fs layer 19:13:48 d6de4b400683: Pulling fs layer 19:13:48 35cb2a7552d0: Pulling fs layer 19:13:48 4f4fb700ef54: Pulling fs layer 19:13:48 464afbd9ba4c: Pulling fs layer 19:13:48 00f215d4a9da: Pulling fs layer 19:13:48 d496ad576159: Pulling fs layer 19:13:48 35cb2a7552d0: Waiting 19:13:48 4f4fb700ef54: Waiting 19:13:48 464afbd9ba4c: Waiting 19:13:48 00f215d4a9da: Waiting 19:13:48 d496ad576159: Waiting 19:13:48 a69c41024577: Download complete 19:13:48 35cb2a7552d0: Verifying Checksum 19:13:48 35cb2a7552d0: Download complete 19:13:48 4f4fb700ef54: Download complete 19:13:48 c6b39de5b339: Verifying Checksum 19:13:48 464afbd9ba4c: Verifying Checksum 19:13:48 c6b39de5b339: Download complete 19:13:48 464afbd9ba4c: Download complete 19:13:48 d496ad576159: Verifying Checksum 19:13:48 d496ad576159: Download complete 19:13:49 c6b39de5b339: Pull complete 19:13:49 a69c41024577: Pull complete 19:13:49 d6de4b400683: Verifying Checksum 19:13:49 d6de4b400683: Download complete 19:13:50 00f215d4a9da: Download complete 19:14:03 d6de4b400683: Pull complete 19:14:03 35cb2a7552d0: Pull complete 19:14:03 4f4fb700ef54: Pull complete 19:14:03 464afbd9ba4c: Pull complete 19:14:13 00f215d4a9da: Pull complete 19:14:13 d496ad576159: Pull complete 19:14:13 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 19:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:14:13 ---> f246e2811388 19:14:13 Step 3/10 : ARG MAKE=make build 19:14:15 ---> Running in ed600e801c32 19:14:15 Removing intermediate container ed600e801c32 19:14:15 ---> b79c4aeba496 19:14:15 Step 4/10 : WORKDIR /device-s7 19:14:15 ---> Running in a7b56fed98d2 19:14:15 Removing intermediate container a7b56fed98d2 19:14:15 ---> 0c1a17163efa 19:14:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:14:15 ---> Running in 9cb33f83e41d 19:14:16 Removing intermediate container 9cb33f83e41d 19:14:16 ---> 0831a739cb5b 19:14:16 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:14:16 ---> Running in 175287e602b0 19:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:14:19 OK: 266 MiB in 52 packages 19:14:19 Removing intermediate container 175287e602b0 19:14:19 ---> a14a3b8b16a1 19:14:19 Step 7/10 : COPY go.mod vendor* ./ 19:14:20 ---> ea9fea9f16b3 19:14:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:14:20 ---> Running in fe6af6ab111c 19:15:16 Removing intermediate container fe6af6ab111c 19:15:16 ---> da44e7b16472 19:15:16 Step 9/10 : COPY . . 19:15:16 ---> aceb47140e82 19:15:16 Step 10/10 : RUN ${MAKE} 19:15:16 ---> Running in dedaa068285f 19:15:16 noop 19:15:17 Removing intermediate container dedaa068285f 19:15:17 ---> ae2ecd31a864 19:15:17 Successfully built ae2ecd31a864 19:15:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:18 + docker inspect -f . ci-base-image-arm64 19:15:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:18 prd-ubuntu20.04-docker-arm64-4c-16g-7584 does not seem to be running inside a container 19:15:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:15:19 $ docker top 7b6ffb120f7bc8aaf75219d52363b6099fc15f6b09efb1e1e0b636f43c561a1f -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:20 + go version 19:15:20 go version go1.21.9 linux/arm64 [Pipeline] } 19:15:20 $ docker stop --time=1 7b6ffb120f7bc8aaf75219d52363b6099fc15f6b09efb1e1e0b636f43c561a1f 19:15:22 $ docker rm -f --volumes 7b6ffb120f7bc8aaf75219d52363b6099fc15f6b09efb1e1e0b636f43c561a1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:15:23 + docker inspect -f . ci-base-image-arm64 19:15:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:15:23 prd-ubuntu20.04-docker-arm64-4c-16g-7584 does not seem to be running inside a container 19:15:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:15:24 $ docker top 7d8c81a35135c790a33a270814c35bcc4510c6eab921c63af4e09f0109c4ea63 -eo pid,comm [Pipeline] { [Pipeline] sh 19:15:25 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:15:26 + make test 19:15:26 go test -race -coverprofile=coverage.out ./... 19:16:05 ? github.com/edgexfoundry/device-s7 [no test files] 19:17:56 ? github.com/edgexfoundry/device-s7/cmd [no test files] 19:17:56 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 19:17:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:17:56 go vet ./... 19:20:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:20:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:20:04 ./bin/test-attribution-txt.sh 19:20:04 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:20:04 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 19:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:20:04 $ docker stop --time=1 7d8c81a35135c790a33a270814c35bcc4510c6eab921c63af4e09f0109c4ea63 19:20:05 $ docker rm -f --volumes 7d8c81a35135c790a33a270814c35bcc4510c6eab921c63af4e09f0109c4ea63 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:07 Warning: overwriting stash ‘coverage-report’ 19:20:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:08 + ls -al . 19:20:08 total 132 19:20:08 drwxrwxr-x 7 jenkins jenkins 4096 Aug 12 19:15 . 19:20:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 19:13 .. 19:20:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 19:13 .git 19:20:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 19:13 .github 19:20:08 -rw-rw-r-- 1 jenkins jenkins 237 Aug 12 19:13 .gitignore 19:20:08 -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 19:13 .golangci.yml 19:20:08 -rw-rw-r-- 1 jenkins jenkins 11920 Aug 12 19:13 Attribution.txt 19:20:08 -rw-rw-r-- 1 jenkins jenkins 1546 Aug 12 19:13 Dockerfile 19:20:08 -rw-rw-r-- 1 jenkins jenkins 643 Aug 12 19:13 Jenkinsfile 19:20:08 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 12 19:13 LICENSE 19:20:08 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 12 19:13 Makefile 19:20:08 -rw-rw-r-- 1 jenkins jenkins 614 Aug 12 19:13 OWNERS.md 19:20:08 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 12 19:13 README.md 19:20:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 19:11 VERSION 19:20:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 19:13 bin 19:20:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 19:13 cmd 19:20:08 -rw-r--r-- 1 jenkins jenkins 13 Aug 12 19:15 coverage.out 19:20:08 -rw-rw-r-- 1 jenkins jenkins 3644 Aug 12 19:13 go.mod 19:20:08 -rw-rw-r-- 1 jenkins jenkins 34418 Aug 12 19:13 go.sum 19:20:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 19:13 internal 19:20:08 -rw-rw-r-- 1 jenkins jenkins 223 Aug 12 19:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:09 + 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=d61501fcc8e6ff122b4cc5c2e56298e658b36994 --label arch=arm64 --label version=0.0.0 . 19:20:09 Sending build context to Docker daemon 284.7kB 19:20:09 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 19:20:09 Step 2/24 : FROM ${BASE} AS builder 19:20:09 ---> ae2ecd31a864 19:20:09 Step 3/24 : ARG MAKE=make build 19:20:09 ---> Running in ec3efb598b4f 19:20:10 Removing intermediate container ec3efb598b4f 19:20:10 ---> 6fbff59f5444 19:20:10 Step 4/24 : WORKDIR /device-s7 19:20:10 ---> Running in a6ba6172b298 19:20:10 Removing intermediate container a6ba6172b298 19:20:10 ---> e4341053d04c 19:20:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:20:10 ---> Running in fbcc1b9d0aec 19:20:10 Removing intermediate container fbcc1b9d0aec 19:20:10 ---> b12ec6b68d7a 19:20:10 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:20:10 ---> Running in 2b8b2e21df81 19:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:20:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:20:13 OK: 266 MiB in 52 packages 19:20:14 Removing intermediate container 2b8b2e21df81 19:20:14 ---> c8ae3a3694b7 19:20:14 Step 7/24 : COPY go.mod vendor* ./ 19:20:14 ---> 74789e38e823 19:20:14 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:14 ---> Running in 5ec0b270ad68 19:20:17 Removing intermediate container 5ec0b270ad68 19:20:17 ---> 97bd8dfd277b 19:20:17 Step 9/24 : COPY . . 19:20:17 ---> 32a6c23f0b94 19:20:17 Step 10/24 : RUN ${MAKE} 19:20:17 ---> Running in 61fbe76959fa 19:20:18 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 19:22:40 Removing intermediate container 61fbe76959fa 19:22:40 ---> 528dbe0503ae 19:22:40 Step 11/24 : FROM alpine:3.18 19:22:40 3.18: Pulling from library/alpine 19:22:40 4983c3fe2029: Pulling fs layer 19:22:40 4983c3fe2029: Verifying Checksum 19:22:40 4983c3fe2029: Download complete 19:22:40 4983c3fe2029: Pull complete 19:22:40 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 19:22:40 Status: Downloaded newer image for alpine:3.18 19:22:40 ---> a0237000ae83 19:22:40 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:22:40 ---> Running in f7bc1f57aa40 19:22:40 Removing intermediate container f7bc1f57aa40 19:22:40 ---> 1d13c69a4ded 19:22:40 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:22:40 ---> Running in 67db3c05a8d0 19:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:22:40 (1/1) Installing dumb-init (1.2.5-r2) 19:22:40 Executing busybox-1.36.1-r7.trigger 19:22:40 OK: 8 MiB in 16 packages 19:22:40 Removing intermediate container 67db3c05a8d0 19:22:40 ---> c6c0eae08550 19:22:40 Step 14/24 : RUN apk --no-cache upgrade 19:22:40 ---> Running in 58b75a3ced9b 19:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:22:40 OK: 8 MiB in 16 packages 19:22:40 Removing intermediate container 58b75a3ced9b 19:22:40 ---> 7d9cfa3bf388 19:22:40 Step 15/24 : WORKDIR / 19:22:40 ---> Running in 61d18710c570 19:22:40 Removing intermediate container 61d18710c570 19:22:40 ---> 92e588ba2cac 19:22:40 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:22:40 ---> 729dd3f5548d 19:22:40 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:22:40 ---> dd02c5bf528f 19:22:40 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:22:40 ---> dbf1efbb0537 19:22:40 Step 19/24 : EXPOSE 59994 19:22:40 ---> Running in f57876eab804 19:22:40 Removing intermediate container f57876eab804 19:22:40 ---> fdc7fb33834f 19:22:40 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:22:40 ---> Running in ff60f14f9513 19:22:40 Removing intermediate container ff60f14f9513 19:22:40 ---> 4852a6a324ec 19:22:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:22:40 ---> Running in a030010f3668 19:22:40 Removing intermediate container a030010f3668 19:22:40 ---> bfd384f7a914 19:22:40 Step 22/24 : LABEL arch=arm64 19:22:40 ---> Running in 887d65e7136d 19:22:40 Removing intermediate container 887d65e7136d 19:22:40 ---> 3101191aeea1 19:22:40 Step 23/24 : LABEL git_sha=d61501fcc8e6ff122b4cc5c2e56298e658b36994 19:22:40 ---> Running in a856b3527482 19:22:40 Removing intermediate container a856b3527482 19:22:40 ---> 7075e5c5b23b 19:22:40 Step 24/24 : LABEL version=0.0.0 19:22:40 ---> Running in 9d90c07bb665 19:22:40 Removing intermediate container 9d90c07bb665 19:22:40 ---> 480f51f998a1 19:22:40 [Warning] One or more build-args [ARCH] were not consumed 19:22:40 Successfully built 480f51f998a1 19:22:40 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:41 19:22:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:41 arm64: Pulling from edgex-lftools-log-publisher 19:22:41 8998bd30e6a1: Pulling fs layer 19:22:41 04944245beec: Pulling fs layer 19:22:41 699f458cf7ca: Pulling fs layer 19:22:41 765212b225bb: Pulling fs layer 19:22:41 f23df028b6ca: Pulling fs layer 19:22:41 d65c8cfc05b1: Pulling fs layer 19:22:41 2437ff75d9bd: Pulling fs layer 19:22:41 765212b225bb: Waiting 19:22:41 f23df028b6ca: Waiting 19:22:41 d65c8cfc05b1: Waiting 19:22:41 2437ff75d9bd: Waiting 19:22:41 04944245beec: Verifying Checksum 19:22:41 04944245beec: Download complete 19:22:41 765212b225bb: Verifying Checksum 19:22:41 765212b225bb: Download complete 19:22:41 f23df028b6ca: Download complete 19:22:41 d65c8cfc05b1: Verifying Checksum 19:22:41 d65c8cfc05b1: Download complete 19:22:42 699f458cf7ca: Verifying Checksum 19:22:42 699f458cf7ca: Download complete 19:22:42 8998bd30e6a1: Verifying Checksum 19:22:42 8998bd30e6a1: Download complete 19:22:45 2437ff75d9bd: Verifying Checksum 19:22:45 2437ff75d9bd: Download complete 19:22:47 8998bd30e6a1: Pull complete 19:22:47 04944245beec: Pull complete 19:22:49 699f458cf7ca: Pull complete 19:22:49 765212b225bb: Pull complete 19:22:50 f23df028b6ca: Pull complete 19:22:50 d65c8cfc05b1: Pull complete 19:23:08 2437ff75d9bd: Pull complete 19:23:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:23:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:08 prd-ubuntu20.04-docker-arm64-4c-16g-7584 does not seem to be running inside a container 19:23:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-s7/1 -v /w/workspace/device-s7/1:/w/workspace/device-s7/1:rw,z -v /w/workspace/device-s7/1@tmp:/w/workspace/device-s7/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:23:11 $ docker top 1035d2e59ae1cdca2bac9324fb99005d2dea0b9f2206231c94eb64a674c75e38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:23:12 ---> job-cost.sh 19:23:12 lf-activate-venv: SKIPPING 19:23:12 INFO: No Stack... 19:23:12 INFO: Retrieving Pricing Info for: v3-standard-4 19:23:13 INFO: Archiving Costs [Pipeline] sh 19:23:14 + cat /w/workspace/device-s7/1/archives/cost.csv 19:23:14 + cut -d, -f6 [Pipeline] lock 19:23:14 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] 19:23:14 Resource [jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] did not exist. Created. 19:23:14 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:23:14 /w/workspace/device-s7/1@tmp/durable-1df9077c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:23:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:23:15 Warning: overwriting stash ‘stack-cost’ 19:23:15 Stashed 1 file(s) [Pipeline] } 19:23:15 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-11-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:23:15 $ docker stop --time=1 1035d2e59ae1cdca2bac9324fb99005d2dea0b9f2206231c94eb64a674c75e38 19:23:17 $ docker rm -f --volumes 1035d2e59ae1cdca2bac9324fb99005d2dea0b9f2206231c94eb64a674c75e38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:23:18 provisioning config files... 19:23:18 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-11@tmp/config3746791412062154224tmp [Pipeline] { [Pipeline] sh 19:23:18 + set +x 19:23:18 + bash -s -- 19:23:18 + curl -s https://codecov.io/bash 19:23:18 19:23:18 _____ _ 19:23:18 / ____| | | 19:23:18 | | ___ __| | ___ ___ _____ __ 19:23:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:23:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:23:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:23:18 Bash-1.0.6 19:23:18 19:23:18 19:23:18 ==> git version 2.25.1 found 19:23:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:23:18 Release-Date: 2020-01-08 19:23:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:23:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:23:18 ==> Jenkins CI detected. 19:23:18 current dir:  /w/workspace/edgexfoundry_device-s7_PR-11 19:23:18 project root: . 19:23:18 --> token set from env 19:23:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:23:18 ==> Running gcov in . (disable via -X gcov) 19:23:18 ==> Python coveragepy not found 19:23:18 ==> Searching for coverage reports in: 19:23:18 + . 19:23:18 -> Found 1 reports 19:23:18 ==> Detecting git/mercurial file structure 19:23:18 ==> Reading reports 19:23:18 + ./coverage.out bytes=13 19:23:18 ==> Appending adjustments 19:23:18 https://docs.codecov.io/docs/fixing-reports 19:23:18 + Found adjustments 19:23:18 ==> Gzipping contents 19:23:18 4.0K /tmp/codecov.XIEwcX.gz 19:23:18 ==> Uploading reports 19:23:18 url: https://codecov.io 19:23:18 query: branch=PR-11&commit=d61501fcc8e6ff122b4cc5c2e56298e658b36994&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-11%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=11&job=&cmd_args= 19:23:18 -> Pinging Codecov 19:23:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-11&commit=d61501fcc8e6ff122b4cc5c2e56298e658b36994&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-11%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=11&job=&cmd_args= 19:23:19 -> Uploading to 19:23:19 https://storage.googleapis.com/codecov/v4/raw/2024-08-12/4B6A60F249F899673AFAFF81AC620B19/d61501fcc8e6ff122b4cc5c2e56298e658b36994/90c23d1d-bbac-4b73-9f44-2b7c496d48f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240812%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240812T192319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adf92116a1b494a35ae4d5e43179e712b999d58a61a4870dc20cdcf48314d6cc 19:23:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:23:19 Dload Upload Total Spent Left Speed 19:23:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 866 0 0 100 866 0 3716 --:--:-- --:--:-- --:--:-- 3716 19:23:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/d61501fcc8e6ff122b4cc5c2e56298e658b36994 [Pipeline] } 19:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:23:21 + [ -d /w/workspace/edgexfoundry_device-s7_PR-11/archives ] 19:23:21 + ls -al /w/workspace/edgexfoundry_device-s7_PR-11/archives 19:23:21 total 16 19:23:21 drwxr-xr-x 3 root root 4096 Aug 12 19:13 . 19:23:21 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 19:13 .. 19:23:21 drwxr-xr-x 2 root root 4096 Aug 12 19:13 cost 19:23:21 -rw-r--r-- 1 root root 80 Aug 12 19:13 cost.csv 19:23:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-11/archives 19:23:21 + ls -al /w/workspace/edgexfoundry_device-s7_PR-11/archives 19:23:21 total 16 19:23:21 drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 19:13 . 19:23:21 drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 19:13 .. 19:23:21 drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 19:13 cost 19:23:21 -rw-r--r-- 1 jenkins jenkins 80 Aug 12 19:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:23:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:23:23 ---> package-listing.sh 19:23:23 ++ facter osfamily 19:23:23 ++ tr '[:upper:]' '[:lower:]' 19:23:23 + OS_FAMILY=debian 19:23:23 + workspace=/w/workspace/edgexfoundry_device-s7_PR-11 19:23:23 + START_PACKAGES=/tmp/packages_start.txt 19:23:23 + END_PACKAGES=/tmp/packages_end.txt 19:23:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:23:23 + PACKAGES=/tmp/packages_start.txt 19:23:23 + '[' /w/workspace/edgexfoundry_device-s7_PR-11 ']' 19:23:23 + PACKAGES=/tmp/packages_end.txt 19:23:23 + case "${OS_FAMILY}" in 19:23:23 + dpkg -l 19:23:23 + grep '^ii' 19:23:23 + '[' -f /tmp/packages_start.txt ']' 19:23:23 + '[' -f /tmp/packages_end.txt ']' 19:23:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:23:23 + '[' /w/workspace/edgexfoundry_device-s7_PR-11 ']' 19:23:23 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-11/archives/ 19:23:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-11/archives/ [Pipeline] echo 19:23:23 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-11/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:23:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:23:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:24 prd-ubuntu20.04-docker-8c-8g-7583 does not seem to be running inside a container 19:23:24 $ 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-11/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-11 -v /w/workspace/edgexfoundry_device-s7_PR-11:/w/workspace/edgexfoundry_device-s7_PR-11:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-11@tmp:/w/workspace/edgexfoundry_device-s7_PR-11@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:23:24 $ docker top 61aa29b22423b2707f43f7c5778a28b80ebf15948e4133848b125021ccc3d4f1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:25 + touch /tmp/pre-build-complete [Pipeline] sh 19:23:25 + mkdir -p /var/log/sysstat [Pipeline] sh 19:23:25 + ls /var/log/sa-host 19:23:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:23:26 provisioning config files... 19:23:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-11@tmp/config4087320589956058843tmp [Pipeline] { [Pipeline] echo 19:23:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:23:26 ---> create-netrc.sh [Pipeline] } 19:23:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:23:26 ---> python-tools-install.sh [Pipeline] echo 19:23:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:23:27 ---> sudo-logs.sh 19:23:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:23:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:23:27 ---> job-cost.sh 19:23:27 lf-activate-venv: SKIPPING 19:23:27 DEBUG: total: 0.2199999988079071 19:23:27 INFO: Retrieving Stack Cost... 19:23:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:23:28 INFO: Archiving Costs [Pipeline] echo 19:23:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:23:28 ---> logs-deploy.sh 19:23:28 lf-activate-venv: SKIPPING 19:23:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-11/1 19:23:28 INFO: archiving workspace using pattern(s): 19:23:29 Archives upload complete. 19:23:29 INFO: archiving logs to Nexus