Pull request #10 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14351173d587fe3916287a83a3121dd51a819233+9533422fec4002a0eebecd302b6b995f723b0f25 (cf0b669c0000ba51f3ae622d64be503ec68cc922) 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-ssh15804428909066145387.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh17462718188051420539.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-10/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-10/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8101168696541422808.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-10/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10855003199493615006.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh2660003287518914783.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-10/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-10/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13346734073670848401.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-109 in /w/workspace/edgexfoundry_device-s7_PR-10 [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-10 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9533422fec4002a0eebecd302b6b995f723b0f25 into PR head commit 14351173d587fe3916287a83a3121dd51a819233 Merge succeeded, producing 14351173d587fe3916287a83a3121dd51a819233 Checking out Revision 14351173d587fe3916287a83a3121dd51a819233 (PR-10) Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v3 from 3.1.0 to 3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/10/head:refs/remotes/origin/PR-10 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14351173d587fe3916287a83a3121dd51a819233 # 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 9533422fec4002a0eebecd302b6b995f723b0f25 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14351173d587fe3916287a83a3121dd51a819233 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:54:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:54:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:54:25 ========================================================= 19:54:25 EdgeX Global Pipelines Version Info 19:54:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:54:26 ------------------- 19:54:26 stable info: 19:54:26 ------------------- 19:54:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:54:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 19:54:26 Message: update stable to v1.0.258 19:54:26 ------------------- 19:54:26 experimental info: 19:54:26 ------------------- 19:54:26 Commited By: **** collab-it+edgex@linuxfoundation.org 19:54:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 19:54:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:54:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-10 [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-10 [Pipeline] echo 19:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-10 [Pipeline] echo 19:54:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14351173d587fe3916287a83a3121dd51a819233 [Pipeline] echo 19:54:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1435117 [Pipeline] echo 19:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:29 provisioning config files... 19:54:29 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-10@tmp/config8133871805879388855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:29 ---> ****-login.sh 19:54:29 nexus3.edgexfoundry.org:10001 19:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:29 Configure a credential helper to remove this warning. See 19:54:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:29 19:54:29 Login Succeeded 19:54:29 nexus3.edgexfoundry.org:10002 19:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:30 Configure a credential helper to remove this warning. See 19:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:30 19:54:30 Login Succeeded 19:54:30 nexus3.edgexfoundry.org:10003 19:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:30 Configure a credential helper to remove this warning. See 19:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:30 19:54:30 Login Succeeded 19:54:30 nexus3.edgexfoundry.org:10004 19:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:30 Configure a credential helper to remove this warning. See 19:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:30 19:54:30 Login Succeeded 19:54:30 ****.io 19:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:30 Configure a credential helper to remove this warning. See 19:54:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:30 19:54:30 Login Succeeded 19:54:30 ---> ****-login.sh ends [Pipeline] } 19:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:54:31 + git rev-list -1 --merges 14351173d587fe3916287a83a3121dd51a819233~1..14351173d587fe3916287a83a3121dd51a819233 [Pipeline] echo 19:54:31 -----------> git rev-list -1 --merges 14351173d587fe3916287a83a3121dd51a819233~1..14351173d587fe3916287a83a3121dd51a819233 14351173d587fe3916287a83a3121dd51a819233 [false] [Pipeline] sh 19:54:31 + git log --format=format:%s -1 14351173d587fe3916287a83a3121dd51a819233 [Pipeline] echo 19:54:31 ========================================================= 19:54:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:54:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:54:32 + git log --format=format:%s -1 14351173d587fe3916287a83a3121dd51a819233 [Pipeline] echo 19:54:32 [semverPrep] GIT_COMMIT: 14351173d587fe3916287a83a3121dd51a819233, Commit Message: Bump github.com/edgexfoundry/device-sdk-go/v3 from 3.1.0 to 3.1.1 [Pipeline] echo 19:54:32 [semverPrep] This is not a build commit. [Pipeline] sh 19:54:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:54:32 + grep -v github /etc/ssh/ssh_known_hosts 19:54:32 + [ -e /tmp/ssh_known_hosts ] 19:54:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:54:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 19:54:32 sudo tee -a /etc/ssh/ssh_known_hosts 19:54:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:54:33 19:54:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:54:33 0.1.4: Pulling from edgex-devops/py-git-semver 19:54:33 b85a868b505f: Pulling fs layer 19:54:33 e2be974225ed: Pulling fs layer 19:54:33 339a4e72a1f5: Pulling fs layer 19:54:33 988bab9f4d93: Pulling fs layer 19:54:33 1469e6f7b9e6: Pulling fs layer 19:54:33 eaf3925da568: Pulling fs layer 19:54:33 bab4dde63d76: Pulling fs layer 19:54:33 bde34c3a00c8: Pulling fs layer 19:54:33 b352a97aabf1: Pulling fs layer 19:54:33 4872d77fe225: Pulling fs layer 19:54:33 5851b861e8e6: Pulling fs layer 19:54:33 bab4dde63d76: Waiting 19:54:33 4872d77fe225: Waiting 19:54:33 5851b861e8e6: Waiting 19:54:33 bde34c3a00c8: Waiting 19:54:33 b352a97aabf1: Waiting 19:54:33 988bab9f4d93: Waiting 19:54:33 1469e6f7b9e6: Waiting 19:54:33 eaf3925da568: Waiting 19:54:33 e2be974225ed: Download complete 19:54:33 988bab9f4d93: Verifying Checksum 19:54:33 988bab9f4d93: Download complete 19:54:33 1469e6f7b9e6: Verifying Checksum 19:54:33 1469e6f7b9e6: Download complete 19:54:34 eaf3925da568: Verifying Checksum 19:54:34 eaf3925da568: Download complete 19:54:34 339a4e72a1f5: Verifying Checksum 19:54:34 339a4e72a1f5: Download complete 19:54:34 bde34c3a00c8: Verifying Checksum 19:54:34 bde34c3a00c8: Download complete 19:54:34 b352a97aabf1: Download complete 19:54:34 4872d77fe225: Download complete 19:54:34 5851b861e8e6: Verifying Checksum 19:54:34 5851b861e8e6: Download complete 19:54:34 b85a868b505f: Verifying Checksum 19:54:34 b85a868b505f: Download complete 19:54:34 bab4dde63d76: Verifying Checksum 19:54:34 bab4dde63d76: Download complete 19:54:35 b85a868b505f: Pull complete 19:54:35 e2be974225ed: Pull complete 19:54:35 339a4e72a1f5: Pull complete 19:54:36 988bab9f4d93: Pull complete 19:54:36 1469e6f7b9e6: Pull complete 19:54:36 eaf3925da568: Pull complete 19:54:38 bab4dde63d76: Pull complete 19:54:38 bde34c3a00c8: Pull complete 19:54:38 b352a97aabf1: Pull complete 19:54:38 4872d77fe225: Pull complete 19:54:38 5851b861e8e6: Pull complete 19:54:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:54:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:38 prd-ubuntu20.04-docker-8c-8g-109 does not seem to be running inside a container 19:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-10 -v /w/workspace/edgexfoundry_device-s7_PR-10:/w/workspace/edgexfoundry_device-s7_PR-10:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-10@tmp:/w/workspace/edgexfoundry_device-s7_PR-10@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:54:41 $ docker top 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 -eo pid,comm 19:54:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:54:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:54:42 [ssh-agent] Looking for ssh-agent implementation... 19:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:54:42 $ docker exec 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 ssh-agent 19:54:42 SSH_AUTH_SOCK=/tmp/ssh-LK5B32nZNrQQ/agent.32 19:54:42 SSH_AGENT_PID=38 19:54:42 Running ssh-add (command line suppressed) 19:54:42 Identity added: /w/workspace/edgexfoundry_device-s7_PR-10@tmp/private_key_891756254445536949.key (/w/workspace/edgexfoundry_device-s7_PR-10@tmp/private_key_891756254445536949.key) 19:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:54:42 + git tag --points-at HEAD [Pipeline] } 19:54:42 $ docker exec --env ******** --env ******** 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 ssh-agent -k 19:54:42 unset SSH_AUTH_SOCK; 19:54:42 unset SSH_AGENT_PID; 19:54:42 echo Agent pid 38 killed; 19:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:54:43 [ssh-agent] Looking for ssh-agent implementation... 19:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:54:43 $ docker exec 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 ssh-agent 19:54:43 SSH_AUTH_SOCK=/tmp/ssh-KagzyJhZgJdD/agent.71 19:54:43 SSH_AGENT_PID=77 19:54:43 Running ssh-add (command line suppressed) 19:54:43 Identity added: /w/workspace/edgexfoundry_device-s7_PR-10@tmp/private_key_17625076369452502958.key (/w/workspace/edgexfoundry_device-s7_PR-10@tmp/private_key_17625076369452502958.key) 19:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:54:43 + git semver init 19:54:44 2024-05-13 19:54:43,923 [run_init] DEBUG init version:0.0.0 force:False 19:54:44 2024-05-13 19:54:43,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-10/.semver 19:54:44 2024-05-13 19:54:43,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-10/.semver 19:54:44 2024-05-13 19:54:43,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-10/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-10, universal_newlines=False, shell=None, istream=None) 19:54:44 2024-05-13 19:54:44,433 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-10/.git/info/exclude 19:54:44 2024-05-13 19:54:44,433 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-10/.semver/PR-10 with force:False 19:54:44 2024-05-13 19:54:44,434 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-10/.semver/PR-10 19:54:44 2024-05-13 19:54:44,437 [execute] INFO git cat-file --batch-check 19:54:44 2024-05-13 19:54:44,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-10/.semver, universal_newlines=False, shell=None, istream=) 19:54:44 2024-05-13 19:54:44,444 [execute] INFO git cat-file --batch 19:54:44 2024-05-13 19:54:44,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-10/.semver, universal_newlines=False, shell=None, istream=) 19:54:44 2024-05-13 19:54:44,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-10/.semver/PR-10 19:54:44 0.0.0 [Pipeline] } 19:54:44 $ docker exec --env ******** --env ******** 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 ssh-agent -k 19:54:44 unset SSH_AUTH_SOCK; 19:54:44 unset SSH_AGENT_PID; 19:54:44 echo Agent pid 77 killed; 19:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:54:45 + git semver [Pipeline] } 19:54:45 $ docker stop --time=1 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 19:54:46 $ docker rm -f --volumes 36c6417a9cbb76a4a14c795e602cf965c2bdbaa06a068559faf40af66fb22c62 [Pipeline] // withDockerContainer [Pipeline] sh 19:54:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:54:47 Stashed 1 file(s) [Pipeline] echo 19:54:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:48 provisioning config files... 19:54:48 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-10@tmp/config17062192891136394478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:48 ---> ****-login.sh 19:54:48 nexus3.edgexfoundry.org:10001 19:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:48 Configure a credential helper to remove this warning. See 19:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:48 19:54:48 Login Succeeded 19:54:48 nexus3.edgexfoundry.org:10002 19:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:48 Configure a credential helper to remove this warning. See 19:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:48 19:54:48 Login Succeeded 19:54:48 nexus3.edgexfoundry.org:10003 19:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:48 Configure a credential helper to remove this warning. See 19:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:48 19:54:48 Login Succeeded 19:54:48 nexus3.edgexfoundry.org:10004 19:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:48 Configure a credential helper to remove this warning. See 19:54:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:48 19:54:48 Login Succeeded 19:54:48 ****.io 19:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:54:49 Configure a credential helper to remove this warning. See 19:54:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:54:49 19:54:49 Login Succeeded 19:54:49 ---> ****-login.sh ends [Pipeline] } 19:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:54:49 ========================================================= 19:54:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:54:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:50 + 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:54:50 Sending build context to Docker daemon 431.1kB 19:54:50 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:54:50 Step 2/10 : FROM ${BASE} AS builder 19:54:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:54:50 619be1103602: Pulling fs layer 19:54:50 7862e08f4a3e: Pulling fs layer 19:54:50 5df492c9dc93: Pulling fs layer 19:54:50 7629e6793208: Pulling fs layer 19:54:50 4f4fb700ef54: Pulling fs layer 19:54:50 fb5054dd5b73: Pulling fs layer 19:54:50 eeca6798cff9: Pulling fs layer 19:54:50 aa269ceb94a6: Pulling fs layer 19:54:50 ada007ff1a6a: Pulling fs layer 19:54:50 fb5054dd5b73: Waiting 19:54:50 7629e6793208: Waiting 19:54:50 eeca6798cff9: Waiting 19:54:50 aa269ceb94a6: Waiting 19:54:50 4f4fb700ef54: Waiting 19:54:50 ada007ff1a6a: Waiting 19:54:50 7862e08f4a3e: Verifying Checksum 19:54:50 7862e08f4a3e: Download complete 19:54:50 7629e6793208: Verifying Checksum 19:54:50 7629e6793208: Download complete 19:54:50 4f4fb700ef54: Verifying Checksum 19:54:50 4f4fb700ef54: Download complete 19:54:50 fb5054dd5b73: Download complete 19:54:50 619be1103602: Verifying Checksum 19:54:50 619be1103602: Download complete 19:54:50 eeca6798cff9: Download complete 19:54:50 619be1103602: Pull complete 19:54:50 ada007ff1a6a: Verifying Checksum 19:54:50 ada007ff1a6a: Download complete 19:54:50 7862e08f4a3e: Pull complete 19:54:50 5df492c9dc93: Verifying Checksum 19:54:50 5df492c9dc93: Download complete 19:54:51 aa269ceb94a6: Verifying Checksum 19:54:51 aa269ceb94a6: Download complete 19:54:53 5df492c9dc93: Pull complete 19:54:53 7629e6793208: Pull complete 19:54:53 4f4fb700ef54: Pull complete 19:54:53 fb5054dd5b73: Pull complete 19:54:54 eeca6798cff9: Pull complete 19:54:56 aa269ceb94a6: Pull complete 19:54:56 ada007ff1a6a: Pull complete 19:54:56 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 19:54:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:54:56 ---> f489d0715acc 19:54:56 Step 3/10 : ARG MAKE=make build 19:55:01 ---> Running in 6d9cdf64bd35 19:55:01 Removing intermediate container 6d9cdf64bd35 19:55:01 ---> 8bcd7d090367 19:55:01 Step 4/10 : WORKDIR /device-s7 19:55:01 ---> Running in aa05a4c2dc5f 19:55:01 Removing intermediate container aa05a4c2dc5f 19:55:01 ---> a79f817c4198 19:55:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:55:01 ---> Running in 5b048ddabf99 19:55:01 Removing intermediate container 5b048ddabf99 19:55:01 ---> d5fae615b0d4 19:55:01 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:55:01 ---> Running in da30a87c1b6b 19:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:55:02 OK: 264 MiB in 52 packages 19:55:02 Removing intermediate container da30a87c1b6b 19:55:02 ---> 9e05d2d5f0af 19:55:02 Step 7/10 : COPY go.mod vendor* ./ 19:55:03 Still waiting to schedule task 19:55:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:55:03 ---> 3b39500049a8 19:55:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:55:03 ---> Running in d57b64682ce2 19:55:29 Removing intermediate container d57b64682ce2 19:55:29 ---> c962c396afea 19:55:29 Step 9/10 : COPY . . 19:55:29 ---> d7121a96cc4a 19:55:29 Step 10/10 : RUN ${MAKE} 19:55:29 ---> Running in 0ef6e34fa55c 19:55:29 noop 19:55:29 Removing intermediate container 0ef6e34fa55c 19:55:29 ---> 7484235f46b2 19:55:29 Successfully built 7484235f46b2 19:55:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:30 + docker inspect -f . ci-base-image-x86_64 19:55:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:30 prd-ubuntu20.04-docker-8c-8g-109 does not seem to be running inside a container 19:55:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-10 -v /w/workspace/edgexfoundry_device-s7_PR-10:/w/workspace/edgexfoundry_device-s7_PR-10:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-10@tmp:/w/workspace/edgexfoundry_device-s7_PR-10@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:55:31 $ docker top 956ce424e96ee4de190882861d59b4cfd97152692b19f568c7437d0cf61d7366 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:31 + go version 19:55:31 go version go1.21.9 linux/amd64 [Pipeline] } 19:55:31 $ docker stop --time=1 956ce424e96ee4de190882861d59b4cfd97152692b19f568c7437d0cf61d7366 19:55:32 $ docker rm -f --volumes 956ce424e96ee4de190882861d59b4cfd97152692b19f568c7437d0cf61d7366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:33 + docker inspect -f . ci-base-image-x86_64 19:55:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:33 prd-ubuntu20.04-docker-8c-8g-109 does not seem to be running inside a container 19:55:33 $ 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-10 -v /w/workspace/edgexfoundry_device-s7_PR-10:/w/workspace/edgexfoundry_device-s7_PR-10:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-10@tmp:/w/workspace/edgexfoundry_device-s7_PR-10@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:55:34 $ docker top adc9b261d73a4e80b056b04636def8857a6f1189fcf17fcc94d996b9ab8af1e8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-10 [Pipeline] fileExists [Pipeline] sh 19:55:34 + make test 19:55:34 go test -race -coverprofile=coverage.out ./... 19:55:41 ? github.com/edgexfoundry/device-s7 [no test files] 19:55:53 ? github.com/edgexfoundry/device-s7/cmd [no test files] 19:55:53 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 19:56:11 go vet ./... 19:56:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:56:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:56:15 ./bin/test-attribution-txt.sh 19:56:15 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 19:56:15 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 19:56:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:56:16 $ docker stop --time=1 adc9b261d73a4e80b056b04636def8857a6f1189fcf17fcc94d996b9ab8af1e8 19:56:20 $ docker rm -f --volumes adc9b261d73a4e80b056b04636def8857a6f1189fcf17fcc94d996b9ab8af1e8 [Pipeline] // withDockerContainer [Pipeline] sh 19:56:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:56:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:56:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:56:22 + ls -al . 19:56:22 total 136 19:56:22 drwxrwxr-x 8 jenkins jenkins 4096 May 13 19:55 . 19:56:22 drwxrwxr-x 4 jenkins jenkins 4096 May 13 19:54 .. 19:56:22 drwxrwxr-x 8 jenkins jenkins 4096 May 13 19:55 .git 19:56:22 drwxrwxr-x 2 jenkins jenkins 4096 May 13 19:54 .github 19:56:22 -rw-rw-r-- 1 jenkins jenkins 237 May 13 19:54 .gitignore 19:56:22 -rw-rw-r-- 1 jenkins jenkins 42 May 13 19:54 .golangci.yml 19:56:22 drwxr-xr-x 3 jenkins jenkins 4096 May 13 19:54 .semver 19:56:22 -rw-rw-r-- 1 jenkins jenkins 11920 May 13 19:54 Attribution.txt 19:56:22 -rw-rw-r-- 1 jenkins jenkins 1546 May 13 19:54 Dockerfile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 643 May 13 19:54 Jenkinsfile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 10947 May 13 19:54 LICENSE 19:56:22 -rw-rw-r-- 1 jenkins jenkins 1903 May 13 19:54 Makefile 19:56:22 -rw-rw-r-- 1 jenkins jenkins 614 May 13 19:54 OWNERS.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 2393 May 13 19:54 README.md 19:56:22 -rw-rw-r-- 1 jenkins jenkins 5 May 13 19:54 VERSION 19:56:22 drwxrwxr-x 2 jenkins jenkins 4096 May 13 19:54 bin 19:56:22 drwxrwxr-x 3 jenkins jenkins 4096 May 13 19:54 cmd 19:56:22 -rw-r--r-- 1 jenkins jenkins 13 May 13 19:55 coverage.out 19:56:22 -rw-rw-r-- 1 jenkins jenkins 3644 May 13 19:54 go.mod 19:56:22 -rw-rw-r-- 1 jenkins jenkins 34418 May 13 19:54 go.sum 19:56:22 drwxrwxr-x 3 jenkins jenkins 4096 May 13 19:54 internal 19:56:22 -rw-rw-r-- 1 jenkins jenkins 223 May 13 19:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:22 + 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=14351173d587fe3916287a83a3121dd51a819233 --label arch=amd64 --label version=0.0.0 . 19:56:22 Sending build context to Docker daemon 432.1kB 19:56:22 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 19:56:22 Step 2/24 : FROM ${BASE} AS builder 19:56:22 ---> 7484235f46b2 19:56:22 Step 3/24 : ARG MAKE=make build 19:56:22 ---> Running in 7dd22ec0ca9d 19:56:22 Removing intermediate container 7dd22ec0ca9d 19:56:22 ---> 264e95339934 19:56:22 Step 4/24 : WORKDIR /device-s7 19:56:22 ---> Running in 3013a736968a 19:56:23 Removing intermediate container 3013a736968a 19:56:23 ---> 57e3c1616019 19:56:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:56:23 ---> Running in b11efb99455d 19:56:23 Removing intermediate container b11efb99455d 19:56:23 ---> 1f45d78d657e 19:56:23 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:56:23 ---> Running in 248e1fa28eb5 19:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:56:25 OK: 264 MiB in 52 packages 19:56:26 Removing intermediate container 248e1fa28eb5 19:56:26 ---> 0fcbcf8487a8 19:56:26 Step 7/24 : COPY go.mod vendor* ./ 19:56:26 ---> 9dd327efd3ff 19:56:26 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:56:26 ---> Running in 8f467f8aba71 19:56:27 Removing intermediate container 8f467f8aba71 19:56:27 ---> 79376ec052fd 19:56:27 Step 9/24 : COPY . . 19:56:27 ---> e35dd40bab0b 19:56:27 Step 10/24 : RUN ${MAKE} 19:56:27 ---> Running in c8c3dec30263 19:56:27 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:56:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-110 in /w/workspace/edgexfoundry_device-s7_PR-10 [Pipeline] { [Pipeline] ws 19:56:45 Running in /w/workspace/device-s7/1 [Pipeline] { [Pipeline] checkout 19:56:48 Selected Git installation does not exist. Using Default 19:56:48 The recommended git tool is: NONE 19:56:49 Removing intermediate container c8c3dec30263 19:56:49 ---> e2a95c9a41bc 19:56:49 Step 11/24 : FROM alpine:3.18 19:56:49 3.18: Pulling from library/alpine 19:56:49 619be1103602: Already exists 19:56:49 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 19:56:49 Status: Downloaded newer image for alpine:3.18 19:56:49 ---> d3782b16ccc9 19:56:49 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:56:49 ---> Running in 9628f0080a83 19:56:49 Removing intermediate container 9628f0080a83 19:56:49 ---> fbfa9d57fd31 19:56:49 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:56:49 ---> Running in 8da7cbd1697c 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:56:49 (1/1) Installing dumb-init (1.2.5-r2) 19:56:49 Executing busybox-1.36.1-r5.trigger 19:56:49 OK: 7 MiB in 16 packages 19:56:49 Removing intermediate container 8da7cbd1697c 19:56:49 ---> 4f9a692e0752 19:56:49 Step 14/24 : RUN apk --no-cache upgrade 19:56:49 ---> Running in 3eef609c9947 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:56:49 Upgrading critical system libraries and apk-tools: 19:56:49 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 19:56:49 Executing busybox-1.36.1-r5.trigger 19:56:49 Continuing the upgrade transaction with new apk-tools: 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:56:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:56:49 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 19:56:49 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 19:56:49 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 19:56:49 OK: 7 MiB in 16 packages 19:56:49 Removing intermediate container 3eef609c9947 19:56:49 ---> c6c95a8c7ff1 19:56:49 Step 15/24 : WORKDIR / 19:56:49 ---> Running in cd61ceb5fb73 19:56:49 Removing intermediate container cd61ceb5fb73 19:56:49 ---> 91c9d15d675d 19:56:49 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:56:49 ---> 0cb7c7f53230 19:56:49 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:56:50 ---> bd65f7a0465c 19:56:50 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:56:50 ---> 93c0f002d013 19:56:50 Step 19/24 : EXPOSE 59994 19:56:50 ---> Running in 4115aec378fc 19:56:50 Removing intermediate container 4115aec378fc 19:56:50 ---> a65a0231d737 19:56:50 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:56:50 ---> Running in 0b3dc5420079 19:56:50 Removing intermediate container 0b3dc5420079 19:56:50 ---> 711da6bbdf19 19:56:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:56:50 ---> Running in a0b2df3fcc0f 19:56:50 Removing intermediate container a0b2df3fcc0f 19:56:50 ---> b993053a322b 19:56:50 Step 22/24 : LABEL arch=amd64 19:56:50 ---> Running in 10dfcb298cdc 19:56:50 Removing intermediate container 10dfcb298cdc 19:56:50 ---> 1554053310a0 19:56:50 Step 23/24 : LABEL git_sha=14351173d587fe3916287a83a3121dd51a819233 19:56:50 ---> Running in 82de38b78173 19:56:50 Removing intermediate container 82de38b78173 19:56:50 ---> a0cfa56e2ab3 19:56:50 Step 24/24 : LABEL version=0.0.0 19:56:50 ---> Running in 87decf1ff35d 19:56:50 Removing intermediate container 87decf1ff35d 19:56:50 ---> 2d6b7ce9f805 19:56:50 [Warning] One or more build-args [ARCH] were not consumed 19:56:50 Successfully built 2d6b7ce9f805 19:56:50 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:51 19:56:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:52 latest: Pulling from edgex-lftools-log-publisher 19:56:52 5eb5b503b376: Pulling fs layer 19:56:52 5c69ac0246d0: Pulling fs layer 19:56:52 ec43610c2a17: Pulling fs layer 19:56:52 3a2ae6a8a46f: Pulling fs layer 19:56:52 33b1e0a273af: Pulling fs layer 19:56:52 5d3b04190fa2: Pulling fs layer 19:56:52 2f39f015ded8: Pulling fs layer 19:56:52 33b1e0a273af: Waiting 19:56:52 3a2ae6a8a46f: Waiting 19:56:52 5d3b04190fa2: Waiting 19:56:52 5c69ac0246d0: Download complete 19:56:52 3a2ae6a8a46f: Verifying Checksum 19:56:52 3a2ae6a8a46f: Download complete 19:56:52 33b1e0a273af: Verifying Checksum 19:56:52 33b1e0a273af: Download complete 19:56:52 5d3b04190fa2: Download complete 19:56:52 ec43610c2a17: Verifying Checksum 19:56:52 ec43610c2a17: Download complete 19:56:52 using credential edgex-jenkins-ssh 19:56:52 Cloning the remote Git repository 19:56:52 5eb5b503b376: Verifying Checksum 19:56:52 5eb5b503b376: Download complete 19:56:52 Cloning repository git@github.com:edgexfoundry/device-s7.git 19:56:52 > git init /w/workspace/device-s7/1 # timeout=10 19:56:52 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:56:52 > git --version # timeout=10 19:56:52 > git --version # 'git version 2.25.1' 19:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:53 2f39f015ded8: Download complete 19:56:53 5eb5b503b376: Pull complete 19:56:53 5c69ac0246d0: Pull complete 19:56:54 ec43610c2a17: Pull complete 19:56:53 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:56:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:56:54 3a2ae6a8a46f: Pull complete 19:56:54 33b1e0a273af: Pull complete 19:56:54 5d3b04190fa2: Pull complete 19:56:54 Merging remotes/origin/main commit 9533422fec4002a0eebecd302b6b995f723b0f25 into PR head commit 14351173d587fe3916287a83a3121dd51a819233 19:56:55 Merge succeeded, producing 14351173d587fe3916287a83a3121dd51a819233 19:56:55 Checking out Revision 14351173d587fe3916287a83a3121dd51a819233 (PR-10) 19:56:54 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 19:56:54 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 19:56:54 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/10/head:refs/remotes/origin/PR-10 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:56:54 > git config core.sparsecheckout # timeout=10 19:56:54 > git checkout -f 14351173d587fe3916287a83a3121dd51a819233 # timeout=10 19:56:55 > git remote # timeout=10 19:56:55 > git config --get remote.origin.url # timeout=10 19:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:56:55 > git merge 9533422fec4002a0eebecd302b6b995f723b0f25 # timeout=10 19:56:55 > git rev-parse HEAD^{commit} # timeout=10 19:56:55 > git config core.sparsecheckout # timeout=10 19:56:55 > git checkout -f 14351173d587fe3916287a83a3121dd51a819233 # timeout=10 19:56:55 Commit message: "Bump github.com/edgexfoundry/device-sdk-go/v3 from 3.1.0 to 3.1.1" 19:56:55 > git --version # timeout=10 19:56:55 > git --version # 'git version 2.25.1' 19:56:55 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 19:56:58 2f39f015ded8: Pull complete 19:56:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:56:59 prd-ubuntu20.04-docker-8c-8g-109 does not seem to be running inside a container 19:56:59 $ 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-10 -v /w/workspace/edgexfoundry_device-s7_PR-10:/w/workspace/edgexfoundry_device-s7_PR-10:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-10@tmp:/w/workspace/edgexfoundry_device-s7_PR-10@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:56:59 19:56:59 GitHub has been notified of this commit’s build result 19:56:59 19:57:03 $ docker top 8314b470716949aa14623eb28d750f3ea8808671a7aec4456bf996e0dfec7494 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 19:57:04 ---> job-cost.sh 19:57:04 lf-activate-venv: SKIPPING 19:57:04 INFO: No Stack... [Pipeline] sh 19:57:04 INFO: Retrieving Pricing Info for: v3-standard-8 19:57:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:57:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:57:04 Dload Upload Total Spent Left Speed 19:57:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 122k 0 --:--:-- --:--:-- --:--:-- 122k [Pipeline] sh 19:57:04 INFO: Archiving Costs [Pipeline] sh 19:57:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:57:05 + cat /w/workspace/edgexfoundry_device-s7_PR-10/archives/cost.csv 19:57:05 + cut -d, -f6 [Pipeline] lock 19:57:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] 19:57:05 Resource [jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] did not exist. Created. 19:57:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] [Pipeline] { [Pipeline] unstash 19:57:05 + sudo tee /etc/docker/daemon.new 19:57:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:57:05 { 19:57:05 "registry-mirrors": [ 19:57:05 "https://nexus3.edgexfoundry.org:10001" 19:57:05 ], 19:57:05 "bip": "10.250.0.254/24", 19:57:05 "hosts": [ 19:57:05 "tcp://0.0.0.0:5555", 19:57:05 "unix:///var/run/docker.sock" 19:57:05 ], 19:57:05 "mtu": 1458, 19:57:05 "selinux-enabled": true, 19:57:05 "seccomp-profile": "/etc/docker/seccomp.json" 19:57:05 } [Pipeline] sh [Pipeline] sh 19:57:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:57:05 + echo total: 0.2199999988079071 [Pipeline] stash 19:57:05 Stashed 1 file(s) [Pipeline] } 19:57:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:57:06 $ docker stop --time=1 8314b470716949aa14623eb28d750f3ea8808671a7aec4456bf996e0dfec7494 19:57:06 + sudo service docker restart 19:57:07 $ docker rm -f --volumes 8314b470716949aa14623eb28d750f3ea8808671a7aec4456bf996e0dfec7494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:24 provisioning config files... 19:57:24 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/1@tmp/config10426852904825495157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:24 ---> ****-login.sh 19:57:24 nexus3.edgexfoundry.org:10001 19:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:25 Configure a credential helper to remove this warning. See 19:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:25 19:57:25 Login Succeeded 19:57:25 nexus3.edgexfoundry.org:10002 19:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:25 Configure a credential helper to remove this warning. See 19:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:25 19:57:25 Login Succeeded 19:57:25 nexus3.edgexfoundry.org:10003 19:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:26 Configure a credential helper to remove this warning. See 19:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:26 19:57:26 Login Succeeded 19:57:26 nexus3.edgexfoundry.org:10004 19:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:26 Configure a credential helper to remove this warning. See 19:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:26 19:57:26 Login Succeeded 19:57:26 ****.io 19:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:26 Configure a credential helper to remove this warning. See 19:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:26 19:57:26 Login Succeeded 19:57:26 ---> ****-login.sh ends [Pipeline] } 19:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:57:27 ========================================================= 19:57:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:57:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:28 + 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:57:28 Sending build context to Docker daemon 280.1kB 19:57:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 19:57:28 Step 2/10 : FROM ${BASE} AS builder 19:57:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:57:28 c6b39de5b339: Pulling fs layer 19:57:28 a69c41024577: Pulling fs layer 19:57:28 d6de4b400683: Pulling fs layer 19:57:28 35cb2a7552d0: Pulling fs layer 19:57:28 4f4fb700ef54: Pulling fs layer 19:57:28 464afbd9ba4c: Pulling fs layer 19:57:28 00f215d4a9da: Pulling fs layer 19:57:28 d496ad576159: Pulling fs layer 19:57:28 4f4fb700ef54: Waiting 19:57:28 464afbd9ba4c: Waiting 19:57:28 d496ad576159: Waiting 19:57:28 35cb2a7552d0: Waiting 19:57:28 00f215d4a9da: Waiting 19:57:28 a69c41024577: Verifying Checksum 19:57:28 a69c41024577: Download complete 19:57:28 35cb2a7552d0: Download complete 19:57:28 4f4fb700ef54: Verifying Checksum 19:57:28 4f4fb700ef54: Download complete 19:57:28 c6b39de5b339: Verifying Checksum 19:57:28 c6b39de5b339: Download complete 19:57:28 464afbd9ba4c: Verifying Checksum 19:57:28 464afbd9ba4c: Download complete 19:57:28 d496ad576159: Verifying Checksum 19:57:28 d496ad576159: Download complete 19:57:29 c6b39de5b339: Pull complete 19:57:30 a69c41024577: Pull complete 19:57:30 d6de4b400683: Verifying Checksum 19:57:30 d6de4b400683: Download complete 19:57:31 00f215d4a9da: Verifying Checksum 19:57:31 00f215d4a9da: Download complete 19:57:43 d6de4b400683: Pull complete 19:57:43 35cb2a7552d0: Pull complete 19:57:43 4f4fb700ef54: Pull complete 19:57:43 464afbd9ba4c: Pull complete 19:57:53 00f215d4a9da: Pull complete 19:57:54 d496ad576159: Pull complete 19:57:54 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 19:57:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:57:54 ---> f246e2811388 19:57:54 Step 3/10 : ARG MAKE=make build 19:57:56 ---> Running in c20184659a05 19:57:57 Removing intermediate container c20184659a05 19:57:57 ---> 2e1a2a7ba47d 19:57:57 Step 4/10 : WORKDIR /device-s7 19:57:57 ---> Running in 66162359bc0f 19:57:57 Removing intermediate container 66162359bc0f 19:57:57 ---> 29a302fb4135 19:57:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:57:57 ---> Running in 9104ab2e0b8d 19:57:57 Removing intermediate container 9104ab2e0b8d 19:57:57 ---> bb815d634f99 19:57:57 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:57:57 ---> Running in a79afb394a06 19:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:58:00 OK: 266 MiB in 52 packages 19:58:00 Removing intermediate container a79afb394a06 19:58:00 ---> d5b976bde34d 19:58:00 Step 7/10 : COPY go.mod vendor* ./ 19:58:01 ---> 1a69ed40107a 19:58:01 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:01 ---> Running in 71b8d4828d85 19:58:57 Removing intermediate container 71b8d4828d85 19:58:57 ---> 58814d170e6c 19:58:57 Step 9/10 : COPY . . 19:58:57 ---> 9e5c6bd4f44f 19:58:57 Step 10/10 : RUN ${MAKE} 19:58:57 ---> Running in 466ed4399c9b 19:58:58 noop 19:58:59 Removing intermediate container 466ed4399c9b 19:58:59 ---> 77878b46f9c4 19:58:59 Successfully built 77878b46f9c4 19:58:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:58:59 + docker inspect -f . ci-base-image-arm64 19:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:58:59 prd-ubuntu20.04-docker-arm64-4c-16g-110 does not seem to be running inside a container 19:58:59 $ 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:59:01 $ docker top 6334691436f0a94d5e9c67ad51298e49ced2272cd81ae9cd7f3b060628a666fd -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:02 + go version 19:59:02 go version go1.21.9 linux/arm64 [Pipeline] } 19:59:02 $ docker stop --time=1 6334691436f0a94d5e9c67ad51298e49ced2272cd81ae9cd7f3b060628a666fd 19:59:03 $ docker rm -f --volumes 6334691436f0a94d5e9c67ad51298e49ced2272cd81ae9cd7f3b060628a666fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:59:04 + docker inspect -f . ci-base-image-arm64 19:59:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:59:04 prd-ubuntu20.04-docker-arm64-4c-16g-110 does not seem to be running inside a container 19:59:04 $ 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:59:06 $ docker top bf3144a983b2bbabd29314bfeeb6a119030a080c13818625e4b6e597ca34fa09 -eo pid,comm [Pipeline] { [Pipeline] sh 19:59:06 + git config --global --add safe.directory /w/workspace/device-s7/1 [Pipeline] fileExists [Pipeline] sh 19:59:07 + make test 19:59:07 go test -race -coverprofile=coverage.out ./... 19:59:46 ? github.com/edgexfoundry/device-s7 [no test files] 20:01:38 ? github.com/edgexfoundry/device-s7/cmd [no test files] 20:01:38 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 20:01:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:01:38 go vet ./... 20:03:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:03:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:03:45 ./bin/test-attribution-txt.sh 20:03:45 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:03:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 20:03:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:03:45 $ docker stop --time=1 bf3144a983b2bbabd29314bfeeb6a119030a080c13818625e4b6e597ca34fa09 20:03:47 $ docker rm -f --volumes bf3144a983b2bbabd29314bfeeb6a119030a080c13818625e4b6e597ca34fa09 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:03:48 Warning: overwriting stash ‘coverage-report’ 20:03:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:49 + ls -al . 20:03:49 total 132 20:03:49 drwxrwxr-x 7 jenkins jenkins 4096 May 13 19:59 . 20:03:49 drwxrwxr-x 4 jenkins jenkins 4096 May 13 19:56 .. 20:03:49 drwxrwxr-x 8 jenkins jenkins 4096 May 13 19:56 .git 20:03:49 drwxrwxr-x 2 jenkins jenkins 4096 May 13 19:56 .github 20:03:49 -rw-rw-r-- 1 jenkins jenkins 237 May 13 19:56 .gitignore 20:03:49 -rw-rw-r-- 1 jenkins jenkins 42 May 13 19:56 .golangci.yml 20:03:49 -rw-rw-r-- 1 jenkins jenkins 11920 May 13 19:56 Attribution.txt 20:03:49 -rw-rw-r-- 1 jenkins jenkins 1546 May 13 19:56 Dockerfile 20:03:49 -rw-rw-r-- 1 jenkins jenkins 643 May 13 19:56 Jenkinsfile 20:03:49 -rw-rw-r-- 1 jenkins jenkins 10947 May 13 19:56 LICENSE 20:03:49 -rw-rw-r-- 1 jenkins jenkins 1903 May 13 19:56 Makefile 20:03:49 -rw-rw-r-- 1 jenkins jenkins 614 May 13 19:56 OWNERS.md 20:03:49 -rw-rw-r-- 1 jenkins jenkins 2393 May 13 19:56 README.md 20:03:49 -rw-rw-r-- 1 jenkins jenkins 5 May 13 19:54 VERSION 20:03:49 drwxrwxr-x 2 jenkins jenkins 4096 May 13 19:56 bin 20:03:49 drwxrwxr-x 3 jenkins jenkins 4096 May 13 19:56 cmd 20:03:49 -rw-r--r-- 1 jenkins jenkins 13 May 13 19:59 coverage.out 20:03:49 -rw-rw-r-- 1 jenkins jenkins 3644 May 13 19:56 go.mod 20:03:49 -rw-rw-r-- 1 jenkins jenkins 34418 May 13 19:56 go.sum 20:03:49 drwxrwxr-x 3 jenkins jenkins 4096 May 13 19:56 internal 20:03:49 -rw-rw-r-- 1 jenkins jenkins 223 May 13 19:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:50 + 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=14351173d587fe3916287a83a3121dd51a819233 --label arch=arm64 --label version=0.0.0 . 20:03:50 Sending build context to Docker daemon 281.1kB 20:03:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 20:03:50 Step 2/24 : FROM ${BASE} AS builder 20:03:50 ---> 77878b46f9c4 20:03:50 Step 3/24 : ARG MAKE=make build 20:03:50 ---> Running in a17f6130e9ac 20:03:50 Removing intermediate container a17f6130e9ac 20:03:50 ---> e3ef697007fe 20:03:50 Step 4/24 : WORKDIR /device-s7 20:03:51 ---> Running in cec6f5688733 20:03:51 Removing intermediate container cec6f5688733 20:03:51 ---> 41b086021681 20:03:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 20:03:51 ---> Running in b34a10e75859 20:03:51 Removing intermediate container b34a10e75859 20:03:51 ---> 07d159df343d 20:03:51 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 20:03:51 ---> Running in 8f39cc410650 20:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:03:54 OK: 266 MiB in 52 packages 20:03:55 Removing intermediate container 8f39cc410650 20:03:55 ---> 77fa922629ba 20:03:55 Step 7/24 : COPY go.mod vendor* ./ 20:03:55 ---> a15c49065d30 20:03:55 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:55 ---> Running in 611f1580c6ff 20:03:57 Removing intermediate container 611f1580c6ff 20:03:57 ---> 936816a24cd4 20:03:57 Step 9/24 : COPY . . 20:03:58 ---> 1da05f380396 20:03:58 Step 10/24 : RUN ${MAKE} 20:03:58 ---> Running in b958cac2635a 20:03:59 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 20:06:21 Removing intermediate container b958cac2635a 20:06:21 ---> 8607a353c917 20:06:21 Step 11/24 : FROM alpine:3.18 20:06:21 3.18: Pulling from library/alpine 20:06:21 c6b39de5b339: Already exists 20:06:21 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:06:21 Status: Downloaded newer image for alpine:3.18 20:06:21 ---> 33abbf032149 20:06:21 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 20:06:21 ---> Running in 2f406e071820 20:06:21 Removing intermediate container 2f406e071820 20:06:21 ---> 94ecba0a0970 20:06:21 Step 13/24 : RUN apk add --update --no-cache dumb-init 20:06:21 ---> Running in 5cb186b4cc45 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:06:21 (1/1) Installing dumb-init (1.2.5-r2) 20:06:21 Executing busybox-1.36.1-r5.trigger 20:06:21 OK: 8 MiB in 16 packages 20:06:21 Removing intermediate container 5cb186b4cc45 20:06:21 ---> 7a130bec3e3c 20:06:21 Step 14/24 : RUN apk --no-cache upgrade 20:06:21 ---> Running in 71061cb8f32c 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:06:21 Upgrading critical system libraries and apk-tools: 20:06:21 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 20:06:21 Executing busybox-1.36.1-r5.trigger 20:06:21 Continuing the upgrade transaction with new apk-tools: 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:06:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:06:21 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 20:06:21 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 20:06:21 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 20:06:21 OK: 8 MiB in 16 packages 20:06:21 Removing intermediate container 71061cb8f32c 20:06:21 ---> 095264ce48ca 20:06:21 Step 15/24 : WORKDIR / 20:06:21 ---> Running in 3b73deb01cc2 20:06:21 Removing intermediate container 3b73deb01cc2 20:06:21 ---> 6af3761616e0 20:06:21 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 20:06:21 ---> f3ef179f9b2f 20:06:21 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 20:06:21 ---> d4bc88e29898 20:06:21 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 20:06:21 ---> ceb8441ee818 20:06:21 Step 19/24 : EXPOSE 59994 20:06:21 ---> Running in ee483926eda6 20:06:21 Removing intermediate container ee483926eda6 20:06:21 ---> 30ac709d8304 20:06:21 Step 20/24 : ENTRYPOINT ["/device-s7"] 20:06:21 ---> Running in 7eea6c9d005b 20:06:21 Removing intermediate container 7eea6c9d005b 20:06:21 ---> 94a96760db52 20:06:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:06:21 ---> Running in 7b2b25c0796f 20:06:21 Removing intermediate container 7b2b25c0796f 20:06:21 ---> 53cb0686bec3 20:06:21 Step 22/24 : LABEL arch=arm64 20:06:21 ---> Running in e206ddd062a2 20:06:21 Removing intermediate container e206ddd062a2 20:06:21 ---> 49de44974085 20:06:21 Step 23/24 : LABEL git_sha=14351173d587fe3916287a83a3121dd51a819233 20:06:21 ---> Running in 7036f6c04598 20:06:21 Removing intermediate container 7036f6c04598 20:06:21 ---> 58b31f3c42fa 20:06:21 Step 24/24 : LABEL version=0.0.0 20:06:21 ---> Running in 065e492dbce6 20:06:21 Removing intermediate container 065e492dbce6 20:06:21 ---> 9e38bb8d1378 20:06:21 [Warning] One or more build-args [ARCH] were not consumed 20:06:21 Successfully built 9e38bb8d1378 20:06:21 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 20:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:06:22 20:06:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:06:22 arm64: Pulling from edgex-lftools-log-publisher 20:06:22 8998bd30e6a1: Pulling fs layer 20:06:22 04944245beec: Pulling fs layer 20:06:22 699f458cf7ca: Pulling fs layer 20:06:22 765212b225bb: Pulling fs layer 20:06:22 f23df028b6ca: Pulling fs layer 20:06:22 765212b225bb: Waiting 20:06:22 d65c8cfc05b1: Pulling fs layer 20:06:22 2437ff75d9bd: Pulling fs layer 20:06:22 d65c8cfc05b1: Waiting 20:06:22 f23df028b6ca: Waiting 20:06:22 2437ff75d9bd: Waiting 20:06:22 04944245beec: Verifying Checksum 20:06:22 04944245beec: Download complete 20:06:22 765212b225bb: Verifying Checksum 20:06:22 765212b225bb: Download complete 20:06:22 f23df028b6ca: Verifying Checksum 20:06:22 f23df028b6ca: Download complete 20:06:22 d65c8cfc05b1: Verifying Checksum 20:06:22 d65c8cfc05b1: Download complete 20:06:22 699f458cf7ca: Verifying Checksum 20:06:22 699f458cf7ca: Download complete 20:06:23 8998bd30e6a1: Verifying Checksum 20:06:23 8998bd30e6a1: Download complete 20:06:25 2437ff75d9bd: Verifying Checksum 20:06:25 2437ff75d9bd: Download complete 20:06:27 8998bd30e6a1: Pull complete 20:06:28 04944245beec: Pull complete 20:06:30 699f458cf7ca: Pull complete 20:06:30 765212b225bb: Pull complete 20:06:30 f23df028b6ca: Pull complete 20:06:31 d65c8cfc05b1: Pull complete 20:06:49 2437ff75d9bd: Pull complete 20:06:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:06:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:49 prd-ubuntu20.04-docker-arm64-4c-16g-110 does not seem to be running inside a container 20:06:49 $ 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 20:06:52 $ docker top 1ddf09c74b717a8a6ca9d6da1b477a9d6e52e7450f70e2e681add21528ae6fa6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:52 ---> job-cost.sh 20:06:53 lf-activate-venv: SKIPPING 20:06:53 INFO: No Stack... 20:06:53 INFO: Retrieving Pricing Info for: v3-standard-4 20:06:54 INFO: Archiving Costs [Pipeline] sh 20:06:55 + cat /w/workspace/device-s7/1/archives/cost.csv 20:06:55 + cut -d, -f6 [Pipeline] lock 20:06:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] 20:06:55 Resource [jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] did not exist. Created. 20:06:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:55 /w/workspace/device-s7/1@tmp/durable-346ca6fb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:06:56 + echo total: 0.10999999940395355 [Pipeline] stash 20:06:56 Warning: overwriting stash ‘stack-cost’ 20:06:56 Stashed 1 file(s) [Pipeline] } 20:06:56 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-10-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:56 $ docker stop --time=1 1ddf09c74b717a8a6ca9d6da1b477a9d6e52e7450f70e2e681add21528ae6fa6 20:06:58 $ docker rm -f --volumes 1ddf09c74b717a8a6ca9d6da1b477a9d6e52e7450f70e2e681add21528ae6fa6 [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 20:06:59 provisioning config files... 20:06:59 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-10@tmp/config5251822556472792040tmp [Pipeline] { [Pipeline] sh 20:06:59 + set +x 20:06:59 + curl -s https://codecov.io/bash 20:06:59 + bash -s -- 20:06:59 20:06:59 _____ _ 20:06:59 / ____| | | 20:06:59 | | ___ __| | ___ ___ _____ __ 20:06:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:06:59 | |___| (_) | (_| | __/ (_| (_) \ V / 20:06:59 \_____\___/ \__,_|\___|\___\___/ \_/ 20:06:59 Bash-1.0.6 20:06:59 20:06:59 20:06:59 ==> git version 2.25.1 found 20:06:59 ==> 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 20:06:59 Release-Date: 2020-01-08 20:06:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:06:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:06:59 ==> Jenkins CI detected. 20:06:59 current dir:  /w/workspace/edgexfoundry_device-s7_PR-10 20:06:59 project root: . 20:06:59 --> token set from env 20:06:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:07:00 ==> Running gcov in . (disable via -X gcov) 20:07:00 ==> Python coveragepy not found 20:07:00 ==> Searching for coverage reports in: 20:07:00 + . 20:07:00 -> Found 1 reports 20:07:00 ==> Detecting git/mercurial file structure 20:07:00 ==> Reading reports 20:07:00 + ./coverage.out bytes=13 20:07:00 ==> Appending adjustments 20:07:00 https://docs.codecov.io/docs/fixing-reports 20:07:00 + Found adjustments 20:07:00 ==> Gzipping contents 20:07:00 4.0K /tmp/codecov.QzxjLt.gz 20:07:00 ==> Uploading reports 20:07:00 url: https://codecov.io 20:07:00 query: branch=PR-10&commit=14351173d587fe3916287a83a3121dd51a819233&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-10%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=10&job=&cmd_args= 20:07:00 -> Pinging Codecov 20:07:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-10&commit=14351173d587fe3916287a83a3121dd51a819233&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-10%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=10&job=&cmd_args= 20:07:00 -> Uploading to 20:07:00 https://storage.googleapis.com/codecov/v4/raw/2024-05-13/4B6A60F249F899673AFAFF81AC620B19/14351173d587fe3916287a83a3121dd51a819233/e26d9c14-06cf-4f45-8142-33c32e9d0994.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240513%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240513T200700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af0504262d6284c90df613fe58fdfefe5a1c34bd717617ffc73e0fab72aaf154 20:07:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:07:00 Dload Upload Total Spent Left Speed 20:07:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 866 0 0 100 866 0 3103 --:--:-- --:--:-- --:--:-- 3092 100 866 0 0 100 866 0 3103 --:--:-- --:--:-- --:--:-- 3092 20:07:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/14351173d587fe3916287a83a3121dd51a819233 [Pipeline] } 20:07:00 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 20:07:02 + [ -d /w/workspace/edgexfoundry_device-s7_PR-10/archives ] 20:07:02 + ls -al /w/workspace/edgexfoundry_device-s7_PR-10/archives 20:07:02 total 16 20:07:02 drwxr-xr-x 3 root root 4096 May 13 19:57 . 20:07:02 drwxrwxr-x 9 jenkins jenkins 4096 May 13 19:57 .. 20:07:02 drwxr-xr-x 2 root root 4096 May 13 19:57 cost 20:07:02 -rw-r--r-- 1 root root 80 May 13 19:57 cost.csv 20:07:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-10/archives 20:07:02 + ls -al /w/workspace/edgexfoundry_device-s7_PR-10/archives 20:07:02 total 16 20:07:02 drwxr-xr-x 3 jenkins jenkins 4096 May 13 19:57 . 20:07:02 drwxrwxr-x 9 jenkins jenkins 4096 May 13 19:57 .. 20:07:02 drwxr-xr-x 2 jenkins jenkins 4096 May 13 19:57 cost 20:07:02 -rw-r--r-- 1 jenkins jenkins 80 May 13 19:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:07:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:07:04 ---> package-listing.sh 20:07:04 ++ facter osfamily 20:07:04 ++ tr '[:upper:]' '[:lower:]' 20:07:04 + OS_FAMILY=debian 20:07:04 + workspace=/w/workspace/edgexfoundry_device-s7_PR-10 20:07:04 + START_PACKAGES=/tmp/packages_start.txt 20:07:04 + END_PACKAGES=/tmp/packages_end.txt 20:07:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:07:04 + PACKAGES=/tmp/packages_start.txt 20:07:04 + '[' /w/workspace/edgexfoundry_device-s7_PR-10 ']' 20:07:04 + PACKAGES=/tmp/packages_end.txt 20:07:04 + case "${OS_FAMILY}" in 20:07:04 + dpkg -l 20:07:04 + grep '^ii' 20:07:04 + '[' -f /tmp/packages_start.txt ']' 20:07:04 + '[' -f /tmp/packages_end.txt ']' 20:07:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:07:04 + '[' /w/workspace/edgexfoundry_device-s7_PR-10 ']' 20:07:04 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-10/archives/ 20:07:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-10/archives/ [Pipeline] echo 20:07:04 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-10/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:07:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:07:05 prd-ubuntu20.04-docker-8c-8g-109 does not seem to be running inside a container 20:07:05 $ 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-10/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-10 -v /w/workspace/edgexfoundry_device-s7_PR-10:/w/workspace/edgexfoundry_device-s7_PR-10:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-10@tmp:/w/workspace/edgexfoundry_device-s7_PR-10@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 20:07:06 $ docker top 80372bbd60d13e0a4fc730405d287499734049eda1d676ab32d25b1d8801a547 -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:06 + touch /tmp/pre-build-complete [Pipeline] sh 20:07:06 + mkdir -p /var/log/sysstat [Pipeline] sh 20:07:07 + ls /var/log/sa-host 20:07:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:07 provisioning config files... 20:07:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-10@tmp/config8973606785663927967tmp [Pipeline] { [Pipeline] echo 20:07:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:07:07 ---> create-netrc.sh [Pipeline] } 20:07:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:07:08 ---> python-tools-install.sh [Pipeline] echo 20:07:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:07:08 ---> sudo-logs.sh 20:07:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:07:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:07:08 ---> job-cost.sh 20:07:08 lf-activate-venv: SKIPPING 20:07:08 DEBUG: total: 0.2199999988079071 20:07:08 INFO: Retrieving Stack Cost... 20:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:09 INFO: Archiving Costs [Pipeline] echo 20:07:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:07:10 ---> logs-deploy.sh 20:07:10 lf-activate-venv: SKIPPING 20:07:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-10/1 20:07:10 INFO: archiving workspace using pattern(s): 20:07:11 Archives upload complete. 20:07:11 INFO: archiving logs to Nexus