Pull request #9 updated 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 2699493645440727ae69ef4d7692207bb1988f9c 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-ssh17926621754276277549.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-ssh16925877572659696153.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-ssh4828746534022820071.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-ssh16844399134784459098.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-ssh6175655661572975802.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 ‘prd-ubuntu20.04-docker-8c-8g-1664’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1666 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 2699493645440727ae69ef4d7692207bb1988f9c Merge succeeded, producing 2699493645440727ae69ef4d7692207bb1988f9c Checking out Revision 2699493645440727ae69ef4d7692207bb1988f9c (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 2699493645440727ae69ef4d7692207bb1988f9c # 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 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-02-25T08:59:20.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-25T08:59:20.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-25T08:59:20.876Z] ========================================================= [2024-02-25T08:59:20.876Z] EdgeX Global Pipelines Version Info [2024-02-25T08:59:20.876Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a9a6f66d479947a211bd01278a262dd7d70af05d # timeout=10 [2024-02-25T08:59:21.600Z] ------------------- [2024-02-25T08:59:21.600Z] stable info: [2024-02-25T08:59:21.600Z] ------------------- [2024-02-25T08:59:21.600Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-25T08:59:21.600Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T08:59:21.600Z] Message: update stable to v1.0.258 [2024-02-25T08:59:22.170Z] ------------------- [2024-02-25T08:59:22.170Z] experimental info: [2024-02-25T08:59:22.170Z] ------------------- [2024-02-25T08:59:22.170Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-25T08:59:22.170Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T08:59:22.170Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-25T08:59:22.248Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-25T08:59:22.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-25T08:59:22.301Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-25T08:59:22.325Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-25T08:59:22.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-25T08:59:22.376Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-25T08:59:22.406Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-25T08:59:22.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-25T08:59:22.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-25T08:59:22.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-25T08:59:22.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-25T08:59:22.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-25T08:59:22.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-25T08:59:22.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-25T08:59:22.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T08:59:22.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T08:59:22.706Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T08:59:22.738Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T08:59:22.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-25T08:59:22.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-25T08:59:22.840Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-25T08:59:22.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-25T08:59:22.908Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-25T08:59:22.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-25T08:59:22.973Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-25T08:59:23.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-25T08:59:23.052Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-25T08:59:23.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-25T08:59:23.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-25T08:59:23.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-25T08:59:23.199Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo [2024-02-25T08:59:23.239Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2699493 [Pipeline] echo [2024-02-25T08:59:23.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T08:59:23.362Z] provisioning config files... [2024-02-25T08:59:23.376Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config3216457083199817147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:59:23.714Z] ---> ****-login.sh [2024-02-25T08:59:23.714Z] nexus3.edgexfoundry.org:10001 [2024-02-25T08:59:23.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:23.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:23.974Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:23.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:23.974Z] [2024-02-25T08:59:23.974Z] Login Succeeded [2024-02-25T08:59:23.974Z] nexus3.edgexfoundry.org:10002 [2024-02-25T08:59:24.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:24.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:24.234Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:24.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:24.234Z] [2024-02-25T08:59:24.234Z] Login Succeeded [2024-02-25T08:59:24.234Z] nexus3.edgexfoundry.org:10003 [2024-02-25T08:59:24.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:24.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:24.235Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:24.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:24.235Z] [2024-02-25T08:59:24.235Z] Login Succeeded [2024-02-25T08:59:24.235Z] nexus3.edgexfoundry.org:10004 [2024-02-25T08:59:24.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:24.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:24.495Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:24.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:24.495Z] [2024-02-25T08:59:24.495Z] Login Succeeded [2024-02-25T08:59:24.495Z] ****.io [2024-02-25T08:59:24.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:24.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:24.756Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:24.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:24.756Z] [2024-02-25T08:59:24.756Z] Login Succeeded [2024-02-25T08:59:24.757Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T08:59:24.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-25T08:59:25.254Z] + git rev-list -1 --merges 2699493645440727ae69ef4d7692207bb1988f9c~1..2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo [2024-02-25T08:59:25.288Z] -----------> git rev-list -1 --merges 2699493645440727ae69ef4d7692207bb1988f9c~1..2699493645440727ae69ef4d7692207bb1988f9c 2699493645440727ae69ef4d7692207bb1988f9c [false] [Pipeline] sh [2024-02-25T08:59:25.598Z] + git log --format=format:%s -1 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo [2024-02-25T08:59:25.614Z] ========================================================= [2024-02-25T08:59:25.614Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-25T08:59:25.614Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T08:59:25.988Z] + git log --format=format:%s -1 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo [2024-02-25T08:59:25.999Z] [semverPrep] GIT_COMMIT: 2699493645440727ae69ef4d7692207bb1988f9c, Commit Message: fix: fix test process [Pipeline] echo [2024-02-25T08:59:26.021Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-25T08:59:26.389Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-25T08:59:26.389Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-25T08:59:26.389Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-25T08:59:26.389Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-25T08:59:26.389Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-25T08:59:26.389Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-25T08:59:26.389Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:59:26.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:59:26.742Z] [2024-02-25T08:59:26.742Z] 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-25T08:59:27.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:59:27.047Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-25T08:59:27.047Z] b85a868b505f: Pulling fs layer [2024-02-25T08:59:27.047Z] e2be974225ed: Pulling fs layer [2024-02-25T08:59:27.047Z] 339a4e72a1f5: Pulling fs layer [2024-02-25T08:59:27.047Z] 988bab9f4d93: Pulling fs layer [2024-02-25T08:59:27.047Z] 1469e6f7b9e6: Pulling fs layer [2024-02-25T08:59:27.047Z] eaf3925da568: Pulling fs layer [2024-02-25T08:59:27.047Z] bab4dde63d76: Pulling fs layer [2024-02-25T08:59:27.047Z] bde34c3a00c8: Pulling fs layer [2024-02-25T08:59:27.047Z] b352a97aabf1: Pulling fs layer [2024-02-25T08:59:27.047Z] 4872d77fe225: Pulling fs layer [2024-02-25T08:59:27.047Z] 5851b861e8e6: Pulling fs layer [2024-02-25T08:59:27.047Z] 988bab9f4d93: Waiting [2024-02-25T08:59:27.047Z] b352a97aabf1: Waiting [2024-02-25T08:59:27.047Z] 1469e6f7b9e6: Waiting [2024-02-25T08:59:27.047Z] 4872d77fe225: Waiting [2024-02-25T08:59:27.047Z] 5851b861e8e6: Waiting [2024-02-25T08:59:27.047Z] eaf3925da568: Waiting [2024-02-25T08:59:27.047Z] bab4dde63d76: Waiting [2024-02-25T08:59:27.047Z] bde34c3a00c8: Waiting [2024-02-25T08:59:27.047Z] e2be974225ed: Download complete [2024-02-25T08:59:27.047Z] 988bab9f4d93: Verifying Checksum [2024-02-25T08:59:27.309Z] 1469e6f7b9e6: Verifying Checksum [2024-02-25T08:59:27.309Z] 1469e6f7b9e6: Download complete [2024-02-25T08:59:27.309Z] eaf3925da568: Download complete [2024-02-25T08:59:27.309Z] 339a4e72a1f5: Verifying Checksum [2024-02-25T08:59:27.309Z] 339a4e72a1f5: Download complete [2024-02-25T08:59:27.309Z] bde34c3a00c8: Download complete [2024-02-25T08:59:27.309Z] b352a97aabf1: Verifying Checksum [2024-02-25T08:59:27.309Z] b352a97aabf1: Download complete [2024-02-25T08:59:27.309Z] 4872d77fe225: Verifying Checksum [2024-02-25T08:59:27.309Z] 4872d77fe225: Download complete [2024-02-25T08:59:27.309Z] 5851b861e8e6: Verifying Checksum [2024-02-25T08:59:27.309Z] 5851b861e8e6: Download complete [2024-02-25T08:59:27.309Z] b85a868b505f: Verifying Checksum [2024-02-25T08:59:27.309Z] b85a868b505f: Download complete [2024-02-25T08:59:27.582Z] bab4dde63d76: Verifying Checksum [2024-02-25T08:59:27.582Z] bab4dde63d76: Download complete [2024-02-25T08:59:28.969Z] b85a868b505f: Pull complete [2024-02-25T08:59:28.969Z] e2be974225ed: Pull complete [2024-02-25T08:59:29.229Z] 339a4e72a1f5: Pull complete [2024-02-25T08:59:29.490Z] 988bab9f4d93: Pull complete [2024-02-25T08:59:29.749Z] 1469e6f7b9e6: Pull complete [2024-02-25T08:59:29.749Z] eaf3925da568: Pull complete [2024-02-25T08:59:31.654Z] bab4dde63d76: Pull complete [2024-02-25T08:59:31.654Z] bde34c3a00c8: Pull complete [2024-02-25T08:59:31.914Z] b352a97aabf1: Pull complete [2024-02-25T08:59:31.914Z] 4872d77fe225: Pull complete [2024-02-25T08:59:31.914Z] 5851b861e8e6: Pull complete [2024-02-25T08:59:31.914Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-25T08:59:31.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T08:59:31.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T08:59:32.117Z] prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container [2024-02-25T08:59:32.136Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-25T08:59:35.692Z] $ docker top 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 -eo pid,comm [2024-02-25T08:59:35.756Z] 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-25T08:59:35.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-25T08:59:35.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T08:59:35.852Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T08:59:35.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T08:59:35.973Z] $ docker exec 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent [2024-02-25T08:59:36.086Z] SSH_AUTH_SOCK=/tmp/ssh-jIH6pLOPeCok/agent.31 [2024-02-25T08:59:36.086Z] SSH_AGENT_PID=37 [2024-02-25T08:59:36.093Z] Running ssh-add (command line suppressed) [2024-02-25T08:59:36.211Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5441942510750774529.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5441942510750774529.key) [2024-02-25T08:59:36.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T08:59:36.536Z] + git tag --points-at HEAD [Pipeline] } [2024-02-25T08:59:36.542Z] $ docker exec --env ******** --env ******** 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent -k [2024-02-25T08:59:36.648Z] unset SSH_AUTH_SOCK; [2024-02-25T08:59:36.649Z] unset SSH_AGENT_PID; [2024-02-25T08:59:36.649Z] echo Agent pid 37 killed; [2024-02-25T08:59:36.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-25T08:59:36.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T08:59:36.730Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T08:59:36.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T08:59:36.832Z] $ docker exec 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent [2024-02-25T08:59:36.944Z] SSH_AUTH_SOCK=/tmp/ssh-PAMeQ068Mcau/agent.69 [2024-02-25T08:59:36.944Z] SSH_AGENT_PID=75 [2024-02-25T08:59:36.949Z] Running ssh-add (command line suppressed) [2024-02-25T08:59:37.044Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_11792935279452159439.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_11792935279452159439.key) [2024-02-25T08:59:37.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T08:59:37.369Z] + git semver init [2024-02-25T08:59:37.630Z] 2024-02-25 08:59:37,523 [run_init] DEBUG init version:0.0.0 force:False [2024-02-25T08:59:37.630Z] 2024-02-25 08:59:37,523 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T08:59:37.630Z] 2024-02-25 08:59:37,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T08:59:37.630Z] 2024-02-25 08:59:37,524 [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-25T08:59:38.199Z] 2024-02-25 08:59:38,147 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-25T08:59:38.199Z] 2024-02-25 08:59:38,148 [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-25T08:59:38.199Z] 2024-02-25 08:59:38,148 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T08:59:38.199Z] 2024-02-25 08:59:38,152 [execute] INFO git cat-file --batch-check [2024-02-25T08:59:38.199Z] 2024-02-25 08:59:38,152 [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-25T08:59:38.199Z] 2024-02-25 08:59:38,158 [execute] INFO git cat-file --batch [2024-02-25T08:59:38.199Z] 2024-02-25 08:59:38,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T08:59:38.199Z] 2024-02-25 08:59:38,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T08:59:38.199Z] 0.0.0 [Pipeline] } [2024-02-25T08:59:38.205Z] $ docker exec --env ******** --env ******** 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent -k [2024-02-25T08:59:38.297Z] unset SSH_AUTH_SOCK; [2024-02-25T08:59:38.297Z] unset SSH_AGENT_PID; [2024-02-25T08:59:38.297Z] echo Agent pid 75 killed; [2024-02-25T08:59:38.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-25T08:59:38.695Z] + git semver [Pipeline] } [2024-02-25T08:59:38.966Z] $ docker stop --time=1 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 [2024-02-25T08:59:40.287Z] $ docker rm -f --volumes 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T08:59:40.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-25T08:59:40.933Z] Stashed 1 file(s) [Pipeline] echo [2024-02-25T08:59:40.936Z] [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-25T08:59:41.285Z] provisioning config files... [2024-02-25T08:59:41.295Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config4690438764855189359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T08:59:41.614Z] ---> ****-login.sh [2024-02-25T08:59:41.614Z] nexus3.edgexfoundry.org:10001 [2024-02-25T08:59:41.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:41.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:41.615Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:41.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:41.615Z] [2024-02-25T08:59:41.615Z] Login Succeeded [2024-02-25T08:59:41.615Z] nexus3.edgexfoundry.org:10002 [2024-02-25T08:59:41.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:41.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:41.615Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:41.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:41.615Z] [2024-02-25T08:59:41.615Z] Login Succeeded [2024-02-25T08:59:41.615Z] nexus3.edgexfoundry.org:10003 [2024-02-25T08:59:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:41.875Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:41.875Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:41.875Z] [2024-02-25T08:59:41.875Z] Login Succeeded [2024-02-25T08:59:41.875Z] nexus3.edgexfoundry.org:10004 [2024-02-25T08:59:41.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:41.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:41.875Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:41.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:41.876Z] [2024-02-25T08:59:41.876Z] Login Succeeded [2024-02-25T08:59:41.876Z] ****.io [2024-02-25T08:59:41.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T08:59:42.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T08:59:42.136Z] Configure a credential helper to remove this warning. See [2024-02-25T08:59:42.136Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T08:59:42.136Z] [2024-02-25T08:59:42.136Z] Login Succeeded [2024-02-25T08:59:42.136Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T08:59:42.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T08:59:42.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:59:42.317Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T08:59:42.342Z] ========================================================= [2024-02-25T08:59:42.342Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-25T08:59:42.342Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T08:59:42.725Z] + 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-25T08:59:42.725Z] Sending build context to Docker daemon 539.6kB [2024-02-25T08:59:42.725Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T08:59:42.725Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T08:59:42.725Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-25T08:59:42.725Z] 7264a8db6415: Pulling fs layer [2024-02-25T08:59:42.725Z] c4d48a809fc2: Pulling fs layer [2024-02-25T08:59:42.725Z] 4f1c88b9dad5: Pulling fs layer [2024-02-25T08:59:42.725Z] ad3a456e5733: Pulling fs layer [2024-02-25T08:59:42.725Z] 69c7f0334f64: Pulling fs layer [2024-02-25T08:59:42.725Z] 1f1c1a5573a3: Pulling fs layer [2024-02-25T08:59:42.725Z] ce7588e14bc9: Pulling fs layer [2024-02-25T08:59:42.725Z] 69c7f0334f64: Waiting [2024-02-25T08:59:42.725Z] ad3a456e5733: Waiting [2024-02-25T08:59:42.725Z] 1f1c1a5573a3: Waiting [2024-02-25T08:59:42.725Z] ce7588e14bc9: Waiting [2024-02-25T08:59:42.725Z] b5e4710f87ac: Pulling fs layer [2024-02-25T08:59:42.725Z] c4d48a809fc2: Verifying Checksum [2024-02-25T08:59:42.725Z] c4d48a809fc2: Download complete [2024-02-25T08:59:42.725Z] ad3a456e5733: Download complete [2024-02-25T08:59:42.725Z] 69c7f0334f64: Verifying Checksum [2024-02-25T08:59:42.725Z] 69c7f0334f64: Download complete [2024-02-25T08:59:42.985Z] 7264a8db6415: Verifying Checksum [2024-02-25T08:59:42.985Z] 7264a8db6415: Download complete [2024-02-25T08:59:42.985Z] 1f1c1a5573a3: Verifying Checksum [2024-02-25T08:59:42.985Z] 1f1c1a5573a3: Download complete [2024-02-25T08:59:42.985Z] 7264a8db6415: Pull complete [2024-02-25T08:59:42.985Z] b5e4710f87ac: Verifying Checksum [2024-02-25T08:59:42.985Z] b5e4710f87ac: Download complete [2024-02-25T08:59:43.243Z] c4d48a809fc2: Pull complete [2024-02-25T08:59:43.243Z] 4f1c88b9dad5: Verifying Checksum [2024-02-25T08:59:43.243Z] 4f1c88b9dad5: Download complete [2024-02-25T08:59:43.501Z] ce7588e14bc9: Verifying Checksum [2024-02-25T08:59:43.501Z] ce7588e14bc9: Download complete [2024-02-25T08:59:46.808Z] 4f1c88b9dad5: Pull complete [2024-02-25T08:59:46.808Z] ad3a456e5733: Pull complete [2024-02-25T08:59:46.808Z] 69c7f0334f64: Pull complete [2024-02-25T08:59:46.808Z] 1f1c1a5573a3: Pull complete [2024-02-25T08:59:49.347Z] ce7588e14bc9: Pull complete [2024-02-25T08:59:49.914Z] b5e4710f87ac: Pull complete [2024-02-25T08:59:49.914Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-25T08:59:49.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-25T08:59:49.914Z] ---> 88b5674ff536 [2024-02-25T08:59:49.914Z] Step 3/10 : ARG MAKE=make build [2024-02-25T08:59:55.192Z] ---> Running in 23aa14b2eec2 [2024-02-25T08:59:55.192Z] Removing intermediate container 23aa14b2eec2 [2024-02-25T08:59:55.192Z] ---> 80b6dd78231b [2024-02-25T08:59:55.192Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T08:59:55.192Z] ---> Running in ee10f34424ff [2024-02-25T08:59:55.192Z] Removing intermediate container ee10f34424ff [2024-02-25T08:59:55.192Z] ---> 242f2ae8f9fc [2024-02-25T08:59:55.192Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T08:59:55.192Z] ---> Running in 5f80802bc980 [2024-02-25T08:59:55.192Z] Removing intermediate container 5f80802bc980 [2024-02-25T08:59:55.192Z] ---> c1f8c3bf086e [2024-02-25T08:59:55.192Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T08:59:55.192Z] ---> Running in 72d11cfc522b [2024-02-25T08:59:55.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T08:59:55.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T08:59:55.967Z] OK: 264 MiB in 52 packages [2024-02-25T08:59:56.194Z] Still waiting to schedule task [2024-02-25T08:59:56.194Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1665’ is offline [2024-02-25T08:59:56.224Z] Removing intermediate container 72d11cfc522b [2024-02-25T08:59:56.224Z] ---> c863da5b3d78 [2024-02-25T08:59:56.224Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T08:59:56.483Z] ---> 2cd337ddcf92 [2024-02-25T08:59:56.483Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T08:59:56.483Z] ---> Running in 6fb6c11a8c2c [2024-02-25T09:00:52.852Z] Removing intermediate container 6fb6c11a8c2c [2024-02-25T09:00:52.852Z] ---> 1cef41dc08d5 [2024-02-25T09:00:52.852Z] Step 9/10 : COPY . . [2024-02-25T09:00:52.852Z] ---> 6546fb857461 [2024-02-25T09:00:52.852Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:00:52.852Z] ---> Running in a563cd2138d8 [2024-02-25T09:00:52.852Z] noop [2024-02-25T09:00:52.852Z] Removing intermediate container a563cd2138d8 [2024-02-25T09:00:52.852Z] ---> a7e2be3ed1fe [2024-02-25T09:00:52.852Z] Successfully built a7e2be3ed1fe [2024-02-25T09:00:52.852Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:00:53.246Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:00:53.246Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:00:53.358Z] prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container [2024-02-25T09:00:53.393Z] $ 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 ******** ci-base-image-x86_64 cat [2024-02-25T09:00:53.744Z] $ docker top d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:00:54.119Z] + go version [2024-02-25T09:00:54.119Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-25T09:00:54.136Z] $ docker stop --time=1 d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 [2024-02-25T09:00:55.433Z] $ docker rm -f --volumes d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:00:56.114Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:00:56.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:00:56.235Z] prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container [2024-02-25T09:00:56.277Z] $ 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 ******** ci-base-image-x86_64 cat [2024-02-25T09:00:56.582Z] $ docker top 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:00:56.958Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:00:57.280Z] + make test [2024-02-25T09:00:57.280Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:01:03.848Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:01:13.839Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:01:13.839Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:01:32.895Z] go vet ./... [2024-02-25T09:01:36.178Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:01:36.178Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:01:36.178Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:01:36.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:01:36.232Z] $ docker stop --time=1 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 [2024-02-25T09:01:41.206Z] $ docker rm -f --volumes 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:01:41.747Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:01:41.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2024-02-25T09:01:41.888Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1667 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws [2024-02-25T09:01:41.975Z] Running in /w/workspace/device-s7/4 [Pipeline] { [Pipeline] checkout [2024-02-25T09:01:45.052Z] Selected Git installation does not exist. Using Default [2024-02-25T09:01:45.052Z] The recommended git tool is: NONE [Pipeline] sh [2024-02-25T09:01:45.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:01:45.966Z] + ls -al . [2024-02-25T09:01:45.966Z] total 124 [2024-02-25T09:01:45.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:00 . [2024-02-25T09:01:45.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 08:59 .. [2024-02-25T09:01:45.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:01 .git [2024-02-25T09:01:45.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:59 .github [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 08:59 .gitignore [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 08:59 .golangci.yml [2024-02-25T09:01:45.966Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 08:59 .semver [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 08:59 Attribution.txt [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 08:59 Dockerfile [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 08:59 Jenkinsfile [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 08:59 Makefile [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 08:59 OWNERS.md [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 08:59 README.md [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:59 VERSION [2024-02-25T09:01:45.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:59 bin [2024-02-25T09:01:45.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:59 cmd [2024-02-25T09:01:45.966Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:00 coverage.out [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 08:59 go.mod [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 08:59 go.sum [2024-02-25T09:01:45.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:59 internal [2024-02-25T09:01:45.966Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 08:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:01:46.324Z] + 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=2699493645440727ae69ef4d7692207bb1988f9c --label arch=amd64 --label version=0.0.0 . [2024-02-25T09:01:46.324Z] Sending build context to Docker daemon 540.7kB [2024-02-25T09:01:46.324Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:01:46.324Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:01:46.324Z] ---> a7e2be3ed1fe [2024-02-25T09:01:46.324Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:01:46.585Z] ---> Running in e9e47e8e62b5 [2024-02-25T09:01:46.585Z] Removing intermediate container e9e47e8e62b5 [2024-02-25T09:01:46.585Z] ---> cc7abf3551ae [2024-02-25T09:01:46.585Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:01:46.585Z] ---> Running in 4fe3401d2224 [2024-02-25T09:01:46.585Z] Removing intermediate container 4fe3401d2224 [2024-02-25T09:01:46.585Z] ---> e830ec06541c [2024-02-25T09:01:46.585Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:01:46.585Z] ---> Running in 90480e4684c5 [2024-02-25T09:01:46.846Z] Removing intermediate container 90480e4684c5 [2024-02-25T09:01:46.846Z] ---> 0a5241b2071c [2024-02-25T09:01:46.846Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:01:46.846Z] ---> Running in f82b768fccd5 [2024-02-25T09:01:47.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:01:47.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:01:47.367Z] OK: 264 MiB in 52 packages [2024-02-25T09:01:47.936Z] Removing intermediate container f82b768fccd5 [2024-02-25T09:01:47.936Z] ---> 257613ac38e8 [2024-02-25T09:01:47.936Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:01:47.936Z] ---> e5461ff5fd0e [2024-02-25T09:01:47.936Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:01:47.936Z] ---> Running in c51e32460ad1 [2024-02-25T09:01:48.873Z] Removing intermediate container c51e32460ad1 [2024-02-25T09:01:48.873Z] ---> 11330d646d91 [2024-02-25T09:01:48.873Z] Step 9/24 : COPY . . [2024-02-25T09:01:48.873Z] ---> 6c1daf88c372 [2024-02-25T09:01:48.873Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:01:48.873Z] ---> Running in 445ce20f2087 [2024-02-25T09:01:49.131Z] 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-25T09:01:50.595Z] using credential edgex-jenkins-ssh [2024-02-25T09:01:50.620Z] Cloning the remote Git repository [2024-02-25T09:01:50.658Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:01:50.748Z] > git init /w/workspace/device-s7/4 # timeout=10 [2024-02-25T09:01:50.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:01:50.898Z] > git --version # timeout=10 [2024-02-25T09:01:50.923Z] > git --version # 'git version 2.25.1' [2024-02-25T09:01:50.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:01:51.086Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:01:51.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:01:51.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:01:52.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:01:52.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:01:52.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:01:53.121Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit 2699493645440727ae69ef4d7692207bb1988f9c [2024-02-25T09:01:53.400Z] Merge succeeded, producing 2699493645440727ae69ef4d7692207bb1988f9c [2024-02-25T09:01:53.401Z] Checking out Revision 2699493645440727ae69ef4d7692207bb1988f9c (PR-9) [2024-02-25T09:01:52.622Z] > 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-25T09:01:53.145Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:01:53.222Z] > git checkout -f 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 [2024-02-25T09:01:53.306Z] > git remote # timeout=10 [2024-02-25T09:01:53.329Z] > git config --get remote.origin.url # timeout=10 [2024-02-25T09:01:53.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:01:53.361Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-25T09:01:53.385Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-25T09:01:53.408Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:01:53.437Z] > git checkout -f 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 [2024-02-25T09:01:56.961Z] Commit message: "fix: fix test process" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:01:58.043Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-25T09:01:58.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-25T09:01:58.043Z] Dload Upload Total Spent Left Speed [2024-02-25T09:01:58.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 120k 0 --:--:-- --:--:-- --:--:-- 120k [Pipeline] sh [2024-02-25T09:01:58.380Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-25T09:01:58.714Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-25T09:01:58.714Z] + sudo tee /etc/docker/daemon.new [2024-02-25T09:01:58.714Z] { [2024-02-25T09:01:58.714Z] "registry-mirrors": [ [2024-02-25T09:01:58.714Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-25T09:01:58.714Z] ], [2024-02-25T09:01:58.714Z] "bip": "10.250.0.254/24", [2024-02-25T09:01:58.714Z] "hosts": [ [2024-02-25T09:01:58.714Z] "tcp://0.0.0.0:5555", [2024-02-25T09:01:58.715Z] "unix:///var/run/docker.sock" [2024-02-25T09:01:58.715Z] ], [2024-02-25T09:01:58.715Z] "mtu": 1458, [2024-02-25T09:01:58.715Z] "selinux-enabled": true, [2024-02-25T09:01:58.715Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-25T09:01:58.715Z] } [Pipeline] sh [2024-02-25T09:01:59.044Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-25T09:01:59.374Z] + sudo service docker restart [2024-02-25T09:02:11.069Z] Removing intermediate container 445ce20f2087 [2024-02-25T09:02:11.069Z] ---> a4cca535c27d [2024-02-25T09:02:11.069Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:02:11.069Z] 3.18: Pulling from library/alpine [2024-02-25T09:02:11.069Z] 619be1103602: Pulling fs layer [2024-02-25T09:02:11.069Z] 619be1103602: Download complete [2024-02-25T09:02:11.069Z] 619be1103602: Pull complete [2024-02-25T09:02:11.069Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:02:11.069Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:02:11.069Z] ---> d3782b16ccc9 [2024-02-25T09:02:11.069Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:02:11.069Z] ---> Running in 18f318d4eb74 [2024-02-25T09:02:11.069Z] Removing intermediate container 18f318d4eb74 [2024-02-25T09:02:11.069Z] ---> eb2a989d48f0 [2024-02-25T09:02:11.069Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:02:11.069Z] ---> Running in f74f3f0ecf21 [2024-02-25T09:02:11.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:02:11.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:02:11.069Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:02:11.069Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:02:11.069Z] OK: 7 MiB in 16 packages [2024-02-25T09:02:11.069Z] Removing intermediate container f74f3f0ecf21 [2024-02-25T09:02:11.069Z] ---> 285c1c8d32ef [2024-02-25T09:02:11.069Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:02:11.069Z] ---> Running in 69d6a286a3c8 [2024-02-25T09:02:11.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:02:11.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:02:11.330Z] OK: 7 MiB in 16 packages [2024-02-25T09:02:11.589Z] Removing intermediate container 69d6a286a3c8 [2024-02-25T09:02:11.589Z] ---> 9479370245a1 [2024-02-25T09:02:11.589Z] Step 15/24 : WORKDIR / [2024-02-25T09:02:11.589Z] ---> Running in 8f2b35deeadc [2024-02-25T09:02:11.589Z] Removing intermediate container 8f2b35deeadc [2024-02-25T09:02:11.589Z] ---> c5efd86e36ba [2024-02-25T09:02:11.589Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:02:11.850Z] ---> 4f600629064f [2024-02-25T09:02:11.850Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:02:12.794Z] ---> cc80bbac215b [2024-02-25T09:02:12.794Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:02:12.794Z] ---> 97ef6b5091e2 [2024-02-25T09:02:12.794Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:02:12.794Z] ---> Running in 688ab2ade219 [2024-02-25T09:02:12.794Z] Removing intermediate container 688ab2ade219 [2024-02-25T09:02:12.794Z] ---> fc52d9e8007c [2024-02-25T09:02:12.794Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:02:12.794Z] ---> Running in 4410a810c1f6 [2024-02-25T09:02:12.794Z] Removing intermediate container 4410a810c1f6 [2024-02-25T09:02:12.794Z] ---> 4e1e47be5f62 [2024-02-25T09:02:12.794Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:02:12.794Z] ---> Running in bcc3c9dd323e [2024-02-25T09:02:13.055Z] Removing intermediate container bcc3c9dd323e [2024-02-25T09:02:13.055Z] ---> 287e354b6e57 [2024-02-25T09:02:13.055Z] Step 22/24 : LABEL arch=amd64 [2024-02-25T09:02:13.055Z] ---> Running in f21c3ac6bce7 [2024-02-25T09:02:13.055Z] Removing intermediate container f21c3ac6bce7 [2024-02-25T09:02:13.055Z] ---> 7a41e72e93a6 [2024-02-25T09:02:13.055Z] Step 23/24 : LABEL git_sha=2699493645440727ae69ef4d7692207bb1988f9c [2024-02-25T09:02:13.055Z] ---> Running in 01c028cd73a4 [2024-02-25T09:02:13.055Z] Removing intermediate container 01c028cd73a4 [2024-02-25T09:02:13.055Z] ---> fef975a620af [2024-02-25T09:02:13.055Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:02:13.055Z] ---> Running in aa7966c31160 [2024-02-25T09:02:13.315Z] Removing intermediate container aa7966c31160 [2024-02-25T09:02:13.315Z] ---> 5202f1c5ce47 [2024-02-25T09:02:13.315Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:02:13.315Z] Successfully built 5202f1c5ce47 [2024-02-25T09:02:13.315Z] 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) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:02:14.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:02:14.122Z] [2024-02-25T09:02:14.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:02:14.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:02:14.448Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-25T09:02:14.448Z] 5eb5b503b376: Pulling fs layer [2024-02-25T09:02:14.448Z] 5c69ac0246d0: Pulling fs layer [2024-02-25T09:02:14.448Z] ec43610c2a17: Pulling fs layer [2024-02-25T09:02:14.448Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-25T09:02:14.448Z] 33b1e0a273af: Pulling fs layer [2024-02-25T09:02:14.448Z] 5d3b04190fa2: Pulling fs layer [2024-02-25T09:02:14.448Z] 2f39f015ded8: Pulling fs layer [2024-02-25T09:02:14.448Z] 5d3b04190fa2: Waiting [2024-02-25T09:02:14.448Z] 2f39f015ded8: Waiting [2024-02-25T09:02:14.448Z] 33b1e0a273af: Waiting [2024-02-25T09:02:14.448Z] 5c69ac0246d0: Download complete [2024-02-25T09:02:14.448Z] 3a2ae6a8a46f: Verifying Checksum [2024-02-25T09:02:14.448Z] 3a2ae6a8a46f: Download complete [2024-02-25T09:02:14.448Z] 33b1e0a273af: Verifying Checksum [2024-02-25T09:02:14.448Z] 33b1e0a273af: Download complete [2024-02-25T09:02:14.448Z] 5d3b04190fa2: Verifying Checksum [2024-02-25T09:02:14.448Z] 5d3b04190fa2: Download complete [2024-02-25T09:02:14.448Z] ec43610c2a17: Verifying Checksum [2024-02-25T09:02:14.448Z] ec43610c2a17: Download complete [2024-02-25T09:02:14.707Z] 5eb5b503b376: Verifying Checksum [2024-02-25T09:02:14.707Z] 5eb5b503b376: Download complete [2024-02-25T09:02:15.275Z] 2f39f015ded8: Download complete [2024-02-25T09:02:15.842Z] 5eb5b503b376: Pull complete [2024-02-25T09:02:15.842Z] 5c69ac0246d0: Pull complete [2024-02-25T09:02:16.409Z] ec43610c2a17: Pull complete [2024-02-25T09:02:16.409Z] 3a2ae6a8a46f: Pull complete [2024-02-25T09:02:16.669Z] 33b1e0a273af: Pull complete [2024-02-25T09:02:16.669Z] 5d3b04190fa2: Pull complete [2024-02-25T09:02:20.861Z] 2f39f015ded8: Pull complete [2024-02-25T09:02:20.861Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-25T09:02:20.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:02:20.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:02:21.055Z] prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container [2024-02-25T09:02:21.094Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:02:25.041Z] $ docker top 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2024-02-25T09:02:25.260Z] provisioning config files... [2024-02-25T09:02:25.289Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/4@tmp/config9275865898577527285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:02:25.511Z] ---> job-cost.sh [2024-02-25T09:02:25.511Z] lf-activate-venv: SKIPPING [2024-02-25T09:02:25.511Z] INFO: No Stack... [2024-02-25T09:02:25.739Z] ---> ****-login.sh [2024-02-25T09:02:25.739Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:02:25.770Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:02:26.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:02:26.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:02:26.279Z] Configure a credential helper to remove this warning. See [2024-02-25T09:02:26.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:02:26.279Z] [2024-02-25T09:02:26.279Z] Login Succeeded [2024-02-25T09:02:26.279Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:02:26.337Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:02:26.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:02:26.629Z] + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [2024-02-25T09:02:26.629Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T09:02:26.644Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [2024-02-25T09:02:26.654Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] did not exist. Created. [2024-02-25T09:02:26.659Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:02:26.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:02:26.821Z] Configure a credential helper to remove this warning. See [2024-02-25T09:02:26.821Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:02:26.821Z] [2024-02-25T09:02:26.821Z] Login Succeeded [2024-02-25T09:02:26.821Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:02:26.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:02:27.020Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-25T09:02:27.077Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:02:27.085Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [2024-02-25T09:02:27.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:02:27.100Z] Configure a credential helper to remove this warning. See [2024-02-25T09:02:27.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:02:27.100Z] [2024-02-25T09:02:27.100Z] Login Succeeded [2024-02-25T09:02:27.100Z] nexus3.edgexfoundry.org:10004 [Pipeline] // lock [Pipeline] } [2024-02-25T09:02:27.169Z] $ docker stop --time=1 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 [2024-02-25T09:02:27.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:02:27.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:02:27.368Z] Configure a credential helper to remove this warning. See [2024-02-25T09:02:27.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:02:27.368Z] [2024-02-25T09:02:27.368Z] Login Succeeded [2024-02-25T09:02:27.368Z] ****.io [2024-02-25T09:02:27.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:02:27.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:02:27.903Z] Configure a credential helper to remove this warning. See [2024-02-25T09:02:27.903Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:02:27.903Z] [2024-02-25T09:02:27.903Z] Login Succeeded [2024-02-25T09:02:27.903Z] ---> ****-login.sh ends [2024-02-25T09:02:28.313Z] $ docker rm -f --volumes 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-02-25T09:02:28.376Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-02-25T09:02:28.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:02:28.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:02:28.833Z] ========================================================= [2024-02-25T09:02:28.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-25T09:02:28.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:02:29.290Z] + 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-25T09:02:29.557Z] Sending build context to Docker daemon 400.9kB [2024-02-25T09:02:29.557Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:02:29.557Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:02:32.140Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-25T09:02:32.140Z] 9fda8d8052c6: Pulling fs layer [2024-02-25T09:02:32.140Z] 5d54e960e981: Pulling fs layer [2024-02-25T09:02:32.140Z] c4a7e357bf2a: Pulling fs layer [2024-02-25T09:02:32.140Z] f0e02332f6b5: Pulling fs layer [2024-02-25T09:02:32.140Z] 872ee5b61b7b: Pulling fs layer [2024-02-25T09:02:32.140Z] 0c6a40ed1a82: Pulling fs layer [2024-02-25T09:02:32.140Z] 94ae7d8d031c: Pulling fs layer [2024-02-25T09:02:32.140Z] 872ee5b61b7b: Waiting [2024-02-25T09:02:32.140Z] 0c6a40ed1a82: Waiting [2024-02-25T09:02:32.140Z] 94ae7d8d031c: Waiting [2024-02-25T09:02:32.140Z] f0e02332f6b5: Waiting [2024-02-25T09:02:32.140Z] 5d54e960e981: Verifying Checksum [2024-02-25T09:02:32.140Z] 5d54e960e981: Download complete [2024-02-25T09:02:32.140Z] f0e02332f6b5: Verifying Checksum [2024-02-25T09:02:32.140Z] f0e02332f6b5: Download complete [2024-02-25T09:02:32.140Z] 872ee5b61b7b: Verifying Checksum [2024-02-25T09:02:32.140Z] 872ee5b61b7b: Download complete [2024-02-25T09:02:32.140Z] 9fda8d8052c6: Verifying Checksum [2024-02-25T09:02:32.140Z] 9fda8d8052c6: Download complete [2024-02-25T09:02:32.410Z] 94ae7d8d031c: Verifying Checksum [2024-02-25T09:02:32.410Z] 94ae7d8d031c: Download complete [2024-02-25T09:02:32.996Z] 9fda8d8052c6: Pull complete [2024-02-25T09:02:33.583Z] 5d54e960e981: Pull complete [2024-02-25T09:02:33.851Z] c4a7e357bf2a: Download complete [2024-02-25T09:02:34.812Z] 0c6a40ed1a82: Verifying Checksum [2024-02-25T09:02:34.812Z] 0c6a40ed1a82: Download complete [2024-02-25T09:02:47.134Z] c4a7e357bf2a: Pull complete [2024-02-25T09:02:47.134Z] f0e02332f6b5: Pull complete [2024-02-25T09:02:47.404Z] 872ee5b61b7b: Pull complete [2024-02-25T09:02:55.638Z] 0c6a40ed1a82: Pull complete [2024-02-25T09:02:57.049Z] 94ae7d8d031c: Pull complete [2024-02-25T09:02:57.049Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-25T09:02:57.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-25T09:02:57.049Z] ---> 86de565de09d [2024-02-25T09:02:57.049Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:02:58.460Z] ---> Running in 8c9b1f592cbd [2024-02-25T09:02:58.732Z] Removing intermediate container 8c9b1f592cbd [2024-02-25T09:02:58.732Z] ---> 049ef433b517 [2024-02-25T09:02:58.732Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:02:59.001Z] ---> Running in d3182fc974bb [2024-02-25T09:02:59.267Z] Removing intermediate container d3182fc974bb [2024-02-25T09:02:59.267Z] ---> 7b20dbf44e1a [2024-02-25T09:02:59.267Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:02:59.267Z] ---> Running in bcd42059df8e [2024-02-25T09:02:59.535Z] Removing intermediate container bcd42059df8e [2024-02-25T09:02:59.535Z] ---> b92ac1bc01e7 [2024-02-25T09:02:59.535Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:02:59.801Z] ---> Running in 442d895d3d7e [2024-02-25T09:03:00.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:03:01.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:03:02.431Z] OK: 266 MiB in 52 packages [2024-02-25T09:03:03.012Z] Removing intermediate container 442d895d3d7e [2024-02-25T09:03:03.012Z] ---> 3ba36812c741 [2024-02-25T09:03:03.012Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:03:03.600Z] ---> 96d6ea8d45e6 [2024-02-25T09:03:03.600Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:03:03.600Z] ---> Running in 1ad6f76fd0a1 [2024-02-25T09:04:25.541Z] Removing intermediate container 1ad6f76fd0a1 [2024-02-25T09:04:25.541Z] ---> 486390552933 [2024-02-25T09:04:25.541Z] Step 9/10 : COPY . . [2024-02-25T09:04:25.541Z] ---> cb35ca3b5caa [2024-02-25T09:04:25.541Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:04:25.541Z] ---> Running in 55c7536b9889 [2024-02-25T09:04:25.541Z] noop [2024-02-25T09:04:25.541Z] Removing intermediate container 55c7536b9889 [2024-02-25T09:04:25.541Z] ---> 013578528d60 [2024-02-25T09:04:25.541Z] Successfully built 013578528d60 [2024-02-25T09:04:25.541Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:04:26.002Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:04:26.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:04:26.264Z] prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container [2024-02-25T09:04:26.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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-25T09:04:28.384Z] $ docker top 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:04:29.268Z] + go version [2024-02-25T09:04:29.269Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-25T09:04:29.288Z] $ docker stop --time=1 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 [2024-02-25T09:04:30.860Z] $ docker rm -f --volumes 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:04:31.655Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:04:31.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:04:31.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container [2024-02-25T09:04:31.942Z] $ 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/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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-25T09:04:33.053Z] $ docker top 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:04:33.624Z] + git config --global --add safe.directory /w/workspace/device-s7/4 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:04:33.996Z] + make test [2024-02-25T09:04:33.996Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:05:06.509Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:06:43.137Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:06:43.137Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:06:43.137Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-25T09:06:43.137Z] go vet ./... [2024-02-25T09:08:34.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:08:34.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:08:34.850Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:08:34.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:08:34.917Z] $ docker stop --time=1 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 [2024-02-25T09:08:36.907Z] $ docker rm -f --volumes 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:08:38.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:08:38.482Z] Warning: overwriting stash ‘coverage-report’ [2024-02-25T09:08:38.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:08:39.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:08:39.904Z] + ls -al . [2024-02-25T09:08:39.904Z] total 120 [2024-02-25T09:08:39.904Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:04 . [2024-02-25T09:08:39.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:01 .. [2024-02-25T09:08:39.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:01 .git [2024-02-25T09:08:39.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:01 .github [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:01 .gitignore [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:01 .golangci.yml [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:01 Attribution.txt [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:01 Dockerfile [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:01 Jenkinsfile [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:01 Makefile [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:01 OWNERS.md [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:01 README.md [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:59 VERSION [2024-02-25T09:08:39.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:01 bin [2024-02-25T09:08:39.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:01 cmd [2024-02-25T09:08:39.904Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:04 coverage.out [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:01 go.mod [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:01 go.sum [2024-02-25T09:08:39.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:01 internal [2024-02-25T09:08:39.904Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:08:40.318Z] + 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=2699493645440727ae69ef4d7692207bb1988f9c --label arch=arm64 --label version=0.0.0 . [2024-02-25T09:08:40.595Z] Sending build context to Docker daemon 401.9kB [2024-02-25T09:08:40.595Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:08:40.595Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:08:40.595Z] ---> 013578528d60 [2024-02-25T09:08:40.595Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:08:40.865Z] ---> Running in 5d10d36a756f [2024-02-25T09:08:41.144Z] Removing intermediate container 5d10d36a756f [2024-02-25T09:08:41.144Z] ---> 3f3aca3f186b [2024-02-25T09:08:41.144Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:08:41.144Z] ---> Running in 0af7398f260a [2024-02-25T09:08:41.455Z] Removing intermediate container 0af7398f260a [2024-02-25T09:08:41.455Z] ---> ac4733cce13d [2024-02-25T09:08:41.455Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:08:41.455Z] ---> Running in b49e9db642fb [2024-02-25T09:08:41.725Z] Removing intermediate container b49e9db642fb [2024-02-25T09:08:41.725Z] ---> 2e630b42b9d0 [2024-02-25T09:08:41.725Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:08:42.008Z] ---> Running in 05e7c19b407c [2024-02-25T09:08:42.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:08:43.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:08:44.503Z] OK: 266 MiB in 52 packages [2024-02-25T09:08:45.460Z] Removing intermediate container 05e7c19b407c [2024-02-25T09:08:45.460Z] ---> 0af745a0d37e [2024-02-25T09:08:45.460Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:08:50.797Z] ---> 218aa713e5c7 [2024-02-25T09:08:50.797Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:08:50.797Z] ---> Running in 6bb852211899 [2024-02-25T09:08:53.384Z] Removing intermediate container 6bb852211899 [2024-02-25T09:08:53.384Z] ---> 37647b2a988e [2024-02-25T09:08:53.384Z] Step 9/24 : COPY . . [2024-02-25T09:08:53.971Z] ---> 290cb2313ea1 [2024-02-25T09:08:53.971Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:08:53.971Z] ---> Running in fe14163f9e1a [2024-02-25T09:08:54.929Z] 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-25T09:10:46.577Z] Removing intermediate container fe14163f9e1a [2024-02-25T09:10:46.577Z] ---> aba2d47136cf [2024-02-25T09:10:46.577Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:10:46.577Z] 3.18: Pulling from library/alpine [2024-02-25T09:10:46.577Z] c6b39de5b339: Pulling fs layer [2024-02-25T09:10:46.577Z] c6b39de5b339: Verifying Checksum [2024-02-25T09:10:46.577Z] c6b39de5b339: Download complete [2024-02-25T09:10:46.577Z] c6b39de5b339: Pull complete [2024-02-25T09:10:46.577Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:10:46.577Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:10:46.577Z] ---> 33abbf032149 [2024-02-25T09:10:46.577Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:10:46.577Z] ---> Running in 5b7c2ac72358 [2024-02-25T09:10:46.577Z] Removing intermediate container 5b7c2ac72358 [2024-02-25T09:10:46.577Z] ---> e66964692dcb [2024-02-25T09:10:46.577Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:10:46.577Z] ---> Running in 3c25cf02ef2a [2024-02-25T09:10:46.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:10:46.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:10:46.577Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:10:46.577Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:10:46.577Z] OK: 8 MiB in 16 packages [2024-02-25T09:10:46.577Z] Removing intermediate container 3c25cf02ef2a [2024-02-25T09:10:46.577Z] ---> bea32158eb4c [2024-02-25T09:10:46.577Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:10:46.577Z] ---> Running in bd4f20a28371 [2024-02-25T09:10:47.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:10:47.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:10:48.385Z] OK: 8 MiB in 16 packages [2024-02-25T09:10:49.344Z] Removing intermediate container bd4f20a28371 [2024-02-25T09:10:49.344Z] ---> 3766a865ef83 [2024-02-25T09:10:49.344Z] Step 15/24 : WORKDIR / [2024-02-25T09:10:49.344Z] ---> Running in 929129ff1333 [2024-02-25T09:10:49.610Z] Removing intermediate container 929129ff1333 [2024-02-25T09:10:49.610Z] ---> 7fe92beb11e1 [2024-02-25T09:10:49.610Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:10:50.190Z] ---> 588feb508919 [2024-02-25T09:10:50.190Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:10:51.590Z] ---> bace5a2b2078 [2024-02-25T09:10:51.590Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:10:52.171Z] ---> 3b153f3d4c5e [2024-02-25T09:10:52.171Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:10:52.171Z] ---> Running in 86516f537d6d [2024-02-25T09:10:52.444Z] Removing intermediate container 86516f537d6d [2024-02-25T09:10:52.444Z] ---> a57d4a2d9882 [2024-02-25T09:10:52.444Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:10:52.444Z] ---> Running in 07d6ec2aa38a [2024-02-25T09:10:53.027Z] Removing intermediate container 07d6ec2aa38a [2024-02-25T09:10:53.027Z] ---> bdc8cd18ede1 [2024-02-25T09:10:53.027Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:10:53.027Z] ---> Running in b3a45e78cb21 [2024-02-25T09:10:53.293Z] Removing intermediate container b3a45e78cb21 [2024-02-25T09:10:53.293Z] ---> 72ded4180444 [2024-02-25T09:10:53.293Z] Step 22/24 : LABEL arch=arm64 [2024-02-25T09:10:53.293Z] ---> Running in 61155bc8d300 [2024-02-25T09:10:53.560Z] Removing intermediate container 61155bc8d300 [2024-02-25T09:10:53.560Z] ---> 30bbc6aee9b9 [2024-02-25T09:10:53.560Z] Step 23/24 : LABEL git_sha=2699493645440727ae69ef4d7692207bb1988f9c [2024-02-25T09:10:53.560Z] ---> Running in e562af5d15f0 [2024-02-25T09:10:53.828Z] Removing intermediate container e562af5d15f0 [2024-02-25T09:10:53.828Z] ---> 6f0296a1b359 [2024-02-25T09:10:53.828Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:10:54.095Z] ---> Running in 32dbc4b1a0e3 [2024-02-25T09:10:54.361Z] Removing intermediate container 32dbc4b1a0e3 [2024-02-25T09:10:54.361Z] ---> cebe97bb3ccc [2024-02-25T09:10:54.361Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:10:54.361Z] Successfully built cebe97bb3ccc [2024-02-25T09:10:54.361Z] 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-25T09:10:55.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:10:55.174Z] [2024-02-25T09:10:55.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:10:55.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:10:55.535Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-25T09:10:55.535Z] 8998bd30e6a1: Pulling fs layer [2024-02-25T09:10:55.535Z] 04944245beec: Pulling fs layer [2024-02-25T09:10:55.535Z] 699f458cf7ca: Pulling fs layer [2024-02-25T09:10:55.535Z] 765212b225bb: Pulling fs layer [2024-02-25T09:10:55.535Z] f23df028b6ca: Pulling fs layer [2024-02-25T09:10:55.535Z] d65c8cfc05b1: Pulling fs layer [2024-02-25T09:10:55.535Z] 2437ff75d9bd: Pulling fs layer [2024-02-25T09:10:55.535Z] f23df028b6ca: Waiting [2024-02-25T09:10:55.535Z] d65c8cfc05b1: Waiting [2024-02-25T09:10:55.535Z] 765212b225bb: Waiting [2024-02-25T09:10:55.535Z] 2437ff75d9bd: Waiting [2024-02-25T09:10:55.803Z] 04944245beec: Verifying Checksum [2024-02-25T09:10:55.803Z] 04944245beec: Download complete [2024-02-25T09:10:55.803Z] 765212b225bb: Verifying Checksum [2024-02-25T09:10:55.803Z] 765212b225bb: Download complete [2024-02-25T09:10:55.803Z] f23df028b6ca: Verifying Checksum [2024-02-25T09:10:55.803Z] f23df028b6ca: Download complete [2024-02-25T09:10:55.803Z] d65c8cfc05b1: Verifying Checksum [2024-02-25T09:10:55.803Z] d65c8cfc05b1: Download complete [2024-02-25T09:10:55.803Z] 699f458cf7ca: Verifying Checksum [2024-02-25T09:10:55.803Z] 699f458cf7ca: Download complete [2024-02-25T09:10:56.386Z] 8998bd30e6a1: Download complete [2024-02-25T09:10:58.964Z] 2437ff75d9bd: Verifying Checksum [2024-02-25T09:10:58.964Z] 2437ff75d9bd: Download complete [2024-02-25T09:11:00.901Z] 8998bd30e6a1: Pull complete [2024-02-25T09:11:01.482Z] 04944245beec: Pull complete [2024-02-25T09:11:02.892Z] 699f458cf7ca: Pull complete [2024-02-25T09:11:03.157Z] 765212b225bb: Pull complete [2024-02-25T09:11:04.117Z] f23df028b6ca: Pull complete [2024-02-25T09:11:04.117Z] d65c8cfc05b1: Pull complete [2024-02-25T09:11:22.315Z] 2437ff75d9bd: Pull complete [2024-02-25T09:11:22.315Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-25T09:11:22.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:11:22.315Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:11:22.637Z] prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container [2024-02-25T09:11:22.707Z] $ 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/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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-25T09:11:25.294Z] $ docker top 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:26.183Z] ---> job-cost.sh [2024-02-25T09:11:26.183Z] lf-activate-venv: SKIPPING [2024-02-25T09:11:26.183Z] INFO: No Stack... [2024-02-25T09:11:26.450Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-25T09:11:27.414Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:11:28.047Z] + cat /w/workspace/device-s7/4/archives/cost.csv [2024-02-25T09:11:28.047Z] + cut -d, -f6 [Pipeline] lock [2024-02-25T09:11:28.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [2024-02-25T09:11:28.108Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] did not exist. Created. [2024-02-25T09:11:28.114Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:11:28.522Z] /w/workspace/device-s7/4@tmp/durable-4d0dcfed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-25T09:11:29.181Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-25T09:11:29.196Z] Warning: overwriting stash ‘stack-cost’ [2024-02-25T09:11:29.247Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:11:29.254Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T09:11:29.341Z] $ docker stop --time=1 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 [2024-02-25T09:11:30.854Z] $ docker rm -f --volumes 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 [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-25T09:11:32.100Z] provisioning config files... [2024-02-25T09:11:32.100Z] not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-25T09:11:33.943Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-25T09:11:33.943Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:11:33.943Z] total 16 [2024-02-25T09:11:33.943Z] drwxr-xr-x 3 root root 4096 Feb 25 09:02 . [2024-02-25T09:11:33.943Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:02 .. [2024-02-25T09:11:33.943Z] drwxr-xr-x 2 root root 4096 Feb 25 09:02 cost [2024-02-25T09:11:33.943Z] -rw-r--r-- 1 root root 79 Feb 25 09:02 cost.csv [2024-02-25T09:11:33.943Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:11:33.943Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:11:33.943Z] total 16 [2024-02-25T09:11:33.943Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:02 . [2024-02-25T09:11:33.943Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:02 .. [2024-02-25T09:11:33.943Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:02 cost [2024-02-25T09:11:33.943Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:34.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:35.091Z] ---> package-listing.sh [2024-02-25T09:11:35.091Z] ++ facter osfamily [2024-02-25T09:11:35.091Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-25T09:11:35.091Z] + OS_FAMILY=debian [2024-02-25T09:11:35.091Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-25T09:11:35.091Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-25T09:11:35.091Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-25T09:11:35.091Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-25T09:11:35.091Z] + PACKAGES=/tmp/packages_start.txt [2024-02-25T09:11:35.091Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:11:35.091Z] + PACKAGES=/tmp/packages_end.txt [2024-02-25T09:11:35.091Z] + case "${OS_FAMILY}" in [2024-02-25T09:11:35.091Z] + dpkg -l [2024-02-25T09:11:35.091Z] + grep '^ii' [2024-02-25T09:11:35.351Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-25T09:11:35.351Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-25T09:11:35.351Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-25T09:11:35.351Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:11:35.351Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-25T09:11:35.351Z] + 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-25T09:11:35.363Z] 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-25T09:11:35.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:11:36.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:11:36.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:11:36.399Z] prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container [2024-02-25T09:11:36.445Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:11:36.643Z] $ docker top b334665e9855245b78f8470e1093040481860ac1a20a966e7d0d3ebdbf672741 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:11:37.054Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-25T09:11:37.342Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-25T09:11:37.632Z] + ls /var/log/sa-host [2024-02-25T09:11:37.632Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:11:37.753Z] provisioning config files... [2024-02-25T09:11:37.761Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config8754079327684686451tmp [Pipeline] { [Pipeline] echo [2024-02-25T09:11:37.851Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:38.134Z] ---> create-netrc.sh [Pipeline] } [2024-02-25T09:11:38.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:38.564Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-25T09:11:38.575Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:38.859Z] ---> sudo-logs.sh [2024-02-25T09:11:38.859Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-25T09:11:38.937Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:39.221Z] ---> job-cost.sh [2024-02-25T09:11:39.221Z] lf-activate-venv: SKIPPING [2024-02-25T09:11:39.221Z] DEBUG: total: 0.2199999988079071 [2024-02-25T09:11:39.221Z] INFO: Retrieving Stack Cost... [2024-02-25T09:11:39.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:11:39.741Z] INFO: Archiving Costs [Pipeline] echo [2024-02-25T09:11:39.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:11:40.037Z] ---> logs-deploy.sh [2024-02-25T09:11:40.037Z] lf-activate-venv: SKIPPING [2024-02-25T09:11:40.037Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/4 [2024-02-25T09:11:40.037Z] INFO: archiving workspace using pattern(s): [2024-02-25T09:11:40.975Z] Archives upload complete. [2024-02-25T09:11:40.975Z] INFO: archiving logs to Nexus