Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 64f82e933683e29c662cfdfed835d2baed16cd25 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-ssh7868523582642401828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6083986001615864900.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh891107558323298708.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11561507914065818713.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7110853490051366977.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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 Running on prd-ubuntu20.04-docker-8c-8g-15902 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 64f82e933683e29c662cfdfed835d2baed16cd25 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#365)" > git config core.sparsecheckout # timeout=10 > git checkout -f 64f82e933683e29c662cfdfed835d2baed16cd25 # timeout=10 > git rev-list --no-walk 0b14d5e504f249c58ecc48c4561c8cfe9de68532 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:51:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:51:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:51:18 ========================================================= 17:51:18 EdgeX Global Pipelines Version Info 17:51:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:51:19 ------------------- 17:51:19 stable info: 17:51:19 ------------------- 17:51:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:51:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:51:19 Message: update stable to v1.0.249 17:51:19 ------------------- 17:51:19 experimental info: 17:51:19 ------------------- 17:51:19 Commited By: **** collab-it+edgex@linuxfoundation.org 17:51:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 17:51:19 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:51:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64f82e9 [Pipeline] echo 17:51:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:51:20 provisioning config files... 17:51:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10441436296608827253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:20 ---> docker-login.sh 17:51:20 nexus3.edgexfoundry.org:10001 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 nexus3.edgexfoundry.org:10002 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 nexus3.edgexfoundry.org:10003 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 nexus3.edgexfoundry.org:10004 17:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:21 Configure a credential helper to remove this warning. See 17:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:21 17:51:21 Login Succeeded 17:51:21 docker.io 17:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:22 Configure a credential helper to remove this warning. See 17:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:22 17:51:22 Login Succeeded 17:51:22 ---> docker-login.sh ends [Pipeline] } 17:51:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:51:22 + git rev-list -1 --merges 64f82e933683e29c662cfdfed835d2baed16cd25~1..64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] echo 17:51:22 -----------> git rev-list -1 --merges 64f82e933683e29c662cfdfed835d2baed16cd25~1..64f82e933683e29c662cfdfed835d2baed16cd25 64f82e933683e29c662cfdfed835d2baed16cd25 [false] [Pipeline] sh 17:51:22 + git log --format=format:%s -1 64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] echo 17:51:22 ========================================================= 17:51:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:51:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:51:23 + git log --format=format:%s -1 64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] echo 17:51:23 [semverPrep] GIT_COMMIT: 64f82e933683e29c662cfdfed835d2baed16cd25, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#365) [Pipeline] echo 17:51:23 [semverPrep] This is not a build commit. [Pipeline] sh 17:51:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:51:23 + grep -v github /etc/ssh/ssh_known_hosts 17:51:23 + [ -e /tmp/ssh_known_hosts ] 17:51:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:51:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:51:23 + sudo tee -a /etc/ssh/ssh_known_hosts 17:51:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:51:24 17:51:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:51:24 0.1.4: Pulling from edgex-devops/py-git-semver 17:51:24 b85a868b505f: Pulling fs layer 17:51:24 e2be974225ed: Pulling fs layer 17:51:24 339a4e72a1f5: Pulling fs layer 17:51:24 988bab9f4d93: Pulling fs layer 17:51:24 1469e6f7b9e6: Pulling fs layer 17:51:24 eaf3925da568: Pulling fs layer 17:51:24 bab4dde63d76: Pulling fs layer 17:51:24 bde34c3a00c8: Pulling fs layer 17:51:24 b352a97aabf1: Pulling fs layer 17:51:24 4872d77fe225: Pulling fs layer 17:51:24 5851b861e8e6: Pulling fs layer 17:51:24 1469e6f7b9e6: Waiting 17:51:24 bde34c3a00c8: Waiting 17:51:24 b352a97aabf1: Waiting 17:51:24 988bab9f4d93: Waiting 17:51:24 eaf3925da568: Waiting 17:51:24 bab4dde63d76: Waiting 17:51:24 5851b861e8e6: Waiting 17:51:24 4872d77fe225: Waiting 17:51:24 e2be974225ed: Verifying Checksum 17:51:24 e2be974225ed: Download complete 17:51:24 988bab9f4d93: Download complete 17:51:24 1469e6f7b9e6: Verifying Checksum 17:51:24 1469e6f7b9e6: Download complete 17:51:24 339a4e72a1f5: Verifying Checksum 17:51:24 339a4e72a1f5: Download complete 17:51:24 eaf3925da568: Verifying Checksum 17:51:24 eaf3925da568: Download complete 17:51:24 bde34c3a00c8: Verifying Checksum 17:51:24 bde34c3a00c8: Download complete 17:51:24 b352a97aabf1: Verifying Checksum 17:51:24 b352a97aabf1: Download complete 17:51:24 4872d77fe225: Download complete 17:51:24 5851b861e8e6: Download complete 17:51:24 b85a868b505f: Verifying Checksum 17:51:24 b85a868b505f: Download complete 17:51:24 bab4dde63d76: Verifying Checksum 17:51:24 bab4dde63d76: Download complete 17:51:25 b85a868b505f: Pull complete 17:51:26 e2be974225ed: Pull complete 17:51:26 339a4e72a1f5: Pull complete 17:51:26 988bab9f4d93: Pull complete 17:51:26 1469e6f7b9e6: Pull complete 17:51:26 eaf3925da568: Pull complete 17:51:28 bab4dde63d76: Pull complete 17:51:28 bde34c3a00c8: Pull complete 17:51:29 b352a97aabf1: Pull complete 17:51:29 4872d77fe225: Pull complete 17:51:29 5851b861e8e6: Pull complete 17:51:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:51:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:51:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:51:29 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 17:51:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:51:32 $ docker top ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 -eo pid,comm 17:51:32 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). 17:51:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:51:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:51:32 [ssh-agent] Looking for ssh-agent implementation... 17:51:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:51:32 $ docker exec ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 ssh-agent 17:51:32 SSH_AUTH_SOCK=/tmp/ssh-yGwGIfmR1YfW/agent.32 17:51:32 SSH_AGENT_PID=38 17:51:32 Running ssh-add (command line suppressed) 17:51:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17491666032402267211.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17491666032402267211.key) 17:51:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:51:32 + git tag --points-at HEAD [Pipeline] } 17:51:32 $ docker exec --env ******** --env ******** ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 ssh-agent -k 17:51:33 unset SSH_AUTH_SOCK; 17:51:33 unset SSH_AGENT_PID; 17:51:33 echo Agent pid 38 killed; 17:51:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:51:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:51:33 [ssh-agent] Looking for ssh-agent implementation... 17:51:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:51:33 $ docker exec ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 ssh-agent 17:51:33 SSH_AUTH_SOCK=/tmp/ssh-baFqwWmDtIyX/agent.70 17:51:33 SSH_AGENT_PID=76 17:51:33 Running ssh-add (command line suppressed) 17:51:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4412367148518460579.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4412367148518460579.key) 17:51:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:51:33 + git semver init 17:51:34 2023-05-17 17:51:33,983 [run_init] DEBUG init version:0.0.0 force:False 17:51:34 2023-05-17 17:51:33,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:51:34 2023-05-17 17:51:33,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:51:34 2023-05-17 17:51:33,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:51:35 2023-05-17 17:51:35,000 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:51:35 2023-05-17 17:51:35,001 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:51:35 2023-05-17 17:51:35,001 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:51:35 2023-05-17 17:51:35,001 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:51:35 3.0.0-dev.54 [Pipeline] } 17:51:35 $ docker exec --env ******** --env ******** ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 ssh-agent -k 17:51:35 unset SSH_AUTH_SOCK; 17:51:35 unset SSH_AGENT_PID; 17:51:35 echo Agent pid 76 killed; 17:51:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:51:35 + git semver [Pipeline] } 17:51:35 $ docker stop --time=1 ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 17:51:37 $ docker rm -f --volumes ee512cb69669338ce8e10ab098bbe7827246820e8f233db76760862e252c1a67 [Pipeline] // withDockerContainer [Pipeline] sh 17:51:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:51:37 Stashed 1 file(s) [Pipeline] echo 17:51:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.54 [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 17:51:38 provisioning config files... 17:51:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12172374898319501446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:51:38 ---> docker-login.sh 17:51:38 nexus3.edgexfoundry.org:10001 17:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:38 Configure a credential helper to remove this warning. See 17:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:38 17:51:38 Login Succeeded 17:51:38 nexus3.edgexfoundry.org:10002 17:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:38 Configure a credential helper to remove this warning. See 17:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:38 17:51:38 Login Succeeded 17:51:38 nexus3.edgexfoundry.org:10003 17:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:38 Configure a credential helper to remove this warning. See 17:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:38 17:51:38 Login Succeeded 17:51:38 nexus3.edgexfoundry.org:10004 17:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:38 Configure a credential helper to remove this warning. See 17:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:38 17:51:38 Login Succeeded 17:51:38 docker.io 17:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:51:38 Configure a credential helper to remove this warning. See 17:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:51:38 17:51:38 Login Succeeded 17:51:38 ---> docker-login.sh ends [Pipeline] } 17:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:51:39 ========================================================= 17:51:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:51:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:51:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:51:39 Sending build context to Docker daemon 21.9MB 17:51:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:51:39 Step 2/13 : FROM ${BASE} AS builder 17:51:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:51:39 f56be85fc22e: Pulling fs layer 17:51:39 85791d961cd3: Pulling fs layer 17:51:39 d694b5ae8c79: Pulling fs layer 17:51:39 9f32a84ed3da: Pulling fs layer 17:51:39 4d19c01a9841: Pulling fs layer 17:51:39 9325e15d5711: Pulling fs layer 17:51:39 556b6ee489ea: Pulling fs layer 17:51:39 c5a4b2cf53e6: Pulling fs layer 17:51:39 4d19c01a9841: Waiting 17:51:39 9325e15d5711: Waiting 17:51:39 556b6ee489ea: Waiting 17:51:39 9f32a84ed3da: Waiting 17:51:39 c5a4b2cf53e6: Waiting 17:51:39 85791d961cd3: Verifying Checksum 17:51:39 85791d961cd3: Download complete 17:51:39 9f32a84ed3da: Verifying Checksum 17:51:39 9f32a84ed3da: Download complete 17:51:39 4d19c01a9841: Verifying Checksum 17:51:39 4d19c01a9841: Download complete 17:51:39 f56be85fc22e: Verifying Checksum 17:51:39 f56be85fc22e: Download complete 17:51:39 9325e15d5711: Verifying Checksum 17:51:39 9325e15d5711: Download complete 17:51:39 f56be85fc22e: Pull complete 17:51:39 85791d961cd3: Pull complete 17:51:40 c5a4b2cf53e6: Verifying Checksum 17:51:40 c5a4b2cf53e6: Download complete 17:51:40 d694b5ae8c79: Verifying Checksum 17:51:40 d694b5ae8c79: Download complete 17:51:40 556b6ee489ea: Verifying Checksum 17:51:40 556b6ee489ea: Download complete 17:51:43 d694b5ae8c79: Pull complete 17:51:43 9f32a84ed3da: Pull complete 17:51:43 4d19c01a9841: Pull complete 17:51:43 9325e15d5711: Pull complete 17:51:46 556b6ee489ea: Pull complete 17:51:47 c5a4b2cf53e6: Pull complete 17:51:47 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:51:47 ---> c4be618373d6 17:51:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:51:51 ---> Running in 03d77815d481 17:51:51 Removing intermediate container 03d77815d481 17:51:51 ---> a57a2060f701 17:51:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:51:51 ---> Running in b5e2f1425793 17:51:51 Removing intermediate container b5e2f1425793 17:51:51 ---> 3ff79117e706 17:51:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:51:51 ---> Running in 4dd02af857c2 17:51:51 Removing intermediate container 4dd02af857c2 17:51:51 ---> 7b06df7d1d49 17:51:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:51:51 ---> Running in e9b4d1564f84 17:51:51 Removing intermediate container e9b4d1564f84 17:51:51 ---> fc92d45c6614 17:51:51 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:51:51 ---> Running in a4b480c3df6c 17:51:51 Removing intermediate container a4b480c3df6c 17:51:51 ---> 31fd9c6c178b 17:51:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:51 ---> Running in b1c9db75d918 17:51:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:51:52 OK: 265 MiB in 53 packages 17:51:52 Removing intermediate container b1c9db75d918 17:51:52 ---> bc2ba654da81 17:51:52 Step 9/13 : WORKDIR /device-onvif-camera 17:51:52 ---> Running in d4fa1c15feae 17:51:52 Removing intermediate container d4fa1c15feae 17:51:52 ---> bd6a63caf749 17:51:52 Step 10/13 : COPY go.mod vendor* ./ 17:51:52 ---> 665c8db34979 17:51:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:52 ---> Running in 02386dd1106e 17:51:53 Still waiting to schedule task 17:51:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:52:19 Removing intermediate container 02386dd1106e 17:52:19 ---> 491951ad8371 17:52:19 Step 12/13 : COPY . . 17:52:19 ---> c6e45cdf8f6a 17:52:19 Step 13/13 : RUN ${MAKE} 17:52:19 ---> Running in 512064b634b4 17:52:19 noop 17:52:19 Removing intermediate container 512064b634b4 17:52:19 ---> 86fba7789bea 17:52:19 Successfully built 86fba7789bea 17:52:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:19 + docker inspect -f . ci-base-image-x86_64 17:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:19 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 17:52:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 17:52:20 $ docker top f3646a9da0392602c11ffdd2510d9114744f9da9c4608faa2cc5b1d060b87ba9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:20 + go version 17:52:20 go version go1.20.2 linux/amd64 [Pipeline] } 17:52:20 $ docker stop --time=1 f3646a9da0392602c11ffdd2510d9114744f9da9c4608faa2cc5b1d060b87ba9 17:52:21 $ docker rm -f --volumes f3646a9da0392602c11ffdd2510d9114744f9da9c4608faa2cc5b1d060b87ba9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:22 + docker inspect -f . ci-base-image-x86_64 17:52:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:22 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 17:52:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 17:52:22 $ docker top 3a352ce86ceb2b32b8ba88d01a9f2fbf32da2653858273c69f1d3a3e2631eff7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:23 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:52:23 + make test 17:52:23 go test ./... -coverprofile=coverage.out ./... 17:52:28 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:52:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:52:40 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:52:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.046s coverage: 31.4% of statements 17:52:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.408s coverage: 86.5% of statements 17:52:50 go vet ./... 17:52:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:52:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:52:53 ./bin/test-attribution-txt.sh [Pipeline] echo 17:52:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:52:53 $ docker stop --time=1 3a352ce86ceb2b32b8ba88d01a9f2fbf32da2653858273c69f1d3a3e2631eff7 17:52:59 $ docker rm -f --volumes 3a352ce86ceb2b32b8ba88d01a9f2fbf32da2653858273c69f1d3a3e2631eff7 [Pipeline] // withDockerContainer [Pipeline] sh 17:52:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:52:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:53:00 + ls -al . 17:53:00 total 232 17:53:00 drwxrwxr-x 10 jenkins jenkins 4096 May 17 17:52 . 17:53:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:51 .. 17:53:00 drwxrwxr-x 8 jenkins jenkins 4096 May 17 17:51 .git 17:53:00 drwxrwxr-x 3 jenkins jenkins 4096 May 17 17:51 .github 17:53:00 -rw-rw-r-- 1 jenkins jenkins 496 May 17 17:51 .gitignore 17:53:00 -rw-rw-r-- 1 jenkins jenkins 42 May 17 17:51 .golangci.yml 17:53:00 drwxr-xr-x 3 jenkins jenkins 4096 May 17 17:51 .semver 17:53:00 -rw-rw-r-- 1 jenkins jenkins 10087 May 17 17:51 Attribution.txt 17:53:00 -rw-rw-r-- 1 jenkins jenkins 6312 May 17 17:51 CHANGELOG.md 17:53:00 -rw-rw-r-- 1 jenkins jenkins 1574 May 17 17:51 Dockerfile 17:53:00 -rw-rw-r-- 1 jenkins jenkins 677 May 17 17:51 GOVERNANCE.md 17:53:00 -rw-rw-r-- 1 jenkins jenkins 739 May 17 17:51 Jenkinsfile 17:53:00 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 17:51 LICENSE 17:53:00 -rw-rw-r-- 1 jenkins jenkins 2751 May 17 17:51 Makefile 17:53:00 -rw-rw-r-- 1 jenkins jenkins 625 May 17 17:51 OWNERS.md 17:53:00 -rw-rw-r-- 1 jenkins jenkins 2690 May 17 17:51 README.md 17:53:00 -rw-rw-r-- 1 jenkins jenkins 12 May 17 17:51 VERSION 17:53:00 drwxrwxr-x 2 jenkins jenkins 4096 May 17 17:51 bin 17:53:00 drwxrwxr-x 3 jenkins jenkins 4096 May 17 17:51 cmd 17:53:00 -rw-r--r-- 1 jenkins jenkins 78459 May 17 17:52 coverage.out 17:53:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:51 doc 17:53:00 -rw-rw-r-- 1 jenkins jenkins 3642 May 17 17:51 go.mod 17:53:00 -rw-rw-r-- 1 jenkins jenkins 33491 May 17 17:51 go.sum 17:53:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:51 internal 17:53:00 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:51 snap 17:53:00 -rw-rw-r-- 1 jenkins jenkins 236 May 17 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:00 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=64f82e933683e29c662cfdfed835d2baed16cd25 --label arch=amd64 --label version=3.0.0-dev.54 . 17:53:00 Sending build context to Docker daemon 21.97MB 17:53:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:53:00 Step 2/26 : FROM ${BASE} AS builder 17:53:00 ---> 86fba7789bea 17:53:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:53:01 ---> Running in 4e156810d8b0 17:53:02 Removing intermediate container 4e156810d8b0 17:53:02 ---> a492ea5db10b 17:53:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:02 ---> Running in 092d13344520 17:53:02 Removing intermediate container 092d13344520 17:53:02 ---> b19afe140677 17:53:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:53:03 ---> Running in 2c60c486810e 17:53:03 Removing intermediate container 2c60c486810e 17:53:03 ---> abebc0e21db2 17:53:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:53:03 ---> Running in 656ec22bc216 17:53:03 Removing intermediate container 656ec22bc216 17:53:03 ---> 59bab5c9f0fa 17:53:03 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:53:03 ---> Running in 730a91656b0f 17:53:03 Removing intermediate container 730a91656b0f 17:53:03 ---> ac8c5253d1b0 17:53:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:03 ---> Running in 1a8ee259eaae 17:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:53:04 OK: 265 MiB in 53 packages 17:53:04 Removing intermediate container 1a8ee259eaae 17:53:04 ---> bd1aa750718f 17:53:04 Step 9/26 : WORKDIR /device-onvif-camera 17:53:04 ---> Running in 881de6468e6c 17:53:04 Removing intermediate container 881de6468e6c 17:53:04 ---> 22cc371cb8a6 17:53:04 Step 10/26 : COPY go.mod vendor* ./ 17:53:05 ---> d0f160b60adb 17:53:05 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:05 ---> Running in a45b8be92caf 17:53:05 Removing intermediate container a45b8be92caf 17:53:05 ---> 36388ee01a23 17:53:05 Step 12/26 : COPY . . 17:53:06 ---> 5296252a94ff 17:53:06 Step 13/26 : RUN ${MAKE} 17:53:06 ---> Running in 96e82279f242 17:53:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.54" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 17:53:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15904 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:53:29 Running in /w/workspace/device-onvif-camera/151 [Pipeline] { [Pipeline] checkout 17:53:29 The recommended git tool is: git 17:53:33 Removing intermediate container 96e82279f242 17:53:33 ---> 55805452ee46 17:53:33 Step 14/26 : FROM alpine:3.17 17:53:33 3.17: Pulling from library/alpine 17:53:33 f56be85fc22e: Already exists 17:53:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:53:33 Status: Downloaded newer image for alpine:3.17 17:53:33 ---> 9ed4aefc74f6 17:53:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:53:33 ---> Running in c75c01d55264 17:53:33 Removing intermediate container c75c01d55264 17:53:33 ---> c5ff73450835 17:53:33 Step 16/26 : RUN apk add --update --no-cache dumb-init 17:53:33 ---> Running in 58daeacd9ed9 17:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:53:33 (1/1) Installing dumb-init (1.2.5-r2) 17:53:33 Executing busybox-1.35.0-r29.trigger 17:53:33 OK: 7 MiB in 16 packages 17:53:33 Removing intermediate container 58daeacd9ed9 17:53:33 ---> 0418230fb04a 17:53:33 Step 17/26 : WORKDIR / 17:53:33 ---> Running in ea662bfdb600 17:53:33 Removing intermediate container ea662bfdb600 17:53:33 ---> 92e20485e527 17:53:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:53:33 ---> c8fff11259c5 17:53:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:53:33 ---> cd09783ba81d 17:53:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:53:33 ---> a088aab4e83b 17:53:33 Step 21/26 : EXPOSE 59984 17:53:33 ---> Running in ec0154d7a4f1 17:53:33 Removing intermediate container ec0154d7a4f1 17:53:33 ---> 274aa3d721f5 17:53:33 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:53:33 ---> Running in 63a5204a3b93 17:53:33 Removing intermediate container 63a5204a3b93 17:53:33 ---> 603734b24742 17:53:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:53:33 ---> Running in abfe123b93f8 17:53:33 Removing intermediate container abfe123b93f8 17:53:33 ---> 5ae8cf5819bc 17:53:33 Step 24/26 : LABEL arch=amd64 17:53:33 ---> Running in 7946a68735ab 17:53:34 Removing intermediate container 7946a68735ab 17:53:34 ---> 9839b934e0fd 17:53:34 Step 25/26 : LABEL git_sha=64f82e933683e29c662cfdfed835d2baed16cd25 17:53:34 ---> Running in 65f269989fef 17:53:34 Removing intermediate container 65f269989fef 17:53:34 ---> 245cb20bff94 17:53:34 Step 26/26 : LABEL version=3.0.0-dev.54 17:53:34 ---> Running in 07df9e82ba39 17:53:34 Removing intermediate container 07df9e82ba39 17:53:34 ---> 35220a06d7ca 17:53:34 [Warning] One or more build-args [ARCH] were not consumed 17:53:34 Successfully built 35220a06d7ca 17:53:34 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:34 provisioning config files... 17:53:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config593675992577291189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:34 ---> docker-login.sh 17:53:34 nexus3.edgexfoundry.org:10001 17:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:34 Configure a credential helper to remove this warning. See 17:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:34 17:53:34 Login Succeeded 17:53:34 nexus3.edgexfoundry.org:10002 17:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:34 Configure a credential helper to remove this warning. See 17:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:34 17:53:34 Login Succeeded 17:53:34 nexus3.edgexfoundry.org:10003 17:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:34 Configure a credential helper to remove this warning. See 17:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:34 17:53:34 Login Succeeded 17:53:34 nexus3.edgexfoundry.org:10004 17:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:34 Configure a credential helper to remove this warning. See 17:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:34 17:53:34 Login Succeeded 17:53:34 docker.io 17:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:35 using credential edgex-jenkins-ssh 17:53:35 Cloning the remote Git repository 17:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:35 Configure a credential helper to remove this warning. See 17:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:35 17:53:35 Login Succeeded 17:53:35 ---> docker-login.sh ends [Pipeline] } 17:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:53:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:35 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:53:35 64f82e933683e29c662cfdfed835d2baed16cd25 17:53:35 latest 17:53:35 3.0.0-dev.54 17:53:35 64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 17:53:35 main 17:53:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:53:35 > git init /w/workspace/device-onvif-camera/151 # timeout=10 17:53:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:53:35 > git --version # timeout=10 17:53:35 > git --version # 'git version 2.25.1' 17:53:35 using GIT_SSH to set credentials SSH Credentials for GitHub 17:53:35 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:35 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25 17:53:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:53:35 5a10230e9ea3: Preparing 17:53:35 e45ee5c55b0b: Preparing 17:53:35 411f6d286e9f: Preparing 17:53:35 ccc76186dada: Preparing 17:53:35 f1417ff83b31: Preparing 17:53:35 f1417ff83b31: Layer already exists 17:53:35 5a10230e9ea3: Pushed 17:53:35 ccc76186dada: Pushed 17:53:35 e45ee5c55b0b: Pushed 17:53:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:38 411f6d286e9f: Pushed 17:53:38 64f82e933683e29c662cfdfed835d2baed16cd25: digest: sha256:23dd156904753aaed6472bbdfc887e2404dfb9919c03cc7bb4c94ce0d3da031d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:53:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:53:39 5a10230e9ea3: Preparing 17:53:39 e45ee5c55b0b: Preparing 17:53:39 411f6d286e9f: Preparing 17:53:39 ccc76186dada: Preparing 17:53:39 f1417ff83b31: Preparing 17:53:39 ccc76186dada: Layer already exists 17:53:39 411f6d286e9f: Layer already exists 17:53:39 e45ee5c55b0b: Layer already exists 17:53:39 f1417ff83b31: Layer already exists 17:53:39 5a10230e9ea3: Layer already exists 17:53:39 latest: digest: sha256:23dd156904753aaed6472bbdfc887e2404dfb9919c03cc7bb4c94ce0d3da031d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:53:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:53:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.54 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.54 17:53:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:53:39 5a10230e9ea3: Preparing 17:53:39 e45ee5c55b0b: Preparing 17:53:39 411f6d286e9f: Preparing 17:53:39 ccc76186dada: Preparing 17:53:39 f1417ff83b31: Preparing 17:53:39 411f6d286e9f: Layer already exists 17:53:39 ccc76186dada: Layer already exists 17:53:39 e45ee5c55b0b: Layer already exists 17:53:39 f1417ff83b31: Layer already exists 17:53:39 5a10230e9ea3: Layer already exists 17:53:39 3.0.0-dev.54: digest: sha256:23dd156904753aaed6472bbdfc887e2404dfb9919c03cc7bb4c94ce0d3da031d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:40 Avoid second fetch 17:53:40 Checking out Revision 64f82e933683e29c662cfdfed835d2baed16cd25 (main) 17:53:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 17:53:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:53:40 5a10230e9ea3: Preparing 17:53:40 e45ee5c55b0b: Preparing 17:53:40 411f6d286e9f: Preparing 17:53:40 ccc76186dada: Preparing 17:53:40 f1417ff83b31: Preparing 17:53:40 f1417ff83b31: Layer already exists 17:53:40 5a10230e9ea3: Layer already exists 17:53:40 ccc76186dada: Layer already exists 17:53:40 e45ee5c55b0b: Layer already exists 17:53:40 411f6d286e9f: Layer already exists 17:53:40 64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54: digest: sha256:23dd156904753aaed6472bbdfc887e2404dfb9919c03cc7bb4c94ce0d3da031d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:40 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:40 > git config core.sparsecheckout # timeout=10 17:53:40 > git checkout -f 64f82e933683e29c662cfdfed835d2baed16cd25 # timeout=10 17:53:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#365)" 17:53:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:53:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:53:41 5a10230e9ea3: Preparing 17:53:41 e45ee5c55b0b: Preparing 17:53:41 411f6d286e9f: Preparing 17:53:41 ccc76186dada: Preparing 17:53:41 f1417ff83b31: Preparing 17:53:41 411f6d286e9f: Layer already exists 17:53:41 5a10230e9ea3: Layer already exists 17:53:41 ccc76186dada: Layer already exists 17:53:41 e45ee5c55b0b: Layer already exists 17:53:41 f1417ff83b31: Layer already exists 17:53:41 main: digest: sha256:23dd156904753aaed6472bbdfc887e2404dfb9919c03cc7bb4c94ce0d3da031d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:53:41 ===================================================== [Pipeline] echo 17:53:41 taggedImages: 17:53:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25 17:53:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:53:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.54 17:53:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 17:53:41 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:41 17:53:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:53:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:53:41 Dload Upload Total Spent Left Speed 17:53:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85577 17:53:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:41 latest: Pulling from edgex-lftools-log-publisher 17:53:41 5eb5b503b376: Pulling fs layer 17:53:41 5c69ac0246d0: Pulling fs layer 17:53:41 ec43610c2a17: Pulling fs layer 17:53:41 3a2ae6a8a46f: Pulling fs layer 17:53:41 33b1e0a273af: Pulling fs layer 17:53:41 5d3b04190fa2: Pulling fs layer 17:53:41 2f39f015ded8: Pulling fs layer 17:53:41 33b1e0a273af: Waiting 17:53:41 5d3b04190fa2: Waiting 17:53:41 3a2ae6a8a46f: Waiting 17:53:41 2f39f015ded8: Waiting 17:53:41 5c69ac0246d0: Verifying Checksum 17:53:41 5c69ac0246d0: Download complete 17:53:41 3a2ae6a8a46f: Download complete 17:53:41 33b1e0a273af: Download complete 17:53:41 ec43610c2a17: Download complete 17:53:41 5d3b04190fa2: Verifying Checksum 17:53:41 5d3b04190fa2: Download complete 17:53:42 5eb5b503b376: Verifying Checksum 17:53:42 5eb5b503b376: Download complete [Pipeline] sh 17:53:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:53:42 2f39f015ded8: Verifying Checksum 17:53:42 2f39f015ded8: Download complete 17:53:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:53:42 + sudo tee /etc/docker/daemon.new 17:53:42 { 17:53:42 "registry-mirrors": [ 17:53:42 "https://nexus3.edgexfoundry.org:10001" 17:53:42 ], 17:53:42 "bip": "10.250.0.254/24", 17:53:42 "hosts": [ 17:53:42 "tcp://0.0.0.0:5555", 17:53:42 "unix:///var/run/docker.sock" 17:53:42 ], 17:53:42 "mtu": 1458, 17:53:42 "selinux-enabled": true, 17:53:42 "seccomp-profile": "/etc/docker/seccomp.json" 17:53:42 } [Pipeline] sh 17:53:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:53:43 5eb5b503b376: Pull complete 17:53:43 5c69ac0246d0: Pull complete 17:53:43 + sudo service docker restart 17:53:43 ec43610c2a17: Pull complete 17:53:43 3a2ae6a8a46f: Pull complete 17:53:44 33b1e0a273af: Pull complete 17:53:44 5d3b04190fa2: Pull complete 17:53:48 2f39f015ded8: Pull complete 17:53:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:53:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:48 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 17:53:48 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:53:53 $ docker top 27950f5717edf8cde112c5be7c4ce1849a0c784172fdea8bf5839f30e3c15a4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:54 ---> job-cost.sh 17:53:54 lf-activate-venv: SKIPPING 17:53:54 INFO: No Stack... 17:53:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:53:54 INFO: Archiving Costs [Pipeline] sh 17:53:55 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:53:55 + cut -d, -f6 [Pipeline] lock 17:53:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] 17:53:55 Resource [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] did not exist. Created. 17:53:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:53:55 + echo total: 0.2199999988079071 [Pipeline] stash 17:53:55 Stashed 1 file(s) [Pipeline] } 17:53:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] [Pipeline] // lock [Pipeline] } 17:53:55 $ docker stop --time=1 27950f5717edf8cde112c5be7c4ce1849a0c784172fdea8bf5839f30e3c15a4e 17:53:56 $ docker rm -f --volumes 27950f5717edf8cde112c5be7c4ce1849a0c784172fdea8bf5839f30e3c15a4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:01 provisioning config files... 17:54:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/151@tmp/config9997636340055503067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:02 ---> docker-login.sh 17:54:02 nexus3.edgexfoundry.org:10001 17:54:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:02 Configure a credential helper to remove this warning. See 17:54:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:02 17:54:02 Login Succeeded 17:54:02 nexus3.edgexfoundry.org:10002 17:54:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:03 Configure a credential helper to remove this warning. See 17:54:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:03 17:54:03 Login Succeeded 17:54:03 nexus3.edgexfoundry.org:10003 17:54:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:03 Configure a credential helper to remove this warning. See 17:54:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:03 17:54:03 Login Succeeded 17:54:03 nexus3.edgexfoundry.org:10004 17:54:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:03 Configure a credential helper to remove this warning. See 17:54:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:03 17:54:03 Login Succeeded 17:54:03 docker.io 17:54:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:04 Configure a credential helper to remove this warning. See 17:54:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:04 17:54:04 Login Succeeded 17:54:04 ---> docker-login.sh ends [Pipeline] } 17:54:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:54:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:54:04 ========================================================= 17:54:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:54:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:54:05 Sending build context to Docker daemon 14.37MB 17:54:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 17:54:05 Step 2/13 : FROM ${BASE} AS builder 17:54:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:54:05 c41833b44d91: Pulling fs layer 17:54:05 ed15518f5707: Pulling fs layer 17:54:05 feae8fd75edb: Pulling fs layer 17:54:05 242c74f7c9fa: Pulling fs layer 17:54:05 3cdef696dda3: Pulling fs layer 17:54:05 2ced38df9373: Pulling fs layer 17:54:05 58f1dce35555: Pulling fs layer 17:54:05 3cdef696dda3: Waiting 17:54:05 2ced38df9373: Waiting 17:54:05 58f1dce35555: Waiting 17:54:05 242c74f7c9fa: Waiting 17:54:05 ed15518f5707: Verifying Checksum 17:54:05 ed15518f5707: Download complete 17:54:05 242c74f7c9fa: Download complete 17:54:05 3cdef696dda3: Verifying Checksum 17:54:05 3cdef696dda3: Download complete 17:54:05 c41833b44d91: Download complete 17:54:06 c41833b44d91: Pull complete 17:54:07 58f1dce35555: Verifying Checksum 17:54:07 58f1dce35555: Download complete 17:54:07 ed15518f5707: Pull complete 17:54:08 feae8fd75edb: Verifying Checksum 17:54:08 feae8fd75edb: Download complete 17:54:08 2ced38df9373: Verifying Checksum 17:54:08 2ced38df9373: Download complete 17:54:20 feae8fd75edb: Pull complete 17:54:20 242c74f7c9fa: Pull complete 17:54:20 3cdef696dda3: Pull complete 17:54:24 2ced38df9373: Pull complete 17:54:26 58f1dce35555: Pull complete 17:54:26 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:54:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:54:26 ---> fadd8f120f05 17:54:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 17:54:28 ---> Running in bde6fd854bf8 17:54:28 Removing intermediate container bde6fd854bf8 17:54:28 ---> e5fc952bf99e 17:54:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:28 ---> Running in 4f9362109537 17:54:29 Removing intermediate container 4f9362109537 17:54:29 ---> c5a67fd69ddb 17:54:29 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 17:54:29 ---> Running in 1e619c160d51 17:54:29 Removing intermediate container 1e619c160d51 17:54:29 ---> ba567937f006 17:54:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 17:54:29 ---> Running in 6bcb9a7c5999 17:54:30 Removing intermediate container 6bcb9a7c5999 17:54:30 ---> acb27022bdf3 17:54:30 Step 7/13 : LABEL Name=edgex-device-onvif-camera 17:54:30 ---> Running in 9be517994605 17:54:30 Removing intermediate container 9be517994605 17:54:30 ---> 2cd7b948f3c7 17:54:30 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:30 ---> Running in 79cae7af5862 17:54:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:54:33 OK: 263 MiB in 53 packages 17:54:34 Removing intermediate container 79cae7af5862 17:54:34 ---> bf5212fc7388 17:54:34 Step 9/13 : WORKDIR /device-onvif-camera 17:54:34 ---> Running in 2344ef5f77b8 17:54:34 Removing intermediate container 2344ef5f77b8 17:54:34 ---> 8a00925f2290 17:54:34 Step 10/13 : COPY go.mod vendor* ./ 17:54:35 ---> f265557d64f2 17:54:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:35 ---> Running in 938a5a7311e0 17:55:43 Removing intermediate container 938a5a7311e0 17:55:43 ---> 92dbd3b2d833 17:55:43 Step 12/13 : COPY . . 17:55:43 ---> 91d6802d0fe4 17:55:43 Step 13/13 : RUN ${MAKE} 17:55:43 ---> Running in 8b247c78608a 17:55:43 noop 17:55:43 Removing intermediate container 8b247c78608a 17:55:43 ---> 32924c6b587a 17:55:43 Successfully built 32924c6b587a 17:55:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:43 + docker inspect -f . ci-base-image-arm64 17:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:43 prd-ubuntu20.04-docker-arm64-4c-16g-15904 does not seem to be running inside a container 17:55:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/151 -v /w/workspace/device-onvif-camera/151:/w/workspace/device-onvif-camera/151:rw,z -v /w/workspace/device-onvif-camera/151@tmp:/w/workspace/device-onvif-camera/151@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 ******** ci-base-image-arm64 cat 17:55:44 $ docker top e1ac5d7dffd1acfddee78ca28a15826076d7dc5a956a788227c6f9309d23b3f0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:45 + go version 17:55:45 go version go1.20.2 linux/arm64 [Pipeline] } 17:55:45 $ docker stop --time=1 e1ac5d7dffd1acfddee78ca28a15826076d7dc5a956a788227c6f9309d23b3f0 17:55:47 $ docker rm -f --volumes e1ac5d7dffd1acfddee78ca28a15826076d7dc5a956a788227c6f9309d23b3f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:47 + docker inspect -f . ci-base-image-arm64 17:55:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:48 prd-ubuntu20.04-docker-arm64-4c-16g-15904 does not seem to be running inside a container 17:55:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/151 -v /w/workspace/device-onvif-camera/151:/w/workspace/device-onvif-camera/151:rw,z -v /w/workspace/device-onvif-camera/151@tmp:/w/workspace/device-onvif-camera/151@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 ******** ci-base-image-arm64 cat 17:55:50 $ docker top c1420761f9ad44a4cb6715efd74bda50176fa870f89fdd3357e1711b07d4f2af -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:51 + git config --global --add safe.directory /w/workspace/device-onvif-camera/151 [Pipeline] fileExists [Pipeline] sh 17:55:51 + make test 17:55:51 go test ./... -coverprofile=coverage.out ./... 17:56:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:58:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:58:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:58:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 31.4% of statements 17:59:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.126s coverage: 86.5% of statements 17:59:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:59:06 go vet ./... 17:59:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:59:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:59:38 ./bin/test-attribution-txt.sh [Pipeline] echo 17:59:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:59:39 $ docker stop --time=1 c1420761f9ad44a4cb6715efd74bda50176fa870f89fdd3357e1711b07d4f2af 17:59:43 $ docker rm -f --volumes c1420761f9ad44a4cb6715efd74bda50176fa870f89fdd3357e1711b07d4f2af [Pipeline] // withDockerContainer [Pipeline] sh 17:59:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:59:44 Warning: overwriting stash ‘coverage-report’ 17:59:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:59:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:59:45 + ls -al . 17:59:45 total 228 17:59:45 drwxrwxr-x 9 jenkins jenkins 4096 May 17 17:55 . 17:59:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:53 .. 17:59:45 drwxrwxr-x 8 jenkins jenkins 4096 May 17 17:53 .git 17:59:45 drwxrwxr-x 3 jenkins jenkins 4096 May 17 17:53 .github 17:59:45 -rw-rw-r-- 1 jenkins jenkins 496 May 17 17:53 .gitignore 17:59:45 -rw-rw-r-- 1 jenkins jenkins 42 May 17 17:53 .golangci.yml 17:59:45 -rw-rw-r-- 1 jenkins jenkins 10087 May 17 17:53 Attribution.txt 17:59:45 -rw-rw-r-- 1 jenkins jenkins 6312 May 17 17:53 CHANGELOG.md 17:59:45 -rw-rw-r-- 1 jenkins jenkins 1574 May 17 17:53 Dockerfile 17:59:45 -rw-rw-r-- 1 jenkins jenkins 677 May 17 17:53 GOVERNANCE.md 17:59:45 -rw-rw-r-- 1 jenkins jenkins 739 May 17 17:53 Jenkinsfile 17:59:45 -rw-rw-r-- 1 jenkins jenkins 11348 May 17 17:53 LICENSE 17:59:45 -rw-rw-r-- 1 jenkins jenkins 2751 May 17 17:53 Makefile 17:59:45 -rw-rw-r-- 1 jenkins jenkins 625 May 17 17:53 OWNERS.md 17:59:45 -rw-rw-r-- 1 jenkins jenkins 2690 May 17 17:53 README.md 17:59:45 -rw-rw-r-- 1 jenkins jenkins 12 May 17 17:51 VERSION 17:59:45 drwxrwxr-x 2 jenkins jenkins 4096 May 17 17:53 bin 17:59:45 drwxrwxr-x 3 jenkins jenkins 4096 May 17 17:53 cmd 17:59:45 -rw-r--r-- 1 jenkins jenkins 78459 May 17 17:59 coverage.out 17:59:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:53 doc 17:59:45 -rw-rw-r-- 1 jenkins jenkins 3642 May 17 17:53 go.mod 17:59:45 -rw-rw-r-- 1 jenkins jenkins 33491 May 17 17:53 go.sum 17:59:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:53 internal 17:59:45 drwxrwxr-x 4 jenkins jenkins 4096 May 17 17:53 snap 17:59:45 -rw-rw-r-- 1 jenkins jenkins 236 May 17 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:46 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=64f82e933683e29c662cfdfed835d2baed16cd25 --label arch=arm64 --label version=3.0.0-dev.54 . 17:59:46 Sending build context to Docker daemon 14.44MB 17:59:46 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:59:46 Step 2/26 : FROM ${BASE} AS builder 17:59:46 ---> 32924c6b587a 17:59:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:59:46 ---> Running in 599a790b66a7 17:59:47 Removing intermediate container 599a790b66a7 17:59:47 ---> aee3d912ca9b 17:59:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:59:47 ---> Running in 8bd6da04402b 17:59:47 Removing intermediate container 8bd6da04402b 17:59:47 ---> 21f2f309b60d 17:59:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 17:59:47 ---> Running in 33f706c4a22f 17:59:47 Removing intermediate container 33f706c4a22f 17:59:47 ---> 2675eae3be32 17:59:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:59:48 ---> Running in f82e53840fc4 17:59:48 Removing intermediate container f82e53840fc4 17:59:48 ---> e3a0e9066a1a 17:59:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:59:48 ---> Running in 51b975df3e88 17:59:48 Removing intermediate container 51b975df3e88 17:59:48 ---> 1d2d2514b430 17:59:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:59:48 ---> Running in 2b68c42475b4 17:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:59:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:59:51 OK: 263 MiB in 53 packages 17:59:52 Removing intermediate container 2b68c42475b4 17:59:52 ---> 93363983f8bf 17:59:52 Step 9/26 : WORKDIR /device-onvif-camera 17:59:52 ---> Running in 157a7a522d49 17:59:52 Removing intermediate container 157a7a522d49 17:59:52 ---> 047dddf0ef3a 17:59:52 Step 10/26 : COPY go.mod vendor* ./ 17:59:56 ---> 12b568d5ed8d 17:59:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:59:56 ---> Running in ff5354ad0f14 17:59:58 Removing intermediate container ff5354ad0f14 17:59:58 ---> b1458fca39ca 17:59:58 Step 12/26 : COPY . . 17:59:59 ---> 045a1fb67cb5 17:59:59 Step 13/26 : RUN ${MAKE} 18:00:00 ---> Running in 814c5a243b56 18:00:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.54" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 18:02:37 Removing intermediate container 814c5a243b56 18:02:37 ---> 3b6bc914b0a1 18:02:37 Step 14/26 : FROM alpine:3.17 18:02:37 3.17: Pulling from library/alpine 18:02:37 c41833b44d91: Already exists 18:02:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:02:37 Status: Downloaded newer image for alpine:3.17 18:02:37 ---> 51e60588ff2c 18:02:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:02:37 ---> Running in 03f854db1598 18:02:37 Removing intermediate container 03f854db1598 18:02:37 ---> f0539b263694 18:02:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:02:37 ---> Running in 826a994769b0 18:02:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:02:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:02:37 (1/1) Installing dumb-init (1.2.5-r2) 18:02:37 Executing busybox-1.35.0-r29.trigger 18:02:37 OK: 8 MiB in 16 packages 18:02:37 Removing intermediate container 826a994769b0 18:02:37 ---> f05fc54bd3c4 18:02:37 Step 17/26 : WORKDIR / 18:02:37 ---> Running in 37d283c8ad7f 18:02:37 Removing intermediate container 37d283c8ad7f 18:02:37 ---> 0a60961c9a39 18:02:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:02:37 ---> 5fd6d79a9642 18:02:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:02:37 ---> fc0a046f733c 18:02:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:02:37 ---> 3a279f3a1382 18:02:37 Step 21/26 : EXPOSE 59984 18:02:37 ---> Running in 73a24160dddb 18:02:37 Removing intermediate container 73a24160dddb 18:02:37 ---> 6b479e560245 18:02:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:02:37 ---> Running in 890ec6d01162 18:02:37 Removing intermediate container 890ec6d01162 18:02:37 ---> c62ba542f818 18:02:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:02:37 ---> Running in 6288cfbc9f2e 18:02:37 Removing intermediate container 6288cfbc9f2e 18:02:37 ---> 7d6fa1eb5606 18:02:37 Step 24/26 : LABEL arch=arm64 18:02:37 ---> Running in d003e739047e 18:02:37 Removing intermediate container d003e739047e 18:02:37 ---> dc3c768dced4 18:02:37 Step 25/26 : LABEL git_sha=64f82e933683e29c662cfdfed835d2baed16cd25 18:02:37 ---> Running in 7b73c2dfb87d 18:02:37 Removing intermediate container 7b73c2dfb87d 18:02:37 ---> 44bccbec4618 18:02:37 Step 26/26 : LABEL version=3.0.0-dev.54 18:02:38 ---> Running in 7da7478dd921 18:02:38 Removing intermediate container 7da7478dd921 18:02:38 ---> 6df109302109 18:02:38 [Warning] One or more build-args [ARCH] were not consumed 18:02:38 Successfully built 6df109302109 18:02:38 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:38 provisioning config files... 18:02:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/151@tmp/config6165127370430429153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:38 ---> docker-login.sh 18:02:38 nexus3.edgexfoundry.org:10001 18:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:39 Configure a credential helper to remove this warning. See 18:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:39 18:02:39 Login Succeeded 18:02:39 nexus3.edgexfoundry.org:10002 18:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:39 Configure a credential helper to remove this warning. See 18:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:39 18:02:39 Login Succeeded 18:02:39 nexus3.edgexfoundry.org:10003 18:02:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:39 Configure a credential helper to remove this warning. See 18:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:39 18:02:39 Login Succeeded 18:02:39 nexus3.edgexfoundry.org:10004 18:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:40 Configure a credential helper to remove this warning. See 18:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:40 18:02:40 Login Succeeded 18:02:40 docker.io 18:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:40 Configure a credential helper to remove this warning. See 18:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:40 18:02:40 Login Succeeded 18:02:40 ---> docker-login.sh ends [Pipeline] } 18:02:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:40 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:02:40 64f82e933683e29c662cfdfed835d2baed16cd25 18:02:40 latest 18:02:40 3.0.0-dev.54 18:02:40 64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 18:02:40 main 18:02:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25 18:02:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:02:41 6b68f9d178fb: Preparing 18:02:41 7c0b263ceef4: Preparing 18:02:41 2f7c3a90a86f: Preparing 18:02:41 0cf982c6a9bc: Preparing 18:02:41 26cbea5cba74: Preparing 18:02:41 26cbea5cba74: Layer already exists 18:02:41 6b68f9d178fb: Pushed 18:02:41 7c0b263ceef4: Pushed 18:02:41 0cf982c6a9bc: Pushed 18:02:47 2f7c3a90a86f: Pushed 18:02:47 64f82e933683e29c662cfdfed835d2baed16cd25: digest: sha256:b745f70ee1d812960655969391ad81e1630f8e30c7e9b06ed71cb36ac343ae73 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:02:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:02:48 6b68f9d178fb: Preparing 18:02:48 7c0b263ceef4: Preparing 18:02:48 2f7c3a90a86f: Preparing 18:02:48 0cf982c6a9bc: Preparing 18:02:48 26cbea5cba74: Preparing 18:02:48 2f7c3a90a86f: Layer already exists 18:02:48 26cbea5cba74: Layer already exists 18:02:48 7c0b263ceef4: Layer already exists 18:02:48 0cf982c6a9bc: Layer already exists 18:02:48 6b68f9d178fb: Layer already exists 18:02:48 latest: digest: sha256:b745f70ee1d812960655969391ad81e1630f8e30c7e9b06ed71cb36ac343ae73 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:48 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.54 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.54 18:02:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:02:49 6b68f9d178fb: Preparing 18:02:49 7c0b263ceef4: Preparing 18:02:49 2f7c3a90a86f: Preparing 18:02:49 0cf982c6a9bc: Preparing 18:02:49 26cbea5cba74: Preparing 18:02:49 0cf982c6a9bc: Layer already exists 18:02:49 7c0b263ceef4: Layer already exists 18:02:49 26cbea5cba74: Layer already exists 18:02:49 6b68f9d178fb: Layer already exists 18:02:49 2f7c3a90a86f: Layer already exists 18:02:49 3.0.0-dev.54: digest: sha256:b745f70ee1d812960655969391ad81e1630f8e30c7e9b06ed71cb36ac343ae73 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 18:02:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:02:50 6b68f9d178fb: Preparing 18:02:50 7c0b263ceef4: Preparing 18:02:50 2f7c3a90a86f: Preparing 18:02:50 0cf982c6a9bc: Preparing 18:02:50 26cbea5cba74: Preparing 18:02:50 26cbea5cba74: Layer already exists 18:02:50 7c0b263ceef4: Layer already exists 18:02:50 0cf982c6a9bc: Layer already exists 18:02:50 2f7c3a90a86f: Layer already exists 18:02:50 6b68f9d178fb: Layer already exists 18:02:50 64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54: digest: sha256:b745f70ee1d812960655969391ad81e1630f8e30c7e9b06ed71cb36ac343ae73 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:50 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:02:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:02:50 6b68f9d178fb: Preparing 18:02:50 7c0b263ceef4: Preparing 18:02:50 2f7c3a90a86f: Preparing 18:02:50 0cf982c6a9bc: Preparing 18:02:50 26cbea5cba74: Preparing 18:02:50 0cf982c6a9bc: Layer already exists 18:02:50 6b68f9d178fb: Layer already exists 18:02:50 2f7c3a90a86f: Layer already exists 18:02:50 7c0b263ceef4: Layer already exists 18:02:50 26cbea5cba74: Layer already exists 18:02:50 main: digest: sha256:b745f70ee1d812960655969391ad81e1630f8e30c7e9b06ed71cb36ac343ae73 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:02:51 ===================================================== [Pipeline] echo 18:02:51 taggedImages: 18:02:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25 18:02:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:02:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.54 18:02:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:64f82e933683e29c662cfdfed835d2baed16cd25-3.0.0-dev.54 18:02:51 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:51 18:02:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:02:51 arm64: Pulling from edgex-lftools-log-publisher 18:02:51 8998bd30e6a1: Pulling fs layer 18:02:51 04944245beec: Pulling fs layer 18:02:51 699f458cf7ca: Pulling fs layer 18:02:51 765212b225bb: Pulling fs layer 18:02:51 f23df028b6ca: Pulling fs layer 18:02:51 d65c8cfc05b1: Pulling fs layer 18:02:51 2437ff75d9bd: Pulling fs layer 18:02:51 f23df028b6ca: Waiting 18:02:51 d65c8cfc05b1: Waiting 18:02:51 2437ff75d9bd: Waiting 18:02:51 765212b225bb: Waiting 18:02:52 04944245beec: Verifying Checksum 18:02:52 04944245beec: Download complete 18:02:52 765212b225bb: Verifying Checksum 18:02:52 765212b225bb: Download complete 18:02:52 f23df028b6ca: Verifying Checksum 18:02:52 f23df028b6ca: Download complete 18:02:52 d65c8cfc05b1: Verifying Checksum 18:02:52 d65c8cfc05b1: Download complete 18:02:52 699f458cf7ca: Verifying Checksum 18:02:52 699f458cf7ca: Download complete 18:02:52 8998bd30e6a1: Verifying Checksum 18:02:52 8998bd30e6a1: Download complete 18:02:55 2437ff75d9bd: Verifying Checksum 18:02:55 2437ff75d9bd: Download complete 18:02:56 8998bd30e6a1: Pull complete 18:02:56 04944245beec: Pull complete 18:02:58 699f458cf7ca: Pull complete 18:02:58 765212b225bb: Pull complete 18:02:58 f23df028b6ca: Pull complete 18:02:58 d65c8cfc05b1: Pull complete 18:03:13 2437ff75d9bd: Pull complete 18:03:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:03:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:03:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-15904 does not seem to be running inside a container 18:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/151 -v /w/workspace/device-onvif-camera/151:/w/workspace/device-onvif-camera/151:rw,z -v /w/workspace/device-onvif-camera/151@tmp:/w/workspace/device-onvif-camera/151@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:03:16 $ docker top ab0f777499d7f783b5c613f823a7fb3795858c28c504a8403125d215719d69e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:17 ---> job-cost.sh 18:03:17 lf-activate-venv: SKIPPING 18:03:17 INFO: No Stack... 18:03:18 INFO: Retrieving Pricing Info for: v3-standard-4 18:03:19 INFO: Archiving Costs [Pipeline] sh 18:03:19 + cut -d, -f6 18:03:19 + cat /w/workspace/device-onvif-camera/151/archives/cost.csv [Pipeline] lock 18:03:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] 18:03:19 Resource [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] did not exist. Created. 18:03:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:20 /w/workspace/device-onvif-camera/151@tmp/durable-bdadd947/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:03:21 + echo total: 0.10999999940395355 [Pipeline] stash 18:03:21 Warning: overwriting stash ‘stack-cost’ 18:03:21 Stashed 1 file(s) [Pipeline] } 18:03:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-151-stack-cost] [Pipeline] // lock [Pipeline] } 18:03:21 $ docker stop --time=1 ab0f777499d7f783b5c613f823a7fb3795858c28c504a8403125d215719d69e3 18:03:22 $ docker rm -f --volumes ab0f777499d7f783b5c613f823a7fb3795858c28c504a8403125d215719d69e3 [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:03:23 provisioning config files... 18:03:23 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17371357332856958435tmp [Pipeline] { [Pipeline] sh 18:03:23 + set +x 18:03:23 + curl -s https://codecov.io/bash 18:03:23 + bash -s -- 18:03:23 18:03:23 _____ _ 18:03:23 / ____| | | 18:03:23 | | ___ __| | ___ ___ _____ __ 18:03:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:03:23 | |___| (_) | (_| | __/ (_| (_) \ V / 18:03:23 \_____\___/ \__,_|\___|\___\___/ \_/ 18:03:23 Bash-1.0.6 18:03:23 18:03:23 18:03:23 ==> git version 2.25.1 found 18:03:23 ==> 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:03:23 Release-Date: 2020-01-08 18:03:23 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:03:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:03:23 ==> Jenkins CI detected. 18:03:23 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:03:23 project root: . 18:03:23 --> token set from env 18:03:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:03:23 ==> Running gcov in . (disable via -X gcov) 18:03:23 ==> Python coveragepy not found 18:03:23 ==> Searching for coverage reports in: 18:03:23 + . 18:03:23 -> Found 1 reports 18:03:23 ==> Detecting git/mercurial file structure 18:03:23 ==> Reading reports 18:03:23 + ./coverage.out bytes=78459 18:03:23 ==> Appending adjustments 18:03:23 https://docs.codecov.io/docs/fixing-reports 18:03:23 + Found adjustments 18:03:23 ==> Gzipping contents 18:03:23 12K /tmp/codecov.HtQG09.gz 18:03:23 ==> Uploading reports 18:03:23 url: https://codecov.io 18:03:23 query: branch=main&commit=64f82e933683e29c662cfdfed835d2baed16cd25&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:03:23 -> Pinging Codecov 18:03:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=64f82e933683e29c662cfdfed835d2baed16cd25&build=151&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F151%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:03:23 -> Uploading to 18:03:23 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/F29A59C45E3A92E06B3E522C9905F8EF/64f82e933683e29c662cfdfed835d2baed16cd25/bf53e0b3-2ac9-4c3b-86fa-388de0b9c1da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T180323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36b3c7ccd90042698c236e2f5f49c99f45179806a829e79f19b6733998b38e34 18:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:23 Dload Upload Total Spent Left Speed 18:03:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 44171 --:--:-- --:--:-- --:--:-- 44171 18:03:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] } 18:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:03:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:03:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:24 18:03:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:03:24 df9b9388f04a: Pulling fs layer 18:03:24 52dc419b0ee2: Pulling fs layer 18:03:24 25bc292e5bac: Pulling fs layer 18:03:24 114826534d7a: Pulling fs layer 18:03:24 4657fd5d0bcf: Pulling fs layer 18:03:24 6ad1cebc031e: Pulling fs layer 18:03:24 8a3aa393b2d8: Pulling fs layer 18:03:24 114826534d7a: Waiting 18:03:24 4657fd5d0bcf: Waiting 18:03:24 8a3aa393b2d8: Waiting 18:03:24 25bc292e5bac: Verifying Checksum 18:03:24 25bc292e5bac: Download complete 18:03:24 52dc419b0ee2: Verifying Checksum 18:03:24 52dc419b0ee2: Download complete 18:03:24 4657fd5d0bcf: Verifying Checksum 18:03:24 4657fd5d0bcf: Download complete 18:03:24 df9b9388f04a: Verifying Checksum 18:03:24 df9b9388f04a: Download complete 18:03:25 df9b9388f04a: Pull complete 18:03:25 52dc419b0ee2: Pull complete 18:03:25 6ad1cebc031e: Verifying Checksum 18:03:25 6ad1cebc031e: Download complete 18:03:25 25bc292e5bac: Pull complete 18:03:26 114826534d7a: Verifying Checksum 18:03:26 114826534d7a: Download complete 18:03:26 8a3aa393b2d8: Verifying Checksum 18:03:26 8a3aa393b2d8: Download complete 18:03:29 114826534d7a: Pull complete 18:03:29 4657fd5d0bcf: Pull complete 18:03:29 6ad1cebc031e: Pull complete 18:03:31 8a3aa393b2d8: Pull complete 18:03:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:03:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:32 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:03:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:03:38 $ docker top 3f95016bc765dd8aabe039a1eac4aa2b66ee8f3c2926ffcc928e5a7457426186 -eo pid,comm [Pipeline] { [Pipeline] echo 18:03:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:03:38 + set -o pipefail 18:03:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:03:42 18:03:42 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:03:42 18:03:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0736e64b-dd42-4210-935e-e243b64ecd3e 18:03:42 18:03:42 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 18:03:42 18:03:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:03:42 18:03:43 18:03:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:03:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:03:43 More details here: https://snyk.co/ue1NS [Pipeline] } 18:03:43 $ docker stop --time=1 3f95016bc765dd8aabe039a1eac4aa2b66ee8f3c2926ffcc928e5a7457426186 18:03:47 $ docker rm -f --volumes 3f95016bc765dd8aabe039a1eac4aa2b66ee8f3c2926ffcc928e5a7457426186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 18:03:47 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:47 provisioning config files... 18:03:47 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13543175094378518135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:48 --> edgex-publish-swagger.sh 18:03:48 === Publish doc/openapi/v3 API === 18:03:48 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 18:03:48 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 18:03:48 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:48 Dload Upload Total Spent Left Speed 18:03:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 627k --:--:-- --:--:-- --:--:-- 627k 18:03:48 18:03:48 [Pipeline] } 18:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:03:49 + git log --format=format:%s -1 64f82e933683e29c662cfdfed835d2baed16cd25 [Pipeline] sh 18:03:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:03:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:49 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:03:50 $ docker top e32af43feb48fa47539fc3bc3b052c8bbb7118b611c242d9ae858f67e984f69b -eo pid,comm 18:03:50 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:03:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:03:50 [ssh-agent] Looking for ssh-agent implementation... 18:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:03:50 $ docker exec e32af43feb48fa47539fc3bc3b052c8bbb7118b611c242d9ae858f67e984f69b ssh-agent 18:03:50 SSH_AUTH_SOCK=/tmp/ssh-BZARgWm2EGU1/agent.33 18:03:50 SSH_AGENT_PID=39 18:03:50 Running ssh-add (command line suppressed) 18:03:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7031965510799753951.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7031965510799753951.key) 18:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:03:50 + git semver tag 18:03:51 2023-05-17 18:03:51,075 [run_tag] DEBUG tag force:False 18:03:51 2023-05-17 18:03:51,075 [check_head_tag] DEBUG check head tag 18:03:51 2023-05-17 18:03:51,078 [execute] INFO git cat-file --batch-check 18:03:51 2023-05-17 18:03:51,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:03:51 2023-05-17 18:03:51,082 [execute] INFO git cat-file --batch 18:03:51 2023-05-17 18:03:51,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:03:51 2023-05-17 18:03:51,119 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:03:51 2023-05-17 18:03:51,120 [execute] INFO git tag -a v3.0.0-dev.54 -m v3.0.0-dev.54 18:03:51 2023-05-17 18:03:51,120 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.54', '-m', 'v3.0.0-dev.54'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:03:51 2023-05-17 18:03:51,124 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:03:51 3.0.0-dev.54 [Pipeline] } 18:03:51 $ docker exec --env ******** --env ******** e32af43feb48fa47539fc3bc3b052c8bbb7118b611c242d9ae858f67e984f69b ssh-agent -k 18:03:51 unset SSH_AUTH_SOCK; 18:03:51 unset SSH_AGENT_PID; 18:03:51 echo Agent pid 39 killed; 18:03:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:03:51 + git semver [Pipeline] } 18:03:51 $ docker stop --time=1 e32af43feb48fa47539fc3bc3b052c8bbb7118b611c242d9ae858f67e984f69b 18:03:53 $ docker rm -f --volumes e32af43feb48fa47539fc3bc3b052c8bbb7118b611c242d9ae858f67e984f69b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:03:53 18:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:03:53 0.23.1-centos7: Pulling from edgex-lftools 18:03:53 ab5ef0e58194: Pulling fs layer 18:03:53 9712f1f96733: Pulling fs layer 18:03:53 63f879dbbcfc: Pulling fs layer 18:03:53 0d9ebad4ef96: Pulling fs layer 18:03:53 e9a5061849ea: Pulling fs layer 18:03:53 d747dcd14b5f: Pulling fs layer 18:03:53 2de7ff778b66: Pulling fs layer 18:03:53 e9a5061849ea: Waiting 18:03:53 2de7ff778b66: Waiting 18:03:53 d747dcd14b5f: Waiting 18:03:53 0d9ebad4ef96: Waiting 18:03:53 9712f1f96733: Verifying Checksum 18:03:53 9712f1f96733: Download complete 18:03:54 63f879dbbcfc: Verifying Checksum 18:03:54 63f879dbbcfc: Download complete 18:03:54 e9a5061849ea: Verifying Checksum 18:03:54 e9a5061849ea: Download complete 18:03:54 d747dcd14b5f: Download complete 18:03:54 0d9ebad4ef96: Verifying Checksum 18:03:54 0d9ebad4ef96: Download complete 18:03:54 ab5ef0e58194: Verifying Checksum 18:03:54 ab5ef0e58194: Download complete 18:03:54 2de7ff778b66: Verifying Checksum 18:03:54 2de7ff778b66: Download complete 18:03:57 ab5ef0e58194: Pull complete 18:03:57 9712f1f96733: Pull complete 18:03:57 63f879dbbcfc: Pull complete 18:04:01 0d9ebad4ef96: Pull complete 18:04:01 e9a5061849ea: Pull complete 18:04:01 d747dcd14b5f: Pull complete 18:04:02 2de7ff778b66: Pull complete 18:04:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:04:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:02 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:04:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:04:10 $ docker top 02c618172c67868e09a389f3d9779b7026056f14b154c0ae56f67f61d1a6b641 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:04:10 provisioning config files... 18:04:10 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12324827487258767297tmp 18:04:10 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2593281707744261199tmp 18:04:10 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5071636042356282311tmp [Pipeline] { [Pipeline] echo 18:04:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:04:10 ---> sigul-configuration.sh 18:04:10 gpg: directory `/root/.gnupg' created 18:04:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:04:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:04:10 gpg: keyring `/root/.gnupg/secring.gpg' created 18:04:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:04:10 gpg: CAST5 encrypted data 18:04:10 gpg: encrypted with 1 passphrase 18:04:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:04:10 + mkdir /home/jenkins 18:04:10 + mkdir /home/jenkins/sigul [Pipeline] sh 18:04:11 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:04:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:04:11 ---> sigul-install.sh 18:04:11 Sigul already installed; skipping installation. [Pipeline] sh 18:04:11 + git tag --list 18:04:11 v0.0.0 18:04:11 v0.0.1-dev.1 18:04:11 v0.0.1-dev.10 18:04:11 v0.0.1-dev.11 18:04:11 v0.0.1-dev.12 18:04:11 v0.0.1-dev.13 18:04:11 v0.0.1-dev.14 18:04:11 v0.0.1-dev.15 18:04:11 v0.0.1-dev.16 18:04:11 v0.0.1-dev.17 18:04:11 v0.0.1-dev.18 18:04:11 v0.0.1-dev.19 18:04:11 v0.0.1-dev.2 18:04:11 v0.0.1-dev.20 18:04:11 v0.0.1-dev.21 18:04:11 v0.0.1-dev.22 18:04:11 v0.0.1-dev.23 18:04:11 v0.0.1-dev.24 18:04:11 v0.0.1-dev.25 18:04:11 v0.0.1-dev.26 18:04:11 v0.0.1-dev.27 18:04:11 v0.0.1-dev.28 18:04:11 v0.0.1-dev.3 18:04:11 v0.0.1-dev.4 18:04:11 v0.0.1-dev.5 18:04:11 v0.0.1-dev.6 18:04:11 v0.0.1-dev.7 18:04:11 v0.0.1-dev.8 18:04:11 v0.0.1-dev.9 18:04:11 v2.2.0 18:04:11 v2.2.0-dev.29 18:04:11 v2.2.0-dev.30 18:04:11 v2.2.0-dev.31 18:04:11 v2.2.0-dev.32 18:04:11 v2.2.0-dev.33 18:04:11 v2.2.0-dev.34 18:04:11 v2.2.0-dev.35 18:04:11 v2.3.0 18:04:11 v2.3.0-dev.1 18:04:11 v2.3.0-dev.10 18:04:11 v2.3.0-dev.11 18:04:11 v2.3.0-dev.12 18:04:11 v2.3.0-dev.13 18:04:11 v2.3.0-dev.14 18:04:11 v2.3.0-dev.15 18:04:11 v2.3.0-dev.16 18:04:11 v2.3.0-dev.17 18:04:11 v2.3.0-dev.18 18:04:11 v2.3.0-dev.19 18:04:11 v2.3.0-dev.2 18:04:11 v2.3.0-dev.20 18:04:11 v2.3.0-dev.21 18:04:11 v2.3.0-dev.22 18:04:11 v2.3.0-dev.23 18:04:11 v2.3.0-dev.24 18:04:11 v2.3.0-dev.25 18:04:11 v2.3.0-dev.26 18:04:11 v2.3.0-dev.27 18:04:11 v2.3.0-dev.28 18:04:11 v2.3.0-dev.29 18:04:11 v2.3.0-dev.3 18:04:11 v2.3.0-dev.30 18:04:11 v2.3.0-dev.31 18:04:11 v2.3.0-dev.32 18:04:11 v2.3.0-dev.33 18:04:11 v2.3.0-dev.34 18:04:11 v2.3.0-dev.35 18:04:11 v2.3.0-dev.36 18:04:11 v2.3.0-dev.37 18:04:11 v2.3.0-dev.38 18:04:11 v2.3.0-dev.39 18:04:11 v2.3.0-dev.4 18:04:11 v2.3.0-dev.40 18:04:11 v2.3.0-dev.41 18:04:11 v2.3.0-dev.42 18:04:11 v2.3.0-dev.43 18:04:11 v2.3.0-dev.44 18:04:11 v2.3.0-dev.45 18:04:11 v2.3.0-dev.5 18:04:11 v2.3.0-dev.6 18:04:11 v2.3.0-dev.7 18:04:11 v2.3.0-dev.8 18:04:11 v2.3.0-dev.9 18:04:11 v2.3.1 18:04:11 v2.3.1-dev.1 18:04:11 v2.3.1-dev.4 18:04:11 v2.3.1-dev.5 18:04:11 v2.3.2-dev.1 18:04:11 v2.3.2-dev.2 18:04:11 v3.0.0-dev.1 18:04:11 v3.0.0-dev.10 18:04:11 v3.0.0-dev.11 18:04:11 v3.0.0-dev.12 18:04:11 v3.0.0-dev.13 18:04:11 v3.0.0-dev.14 18:04:11 v3.0.0-dev.15 18:04:11 v3.0.0-dev.16 18:04:11 v3.0.0-dev.17 18:04:11 v3.0.0-dev.18 18:04:11 v3.0.0-dev.19 18:04:11 v3.0.0-dev.2 18:04:11 v3.0.0-dev.20 18:04:11 v3.0.0-dev.21 18:04:11 v3.0.0-dev.22 18:04:11 v3.0.0-dev.23 18:04:11 v3.0.0-dev.24 18:04:11 v3.0.0-dev.25 18:04:11 v3.0.0-dev.26 18:04:11 v3.0.0-dev.27 18:04:11 v3.0.0-dev.28 18:04:11 v3.0.0-dev.29 18:04:11 v3.0.0-dev.3 18:04:11 v3.0.0-dev.30 18:04:11 v3.0.0-dev.31 18:04:11 v3.0.0-dev.32 18:04:11 v3.0.0-dev.33 18:04:11 v3.0.0-dev.34 18:04:11 v3.0.0-dev.35 18:04:11 v3.0.0-dev.36 18:04:11 v3.0.0-dev.37 18:04:11 v3.0.0-dev.38 18:04:11 v3.0.0-dev.39 18:04:11 v3.0.0-dev.4 18:04:11 v3.0.0-dev.40 18:04:11 v3.0.0-dev.41 18:04:11 v3.0.0-dev.42 18:04:11 v3.0.0-dev.43 18:04:11 v3.0.0-dev.44 18:04:11 v3.0.0-dev.45 18:04:11 v3.0.0-dev.46 18:04:11 v3.0.0-dev.47 18:04:11 v3.0.0-dev.48 18:04:11 v3.0.0-dev.49 18:04:11 v3.0.0-dev.5 18:04:11 v3.0.0-dev.50 18:04:11 v3.0.0-dev.51 18:04:11 v3.0.0-dev.52 18:04:11 v3.0.0-dev.53 18:04:11 v3.0.0-dev.54 18:04:11 v3.0.0-dev.6 18:04:11 v3.0.0-dev.7 18:04:11 v3.0.0-dev.8 18:04:11 v3.0.0-dev.9 [Pipeline] sh 18:04:12 + lftools sign git-tag v3.0.0-dev.54 18:04:12 Signing Git tag with Sigul... 18:04:12 Signing v3.0.0-dev.54 [Pipeline] echo 18:04:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:04:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:04:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:04:13 $ docker stop --time=1 02c618172c67868e09a389f3d9779b7026056f14b154c0ae56f67f61d1a6b641 18:04:14 $ docker rm -f --volumes 02c618172c67868e09a389f3d9779b7026056f14b154c0ae56f67f61d1a6b641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:04:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:15 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:04:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:16 $ docker top 8521069e1cbafbd8ccc12f75c39762b66d8ad70649973c1a98c2d5e60b3f3f98 -eo pid,comm 18:04:16 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:04:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:16 [ssh-agent] Looking for ssh-agent implementation... 18:04:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:16 $ docker exec 8521069e1cbafbd8ccc12f75c39762b66d8ad70649973c1a98c2d5e60b3f3f98 ssh-agent 18:04:16 SSH_AUTH_SOCK=/tmp/ssh-fVdnZarokk8v/agent.31 18:04:16 SSH_AGENT_PID=37 18:04:16 Running ssh-add (command line suppressed) 18:04:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11461387329854467901.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11461387329854467901.key) 18:04:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:16 + git semver bump pre 18:04:17 2023-05-17 18:04:16,965 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:17 2023-05-17 18:04:16,965 [bump_version] DEBUG bumping version:3.0.0-dev.54 on axis:pre with prefix:dev 18:04:17 2023-05-17 18:04:16,965 [bump_version] DEBUG bumped version:3.0.0-dev.55 18:04:17 2023-05-17 18:04:16,966 [write_version] DEBUG write version:3.0.0-dev.55 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:04:17 2023-05-17 18:04:16,966 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:17 2023-05-17 18:04:16,966 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:17 2023-05-17 18:04:16,968 [execute] INFO git cat-file --batch-check 18:04:17 2023-05-17 18:04:16,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:17 2023-05-17 18:04:16,974 [execute] INFO git cat-file --batch 18:04:17 2023-05-17 18:04:16,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:17 2023-05-17 18:04:16,978 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:17 3.0.0-dev.55 [Pipeline] } 18:04:17 $ docker exec --env ******** --env ******** 8521069e1cbafbd8ccc12f75c39762b66d8ad70649973c1a98c2d5e60b3f3f98 ssh-agent -k 18:04:17 unset SSH_AUTH_SOCK; 18:04:17 unset SSH_AGENT_PID; 18:04:17 echo Agent pid 37 killed; 18:04:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:17 + git semver [Pipeline] } 18:04:17 $ docker stop --time=1 8521069e1cbafbd8ccc12f75c39762b66d8ad70649973c1a98c2d5e60b3f3f98 18:04:19 $ docker rm -f --volumes 8521069e1cbafbd8ccc12f75c39762b66d8ad70649973c1a98c2d5e60b3f3f98 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:19 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:20 $ docker top 0086f0c4d69cd80d7b531e57303d596aeffdf40b2b0db15bc90c4c13b1ad311c -eo pid,comm 18:04:20 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:04:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:20 [ssh-agent] Looking for ssh-agent implementation... 18:04:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:20 $ docker exec 0086f0c4d69cd80d7b531e57303d596aeffdf40b2b0db15bc90c4c13b1ad311c ssh-agent 18:04:20 SSH_AUTH_SOCK=/tmp/ssh-xGwec2oUxTOk/agent.33 18:04:20 SSH_AGENT_PID=39 18:04:20 Running ssh-add (command line suppressed) 18:04:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11069153657698324208.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11069153657698324208.key) 18:04:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:20 + git semver push 18:04:21 2023-05-17 18:04:21,015 [run_push] DEBUG push 18:04:21 2023-05-17 18:04:21,016 [execute] INFO git cat-file --batch-check 18:04:21 2023-05-17 18:04:21,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:04:21 2023-05-17 18:04:21,019 [execute] INFO git rev-list 3162d72fa8eb84afe5a43745d702ecdd3ac32658 -- 18:04:21 2023-05-17 18:04:21,019 [execute] DEBUG Popen(['git', 'rev-list', '3162d72fa8eb84afe5a43745d702ecdd3ac32658', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:04:21 2023-05-17 18:04:21,027 [execute] INFO git fetch -v origin 18:04:21 2023-05-17 18:04:21,027 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:04:21 2023-05-17 18:04:21,473 [run_push] DEBUG no remote changes detected 18:04:21 2023-05-17 18:04:21,473 [execute] INFO git push origin semver 18:04:21 2023-05-17 18:04:21,473 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:04:22 2023-05-17 18:04:22,233 [run_push] DEBUG push all version tags 18:04:22 2023-05-17 18:04:22,233 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:04:22 2023-05-17 18:04:22,234 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:04:23 2023-05-17 18:04:22,991 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:04:23 3.0.0-dev.55 [Pipeline] } 18:04:23 $ docker exec --env ******** --env ******** 0086f0c4d69cd80d7b531e57303d596aeffdf40b2b0db15bc90c4c13b1ad311c ssh-agent -k 18:04:23 unset SSH_AUTH_SOCK; 18:04:23 unset SSH_AGENT_PID; 18:04:23 echo Agent pid 39 killed; 18:04:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:23 + git semver [Pipeline] } 18:04:23 $ docker stop --time=1 0086f0c4d69cd80d7b531e57303d596aeffdf40b2b0db15bc90c4c13b1ad311c 18:04:25 $ docker rm -f --volumes 0086f0c4d69cd80d7b531e57303d596aeffdf40b2b0db15bc90c4c13b1ad311c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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:04:25 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:04:25 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:04:25 total 16 18:04:25 drwxr-xr-x 3 root root 4096 May 17 17:53 . 18:04:25 drwxrwxr-x 11 jenkins jenkins 4096 May 17 18:04 .. 18:04:25 drwxr-xr-x 2 root root 4096 May 17 17:53 cost 18:04:25 -rw-r--r-- 1 root root 91 May 17 17:53 cost.csv 18:04:25 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:04:25 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:04:25 total 16 18:04:25 drwxr-xr-x 3 jenkins jenkins 4096 May 17 17:53 . 18:04:25 drwxrwxr-x 11 jenkins jenkins 4096 May 17 18:04 .. 18:04:25 drwxr-xr-x 2 jenkins jenkins 4096 May 17 17:53 cost 18:04:25 -rw-r--r-- 1 jenkins jenkins 91 May 17 17:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:04:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:04:27 ---> package-listing.sh 18:04:27 ++ facter osfamily 18:04:27 ++ tr '[:upper:]' '[:lower:]' 18:04:27 + OS_FAMILY=debian 18:04:27 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:04:27 + START_PACKAGES=/tmp/packages_start.txt 18:04:27 + END_PACKAGES=/tmp/packages_end.txt 18:04:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:04:27 + PACKAGES=/tmp/packages_start.txt 18:04:27 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:04:27 + PACKAGES=/tmp/packages_end.txt 18:04:27 + case "${OS_FAMILY}" in 18:04:27 + dpkg -l 18:04:27 + grep '^ii' 18:04:27 + '[' -f /tmp/packages_start.txt ']' 18:04:27 + '[' -f /tmp/packages_end.txt ']' 18:04:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:04:27 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:04:27 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:04:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:04:27 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:04:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:27 prd-ubuntu20.04-docker-8c-8g-15902 does not seem to be running inside a container 18:04:27 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:04:28 $ docker top dae32369e0afa6fc25e3039ff03254a32edfed52fa20f87ff17489ca7f613ed1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:28 + touch /tmp/pre-build-complete [Pipeline] sh 18:04:28 + mkdir -p /var/log/sysstat [Pipeline] sh 18:04:29 + ls /var/log/sa-host 18:04:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:29 provisioning config files... 18:04:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12332079908017912653tmp [Pipeline] { [Pipeline] echo 18:04:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:04:29 ---> create-netrc.sh [Pipeline] } 18:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:04:29 ---> python-tools-install.sh [Pipeline] echo 18:04:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:04:30 ---> sudo-logs.sh 18:04:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:04:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:04:30 ---> job-cost.sh 18:04:30 lf-activate-venv: SKIPPING 18:04:30 DEBUG: total: 0.2199999988079071 18:04:30 INFO: Retrieving Stack Cost... 18:04:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:31 INFO: Archiving Costs [Pipeline] echo 18:04:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:04:31 ---> logs-deploy.sh 18:04:31 lf-activate-venv: SKIPPING 18:04:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/151 18:04:31 INFO: archiving workspace using pattern(s): 18:04:32 Archives upload complete. 18:04:32 INFO: archiving logs to Nexus