Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f98012d7d0d49bdee7157353e7b34a4041fe70f7 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-ssh51142143978885096.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-ssh4545975186460586980.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-ssh1471873828078513041.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-ssh14997816221660973350.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-ssh2112888682547953679.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-14461’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14462 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 Avoid second fetch Checking out Revision f98012d7d0d49bdee7157353e7b34a4041fe70f7 (main) > 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 Commit message: "Merge pull request #346 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 > git rev-list --no-walk 3c68e390b48f15746d10455ca85b218d19e4928b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:31:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:19 ========================================================= 05:31:19 EdgeX Global Pipelines Version Info 05:31:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:20 ------------------- 05:31:20 stable info: 05:31:20 ------------------- 05:31:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:31:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:31:20 Message: update stable to v1.0.249 05:31:21 ------------------- 05:31:21 experimental info: 05:31:21 ------------------- 05:31:21 Commited By: **** collab-it+edgex@linuxfoundation.org 05:31:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:31:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f98012d [Pipeline] echo 05:31:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:21 provisioning config files... 05:31:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5357784977169199219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:22 ---> docker-login.sh 05:31:22 nexus3.edgexfoundry.org:10001 05:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:22 Configure a credential helper to remove this warning. See 05:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:22 05:31:22 Login Succeeded 05:31:22 nexus3.edgexfoundry.org:10002 05:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:22 Configure a credential helper to remove this warning. See 05:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:22 05:31:22 Login Succeeded 05:31:22 nexus3.edgexfoundry.org:10003 05:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:22 Configure a credential helper to remove this warning. See 05:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:22 05:31:22 Login Succeeded 05:31:22 nexus3.edgexfoundry.org:10004 05:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:22 Configure a credential helper to remove this warning. See 05:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:22 05:31:22 Login Succeeded 05:31:22 docker.io 05:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:22 Configure a credential helper to remove this warning. See 05:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:22 05:31:22 Login Succeeded 05:31:22 ---> docker-login.sh ends [Pipeline] } 05:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:31:23 + git rev-list -1 --merges f98012d7d0d49bdee7157353e7b34a4041fe70f7~1..f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] echo 05:31:23 -----------> git rev-list -1 --merges f98012d7d0d49bdee7157353e7b34a4041fe70f7~1..f98012d7d0d49bdee7157353e7b34a4041fe70f7 f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:31:23 f98012d7d0d49bdee7157353e7b34a4041fe70f7 [false] [Pipeline] sh 05:31:23 + git log --format=format:%s -1 f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] echo 05:31:23 ========================================================= 05:31:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:31:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:24 + git log --format=format:%s -1 f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] echo 05:31:24 [semverPrep] GIT_COMMIT: f98012d7d0d49bdee7157353e7b34a4041fe70f7, Commit Message: Merge pull request #346 from jumpingliu/ignore-go-mods [Pipeline] echo 05:31:24 [semverPrep] This is not a build commit. [Pipeline] sh 05:31:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:24 + grep -v github /etc/ssh/ssh_known_hosts 05:31:24 + [ -e /tmp/ssh_known_hosts ] 05:31:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:31:24 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 05:31:24 -a /etc/ssh/ssh_known_hosts 05:31:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:24 05:31:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:31:25 b85a868b505f: Pulling fs layer 05:31:25 e2be974225ed: Pulling fs layer 05:31:25 339a4e72a1f5: Pulling fs layer 05:31:25 988bab9f4d93: Pulling fs layer 05:31:25 1469e6f7b9e6: Pulling fs layer 05:31:25 eaf3925da568: Pulling fs layer 05:31:25 bab4dde63d76: Pulling fs layer 05:31:25 bde34c3a00c8: Pulling fs layer 05:31:25 b352a97aabf1: Pulling fs layer 05:31:25 4872d77fe225: Pulling fs layer 05:31:25 5851b861e8e6: Pulling fs layer 05:31:25 988bab9f4d93: Waiting 05:31:25 1469e6f7b9e6: Waiting 05:31:25 b352a97aabf1: Waiting 05:31:25 eaf3925da568: Waiting 05:31:25 bab4dde63d76: Waiting 05:31:25 4872d77fe225: Waiting 05:31:25 bde34c3a00c8: Waiting 05:31:25 5851b861e8e6: Waiting 05:31:25 e2be974225ed: Download complete 05:31:25 988bab9f4d93: Verifying Checksum 05:31:25 988bab9f4d93: Download complete 05:31:25 1469e6f7b9e6: Verifying Checksum 05:31:25 1469e6f7b9e6: Download complete 05:31:25 339a4e72a1f5: Verifying Checksum 05:31:25 339a4e72a1f5: Download complete 05:31:25 eaf3925da568: Verifying Checksum 05:31:25 eaf3925da568: Download complete 05:31:25 bde34c3a00c8: Verifying Checksum 05:31:25 bde34c3a00c8: Download complete 05:31:25 b352a97aabf1: Verifying Checksum 05:31:25 4872d77fe225: Verifying Checksum 05:31:25 4872d77fe225: Download complete 05:31:25 5851b861e8e6: Verifying Checksum 05:31:25 5851b861e8e6: Download complete 05:31:25 b85a868b505f: Verifying Checksum 05:31:25 b85a868b505f: Download complete 05:31:25 bab4dde63d76: Verifying Checksum 05:31:25 bab4dde63d76: Download complete 05:31:26 b85a868b505f: Pull complete 05:31:26 e2be974225ed: Pull complete 05:31:27 339a4e72a1f5: Pull complete 05:31:27 988bab9f4d93: Pull complete 05:31:27 1469e6f7b9e6: Pull complete 05:31:27 eaf3925da568: Pull complete 05:31:29 bab4dde63d76: Pull complete 05:31:29 bde34c3a00c8: Pull complete 05:31:29 b352a97aabf1: Pull complete 05:31:29 4872d77fe225: Pull complete 05:31:29 5851b861e8e6: Pull complete 05:31:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:31:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:31:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:29 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:31: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 05:31:32 $ docker top 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db -eo pid,comm 05:31: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). 05:31:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:31:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:32 [ssh-agent] Looking for ssh-agent implementation... 05:31:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:32 $ docker exec 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db ssh-agent 05:31:32 SSH_AUTH_SOCK=/tmp/ssh-Pvp4PpmMEOSt/agent.32 05:31:32 SSH_AGENT_PID=38 05:31:32 Running ssh-add (command line suppressed) 05:31:32 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15438055589748229688.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15438055589748229688.key) 05:31:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:32 + git tag --points-at HEAD [Pipeline] } 05:31:32 $ docker exec --env ******** --env ******** 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db ssh-agent -k 05:31:33 unset SSH_AUTH_SOCK; 05:31:33 unset SSH_AGENT_PID; 05:31:33 echo Agent pid 38 killed; 05:31:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:31:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:31:33 [ssh-agent] Looking for ssh-agent implementation... 05:31:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:31:33 $ docker exec 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db ssh-agent 05:31:33 SSH_AUTH_SOCK=/tmp/ssh-VeMx7t0krxKv/agent.70 05:31:33 SSH_AGENT_PID=76 05:31:33 Running ssh-add (command line suppressed) 05:31:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_171266613855117717.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_171266613855117717.key) 05:31:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:31:33 + git semver init 05:31:34 2023-05-08 05:31:33,952 [run_init] DEBUG init version:0.0.0 force:False 05:31:34 2023-05-08 05:31:33,952 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 05:31:34 2023-05-08 05:31:33,953 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 05:31:34 2023-05-08 05:31:33,953 [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) 05:31:34 2023-05-08 05:31:34,810 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 05:31:34 2023-05-08 05:31:34,811 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 05:31:34 2023-05-08 05:31:34,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:31:34 2023-05-08 05:31:34,811 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:31:34 3.0.0-dev.41 [Pipeline] } 05:31:34 $ docker exec --env ******** --env ******** 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db ssh-agent -k 05:31:35 unset SSH_AUTH_SOCK; 05:31:35 unset SSH_AGENT_PID; 05:31:35 echo Agent pid 76 killed; 05:31:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:31:35 + git semver [Pipeline] } 05:31:35 $ docker stop --time=1 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db 05:31:36 $ docker rm -f --volumes 3ca5216a0ac48a9a679a784d683c9e900690d080c55253a5a458b951354ad1db [Pipeline] // withDockerContainer [Pipeline] sh 05:31:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:31:37 Stashed 1 file(s) [Pipeline] echo 05:31:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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 05:31:37 provisioning config files... 05:31:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11907701721696313111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:37 ---> docker-login.sh 05:31:37 nexus3.edgexfoundry.org:10001 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 nexus3.edgexfoundry.org:10002 05:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:37 Configure a credential helper to remove this warning. See 05:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:37 05:31:37 Login Succeeded 05:31:37 nexus3.edgexfoundry.org:10003 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 nexus3.edgexfoundry.org:10004 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 docker.io 05:31:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:38 Configure a credential helper to remove this warning. See 05:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:38 05:31:38 Login Succeeded 05:31:38 ---> docker-login.sh ends [Pipeline] } 05:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:31:38 ========================================================= 05:31:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:31:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:38 + 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 . 05:31:38 Sending build context to Docker daemon 21.53MB 05:31:38 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:31:38 Step 2/13 : FROM ${BASE} AS builder 05:31:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:31:39 f56be85fc22e: Pulling fs layer 05:31:39 85791d961cd3: Pulling fs layer 05:31:39 d694b5ae8c79: Pulling fs layer 05:31:39 9f32a84ed3da: Pulling fs layer 05:31:39 4d19c01a9841: Pulling fs layer 05:31:39 9325e15d5711: Pulling fs layer 05:31:39 556b6ee489ea: Pulling fs layer 05:31:39 c5a4b2cf53e6: Pulling fs layer 05:31:39 9f32a84ed3da: Waiting 05:31:39 4d19c01a9841: Waiting 05:31:39 556b6ee489ea: Waiting 05:31:39 c5a4b2cf53e6: Waiting 05:31:39 9325e15d5711: Waiting 05:31:39 85791d961cd3: Download complete 05:31:39 9f32a84ed3da: Verifying Checksum 05:31:39 9f32a84ed3da: Download complete 05:31:39 4d19c01a9841: Verifying Checksum 05:31:39 4d19c01a9841: Download complete 05:31:39 f56be85fc22e: Verifying Checksum 05:31:39 f56be85fc22e: Download complete 05:31:39 9325e15d5711: Verifying Checksum 05:31:39 9325e15d5711: Download complete 05:31:39 f56be85fc22e: Pull complete 05:31:39 85791d961cd3: Pull complete 05:31:39 c5a4b2cf53e6: Verifying Checksum 05:31:39 c5a4b2cf53e6: Download complete 05:31:39 d694b5ae8c79: Verifying Checksum 05:31:39 d694b5ae8c79: Download complete 05:31:39 556b6ee489ea: Verifying Checksum 05:31:39 556b6ee489ea: Download complete 05:31:43 d694b5ae8c79: Pull complete 05:31:43 9f32a84ed3da: Pull complete 05:31:43 4d19c01a9841: Pull complete 05:31:43 9325e15d5711: Pull complete 05:31:45 556b6ee489ea: Pull complete 05:31:46 c5a4b2cf53e6: Pull complete 05:31:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:31:46 ---> c4be618373d6 05:31:46 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:31:50 ---> Running in da5091da6133 05:31:50 Removing intermediate container da5091da6133 05:31:50 ---> 875e0afe5926 05:31:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:31:50 ---> Running in edefbd2d272f 05:31:50 Removing intermediate container edefbd2d272f 05:31:50 ---> 248c8a09529f 05:31:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:31:50 ---> Running in aa7e5925c8b0 05:31:50 Removing intermediate container aa7e5925c8b0 05:31:50 ---> 0b1283d2d450 05:31:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:31:50 ---> Running in 3c738ac423bf 05:31:50 Removing intermediate container 3c738ac423bf 05:31:50 ---> b678fb6e897c 05:31:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:31:50 ---> Running in 74fa1e867048 05:31:50 Removing intermediate container 74fa1e867048 05:31:50 ---> a62e1ee3a5c5 05:31:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:31:50 ---> Running in 1a2f42ad5898 05:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:31:51 OK: 265 MiB in 53 packages 05:31:51 Removing intermediate container 1a2f42ad5898 05:31:51 ---> 664dd245941c 05:31:51 Step 9/13 : WORKDIR /device-onvif-camera 05:31:51 ---> Running in d9086515222e 05:31:51 Removing intermediate container d9086515222e 05:31:51 ---> cc464fd32ac1 05:31:51 Step 10/13 : COPY go.mod vendor* ./ 05:31:51 ---> 143a2a6cfe4e 05:31:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:31:51 ---> Running in 4607aa70e56d 05:31:52 Still waiting to schedule task 05:31:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14463’ is offline 05:32:18 Removing intermediate container 4607aa70e56d 05:32:18 ---> 8bce6bc3f1c1 05:32:18 Step 12/13 : COPY . . 05:32:18 ---> d4348fab3a4c 05:32:18 Step 13/13 : RUN ${MAKE} 05:32:18 ---> Running in c269caceaaf2 05:32:18 noop 05:32:18 Removing intermediate container c269caceaaf2 05:32:18 ---> e0a3609dcd88 05:32:18 Successfully built e0a3609dcd88 05:32:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:18 + docker inspect -f . ci-base-image-x86_64 05:32:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:18 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:32:18 $ 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 05:32:18 $ docker top c970d3ea41ee4d311574e0dc872f4a8ef1c4b29168870231a1547575c516695e -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:19 + go version 05:32:19 go version go1.20.2 linux/amd64 [Pipeline] } 05:32:19 $ docker stop --time=1 c970d3ea41ee4d311574e0dc872f4a8ef1c4b29168870231a1547575c516695e 05:32:20 $ docker rm -f --volumes c970d3ea41ee4d311574e0dc872f4a8ef1c4b29168870231a1547575c516695e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:21 + docker inspect -f . ci-base-image-x86_64 05:32:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:21 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:32:21 $ 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 05:32:21 $ docker top 0a6c87d5d5d4add664499cb2d2373e7f79a77b9eeb73874f452ddd0a3f693d31 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:21 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 05:32:22 + make test 05:32:22 go test ./... -coverprofile=coverage.out ./... 05:32:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:32:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:32:37 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:32:39 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 31.1% of statements 05:32:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.355s coverage: 86.5% of statements 05:32:47 go vet ./... 05:32:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:32:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:32:50 ./bin/test-attribution-txt.sh [Pipeline] echo 05:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:32:50 $ docker stop --time=1 0a6c87d5d5d4add664499cb2d2373e7f79a77b9eeb73874f452ddd0a3f693d31 05:32:53 $ docker rm -f --volumes 0a6c87d5d5d4add664499cb2d2373e7f79a77b9eeb73874f452ddd0a3f693d31 [Pipeline] // withDockerContainer [Pipeline] sh 05:32:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:32:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:32:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:32:54 + ls -al . 05:32:54 total 232 05:32:54 drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:32 . 05:32:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 .. 05:32:54 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:31 .git 05:32:54 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:31 .github 05:32:54 -rw-rw-r-- 1 jenkins jenkins 496 May 8 05:31 .gitignore 05:32:54 -rw-rw-r-- 1 jenkins jenkins 42 May 8 05:31 .golangci.yml 05:32:54 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:31 .semver 05:32:54 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 05:31 Attribution.txt 05:32:54 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 05:31 CHANGELOG.md 05:32:54 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 05:31 Dockerfile 05:32:54 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:31 GOVERNANCE.md 05:32:54 -rw-rw-r-- 1 jenkins jenkins 734 May 8 05:31 Jenkinsfile 05:32:54 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 05:31 LICENSE 05:32:54 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 05:31 Makefile 05:32:54 -rw-rw-r-- 1 jenkins jenkins 625 May 8 05:31 OWNERS.md 05:32:54 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 05:31 README.md 05:32:54 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:31 VERSION 05:32:54 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:31 bin 05:32:54 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:31 cmd 05:32:54 -rw-r--r-- 1 jenkins jenkins 79191 May 8 05:32 coverage.out 05:32:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 doc 05:32:54 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 05:31 go.mod 05:32:54 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 05:31 go.sum 05:32:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 internal 05:32:54 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:31 snap 05:32:54 -rw-rw-r-- 1 jenkins jenkins 236 May 8 05:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:55 + 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=f98012d7d0d49bdee7157353e7b34a4041fe70f7 --label arch=amd64 --label version=3.0.0-dev.41 . 05:32:55 Sending build context to Docker daemon 21.61MB 05:32:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:32:55 Step 2/26 : FROM ${BASE} AS builder 05:32:55 ---> e0a3609dcd88 05:32:55 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:32:55 ---> Running in eab556f05d44 05:32:55 Removing intermediate container eab556f05d44 05:32:55 ---> 52bf947e3a34 05:32:55 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:32:55 ---> Running in e1584d6b15f5 05:32:55 Removing intermediate container e1584d6b15f5 05:32:55 ---> ca1a779df624 05:32:55 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 05:32:55 ---> Running in 8f086495feec 05:32:55 Removing intermediate container 8f086495feec 05:32:55 ---> c2f01758782e 05:32:55 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:32:55 ---> Running in d14c7ef82876 05:32:55 Removing intermediate container d14c7ef82876 05:32:55 ---> ec49bf414d21 05:32:55 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:32:55 ---> Running in 9f554c53fd12 05:32:55 Removing intermediate container 9f554c53fd12 05:32:55 ---> c987fdb56ede 05:32:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:32:55 ---> Running in fb132d38ff27 05:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:32:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:32:56 OK: 265 MiB in 53 packages 05:32:56 Removing intermediate container fb132d38ff27 05:32:56 ---> b32eea663196 05:32:56 Step 9/26 : WORKDIR /device-onvif-camera 05:32:56 ---> Running in 10ea084754f3 05:32:56 Removing intermediate container 10ea084754f3 05:32:56 ---> 675f8c900264 05:32:56 Step 10/26 : COPY go.mod vendor* ./ 05:32:56 ---> dfb8bfd26011 05:32:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:56 ---> Running in fc1c888b61c4 05:32:57 Removing intermediate container fc1c888b61c4 05:32:57 ---> 7e9b94a36c56 05:32:57 Step 12/26 : COPY . . 05:32:58 ---> 27df3c4f41bc 05:32:58 Step 13/26 : RUN ${MAKE} 05:32:58 ---> Running in 831ca86b19b6 05:32:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 05:33:16 Removing intermediate container 831ca86b19b6 05:33:16 ---> 7467cd3a1510 05:33:16 Step 14/26 : FROM alpine:3.17 05:33:17 3.17: Pulling from library/alpine 05:33:17 f56be85fc22e: Already exists 05:33:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:33:17 Status: Downloaded newer image for alpine:3.17 05:33:17 ---> 9ed4aefc74f6 05:33:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:33:17 ---> Running in a7e79119815c 05:33:17 Removing intermediate container a7e79119815c 05:33:17 ---> 200649200379 05:33:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:33:17 ---> Running in fbbb94933b17 05:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:33:17 (1/1) Installing dumb-init (1.2.5-r2) 05:33:17 Executing busybox-1.35.0-r29.trigger 05:33:17 OK: 7 MiB in 16 packages 05:33:18 Removing intermediate container fbbb94933b17 05:33:18 ---> d13aebb8737b 05:33:18 Step 17/26 : WORKDIR / 05:33:18 ---> Running in d61ff4d0cd29 05:33:18 Removing intermediate container d61ff4d0cd29 05:33:18 ---> 71cef1442341 05:33:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:33:18 ---> aa390d83e542 05:33:18 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:33:19 ---> 1e06c88ee72b 05:33:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:33:19 ---> 8f2bf76b971d 05:33:19 Step 21/26 : EXPOSE 59984 05:33:19 ---> Running in 67d90a05dcaf 05:33:19 Removing intermediate container 67d90a05dcaf 05:33:19 ---> c27faff09e99 05:33:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:33:19 ---> Running in b6886e368b49 05:33:19 Removing intermediate container b6886e368b49 05:33:19 ---> 8436abfdcb7a 05:33:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:33:19 ---> Running in 3816a9bbf0c4 05:33:19 Removing intermediate container 3816a9bbf0c4 05:33:19 ---> e71bfc5fed99 05:33:19 Step 24/26 : LABEL arch=amd64 05:33:19 ---> Running in ef9fa7df08c2 05:33:19 Removing intermediate container ef9fa7df08c2 05:33:19 ---> a9442b9255a4 05:33:19 Step 25/26 : LABEL git_sha=f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:33:19 ---> Running in a5880861e11f 05:33:19 Removing intermediate container a5880861e11f 05:33:19 ---> c9b27305af50 05:33:19 Step 26/26 : LABEL version=3.0.0-dev.41 05:33:19 ---> Running in 55ccdfa7dfad 05:33:19 Removing intermediate container 55ccdfa7dfad 05:33:19 ---> ce0615a70dd3 05:33:19 [Warning] One or more build-args [ARCH] were not consumed 05:33:19 Successfully built ce0615a70dd3 05:33:19 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 05:33:19 provisioning config files... 05:33:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17001008650164427723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:20 ---> docker-login.sh 05:33:20 nexus3.edgexfoundry.org:10001 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10002 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10003 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 nexus3.edgexfoundry.org:10004 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 docker.io 05:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:33:20 Configure a credential helper to remove this warning. See 05:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:33:20 05:33:20 Login Succeeded 05:33:20 ---> docker-login.sh ends [Pipeline] } 05:33:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:33:20 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 05:33:20 f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:33:20 latest 05:33:20 3.0.0-dev.41 05:33:20 f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:33:20 main 05:33:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:20 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:33:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:33:21 141c8831b225: Preparing 05:33:21 692fd4451e21: Preparing 05:33:21 8ed4b3af386b: Preparing 05:33:21 157e1406a8d6: Preparing 05:33:21 f1417ff83b31: Preparing 05:33:21 f1417ff83b31: Layer already exists 05:33:21 157e1406a8d6: Pushed 05:33:21 692fd4451e21: Pushed 05:33:21 141c8831b225: Pushed 05:33:23 8ed4b3af386b: Pushed 05:33:24 f98012d7d0d49bdee7157353e7b34a4041fe70f7: digest: sha256:cee5620ff10ebc23077f12e49b1014b014d1e492327be1f916aa6a6110f0e88b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:33:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:33:24 141c8831b225: Preparing 05:33:24 692fd4451e21: Preparing 05:33:24 8ed4b3af386b: Preparing 05:33:24 157e1406a8d6: Preparing 05:33:24 f1417ff83b31: Preparing 05:33:24 692fd4451e21: Layer already exists 05:33:24 141c8831b225: Layer already exists 05:33:24 f1417ff83b31: Layer already exists 05:33:24 157e1406a8d6: Layer already exists 05:33:24 8ed4b3af386b: Layer already exists 05:33:24 latest: digest: sha256:cee5620ff10ebc23077f12e49b1014b014d1e492327be1f916aa6a6110f0e88b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.41 05:33:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:33:25 141c8831b225: Preparing 05:33:25 692fd4451e21: Preparing 05:33:25 8ed4b3af386b: Preparing 05:33:25 157e1406a8d6: Preparing 05:33:25 f1417ff83b31: Preparing 05:33:25 157e1406a8d6: Layer already exists 05:33:25 f1417ff83b31: Layer already exists 05:33:25 8ed4b3af386b: Layer already exists 05:33:25 692fd4451e21: Layer already exists 05:33:25 141c8831b225: Layer already exists 05:33:25 3.0.0-dev.41: digest: sha256:cee5620ff10ebc23077f12e49b1014b014d1e492327be1f916aa6a6110f0e88b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:33:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:33:25 141c8831b225: Preparing 05:33:25 692fd4451e21: Preparing 05:33:25 8ed4b3af386b: Preparing 05:33:25 157e1406a8d6: Preparing 05:33:25 f1417ff83b31: Preparing 05:33:25 8ed4b3af386b: Layer already exists 05:33:25 f1417ff83b31: Layer already exists 05:33:25 141c8831b225: Layer already exists 05:33:25 157e1406a8d6: Layer already exists 05:33:25 692fd4451e21: Layer already exists 05:33:25 f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41: digest: sha256:cee5620ff10ebc23077f12e49b1014b014d1e492327be1f916aa6a6110f0e88b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 05:33:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 05:33:26 141c8831b225: Preparing 05:33:26 692fd4451e21: Preparing 05:33:26 8ed4b3af386b: Preparing 05:33:26 157e1406a8d6: Preparing 05:33:26 f1417ff83b31: Preparing 05:33:26 692fd4451e21: Layer already exists 05:33:26 141c8831b225: Layer already exists 05:33:26 157e1406a8d6: Layer already exists 05:33:26 8ed4b3af386b: Layer already exists 05:33:26 f1417ff83b31: Layer already exists 05:33:26 main: digest: sha256:cee5620ff10ebc23077f12e49b1014b014d1e492327be1f916aa6a6110f0e88b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:33:26 ===================================================== [Pipeline] echo 05:33:26 taggedImages: 05:33:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:33:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 05:33:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.41 05:33:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:33:26 - 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 05:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:26 05:33:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:27 latest: Pulling from edgex-lftools-log-publisher 05:33:27 5eb5b503b376: Pulling fs layer 05:33:27 5c69ac0246d0: Pulling fs layer 05:33:27 ec43610c2a17: Pulling fs layer 05:33:27 3a2ae6a8a46f: Pulling fs layer 05:33:27 33b1e0a273af: Pulling fs layer 05:33:27 5d3b04190fa2: Pulling fs layer 05:33:27 2f39f015ded8: Pulling fs layer 05:33:27 3a2ae6a8a46f: Waiting 05:33:27 33b1e0a273af: Waiting 05:33:27 5d3b04190fa2: Waiting 05:33:27 2f39f015ded8: Waiting 05:33:27 5c69ac0246d0: Download complete 05:33:27 3a2ae6a8a46f: Download complete 05:33:27 33b1e0a273af: Verifying Checksum 05:33:27 33b1e0a273af: Download complete 05:33:27 ec43610c2a17: Verifying Checksum 05:33:27 ec43610c2a17: Download complete 05:33:27 5d3b04190fa2: Verifying Checksum 05:33:27 5d3b04190fa2: Download complete 05:33:27 5eb5b503b376: Verifying Checksum 05:33:27 5eb5b503b376: Download complete 05:33:28 2f39f015ded8: Download complete 05:33:28 5eb5b503b376: Pull complete 05:33:28 5c69ac0246d0: Pull complete 05:33:29 ec43610c2a17: Pull complete 05:33:29 3a2ae6a8a46f: Pull complete 05:33:29 33b1e0a273af: Pull complete 05:33:29 5d3b04190fa2: Pull complete 05:33:33 2f39f015ded8: Pull complete 05:33:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:33:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:34 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:33:34 $ 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 05:33:37 $ docker top 18a0a9510c9c00e4bbcb115c2b7b2b09650d4f9eb059f28c3a936cd7ee068a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:37 ---> job-cost.sh 05:33:37 lf-activate-venv: SKIPPING 05:33:37 INFO: No Stack... 05:33:37 INFO: Retrieving Pricing Info for: v3-standard-8 05:33:37 INFO: Archiving Costs [Pipeline] sh 05:33:38 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 05:33:38 + cut -d, -f6 [Pipeline] lock 05:33:38 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] 05:33:38 Resource [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] did not exist. Created. 05:33:38 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:38 + echo total: 0.2199999988079071 [Pipeline] stash 05:33:38 Stashed 1 file(s) [Pipeline] } 05:33:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:38 $ docker stop --time=1 18a0a9510c9c00e4bbcb115c2b7b2b09650d4f9eb059f28c3a936cd7ee068a1c 05:33:39 $ docker rm -f --volumes 18a0a9510c9c00e4bbcb115c2b7b2b09650d4f9eb059f28c3a936cd7ee068a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:34:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14468 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 05:34:05 Running in /w/workspace/device-onvif-camera/137 [Pipeline] { [Pipeline] checkout 05:34:05 The recommended git tool is: git 05:34:12 using credential edgex-jenkins-ssh 05:34:12 Cloning the remote Git repository 05:34:12 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 05:34:13 > git init /w/workspace/device-onvif-camera/137 # timeout=10 05:34:13 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 05:34:13 > git --version # timeout=10 05:34:13 > git --version # 'git version 2.25.1' 05:34:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:15 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 05:34:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:16 Avoid second fetch 05:34:16 Checking out Revision f98012d7d0d49bdee7157353e7b34a4041fe70f7 (main) 05:34:16 Commit message: "Merge pull request #346 from jumpingliu/ignore-go-mods" 05:34:16 > git config core.sparsecheckout # timeout=10 05:34:16 > git checkout -f f98012d7d0d49bdee7157353e7b34a4041fe70f7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:34:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:34:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:34:17 Dload Upload Total Spent Left Speed 05:34:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 05:34:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:34:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:34:18 + sudo tee /etc/docker/daemon.new 05:34:18 { 05:34:18 "registry-mirrors": [ 05:34:18 "https://nexus3.edgexfoundry.org:10001" 05:34:18 ], 05:34:18 "bip": "10.250.0.254/24", 05:34:18 "hosts": [ 05:34:18 "tcp://0.0.0.0:5555", 05:34:18 "unix:///var/run/docker.sock" 05:34:18 ], 05:34:18 "mtu": 1458, 05:34:18 "selinux-enabled": true, 05:34:18 "seccomp-profile": "/etc/docker/seccomp.json" 05:34:18 } [Pipeline] sh 05:34:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:34:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:41 provisioning config files... 05:34:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/137@tmp/config11377826947725269073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:42 ---> docker-login.sh 05:34:42 nexus3.edgexfoundry.org:10001 05:34:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:42 Configure a credential helper to remove this warning. See 05:34:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:42 05:34:42 Login Succeeded 05:34:42 nexus3.edgexfoundry.org:10002 05:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:43 Configure a credential helper to remove this warning. See 05:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:43 05:34:43 Login Succeeded 05:34:43 nexus3.edgexfoundry.org:10003 05:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:43 Configure a credential helper to remove this warning. See 05:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:43 05:34:43 Login Succeeded 05:34:43 nexus3.edgexfoundry.org:10004 05:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:43 Configure a credential helper to remove this warning. See 05:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:43 05:34:43 Login Succeeded 05:34:43 docker.io 05:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:44 Configure a credential helper to remove this warning. See 05:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:44 05:34:44 Login Succeeded 05:34:44 ---> docker-login.sh ends [Pipeline] } 05:34:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:34:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:34:44 ========================================================= 05:34:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:34:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:45 + 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 . 05:34:45 Sending build context to Docker daemon 14.18MB 05:34:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 05:34:45 Step 2/13 : FROM ${BASE} AS builder 05:34:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:34:45 c41833b44d91: Pulling fs layer 05:34:45 ed15518f5707: Pulling fs layer 05:34:45 feae8fd75edb: Pulling fs layer 05:34:45 242c74f7c9fa: Pulling fs layer 05:34:45 3cdef696dda3: Pulling fs layer 05:34:45 2ced38df9373: Pulling fs layer 05:34:45 58f1dce35555: Pulling fs layer 05:34:45 2ced38df9373: Waiting 05:34:45 242c74f7c9fa: Waiting 05:34:45 58f1dce35555: Waiting 05:34:45 3cdef696dda3: Waiting 05:34:45 ed15518f5707: Download complete 05:34:45 242c74f7c9fa: Verifying Checksum 05:34:45 242c74f7c9fa: Download complete 05:34:45 3cdef696dda3: Verifying Checksum 05:34:45 3cdef696dda3: Download complete 05:34:45 c41833b44d91: Verifying Checksum 05:34:45 c41833b44d91: Download complete 05:34:46 c41833b44d91: Pull complete 05:34:47 58f1dce35555: Verifying Checksum 05:34:47 58f1dce35555: Download complete 05:34:47 ed15518f5707: Pull complete 05:34:48 feae8fd75edb: Verifying Checksum 05:34:48 feae8fd75edb: Download complete 05:34:48 2ced38df9373: Verifying Checksum 05:34:48 2ced38df9373: Download complete 05:34:58 feae8fd75edb: Pull complete 05:34:59 242c74f7c9fa: Pull complete 05:34:59 3cdef696dda3: Pull complete 05:35:06 2ced38df9373: Pull complete 05:35:08 58f1dce35555: Pull complete 05:35:08 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:35:08 ---> fadd8f120f05 05:35:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 05:35:10 ---> Running in 9b03f2c25ff6 05:35:10 Removing intermediate container 9b03f2c25ff6 05:35:10 ---> 88eee82419f8 05:35:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:35:10 ---> Running in b1d78cd5cab8 05:35:11 Removing intermediate container b1d78cd5cab8 05:35:11 ---> cc1fdcdd60c4 05:35:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 05:35:11 ---> Running in 587eb562c5d9 05:35:11 Removing intermediate container 587eb562c5d9 05:35:11 ---> 8cbff1d29cb9 05:35:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 05:35:11 ---> Running in 6fa8b13e730c 05:35:11 Removing intermediate container 6fa8b13e730c 05:35:11 ---> cd926e97b6c8 05:35:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 05:35:11 ---> Running in 8ad4dd0d9416 05:35:12 Removing intermediate container 8ad4dd0d9416 05:35:12 ---> fbd2fb954709 05:35:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:35:12 ---> Running in 6d7d3031b4c9 05:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:35:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:35:15 OK: 263 MiB in 53 packages 05:35:16 Removing intermediate container 6d7d3031b4c9 05:35:16 ---> 7f4266b4f098 05:35:16 Step 9/13 : WORKDIR /device-onvif-camera 05:35:16 ---> Running in 170c587f9136 05:35:16 Removing intermediate container 170c587f9136 05:35:16 ---> 54ae15dfd07e 05:35:16 Step 10/13 : COPY go.mod vendor* ./ 05:35:17 ---> d9e02b9d6c5b 05:35:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:35:17 ---> Running in 01815869e0e5 05:36:25 Removing intermediate container 01815869e0e5 05:36:25 ---> 56375cd99360 05:36:25 Step 12/13 : COPY . . 05:36:25 ---> 885609065d49 05:36:25 Step 13/13 : RUN ${MAKE} 05:36:25 ---> Running in 8f7c5720fdd5 05:36:25 noop 05:36:25 Removing intermediate container 8f7c5720fdd5 05:36:25 ---> e45357b36605 05:36:25 Successfully built e45357b36605 05:36:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:25 + docker inspect -f . ci-base-image-arm64 05:36:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:25 prd-ubuntu20.04-docker-arm64-4c-16g-14468 does not seem to be running inside a container 05:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/137 -v /w/workspace/device-onvif-camera/137:/w/workspace/device-onvif-camera/137:rw,z -v /w/workspace/device-onvif-camera/137@tmp:/w/workspace/device-onvif-camera/137@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 05:36:27 $ docker top ad5a7e95ec8a25426e3cf888b8b76a05deed265bea6836de759bbd69207426e1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:27 + go version 05:36:27 go version go1.20.2 linux/arm64 [Pipeline] } 05:36:27 $ docker stop --time=1 ad5a7e95ec8a25426e3cf888b8b76a05deed265bea6836de759bbd69207426e1 05:36:29 $ docker rm -f --volumes ad5a7e95ec8a25426e3cf888b8b76a05deed265bea6836de759bbd69207426e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:30 + docker inspect -f . ci-base-image-arm64 05:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:30 prd-ubuntu20.04-docker-arm64-4c-16g-14468 does not seem to be running inside a container 05:36:30 $ 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/137 -v /w/workspace/device-onvif-camera/137:/w/workspace/device-onvif-camera/137:rw,z -v /w/workspace/device-onvif-camera/137@tmp:/w/workspace/device-onvif-camera/137@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 05:36:31 $ docker top a649f591cf293b01cdec5aec0bf7c28a6f5b264d8b4a883e546b32907e12bfed -eo pid,comm [Pipeline] { [Pipeline] sh 05:36:32 + git config --global --add safe.directory /w/workspace/device-onvif-camera/137 [Pipeline] fileExists [Pipeline] sh 05:36:33 + make test 05:36:33 go test ./... -coverprofile=coverage.out ./... 05:37:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 05:39:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 05:39:48 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 05:39:48 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.210s coverage: 31.1% of statements 05:39:58 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.479s coverage: 86.5% of statements 05:39:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:39:58 go vet ./... 05:40:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:40:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:40:31 ./bin/test-attribution-txt.sh [Pipeline] echo 05:40:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:40:31 $ docker stop --time=1 a649f591cf293b01cdec5aec0bf7c28a6f5b264d8b4a883e546b32907e12bfed 05:40:33 $ docker rm -f --volumes a649f591cf293b01cdec5aec0bf7c28a6f5b264d8b4a883e546b32907e12bfed [Pipeline] // withDockerContainer [Pipeline] sh 05:40:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:40:34 Warning: overwriting stash ‘coverage-report’ 05:40:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:40:35 + ls -al . 05:40:35 total 228 05:40:35 drwxrwxr-x 9 jenkins jenkins 4096 May 8 05:36 . 05:40:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:34 .. 05:40:35 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:34 .git 05:40:35 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:34 .github 05:40:35 -rw-rw-r-- 1 jenkins jenkins 496 May 8 05:34 .gitignore 05:40:35 -rw-rw-r-- 1 jenkins jenkins 42 May 8 05:34 .golangci.yml 05:40:35 -rw-rw-r-- 1 jenkins jenkins 10087 May 8 05:34 Attribution.txt 05:40:35 -rw-rw-r-- 1 jenkins jenkins 6312 May 8 05:34 CHANGELOG.md 05:40:35 -rw-rw-r-- 1 jenkins jenkins 1574 May 8 05:34 Dockerfile 05:40:35 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:34 GOVERNANCE.md 05:40:35 -rw-rw-r-- 1 jenkins jenkins 734 May 8 05:34 Jenkinsfile 05:40:35 -rw-rw-r-- 1 jenkins jenkins 11348 May 8 05:34 LICENSE 05:40:35 -rw-rw-r-- 1 jenkins jenkins 2751 May 8 05:34 Makefile 05:40:35 -rw-rw-r-- 1 jenkins jenkins 625 May 8 05:34 OWNERS.md 05:40:35 -rw-rw-r-- 1 jenkins jenkins 2591 May 8 05:34 README.md 05:40:35 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:31 VERSION 05:40:35 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:34 bin 05:40:35 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:34 cmd 05:40:35 -rw-r--r-- 1 jenkins jenkins 79191 May 8 05:39 coverage.out 05:40:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:34 doc 05:40:35 -rw-rw-r-- 1 jenkins jenkins 3642 May 8 05:34 go.mod 05:40:35 -rw-rw-r-- 1 jenkins jenkins 33491 May 8 05:34 go.sum 05:40:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:34 internal 05:40:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:34 snap 05:40:35 -rw-rw-r-- 1 jenkins jenkins 236 May 8 05:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:36 + 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=f98012d7d0d49bdee7157353e7b34a4041fe70f7 --label arch=arm64 --label version=3.0.0-dev.41 . 05:40:36 Sending build context to Docker daemon 14.26MB 05:40:36 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:40:36 Step 2/26 : FROM ${BASE} AS builder 05:40:36 ---> e45357b36605 05:40:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 05:40:36 ---> Running in e96fd7f49a33 05:40:36 Removing intermediate container e96fd7f49a33 05:40:36 ---> f610a6b139b7 05:40:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:40:37 ---> Running in c902d8b1c564 05:40:37 Removing intermediate container c902d8b1c564 05:40:37 ---> c1d57b0d92f9 05:40:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 05:40:37 ---> Running in 68797a63ef32 05:40:37 Removing intermediate container 68797a63ef32 05:40:37 ---> f9cd2c60d4a5 05:40:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 05:40:38 ---> Running in 7a9a2a8c2226 05:40:38 Removing intermediate container 7a9a2a8c2226 05:40:38 ---> cc15c6b67a2f 05:40:38 Step 7/26 : LABEL Name=edgex-device-onvif-camera 05:40:38 ---> Running in f9fc8563ee09 05:40:38 Removing intermediate container f9fc8563ee09 05:40:38 ---> 90ec7a68d210 05:40:38 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:40:38 ---> Running in 2568a9566d43 05:40:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:40:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:40:42 OK: 263 MiB in 53 packages 05:40:43 Removing intermediate container 2568a9566d43 05:40:43 ---> f16436efefcb 05:40:43 Step 9/26 : WORKDIR /device-onvif-camera 05:40:43 ---> Running in ddfa66529e85 05:40:43 Removing intermediate container ddfa66529e85 05:40:43 ---> 6f95c5b98b23 05:40:43 Step 10/26 : COPY go.mod vendor* ./ 05:40:44 ---> ecf608ca1f85 05:40:44 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:44 ---> Running in b84f6b23aa3f 05:40:48 Removing intermediate container b84f6b23aa3f 05:40:48 ---> 7844f4d3f05d 05:40:48 Step 12/26 : COPY . . 05:40:48 ---> b07951b18d79 05:40:48 Step 13/26 : RUN ${MAKE} 05:40:48 ---> Running in c338ee66546f 05:40:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.41" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 05:43:42 Removing intermediate container c338ee66546f 05:43:42 ---> 3691e89fd7ce 05:43:42 Step 14/26 : FROM alpine:3.17 05:43:42 3.17: Pulling from library/alpine 05:43:42 c41833b44d91: Already exists 05:43:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:43:42 Status: Downloaded newer image for alpine:3.17 05:43:42 ---> 51e60588ff2c 05:43:42 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 05:43:42 ---> Running in cd6b08ec44cb 05:43:42 Removing intermediate container cd6b08ec44cb 05:43:42 ---> da00eade1b54 05:43:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 05:43:42 ---> Running in e48ec7949c55 05:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:43:42 (1/1) Installing dumb-init (1.2.5-r2) 05:43:42 Executing busybox-1.35.0-r29.trigger 05:43:42 OK: 8 MiB in 16 packages 05:43:42 Removing intermediate container e48ec7949c55 05:43:42 ---> 602adb14610b 05:43:42 Step 17/26 : WORKDIR / 05:43:42 ---> Running in 42a2212687a2 05:43:42 Removing intermediate container 42a2212687a2 05:43:42 ---> f18b1c6940c8 05:43:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 05:43:44 ---> 80e3d7cf1069 05:43:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 05:43:44 ---> 9b84ba2bb19e 05:43:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 05:43:45 ---> 4d10eb674910 05:43:45 Step 21/26 : EXPOSE 59984 05:43:45 ---> Running in 485f9cfb672b 05:43:45 Removing intermediate container 485f9cfb672b 05:43:45 ---> dc3529345a11 05:43:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 05:43:45 ---> Running in 4b7026845596 05:43:46 Removing intermediate container 4b7026845596 05:43:46 ---> 1a5a433303b5 05:43:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:43:46 ---> Running in 028ede3701a0 05:43:46 Removing intermediate container 028ede3701a0 05:43:46 ---> c8caab52f8ff 05:43:46 Step 24/26 : LABEL arch=arm64 05:43:46 ---> Running in 4daab3400851 05:43:46 Removing intermediate container 4daab3400851 05:43:46 ---> 7d6372a333ad 05:43:46 Step 25/26 : LABEL git_sha=f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:43:46 ---> Running in ee16dcf646a1 05:43:47 Removing intermediate container ee16dcf646a1 05:43:47 ---> 69d7ec2e87f8 05:43:47 Step 26/26 : LABEL version=3.0.0-dev.41 05:43:47 ---> Running in c2bdc4345e38 05:43:47 Removing intermediate container c2bdc4345e38 05:43:47 ---> a7d6e97ab265 05:43:47 [Warning] One or more build-args [ARCH] were not consumed 05:43:47 Successfully built a7d6e97ab265 05:43:47 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 05:43:47 provisioning config files... 05:43:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/137@tmp/config4765111048672545760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:47 ---> docker-login.sh 05:43:47 nexus3.edgexfoundry.org:10001 05:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 nexus3.edgexfoundry.org:10002 05:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:48 Configure a credential helper to remove this warning. See 05:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:48 05:43:48 Login Succeeded 05:43:48 nexus3.edgexfoundry.org:10003 05:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:49 Configure a credential helper to remove this warning. See 05:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:49 05:43:49 Login Succeeded 05:43:49 nexus3.edgexfoundry.org:10004 05:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:49 Configure a credential helper to remove this warning. See 05:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:49 05:43:49 Login Succeeded 05:43:49 docker.io 05:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:49 Configure a credential helper to remove this warning. See 05:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:49 05:43:49 Login Succeeded 05:43:50 ---> docker-login.sh ends [Pipeline] } 05:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:50 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 05:43:50 f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:43:50 latest 05:43:50 3.0.0-dev.41 05:43:50 f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:43:50 main 05:43:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:50 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:43:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:43:51 85f9a467791e: Preparing 05:43:51 5d0d48653494: Preparing 05:43:51 5251a677fc56: Preparing 05:43:51 a1d412830ab1: Preparing 05:43:51 26cbea5cba74: Preparing 05:43:51 26cbea5cba74: Layer already exists 05:43:51 5d0d48653494: Pushed 05:43:51 85f9a467791e: Pushed 05:43:51 a1d412830ab1: Pushed 05:43:58 5251a677fc56: Pushed 05:43:58 f98012d7d0d49bdee7157353e7b34a4041fe70f7: digest: sha256:8fc35e6a49486fef1c28a72ce193a9cd0374ec36f7adea53f5c7865b14c76d8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:58 + 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 05:43:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 05:43:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:43:58 85f9a467791e: Preparing 05:43:58 5d0d48653494: Preparing 05:43:58 5251a677fc56: Preparing 05:43:58 a1d412830ab1: Preparing 05:43:58 26cbea5cba74: Preparing 05:43:58 26cbea5cba74: Layer already exists 05:43:58 5251a677fc56: Layer already exists 05:43:58 5d0d48653494: Layer already exists 05:43:58 a1d412830ab1: Layer already exists 05:43:58 85f9a467791e: Layer already exists 05:43:59 latest: digest: sha256:8fc35e6a49486fef1c28a72ce193a9cd0374ec36f7adea53f5c7865b14c76d8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:59 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:43:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.41 05:43:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:43:59 85f9a467791e: Preparing 05:43:59 5d0d48653494: Preparing 05:43:59 5251a677fc56: Preparing 05:43:59 a1d412830ab1: Preparing 05:43:59 26cbea5cba74: Preparing 05:43:59 85f9a467791e: Layer already exists 05:43:59 5251a677fc56: Layer already exists 05:43:59 26cbea5cba74: Layer already exists 05:43:59 5d0d48653494: Layer already exists 05:43:59 a1d412830ab1: Layer already exists 05:43:59 3.0.0-dev.41: digest: sha256:8fc35e6a49486fef1c28a72ce193a9cd0374ec36f7adea53f5c7865b14c76d8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:00 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:44:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:44:00 85f9a467791e: Preparing 05:44:00 5d0d48653494: Preparing 05:44:00 5251a677fc56: Preparing 05:44:00 a1d412830ab1: Preparing 05:44:00 26cbea5cba74: Preparing 05:44:00 85f9a467791e: Layer already exists 05:44:00 26cbea5cba74: Layer already exists 05:44:00 a1d412830ab1: Layer already exists 05:44:00 5d0d48653494: Layer already exists 05:44:00 5251a677fc56: Layer already exists 05:44:00 f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41: digest: sha256:8fc35e6a49486fef1c28a72ce193a9cd0374ec36f7adea53f5c7865b14c76d8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:01 + 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 05:44:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 05:44:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 05:44:01 85f9a467791e: Preparing 05:44:01 5d0d48653494: Preparing 05:44:01 5251a677fc56: Preparing 05:44:01 a1d412830ab1: Preparing 05:44:01 26cbea5cba74: Preparing 05:44:01 5d0d48653494: Layer already exists 05:44:01 85f9a467791e: Layer already exists 05:44:01 a1d412830ab1: Layer already exists 05:44:01 26cbea5cba74: Layer already exists 05:44:01 5251a677fc56: Layer already exists 05:44:01 main: digest: sha256:8fc35e6a49486fef1c28a72ce193a9cd0374ec36f7adea53f5c7865b14c76d8e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:02 ===================================================== [Pipeline] echo 05:44:02 taggedImages: 05:44:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7 05:44:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 05:44:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.41 05:44:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f98012d7d0d49bdee7157353e7b34a4041fe70f7-3.0.0-dev.41 05:44:02 - 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 05:44:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:02 05:44:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:05 arm64: Pulling from edgex-lftools-log-publisher 05:44:05 8998bd30e6a1: Pulling fs layer 05:44:05 04944245beec: Pulling fs layer 05:44:05 699f458cf7ca: Pulling fs layer 05:44:05 765212b225bb: Pulling fs layer 05:44:05 f23df028b6ca: Pulling fs layer 05:44:05 d65c8cfc05b1: Pulling fs layer 05:44:05 2437ff75d9bd: Pulling fs layer 05:44:05 f23df028b6ca: Waiting 05:44:05 d65c8cfc05b1: Waiting 05:44:05 2437ff75d9bd: Waiting 05:44:05 765212b225bb: Waiting 05:44:05 04944245beec: Verifying Checksum 05:44:05 04944245beec: Download complete 05:44:05 765212b225bb: Verifying Checksum 05:44:05 765212b225bb: Download complete 05:44:05 f23df028b6ca: Verifying Checksum 05:44:05 f23df028b6ca: Download complete 05:44:05 d65c8cfc05b1: Verifying Checksum 05:44:05 d65c8cfc05b1: Download complete 05:44:05 699f458cf7ca: Verifying Checksum 05:44:05 699f458cf7ca: Download complete 05:44:05 8998bd30e6a1: Download complete 05:44:08 2437ff75d9bd: Verifying Checksum 05:44:08 2437ff75d9bd: Download complete 05:44:09 8998bd30e6a1: Pull complete 05:44:10 04944245beec: Pull complete 05:44:11 699f458cf7ca: Pull complete 05:44:11 765212b225bb: Pull complete 05:44:12 f23df028b6ca: Pull complete 05:44:13 d65c8cfc05b1: Pull complete 05:44:28 2437ff75d9bd: Pull complete 05:44:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:44:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:28 prd-ubuntu20.04-docker-arm64-4c-16g-14468 does not seem to be running inside a container 05:44:28 $ 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/137 -v /w/workspace/device-onvif-camera/137:/w/workspace/device-onvif-camera/137:rw,z -v /w/workspace/device-onvif-camera/137@tmp:/w/workspace/device-onvif-camera/137@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 05:44:33 $ docker top b483a4f4c95c87fa1610d6ea55876a9a7c5574eec7587930a81fa8bfef85108e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:34 ---> job-cost.sh 05:44:34 lf-activate-venv: SKIPPING 05:44:34 INFO: No Stack... 05:44:34 INFO: Retrieving Pricing Info for: v3-standard-4 05:44:35 INFO: Archiving Costs [Pipeline] sh 05:44:36 + cat /w/workspace/device-onvif-camera/137/archives/cost.csv 05:44:36 + cut -d, -f6 [Pipeline] lock 05:44:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] 05:44:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] did not exist. Created. 05:44:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:37 /w/workspace/device-onvif-camera/137@tmp/durable-92e2536e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:44:37 + echo total: 0.10999999940395355 [Pipeline] stash 05:44:38 Warning: overwriting stash ‘stack-cost’ 05:44:38 Stashed 1 file(s) [Pipeline] } 05:44:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-137-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:38 $ docker stop --time=1 b483a4f4c95c87fa1610d6ea55876a9a7c5574eec7587930a81fa8bfef85108e 05:44:39 $ docker rm -f --volumes b483a4f4c95c87fa1610d6ea55876a9a7c5574eec7587930a81fa8bfef85108e [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 05:44:40 provisioning config files... 05:44:40 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2671051064702406787tmp [Pipeline] { [Pipeline] sh 05:44:40 + set +x 05:44:40 + curl -s https://codecov.io/bash 05:44:40 + bash -s -- 05:44:40 05:44:40 _____ _ 05:44:40 / ____| | | 05:44:40 | | ___ __| | ___ ___ _____ __ 05:44:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:44:40 | |___| (_) | (_| | __/ (_| (_) \ V / 05:44:40 \_____\___/ \__,_|\___|\___\___/ \_/ 05:44:40 Bash-1.0.6 05:44:40 05:44:40 05:44:40 ==> git version 2.25.1 found 05:44:40 ==> 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 05:44:40 Release-Date: 2020-01-08 05:44:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:44:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:44:40 ==> Jenkins CI detected. 05:44:40 current dir:  /w/workspace/foundry_device-onvif-camera_main 05:44:40 project root: . 05:44:40 --> token set from env 05:44:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:44:40 ==> Running gcov in . (disable via -X gcov) 05:44:40 ==> Python coveragepy not found 05:44:40 ==> Searching for coverage reports in: 05:44:40 + . 05:44:40 -> Found 1 reports 05:44:40 ==> Detecting git/mercurial file structure 05:44:40 ==> Reading reports 05:44:40 + ./coverage.out bytes=79191 05:44:40 ==> Appending adjustments 05:44:40 https://docs.codecov.io/docs/fixing-reports 05:44:40 + Found adjustments 05:44:40 ==> Gzipping contents 05:44:40 12K /tmp/codecov.tEJwIf.gz 05:44:40 ==> Uploading reports 05:44:40 url: https://codecov.io 05:44:40 query: branch=main&commit=f98012d7d0d49bdee7157353e7b34a4041fe70f7&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:40 -> Pinging Codecov 05:44:40 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=f98012d7d0d49bdee7157353e7b34a4041fe70f7&build=137&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F137%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 05:44:40 -> Uploading to 05:44:40 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/F29A59C45E3A92E06B3E522C9905F8EF/f98012d7d0d49bdee7157353e7b34a4041fe70f7/c194e409-6dc3-4058-ad2f-e0fdb68b5728.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94a673d2c816c1106ea2da7d0afb7e2bea843165ade22e930b20801c24e39663 05:44:41 % Total % Received % Xferd Average Speed Time Time Time Current 05:44:41 Dload Upload Total Spent Left Speed 05:44:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10518 0 0 100 10518 0 44948 --:--:-- --:--:-- --:--:-- 44948 05:44:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] } 05:44:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:44:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:44:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:44:41 05:44:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:44:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:44:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:44:42 df9b9388f04a: Pulling fs layer 05:44:42 52dc419b0ee2: Pulling fs layer 05:44:42 25bc292e5bac: Pulling fs layer 05:44:42 114826534d7a: Pulling fs layer 05:44:42 4657fd5d0bcf: Pulling fs layer 05:44:42 6ad1cebc031e: Pulling fs layer 05:44:42 8a3aa393b2d8: Pulling fs layer 05:44:42 4657fd5d0bcf: Waiting 05:44:42 114826534d7a: Waiting 05:44:42 8a3aa393b2d8: Waiting 05:44:42 6ad1cebc031e: Waiting 05:44:42 25bc292e5bac: Verifying Checksum 05:44:42 25bc292e5bac: Download complete 05:44:42 52dc419b0ee2: Verifying Checksum 05:44:42 52dc419b0ee2: Download complete 05:44:42 4657fd5d0bcf: Download complete 05:44:42 df9b9388f04a: Download complete 05:44:42 6ad1cebc031e: Download complete 05:44:42 df9b9388f04a: Pull complete 05:44:42 52dc419b0ee2: Pull complete 05:44:42 25bc292e5bac: Pull complete 05:44:42 114826534d7a: Download complete 05:44:42 8a3aa393b2d8: Verifying Checksum 05:44:42 8a3aa393b2d8: Download complete 05:44:46 114826534d7a: Pull complete 05:44:46 4657fd5d0bcf: Pull complete 05:44:46 6ad1cebc031e: Pull complete 05:44:48 8a3aa393b2d8: Pull complete 05:44:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:44:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:44:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:44:48 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:44:49 $ 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 05:44:52 $ docker top b3b8a38e71b5e1f29c114b4c80f4a21b4d4f142d377104fa1220c6d7395747b5 -eo pid,comm [Pipeline] { [Pipeline] echo 05:44:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 05:44:52 + set -o pipefail 05:44:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 05:44:58 05:44:58 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 05:44:58 05:44:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/0c1b2224-d921-45ba-8dc3-ed2fc2f01c6f 05:44:58 05:44:58 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 05:44:58 05:44:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:44:58 05:44:58 05:44:58 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:44:58 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:44:58 More details here: https://snyk.co/ue1NS 05:44:58 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:44:58 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:44:58 $ docker stop --time=1 b3b8a38e71b5e1f29c114b4c80f4a21b4d4f142d377104fa1220c6d7395747b5 05:45:00 $ docker rm -f --volumes b3b8a38e71b5e1f29c114b4c80f4a21b4d4f142d377104fa1220c6d7395747b5 [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 05:45:01 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:01 provisioning config files... 05:45:01 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12512648083668726911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:01 --> edgex-publish-swagger.sh 05:45:01 === Publish doc/openapi/v2 API === 05:45:01 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 05:45:01 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 05:45:01 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:01 Dload Upload Total Spent Left Speed 05:45:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 560k --:--:-- --:--:-- --:--:-- 560k 100 469k 0 0 100 469k 0 560k --:--:-- --:--:-- --:--:-- 560k 05:45:02 05:45:02 [Pipeline] } 05:45:02 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 05:45:02 + git log --format=format:%s -1 f98012d7d0d49bdee7157353e7b34a4041fe70f7 [Pipeline] sh 05:45:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:03 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:45:03 $ 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 05:45:04 $ docker top a4fde39ee70a3d076923c8f79dae93e0de9298d4cb9534ca04afda0af40e2775 -eo pid,comm 05:45:04 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). 05:45:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:04 [ssh-agent] Looking for ssh-agent implementation... 05:45:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:04 $ docker exec a4fde39ee70a3d076923c8f79dae93e0de9298d4cb9534ca04afda0af40e2775 ssh-agent 05:45:04 SSH_AUTH_SOCK=/tmp/ssh-T7tHt5sAD7hi/agent.32 05:45:04 SSH_AGENT_PID=38 05:45:04 Running ssh-add (command line suppressed) 05:45:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13301733369633388716.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13301733369633388716.key) 05:45:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:04 + git semver tag 05:45:04 2023-05-08 05:45:04,897 [run_tag] DEBUG tag force:False 05:45:04 2023-05-08 05:45:04,897 [check_head_tag] DEBUG check head tag 05:45:04 2023-05-08 05:45:04,899 [execute] INFO git cat-file --batch-check 05:45:04 2023-05-08 05:45:04,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 05:45:04 2023-05-08 05:45:04,902 [execute] INFO git cat-file --batch 05:45:04 2023-05-08 05:45:04,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 05:45:04 2023-05-08 05:45:04,936 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:04 2023-05-08 05:45:04,937 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 05:45:04 2023-05-08 05:45:04,937 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 05:45:04 2023-05-08 05:45:04,943 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:04 3.0.0-dev.41 [Pipeline] } 05:45:04 $ docker exec --env ******** --env ******** a4fde39ee70a3d076923c8f79dae93e0de9298d4cb9534ca04afda0af40e2775 ssh-agent -k 05:45:05 unset SSH_AUTH_SOCK; 05:45:05 unset SSH_AGENT_PID; 05:45:05 echo Agent pid 38 killed; 05:45:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:05 + git semver [Pipeline] } 05:45:05 $ docker stop --time=1 a4fde39ee70a3d076923c8f79dae93e0de9298d4cb9534ca04afda0af40e2775 05:45:06 $ docker rm -f --volumes a4fde39ee70a3d076923c8f79dae93e0de9298d4cb9534ca04afda0af40e2775 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:07 05:45:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:07 0.23.1-centos7: Pulling from edgex-lftools 05:45:07 ab5ef0e58194: Pulling fs layer 05:45:07 9712f1f96733: Pulling fs layer 05:45:07 63f879dbbcfc: Pulling fs layer 05:45:07 0d9ebad4ef96: Pulling fs layer 05:45:07 e9a5061849ea: Pulling fs layer 05:45:07 d747dcd14b5f: Pulling fs layer 05:45:07 2de7ff778b66: Pulling fs layer 05:45:07 0d9ebad4ef96: Waiting 05:45:07 d747dcd14b5f: Waiting 05:45:07 2de7ff778b66: Waiting 05:45:07 e9a5061849ea: Waiting 05:45:07 9712f1f96733: Verifying Checksum 05:45:07 9712f1f96733: Download complete 05:45:07 63f879dbbcfc: Verifying Checksum 05:45:07 63f879dbbcfc: Download complete 05:45:08 e9a5061849ea: Verifying Checksum 05:45:08 e9a5061849ea: Download complete 05:45:08 d747dcd14b5f: Download complete 05:45:08 ab5ef0e58194: Verifying Checksum 05:45:08 ab5ef0e58194: Download complete 05:45:08 0d9ebad4ef96: Verifying Checksum 05:45:08 0d9ebad4ef96: Download complete 05:45:08 2de7ff778b66: Verifying Checksum 05:45:08 2de7ff778b66: Download complete 05:45:10 ab5ef0e58194: Pull complete 05:45:10 9712f1f96733: Pull complete 05:45:11 63f879dbbcfc: Pull complete 05:45:14 0d9ebad4ef96: Pull complete 05:45:15 e9a5061849ea: Pull complete 05:45:15 d747dcd14b5f: Pull complete 05:45:16 2de7ff778b66: Pull complete 05:45:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:45:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:45:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:16 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:45:16 $ 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 05:45:19 $ docker top 09b304b4f06f8a51dbc7fccb021e663d528a9c6bd5d3633f9b5ca807a3d8ccfd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:45:19 provisioning config files... 05:45:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12752331317267876364tmp 05:45:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16648288045631493853tmp 05:45:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9730670991638934934tmp [Pipeline] { [Pipeline] echo 05:45:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:45:20 ---> sigul-configuration.sh 05:45:20 gpg: directory `/root/.gnupg' created 05:45:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:45:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:45:20 gpg: keyring `/root/.gnupg/secring.gpg' created 05:45:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:45:20 gpg: CAST5 encrypted data 05:45:20 gpg: encrypted with 1 passphrase 05:45:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:45:20 + mkdir /home/jenkins 05:45:20 + mkdir /home/jenkins/sigul [Pipeline] sh 05:45:20 + 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 05:45:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:45:21 ---> sigul-install.sh 05:45:21 Sigul already installed; skipping installation. [Pipeline] sh 05:45:21 + git tag --list 05:45:21 v0.0.0 05:45:21 v0.0.1-dev.1 05:45:21 v0.0.1-dev.10 05:45:21 v0.0.1-dev.11 05:45:21 v0.0.1-dev.12 05:45:21 v0.0.1-dev.13 05:45:21 v0.0.1-dev.14 05:45:21 v0.0.1-dev.15 05:45:21 v0.0.1-dev.16 05:45:21 v0.0.1-dev.17 05:45:21 v0.0.1-dev.18 05:45:21 v0.0.1-dev.19 05:45:21 v0.0.1-dev.2 05:45:21 v0.0.1-dev.20 05:45:21 v0.0.1-dev.21 05:45:21 v0.0.1-dev.22 05:45:21 v0.0.1-dev.23 05:45:21 v0.0.1-dev.24 05:45:21 v0.0.1-dev.25 05:45:21 v0.0.1-dev.26 05:45:21 v0.0.1-dev.27 05:45:21 v0.0.1-dev.28 05:45:21 v0.0.1-dev.3 05:45:21 v0.0.1-dev.4 05:45:21 v0.0.1-dev.5 05:45:21 v0.0.1-dev.6 05:45:21 v0.0.1-dev.7 05:45:21 v0.0.1-dev.8 05:45:21 v0.0.1-dev.9 05:45:21 v2.2.0 05:45:21 v2.2.0-dev.29 05:45:21 v2.2.0-dev.30 05:45:21 v2.2.0-dev.31 05:45:21 v2.2.0-dev.32 05:45:21 v2.2.0-dev.33 05:45:21 v2.2.0-dev.34 05:45:21 v2.2.0-dev.35 05:45:21 v2.3.0 05:45:21 v2.3.0-dev.1 05:45:21 v2.3.0-dev.10 05:45:21 v2.3.0-dev.11 05:45:21 v2.3.0-dev.12 05:45:21 v2.3.0-dev.13 05:45:21 v2.3.0-dev.14 05:45:21 v2.3.0-dev.15 05:45:21 v2.3.0-dev.16 05:45:21 v2.3.0-dev.17 05:45:21 v2.3.0-dev.18 05:45:21 v2.3.0-dev.19 05:45:21 v2.3.0-dev.2 05:45:21 v2.3.0-dev.20 05:45:21 v2.3.0-dev.21 05:45:21 v2.3.0-dev.22 05:45:21 v2.3.0-dev.23 05:45:21 v2.3.0-dev.24 05:45:21 v2.3.0-dev.25 05:45:21 v2.3.0-dev.26 05:45:21 v2.3.0-dev.27 05:45:21 v2.3.0-dev.28 05:45:21 v2.3.0-dev.29 05:45:21 v2.3.0-dev.3 05:45:21 v2.3.0-dev.30 05:45:21 v2.3.0-dev.31 05:45:21 v2.3.0-dev.32 05:45:21 v2.3.0-dev.33 05:45:21 v2.3.0-dev.34 05:45:21 v2.3.0-dev.35 05:45:21 v2.3.0-dev.36 05:45:21 v2.3.0-dev.37 05:45:21 v2.3.0-dev.38 05:45:21 v2.3.0-dev.39 05:45:21 v2.3.0-dev.4 05:45:21 v2.3.0-dev.40 05:45:21 v2.3.0-dev.41 05:45:21 v2.3.0-dev.42 05:45:21 v2.3.0-dev.43 05:45:21 v2.3.0-dev.44 05:45:21 v2.3.0-dev.45 05:45:21 v2.3.0-dev.5 05:45:21 v2.3.0-dev.6 05:45:21 v2.3.0-dev.7 05:45:21 v2.3.0-dev.8 05:45:21 v2.3.0-dev.9 05:45:21 v2.3.1 05:45:21 v2.3.1-dev.1 05:45:21 v2.3.1-dev.4 05:45:21 v2.3.1-dev.5 05:45:21 v2.3.2-dev.1 05:45:21 v2.3.2-dev.2 05:45:21 v3.0.0-dev.1 05:45:21 v3.0.0-dev.10 05:45:21 v3.0.0-dev.11 05:45:21 v3.0.0-dev.12 05:45:21 v3.0.0-dev.13 05:45:21 v3.0.0-dev.14 05:45:21 v3.0.0-dev.15 05:45:21 v3.0.0-dev.16 05:45:21 v3.0.0-dev.17 05:45:21 v3.0.0-dev.18 05:45:21 v3.0.0-dev.19 05:45:21 v3.0.0-dev.2 05:45:21 v3.0.0-dev.20 05:45:21 v3.0.0-dev.21 05:45:21 v3.0.0-dev.22 05:45:21 v3.0.0-dev.23 05:45:21 v3.0.0-dev.24 05:45:21 v3.0.0-dev.25 05:45:21 v3.0.0-dev.26 05:45:21 v3.0.0-dev.27 05:45:21 v3.0.0-dev.28 05:45:21 v3.0.0-dev.29 05:45:21 v3.0.0-dev.3 05:45:21 v3.0.0-dev.30 05:45:21 v3.0.0-dev.31 05:45:21 v3.0.0-dev.32 05:45:21 v3.0.0-dev.33 05:45:21 v3.0.0-dev.34 05:45:21 v3.0.0-dev.35 05:45:21 v3.0.0-dev.36 05:45:21 v3.0.0-dev.37 05:45:21 v3.0.0-dev.38 05:45:21 v3.0.0-dev.39 05:45:21 v3.0.0-dev.4 05:45:21 v3.0.0-dev.40 05:45:21 v3.0.0-dev.41 05:45:21 v3.0.0-dev.5 05:45:21 v3.0.0-dev.6 05:45:21 v3.0.0-dev.7 05:45:21 v3.0.0-dev.8 05:45:21 v3.0.0-dev.9 [Pipeline] sh 05:45:21 + lftools sign git-tag v3.0.0-dev.41 05:45:22 Signing Git tag with Sigul... 05:45:22 Signing v3.0.0-dev.41 [Pipeline] echo 05:45:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:45:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:45:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:45:22 $ docker stop --time=1 09b304b4f06f8a51dbc7fccb021e663d528a9c6bd5d3633f9b5ca807a3d8ccfd 05:45:24 $ docker rm -f --volumes 09b304b4f06f8a51dbc7fccb021e663d528a9c6bd5d3633f9b5ca807a3d8ccfd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:45:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:24 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:45:24 $ 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 05:45:25 $ docker top ab3f5b28e55635789eb8cf1d0fd56e695b050df69531c91f2a167119d8482ac5 -eo pid,comm 05:45:25 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). 05:45:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:25 [ssh-agent] Looking for ssh-agent implementation... 05:45:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:25 $ docker exec ab3f5b28e55635789eb8cf1d0fd56e695b050df69531c91f2a167119d8482ac5 ssh-agent 05:45:25 SSH_AUTH_SOCK=/tmp/ssh-HVX8tkj7k3Pf/agent.32 05:45:25 SSH_AGENT_PID=38 05:45:25 Running ssh-add (command line suppressed) 05:45:25 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15047865868840143161.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15047865868840143161.key) 05:45:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:25 + git semver bump pre 05:45:26 2023-05-08 05:45:26,098 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:26 2023-05-08 05:45:26,098 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev 05:45:26 2023-05-08 05:45:26,098 [bump_version] DEBUG bumped version:3.0.0-dev.42 05:45:26 2023-05-08 05:45:26,098 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 05:45:26 2023-05-08 05:45:26,099 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:26 2023-05-08 05:45:26,099 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:26 2023-05-08 05:45:26,100 [execute] INFO git cat-file --batch-check 05:45:26 2023-05-08 05:45:26,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:26 2023-05-08 05:45:26,105 [execute] INFO git cat-file --batch 05:45:26 2023-05-08 05:45:26,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:26 2023-05-08 05:45:26,110 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:26 3.0.0-dev.42 [Pipeline] } 05:45:26 $ docker exec --env ******** --env ******** ab3f5b28e55635789eb8cf1d0fd56e695b050df69531c91f2a167119d8482ac5 ssh-agent -k 05:45:26 unset SSH_AUTH_SOCK; 05:45:26 unset SSH_AGENT_PID; 05:45:26 echo Agent pid 38 killed; 05:45:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:26 + git semver [Pipeline] } 05:45:26 $ docker stop --time=1 ab3f5b28e55635789eb8cf1d0fd56e695b050df69531c91f2a167119d8482ac5 05:45:28 $ docker rm -f --volumes ab3f5b28e55635789eb8cf1d0fd56e695b050df69531c91f2a167119d8482ac5 [Pipeline] // withDockerContainer [Pipeline] sh 05:45:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:45:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:45:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:28 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:45:28 $ 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 05:45:29 $ docker top 67a0ba3c277651dfdbb064cfa01ce468beae5d947f7c1b6f1e6c1e3ec23046c9 -eo pid,comm 05:45:29 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). 05:45:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:45:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:45:29 [ssh-agent] Looking for ssh-agent implementation... 05:45:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:45:29 $ docker exec 67a0ba3c277651dfdbb064cfa01ce468beae5d947f7c1b6f1e6c1e3ec23046c9 ssh-agent 05:45:29 SSH_AUTH_SOCK=/tmp/ssh-upD8wF7gbuRL/agent.32 05:45:29 SSH_AGENT_PID=38 05:45:29 Running ssh-add (command line suppressed) 05:45:29 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11056266354195672872.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11056266354195672872.key) 05:45:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:45:29 + git semver push 05:45:30 2023-05-08 05:45:30,061 [run_push] DEBUG push 05:45:30 2023-05-08 05:45:30,062 [execute] INFO git cat-file --batch-check 05:45:30 2023-05-08 05:45:30,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 05:45:30 2023-05-08 05:45:30,065 [execute] INFO git rev-list d39ee66522419cca9d033e71a4e45b7435002947 -- 05:45:30 2023-05-08 05:45:30,065 [execute] DEBUG Popen(['git', 'rev-list', 'd39ee66522419cca9d033e71a4e45b7435002947', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:30 2023-05-08 05:45:30,072 [execute] INFO git fetch -v origin 05:45:30 2023-05-08 05:45:30,072 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 05:45:30 2023-05-08 05:45:30,515 [run_push] DEBUG no remote changes detected 05:45:30 2023-05-08 05:45:30,515 [execute] INFO git push origin semver 05:45:30 2023-05-08 05:45:30,516 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 05:45:31 2023-05-08 05:45:31,232 [run_push] DEBUG push all version tags 05:45:31 2023-05-08 05:45:31,233 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:45:31 2023-05-08 05:45:31,233 [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) 05:45:32 2023-05-08 05:45:32,093 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 05:45:32 3.0.0-dev.42 [Pipeline] } 05:45:32 $ docker exec --env ******** --env ******** 67a0ba3c277651dfdbb064cfa01ce468beae5d947f7c1b6f1e6c1e3ec23046c9 ssh-agent -k 05:45:32 unset SSH_AUTH_SOCK; 05:45:32 unset SSH_AGENT_PID; 05:45:32 echo Agent pid 38 killed; 05:45:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:45:32 + git semver [Pipeline] } 05:45:32 $ docker stop --time=1 67a0ba3c277651dfdbb064cfa01ce468beae5d947f7c1b6f1e6c1e3ec23046c9 05:45:34 $ docker rm -f --volumes 67a0ba3c277651dfdbb064cfa01ce468beae5d947f7c1b6f1e6c1e3ec23046c9 [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 05:45:34 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 05:45:34 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 05:45:34 total 16 05:45:34 drwxr-xr-x 3 root root 4096 May 8 05:33 . 05:45:34 drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. 05:45:34 drwxr-xr-x 2 root root 4096 May 8 05:33 cost 05:45:34 -rw-r--r-- 1 root root 91 May 8 05:33 cost.csv 05:45:34 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 05:45:34 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 05:45:34 total 16 05:45:34 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:33 . 05:45:34 drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:45 .. 05:45:34 drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:33 cost 05:45:34 -rw-r--r-- 1 jenkins jenkins 91 May 8 05:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:45:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:45:36 ---> package-listing.sh 05:45:36 ++ facter osfamily 05:45:36 ++ tr '[:upper:]' '[:lower:]' 05:45:36 + OS_FAMILY=debian 05:45:36 + workspace=/w/workspace/foundry_device-onvif-camera_main 05:45:36 + START_PACKAGES=/tmp/packages_start.txt 05:45:36 + END_PACKAGES=/tmp/packages_end.txt 05:45:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:45:36 + PACKAGES=/tmp/packages_start.txt 05:45:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 05:45:36 + PACKAGES=/tmp/packages_end.txt 05:45:36 + case "${OS_FAMILY}" in 05:45:36 + dpkg -l 05:45:36 + grep '^ii' 05:45:36 + '[' -f /tmp/packages_start.txt ']' 05:45:36 + '[' -f /tmp/packages_end.txt ']' 05:45:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:45:36 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 05:45:36 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 05:45:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 05:45:36 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 05:45:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:45:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:37 prd-ubuntu20.04-docker-8c-8g-14462 does not seem to be running inside a container 05:45:37 $ 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 05:45:37 $ docker top deb7602678a76ca7cb209adfc6ae0ab145a961e61fc1224ed46da3a4f754f1f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:45:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:45:38 + mkdir -p /var/log/sysstat [Pipeline] sh 05:45:38 + ls /var/log/sa-host 05:45:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:38 provisioning config files... 05:45:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1216272699710349197tmp [Pipeline] { [Pipeline] echo 05:45:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:45:38 ---> create-netrc.sh [Pipeline] } 05:45:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:45:39 ---> python-tools-install.sh [Pipeline] echo 05:45:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:45:39 ---> sudo-logs.sh 05:45:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:45:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:45:39 ---> job-cost.sh 05:45:39 lf-activate-venv: SKIPPING 05:45:39 DEBUG: total: 0.2199999988079071 05:45:39 INFO: Retrieving Stack Cost... 05:45:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:45:40 INFO: Archiving Costs [Pipeline] echo 05:45:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:45:40 ---> logs-deploy.sh 05:45:40 lf-activate-venv: SKIPPING 05:45:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/137 05:45:40 INFO: archiving workspace using pattern(s): 05:45:41 Archives upload complete. 05:45:41 INFO: archiving logs to Nexus