MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than be9287983f4b92c8cae0f409beca0b13e4ebd156 Obtained Jenkinsfile from 1b057092ee19ade1a8316e5cb795699e1e50525a 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-ssh5233299913009103514.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-ssh8641919055650270006.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3710147057401590338.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 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-ssh7806012754694892927.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14775615495444814701.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-1894 in /w/workspace/edgexfoundry_device-s7_PR-9 [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-9 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # 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 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 Commit message: "fix: fix test process" > git rev-list --no-walk be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-28T22:18:22.116Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-28T22:18:22.217Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-28T22:18:22.241Z] ========================================================= [2024-02-28T22:18:22.241Z] EdgeX Global Pipelines Version Info [2024-02-28T22:18:22.241Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:18:22.994Z] ------------------- [2024-02-28T22:18:22.994Z] stable info: [2024-02-28T22:18:22.994Z] ------------------- [2024-02-28T22:18:22.994Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-28T22:18:22.994Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-28T22:18:22.994Z] Message: update stable to v1.0.258 [2024-02-28T22:18:23.565Z] ------------------- [2024-02-28T22:18:23.565Z] experimental info: [2024-02-28T22:18:23.565Z] ------------------- [2024-02-28T22:18:23.565Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-28T22:18:23.565Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-28T22:18:23.565Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-28T22:18:23.639Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-28T22:18:23.771Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-28T22:18:23.796Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-28T22:18:23.821Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-28T22:18:23.840Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-28T22:18:23.862Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-28T22:18:23.888Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-28T22:18:23.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-28T22:18:23.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-28T22:18:23.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-28T22:18:23.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-28T22:18:24.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-28T22:18:24.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-28T22:18:24.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-28T22:18:24.080Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-28T22:18:24.101Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-28T22:18:24.123Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-28T22:18:24.153Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-28T22:18:24.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-28T22:18:24.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-28T22:18:24.248Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-28T22:18:24.278Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-28T22:18:24.314Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-28T22:18:24.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-28T22:18:24.390Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-28T22:18:24.429Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-28T22:18:24.458Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-28T22:18:24.497Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-28T22:18:24.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-28T22:18:24.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-28T22:18:24.606Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-28T22:18:24.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be92879 [Pipeline] echo [2024-02-28T22:18:24.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-28T22:18:24.761Z] provisioning config files... [2024-02-28T22:18:24.774Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config2603657311462068938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:18:25.115Z] ---> ****-login.sh [2024-02-28T22:18:25.115Z] nexus3.edgexfoundry.org:10001 [2024-02-28T22:18:25.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:25.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:25.634Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:25.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:25.634Z] [2024-02-28T22:18:25.634Z] Login Succeeded [2024-02-28T22:18:25.634Z] nexus3.edgexfoundry.org:10002 [2024-02-28T22:18:25.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:25.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:25.634Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:25.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:25.634Z] [2024-02-28T22:18:25.634Z] Login Succeeded [2024-02-28T22:18:25.634Z] nexus3.edgexfoundry.org:10003 [2024-02-28T22:18:25.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:25.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:25.894Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:25.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:25.894Z] [2024-02-28T22:18:25.894Z] Login Succeeded [2024-02-28T22:18:25.894Z] nexus3.edgexfoundry.org:10004 [2024-02-28T22:18:25.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:25.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:25.894Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:25.895Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:25.895Z] [2024-02-28T22:18:25.895Z] Login Succeeded [2024-02-28T22:18:25.895Z] ****.io [2024-02-28T22:18:25.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:26.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:26.154Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:26.154Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:26.154Z] [2024-02-28T22:18:26.154Z] Login Succeeded [2024-02-28T22:18:26.154Z] ---> ****-login.sh ends [Pipeline] } [2024-02-28T22:18:26.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-28T22:18:26.681Z] + git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-28T22:18:26.714Z] -----------> git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 be9287983f4b92c8cae0f409beca0b13e4ebd156 [false] [Pipeline] sh [2024-02-28T22:18:27.018Z] + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-28T22:18:27.036Z] ========================================================= [2024-02-28T22:18:27.036Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-28T22:18:27.036Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-28T22:18:27.418Z] + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo [2024-02-28T22:18:27.429Z] [semverPrep] GIT_COMMIT: be9287983f4b92c8cae0f409beca0b13e4ebd156, Commit Message: fix: fix test process [Pipeline] echo [2024-02-28T22:18:27.452Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-28T22:18:27.842Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-28T22:18:27.842Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-28T22:18:27.842Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-28T22:18:27.842Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-28T22:18:27.842Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-28T22:18:27.842Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-28T22:18:27.842Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:18:28.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-28T22:18:28.262Z] [2024-02-28T22:18:28.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:18:28.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-28T22:18:28.576Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-28T22:18:28.576Z] b85a868b505f: Pulling fs layer [2024-02-28T22:18:28.576Z] e2be974225ed: Pulling fs layer [2024-02-28T22:18:28.576Z] 339a4e72a1f5: Pulling fs layer [2024-02-28T22:18:28.576Z] 988bab9f4d93: Pulling fs layer [2024-02-28T22:18:28.576Z] 1469e6f7b9e6: Pulling fs layer [2024-02-28T22:18:28.576Z] eaf3925da568: Pulling fs layer [2024-02-28T22:18:28.576Z] bab4dde63d76: Pulling fs layer [2024-02-28T22:18:28.576Z] bde34c3a00c8: Pulling fs layer [2024-02-28T22:18:28.576Z] b352a97aabf1: Pulling fs layer [2024-02-28T22:18:28.576Z] 4872d77fe225: Pulling fs layer [2024-02-28T22:18:28.576Z] 5851b861e8e6: Pulling fs layer [2024-02-28T22:18:28.576Z] 988bab9f4d93: Waiting [2024-02-28T22:18:28.576Z] b352a97aabf1: Waiting [2024-02-28T22:18:28.576Z] 4872d77fe225: Waiting [2024-02-28T22:18:28.576Z] 5851b861e8e6: Waiting [2024-02-28T22:18:28.576Z] 1469e6f7b9e6: Waiting [2024-02-28T22:18:28.576Z] eaf3925da568: Waiting [2024-02-28T22:18:28.576Z] bab4dde63d76: Waiting [2024-02-28T22:18:28.576Z] bde34c3a00c8: Waiting [2024-02-28T22:18:28.576Z] e2be974225ed: Download complete [2024-02-28T22:18:28.576Z] 988bab9f4d93: Verifying Checksum [2024-02-28T22:18:28.576Z] 988bab9f4d93: Download complete [2024-02-28T22:18:28.576Z] 1469e6f7b9e6: Verifying Checksum [2024-02-28T22:18:28.576Z] 1469e6f7b9e6: Download complete [2024-02-28T22:18:28.576Z] eaf3925da568: Verifying Checksum [2024-02-28T22:18:28.576Z] eaf3925da568: Download complete [2024-02-28T22:18:28.576Z] 339a4e72a1f5: Verifying Checksum [2024-02-28T22:18:28.576Z] 339a4e72a1f5: Download complete [2024-02-28T22:18:28.576Z] bde34c3a00c8: Verifying Checksum [2024-02-28T22:18:28.576Z] bde34c3a00c8: Download complete [2024-02-28T22:18:28.832Z] b352a97aabf1: Download complete [2024-02-28T22:18:28.832Z] 4872d77fe225: Verifying Checksum [2024-02-28T22:18:28.832Z] 4872d77fe225: Download complete [2024-02-28T22:18:28.832Z] 5851b861e8e6: Download complete [2024-02-28T22:18:28.832Z] b85a868b505f: Verifying Checksum [2024-02-28T22:18:28.832Z] b85a868b505f: Download complete [2024-02-28T22:18:29.090Z] bab4dde63d76: Verifying Checksum [2024-02-28T22:18:29.090Z] bab4dde63d76: Download complete [2024-02-28T22:18:30.025Z] b85a868b505f: Pull complete [2024-02-28T22:18:30.025Z] e2be974225ed: Pull complete [2024-02-28T22:18:30.594Z] 339a4e72a1f5: Pull complete [2024-02-28T22:18:30.594Z] 988bab9f4d93: Pull complete [2024-02-28T22:18:30.855Z] 1469e6f7b9e6: Pull complete [2024-02-28T22:18:31.114Z] eaf3925da568: Pull complete [2024-02-28T22:18:33.025Z] bab4dde63d76: Pull complete [2024-02-28T22:18:33.025Z] bde34c3a00c8: Pull complete [2024-02-28T22:18:33.025Z] b352a97aabf1: Pull complete [2024-02-28T22:18:33.025Z] 4872d77fe225: Pull complete [2024-02-28T22:18:33.025Z] 5851b861e8e6: Pull complete [2024-02-28T22:18:33.025Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-28T22:18:33.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-28T22:18:33.025Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:18:33.200Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2024-02-28T22:18:33.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-28T22:18:35.958Z] $ docker top 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 -eo pid,comm [2024-02-28T22:18:36.021Z] 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). [2024-02-28T22:18:36.021Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-28T22:18:36.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-28T22:18:36.110Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-28T22:18:36.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-28T22:18:36.231Z] $ docker exec 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 ssh-agent [2024-02-28T22:18:36.355Z] SSH_AUTH_SOCK=/tmp/ssh-C56Bz8e7yN44/agent.33 [2024-02-28T22:18:36.355Z] SSH_AGENT_PID=39 [2024-02-28T22:18:36.363Z] Running ssh-add (command line suppressed) [2024-02-28T22:18:36.461Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15764810469324647638.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15764810469324647638.key) [2024-02-28T22:18:36.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-28T22:18:36.787Z] + git tag --points-at HEAD [Pipeline] } [2024-02-28T22:18:36.791Z] $ docker exec --env ******** --env ******** 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 ssh-agent -k [2024-02-28T22:18:36.889Z] unset SSH_AUTH_SOCK; [2024-02-28T22:18:36.889Z] unset SSH_AGENT_PID; [2024-02-28T22:18:36.889Z] echo Agent pid 39 killed; [2024-02-28T22:18:36.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-28T22:18:36.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-28T22:18:36.971Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-28T22:18:37.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-28T22:18:37.109Z] $ docker exec 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 ssh-agent [2024-02-28T22:18:37.232Z] SSH_AUTH_SOCK=/tmp/ssh-uXMXLSBsc5Wc/agent.71 [2024-02-28T22:18:37.232Z] SSH_AGENT_PID=77 [2024-02-28T22:18:37.237Z] Running ssh-add (command line suppressed) [2024-02-28T22:18:37.328Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_18303836755244912218.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_18303836755244912218.key) [2024-02-28T22:18:37.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-28T22:18:37.686Z] + git semver init [2024-02-28T22:18:37.945Z] 2024-02-28 22:18:37,842 [run_init] DEBUG init version:0.0.0 force:False [2024-02-28T22:18:37.945Z] 2024-02-28 22:18:37,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-28T22:18:37.945Z] 2024-02-28 22:18:37,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-28T22:18:37.945Z] 2024-02-28 22:18:37,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-9/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9, universal_newlines=False, shell=None, istream=None) [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,405 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,406 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,410 [execute] INFO git cat-file --batch-check [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,416 [execute] INFO git cat-file --batch [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-28T22:18:38.512Z] 2024-02-28 22:18:38,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-28T22:18:38.512Z] 0.0.0 [Pipeline] } [2024-02-28T22:18:38.518Z] $ docker exec --env ******** --env ******** 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 ssh-agent -k [2024-02-28T22:18:38.640Z] unset SSH_AUTH_SOCK; [2024-02-28T22:18:38.640Z] unset SSH_AGENT_PID; [2024-02-28T22:18:38.640Z] echo Agent pid 77 killed; [2024-02-28T22:18:38.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-28T22:18:39.032Z] + git semver [Pipeline] } [2024-02-28T22:18:39.300Z] $ docker stop --time=1 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 [2024-02-28T22:18:40.602Z] $ docker rm -f --volumes 5487a637d719cd8bfca7dbc499f719748eb032e8ac48a64fdba5c75f638e0660 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-28T22:18:40.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-28T22:18:41.248Z] Stashed 1 file(s) [Pipeline] echo [2024-02-28T22:18:41.251Z] [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 [2024-02-28T22:18:41.619Z] provisioning config files... [2024-02-28T22:18:41.628Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config5473411740727879678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:18:41.958Z] ---> ****-login.sh [2024-02-28T22:18:41.958Z] nexus3.edgexfoundry.org:10001 [2024-02-28T22:18:41.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:41.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:41.958Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:41.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:41.958Z] [2024-02-28T22:18:41.958Z] Login Succeeded [2024-02-28T22:18:41.959Z] nexus3.edgexfoundry.org:10002 [2024-02-28T22:18:41.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:41.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:41.959Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:41.959Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:41.959Z] [2024-02-28T22:18:41.959Z] Login Succeeded [2024-02-28T22:18:41.959Z] nexus3.edgexfoundry.org:10003 [2024-02-28T22:18:42.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:42.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:42.219Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:42.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:42.219Z] [2024-02-28T22:18:42.219Z] Login Succeeded [2024-02-28T22:18:42.219Z] nexus3.edgexfoundry.org:10004 [2024-02-28T22:18:42.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:42.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:42.219Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:42.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:42.219Z] [2024-02-28T22:18:42.219Z] Login Succeeded [2024-02-28T22:18:42.219Z] ****.io [2024-02-28T22:18:42.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:18:42.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:18:42.477Z] Configure a credential helper to remove this warning. See [2024-02-28T22:18:42.477Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:18:42.477Z] [2024-02-28T22:18:42.477Z] Login Succeeded [2024-02-28T22:18:42.477Z] ---> ****-login.sh ends [Pipeline] } [2024-02-28T22:18:42.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-28T22:18:42.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-28T22:18:42.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-28T22:18:42.690Z] ========================================================= [2024-02-28T22:18:42.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-28T22:18:42.690Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:18:43.097Z] + 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 . [2024-02-28T22:18:43.097Z] Sending build context to Docker daemon 558.6kB [2024-02-28T22:18:43.097Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-28T22:18:43.097Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-28T22:18:43.097Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-28T22:18:43.098Z] 7264a8db6415: Pulling fs layer [2024-02-28T22:18:43.098Z] c4d48a809fc2: Pulling fs layer [2024-02-28T22:18:43.098Z] 4f1c88b9dad5: Pulling fs layer [2024-02-28T22:18:43.098Z] ad3a456e5733: Pulling fs layer [2024-02-28T22:18:43.098Z] 69c7f0334f64: Pulling fs layer [2024-02-28T22:18:43.098Z] 1f1c1a5573a3: Pulling fs layer [2024-02-28T22:18:43.098Z] ce7588e14bc9: Pulling fs layer [2024-02-28T22:18:43.098Z] b5e4710f87ac: Pulling fs layer [2024-02-28T22:18:43.098Z] 69c7f0334f64: Waiting [2024-02-28T22:18:43.098Z] ce7588e14bc9: Waiting [2024-02-28T22:18:43.098Z] b5e4710f87ac: Waiting [2024-02-28T22:18:43.098Z] 1f1c1a5573a3: Waiting [2024-02-28T22:18:43.098Z] ad3a456e5733: Waiting [2024-02-28T22:18:43.098Z] c4d48a809fc2: Verifying Checksum [2024-02-28T22:18:43.098Z] c4d48a809fc2: Download complete [2024-02-28T22:18:43.098Z] ad3a456e5733: Verifying Checksum [2024-02-28T22:18:43.098Z] ad3a456e5733: Download complete [2024-02-28T22:18:43.098Z] 69c7f0334f64: Verifying Checksum [2024-02-28T22:18:43.098Z] 69c7f0334f64: Download complete [2024-02-28T22:18:43.098Z] 7264a8db6415: Verifying Checksum [2024-02-28T22:18:43.098Z] 7264a8db6415: Download complete [2024-02-28T22:18:43.357Z] 1f1c1a5573a3: Verifying Checksum [2024-02-28T22:18:43.357Z] 1f1c1a5573a3: Download complete [2024-02-28T22:18:43.357Z] 7264a8db6415: Pull complete [2024-02-28T22:18:43.357Z] b5e4710f87ac: Verifying Checksum [2024-02-28T22:18:43.357Z] b5e4710f87ac: Download complete [2024-02-28T22:18:43.616Z] c4d48a809fc2: Pull complete [2024-02-28T22:18:43.616Z] 4f1c88b9dad5: Verifying Checksum [2024-02-28T22:18:43.616Z] 4f1c88b9dad5: Download complete [2024-02-28T22:18:44.183Z] ce7588e14bc9: Verifying Checksum [2024-02-28T22:18:44.183Z] ce7588e14bc9: Download complete [2024-02-28T22:18:46.722Z] 4f1c88b9dad5: Pull complete [2024-02-28T22:18:46.722Z] ad3a456e5733: Pull complete [2024-02-28T22:18:46.980Z] 69c7f0334f64: Pull complete [2024-02-28T22:18:46.980Z] 1f1c1a5573a3: Pull complete [2024-02-28T22:18:49.511Z] ce7588e14bc9: Pull complete [2024-02-28T22:18:50.077Z] b5e4710f87ac: Pull complete [2024-02-28T22:18:50.077Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-28T22:18:50.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-28T22:18:50.077Z] ---> 88b5674ff536 [2024-02-28T22:18:50.077Z] Step 3/10 : ARG MAKE=make build [2024-02-28T22:18:54.269Z] ---> Running in 4c18424a7e4d [2024-02-28T22:18:54.269Z] Removing intermediate container 4c18424a7e4d [2024-02-28T22:18:54.269Z] ---> c126ab9a35f0 [2024-02-28T22:18:54.269Z] Step 4/10 : WORKDIR /device-s7 [2024-02-28T22:18:54.269Z] ---> Running in 470258ed3702 [2024-02-28T22:18:54.269Z] Removing intermediate container 470258ed3702 [2024-02-28T22:18:54.269Z] ---> f655ad4e1813 [2024-02-28T22:18:54.269Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:18:54.269Z] ---> Running in b307f456350e [2024-02-28T22:18:54.269Z] Removing intermediate container b307f456350e [2024-02-28T22:18:54.269Z] ---> a1eb5b7d4622 [2024-02-28T22:18:54.269Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-28T22:18:54.269Z] ---> Running in c7371b1119ef [2024-02-28T22:18:54.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-28T22:18:55.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-28T22:18:55.360Z] OK: 264 MiB in 52 packages [2024-02-28T22:18:55.626Z] Removing intermediate container c7371b1119ef [2024-02-28T22:18:55.626Z] ---> e71b59526753 [2024-02-28T22:18:55.626Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-28T22:18:55.626Z] ---> 75de9ccbe680 [2024-02-28T22:18:55.626Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-28T22:18:55.626Z] ---> Running in c7775c5c1ee2 [2024-02-28T22:18:56.522Z] Still waiting to schedule task [2024-02-28T22:18:56.522Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-28T22:19:42.437Z] Removing intermediate container c7775c5c1ee2 [2024-02-28T22:19:42.437Z] ---> bea4dd8b92cf [2024-02-28T22:19:42.437Z] Step 9/10 : COPY . . [2024-02-28T22:19:42.437Z] ---> a1197ff4d832 [2024-02-28T22:19:42.437Z] Step 10/10 : RUN ${MAKE} [2024-02-28T22:19:42.437Z] ---> Running in 24a64c1fc8c9 [2024-02-28T22:19:42.437Z] noop [2024-02-28T22:19:42.437Z] Removing intermediate container 24a64c1fc8c9 [2024-02-28T22:19:42.437Z] ---> c51676f65435 [2024-02-28T22:19:42.437Z] Successfully built c51676f65435 [2024-02-28T22:19:42.437Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:19:42.817Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-28T22:19:42.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:19:42.929Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2024-02-28T22:19:42.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-28T22:19:43.352Z] $ docker top 4bdb3321b7dc11df06bbdb4dc68ea907a5fcca6f89cca8da3a972a594867c905 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-28T22:19:43.724Z] + go version [2024-02-28T22:19:43.724Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-28T22:19:43.747Z] $ docker stop --time=1 4bdb3321b7dc11df06bbdb4dc68ea907a5fcca6f89cca8da3a972a594867c905 [2024-02-28T22:19:45.045Z] $ docker rm -f --volumes 4bdb3321b7dc11df06bbdb4dc68ea907a5fcca6f89cca8da3a972a594867c905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:19:45.629Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-28T22:19:45.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:19:45.752Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2024-02-28T22:19:45.797Z] $ 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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-28T22:19:46.097Z] $ docker top cd66c927f3c9c77d4901f490c38f0914d7cac4bfafe4fa2af8a471a768982b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-28T22:19:46.474Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-28T22:19:46.797Z] + make test [2024-02-28T22:19:46.797Z] go test -race -coverprofile=coverage.out ./... [2024-02-28T22:19:53.366Z] ? github.com/edgexfoundry/device-s7 [no test files] Pausing [2024-02-28T22:20:05.576Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-28T22:20:05.576Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-28T22:20:25.751Z] go vet ./... [2024-02-28T22:20:27.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-28T22:20:27.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-28T22:20:27.129Z] ./bin/test-attribution-txt.sh [2024-02-28T22:21:02.276Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1899 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { Resuming [Pipeline] echo [2024-02-28T22:22:46.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] ws [2024-02-28T22:22:46.730Z] Running in /w/workspace/device-s7/8 [Pipeline] { [Pipeline] } [2024-02-28T22:22:46.778Z] $ docker stop --time=1 cd66c927f3c9c77d4901f490c38f0914d7cac4bfafe4fa2af8a471a768982b59 [2024-02-28T22:22:48.169Z] $ docker rm -f --volumes cd66c927f3c9c77d4901f490c38f0914d7cac4bfafe4fa2af8a471a768982b59 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] checkout [2024-02-28T22:22:48.586Z] Selected Git installation does not exist. Using Default [2024-02-28T22:22:48.586Z] The recommended git tool is: NONE [2024-02-28T22:22:48.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-28T22:22:48.901Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-28T22:22:49.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-28T22:22:49.805Z] + ls -al . [2024-02-28T22:22:49.805Z] total 136 [2024-02-28T22:22:49.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 22:19 . [2024-02-28T22:22:49.805Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 22:18 .. [2024-02-28T22:22:49.805Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 22:20 .git [2024-02-28T22:22:49.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 22:18 .github [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 28 22:18 .gitignore [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 22:18 .golangci.yml [2024-02-28T22:22:49.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 22:18 .semver [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 28 22:18 Attribution.txt [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 28 22:18 Dockerfile [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 28 22:18 Jenkinsfile [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 28 22:18 LICENSE [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 28 22:18 Makefile [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 28 22:18 OWNERS.md [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 2393 Feb 28 22:18 README.md [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 22:18 VERSION [2024-02-28T22:22:49.805Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 22:18 bin [2024-02-28T22:22:49.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 22:18 cmd [2024-02-28T22:22:49.805Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 28 22:19 coverage.out [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 28 22:18 go.mod [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 28 22:18 go.sum [2024-02-28T22:22:49.805Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 22:18 internal [2024-02-28T22:22:49.805Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 28 22:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:22:50.154Z] + 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=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=amd64 --label version=0.0.0 . [2024-02-28T22:22:50.154Z] Sending build context to Docker daemon 559.6kB [2024-02-28T22:22:50.154Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-28T22:22:50.154Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-28T22:22:50.154Z] ---> c51676f65435 [2024-02-28T22:22:50.154Z] Step 3/24 : ARG MAKE=make build [2024-02-28T22:22:50.154Z] ---> Running in 14c4bf38b616 [2024-02-28T22:22:50.154Z] Removing intermediate container 14c4bf38b616 [2024-02-28T22:22:50.154Z] ---> dcf2a316412a [2024-02-28T22:22:50.154Z] Step 4/24 : WORKDIR /device-s7 [2024-02-28T22:22:50.414Z] ---> Running in a87a6b6a3e4d [2024-02-28T22:22:50.414Z] Removing intermediate container a87a6b6a3e4d [2024-02-28T22:22:50.414Z] ---> 7a6691772bcd [2024-02-28T22:22:50.414Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:22:50.414Z] ---> Running in 11bdb7b655e2 [2024-02-28T22:22:50.414Z] Removing intermediate container 11bdb7b655e2 [2024-02-28T22:22:50.414Z] ---> 4c9f0845273b [2024-02-28T22:22:50.414Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-28T22:22:50.414Z] ---> Running in 8853c754d616 [2024-02-28T22:22:50.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-28T22:22:50.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-28T22:22:51.191Z] OK: 264 MiB in 52 packages [2024-02-28T22:22:51.452Z] Removing intermediate container 8853c754d616 [2024-02-28T22:22:51.452Z] ---> b2aef24e7857 [2024-02-28T22:22:51.452Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-28T22:22:51.711Z] ---> 31603cb10bb4 [2024-02-28T22:22:51.711Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-28T22:22:51.711Z] ---> Running in 35e73fe9ca19 [2024-02-28T22:22:52.647Z] Removing intermediate container 35e73fe9ca19 [2024-02-28T22:22:52.647Z] ---> 275b37303e64 [2024-02-28T22:22:52.647Z] Step 9/24 : COPY . . [2024-02-28T22:22:53.214Z] ---> d222e6ba4db6 [2024-02-28T22:22:53.214Z] Step 10/24 : RUN ${MAKE} [2024-02-28T22:22:53.214Z] ---> Running in 5534244a8ae2 [2024-02-28T22:22:53.472Z] 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.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-28T22:22:53.546Z] using credential edgex-jenkins-ssh [2024-02-28T22:22:53.566Z] Cloning the remote Git repository [2024-02-28T22:22:53.607Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-28T22:22:53.715Z] > git init /w/workspace/device-s7/8 # timeout=10 [2024-02-28T22:22:53.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-28T22:22:53.869Z] > git --version # timeout=10 [2024-02-28T22:22:53.893Z] > git --version # 'git version 2.25.1' [2024-02-28T22:22:53.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-28T22:22:54.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-28T22:22:54.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-28T22:22:54.662Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-28T22:22:55.579Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-28T22:22:55.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-28T22:22:55.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-28T22:22:55.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-02-28T22:22:56.156Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-28T22:22:56.441Z] Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-28T22:22:56.442Z] Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) [2024-02-28T22:22:56.171Z] > git config core.sparsecheckout # timeout=10 [2024-02-28T22:22:56.244Z] > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [2024-02-28T22:22:56.327Z] > git remote # timeout=10 [2024-02-28T22:22:56.348Z] > git config --get remote.origin.url # timeout=10 [2024-02-28T22:22:56.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-28T22:22:56.380Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-28T22:22:56.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-28T22:22:56.443Z] > git config core.sparsecheckout # timeout=10 [2024-02-28T22:22:56.465Z] > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [2024-02-28T22:22:59.916Z] Commit message: "fix: fix test process" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-28T22:23:01.105Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-28T22:23:01.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-28T22:23:01.105Z] Dload Upload Total Spent Left Speed [2024-02-28T22:23:01.105Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2024-02-28T22:23:01.453Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-28T22:23:01.781Z] + sudo tee /etc/docker/daemon.new [2024-02-28T22:23:01.781Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-28T22:23:01.781Z] { [2024-02-28T22:23:01.781Z] "registry-mirrors": [ [2024-02-28T22:23:01.781Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-28T22:23:01.781Z] ], [2024-02-28T22:23:01.781Z] "bip": "10.250.0.254/24", [2024-02-28T22:23:01.781Z] "hosts": [ [2024-02-28T22:23:01.781Z] "tcp://0.0.0.0:5555", [2024-02-28T22:23:01.781Z] "unix:///var/run/docker.sock" [2024-02-28T22:23:01.781Z] ], [2024-02-28T22:23:01.781Z] "mtu": 1458, [2024-02-28T22:23:01.781Z] "selinux-enabled": true, [2024-02-28T22:23:01.781Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-28T22:23:01.781Z] } [Pipeline] sh [2024-02-28T22:23:02.109Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-28T22:23:02.456Z] + sudo service docker restart [2024-02-28T22:23:15.540Z] Removing intermediate container 5534244a8ae2 [2024-02-28T22:23:15.540Z] ---> a65f63affa18 [2024-02-28T22:23:15.540Z] Step 11/24 : FROM alpine:3.18 [2024-02-28T22:23:15.799Z] 3.18: Pulling from library/alpine [2024-02-28T22:23:15.799Z] 619be1103602: Pulling fs layer [2024-02-28T22:23:16.059Z] 619be1103602: Download complete [2024-02-28T22:23:16.319Z] 619be1103602: Pull complete [2024-02-28T22:23:16.319Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-28T22:23:16.319Z] Status: Downloaded newer image for alpine:3.18 [2024-02-28T22:23:16.319Z] ---> d3782b16ccc9 [2024-02-28T22:23:16.319Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:23:16.579Z] ---> Running in c8d3debfc6ea [2024-02-28T22:23:16.579Z] Removing intermediate container c8d3debfc6ea [2024-02-28T22:23:16.579Z] ---> ecd8f3d11a60 [2024-02-28T22:23:16.579Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-28T22:23:16.579Z] ---> Running in 60425bf7eb2d [2024-02-28T22:23:16.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-28T22:23:17.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-28T22:23:17.358Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-28T22:23:17.358Z] Executing busybox-1.36.1-r5.trigger [2024-02-28T22:23:17.358Z] OK: 7 MiB in 16 packages [2024-02-28T22:23:17.618Z] Removing intermediate container 60425bf7eb2d [2024-02-28T22:23:17.618Z] ---> 779fa1b21d53 [2024-02-28T22:23:17.618Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-28T22:23:17.618Z] ---> Running in 037d9f60253d [2024-02-28T22:23:17.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-28T22:23:18.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-28T22:23:18.395Z] OK: 7 MiB in 16 packages [2024-02-28T22:23:18.654Z] Removing intermediate container 037d9f60253d [2024-02-28T22:23:18.654Z] ---> a93d9bf61cbe [2024-02-28T22:23:18.654Z] Step 15/24 : WORKDIR / [2024-02-28T22:23:18.654Z] ---> Running in 04ca31de0ca7 [2024-02-28T22:23:18.654Z] Removing intermediate container 04ca31de0ca7 [2024-02-28T22:23:18.654Z] ---> 27310198f681 [2024-02-28T22:23:18.654Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-28T22:23:18.912Z] ---> 9f2391ad98e1 [2024-02-28T22:23:18.912Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-28T22:23:19.900Z] ---> 737ad5a4f5b0 [2024-02-28T22:23:19.900Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-28T22:23:19.900Z] ---> 2837afb8a0ee [2024-02-28T22:23:19.900Z] Step 19/24 : EXPOSE 59994 [2024-02-28T22:23:19.900Z] ---> Running in 00b0f1ed719f [2024-02-28T22:23:19.900Z] Removing intermediate container 00b0f1ed719f [2024-02-28T22:23:19.900Z] ---> 9f804e9cd746 [2024-02-28T22:23:19.900Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-28T22:23:19.900Z] ---> Running in d47297567cb0 [2024-02-28T22:23:20.158Z] Removing intermediate container d47297567cb0 [2024-02-28T22:23:20.158Z] ---> f591450df5e3 [2024-02-28T22:23:20.158Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-28T22:23:20.158Z] ---> Running in 543aa2cf163d [2024-02-28T22:23:20.158Z] Removing intermediate container 543aa2cf163d [2024-02-28T22:23:20.158Z] ---> 5663b1b9ddde [2024-02-28T22:23:20.158Z] Step 22/24 : LABEL arch=amd64 [2024-02-28T22:23:20.158Z] ---> Running in 8bec2319e94e [2024-02-28T22:23:20.158Z] Removing intermediate container 8bec2319e94e [2024-02-28T22:23:20.158Z] ---> 835b27050168 [2024-02-28T22:23:20.158Z] Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-28T22:23:20.158Z] ---> Running in 6987702c54f8 [2024-02-28T22:23:20.417Z] Removing intermediate container 6987702c54f8 [2024-02-28T22:23:20.417Z] ---> 3a8cc9646ed9 [2024-02-28T22:23:20.417Z] Step 24/24 : LABEL version=0.0.0 [2024-02-28T22:23:20.417Z] ---> Running in a3b3301efba1 [2024-02-28T22:23:20.417Z] Removing intermediate container a3b3301efba1 [2024-02-28T22:23:20.417Z] ---> 2d53bc1e2488 [2024-02-28T22:23:20.417Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-28T22:23:20.417Z] Successfully built 2d53bc1e2488 [2024-02-28T22:23:20.417Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-28T22:23:20.762Z] provisioning config files... [2024-02-28T22:23:20.786Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/8@tmp/config91603787556856548tmp Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] { Post stage [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:23:21.388Z] ---> ****-login.sh [2024-02-28T22:23:21.388Z] nexus3.edgexfoundry.org:10001 [2024-02-28T22:23:21.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-28T22:23:21.524Z] [2024-02-28T22:23:21.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:23:21.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-28T22:23:21.853Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-28T22:23:21.853Z] 5eb5b503b376: Pulling fs layer [2024-02-28T22:23:21.853Z] 5c69ac0246d0: Pulling fs layer [2024-02-28T22:23:21.853Z] ec43610c2a17: Pulling fs layer [2024-02-28T22:23:21.853Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-28T22:23:21.853Z] 33b1e0a273af: Pulling fs layer [2024-02-28T22:23:21.853Z] 5d3b04190fa2: Pulling fs layer [2024-02-28T22:23:21.853Z] 2f39f015ded8: Pulling fs layer [2024-02-28T22:23:21.853Z] 3a2ae6a8a46f: Waiting [2024-02-28T22:23:21.853Z] 33b1e0a273af: Waiting [2024-02-28T22:23:21.853Z] 5d3b04190fa2: Waiting [2024-02-28T22:23:21.853Z] 2f39f015ded8: Waiting [2024-02-28T22:23:21.853Z] 5c69ac0246d0: Download complete [2024-02-28T22:23:21.853Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-28T22:23:21.853Z] 3a2ae6a8a46f: Download complete [2024-02-28T22:23:21.853Z] 33b1e0a273af: Verifying Checksum [2024-02-28T22:23:21.853Z] 33b1e0a273af: Download complete [2024-02-28T22:23:21.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:23:21.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:23:21.979Z] Configure a credential helper to remove this warning. See [2024-02-28T22:23:21.979Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:23:21.979Z] [2024-02-28T22:23:21.979Z] Login Succeeded [2024-02-28T22:23:21.979Z] nexus3.edgexfoundry.org:10002 [2024-02-28T22:23:22.114Z] 5d3b04190fa2: Verifying Checksum [2024-02-28T22:23:22.114Z] 5d3b04190fa2: Download complete [2024-02-28T22:23:22.114Z] ec43610c2a17: Verifying Checksum [2024-02-28T22:23:22.114Z] ec43610c2a17: Download complete [2024-02-28T22:23:22.114Z] 5eb5b503b376: Verifying Checksum [2024-02-28T22:23:22.114Z] 5eb5b503b376: Download complete [2024-02-28T22:23:22.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:23:22.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:23:22.519Z] Configure a credential helper to remove this warning. See [2024-02-28T22:23:22.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:23:22.519Z] [2024-02-28T22:23:22.519Z] Login Succeeded [2024-02-28T22:23:22.519Z] nexus3.edgexfoundry.org:10003 [2024-02-28T22:23:22.679Z] 2f39f015ded8: Verifying Checksum [2024-02-28T22:23:22.679Z] 2f39f015ded8: Download complete [2024-02-28T22:23:22.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:23:22.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:23:22.789Z] Configure a credential helper to remove this warning. See [2024-02-28T22:23:22.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:23:22.789Z] [2024-02-28T22:23:22.789Z] Login Succeeded [2024-02-28T22:23:22.789Z] nexus3.edgexfoundry.org:10004 [2024-02-28T22:23:23.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:23:23.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:23:23.056Z] Configure a credential helper to remove this warning. See [2024-02-28T22:23:23.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:23:23.057Z] [2024-02-28T22:23:23.057Z] Login Succeeded [2024-02-28T22:23:23.057Z] ****.io [2024-02-28T22:23:23.245Z] 5eb5b503b376: Pull complete [2024-02-28T22:23:23.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-28T22:23:23.503Z] 5c69ac0246d0: Pull complete [2024-02-28T22:23:23.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-28T22:23:23.598Z] Configure a credential helper to remove this warning. See [2024-02-28T22:23:23.598Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-28T22:23:23.599Z] [2024-02-28T22:23:23.599Z] Login Succeeded [2024-02-28T22:23:23.599Z] ---> ****-login.sh ends [Pipeline] } [2024-02-28T22:23:23.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-28T22:23:24.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-28T22:23:24.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-02-28T22:23:24.070Z] ec43610c2a17: Pull complete [2024-02-28T22:23:24.070Z] 3a2ae6a8a46f: Pull complete [Pipeline] echo [2024-02-28T22:23:24.088Z] ========================================================= [2024-02-28T22:23:24.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-28T22:23:24.088Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:23:24.327Z] 33b1e0a273af: Pull complete [2024-02-28T22:23:24.327Z] 5d3b04190fa2: Pull complete [2024-02-28T22:23:24.534Z] + 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 . [2024-02-28T22:23:24.803Z] Sending build context to Docker daemon 419.8kB [2024-02-28T22:23:24.803Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-28T22:23:24.803Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-28T22:23:25.075Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-28T22:23:25.075Z] 9fda8d8052c6: Pulling fs layer [2024-02-28T22:23:25.075Z] 5d54e960e981: Pulling fs layer [2024-02-28T22:23:25.075Z] c4a7e357bf2a: Pulling fs layer [2024-02-28T22:23:25.075Z] f0e02332f6b5: Pulling fs layer [2024-02-28T22:23:25.075Z] 872ee5b61b7b: Pulling fs layer [2024-02-28T22:23:25.075Z] 0c6a40ed1a82: Pulling fs layer [2024-02-28T22:23:25.075Z] 94ae7d8d031c: Pulling fs layer [2024-02-28T22:23:25.075Z] 872ee5b61b7b: Waiting [2024-02-28T22:23:25.075Z] 0c6a40ed1a82: Waiting [2024-02-28T22:23:25.075Z] f0e02332f6b5: Waiting [2024-02-28T22:23:25.075Z] 94ae7d8d031c: Waiting [2024-02-28T22:23:25.075Z] 5d54e960e981: Download complete [2024-02-28T22:23:25.075Z] f0e02332f6b5: Verifying Checksum [2024-02-28T22:23:25.075Z] f0e02332f6b5: Download complete [2024-02-28T22:23:25.075Z] 872ee5b61b7b: Download complete [2024-02-28T22:23:25.075Z] 9fda8d8052c6: Verifying Checksum [2024-02-28T22:23:25.075Z] 9fda8d8052c6: Download complete [2024-02-28T22:23:25.661Z] 94ae7d8d031c: Verifying Checksum [2024-02-28T22:23:25.661Z] 94ae7d8d031c: Download complete [2024-02-28T22:23:26.251Z] 9fda8d8052c6: Pull complete [2024-02-28T22:23:26.842Z] 5d54e960e981: Pull complete [2024-02-28T22:23:27.114Z] c4a7e357bf2a: Verifying Checksum [2024-02-28T22:23:27.115Z] c4a7e357bf2a: Download complete [2024-02-28T22:23:28.084Z] 0c6a40ed1a82: Verifying Checksum [2024-02-28T22:23:28.084Z] 0c6a40ed1a82: Download complete [2024-02-28T22:23:28.507Z] 2f39f015ded8: Pull complete [2024-02-28T22:23:28.507Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-28T22:23:28.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-28T22:23:28.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:23:28.721Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2024-02-28T22:23:28.764Z] $ 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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-28T22:23:32.313Z] $ docker top 24b6ffe35fc24a0acfd90cec07d692ebed24f1720e5c9b522400aecd2b66a99d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:23:32.748Z] ---> job-cost.sh [2024-02-28T22:23:32.748Z] lf-activate-venv: SKIPPING [2024-02-28T22:23:32.748Z] INFO: No Stack... [2024-02-28T22:23:33.007Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-28T22:23:33.266Z] INFO: Archiving Costs [Pipeline] sh [2024-02-28T22:23:33.556Z] + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [2024-02-28T22:23:33.556Z] + cut -d, -f6 [Pipeline] lock [2024-02-28T22:23:33.571Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [2024-02-28T22:23:33.586Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] did not exist. Created. [2024-02-28T22:23:33.592Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-28T22:23:33.959Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-28T22:23:33.984Z] Stashed 1 file(s) [Pipeline] } [2024-02-28T22:23:34.021Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-28T22:23:34.107Z] $ docker stop --time=1 24b6ffe35fc24a0acfd90cec07d692ebed24f1720e5c9b522400aecd2b66a99d [2024-02-28T22:23:35.262Z] $ docker rm -f --volumes 24b6ffe35fc24a0acfd90cec07d692ebed24f1720e5c9b522400aecd2b66a99d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-02-28T22:23:40.408Z] c4a7e357bf2a: Pull complete [2024-02-28T22:23:40.408Z] f0e02332f6b5: Pull complete [2024-02-28T22:23:40.408Z] 872ee5b61b7b: Pull complete [2024-02-28T22:23:48.622Z] 0c6a40ed1a82: Pull complete [2024-02-28T22:23:49.588Z] 94ae7d8d031c: Pull complete [2024-02-28T22:23:49.855Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-28T22:23:49.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-28T22:23:49.855Z] ---> 86de565de09d [2024-02-28T22:23:49.855Z] Step 3/10 : ARG MAKE=make build [2024-02-28T22:23:51.807Z] ---> Running in bb2604b97896 [2024-02-28T22:23:51.807Z] Removing intermediate container bb2604b97896 [2024-02-28T22:23:51.807Z] ---> 5a5adb42f030 [2024-02-28T22:23:51.807Z] Step 4/10 : WORKDIR /device-s7 [2024-02-28T22:23:51.807Z] ---> Running in d70d4f9881e2 [2024-02-28T22:23:52.081Z] Removing intermediate container d70d4f9881e2 [2024-02-28T22:23:52.081Z] ---> 07203bf781fe [2024-02-28T22:23:52.081Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:23:52.081Z] ---> Running in 997245eea292 [2024-02-28T22:23:52.351Z] Removing intermediate container 997245eea292 [2024-02-28T22:23:52.351Z] ---> a1e1a2d025f3 [2024-02-28T22:23:52.351Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-28T22:23:52.622Z] ---> Running in 2061fbab69a8 [2024-02-28T22:23:53.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-28T22:23:54.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-28T22:23:55.171Z] OK: 266 MiB in 52 packages [2024-02-28T22:23:56.141Z] Removing intermediate container 2061fbab69a8 [2024-02-28T22:23:56.141Z] ---> c94688086214 [2024-02-28T22:23:56.141Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-28T22:23:56.409Z] ---> a6a18bfd7649 [2024-02-28T22:23:56.409Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-28T22:23:56.690Z] ---> Running in 11a86345fa10 Pausing [2024-02-28T22:25:18.341Z] Removing intermediate container 11a86345fa10 [2024-02-28T22:25:18.341Z] ---> 19866f8887f5 [2024-02-28T22:25:18.341Z] Step 9/10 : COPY . . [2024-02-28T22:25:18.341Z] ---> 2021e05abce0 [2024-02-28T22:25:18.341Z] Step 10/10 : RUN ${MAKE} [2024-02-28T22:25:18.341Z] ---> Running in 75caa63dfc2f [2024-02-28T22:25:18.925Z] noop [2024-02-28T22:25:19.508Z] Removing intermediate container 75caa63dfc2f [2024-02-28T22:25:19.508Z] ---> bfb9a4664ba3 [2024-02-28T22:25:19.508Z] Successfully built bfb9a4664ba3 [2024-02-28T22:25:19.508Z] Successfully tagged ci-base-image-arm64:latest Resuming [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:39:33.014Z] + docker inspect -f . ci-base-image-arm64 [2024-02-28T22:39:33.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:39:33.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2024-02-28T22:39:33.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-28T22:39:34.829Z] $ docker top 725a3e85a7f801552f4e997ed18a288d7c79536359949f054a94d47cac16f145 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-28T22:39:35.759Z] + go version [2024-02-28T22:39:35.759Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-28T22:39:35.758Z] $ docker stop --time=1 725a3e85a7f801552f4e997ed18a288d7c79536359949f054a94d47cac16f145 [2024-02-28T22:39:37.477Z] $ docker rm -f --volumes 725a3e85a7f801552f4e997ed18a288d7c79536359949f054a94d47cac16f145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:39:38.354Z] + docker inspect -f . ci-base-image-arm64 [2024-02-28T22:39:38.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:39:38.598Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2024-02-28T22:39:38.638Z] $ 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/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-02-28T22:39:39.853Z] $ docker top 2186dfacbd22336b5949d90dfd71a044768765b23ce0cf8af66b55247fe54a66 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-28T22:39:40.775Z] + git config --global --add safe.directory /w/workspace/device-s7/8 [Pipeline] fileExists [Pipeline] sh [2024-02-28T22:39:41.450Z] + make test [2024-02-28T22:39:41.451Z] go test -race -coverprofile=coverage.out ./... [2024-02-28T22:40:20.358Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-28T22:41:42.854Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-28T22:41:42.855Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-28T22:41:42.855Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-28T22:41:42.855Z] go vet ./... [2024-02-28T22:43:34.504Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-28T22:43:34.504Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-28T22:43:34.504Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-28T22:43:34.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-28T22:43:34.544Z] $ docker stop --time=1 2186dfacbd22336b5949d90dfd71a044768765b23ce0cf8af66b55247fe54a66 [2024-02-28T22:43:36.356Z] $ docker rm -f --volumes 2186dfacbd22336b5949d90dfd71a044768765b23ce0cf8af66b55247fe54a66 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-28T22:43:37.894Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-28T22:43:37.948Z] Warning: overwriting stash ‘coverage-report’ [2024-02-28T22:43:38.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-28T22:43:38.966Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-28T22:43:39.279Z] + ls -al . [2024-02-28T22:43:39.279Z] total 132 [2024-02-28T22:43:39.279Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 28 22:39 . [2024-02-28T22:43:39.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 22:22 .. [2024-02-28T22:43:39.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 22:22 .git [2024-02-28T22:43:39.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 22:22 .github [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 28 22:22 .gitignore [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 22:22 .golangci.yml [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 28 22:22 Attribution.txt [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 28 22:22 Dockerfile [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 28 22:22 Jenkinsfile [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 28 22:22 LICENSE [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 28 22:22 Makefile [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 28 22:22 OWNERS.md [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 2393 Feb 28 22:22 README.md [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 22:18 VERSION [2024-02-28T22:43:39.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 22:22 bin [2024-02-28T22:43:39.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 22:22 cmd [2024-02-28T22:43:39.279Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 28 22:39 coverage.out [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 28 22:22 go.mod [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 28 22:22 go.sum [2024-02-28T22:43:39.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 22:22 internal [2024-02-28T22:43:39.279Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 28 22:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:43:39.680Z] + 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=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=arm64 --label version=0.0.0 . [2024-02-28T22:43:39.948Z] Sending build context to Docker daemon 420.9kB [2024-02-28T22:43:39.948Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-28T22:43:39.948Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-28T22:43:39.948Z] ---> bfb9a4664ba3 [2024-02-28T22:43:39.948Z] Step 3/24 : ARG MAKE=make build [2024-02-28T22:43:41.362Z] ---> Running in c8f04a2569a0 [2024-02-28T22:43:41.633Z] Removing intermediate container c8f04a2569a0 [2024-02-28T22:43:41.633Z] ---> 5e97e893d9b9 [2024-02-28T22:43:41.633Z] Step 4/24 : WORKDIR /device-s7 [2024-02-28T22:43:41.633Z] ---> Running in f0fc66ec7722 [2024-02-28T22:43:41.903Z] Removing intermediate container f0fc66ec7722 [2024-02-28T22:43:41.903Z] ---> e759707eb8e0 [2024-02-28T22:43:41.903Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:43:41.903Z] ---> Running in e36498f75dbc [2024-02-28T22:43:42.496Z] Removing intermediate container e36498f75dbc [2024-02-28T22:43:42.496Z] ---> 9aa6e644bf7c [2024-02-28T22:43:42.496Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-28T22:43:42.496Z] ---> Running in c7dcda6c4d25 [2024-02-28T22:43:43.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-28T22:43:43.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-28T22:43:44.679Z] OK: 266 MiB in 52 packages [2024-02-28T22:43:45.642Z] Removing intermediate container c7dcda6c4d25 [2024-02-28T22:43:45.642Z] ---> 320e6d124049 [2024-02-28T22:43:45.642Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-28T22:43:46.222Z] ---> 686d7297814b [2024-02-28T22:43:46.222Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-28T22:43:46.222Z] ---> Running in 35cafc8f0adb [2024-02-28T22:43:48.818Z] Removing intermediate container 35cafc8f0adb [2024-02-28T22:43:48.818Z] ---> ae53c682e40f [2024-02-28T22:43:48.818Z] Step 9/24 : COPY . . [2024-02-28T22:43:49.399Z] ---> f4bf93e2a039 [2024-02-28T22:43:49.399Z] Step 10/24 : RUN ${MAKE} [2024-02-28T22:43:49.665Z] ---> Running in 741a8c186b89 [2024-02-28T22:43:50.620Z] 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.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [2024-02-28T22:45:42.266Z] Removing intermediate container 741a8c186b89 [2024-02-28T22:45:42.266Z] ---> 1e2b281d5a1c [2024-02-28T22:45:42.266Z] Step 11/24 : FROM alpine:3.18 [2024-02-28T22:45:42.266Z] 3.18: Pulling from library/alpine [2024-02-28T22:45:42.266Z] c6b39de5b339: Pulling fs layer [2024-02-28T22:45:42.266Z] c6b39de5b339: Download complete [2024-02-28T22:45:42.266Z] c6b39de5b339: Pull complete [2024-02-28T22:45:42.266Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-28T22:45:42.266Z] Status: Downloaded newer image for alpine:3.18 [2024-02-28T22:45:42.266Z] ---> 33abbf032149 [2024-02-28T22:45:42.266Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-28T22:45:42.266Z] ---> Running in 228e2360233d [2024-02-28T22:45:42.266Z] Removing intermediate container 228e2360233d [2024-02-28T22:45:42.266Z] ---> 94f5ed770a09 [2024-02-28T22:45:42.266Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-28T22:45:42.266Z] ---> Running in 76dc9dc7a93a [2024-02-28T22:45:42.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-28T22:45:42.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-28T22:45:42.266Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-28T22:45:42.266Z] Executing busybox-1.36.1-r5.trigger [2024-02-28T22:45:42.266Z] OK: 8 MiB in 16 packages [2024-02-28T22:45:43.236Z] Removing intermediate container 76dc9dc7a93a [2024-02-28T22:45:43.236Z] ---> c37d265cf46f [2024-02-28T22:45:43.236Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-28T22:45:43.236Z] ---> Running in 8a3ae4e5fb89 [2024-02-28T22:45:44.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-28T22:45:44.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-28T22:45:45.420Z] OK: 8 MiB in 16 packages [2024-02-28T22:45:46.397Z] Removing intermediate container 8a3ae4e5fb89 [2024-02-28T22:45:46.397Z] ---> 2033497bc0a5 [2024-02-28T22:45:46.397Z] Step 15/24 : WORKDIR / [2024-02-28T22:45:46.397Z] ---> Running in abeb0020a9c7 [2024-02-28T22:45:46.665Z] Removing intermediate container abeb0020a9c7 [2024-02-28T22:45:46.665Z] ---> 68cc6a49027b [2024-02-28T22:45:46.665Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-28T22:45:47.252Z] ---> 6a2d35b0dc60 [2024-02-28T22:45:47.252Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-28T22:45:48.660Z] ---> 4ad47f436a68 [2024-02-28T22:45:48.660Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-28T22:45:48.928Z] ---> 114223f5eb11 [2024-02-28T22:45:48.928Z] Step 19/24 : EXPOSE 59994 [2024-02-28T22:45:49.204Z] ---> Running in d78909763e04 [2024-02-28T22:45:49.473Z] Removing intermediate container d78909763e04 [2024-02-28T22:45:49.473Z] ---> aa40e84aa30e [2024-02-28T22:45:49.473Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-28T22:45:49.473Z] ---> Running in d1c78d52a1c0 [2024-02-28T22:45:49.739Z] Removing intermediate container d1c78d52a1c0 [2024-02-28T22:45:49.739Z] ---> 470b179281a3 [2024-02-28T22:45:49.739Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-28T22:45:49.739Z] ---> Running in 29def0250a4b [2024-02-28T22:45:50.006Z] Removing intermediate container 29def0250a4b [2024-02-28T22:45:50.007Z] ---> 757e408df91d [2024-02-28T22:45:50.007Z] Step 22/24 : LABEL arch=arm64 [2024-02-28T22:45:50.274Z] ---> Running in 37cbfa2b6fd5 [2024-02-28T22:45:50.542Z] Removing intermediate container 37cbfa2b6fd5 [2024-02-28T22:45:50.542Z] ---> 90c81e03b2ab [2024-02-28T22:45:50.542Z] Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 [2024-02-28T22:45:50.542Z] ---> Running in e2831918f2b9 [2024-02-28T22:45:50.808Z] Removing intermediate container e2831918f2b9 [2024-02-28T22:45:50.808Z] ---> 52a31b6ffb4b [2024-02-28T22:45:50.808Z] Step 24/24 : LABEL version=0.0.0 [2024-02-28T22:45:50.808Z] ---> Running in 9e591da73e22 [2024-02-28T22:45:51.075Z] Removing intermediate container 9e591da73e22 [2024-02-28T22:45:51.075Z] ---> 518114c81004 [2024-02-28T22:45:51.075Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-28T22:45:51.342Z] Successfully built 518114c81004 [2024-02-28T22:45:51.342Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:45:52.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-28T22:45:52.170Z] [2024-02-28T22:45:52.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:45:52.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-28T22:45:52.796Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-28T22:45:52.796Z] 8998bd30e6a1: Pulling fs layer [2024-02-28T22:45:52.796Z] 04944245beec: Pulling fs layer [2024-02-28T22:45:52.796Z] 699f458cf7ca: Pulling fs layer [2024-02-28T22:45:52.796Z] 765212b225bb: Pulling fs layer [2024-02-28T22:45:52.796Z] f23df028b6ca: Pulling fs layer [2024-02-28T22:45:52.796Z] d65c8cfc05b1: Pulling fs layer [2024-02-28T22:45:52.796Z] 2437ff75d9bd: Pulling fs layer [2024-02-28T22:45:52.796Z] f23df028b6ca: Waiting [2024-02-28T22:45:52.796Z] 765212b225bb: Waiting [2024-02-28T22:45:52.796Z] 2437ff75d9bd: Waiting [2024-02-28T22:45:52.796Z] 04944245beec: Verifying Checksum [2024-02-28T22:45:52.796Z] 04944245beec: Download complete [2024-02-28T22:45:52.796Z] 765212b225bb: Verifying Checksum [2024-02-28T22:45:52.796Z] 765212b225bb: Download complete [2024-02-28T22:45:53.063Z] f23df028b6ca: Verifying Checksum [2024-02-28T22:45:53.063Z] f23df028b6ca: Download complete [2024-02-28T22:45:53.063Z] d65c8cfc05b1: Verifying Checksum [2024-02-28T22:45:53.063Z] d65c8cfc05b1: Download complete [2024-02-28T22:45:53.063Z] 699f458cf7ca: Verifying Checksum [2024-02-28T22:45:53.063Z] 699f458cf7ca: Download complete [2024-02-28T22:45:53.643Z] 8998bd30e6a1: Verifying Checksum [2024-02-28T22:45:53.643Z] 8998bd30e6a1: Download complete [2024-02-28T22:45:55.581Z] 2437ff75d9bd: Verifying Checksum [2024-02-28T22:45:55.581Z] 2437ff75d9bd: Download complete [2024-02-28T22:45:58.166Z] 8998bd30e6a1: Pull complete [2024-02-28T22:45:58.431Z] 04944245beec: Pull complete [2024-02-28T22:45:59.834Z] 699f458cf7ca: Pull complete [2024-02-28T22:46:00.099Z] 765212b225bb: Pull complete [2024-02-28T22:46:01.055Z] f23df028b6ca: Pull complete [2024-02-28T22:46:01.055Z] d65c8cfc05b1: Pull complete [2024-02-28T22:46:19.249Z] 2437ff75d9bd: Pull complete [2024-02-28T22:46:19.250Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-28T22:46:19.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-28T22:46:19.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:46:19.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2024-02-28T22:46:19.596Z] $ 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/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-02-28T22:46:23.103Z] $ docker top 702c5154834f3a47220988293e88bb97ff0aa2689445d9d069bba59c1c5c5fd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:24.034Z] ---> job-cost.sh [2024-02-28T22:46:24.034Z] lf-activate-venv: SKIPPING [2024-02-28T22:46:24.034Z] INFO: No Stack... [2024-02-28T22:46:24.300Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-28T22:46:25.256Z] INFO: Archiving Costs [Pipeline] sh [2024-02-28T22:46:25.888Z] + cat /w/workspace/device-s7/8/archives/cost.csv [2024-02-28T22:46:25.888Z] + cut -d, -f6 [Pipeline] lock [2024-02-28T22:46:25.946Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [2024-02-28T22:46:25.954Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] did not exist. Created. [2024-02-28T22:46:25.960Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-28T22:46:26.667Z] /w/workspace/device-s7/8@tmp/durable-40fbe8eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-28T22:46:27.364Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-28T22:46:27.433Z] Warning: overwriting stash ‘stack-cost’ [2024-02-28T22:46:27.505Z] Stashed 1 file(s) [Pipeline] } [2024-02-28T22:46:27.513Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-28T22:46:27.571Z] $ docker stop --time=1 702c5154834f3a47220988293e88bb97ff0aa2689445d9d069bba59c1c5c5fd4 [2024-02-28T22:46:29.128Z] $ docker rm -f --volumes 702c5154834f3a47220988293e88bb97ff0aa2689445d9d069bba59c1c5c5fd4 [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 [2024-02-28T22:46:30.376Z] provisioning config files... [2024-02-28T22:46:30.387Z] copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config13410763039094624237tmp [Pipeline] { [Pipeline] sh [2024-02-28T22:46:30.744Z] + set +x [2024-02-28T22:46:30.744Z] + + curl -s https://codecov.io/bash [2024-02-28T22:46:30.744Z] bash -s -- [2024-02-28T22:46:31.004Z] [2024-02-28T22:46:31.004Z] _____ _ [2024-02-28T22:46:31.004Z] / ____| | | [2024-02-28T22:46:31.004Z] | | ___ __| | ___ ___ _____ __ [2024-02-28T22:46:31.004Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-02-28T22:46:31.004Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-02-28T22:46:31.004Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-02-28T22:46:31.004Z] Bash-1.0.6 [2024-02-28T22:46:31.004Z] [2024-02-28T22:46:31.004Z] [2024-02-28T22:46:31.004Z] ==> git version 2.25.1 found [2024-02-28T22:46:31.004Z] ==> 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 [2024-02-28T22:46:31.004Z] Release-Date: 2020-01-08 [2024-02-28T22:46:31.004Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-02-28T22:46:31.004Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-02-28T22:46:31.004Z] ==> Jenkins CI detected. [2024-02-28T22:46:31.004Z] current dir:  /w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-28T22:46:31.004Z] project root: . [2024-02-28T22:46:31.004Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-02-28T22:46:31.004Z] ==> Running gcov in . (disable via -X gcov) [2024-02-28T22:46:31.004Z] ==> Python coveragepy not found [2024-02-28T22:46:31.004Z] ==> Searching for coverage reports in: [2024-02-28T22:46:31.004Z] + . [2024-02-28T22:46:31.004Z] -> Found 1 reports [2024-02-28T22:46:31.004Z] ==> Detecting git/mercurial file structure [2024-02-28T22:46:31.004Z] ==> Reading reports [2024-02-28T22:46:31.004Z] + ./coverage.out bytes=13 [2024-02-28T22:46:31.004Z] ==> Appending adjustments [2024-02-28T22:46:31.004Z] https://docs.codecov.io/docs/fixing-reports [2024-02-28T22:46:31.004Z] + Found adjustments [2024-02-28T22:46:31.004Z] ==> Gzipping contents [2024-02-28T22:46:31.004Z] 4.0K /tmp/codecov.0Gv2Jo.gz [2024-02-28T22:46:31.004Z] ==> Uploading reports [2024-02-28T22:46:31.004Z] url: https://codecov.io [2024-02-28T22:46:31.004Z] query: branch=PR-9&commit=be9287983f4b92c8cae0f409beca0b13e4ebd156&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-9%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=9&job=&cmd_args= [2024-02-28T22:46:31.004Z] -> Pinging Codecov [2024-02-28T22:46:31.004Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=&branch=PR-9&commit=be9287983f4b92c8cae0f409beca0b13e4ebd156&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-9%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=9&job=&cmd_args= [2024-02-28T22:46:31.265Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [2024-02-28T22:46:31.265Z] 404 [2024-02-28T22:46:31.265Z] ==> Uploading to Codecov [2024-02-28T22:46:31.265Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-28T22:46:31.265Z] Dload Upload Total Spent Left Speed [2024-02-28T22:46:31.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1035 100 169 100 866 1690 8660 --:--:-- --:--:-- --:--:-- 10454 [2024-02-28T22:46:31.265Z] {'detail': ErrorDetail(string='Your CI provider is not compatible with tokenless uploads, please upload using your repository token to resolve this.', code='not_found')} [Pipeline] } [2024-02-28T22:46:31.273Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-02-28T22:46:33.165Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-28T22:46:33.165Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-28T22:46:33.165Z] total 16 [2024-02-28T22:46:33.165Z] drwxr-xr-x 3 root root 4096 Feb 28 22:23 . [2024-02-28T22:46:33.165Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 22:23 .. [2024-02-28T22:46:33.165Z] drwxr-xr-x 2 root root 4096 Feb 28 22:23 cost [2024-02-28T22:46:33.165Z] -rw-r--r-- 1 root root 79 Feb 28 22:23 cost.csv [2024-02-28T22:46:33.165Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-28T22:46:33.165Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-28T22:46:33.165Z] total 16 [2024-02-28T22:46:33.165Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 22:23 . [2024-02-28T22:46:33.165Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 22:23 .. [2024-02-28T22:46:33.165Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 22:23 cost [2024-02-28T22:46:33.165Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 28 22:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:33.451Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:34.316Z] ---> package-listing.sh [2024-02-28T22:46:34.316Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-28T22:46:34.316Z] ++ facter osfamily [2024-02-28T22:46:34.316Z] + OS_FAMILY=debian [2024-02-28T22:46:34.316Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-28T22:46:34.316Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-28T22:46:34.316Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-28T22:46:34.316Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-28T22:46:34.316Z] + PACKAGES=/tmp/packages_start.txt [2024-02-28T22:46:34.316Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-28T22:46:34.316Z] + PACKAGES=/tmp/packages_end.txt [2024-02-28T22:46:34.316Z] + case "${OS_FAMILY}" in [2024-02-28T22:46:34.316Z] + dpkg -l [2024-02-28T22:46:34.316Z] + grep '^ii' [2024-02-28T22:46:34.574Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-28T22:46:34.575Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-28T22:46:34.575Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-28T22:46:34.575Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-28T22:46:34.575Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-28T22:46:34.575Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo [2024-02-28T22:46:34.611Z] 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-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-02-28T22:46:34.947Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-28T22:46:35.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-28T22:46:35.336Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-28T22:46:35.480Z] prd-ubuntu20.04-docker-8c-8g-1894 does not seem to be running inside a container [2024-02-28T22:46:35.541Z] $ 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-9/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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-28T22:46:35.726Z] $ docker top 0b6319363928ddb57b30539ebe489441bac6ca476174b2f98f9c0fba50e822d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-28T22:46:36.116Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-28T22:46:36.403Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-28T22:46:36.692Z] + ls /var/log/sa-host [2024-02-28T22:46:36.692Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-28T22:46:36.879Z] provisioning config files... [2024-02-28T22:46:36.890Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config13020082579324191357tmp [Pipeline] { [Pipeline] echo [2024-02-28T22:46:36.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:37.262Z] ---> create-netrc.sh [Pipeline] } [2024-02-28T22:46:37.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:37.692Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-28T22:46:37.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:37.985Z] ---> sudo-logs.sh [2024-02-28T22:46:37.985Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-28T22:46:38.058Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:38.341Z] ---> job-cost.sh [2024-02-28T22:46:38.341Z] lf-activate-venv: SKIPPING [2024-02-28T22:46:38.341Z] DEBUG: total: 0.2199999988079071 [2024-02-28T22:46:38.341Z] INFO: Retrieving Stack Cost... [2024-02-28T22:46:38.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-28T22:46:39.171Z] INFO: Archiving Costs [Pipeline] echo [2024-02-28T22:46:39.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-28T22:46:39.465Z] ---> logs-deploy.sh [2024-02-28T22:46:39.465Z] lf-activate-venv: SKIPPING [2024-02-28T22:46:39.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/8 [2024-02-28T22:46:39.465Z] INFO: archiving workspace using pattern(s): [2024-02-28T22:46:40.399Z] Archives upload complete. [2024-02-28T22:46:40.658Z] INFO: archiving logs to Nexus