Pull request #622 opened 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 ejlee3 for edgexfoundry/app-service-configurable Obtained Jenkinsfile from fa8438de5e07b3fdd7b0b93173e3acd4ea067266+42cf7a9d8527f7ddc9b3597bc626304eb0fad692 (815ec236da8beb6f96ce28c6380d769d5be8ab45) 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-ssh9365353571245127523.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh11809102795180264535.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3684433638347209991.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-622/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2133789430209748469.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6578691974022390622.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-622/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-622/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4319238248576752751.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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:app-service-configurable] ========================================================= [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: app-service-configurable-settings PROJECT: app-service-configurable 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: app-service-configurable 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17357’ Running on prd-ubuntu20.04-docker-8c-8g-17362 in /w/workspace/_app-service-configurable_PR-622 [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/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-622 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.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/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.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/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/622/head:refs/remotes/origin/PR-622 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 42cf7a9d8527f7ddc9b3597bc626304eb0fad692 into PR head commit fa8438de5e07b3fdd7b0b93173e3acd4ea067266 Merge succeeded, producing fa8438de5e07b3fdd7b0b93173e3acd4ea067266 Checking out Revision fa8438de5e07b3fdd7b0b93173e3acd4ea067266 (PR-622) > git config core.sparsecheckout # timeout=10 > git checkout -f fa8438de5e07b3fdd7b0b93173e3acd4ea067266 # 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 42cf7a9d8527f7ddc9b3597bc626304eb0fad692 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa8438de5e07b3fdd7b0b93173e3acd4ea067266 # timeout=10 Commit message: "docs: Update chengelog for release 3.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:09:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:09:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:09:20 ========================================================= 18:09:20 EdgeX Global Pipelines Version Info 18:09:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:09:21 ------------------- 18:09:21 stable info: 18:09:21 ------------------- 18:09:21 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:09:21 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:09:21 Message: update stable to v1.0.257 18:09:22 ------------------- 18:09:22 experimental info: 18:09:22 ------------------- 18:09:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:09:22 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:09:22 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:09:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-622 [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-622 [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-622 [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa8438d [Pipeline] echo 18:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:09:23 provisioning config files... 18:09:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-622@tmp/config2738841808150458284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:24 ---> docker-login.sh 18:09:24 nexus3.edgexfoundry.org:10001 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 nexus3.edgexfoundry.org:10002 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 nexus3.edgexfoundry.org:10003 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 nexus3.edgexfoundry.org:10004 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 docker.io 18:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:24 Configure a credential helper to remove this warning. See 18:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:24 18:09:24 Login Succeeded 18:09:24 ---> docker-login.sh ends [Pipeline] } 18:09:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:09:25 + git rev-list -1 --merges fa8438de5e07b3fdd7b0b93173e3acd4ea067266~1..fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [Pipeline] echo 18:09:25 -----------> git rev-list -1 --merges fa8438de5e07b3fdd7b0b93173e3acd4ea067266~1..fa8438de5e07b3fdd7b0b93173e3acd4ea067266 fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [false] [Pipeline] sh 18:09:26 + git log --format=format:%s -1 fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [Pipeline] echo 18:09:26 ========================================================= 18:09:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:09:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:26 + git log --format=format:%s -1 fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [Pipeline] echo 18:09:26 [semverPrep] GIT_COMMIT: fa8438de5e07b3fdd7b0b93173e3acd4ea067266, Commit Message: docs: Update chengelog for release 3.1 [Pipeline] echo 18:09:26 [semverPrep] This is not a build commit. [Pipeline] sh 18:09:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:09:26 + grep -v github /etc/ssh/ssh_known_hosts 18:09:26 + [ -e /tmp/ssh_known_hosts ] 18:09:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:09:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:09:26 + sudo tee -a /etc/ssh/ssh_known_hosts 18:09:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:27 18:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:28 0.1.4: Pulling from edgex-devops/py-git-semver 18:09:28 b85a868b505f: Pulling fs layer 18:09:28 e2be974225ed: Pulling fs layer 18:09:28 339a4e72a1f5: Pulling fs layer 18:09:28 988bab9f4d93: Pulling fs layer 18:09:28 1469e6f7b9e6: Pulling fs layer 18:09:28 eaf3925da568: Pulling fs layer 18:09:28 bab4dde63d76: Pulling fs layer 18:09:28 bde34c3a00c8: Pulling fs layer 18:09:28 b352a97aabf1: Pulling fs layer 18:09:28 988bab9f4d93: Waiting 18:09:28 1469e6f7b9e6: Waiting 18:09:28 eaf3925da568: Waiting 18:09:28 bde34c3a00c8: Waiting 18:09:28 bab4dde63d76: Waiting 18:09:28 4872d77fe225: Pulling fs layer 18:09:28 b352a97aabf1: Waiting 18:09:28 5851b861e8e6: Pulling fs layer 18:09:28 4872d77fe225: Waiting 18:09:28 5851b861e8e6: Waiting 18:09:28 e2be974225ed: Verifying Checksum 18:09:28 e2be974225ed: Download complete 18:09:28 988bab9f4d93: Verifying Checksum 18:09:28 988bab9f4d93: Download complete 18:09:28 1469e6f7b9e6: Verifying Checksum 18:09:28 1469e6f7b9e6: Download complete 18:09:28 339a4e72a1f5: Verifying Checksum 18:09:28 339a4e72a1f5: Download complete 18:09:28 eaf3925da568: Download complete 18:09:28 bde34c3a00c8: Verifying Checksum 18:09:28 bde34c3a00c8: Download complete 18:09:28 b352a97aabf1: Download complete 18:09:28 4872d77fe225: Verifying Checksum 18:09:28 4872d77fe225: Download complete 18:09:28 5851b861e8e6: Verifying Checksum 18:09:28 5851b861e8e6: Download complete 18:09:28 b85a868b505f: Verifying Checksum 18:09:28 b85a868b505f: Download complete 18:09:29 bab4dde63d76: Verifying Checksum 18:09:29 bab4dde63d76: Download complete 18:09:29 b85a868b505f: Pull complete 18:09:29 e2be974225ed: Pull complete 18:09:30 339a4e72a1f5: Pull complete 18:09:30 988bab9f4d93: Pull complete 18:09:30 1469e6f7b9e6: Pull complete 18:09:30 eaf3925da568: Pull complete 18:09:32 bab4dde63d76: Pull complete 18:09:32 bde34c3a00c8: Pull complete 18:09:32 b352a97aabf1: Pull complete 18:09:32 4872d77fe225: Pull complete 18:09:32 5851b861e8e6: Pull complete 18:09:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:09:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:33 prd-ubuntu20.04-docker-8c-8g-17362 does not seem to be running inside a container 18:09:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-622 -v /w/workspace/_app-service-configurable_PR-622:/w/workspace/_app-service-configurable_PR-622:rw,z -v /w/workspace/_app-service-configurable_PR-622@tmp:/w/workspace/_app-service-configurable_PR-622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:09:36 $ docker top 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 -eo pid,comm 18:09:36 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). 18:09:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:09:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:36 [ssh-agent] Looking for ssh-agent implementation... 18:09:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:36 $ docker exec 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 ssh-agent 18:09:36 SSH_AUTH_SOCK=/tmp/ssh-mfQzvgUz4tCn/agent.32 18:09:36 SSH_AGENT_PID=38 18:09:36 Running ssh-add (command line suppressed) 18:09:36 Identity added: /w/workspace/_app-service-configurable_PR-622@tmp/private_key_9081041052131233522.key (/w/workspace/_app-service-configurable_PR-622@tmp/private_key_9081041052131233522.key) 18:09:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:36 + git tag --points-at HEAD [Pipeline] } 18:09:36 $ docker exec --env ******** --env ******** 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 ssh-agent -k 18:09:37 unset SSH_AUTH_SOCK; 18:09:37 unset SSH_AGENT_PID; 18:09:37 echo Agent pid 38 killed; 18:09:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:09:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:09:37 [ssh-agent] Looking for ssh-agent implementation... 18:09:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:09:37 $ docker exec 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 ssh-agent 18:09:37 SSH_AUTH_SOCK=/tmp/ssh-fY6goLhd0Q2V/agent.70 18:09:37 SSH_AGENT_PID=76 18:09:37 Running ssh-add (command line suppressed) 18:09:37 Identity added: /w/workspace/_app-service-configurable_PR-622@tmp/private_key_1709003352684211690.key (/w/workspace/_app-service-configurable_PR-622@tmp/private_key_1709003352684211690.key) 18:09:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:09:37 + git semver init 18:09:38 2023-11-13 18:09:38,036 [run_init] DEBUG init version:0.0.0 force:False 18:09:38 2023-11-13 18:09:38,037 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-622/.semver 18:09:38 2023-11-13 18:09:38,037 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-622/.semver 18:09:38 2023-11-13 18:09:38,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-622/.semver'], cwd=/w/workspace/_app-service-configurable_PR-622, universal_newlines=False, shell=None, istream=None) 18:09:39 2023-11-13 18:09:38,947 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-622/.git/info/exclude 18:09:39 2023-11-13 18:09:38,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-622/.semver/PR-622 with force:False 18:09:39 2023-11-13 18:09:38,948 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-622/.semver/PR-622 18:09:39 2023-11-13 18:09:38,952 [execute] INFO git cat-file --batch-check 18:09:39 2023-11-13 18:09:38,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-622/.semver, universal_newlines=False, shell=None, istream=) 18:09:39 2023-11-13 18:09:38,958 [execute] INFO git cat-file --batch 18:09:39 2023-11-13 18:09:38,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-622/.semver, universal_newlines=False, shell=None, istream=) 18:09:39 2023-11-13 18:09:38,964 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-622/.semver/PR-622 18:09:39 0.0.0 [Pipeline] } 18:09:39 $ docker exec --env ******** --env ******** 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 ssh-agent -k 18:09:39 unset SSH_AUTH_SOCK; 18:09:39 unset SSH_AGENT_PID; 18:09:39 echo Agent pid 76 killed; 18:09:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:09:39 + git semver [Pipeline] } 18:09:39 $ docker stop --time=1 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 18:09:41 $ docker rm -f --volumes 0de9aaf15f2865b00166032a4b76dfd52fe81a63dc14af731f313933ab97c599 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:09:41 Stashed 1 file(s) [Pipeline] echo 18:09:41 [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 18:09:42 provisioning config files... 18:09:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-622@tmp/config1547496321097765122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:09:42 ---> docker-login.sh 18:09:42 nexus3.edgexfoundry.org:10001 18:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:42 Configure a credential helper to remove this warning. See 18:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:42 18:09:42 Login Succeeded 18:09:42 nexus3.edgexfoundry.org:10002 18:09:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:42 Configure a credential helper to remove this warning. See 18:09:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:42 18:09:42 Login Succeeded 18:09:42 nexus3.edgexfoundry.org:10003 18:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:43 Configure a credential helper to remove this warning. See 18:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:43 18:09:43 Login Succeeded 18:09:43 nexus3.edgexfoundry.org:10004 18:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:43 Configure a credential helper to remove this warning. See 18:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:43 18:09:43 Login Succeeded 18:09:43 docker.io 18:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:09:43 Configure a credential helper to remove this warning. See 18:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:09:43 18:09:43 Login Succeeded 18:09:43 ---> docker-login.sh ends [Pipeline] } 18:09:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:09:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:09:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:09:43 ========================================================= 18:09:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:09:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:44 + 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 . 18:09:44 Sending build context to Docker daemon 3.378MB 18:09:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:09:44 Step 2/12 : FROM ${BASE} AS builder 18:09:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:09:44 7264a8db6415: Pulling fs layer 18:09:44 c4d48a809fc2: Pulling fs layer 18:09:44 4f1c88b9dad5: Pulling fs layer 18:09:44 ad3a456e5733: Pulling fs layer 18:09:44 33e27b845d1e: Pulling fs layer 18:09:44 c68163c4e522: Pulling fs layer 18:09:44 50da416c3ac9: Pulling fs layer 18:09:44 23d2d4c4bb30: Pulling fs layer 18:09:44 ad3a456e5733: Waiting 18:09:44 33e27b845d1e: Waiting 18:09:44 c68163c4e522: Waiting 18:09:44 50da416c3ac9: Waiting 18:09:44 23d2d4c4bb30: Waiting 18:09:44 c4d48a809fc2: Download complete 18:09:44 ad3a456e5733: Verifying Checksum 18:09:44 ad3a456e5733: Download complete 18:09:44 33e27b845d1e: Verifying Checksum 18:09:44 33e27b845d1e: Download complete 18:09:44 7264a8db6415: Download complete 18:09:44 c68163c4e522: Verifying Checksum 18:09:44 c68163c4e522: Download complete 18:09:44 7264a8db6415: Pull complete 18:09:44 23d2d4c4bb30: Verifying Checksum 18:09:44 23d2d4c4bb30: Download complete 18:09:45 4f1c88b9dad5: Verifying Checksum 18:09:45 4f1c88b9dad5: Download complete 18:09:45 c4d48a809fc2: Pull complete 18:09:45 50da416c3ac9: Verifying Checksum 18:09:45 50da416c3ac9: Download complete 18:09:49 4f1c88b9dad5: Pull complete 18:09:49 ad3a456e5733: Pull complete 18:09:49 33e27b845d1e: Pull complete 18:09:49 c68163c4e522: Pull complete 18:09:51 50da416c3ac9: Pull complete 18:09:51 23d2d4c4bb30: Pull complete 18:09:51 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:09:51 ---> 0786185ac409 18:09:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:09:57 ---> Running in 25b7454d126a 18:09:57 Removing intermediate container 25b7454d126a 18:09:57 ---> bdce83f436f8 18:09:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:09:57 ---> Running in 448021142bd8 18:09:57 Removing intermediate container 448021142bd8 18:09:57 ---> 60c3e21c1146 18:09:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:09:57 ---> Running in a0a413eb2e20 18:09:57 Removing intermediate container a0a413eb2e20 18:09:57 ---> cf7d37bc6e2f 18:09:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:57 ---> Running in bdc99ccdfdce 18:09:57 Still waiting to schedule task 18:09:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17359’ 18:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:09:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:09:57 OK: 264 MiB in 52 packages 18:09:57 Removing intermediate container bdc99ccdfdce 18:09:57 ---> e0d869b97259 18:09:57 Step 7/12 : WORKDIR /app 18:09:57 ---> Running in 5076c1ffd4fa 18:09:57 Removing intermediate container 5076c1ffd4fa 18:09:57 ---> a85fe9aa68eb 18:09:57 Step 8/12 : COPY go.mod vendor* ./ 18:09:58 ---> ad0a663e92f7 18:09:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:58 ---> Running in 44789dfdb17b 18:10:37 Removing intermediate container 44789dfdb17b 18:10:37 ---> 0454f09dbeba 18:10:37 Step 10/12 : COPY . . 18:10:37 ---> c186e80c00df 18:10:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:10:37 ---> Running in 370692e2c9c8 18:10:37 Removing intermediate container 370692e2c9c8 18:10:37 ---> 59ac54637698 18:10:37 Step 12/12 : RUN $MAKE 18:10:37 ---> Running in 9f695cddbb3b 18:10:37 noop 18:10:37 Removing intermediate container 9f695cddbb3b 18:10:37 ---> 36e073a37e66 18:10:37 Successfully built 36e073a37e66 18:10:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:37 + docker inspect -f . ci-base-image-x86_64 18:10:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:37 prd-ubuntu20.04-docker-8c-8g-17362 does not seem to be running inside a container 18:10:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-622 -v /w/workspace/_app-service-configurable_PR-622:/w/workspace/_app-service-configurable_PR-622:rw,z -v /w/workspace/_app-service-configurable_PR-622@tmp:/w/workspace/_app-service-configurable_PR-622@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 ******** ci-base-image-x86_64 cat 18:10:38 $ docker top 040ce0f8cba661919bebecfe22f9e15a209ff418795c8ce3da055df38fd4f451 -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:38 + go version 18:10:38 go version go1.21.0 linux/amd64 [Pipeline] } 18:10:38 $ docker stop --time=1 040ce0f8cba661919bebecfe22f9e15a209ff418795c8ce3da055df38fd4f451 18:10:39 $ docker rm -f --volumes 040ce0f8cba661919bebecfe22f9e15a209ff418795c8ce3da055df38fd4f451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:40 + docker inspect -f . ci-base-image-x86_64 18:10:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:40 prd-ubuntu20.04-docker-8c-8g-17362 does not seem to be running inside a container 18:10:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-622 -v /w/workspace/_app-service-configurable_PR-622:/w/workspace/_app-service-configurable_PR-622:rw,z -v /w/workspace/_app-service-configurable_PR-622@tmp:/w/workspace/_app-service-configurable_PR-622@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 ******** ci-base-image-x86_64 cat 18:10:41 $ docker top 8ce2e18ff4f2cc40298ab1a014d2e87d883b897c28d8684df24c2ae81876de82 -eo pid,comm [Pipeline] { [Pipeline] sh 18:10:41 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-622 [Pipeline] fileExists [Pipeline] sh 18:10:41 + make test 18:10:41 go test -race -coverprofile=coverage.out ./... 18:11:03 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:11:21 go vet ./... 18:11:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:11:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:11:24 ./bin/test-attribution-txt.sh [Pipeline] echo 18:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:11:24 $ docker stop --time=1 8ce2e18ff4f2cc40298ab1a014d2e87d883b897c28d8684df24c2ae81876de82 18:11:26 $ docker rm -f --volumes 8ce2e18ff4f2cc40298ab1a014d2e87d883b897c28d8684df24c2ae81876de82 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:11:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:28 + ls -al . 18:11:28 total 184 18:11:28 drwxrwxr-x 7 jenkins jenkins 4096 Nov 13 18:10 . 18:11:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 18:09 .. 18:11:28 -rw-rw-r-- 1 jenkins jenkins 119 Nov 13 18:09 .dockerignore 18:11:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 18:11 .git 18:11:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 18:09 .github 18:11:28 -rw-rw-r-- 1 jenkins jenkins 106 Nov 13 18:09 .gitignore 18:11:28 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 18:09 .golangci.yml 18:11:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 18:09 .semver 18:11:28 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 13 18:09 Attribution.txt 18:11:28 -rw-rw-r-- 1 jenkins jenkins 37263 Nov 13 18:09 CHANGELOG.md 18:11:28 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 13 18:09 Dockerfile 18:11:28 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 18:09 GOVERNANCE.md 18:11:28 -rw-rw-r-- 1 jenkins jenkins 666 Nov 13 18:09 Jenkinsfile 18:11:28 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 13 18:09 LICENSE 18:11:28 -rw-rw-r-- 1 jenkins jenkins 618 Nov 13 18:09 OWNERS.md 18:11:28 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 13 18:09 README.md 18:11:28 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 18:09 VERSION 18:11:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 18:09 bin 18:11:28 -rw-r--r-- 1 jenkins jenkins 13 Nov 13 18:10 coverage.out 18:11:28 -rw-rw-r-- 1 jenkins jenkins 3684 Nov 13 18:09 go.mod 18:11:28 -rw-rw-r-- 1 jenkins jenkins 34823 Nov 13 18:09 go.sum 18:11:28 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 13 18:09 main.go 18:11:28 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 13 18:09 makefile 18:11:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 18:09 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:28 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fa8438de5e07b3fdd7b0b93173e3acd4ea067266 --label arch=amd64 --label version=0.0.0 . 18:11:28 Sending build context to Docker daemon 3.379MB 18:11:28 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:11:28 Step 2/26 : FROM ${BASE} AS builder 18:11:28 ---> 36e073a37e66 18:11:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:11:28 ---> Running in 4f22525857a2 18:11:28 Removing intermediate container 4f22525857a2 18:11:28 ---> a653f598c96f 18:11:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:11:28 ---> Running in 773508c367f6 18:11:28 Removing intermediate container 773508c367f6 18:11:28 ---> e1451648efa6 18:11:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:11:29 ---> Running in 64f68c9e6c23 18:11:29 Removing intermediate container 64f68c9e6c23 18:11:29 ---> 2cacd8bd503e 18:11:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:29 ---> Running in ebb044bde22c 18:11:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:11:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:11:29 OK: 264 MiB in 52 packages 18:11:30 Removing intermediate container ebb044bde22c 18:11:30 ---> f603197bdd97 18:11:30 Step 7/26 : WORKDIR /app 18:11:30 ---> Running in 6e7f02008549 18:11:30 Removing intermediate container 6e7f02008549 18:11:30 ---> 44d1c4553053 18:11:30 Step 8/26 : COPY go.mod vendor* ./ 18:11:30 ---> 4c69443be8e9 18:11:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:30 ---> Running in 137d822136ca 18:11:31 Removing intermediate container 137d822136ca 18:11:31 ---> 364929f4f683 18:11:31 Step 10/26 : COPY . . 18:11:31 ---> bbeae606171f 18:11:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:11:31 ---> Running in 93691d7103c1 18:11:31 Removing intermediate container 93691d7103c1 18:11:31 ---> e2451fe095cd 18:11:31 Step 12/26 : RUN $MAKE 18:11:31 ---> Running in 53dcb0d1f77c 18:11:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:11:53 Removing intermediate container 53dcb0d1f77c 18:11:53 ---> 7172a718ffa3 18:11:53 Step 13/26 : FROM alpine:3.18 18:11:53 3.18: Pulling from library/alpine 18:11:53 96526aa774ef: Pulling fs layer 18:11:54 96526aa774ef: Verifying Checksum 18:11:54 96526aa774ef: Download complete 18:11:54 96526aa774ef: Pull complete 18:11:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:11:54 Status: Downloaded newer image for alpine:3.18 18:11:54 ---> 8ca4688f4f35 18:11:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:11:54 ---> Running in ccd5c69969aa 18:11:54 Removing intermediate container ccd5c69969aa 18:11:54 ---> 4e62ac9b36f2 18:11:54 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:11:54 ---> Running in 2f47726e74cd 18:11:54 Removing intermediate container 2f47726e74cd 18:11:54 ---> 02dc35643703 18:11:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:11:54 ---> Running in 2b20cdbf52fa 18:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:11:55 (1/2) Installing ca-certificates (20230506-r0) 18:11:55 (2/2) Installing dumb-init (1.2.5-r2) 18:11:55 Executing busybox-1.36.1-r2.trigger 18:11:55 Executing ca-certificates-20230506-r0.trigger 18:11:55 OK: 8 MiB in 17 packages 18:11:55 Removing intermediate container 2b20cdbf52fa 18:11:55 ---> ee99793dcd5a 18:11:55 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:11:55 ---> 590ac85b3184 18:11:55 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:11:56 ---> aebea868d932 18:11:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:11:56 ---> 8d1042df50ff 18:11:56 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:11:57 ---> ce1e300c00fb 18:11:57 Step 21/26 : EXPOSE 48095 18:11:57 ---> Running in b9ff3d47fa94 18:11:57 Removing intermediate container b9ff3d47fa94 18:11:57 ---> 05ebfd81ed08 18:11:57 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:11:57 ---> Running in fa99002536c1 18:11:57 Removing intermediate container fa99002536c1 18:11:57 ---> 50dfdfccf264 18:11:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:11:57 ---> Running in 58736919c9ba 18:11:57 Removing intermediate container 58736919c9ba 18:11:57 ---> 78a152e99e9a 18:11:57 Step 24/26 : LABEL arch=amd64 18:11:57 ---> Running in 526e20ccaa94 18:11:57 Removing intermediate container 526e20ccaa94 18:11:57 ---> a6244a3244f6 18:11:57 Step 25/26 : LABEL git_sha=fa8438de5e07b3fdd7b0b93173e3acd4ea067266 18:11:57 ---> Running in 1ea4228767ea 18:11:57 Removing intermediate container 1ea4228767ea 18:11:57 ---> 943c8c1880a7 18:11:57 Step 26/26 : LABEL version=0.0.0 18:11:57 ---> Running in c46fc8b2f627 18:11:57 Removing intermediate container c46fc8b2f627 18:11:57 ---> 9851d4c09b3c 18:11:57 [Warning] One or more build-args [ARCH] were not consumed 18:11:57 Successfully built 9851d4c09b3c 18:11:57 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:58 18:11:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:59 latest: Pulling from edgex-lftools-log-publisher 18:11:59 5eb5b503b376: Pulling fs layer 18:11:59 5c69ac0246d0: Pulling fs layer 18:11:59 ec43610c2a17: Pulling fs layer 18:11:59 3a2ae6a8a46f: Pulling fs layer 18:11:59 33b1e0a273af: Pulling fs layer 18:11:59 5d3b04190fa2: Pulling fs layer 18:11:59 2f39f015ded8: Pulling fs layer 18:11:59 3a2ae6a8a46f: Waiting 18:11:59 33b1e0a273af: Waiting 18:11:59 5d3b04190fa2: Waiting 18:11:59 5c69ac0246d0: Verifying Checksum 18:11:59 5c69ac0246d0: Download complete 18:11:59 3a2ae6a8a46f: Verifying Checksum 18:11:59 3a2ae6a8a46f: Download complete 18:11:59 33b1e0a273af: Verifying Checksum 18:11:59 33b1e0a273af: Download complete 18:11:59 5d3b04190fa2: Verifying Checksum 18:11:59 5d3b04190fa2: Download complete 18:11:59 ec43610c2a17: Verifying Checksum 18:11:59 ec43610c2a17: Download complete 18:11:59 5eb5b503b376: Verifying Checksum 18:11:59 5eb5b503b376: Download complete 18:12:00 2f39f015ded8: Download complete 18:12:00 5eb5b503b376: Pull complete 18:12:00 5c69ac0246d0: Pull complete 18:12:01 ec43610c2a17: Pull complete 18:12:01 3a2ae6a8a46f: Pull complete 18:12:01 33b1e0a273af: Pull complete 18:12:01 5d3b04190fa2: Pull complete 18:12:05 2f39f015ded8: Pull complete 18:12:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:12:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:06 prd-ubuntu20.04-docker-8c-8g-17362 does not seem to be running inside a container 18:12:06 $ 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/_app-service-configurable_PR-622 -v /w/workspace/_app-service-configurable_PR-622:/w/workspace/_app-service-configurable_PR-622:rw,z -v /w/workspace/_app-service-configurable_PR-622@tmp:/w/workspace/_app-service-configurable_PR-622@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-lftools-log-publisher:latest cat 18:12:12 $ docker top 768493579fb2a9f48f8cb6535e2bdfbc4fc550331698e5c090a0f7fdb5bb2baf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:12:13 ---> job-cost.sh 18:12:13 lf-activate-venv: SKIPPING 18:12:13 INFO: No Stack... 18:12:13 INFO: Retrieving Pricing Info for: v3-standard-8 18:12:14 INFO: Archiving Costs [Pipeline] sh 18:12:14 + cat /w/workspace/_app-service-configurable_PR-622/archives/cost.csv 18:12:14 + cut -d, -f6 [Pipeline] lock 18:12:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] 18:12:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] did not exist. Created. 18:12:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:12:14 + echo total: 0.2199999988079071 [Pipeline] stash 18:12:14 Stashed 1 file(s) [Pipeline] } 18:12:14 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:12:15 $ docker stop --time=1 768493579fb2a9f48f8cb6535e2bdfbc4fc550331698e5c090a0f7fdb5bb2baf 18:12:16 $ docker rm -f --volumes 768493579fb2a9f48f8cb6535e2bdfbc4fc550331698e5c090a0f7fdb5bb2baf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:13:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17364 in /w/workspace/_app-service-configurable_PR-622 [Pipeline] { [Pipeline] ws 18:13:03 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:13:03 Selected Git installation does not exist. Using Default 18:13:03 The recommended git tool is: NONE 18:13:08 using credential edgex-jenkins-ssh 18:13:08 Cloning the remote Git repository 18:13:08 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:13:08 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:13:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:13:08 > git --version # timeout=10 18:13:08 > git --version # 'git version 2.25.1' 18:13:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:13:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:11 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:13:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:13:11 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/622/head:refs/remotes/origin/PR-622 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:13:12 Merging remotes/origin/main commit 42cf7a9d8527f7ddc9b3597bc626304eb0fad692 into PR head commit fa8438de5e07b3fdd7b0b93173e3acd4ea067266 18:13:12 Merge succeeded, producing fa8438de5e07b3fdd7b0b93173e3acd4ea067266 18:13:12 Checking out Revision fa8438de5e07b3fdd7b0b93173e3acd4ea067266 (PR-622) 18:13:12 > git config core.sparsecheckout # timeout=10 18:13:12 > git checkout -f fa8438de5e07b3fdd7b0b93173e3acd4ea067266 # timeout=10 18:13:12 > git remote # timeout=10 18:13:12 > git config --get remote.origin.url # timeout=10 18:13:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:12 > git merge 42cf7a9d8527f7ddc9b3597bc626304eb0fad692 # timeout=10 18:13:12 > git rev-parse HEAD^{commit} # timeout=10 18:13:12 > git config core.sparsecheckout # timeout=10 18:13:12 > git checkout -f fa8438de5e07b3fdd7b0b93173e3acd4ea067266 # timeout=10 18:13:15 Commit message: "docs: Update chengelog for release 3.1" 18:13:15 > git --version # timeout=10 18:13:15 > git --version # 'git version 2.25.1' 18:13:15 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:13:17 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:17 Dload Upload Total Spent Left Speed 18:13:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 233k [Pipeline] sh 18:13:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:13:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:13:18 + sudo tee /etc/docker/daemon.new 18:13:18 { 18:13:18 "registry-mirrors": [ 18:13:18 "https://nexus3.edgexfoundry.org:10001" 18:13:18 ], 18:13:18 "bip": "10.250.0.254/24", 18:13:18 "hosts": [ 18:13:18 "tcp://0.0.0.0:5555", 18:13:18 "unix:///var/run/docker.sock" 18:13:18 ], 18:13:18 "mtu": 1458, 18:13:18 "selinux-enabled": true, 18:13:18 "seccomp-profile": "/etc/docker/seccomp.json" 18:13:18 } [Pipeline] sh 18:13:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:13:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:37 provisioning config files... 18:13:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15680184236972285204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:37 ---> docker-login.sh 18:13:37 nexus3.edgexfoundry.org:10001 18:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:38 Configure a credential helper to remove this warning. See 18:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:38 18:13:38 Login Succeeded 18:13:38 nexus3.edgexfoundry.org:10002 18:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:38 Configure a credential helper to remove this warning. See 18:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:38 18:13:38 Login Succeeded 18:13:38 nexus3.edgexfoundry.org:10003 18:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:38 Configure a credential helper to remove this warning. See 18:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:38 18:13:38 Login Succeeded 18:13:38 nexus3.edgexfoundry.org:10004 18:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:39 Configure a credential helper to remove this warning. See 18:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:39 18:13:39 Login Succeeded 18:13:39 docker.io 18:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:39 Configure a credential helper to remove this warning. See 18:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:39 18:13:39 Login Succeeded 18:13:39 ---> docker-login.sh ends [Pipeline] } 18:13:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:13:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:13:40 ========================================================= 18:13:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:13:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:40 + 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 . 18:13:43 Sending build context to Docker daemon 159.7kB 18:13:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:13:43 Step 2/12 : FROM ${BASE} AS builder 18:13:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:13:43 9fda8d8052c6: Pulling fs layer 18:13:43 5d54e960e981: Pulling fs layer 18:13:43 c4a7e357bf2a: Pulling fs layer 18:13:43 f0e02332f6b5: Pulling fs layer 18:13:43 cefa15bbcfad: Pulling fs layer 18:13:43 17808c966233: Pulling fs layer 18:13:43 f4c1fc716caa: Pulling fs layer 18:13:43 cefa15bbcfad: Waiting 18:13:43 17808c966233: Waiting 18:13:43 f4c1fc716caa: Waiting 18:13:43 f0e02332f6b5: Waiting 18:13:43 5d54e960e981: Verifying Checksum 18:13:43 5d54e960e981: Download complete 18:13:43 f0e02332f6b5: Verifying Checksum 18:13:43 f0e02332f6b5: Download complete 18:13:43 cefa15bbcfad: Verifying Checksum 18:13:43 cefa15bbcfad: Download complete 18:13:44 9fda8d8052c6: Download complete 18:13:44 f4c1fc716caa: Verifying Checksum 18:13:44 f4c1fc716caa: Download complete 18:13:45 9fda8d8052c6: Pull complete 18:13:45 5d54e960e981: Pull complete 18:13:45 c4a7e357bf2a: Verifying Checksum 18:13:45 c4a7e357bf2a: Download complete 18:13:46 17808c966233: Verifying Checksum 18:13:59 c4a7e357bf2a: Pull complete 18:13:59 f0e02332f6b5: Pull complete 18:13:59 cefa15bbcfad: Pull complete 18:14:14 17808c966233: Pull complete 18:14:14 f4c1fc716caa: Pull complete 18:14:14 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:14:14 ---> ea914061e18c 18:14:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:14:14 ---> Running in 3c5557c48f4c 18:14:14 Removing intermediate container 3c5557c48f4c 18:14:14 ---> 4c659a275d5f 18:14:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:14:14 ---> Running in eb200cb76b58 18:14:15 Removing intermediate container eb200cb76b58 18:14:15 ---> ae4bec50aa98 18:14:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:14:15 ---> Running in a1576a90d27b 18:14:15 Removing intermediate container a1576a90d27b 18:14:15 ---> 9bc484fd7ba1 18:14:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:15 ---> Running in 1fa91d45615d 18:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:14:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:14:18 OK: 266 MiB in 52 packages 18:14:19 Removing intermediate container 1fa91d45615d 18:14:19 ---> 9e3a2e13a21b 18:14:19 Step 7/12 : WORKDIR /app 18:14:19 ---> Running in b6f82242fee7 18:14:19 Removing intermediate container b6f82242fee7 18:14:19 ---> fe0c5ed00f12 18:14:19 Step 8/12 : COPY go.mod vendor* ./ 18:14:20 ---> 94a6afe0ae7a 18:14:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:20 ---> Running in 0b42ec187d36 18:15:42 Removing intermediate container 0b42ec187d36 18:15:42 ---> 056944a2063c 18:15:42 Step 10/12 : COPY . . 18:15:42 ---> e58da0b604ba 18:15:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:15:42 ---> Running in bad2595d1aac 18:15:42 Removing intermediate container bad2595d1aac 18:15:42 ---> 175056e734e8 18:15:42 Step 12/12 : RUN $MAKE 18:15:42 ---> Running in 6f91f0013ce8 18:15:42 noop 18:15:42 Removing intermediate container 6f91f0013ce8 18:15:42 ---> 81a40f2aed8a 18:15:42 Successfully built 81a40f2aed8a 18:15:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:43 + docker inspect -f . ci-base-image-arm64 18:15:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-17364 does not seem to be running inside a container 18:15:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:15:45 $ docker top 160058c5e6565ad0d088a821e46f7279514bd242d78eb16d0560df8101dba168 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:45 + go version 18:15:45 go version go1.21.0 linux/arm64 [Pipeline] } 18:15:45 $ docker stop --time=1 160058c5e6565ad0d088a821e46f7279514bd242d78eb16d0560df8101dba168 18:15:49 $ docker rm -f --volumes 160058c5e6565ad0d088a821e46f7279514bd242d78eb16d0560df8101dba168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:50 + docker inspect -f . ci-base-image-arm64 18:15:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:50 prd-ubuntu20.04-docker-arm64-4c-16g-17364 does not seem to be running inside a container 18:15:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:15:51 $ docker top 9c84141a60d385b15c9c93ffaa2f386609269af0d8093de4d71c7d0464d6e1f6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:15:52 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:15:53 + make test 18:15:53 go test -race -coverprofile=coverage.out ./... 18:18:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:18:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:18:15 go vet ./... 18:20:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:20:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:20:07 ./bin/test-attribution-txt.sh [Pipeline] echo 18:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:20:07 $ docker stop --time=1 9c84141a60d385b15c9c93ffaa2f386609269af0d8093de4d71c7d0464d6e1f6 18:20:11 $ docker rm -f --volumes 9c84141a60d385b15c9c93ffaa2f386609269af0d8093de4d71c7d0464d6e1f6 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:20:13 Warning: overwriting stash ‘coverage-report’ 18:20:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:14 + ls -al . 18:20:14 total 180 18:20:14 drwxrwxr-x 6 jenkins jenkins 4096 Nov 13 18:15 . 18:20:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 18:13 .. 18:20:14 -rw-rw-r-- 1 jenkins jenkins 119 Nov 13 18:13 .dockerignore 18:20:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 18:13 .git 18:20:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 18:13 .github 18:20:14 -rw-rw-r-- 1 jenkins jenkins 106 Nov 13 18:13 .gitignore 18:20:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 18:13 .golangci.yml 18:20:14 -rw-rw-r-- 1 jenkins jenkins 10394 Nov 13 18:13 Attribution.txt 18:20:14 -rw-rw-r-- 1 jenkins jenkins 37263 Nov 13 18:13 CHANGELOG.md 18:20:14 -rw-rw-r-- 1 jenkins jenkins 1898 Nov 13 18:13 Dockerfile 18:20:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 18:13 GOVERNANCE.md 18:20:14 -rw-rw-r-- 1 jenkins jenkins 666 Nov 13 18:13 Jenkinsfile 18:20:14 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 13 18:13 LICENSE 18:20:14 -rw-rw-r-- 1 jenkins jenkins 618 Nov 13 18:13 OWNERS.md 18:20:14 -rw-rw-r-- 1 jenkins jenkins 4582 Nov 13 18:13 README.md 18:20:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 18:09 VERSION 18:20:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 18:13 bin 18:20:14 -rw-r--r-- 1 jenkins jenkins 13 Nov 13 18:15 coverage.out 18:20:14 -rw-rw-r-- 1 jenkins jenkins 3684 Nov 13 18:13 go.mod 18:20:14 -rw-rw-r-- 1 jenkins jenkins 34823 Nov 13 18:13 go.sum 18:20:14 -rw-rw-r-- 1 jenkins jenkins 1937 Nov 13 18:13 main.go 18:20:14 -rw-rw-r-- 1 jenkins jenkins 2569 Nov 13 18:13 makefile 18:20:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 18:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:15 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fa8438de5e07b3fdd7b0b93173e3acd4ea067266 --label arch=arm64 --label version=0.0.0 . 18:20:15 Sending build context to Docker daemon 160.8kB 18:20:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:20:15 Step 2/26 : FROM ${BASE} AS builder 18:20:15 ---> 81a40f2aed8a 18:20:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:20:15 ---> Running in 9be63aaa5998 18:20:16 Removing intermediate container 9be63aaa5998 18:20:16 ---> 58191600e999 18:20:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:20:16 ---> Running in ab6d92f3fdf5 18:20:16 Removing intermediate container ab6d92f3fdf5 18:20:16 ---> f39752ebc772 18:20:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:20:16 ---> Running in 994733eeb6dc 18:20:16 Removing intermediate container 994733eeb6dc 18:20:16 ---> d88930cc135e 18:20:16 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:16 ---> Running in fef7ebbe3537 18:20:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:20:19 OK: 266 MiB in 52 packages 18:20:20 Removing intermediate container fef7ebbe3537 18:20:20 ---> ba0429c85e86 18:20:20 Step 7/26 : WORKDIR /app 18:20:20 ---> Running in cc9e06847354 18:20:20 Removing intermediate container cc9e06847354 18:20:20 ---> f3239a0c1972 18:20:20 Step 8/26 : COPY go.mod vendor* ./ 18:20:21 ---> 66f635f00e3c 18:20:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:21 ---> Running in 75f5858e392d 18:20:25 Removing intermediate container 75f5858e392d 18:20:25 ---> 720f8a71a906 18:20:25 Step 10/26 : COPY . . 18:20:26 ---> b66a8a72125d 18:20:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:20:26 ---> Running in 04a05a091367 18:20:26 Removing intermediate container 04a05a091367 18:20:26 ---> c97b222c8e8c 18:20:26 Step 12/26 : RUN $MAKE 18:20:26 ---> Running in 08b577e33d48 18:20:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:22:19 Removing intermediate container 08b577e33d48 18:22:19 ---> 03bcc49a6e13 18:22:19 Step 13/26 : FROM alpine:3.18 18:22:19 3.18: Pulling from library/alpine 18:22:19 579b34f0a95b: Pulling fs layer 18:22:19 579b34f0a95b: Verifying Checksum 18:22:19 579b34f0a95b: Download complete 18:22:20 579b34f0a95b: Pull complete 18:22:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:22:20 Status: Downloaded newer image for alpine:3.18 18:22:20 ---> 3cc203321400 18:22:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:22:20 ---> Running in fade08f25e24 18:22:20 Removing intermediate container fade08f25e24 18:22:20 ---> 7cd8db512caf 18:22:20 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:22:20 ---> Running in 7e9367c42504 18:22:20 Removing intermediate container 7e9367c42504 18:22:20 ---> c37bac591b91 18:22:20 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:22:20 ---> Running in 3090cd1776f5 18:22:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:22:23 (1/2) Installing ca-certificates (20230506-r0) 18:22:23 (2/2) Installing dumb-init (1.2.5-r2) 18:22:23 Executing busybox-1.36.1-r2.trigger 18:22:23 Executing ca-certificates-20230506-r0.trigger 18:22:23 OK: 9 MiB in 17 packages 18:22:25 Removing intermediate container 3090cd1776f5 18:22:25 ---> 70e91c06194d 18:22:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:22:25 ---> 53d888d4d742 18:22:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:22:25 ---> f8f7e6a2a1e8 18:22:25 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:22:26 ---> 4b947589b751 18:22:26 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:22:27 ---> f22677598bb8 18:22:27 Step 21/26 : EXPOSE 48095 18:22:27 ---> Running in 6ef7a25e4f41 18:22:28 Removing intermediate container 6ef7a25e4f41 18:22:28 ---> 8a733037a360 18:22:28 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:22:28 ---> Running in e92b474044a4 18:22:28 Removing intermediate container e92b474044a4 18:22:28 ---> 55d0516c689e 18:22:28 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:22:28 ---> Running in 92a8621a2ac4 18:22:29 Removing intermediate container 92a8621a2ac4 18:22:29 ---> 1a912f581b1f 18:22:29 Step 24/26 : LABEL arch=arm64 18:22:29 ---> Running in 849ace1788a5 18:22:29 Removing intermediate container 849ace1788a5 18:22:29 ---> a3f23370493e 18:22:29 Step 25/26 : LABEL git_sha=fa8438de5e07b3fdd7b0b93173e3acd4ea067266 18:22:29 ---> Running in 53a4a7696f37 18:22:29 Removing intermediate container 53a4a7696f37 18:22:29 ---> 52afb01d1527 18:22:29 Step 26/26 : LABEL version=0.0.0 18:22:29 ---> Running in 7bba93341192 18:22:30 Removing intermediate container 7bba93341192 18:22:30 ---> e3bf0877282d 18:22:30 [Warning] One or more build-args [ARCH] were not consumed 18:22:30 Successfully built e3bf0877282d 18:22:30 Successfully tagged app-service-configurable-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 18:22:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:22:30 18:22:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:22:33 arm64: Pulling from edgex-lftools-log-publisher 18:22:33 8998bd30e6a1: Pulling fs layer 18:22:33 04944245beec: Pulling fs layer 18:22:33 699f458cf7ca: Pulling fs layer 18:22:33 765212b225bb: Pulling fs layer 18:22:33 f23df028b6ca: Pulling fs layer 18:22:33 d65c8cfc05b1: Pulling fs layer 18:22:33 2437ff75d9bd: Pulling fs layer 18:22:33 f23df028b6ca: Waiting 18:22:33 d65c8cfc05b1: Waiting 18:22:33 2437ff75d9bd: Waiting 18:22:33 765212b225bb: Waiting 18:22:33 04944245beec: Verifying Checksum 18:22:33 04944245beec: Download complete 18:22:33 765212b225bb: Verifying Checksum 18:22:33 765212b225bb: Download complete 18:22:33 f23df028b6ca: Verifying Checksum 18:22:33 f23df028b6ca: Download complete 18:22:33 d65c8cfc05b1: Verifying Checksum 18:22:33 d65c8cfc05b1: Download complete 18:22:33 699f458cf7ca: Verifying Checksum 18:22:33 699f458cf7ca: Download complete 18:22:34 8998bd30e6a1: Verifying Checksum 18:22:34 8998bd30e6a1: Download complete 18:22:37 2437ff75d9bd: Verifying Checksum 18:22:37 2437ff75d9bd: Download complete 18:22:38 8998bd30e6a1: Pull complete 18:22:39 04944245beec: Pull complete 18:22:41 699f458cf7ca: Pull complete 18:22:41 765212b225bb: Pull complete 18:22:42 f23df028b6ca: Pull complete 18:22:42 d65c8cfc05b1: Pull complete 18:23:00 2437ff75d9bd: Pull complete 18:23:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:00 prd-ubuntu20.04-docker-arm64-4c-16g-17364 does not seem to be running inside a container 18:23:00 $ 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/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:23:04 $ docker top e3a276cc8ff3ad12e664dd2d79a3bca62ba6a69a19f7ebfc4fb6260ddb67cdd8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:05 ---> job-cost.sh 18:23:05 lf-activate-venv: SKIPPING 18:23:05 INFO: No Stack... 18:23:06 INFO: Retrieving Pricing Info for: v3-standard-4 18:23:06 INFO: Archiving Costs [Pipeline] sh 18:23:07 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 18:23:07 + cut -d, -f6 [Pipeline] lock 18:23:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] 18:23:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] did not exist. Created. 18:23:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:23:07 /w/workspace/app-service-configurable/1@tmp/durable-8694e9e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:23:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:23:07 Warning: overwriting stash ‘stack-cost’ 18:23:07 Stashed 1 file(s) [Pipeline] } 18:23:08 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-622-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:23:08 $ docker stop --time=1 e3a276cc8ff3ad12e664dd2d79a3bca62ba6a69a19f7ebfc4fb6260ddb67cdd8 18:23:09 $ docker rm -f --volumes e3a276cc8ff3ad12e664dd2d79a3bca62ba6a69a19f7ebfc4fb6260ddb67cdd8 [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 18:23:10 provisioning config files... 18:23:10 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-622@tmp/config13185653581554517288tmp [Pipeline] { [Pipeline] sh 18:23:10 + set +x 18:23:10 + + curlbash -s -s https://codecov.io/bash -- 18:23:10 18:23:10 18:23:10 _____ _ 18:23:10 / ____| | | 18:23:10 | | ___ __| | ___ ___ _____ __ 18:23:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:23:10 | |___| (_) | (_| | __/ (_| (_) \ V / 18:23:10 \_____\___/ \__,_|\___|\___\___/ \_/ 18:23:10 Bash-1.0.6 18:23:10 18:23:10 18:23:10 ==> git version 2.25.1 found 18:23:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:23:10 Release-Date: 2020-01-08 18:23:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:23:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:23:10 ==> Jenkins CI detected. 18:23:10 current dir:  /w/workspace/_app-service-configurable_PR-622 18:23:10 project root: . 18:23:10 --> token set from env 18:23:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:23:10 ==> Running gcov in . (disable via -X gcov) 18:23:10 ==> Python coveragepy not found 18:23:10 ==> Searching for coverage reports in: 18:23:10 + . 18:23:10 -> Found 1 reports 18:23:10 ==> Detecting git/mercurial file structure 18:23:10 ==> Reading reports 18:23:10 + ./coverage.out bytes=13 18:23:10 ==> Appending adjustments 18:23:10 https://docs.codecov.io/docs/fixing-reports 18:23:10 + Found adjustments 18:23:10 ==> Gzipping contents 18:23:10 4.0K /tmp/codecov.nJEfOs.gz 18:23:10 ==> Uploading reports 18:23:10 url: https://codecov.io 18:23:10 query: branch=PR-622&commit=fa8438de5e07b3fdd7b0b93173e3acd4ea067266&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-622%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=622&job=&cmd_args= 18:23:10 -> Pinging Codecov 18:23:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-622&commit=fa8438de5e07b3fdd7b0b93173e3acd4ea067266&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-622%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=622&job=&cmd_args= 18:23:11 -> Uploading to 18:23:11 https://storage.googleapis.com/codecov/v4/raw/2023-11-13/A97CA9966030D2A3747ED39772930CCE/fa8438de5e07b3fdd7b0b93173e3acd4ea067266/54cbd122-7144-4570-b6c8-088b67e44b0a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231113T182311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=756f57db1d8f52ec72aef65cb2a624f74fdc5aed05fae6ac609acc03405f62d9 18:23:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:11 Dload Upload Total Spent Left Speed 18:23:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 936 --:--:-- --:--:-- --:--:-- 936 18:23:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/fa8438de5e07b3fdd7b0b93173e3acd4ea067266 [Pipeline] } 18:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:23:13 + [ -d /w/workspace/_app-service-configurable_PR-622/archives ] 18:23:13 + ls -al /w/workspace/_app-service-configurable_PR-622/archives 18:23:13 total 16 18:23:13 drwxr-xr-x 3 root root 4096 Nov 13 18:12 . 18:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 18:12 .. 18:23:13 drwxr-xr-x 2 root root 4096 Nov 13 18:12 cost 18:23:13 -rw-r--r-- 1 root root 96 Nov 13 18:12 cost.csv 18:23:13 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-622/archives 18:23:13 + ls -al /w/workspace/_app-service-configurable_PR-622/archives 18:23:13 total 16 18:23:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 18:12 . 18:23:13 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 18:12 .. 18:23:13 drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 18:12 cost 18:23:13 -rw-r--r-- 1 jenkins jenkins 96 Nov 13 18:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:23:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:23:14 ---> package-listing.sh 18:23:14 ++ facter osfamily 18:23:14 ++ tr '[:upper:]' '[:lower:]' 18:23:14 + OS_FAMILY=debian 18:23:14 + workspace=/w/workspace/_app-service-configurable_PR-622 18:23:14 + START_PACKAGES=/tmp/packages_start.txt 18:23:14 + END_PACKAGES=/tmp/packages_end.txt 18:23:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:23:14 + PACKAGES=/tmp/packages_start.txt 18:23:14 + '[' /w/workspace/_app-service-configurable_PR-622 ']' 18:23:14 + PACKAGES=/tmp/packages_end.txt 18:23:14 + case "${OS_FAMILY}" in 18:23:14 + dpkg -l 18:23:14 + grep '^ii' 18:23:14 + '[' -f /tmp/packages_start.txt ']' 18:23:14 + '[' -f /tmp/packages_end.txt ']' 18:23:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:23:14 + '[' /w/workspace/_app-service-configurable_PR-622 ']' 18:23:14 + mkdir -p /w/workspace/_app-service-configurable_PR-622/archives/ 18:23:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-622/archives/ [Pipeline] echo 18:23:14 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/_app-service-configurable_PR-622/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:23:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:23:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:15 prd-ubuntu20.04-docker-8c-8g-17362 does not seem to be running inside a container 18:23:15 $ 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/_app-service-configurable_PR-622/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-622 -v /w/workspace/_app-service-configurable_PR-622:/w/workspace/_app-service-configurable_PR-622:rw,z -v /w/workspace/_app-service-configurable_PR-622@tmp:/w/workspace/_app-service-configurable_PR-622@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:23:16 $ docker top 073b6dc20a24948e5125a2631bdcc082ab22a9890d7c32ad81bb532936d78eff -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:16 + touch /tmp/pre-build-complete [Pipeline] sh 18:23:16 + mkdir -p /var/log/sysstat [Pipeline] sh 18:23:17 + ls /var/log/sa-host 18:23:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:17 provisioning config files... 18:23:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-622@tmp/config7273761837602901116tmp [Pipeline] { [Pipeline] echo 18:23:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:23:17 ---> create-netrc.sh [Pipeline] } 18:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:23:18 ---> python-tools-install.sh [Pipeline] echo 18:23:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:23:18 ---> sudo-logs.sh 18:23:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:23:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:23:18 ---> job-cost.sh 18:23:18 lf-activate-venv: SKIPPING 18:23:18 DEBUG: total: 0.2199999988079071 18:23:18 INFO: Retrieving Stack Cost... 18:23:19 INFO: Retrieving Pricing Info for: v3-standard-8 18:23:19 INFO: Archiving Costs [Pipeline] echo 18:23:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:23:20 ---> logs-deploy.sh 18:23:20 lf-activate-venv: SKIPPING 18:23:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-622/1 18:23:20 INFO: archiving workspace using pattern(s): 18:23:20 Archives upload complete. 18:23:20 INFO: archiving logs to Nexus