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 d0b3b46500a58795089dcd695830f2888fc472e1 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-ssh599885875735730666.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-ssh15748173740057967421.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-ssh9491349338381510122.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-ssh5143239259284385136.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-ssh10822352502255323519.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1669 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 d0b3b46500a58795089dcd695830f2888fc472e1 Merge succeeded, producing d0b3b46500a58795089dcd695830f2888fc472e1 Checking out Revision d0b3b46500a58795089dcd695830f2888fc472e1 (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 d0b3b46500a58795089dcd695830f2888fc472e1 # 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 d0b3b46500a58795089dcd695830f2888fc472e1 # 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-25T09:25:51.847Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-02-25T09:25:51.942Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-02-25T09:25:51.966Z] ========================================================= [2024-02-25T09:25:51.966Z] EdgeX Global Pipelines Version Info [2024-02-25T09:25:51.966Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 [2024-02-25T09:25:52.713Z] ------------------- [2024-02-25T09:25:52.713Z] stable info: [2024-02-25T09:25:52.713Z] ------------------- [2024-02-25T09:25:52.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-02-25T09:25:52.713Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:25:52.713Z] Message: update stable to v1.0.258 [2024-02-25T09:25:53.283Z] ------------------- [2024-02-25T09:25:53.283Z] experimental info: [2024-02-25T09:25:53.283Z] ------------------- [2024-02-25T09:25:53.283Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-02-25T09:25:53.283Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-02-25T09:25:53.283Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-02-25T09:25:53.371Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo [2024-02-25T09:25:53.395Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo [2024-02-25T09:25:53.416Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-02-25T09:25:53.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-02-25T09:25:53.459Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-02-25T09:25:53.489Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-02-25T09:25:53.510Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-02-25T09:25:53.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-02-25T09:25:53.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-02-25T09:25:53.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-02-25T09:25:53.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-02-25T09:25:53.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo [2024-02-25T09:25:53.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-02-25T09:25:53.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-02-25T09:25:53.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:25:53.752Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-02-25T09:25:53.780Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:25:53.809Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-02-25T09:25:53.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-02-25T09:25:53.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-02-25T09:25:53.902Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-02-25T09:25:53.927Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-02-25T09:25:53.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-02-25T09:25:53.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-02-25T09:25:54.027Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-02-25T09:25:54.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-02-25T09:25:54.092Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-02-25T09:25:54.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:25:54.158Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo [2024-02-25T09:25:54.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo [2024-02-25T09:25:54.221Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo [2024-02-25T09:25:54.254Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b3b46 [Pipeline] echo [2024-02-25T09:25:54.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:25:54.366Z] provisioning config files... [2024-02-25T09:25:54.382Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config6779984323766063662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:25:54.723Z] ---> ****-login.sh [2024-02-25T09:25:54.723Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:25:54.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:25:54.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:25:54.984Z] Configure a credential helper to remove this warning. See [2024-02-25T09:25:54.984Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:25:54.984Z] [2024-02-25T09:25:54.984Z] Login Succeeded [2024-02-25T09:25:54.984Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:25:54.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:25:55.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:25:55.245Z] Configure a credential helper to remove this warning. See [2024-02-25T09:25:55.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:25:55.245Z] [2024-02-25T09:25:55.245Z] Login Succeeded [2024-02-25T09:25:55.245Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:25:55.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:25:55.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:25:55.245Z] Configure a credential helper to remove this warning. See [2024-02-25T09:25:55.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:25:55.245Z] [2024-02-25T09:25:55.245Z] Login Succeeded [2024-02-25T09:25:55.245Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:25:55.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:25:55.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:25:55.245Z] Configure a credential helper to remove this warning. See [2024-02-25T09:25:55.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:25:55.245Z] [2024-02-25T09:25:55.245Z] Login Succeeded [2024-02-25T09:25:55.245Z] ****.io [2024-02-25T09:25:55.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:25:55.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:25:55.769Z] Configure a credential helper to remove this warning. See [2024-02-25T09:25:55.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:25:55.769Z] [2024-02-25T09:25:55.769Z] Login Succeeded [2024-02-25T09:25:55.769Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:25:55.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-02-25T09:25:56.292Z] + git rev-list -1 --merges d0b3b46500a58795089dcd695830f2888fc472e1~1..d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo [2024-02-25T09:25:56.319Z] -----------> git rev-list -1 --merges d0b3b46500a58795089dcd695830f2888fc472e1~1..d0b3b46500a58795089dcd695830f2888fc472e1 d0b3b46500a58795089dcd695830f2888fc472e1 [false] [Pipeline] sh [2024-02-25T09:25:56.623Z] + git log --format=format:%s -1 d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo [2024-02-25T09:25:56.640Z] ========================================================= [2024-02-25T09:25:56.640Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-02-25T09:25:56.640Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:25:57.029Z] + git log --format=format:%s -1 d0b3b46500a58795089dcd695830f2888fc472e1 [Pipeline] echo [2024-02-25T09:25:57.042Z] [semverPrep] GIT_COMMIT: d0b3b46500a58795089dcd695830f2888fc472e1, Commit Message: fix: fix test process [Pipeline] echo [2024-02-25T09:25:57.068Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-02-25T09:25:57.474Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-02-25T09:25:57.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-02-25T09:25:57.474Z] + [ -e /tmp/ssh_known_hosts ] [2024-02-25T09:25:57.475Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-02-25T09:25:57.475Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-02-25T09:25:57.475Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-02-25T09:25:57.475Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:25:57.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:25:57.906Z] [2024-02-25T09:25:57.906Z] 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-25T09:25:58.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:25:58.219Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-02-25T09:25:58.219Z] b85a868b505f: Pulling fs layer [2024-02-25T09:25:58.219Z] e2be974225ed: Pulling fs layer [2024-02-25T09:25:58.219Z] 339a4e72a1f5: Pulling fs layer [2024-02-25T09:25:58.219Z] 988bab9f4d93: Pulling fs layer [2024-02-25T09:25:58.219Z] 1469e6f7b9e6: Pulling fs layer [2024-02-25T09:25:58.219Z] eaf3925da568: Pulling fs layer [2024-02-25T09:25:58.219Z] bab4dde63d76: Pulling fs layer [2024-02-25T09:25:58.219Z] bde34c3a00c8: Pulling fs layer [2024-02-25T09:25:58.219Z] b352a97aabf1: Pulling fs layer [2024-02-25T09:25:58.219Z] 4872d77fe225: Pulling fs layer [2024-02-25T09:25:58.219Z] 5851b861e8e6: Pulling fs layer [2024-02-25T09:25:58.219Z] 988bab9f4d93: Waiting [2024-02-25T09:25:58.219Z] 1469e6f7b9e6: Waiting [2024-02-25T09:25:58.219Z] 5851b861e8e6: Waiting [2024-02-25T09:25:58.219Z] b352a97aabf1: Waiting [2024-02-25T09:25:58.219Z] eaf3925da568: Waiting [2024-02-25T09:25:58.219Z] bde34c3a00c8: Waiting [2024-02-25T09:25:58.219Z] e2be974225ed: Download complete [2024-02-25T09:25:58.219Z] 988bab9f4d93: Verifying Checksum [2024-02-25T09:25:58.219Z] 988bab9f4d93: Download complete [2024-02-25T09:25:58.219Z] 339a4e72a1f5: Verifying Checksum [2024-02-25T09:25:58.219Z] 339a4e72a1f5: Download complete [2024-02-25T09:25:58.219Z] 1469e6f7b9e6: Verifying Checksum [2024-02-25T09:25:58.219Z] 1469e6f7b9e6: Download complete [2024-02-25T09:25:58.219Z] eaf3925da568: Verifying Checksum [2024-02-25T09:25:58.219Z] eaf3925da568: Download complete [2024-02-25T09:25:58.219Z] bde34c3a00c8: Download complete [2024-02-25T09:25:58.477Z] b352a97aabf1: Download complete [2024-02-25T09:25:58.477Z] 4872d77fe225: Verifying Checksum [2024-02-25T09:25:58.477Z] 4872d77fe225: Download complete [2024-02-25T09:25:58.477Z] 5851b861e8e6: Verifying Checksum [2024-02-25T09:25:58.477Z] 5851b861e8e6: Download complete [2024-02-25T09:25:58.477Z] b85a868b505f: Download complete [2024-02-25T09:25:58.735Z] bab4dde63d76: Verifying Checksum [2024-02-25T09:25:58.735Z] bab4dde63d76: Download complete [2024-02-25T09:25:59.670Z] b85a868b505f: Pull complete [2024-02-25T09:25:59.670Z] e2be974225ed: Pull complete [2024-02-25T09:26:00.238Z] 339a4e72a1f5: Pull complete [2024-02-25T09:26:00.238Z] 988bab9f4d93: Pull complete [2024-02-25T09:26:00.496Z] 1469e6f7b9e6: Pull complete [2024-02-25T09:26:00.496Z] eaf3925da568: Pull complete [2024-02-25T09:26:02.404Z] bab4dde63d76: Pull complete [2024-02-25T09:26:02.404Z] bde34c3a00c8: Pull complete [2024-02-25T09:26:02.404Z] b352a97aabf1: Pull complete [2024-02-25T09:26:02.404Z] 4872d77fe225: Pull complete [2024-02-25T09:26:02.404Z] 5851b861e8e6: Pull complete [2024-02-25T09:26:02.404Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-02-25T09:26:02.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-02-25T09:26:02.404Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:26:02.609Z] prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container [2024-02-25T09:26:02.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-02-25T09:26:05.599Z] $ docker top 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 -eo pid,comm [2024-02-25T09:26:05.652Z] 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-25T09:26:05.652Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-02-25T09:26:05.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:26:05.750Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:26:05.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:26:05.850Z] $ docker exec 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent [2024-02-25T09:26:05.955Z] SSH_AUTH_SOCK=/tmp/ssh-CP27KJEWZcp5/agent.32 [2024-02-25T09:26:05.955Z] SSH_AGENT_PID=38 [2024-02-25T09:26:05.960Z] Running ssh-add (command line suppressed) [2024-02-25T09:26:06.045Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5970407196210826900.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5970407196210826900.key) [2024-02-25T09:26:06.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:26:06.369Z] + git tag --points-at HEAD [Pipeline] } [2024-02-25T09:26:06.374Z] $ docker exec --env ******** --env ******** 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent -k [2024-02-25T09:26:06.470Z] unset SSH_AUTH_SOCK; [2024-02-25T09:26:06.470Z] unset SSH_AGENT_PID; [2024-02-25T09:26:06.470Z] echo Agent pid 38 killed; [2024-02-25T09:26:06.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-02-25T09:26:06.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-02-25T09:26:06.555Z] [ssh-agent] Looking for ssh-agent implementation... [2024-02-25T09:26:06.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-02-25T09:26:06.655Z] $ docker exec 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent [2024-02-25T09:26:06.772Z] SSH_AUTH_SOCK=/tmp/ssh-PNDjYGCcZVaE/agent.70 [2024-02-25T09:26:06.772Z] SSH_AGENT_PID=76 [2024-02-25T09:26:06.778Z] Running ssh-add (command line suppressed) [2024-02-25T09:26:06.881Z] Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5304279786407026502.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5304279786407026502.key) [2024-02-25T09:26:06.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-02-25T09:26:07.201Z] + git semver init [2024-02-25T09:26:07.459Z] 2024-02-25 09:26:07,359 [run_init] DEBUG init version:0.0.0 force:False [2024-02-25T09:26:07.459Z] 2024-02-25 09:26:07,360 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:26:07.459Z] 2024-02-25 09:26:07,360 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver [2024-02-25T09:26:07.459Z] 2024-02-25 09:26:07,360 [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-25T09:26:08.029Z] 2024-02-25 09:26:08,005 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude [2024-02-25T09:26:08.029Z] 2024-02-25 09:26:08,005 [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-25T09:26:08.029Z] 2024-02-25 09:26:08,005 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:26:08.029Z] 2024-02-25 09:26:08,009 [execute] INFO git cat-file --batch-check [2024-02-25T09:26:08.029Z] 2024-02-25 09:26:08,010 [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-25T09:26:08.029Z] 2024-02-25 09:26:08,015 [execute] INFO git cat-file --batch [2024-02-25T09:26:08.029Z] 2024-02-25 09:26:08,015 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) [2024-02-25T09:26:08.029Z] 2024-02-25 09:26:08,020 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 [2024-02-25T09:26:08.029Z] 0.0.0 [Pipeline] } [2024-02-25T09:26:08.296Z] $ docker exec --env ******** --env ******** 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 ssh-agent -k [2024-02-25T09:26:08.387Z] unset SSH_AUTH_SOCK; [2024-02-25T09:26:08.388Z] unset SSH_AGENT_PID; [2024-02-25T09:26:08.388Z] echo Agent pid 76 killed; [2024-02-25T09:26:08.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-02-25T09:26:08.774Z] + git semver [Pipeline] } [2024-02-25T09:26:09.040Z] $ docker stop --time=1 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 [2024-02-25T09:26:10.345Z] $ docker rm -f --volumes 6d368b08d3a5a57387c1927daebb363de97d62b84495d648c8f2949229fe49b2 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:26:10.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-02-25T09:26:10.955Z] Stashed 1 file(s) [Pipeline] echo [2024-02-25T09:26:10.958Z] [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-25T09:26:11.305Z] provisioning config files... [2024-02-25T09:26:11.315Z] copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config10493592999982611159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:26:11.638Z] ---> ****-login.sh [2024-02-25T09:26:11.638Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:26:11.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:26:11.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:26:11.638Z] Configure a credential helper to remove this warning. See [2024-02-25T09:26:11.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:26:11.638Z] [2024-02-25T09:26:11.638Z] Login Succeeded [2024-02-25T09:26:11.638Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:26:11.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:26:11.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:26:11.638Z] Configure a credential helper to remove this warning. See [2024-02-25T09:26:11.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:26:11.638Z] [2024-02-25T09:26:11.638Z] Login Succeeded [2024-02-25T09:26:11.638Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:26:11.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:26:11.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:26:11.897Z] Configure a credential helper to remove this warning. See [2024-02-25T09:26:11.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:26:11.897Z] [2024-02-25T09:26:11.897Z] Login Succeeded [2024-02-25T09:26:11.897Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:26:11.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:26:11.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:26:11.897Z] Configure a credential helper to remove this warning. See [2024-02-25T09:26:11.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:26:11.897Z] [2024-02-25T09:26:11.897Z] Login Succeeded [2024-02-25T09:26:11.897Z] ****.io [2024-02-25T09:26:11.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:26:12.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:26:12.158Z] Configure a credential helper to remove this warning. See [2024-02-25T09:26:12.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:26:12.158Z] [2024-02-25T09:26:12.158Z] Login Succeeded [2024-02-25T09:26:12.158Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:26:12.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T09:26:12.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:26:12.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:26:12.396Z] ========================================================= [2024-02-25T09:26:12.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-02-25T09:26:12.396Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:26:12.792Z] + 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-25T09:26:12.792Z] Sending build context to Docker daemon 560.6kB [2024-02-25T09:26:12.792Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:26:12.792Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:26:12.792Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-02-25T09:26:12.792Z] 7264a8db6415: Pulling fs layer [2024-02-25T09:26:12.792Z] c4d48a809fc2: Pulling fs layer [2024-02-25T09:26:12.792Z] 4f1c88b9dad5: Pulling fs layer [2024-02-25T09:26:12.792Z] ad3a456e5733: Pulling fs layer [2024-02-25T09:26:12.792Z] 69c7f0334f64: Pulling fs layer [2024-02-25T09:26:12.792Z] 1f1c1a5573a3: Pulling fs layer [2024-02-25T09:26:12.792Z] ce7588e14bc9: Pulling fs layer [2024-02-25T09:26:12.792Z] 1f1c1a5573a3: Waiting [2024-02-25T09:26:12.792Z] b5e4710f87ac: Pulling fs layer [2024-02-25T09:26:12.792Z] 69c7f0334f64: Waiting [2024-02-25T09:26:12.792Z] ce7588e14bc9: Waiting [2024-02-25T09:26:12.792Z] b5e4710f87ac: Waiting [2024-02-25T09:26:12.792Z] c4d48a809fc2: Verifying Checksum [2024-02-25T09:26:12.792Z] c4d48a809fc2: Download complete [2024-02-25T09:26:12.792Z] ad3a456e5733: Download complete [2024-02-25T09:26:13.068Z] 69c7f0334f64: Download complete [2024-02-25T09:26:13.068Z] 7264a8db6415: Verifying Checksum [2024-02-25T09:26:13.068Z] 7264a8db6415: Download complete [2024-02-25T09:26:13.068Z] 1f1c1a5573a3: Verifying Checksum [2024-02-25T09:26:13.068Z] 1f1c1a5573a3: Download complete [2024-02-25T09:26:13.068Z] 7264a8db6415: Pull complete [2024-02-25T09:26:13.341Z] b5e4710f87ac: Verifying Checksum [2024-02-25T09:26:13.341Z] b5e4710f87ac: Download complete [2024-02-25T09:26:13.341Z] c4d48a809fc2: Pull complete [2024-02-25T09:26:13.341Z] 4f1c88b9dad5: Download complete [2024-02-25T09:26:13.600Z] ce7588e14bc9: Verifying Checksum [2024-02-25T09:26:13.600Z] ce7588e14bc9: Download complete [2024-02-25T09:26:16.892Z] 4f1c88b9dad5: Pull complete [2024-02-25T09:26:16.892Z] ad3a456e5733: Pull complete [2024-02-25T09:26:16.892Z] 69c7f0334f64: Pull complete [2024-02-25T09:26:16.892Z] 1f1c1a5573a3: Pull complete [2024-02-25T09:26:18.791Z] ce7588e14bc9: Pull complete [2024-02-25T09:26:19.360Z] b5e4710f87ac: Pull complete [2024-02-25T09:26:19.360Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-02-25T09:26:19.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-02-25T09:26:19.360Z] ---> 88b5674ff536 [2024-02-25T09:26:19.360Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:26:24.632Z] ---> Running in 11681e587e73 [2024-02-25T09:26:24.632Z] Removing intermediate container 11681e587e73 [2024-02-25T09:26:24.632Z] ---> b265ebe20c03 [2024-02-25T09:26:24.632Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:26:24.632Z] ---> Running in c23c6d4ac59d [2024-02-25T09:26:24.632Z] Removing intermediate container c23c6d4ac59d [2024-02-25T09:26:24.632Z] ---> c954140bb888 [2024-02-25T09:26:24.633Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:26:24.633Z] ---> Running in 9a9cea01020e [2024-02-25T09:26:24.893Z] Removing intermediate container 9a9cea01020e [2024-02-25T09:26:24.893Z] ---> c3e717abe116 [2024-02-25T09:26:24.893Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:26:24.893Z] ---> Running in 086484f2b4f7 [2024-02-25T09:26:25.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:26:25.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:26:25.413Z] OK: 264 MiB in 52 packages [2024-02-25T09:26:25.983Z] Removing intermediate container 086484f2b4f7 [2024-02-25T09:26:25.983Z] ---> 8b53239d5227 [2024-02-25T09:26:25.983Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:26:25.983Z] ---> ad9a65ae6864 [2024-02-25T09:26:25.983Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:26:25.983Z] ---> Running in f102d4be0b59 [2024-02-25T09:26:26.209Z] Still waiting to schedule task [2024-02-25T09:26:26.209Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-02-25T09:27:12.699Z] Removing intermediate container f102d4be0b59 [2024-02-25T09:27:12.699Z] ---> 27213cf61d3d [2024-02-25T09:27:12.699Z] Step 9/10 : COPY . . [2024-02-25T09:27:12.699Z] ---> 4e6d0902177b [2024-02-25T09:27:12.699Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:27:12.699Z] ---> Running in c1a327a2eb3d [2024-02-25T09:27:12.699Z] noop [2024-02-25T09:27:12.699Z] Removing intermediate container c1a327a2eb3d [2024-02-25T09:27:12.699Z] ---> cc260458ddf2 [2024-02-25T09:27:12.699Z] Successfully built cc260458ddf2 [2024-02-25T09:27:12.699Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:27:13.066Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:27:13.066Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:27:13.171Z] prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container [2024-02-25T09:27:13.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-25T09:27:13.516Z] $ docker top 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:27:13.903Z] + go version [2024-02-25T09:27:13.903Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-02-25T09:27:13.921Z] $ docker stop --time=1 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a [2024-02-25T09:27:15.182Z] $ docker rm -f --volumes 2d28d5bd88a8c16cc21a1da1847cca9dc742d3ece9809ed6ff5b57d4f6b3e34a [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:27:15.754Z] + docker inspect -f . ci-base-image-x86_64 [2024-02-25T09:27:15.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:27:15.870Z] prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container [2024-02-25T09:27:15.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-02-25T09:27:16.250Z] $ docker top db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:27:16.637Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:27:16.967Z] + make test [2024-02-25T09:27:16.967Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:27:23.525Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:27:33.494Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:27:33.494Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:27:51.569Z] go vet ./... [2024-02-25T09:27:52.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:27:52.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:27:52.942Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:27:53.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:27:53.261Z] $ docker stop --time=1 db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b [2024-02-25T09:27:58.654Z] $ docker rm -f --volumes db324d8ec80e300bf1ad93ee1826f90b9ed274468440ab1f1b7e40ea4cb85f7b [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:27:59.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:27:59.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-02-25T09:27:59.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:28:00.196Z] + ls -al . [2024-02-25T09:28:00.196Z] total 136 [2024-02-25T09:28:00.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:27 . [2024-02-25T09:28:00.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:25 .. [2024-02-25T09:28:00.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:27 .git [2024-02-25T09:28:00.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:25 .github [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:25 .gitignore [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:25 .golangci.yml [2024-02-25T09:28:00.196Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:26 .semver [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:25 Attribution.txt [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:25 Dockerfile [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:25 Jenkinsfile [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:25 LICENSE [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:25 Makefile [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:25 OWNERS.md [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 4079 Feb 25 09:25 README.md [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:26 VERSION [2024-02-25T09:28:00.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:25 bin [2024-02-25T09:28:00.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:25 cmd [2024-02-25T09:28:00.196Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:27 coverage.out [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:25 go.mod [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:25 go.sum [2024-02-25T09:28:00.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:25 internal [2024-02-25T09:28:00.196Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:28:00.583Z] + 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=d0b3b46500a58795089dcd695830f2888fc472e1 --label arch=amd64 --label version=0.0.0 . [2024-02-25T09:28:00.583Z] Sending build context to Docker daemon 561.7kB [2024-02-25T09:28:00.583Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:28:00.583Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:28:00.583Z] ---> cc260458ddf2 [2024-02-25T09:28:00.583Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:28:00.841Z] ---> Running in 0d23d2e3629f [2024-02-25T09:28:00.842Z] Removing intermediate container 0d23d2e3629f [2024-02-25T09:28:00.842Z] ---> 3b4d01b52e7a [2024-02-25T09:28:00.842Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:28:00.842Z] ---> Running in 4423674c2e88 [2024-02-25T09:28:00.842Z] Removing intermediate container 4423674c2e88 [2024-02-25T09:28:00.842Z] ---> 31b02f9e1be8 [2024-02-25T09:28:00.842Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:28:00.842Z] ---> Running in f3756015d21e [2024-02-25T09:28:01.100Z] Removing intermediate container f3756015d21e [2024-02-25T09:28:01.100Z] ---> 50e4a936e285 [2024-02-25T09:28:01.100Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:28:01.100Z] ---> Running in d4ca9faef733 [2024-02-25T09:28:01.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:01.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:01.618Z] OK: 264 MiB in 52 packages [2024-02-25T09:28:01.876Z] Removing intermediate container d4ca9faef733 [2024-02-25T09:28:01.877Z] ---> 3d0174e1b8ad [2024-02-25T09:28:01.877Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:28:02.177Z] ---> 1aa128fcc2fe [2024-02-25T09:28:02.177Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:28:02.177Z] ---> Running in 1c2000e0ef4c [2024-02-25T09:28:02.803Z] Removing intermediate container 1c2000e0ef4c [2024-02-25T09:28:02.803Z] ---> b2409640209d [2024-02-25T09:28:02.803Z] Step 9/24 : COPY . . [2024-02-25T09:28:03.072Z] ---> 6f114504a8d2 [2024-02-25T09:28:03.072Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:28:03.330Z] ---> Running in fd39fe2b148d [2024-02-25T09:28:03.330Z] 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:28:13.869Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1670 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws [2024-02-25T09:28:13.907Z] Running in /w/workspace/device-s7/5 [Pipeline] { [Pipeline] checkout [2024-02-25T09:28:13.963Z] Selected Git installation does not exist. Using Default [2024-02-25T09:28:13.963Z] The recommended git tool is: NONE [2024-02-25T09:28:22.876Z] using credential edgex-jenkins-ssh [2024-02-25T09:28:22.903Z] Cloning the remote Git repository [2024-02-25T09:28:23.039Z] Cloning repository git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:28:23.224Z] > git init /w/workspace/device-s7/5 # timeout=10 [2024-02-25T09:28:23.624Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:28:23.625Z] > git --version # timeout=10 [2024-02-25T09:28:23.698Z] > git --version # 'git version 2.25.1' [2024-02-25T09:28:23.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:28:23.971Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:28:25.312Z] Removing intermediate container fd39fe2b148d [2024-02-25T09:28:25.312Z] ---> 446528999ccd [2024-02-25T09:28:25.312Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:28:25.312Z] 3.18: Pulling from library/alpine [2024-02-25T09:28:25.312Z] 619be1103602: Pulling fs layer [2024-02-25T09:28:25.312Z] 619be1103602: Download complete [2024-02-25T09:28:25.312Z] 619be1103602: Pull complete [2024-02-25T09:28:25.312Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:28:25.312Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:28:25.312Z] ---> d3782b16ccc9 [2024-02-25T09:28:25.312Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:28:25.312Z] ---> Running in 2a9a5eb86bfe [2024-02-25T09:28:25.312Z] Removing intermediate container 2a9a5eb86bfe [2024-02-25T09:28:25.312Z] ---> f9767b3cdf55 [2024-02-25T09:28:25.312Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:28:25.312Z] ---> Running in b0dccccd69b7 [2024-02-25T09:28:25.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:25.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:25.312Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:28:25.312Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:28:25.312Z] OK: 7 MiB in 16 packages [2024-02-25T09:28:25.572Z] Removing intermediate container b0dccccd69b7 [2024-02-25T09:28:25.572Z] ---> 714b078b255e [2024-02-25T09:28:25.572Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:28:25.572Z] ---> Running in 501d643f389b [2024-02-25T09:28:24.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:28:24.801Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-02-25T09:28:26.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:26.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-02-25T09:28:26.139Z] OK: 7 MiB in 16 packages [2024-02-25T09:28:26.399Z] Removing intermediate container 501d643f389b [2024-02-25T09:28:26.399Z] ---> 2088a35c1d13 [2024-02-25T09:28:26.399Z] Step 15/24 : WORKDIR / [2024-02-25T09:28:26.658Z] ---> Running in 2633ecc0d38f [2024-02-25T09:28:26.658Z] Removing intermediate container 2633ecc0d38f [2024-02-25T09:28:26.658Z] ---> 0a4d5219b6b6 [2024-02-25T09:28:26.658Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:28:26.658Z] ---> 215a6e95c4bd [2024-02-25T09:28:26.658Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:28:27.592Z] ---> 6b4ec48be331 [2024-02-25T09:28:27.592Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:28:27.852Z] ---> d90ac204d36f [2024-02-25T09:28:27.852Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:28:27.852Z] ---> Running in af5c2697c6f9 [2024-02-25T09:28:27.852Z] Removing intermediate container af5c2697c6f9 [2024-02-25T09:28:27.852Z] ---> f33c097cf855 [2024-02-25T09:28:27.852Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:28:27.852Z] ---> Running in 580b1fab49b6 [2024-02-25T09:28:27.852Z] Removing intermediate container 580b1fab49b6 [2024-02-25T09:28:27.852Z] ---> 1d793f0f1ac7 [2024-02-25T09:28:27.852Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:28:27.852Z] ---> Running in 6e4ccf49a6c6 [2024-02-25T09:28:28.113Z] Removing intermediate container 6e4ccf49a6c6 [2024-02-25T09:28:28.113Z] ---> 5f386c7beecb [2024-02-25T09:28:28.113Z] Step 22/24 : LABEL arch=amd64 [2024-02-25T09:28:28.113Z] ---> Running in 0f6cd545b388 [2024-02-25T09:28:28.113Z] Removing intermediate container 0f6cd545b388 [2024-02-25T09:28:28.113Z] ---> 4565dafecb4d [2024-02-25T09:28:28.113Z] Step 23/24 : LABEL git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 [2024-02-25T09:28:28.113Z] ---> Running in 2ace15646977 [2024-02-25T09:28:28.113Z] Removing intermediate container 2ace15646977 [2024-02-25T09:28:28.113Z] ---> 98e342f3995b [2024-02-25T09:28:28.113Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:28:28.113Z] ---> Running in f5b76430f41d [2024-02-25T09:28:28.372Z] Removing intermediate container f5b76430f41d [2024-02-25T09:28:28.372Z] ---> 03b0e9049b8e [2024-02-25T09:28:28.372Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:28:28.372Z] Successfully built 03b0e9049b8e [2024-02-25T09:28:28.372Z] Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2024-02-25T09:28:28.540Z] Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit d0b3b46500a58795089dcd695830f2888fc472e1 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:28:28.902Z] Merge succeeded, producing d0b3b46500a58795089dcd695830f2888fc472e1 [2024-02-25T09:28:28.903Z] Checking out Revision d0b3b46500a58795089dcd695830f2888fc472e1 (PR-9) [2024-02-25T09:28:29.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:28:29.106Z] [2024-02-25T09:28:29.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:28:29.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:28:29.435Z] latest: Pulling from edgex-lftools-log-publisher [2024-02-25T09:28:29.435Z] 5eb5b503b376: Pulling fs layer [2024-02-25T09:28:29.435Z] 5c69ac0246d0: Pulling fs layer [2024-02-25T09:28:29.435Z] ec43610c2a17: Pulling fs layer [2024-02-25T09:28:29.435Z] 3a2ae6a8a46f: Pulling fs layer [2024-02-25T09:28:29.435Z] 33b1e0a273af: Pulling fs layer [2024-02-25T09:28:29.435Z] 5d3b04190fa2: Pulling fs layer [2024-02-25T09:28:29.435Z] 2f39f015ded8: Pulling fs layer [2024-02-25T09:28:29.435Z] 5d3b04190fa2: Waiting [2024-02-25T09:28:29.435Z] 33b1e0a273af: Waiting [2024-02-25T09:28:29.435Z] 2f39f015ded8: Waiting [2024-02-25T09:28:29.435Z] 3a2ae6a8a46f: Waiting [2024-02-25T09:28:29.435Z] 5c69ac0246d0: Verifying Checksum [2024-02-25T09:28:29.435Z] 5c69ac0246d0: Download complete [2024-02-25T09:28:29.435Z] 3a2ae6a8a46f: Download complete [2024-02-25T09:28:29.435Z] 33b1e0a273af: Verifying Checksum [2024-02-25T09:28:29.435Z] 33b1e0a273af: Download complete [2024-02-25T09:28:29.435Z] 5d3b04190fa2: Download complete [2024-02-25T09:28:29.436Z] ec43610c2a17: Verifying Checksum [2024-02-25T09:28:29.436Z] ec43610c2a17: Download complete [2024-02-25T09:28:27.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 [2024-02-25T09:28:27.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git [2024-02-25T09:28:27.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:28:27.994Z] > 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:28:28.564Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:28:28.654Z] > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 [2024-02-25T09:28:28.754Z] > git remote # timeout=10 [2024-02-25T09:28:28.786Z] > git config --get remote.origin.url # timeout=10 [2024-02-25T09:28:28.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-02-25T09:28:28.829Z] > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [2024-02-25T09:28:28.865Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-02-25T09:28:28.910Z] > git config core.sparsecheckout # timeout=10 [2024-02-25T09:28:28.931Z] > git checkout -f d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 [2024-02-25T09:28:29.695Z] 5eb5b503b376: Download complete [2024-02-25T09:28:30.261Z] 2f39f015ded8: Verifying Checksum [2024-02-25T09:28:30.261Z] 2f39f015ded8: Download complete [2024-02-25T09:28:30.836Z] 5eb5b503b376: Pull complete [2024-02-25T09:28:30.836Z] 5c69ac0246d0: Pull complete [2024-02-25T09:28:31.401Z] ec43610c2a17: Pull complete [2024-02-25T09:28:31.401Z] 3a2ae6a8a46f: Pull complete [2024-02-25T09:28:31.659Z] 33b1e0a273af: Pull complete [2024-02-25T09:28:31.659Z] 5d3b04190fa2: Pull complete [2024-02-25T09:28:32.441Z] Commit message: "fix: fix test process" [2024-02-25T09:28:32.842Z] [2024-02-25T09:28:32.842Z] GitHub has been notified of this commit’s build result [2024-02-25T09:28:32.842Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:28:33.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-02-25T09:28:33.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-02-25T09:28:33.742Z] Dload Upload Total Spent Left Speed [2024-02-25T09:28:33.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2024-02-25T09:28:34.101Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-02-25T09:28:34.427Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-02-25T09:28:34.427Z] + sudo tee /etc/docker/daemon.new [2024-02-25T09:28:34.427Z] { [2024-02-25T09:28:34.427Z] "registry-mirrors": [ [2024-02-25T09:28:34.427Z] "https://nexus3.edgexfoundry.org:10001" [2024-02-25T09:28:34.427Z] ], [2024-02-25T09:28:34.427Z] "bip": "10.250.0.254/24", [2024-02-25T09:28:34.427Z] "hosts": [ [2024-02-25T09:28:34.427Z] "tcp://0.0.0.0:5555", [2024-02-25T09:28:34.427Z] "unix:///var/run/docker.sock" [2024-02-25T09:28:34.427Z] ], [2024-02-25T09:28:34.427Z] "mtu": 1458, [2024-02-25T09:28:34.427Z] "selinux-enabled": true, [2024-02-25T09:28:34.427Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-02-25T09:28:34.427Z] } [Pipeline] sh [2024-02-25T09:28:34.751Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-02-25T09:28:35.079Z] + sudo service docker restart [2024-02-25T09:28:36.003Z] 2f39f015ded8: Pull complete [2024-02-25T09:28:36.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-02-25T09:28:36.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:28:36.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:28:36.192Z] prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container [2024-02-25T09:28:36.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:28:40.921Z] $ docker top c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:28:45.032Z] ---> job-cost.sh [2024-02-25T09:28:45.032Z] lf-activate-venv: SKIPPING [2024-02-25T09:28:45.032Z] INFO: No Stack... [2024-02-25T09:28:45.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:28:45.552Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:28:45.844Z] + + cut -d, -f6cat [2024-02-25T09:28:45.844Z] /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv [Pipeline] lock [2024-02-25T09:28:45.855Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [2024-02-25T09:28:45.862Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] did not exist. Created. [2024-02-25T09:28:45.867Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:28:46.224Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-02-25T09:28:46.283Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:28:46.290Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T09:28:46.375Z] $ docker stop --time=1 c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 [2024-02-25T09:28:47.818Z] $ docker rm -f --volumes c29c54dd9ea6d575ae1e706e19e81c64b9edecc039a991aea7f37fc353838b11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:28:53.414Z] provisioning config files... [2024-02-25T09:28:53.475Z] copy managed file [device-s7-settings] to file:/w/workspace/device-s7/5@tmp/config10786605755678101996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:28:53.942Z] ---> ****-login.sh [2024-02-25T09:28:53.942Z] nexus3.edgexfoundry.org:10001 [2024-02-25T09:28:54.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:28:54.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:28:54.485Z] Configure a credential helper to remove this warning. See [2024-02-25T09:28:54.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:28:54.485Z] [2024-02-25T09:28:54.485Z] Login Succeeded [2024-02-25T09:28:54.485Z] nexus3.edgexfoundry.org:10002 [2024-02-25T09:28:54.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:28:55.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:28:55.033Z] Configure a credential helper to remove this warning. See [2024-02-25T09:28:55.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:28:55.033Z] [2024-02-25T09:28:55.033Z] Login Succeeded [2024-02-25T09:28:55.033Z] nexus3.edgexfoundry.org:10003 [2024-02-25T09:28:55.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:28:55.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:28:55.304Z] Configure a credential helper to remove this warning. See [2024-02-25T09:28:55.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:28:55.304Z] [2024-02-25T09:28:55.304Z] Login Succeeded [2024-02-25T09:28:55.304Z] nexus3.edgexfoundry.org:10004 [2024-02-25T09:28:55.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:28:55.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:28:55.574Z] Configure a credential helper to remove this warning. See [2024-02-25T09:28:55.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:28:55.574Z] [2024-02-25T09:28:55.574Z] Login Succeeded [2024-02-25T09:28:55.574Z] ****.io [2024-02-25T09:28:55.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-02-25T09:28:56.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-02-25T09:28:56.116Z] Configure a credential helper to remove this warning. See [2024-02-25T09:28:56.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-02-25T09:28:56.116Z] [2024-02-25T09:28:56.116Z] Login Succeeded [2024-02-25T09:28:56.116Z] ---> ****-login.sh ends [Pipeline] } [2024-02-25T09:28:56.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-02-25T09:28:56.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:28:56.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-02-25T09:28:56.585Z] ========================================================= [2024-02-25T09:28:56.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-02-25T09:28:56.585Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:28:57.053Z] + 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:28:57.640Z] Sending build context to Docker daemon 421.9kB [2024-02-25T09:28:57.640Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:28:57.640Z] Step 2/10 : FROM ${BASE} AS builder [2024-02-25T09:28:57.640Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-02-25T09:28:57.640Z] 9fda8d8052c6: Pulling fs layer [2024-02-25T09:28:57.640Z] 5d54e960e981: Pulling fs layer [2024-02-25T09:28:57.640Z] c4a7e357bf2a: Pulling fs layer [2024-02-25T09:28:57.640Z] f0e02332f6b5: Pulling fs layer [2024-02-25T09:28:57.640Z] 872ee5b61b7b: Pulling fs layer [2024-02-25T09:28:57.640Z] 0c6a40ed1a82: Pulling fs layer [2024-02-25T09:28:57.640Z] 94ae7d8d031c: Pulling fs layer [2024-02-25T09:28:57.640Z] f0e02332f6b5: Waiting [2024-02-25T09:28:57.640Z] 872ee5b61b7b: Waiting [2024-02-25T09:28:57.640Z] 0c6a40ed1a82: Waiting [2024-02-25T09:28:57.640Z] 94ae7d8d031c: Waiting [2024-02-25T09:28:57.911Z] 5d54e960e981: Verifying Checksum [2024-02-25T09:28:57.911Z] 5d54e960e981: Download complete [2024-02-25T09:28:57.911Z] f0e02332f6b5: Verifying Checksum [2024-02-25T09:28:57.911Z] f0e02332f6b5: Download complete [2024-02-25T09:28:57.911Z] 872ee5b61b7b: Verifying Checksum [2024-02-25T09:28:57.911Z] 872ee5b61b7b: Download complete [2024-02-25T09:28:57.911Z] 9fda8d8052c6: Download complete [2024-02-25T09:28:58.183Z] 94ae7d8d031c: Verifying Checksum [2024-02-25T09:28:58.183Z] 94ae7d8d031c: Download complete [2024-02-25T09:28:58.775Z] 9fda8d8052c6: Pull complete [2024-02-25T09:28:59.746Z] 5d54e960e981: Pull complete [2024-02-25T09:28:59.746Z] c4a7e357bf2a: Verifying Checksum [2024-02-25T09:28:59.746Z] c4a7e357bf2a: Download complete [2024-02-25T09:29:01.158Z] 0c6a40ed1a82: Verifying Checksum [2024-02-25T09:29:01.158Z] 0c6a40ed1a82: Download complete [2024-02-25T09:29:13.479Z] c4a7e357bf2a: Pull complete [2024-02-25T09:29:13.479Z] f0e02332f6b5: Pull complete [2024-02-25T09:29:13.479Z] 872ee5b61b7b: Pull complete [2024-02-25T09:29:21.717Z] 0c6a40ed1a82: Pull complete [2024-02-25T09:29:23.128Z] 94ae7d8d031c: Pull complete [2024-02-25T09:29:23.128Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-02-25T09:29:23.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-02-25T09:29:23.128Z] ---> 86de565de09d [2024-02-25T09:29:23.128Z] Step 3/10 : ARG MAKE=make build [2024-02-25T09:29:24.536Z] ---> Running in 79e0a8474a50 [2024-02-25T09:29:25.122Z] Removing intermediate container 79e0a8474a50 [2024-02-25T09:29:25.122Z] ---> 298735b6a2d1 [2024-02-25T09:29:25.122Z] Step 4/10 : WORKDIR /device-s7 [2024-02-25T09:29:25.122Z] ---> Running in 03e207fa96ba [2024-02-25T09:29:25.390Z] Removing intermediate container 03e207fa96ba [2024-02-25T09:29:25.390Z] ---> 909bcb540b9e [2024-02-25T09:29:25.390Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:29:25.390Z] ---> Running in 4eb30aa2a1f0 [2024-02-25T09:29:25.657Z] Removing intermediate container 4eb30aa2a1f0 [2024-02-25T09:29:25.657Z] ---> 028bea7d687a [2024-02-25T09:29:25.657Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:29:25.925Z] ---> Running in 99f918cbeb13 [2024-02-25T09:29:26.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:29:27.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:29:28.432Z] OK: 266 MiB in 52 packages [2024-02-25T09:29:29.401Z] Removing intermediate container 99f918cbeb13 [2024-02-25T09:29:29.401Z] ---> 926c6a268b25 [2024-02-25T09:29:29.401Z] Step 7/10 : COPY go.mod vendor* ./ [2024-02-25T09:29:29.672Z] ---> 0f031f23346f [2024-02-25T09:29:29.672Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:29:29.672Z] ---> Running in 78c1edc09157 [2024-02-25T09:30:51.304Z] Removing intermediate container 78c1edc09157 [2024-02-25T09:30:51.304Z] ---> 8c409f3016fc [2024-02-25T09:30:51.304Z] Step 9/10 : COPY . . [2024-02-25T09:30:51.304Z] ---> 3f59e0827850 [2024-02-25T09:30:51.304Z] Step 10/10 : RUN ${MAKE} [2024-02-25T09:30:51.304Z] ---> Running in f4d20ca3d394 [2024-02-25T09:30:51.304Z] noop [2024-02-25T09:30:51.304Z] Removing intermediate container f4d20ca3d394 [2024-02-25T09:30:51.304Z] ---> 43e4aef3db22 [2024-02-25T09:30:51.304Z] Successfully built 43e4aef3db22 [2024-02-25T09:30:51.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:30:51.754Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:30:51.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:30:52.027Z] prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container [2024-02-25T09:30:52.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@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:30:53.281Z] $ docker top c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:30:54.166Z] + go version [2024-02-25T09:30:54.166Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-02-25T09:30:54.186Z] $ docker stop --time=1 c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 [2024-02-25T09:30:55.795Z] $ docker rm -f --volumes c7b5c507b24346b0a1aad027faaa44f9ad16970d556606b54e477a03afcdfd96 [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:30:56.623Z] + docker inspect -f . ci-base-image-arm64 [2024-02-25T09:30:56.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:30:56.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container [2024-02-25T09:30:56.927Z] $ 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/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@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:30:58.105Z] $ docker top 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:30:58.667Z] + git config --global --add safe.directory /w/workspace/device-s7/5 [Pipeline] fileExists [Pipeline] sh [2024-02-25T09:30:59.608Z] + make test [2024-02-25T09:30:59.608Z] go test -race -coverprofile=coverage.out ./... [2024-02-25T09:31:31.826Z] ? github.com/edgexfoundry/device-s7 [no test files] [2024-02-25T09:33:08.446Z] ? github.com/edgexfoundry/device-s7/cmd [no test files] [2024-02-25T09:33:08.446Z] ? github.com/edgexfoundry/device-s7/internal/driver [no test files] [2024-02-25T09:33:08.446Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-02-25T09:33:08.446Z] go vet ./... [2024-02-25T09:34:46.408Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-02-25T09:34:46.408Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-02-25T09:34:46.408Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-02-25T09:34:46.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-02-25T09:34:46.476Z] $ docker stop --time=1 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 [2024-02-25T09:34:48.282Z] $ docker rm -f --volumes 66a4d25c57e453536223225ab035faa8c9166a9906b9b61ef4d3991199e2ebb3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-02-25T09:34:49.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-02-25T09:34:49.820Z] Warning: overwriting stash ‘coverage-report’ [2024-02-25T09:34:50.228Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-02-25T09:34:50.797Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-02-25T09:34:51.107Z] + ls -al . [2024-02-25T09:34:51.107Z] total 132 [2024-02-25T09:34:51.107Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:31 . [2024-02-25T09:34:51.107Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:28 .. [2024-02-25T09:34:51.107Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:28 .git [2024-02-25T09:34:51.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:28 .github [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:28 .gitignore [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:28 .golangci.yml [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:28 Attribution.txt [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:28 Dockerfile [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:28 Jenkinsfile [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:28 LICENSE [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:28 Makefile [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:28 OWNERS.md [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 4079 Feb 25 09:28 README.md [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:26 VERSION [2024-02-25T09:34:51.107Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:28 bin [2024-02-25T09:34:51.107Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:28 cmd [2024-02-25T09:34:51.107Z] -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:31 coverage.out [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:28 go.mod [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:28 go.sum [2024-02-25T09:34:51.107Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:28 internal [2024-02-25T09:34:51.107Z] -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:34:51.494Z] + 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=d0b3b46500a58795089dcd695830f2888fc472e1 --label arch=arm64 --label version=0.0.0 . [2024-02-25T09:34:51.759Z] Sending build context to Docker daemon 422.9kB [2024-02-25T09:34:51.759Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-02-25T09:34:51.759Z] Step 2/24 : FROM ${BASE} AS builder [2024-02-25T09:34:51.759Z] ---> 43e4aef3db22 [2024-02-25T09:34:51.759Z] Step 3/24 : ARG MAKE=make build [2024-02-25T09:34:52.022Z] ---> Running in 476ee340f41d [2024-02-25T09:34:52.291Z] Removing intermediate container 476ee340f41d [2024-02-25T09:34:52.291Z] ---> 035cceb07ac3 [2024-02-25T09:34:52.291Z] Step 4/24 : WORKDIR /device-s7 [2024-02-25T09:34:52.291Z] ---> Running in dbffdf062d25 [2024-02-25T09:34:52.561Z] Removing intermediate container dbffdf062d25 [2024-02-25T09:34:52.561Z] ---> 0868013e8c50 [2024-02-25T09:34:52.561Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:34:52.561Z] ---> Running in 0eb63508d9a5 [2024-02-25T09:34:52.826Z] Removing intermediate container 0eb63508d9a5 [2024-02-25T09:34:52.826Z] ---> 1c4f930bb05a [2024-02-25T09:34:52.826Z] Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev [2024-02-25T09:34:53.102Z] ---> Running in 0df3a2ccc179 [2024-02-25T09:34:54.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:34:54.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:34:55.288Z] OK: 266 MiB in 52 packages [2024-02-25T09:34:56.249Z] Removing intermediate container 0df3a2ccc179 [2024-02-25T09:34:56.249Z] ---> f370e40fc3cf [2024-02-25T09:34:56.249Z] Step 7/24 : COPY go.mod vendor* ./ [2024-02-25T09:34:56.834Z] ---> 22fb3fbf59ff [2024-02-25T09:34:56.834Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-02-25T09:34:56.834Z] ---> Running in 09309155c9e6 [2024-02-25T09:35:03.666Z] Removing intermediate container 09309155c9e6 [2024-02-25T09:35:03.666Z] ---> 81c0c080d8a3 [2024-02-25T09:35:03.666Z] Step 9/24 : COPY . . [2024-02-25T09:35:03.666Z] ---> 6ad408d35b19 [2024-02-25T09:35:03.666Z] Step 10/24 : RUN ${MAKE} [2024-02-25T09:35:03.666Z] ---> Running in 1b55713dfcbb [2024-02-25T09:35:04.633Z] 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:36:57.150Z] Removing intermediate container 1b55713dfcbb [2024-02-25T09:36:57.150Z] ---> fceceaeacb4a [2024-02-25T09:36:57.150Z] Step 11/24 : FROM alpine:3.18 [2024-02-25T09:36:57.150Z] 3.18: Pulling from library/alpine [2024-02-25T09:36:57.150Z] c6b39de5b339: Pulling fs layer [2024-02-25T09:36:57.150Z] c6b39de5b339: Verifying Checksum [2024-02-25T09:36:57.150Z] c6b39de5b339: Download complete [2024-02-25T09:36:57.150Z] c6b39de5b339: Pull complete [2024-02-25T09:36:57.150Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-02-25T09:36:57.150Z] Status: Downloaded newer image for alpine:3.18 [2024-02-25T09:36:57.150Z] ---> 33abbf032149 [2024-02-25T09:36:57.150Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' [2024-02-25T09:36:57.150Z] ---> Running in a14b550dff9b [2024-02-25T09:36:57.150Z] Removing intermediate container a14b550dff9b [2024-02-25T09:36:57.150Z] ---> ee5edc947eec [2024-02-25T09:36:57.150Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-02-25T09:36:57.150Z] ---> Running in f801e655ffd4 [2024-02-25T09:36:57.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:36:57.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:36:57.150Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-02-25T09:36:57.150Z] Executing busybox-1.36.1-r5.trigger [2024-02-25T09:36:57.150Z] OK: 8 MiB in 16 packages [2024-02-25T09:36:59.091Z] Removing intermediate container f801e655ffd4 [2024-02-25T09:36:59.091Z] ---> e264738d4144 [2024-02-25T09:36:59.091Z] Step 14/24 : RUN apk --no-cache upgrade [2024-02-25T09:36:59.091Z] ---> Running in a62fb61b2b39 [2024-02-25T09:37:00.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-02-25T09:37:00.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-02-25T09:37:01.014Z] OK: 8 MiB in 16 packages [2024-02-25T09:37:01.971Z] Removing intermediate container a62fb61b2b39 [2024-02-25T09:37:01.971Z] ---> fd596db4ccb4 [2024-02-25T09:37:01.971Z] Step 15/24 : WORKDIR / [2024-02-25T09:37:01.971Z] ---> Running in 997f9c327f02 [2024-02-25T09:37:02.240Z] Removing intermediate container 997f9c327f02 [2024-02-25T09:37:02.240Z] ---> ac40eb2a4a7d [2024-02-25T09:37:02.240Z] Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt [2024-02-25T09:37:02.825Z] ---> 17592f7ed71f [2024-02-25T09:37:02.825Z] Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 [2024-02-25T09:37:04.242Z] ---> 3dc757e43cde [2024-02-25T09:37:04.242Z] Step 18/24 : COPY --from=builder /device-s7/cmd/res /res [2024-02-25T09:37:04.509Z] ---> 45f1381c641b [2024-02-25T09:37:04.509Z] Step 19/24 : EXPOSE 59994 [2024-02-25T09:37:04.509Z] ---> Running in 9a4f8a60e23d [2024-02-25T09:37:04.776Z] Removing intermediate container 9a4f8a60e23d [2024-02-25T09:37:04.776Z] ---> d030f6a4f892 [2024-02-25T09:37:04.776Z] Step 20/24 : ENTRYPOINT ["/device-s7"] [2024-02-25T09:37:05.053Z] ---> Running in 09c44d6d43a8 [2024-02-25T09:37:05.320Z] Removing intermediate container 09c44d6d43a8 [2024-02-25T09:37:05.320Z] ---> a7927c946416 [2024-02-25T09:37:05.320Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-02-25T09:37:05.320Z] ---> Running in 6f0e0045ff50 [2024-02-25T09:37:05.591Z] Removing intermediate container 6f0e0045ff50 [2024-02-25T09:37:05.591Z] ---> 97b951b0b36e [2024-02-25T09:37:05.591Z] Step 22/24 : LABEL arch=arm64 [2024-02-25T09:37:05.591Z] ---> Running in 3ee347011ea1 [2024-02-25T09:37:05.858Z] Removing intermediate container 3ee347011ea1 [2024-02-25T09:37:05.858Z] ---> d463a973fb08 [2024-02-25T09:37:05.858Z] Step 23/24 : LABEL git_sha=d0b3b46500a58795089dcd695830f2888fc472e1 [2024-02-25T09:37:05.858Z] ---> Running in ab6c11b52750 [2024-02-25T09:37:06.126Z] Removing intermediate container ab6c11b52750 [2024-02-25T09:37:06.126Z] ---> de2555c27b8c [2024-02-25T09:37:06.126Z] Step 24/24 : LABEL version=0.0.0 [2024-02-25T09:37:06.397Z] ---> Running in 1cd4aa514b4f [2024-02-25T09:37:06.663Z] Removing intermediate container 1cd4aa514b4f [2024-02-25T09:37:06.663Z] ---> 6e80f9104564 [2024-02-25T09:37:06.663Z] [Warning] One or more build-args [ARCH] were not consumed [2024-02-25T09:37:06.663Z] Successfully built 6e80f9104564 [2024-02-25T09:37:06.663Z] 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:37:07.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:37:07.435Z] [2024-02-25T09:37:07.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:37:07.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:37:07.789Z] arm64: Pulling from edgex-lftools-log-publisher [2024-02-25T09:37:07.789Z] 8998bd30e6a1: Pulling fs layer [2024-02-25T09:37:07.789Z] 04944245beec: Pulling fs layer [2024-02-25T09:37:07.789Z] 699f458cf7ca: Pulling fs layer [2024-02-25T09:37:07.789Z] 765212b225bb: Pulling fs layer [2024-02-25T09:37:07.789Z] f23df028b6ca: Pulling fs layer [2024-02-25T09:37:07.789Z] d65c8cfc05b1: Pulling fs layer [2024-02-25T09:37:07.789Z] 2437ff75d9bd: Pulling fs layer [2024-02-25T09:37:07.789Z] 765212b225bb: Waiting [2024-02-25T09:37:07.789Z] f23df028b6ca: Waiting [2024-02-25T09:37:07.789Z] d65c8cfc05b1: Waiting [2024-02-25T09:37:07.789Z] 2437ff75d9bd: Waiting [2024-02-25T09:37:08.056Z] 04944245beec: Verifying Checksum [2024-02-25T09:37:08.056Z] 04944245beec: Download complete [2024-02-25T09:37:08.056Z] 765212b225bb: Verifying Checksum [2024-02-25T09:37:08.056Z] 765212b225bb: Download complete [2024-02-25T09:37:08.056Z] f23df028b6ca: Download complete [2024-02-25T09:37:08.056Z] d65c8cfc05b1: Verifying Checksum [2024-02-25T09:37:08.056Z] d65c8cfc05b1: Download complete [2024-02-25T09:37:08.056Z] 699f458cf7ca: Verifying Checksum [2024-02-25T09:37:08.056Z] 699f458cf7ca: Download complete [2024-02-25T09:37:08.640Z] 8998bd30e6a1: Verifying Checksum [2024-02-25T09:37:08.640Z] 8998bd30e6a1: Download complete [2024-02-25T09:37:11.227Z] 2437ff75d9bd: Verifying Checksum [2024-02-25T09:37:11.227Z] 2437ff75d9bd: Download complete [2024-02-25T09:37:13.169Z] 8998bd30e6a1: Pull complete [2024-02-25T09:37:13.437Z] 04944245beec: Pull complete [2024-02-25T09:37:14.849Z] 699f458cf7ca: Pull complete [2024-02-25T09:37:15.117Z] 765212b225bb: Pull complete [2024-02-25T09:37:16.076Z] f23df028b6ca: Pull complete [2024-02-25T09:37:16.076Z] d65c8cfc05b1: Pull complete [2024-02-25T09:37:34.303Z] 2437ff75d9bd: Pull complete [2024-02-25T09:37:34.303Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-02-25T09:37:34.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-02-25T09:37:34.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:37:34.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-1670 does not seem to be running inside a container [2024-02-25T09:37:34.703Z] $ 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/5 -v /w/workspace/device-s7/5:/w/workspace/device-s7/5:rw,z -v /w/workspace/device-s7/5@tmp:/w/workspace/device-s7/5@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:37:37.324Z] $ docker top c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:38.218Z] ---> job-cost.sh [2024-02-25T09:37:38.218Z] lf-activate-venv: SKIPPING [2024-02-25T09:37:38.218Z] INFO: No Stack... [2024-02-25T09:37:38.484Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-02-25T09:37:39.443Z] INFO: Archiving Costs [Pipeline] sh [2024-02-25T09:37:39.756Z] + + cut -d, -f6 [2024-02-25T09:37:40.024Z] cat /w/workspace/device-s7/5/archives/cost.csv [Pipeline] lock [2024-02-25T09:37:40.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [2024-02-25T09:37:40.082Z] Resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] did not exist. Created. [2024-02-25T09:37:40.088Z] Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-02-25T09:37:40.805Z] /w/workspace/device-s7/5@tmp/durable-daf9e2bb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-02-25T09:37:41.445Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-02-25T09:37:41.502Z] Warning: overwriting stash ‘stack-cost’ [2024-02-25T09:37:41.551Z] Stashed 1 file(s) [Pipeline] } [2024-02-25T09:37:41.558Z] Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-02-25T09:37:41.648Z] $ docker stop --time=1 c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 [2024-02-25T09:37:43.995Z] $ docker rm -f --volumes c2789889f21d81efd080341d62519ea760acaa8d5fe20d6218883c1670d0b0d6 [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:37:45.112Z] provisioning config files... [2024-02-25T09:37:45.113Z] 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:37:46.953Z] + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] [2024-02-25T09:37:46.953Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:37:46.953Z] total 16 [2024-02-25T09:37:46.953Z] drwxr-xr-x 3 root root 4096 Feb 25 09:28 . [2024-02-25T09:37:46.953Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:28 .. [2024-02-25T09:37:46.953Z] drwxr-xr-x 2 root root 4096 Feb 25 09:28 cost [2024-02-25T09:37:46.953Z] -rw-r--r-- 1 root root 79 Feb 25 09:28 cost.csv [2024-02-25T09:37:46.953Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:37:46.953Z] + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives [2024-02-25T09:37:46.953Z] total 16 [2024-02-25T09:37:46.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:28 . [2024-02-25T09:37:46.953Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:28 .. [2024-02-25T09:37:46.953Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:28 cost [2024-02-25T09:37:46.953Z] -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:47.245Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:48.105Z] ---> package-listing.sh [2024-02-25T09:37:48.105Z] ++ facter osfamily [2024-02-25T09:37:48.105Z] ++ tr '[:upper:]' '[:lower:]' [2024-02-25T09:37:48.365Z] + OS_FAMILY=debian [2024-02-25T09:37:48.365Z] + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 [2024-02-25T09:37:48.365Z] + START_PACKAGES=/tmp/packages_start.txt [2024-02-25T09:37:48.365Z] + END_PACKAGES=/tmp/packages_end.txt [2024-02-25T09:37:48.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-02-25T09:37:48.365Z] + PACKAGES=/tmp/packages_start.txt [2024-02-25T09:37:48.365Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:37:48.365Z] + PACKAGES=/tmp/packages_end.txt [2024-02-25T09:37:48.365Z] + case "${OS_FAMILY}" in [2024-02-25T09:37:48.365Z] + grep '^ii' [2024-02-25T09:37:48.365Z] + dpkg -l [2024-02-25T09:37:48.365Z] + '[' -f /tmp/packages_start.txt ']' [2024-02-25T09:37:48.365Z] + '[' -f /tmp/packages_end.txt ']' [2024-02-25T09:37:48.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-02-25T09:37:48.365Z] + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' [2024-02-25T09:37:48.365Z] + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [2024-02-25T09:37:48.365Z] + 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:37:48.377Z] 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:37:48.655Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-02-25T09:37:49.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-02-25T09:37:49.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-02-25T09:37:49.409Z] prd-ubuntu20.04-docker-8c-8g-1669 does not seem to be running inside a container [2024-02-25T09:37:49.454Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-02-25T09:37:49.625Z] $ docker top 4b48170d33749b3877ffe49bc74c82d600ecace9087550474b5c6c57d030eba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-02-25T09:37:50.033Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-02-25T09:37:50.316Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-02-25T09:37:50.604Z] + ls /var/log/sa-host [2024-02-25T09:37:50.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-02-25T09:37:50.811Z] provisioning config files... [2024-02-25T09:37:50.821Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config3925743946915329967tmp [Pipeline] { [Pipeline] echo [2024-02-25T09:37:50.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:51.196Z] ---> create-netrc.sh [Pipeline] } [2024-02-25T09:37:51.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:51.702Z] ---> python-tools-install.sh [Pipeline] echo [2024-02-25T09:37:51.711Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:51.990Z] ---> sudo-logs.sh [2024-02-25T09:37:51.990Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-02-25T09:37:52.054Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:52.339Z] ---> job-cost.sh [2024-02-25T09:37:52.339Z] lf-activate-venv: SKIPPING [2024-02-25T09:37:52.339Z] DEBUG: total: 0.2199999988079071 [2024-02-25T09:37:52.339Z] INFO: Retrieving Stack Cost... [2024-02-25T09:37:52.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-02-25T09:37:53.169Z] INFO: Archiving Costs [Pipeline] echo [2024-02-25T09:37:53.182Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-02-25T09:37:53.465Z] ---> logs-deploy.sh [2024-02-25T09:37:53.465Z] lf-activate-venv: SKIPPING [2024-02-25T09:37:53.465Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/5 [2024-02-25T09:37:53.465Z] INFO: archiving workspace using pattern(s): [2024-02-25T09:37:54.402Z] Archives upload complete. [2024-02-25T09:37:54.402Z] INFO: archiving logs to Nexus