Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 01232ef71281965359620122f9fdc73016fc5c79 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-ssh4349326659555799736.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-ssh6229886077220574055.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-ssh11396362113517781077.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-ssh1073901755721538706.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-ssh5395698073132166890.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16391 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 01232ef71281965359620122f9fdc73016fc5c79 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#368)" > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 > git rev-list --no-walk 4c3943abb5596eefa9af9b661fb4a90371d27683 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:47 ========================================================= 22:10:47 EdgeX Global Pipelines Version Info 22:10:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:48 ------------------- 22:10:48 stable info: 22:10:48 ------------------- 22:10:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:10:48 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:10:48 Message: update stable to v1.0.249 22:10:48 ------------------- 22:10:48 experimental info: 22:10:48 ------------------- 22:10:48 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:48 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:10:48 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01232ef [Pipeline] echo 22:10:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:49 provisioning config files... 22:10:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17993238348440393713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:49 ---> docker-login.sh 22:10:49 nexus3.edgexfoundry.org:10001 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 nexus3.edgexfoundry.org:10002 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 nexus3.edgexfoundry.org:10003 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 nexus3.edgexfoundry.org:10004 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 docker.io 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 ---> docker-login.sh ends [Pipeline] } 22:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:51 + git rev-list -1 --merges 01232ef71281965359620122f9fdc73016fc5c79~1..01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] echo 22:10:51 -----------> git rev-list -1 --merges 01232ef71281965359620122f9fdc73016fc5c79~1..01232ef71281965359620122f9fdc73016fc5c79 01232ef71281965359620122f9fdc73016fc5c79 [false] [Pipeline] sh 22:10:51 + git log --format=format:%s -1 01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] echo 22:10:51 ========================================================= 22:10:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:52 + git log --format=format:%s -1 01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] echo 22:10:52 [semverPrep] GIT_COMMIT: 01232ef71281965359620122f9fdc73016fc5c79, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#368) [Pipeline] echo 22:10:52 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:52 + grep -v github /etc/ssh/ssh_known_hosts 22:10:52 + [ -e /tmp/ssh_known_hosts ] 22:10:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:52 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:53 22:10:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:53 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:53 b85a868b505f: Pulling fs layer 22:10:53 e2be974225ed: Pulling fs layer 22:10:53 339a4e72a1f5: Pulling fs layer 22:10:53 988bab9f4d93: Pulling fs layer 22:10:53 1469e6f7b9e6: Pulling fs layer 22:10:53 eaf3925da568: Pulling fs layer 22:10:53 bab4dde63d76: Pulling fs layer 22:10:53 bde34c3a00c8: Pulling fs layer 22:10:53 b352a97aabf1: Pulling fs layer 22:10:53 4872d77fe225: Pulling fs layer 22:10:53 5851b861e8e6: Pulling fs layer 22:10:53 b352a97aabf1: Waiting 22:10:53 4872d77fe225: Waiting 22:10:53 bde34c3a00c8: Waiting 22:10:53 5851b861e8e6: Waiting 22:10:53 988bab9f4d93: Waiting 22:10:53 1469e6f7b9e6: Waiting 22:10:53 eaf3925da568: Waiting 22:10:53 e2be974225ed: Verifying Checksum 22:10:53 e2be974225ed: Download complete 22:10:53 988bab9f4d93: Download complete 22:10:53 1469e6f7b9e6: Verifying Checksum 22:10:53 1469e6f7b9e6: Download complete 22:10:53 eaf3925da568: Download complete 22:10:53 339a4e72a1f5: Verifying Checksum 22:10:53 339a4e72a1f5: Download complete 22:10:53 b352a97aabf1: Verifying Checksum 22:10:53 b352a97aabf1: Download complete 22:10:53 4872d77fe225: Download complete 22:10:53 5851b861e8e6: Download complete 22:10:53 b85a868b505f: Verifying Checksum 22:10:53 b85a868b505f: Download complete 22:10:53 bab4dde63d76: Download complete 22:10:54 b85a868b505f: Pull complete 22:10:55 e2be974225ed: Pull complete 22:10:55 339a4e72a1f5: Pull complete 22:10:55 988bab9f4d93: Pull complete 22:10:55 1469e6f7b9e6: Pull complete 22:10:55 eaf3925da568: Pull complete 22:10:57 bab4dde63d76: Pull complete 22:10:57 bde34c3a00c8: Pull complete 22:10:57 b352a97aabf1: Pull complete 22:10:57 4872d77fe225: Pull complete 22:10:57 5851b861e8e6: Pull complete 22:10:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:58 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:10:58 $ 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 22:10:59 $ docker top 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 -eo pid,comm 22:10:59 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). 22:10:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:59 [ssh-agent] Looking for ssh-agent implementation... 22:10:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:59 $ docker exec 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 ssh-agent 22:10:59 SSH_AUTH_SOCK=/tmp/ssh-uhf2OnPncUC2/agent.32 22:10:59 SSH_AGENT_PID=38 22:10:59 Running ssh-add (command line suppressed) 22:10:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1455969914974862193.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1455969914974862193.key) 22:10:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:00 + git tag --points-at HEAD [Pipeline] } 22:11:00 $ docker exec --env ******** --env ******** 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 ssh-agent -k 22:11:00 unset SSH_AUTH_SOCK; 22:11:00 unset SSH_AGENT_PID; 22:11:00 echo Agent pid 38 killed; 22:11:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:00 [ssh-agent] Looking for ssh-agent implementation... 22:11:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:00 $ docker exec 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 ssh-agent 22:11:00 SSH_AUTH_SOCK=/tmp/ssh-tSBdnIvqF5rf/agent.70 22:11:00 SSH_AGENT_PID=76 22:11:00 Running ssh-add (command line suppressed) 22:11:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3797960559176964822.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3797960559176964822.key) 22:11:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:00 + git semver init 22:11:01 2023-05-22 22:11:01,033 [run_init] DEBUG init version:0.0.0 force:False 22:11:01 2023-05-22 22:11:01,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 22:11:01 2023-05-22 22:11:01,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 22:11:01 2023-05-22 22:11:01,034 [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) 22:11:02 2023-05-22 22:11:01,988 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 22:11:02 2023-05-22 22:11:01,988 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 22:11:02 2023-05-22 22:11:01,988 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:11:02 2023-05-22 22:11:01,989 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:11:02 3.0.0-dev.56 [Pipeline] } 22:11:02 $ docker exec --env ******** --env ******** 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 ssh-agent -k 22:11:02 unset SSH_AUTH_SOCK; 22:11:02 unset SSH_AGENT_PID; 22:11:02 echo Agent pid 76 killed; 22:11:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:02 + git semver [Pipeline] } 22:11:02 $ docker stop --time=1 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 22:11:04 $ docker rm -f --volumes 333de4ffb008e50086d3dd5118502360277a0967ebf88aba4696927ffaaa8b92 [Pipeline] // withDockerContainer [Pipeline] sh 22:11:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:04 Stashed 1 file(s) [Pipeline] echo 22:11:04 [edgeXSemver]: initialized semver on version 3.0.0-dev.56 [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 22:11:04 provisioning config files... 22:11:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7595890056267798426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:05 ---> docker-login.sh 22:11:05 nexus3.edgexfoundry.org:10001 22:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:05 Configure a credential helper to remove this warning. See 22:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:05 22:11:05 Login Succeeded 22:11:05 nexus3.edgexfoundry.org:10002 22:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:05 Configure a credential helper to remove this warning. See 22:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:05 22:11:05 Login Succeeded 22:11:05 nexus3.edgexfoundry.org:10003 22:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:05 Configure a credential helper to remove this warning. See 22:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:05 22:11:05 Login Succeeded 22:11:05 nexus3.edgexfoundry.org:10004 22:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:05 Configure a credential helper to remove this warning. See 22:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:05 22:11:05 Login Succeeded 22:11:05 docker.io 22:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:05 Configure a credential helper to remove this warning. See 22:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:05 22:11:05 Login Succeeded 22:11:05 ---> docker-login.sh ends [Pipeline] } 22:11:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:05 ========================================================= 22:11:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:05 + 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 . 22:11:05 Sending build context to Docker daemon 21.89MB 22:11:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:05 Step 2/13 : FROM ${BASE} AS builder 22:11:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:05 f56be85fc22e: Pulling fs layer 22:11:05 85791d961cd3: Pulling fs layer 22:11:05 d694b5ae8c79: Pulling fs layer 22:11:05 9f32a84ed3da: Pulling fs layer 22:11:05 4d19c01a9841: Pulling fs layer 22:11:05 9325e15d5711: Pulling fs layer 22:11:05 556b6ee489ea: Pulling fs layer 22:11:05 c5a4b2cf53e6: Pulling fs layer 22:11:05 4d19c01a9841: Waiting 22:11:05 9325e15d5711: Waiting 22:11:05 c5a4b2cf53e6: Waiting 22:11:05 556b6ee489ea: Waiting 22:11:05 85791d961cd3: Verifying Checksum 22:11:05 85791d961cd3: Download complete 22:11:06 9f32a84ed3da: Verifying Checksum 22:11:06 9f32a84ed3da: Download complete 22:11:06 4d19c01a9841: Verifying Checksum 22:11:06 4d19c01a9841: Download complete 22:11:06 f56be85fc22e: Verifying Checksum 22:11:06 f56be85fc22e: Download complete 22:11:06 9325e15d5711: Verifying Checksum 22:11:06 9325e15d5711: Download complete 22:11:06 f56be85fc22e: Pull complete 22:11:06 85791d961cd3: Pull complete 22:11:06 c5a4b2cf53e6: Verifying Checksum 22:11:06 c5a4b2cf53e6: Download complete 22:11:06 d694b5ae8c79: Verifying Checksum 22:11:06 d694b5ae8c79: Download complete 22:11:07 556b6ee489ea: Verifying Checksum 22:11:07 556b6ee489ea: Download complete 22:11:10 d694b5ae8c79: Pull complete 22:11:10 9f32a84ed3da: Pull complete 22:11:10 4d19c01a9841: Pull complete 22:11:10 9325e15d5711: Pull complete 22:11:12 556b6ee489ea: Pull complete 22:11:13 c5a4b2cf53e6: Pull complete 22:11:13 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:11:13 ---> c4be618373d6 22:11:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:15 ---> Running in a3419e2677c7 22:11:15 Removing intermediate container a3419e2677c7 22:11:15 ---> 331962dd7b69 22:11:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:15 ---> Running in c43b4c904414 22:11:15 Removing intermediate container c43b4c904414 22:11:15 ---> d9fd388c44f8 22:11:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:15 ---> Running in 6f0124522397 22:11:15 Removing intermediate container 6f0124522397 22:11:15 ---> 628f6b9a5838 22:11:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:15 ---> Running in 56c8ec1374f6 22:11:15 Removing intermediate container 56c8ec1374f6 22:11:15 ---> 530634d45a62 22:11:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:15 ---> Running in 84c56abc068a 22:11:15 Removing intermediate container 84c56abc068a 22:11:15 ---> 1e611201a364 22:11:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:15 ---> Running in bcb0c15ad743 22:11:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:11:16 OK: 265 MiB in 53 packages 22:11:16 Removing intermediate container bcb0c15ad743 22:11:16 ---> b8654142e4e9 22:11:16 Step 9/13 : WORKDIR /device-onvif-camera 22:11:16 ---> Running in 93de688cc487 22:11:16 Removing intermediate container 93de688cc487 22:11:16 ---> 8526f894cf10 22:11:16 Step 10/13 : COPY go.mod vendor* ./ 22:11:16 ---> 928767d2ac3b 22:11:16 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:16 ---> Running in 13c0f69cedcd 22:11:19 Still waiting to schedule task 22:11:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:43 Removing intermediate container 13c0f69cedcd 22:11:43 ---> bf3732b9b0f1 22:11:43 Step 12/13 : COPY . . 22:11:43 ---> 8e764ea0b13e 22:11:43 Step 13/13 : RUN ${MAKE} 22:11:43 ---> Running in 29d9b624ea17 22:11:43 noop 22:11:43 Removing intermediate container 29d9b624ea17 22:11:43 ---> 8b6e3a8928df 22:11:43 Successfully built 8b6e3a8928df 22:11:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:43 + docker inspect -f . ci-base-image-x86_64 22:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:43 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:11:43 $ 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 22:11:44 $ docker top 71358a4dee3b0307265c66709c6f5c6815090a0319881a2153651650416c27f8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:44 + go version 22:11:44 go version go1.20.2 linux/amd64 [Pipeline] } 22:11:44 $ docker stop --time=1 71358a4dee3b0307265c66709c6f5c6815090a0319881a2153651650416c27f8 22:11:45 $ docker rm -f --volumes 71358a4dee3b0307265c66709c6f5c6815090a0319881a2153651650416c27f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:46 + docker inspect -f . ci-base-image-x86_64 22:11:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:46 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:11:46 $ 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 22:11:46 $ docker top 42a61916e16d3c1325e67a1322b03b24a01b126414b8d0df0304c1997905875a -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:47 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 22:11:47 + make test 22:11:47 go test ./... -coverprofile=coverage.out ./... 22:11:52 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:02 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 31.4% of statements 22:12:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 7.561s coverage: 86.5% of statements 22:12:19 go vet ./... 22:12:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:23 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:12:23 $ docker stop --time=1 42a61916e16d3c1325e67a1322b03b24a01b126414b8d0df0304c1997905875a 22:12:25 $ docker rm -f --volumes 42a61916e16d3c1325e67a1322b03b24a01b126414b8d0df0304c1997905875a [Pipeline] // withDockerContainer [Pipeline] sh 22:12:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:26 + ls -al . 22:12:26 total 232 22:12:26 drwxrwxr-x 10 jenkins jenkins 4096 May 22 22:11 . 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:10 .. 22:12:26 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:11 .git 22:12:26 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:10 .github 22:12:26 -rw-rw-r-- 1 jenkins jenkins 496 May 22 22:10 .gitignore 22:12:26 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:10 .golangci.yml 22:12:26 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:11 .semver 22:12:26 -rw-rw-r-- 1 jenkins jenkins 10087 May 22 22:10 Attribution.txt 22:12:26 -rw-rw-r-- 1 jenkins jenkins 6312 May 22 22:10 CHANGELOG.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 1574 May 22 22:10 Dockerfile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 677 May 22 22:10 GOVERNANCE.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 739 May 22 22:10 Jenkinsfile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:10 LICENSE 22:12:26 -rw-rw-r-- 1 jenkins jenkins 2751 May 22 22:10 Makefile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 625 May 22 22:10 OWNERS.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 2690 May 22 22:10 README.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 12 May 22 22:11 VERSION 22:12:26 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:10 bin 22:12:26 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:10 cmd 22:12:26 -rw-r--r-- 1 jenkins jenkins 78459 May 22 22:12 coverage.out 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:10 doc 22:12:26 -rw-rw-r-- 1 jenkins jenkins 3642 May 22 22:10 go.mod 22:12:26 -rw-rw-r-- 1 jenkins jenkins 33491 May 22 22:10 go.sum 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:10 internal 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:10 snap 22:12:26 -rw-rw-r-- 1 jenkins jenkins 236 May 22 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:26 + 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=01232ef71281965359620122f9fdc73016fc5c79 --label arch=amd64 --label version=3.0.0-dev.56 . 22:12:26 Sending build context to Docker daemon 21.97MB 22:12:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:12:26 Step 2/26 : FROM ${BASE} AS builder 22:12:26 ---> 8b6e3a8928df 22:12:26 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:27 ---> Running in 2bea0abeb2a0 22:12:27 Removing intermediate container 2bea0abeb2a0 22:12:27 ---> faa5dae6e404 22:12:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:27 ---> Running in 021dd981aceb 22:12:27 Removing intermediate container 021dd981aceb 22:12:27 ---> 49bceb30d1f9 22:12:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:27 ---> Running in 45d566059633 22:12:27 Removing intermediate container 45d566059633 22:12:27 ---> 25f4c4be741a 22:12:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:27 ---> Running in 3953bb69a978 22:12:27 Removing intermediate container 3953bb69a978 22:12:27 ---> 03a8f7393b0a 22:12:27 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:27 ---> Running in 5c340f0e9452 22:12:27 Removing intermediate container 5c340f0e9452 22:12:27 ---> 18bfe824eb3d 22:12:27 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:27 ---> Running in 5cf8b2787488 22:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:28 OK: 265 MiB in 53 packages 22:12:28 Removing intermediate container 5cf8b2787488 22:12:28 ---> 15d5b505f525 22:12:28 Step 9/26 : WORKDIR /device-onvif-camera 22:12:28 ---> Running in 2ba9e12e3c2d 22:12:28 Removing intermediate container 2ba9e12e3c2d 22:12:28 ---> 27b4efd16745 22:12:28 Step 10/26 : COPY go.mod vendor* ./ 22:12:28 ---> 50af5e7859df 22:12:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:28 ---> Running in 836d541d1760 22:12:29 Removing intermediate container 836d541d1760 22:12:29 ---> cdfb94e578a9 22:12:29 Step 12/26 : COPY . . 22:12:29 ---> ea0f79c1d31b 22:12:29 Step 13/26 : RUN ${MAKE} 22:12:29 ---> Running in 3723b607c969 22:12:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.56" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:12:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16393 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 22:12:44 Running in /w/workspace/device-onvif-camera/153 [Pipeline] { [Pipeline] checkout 22:12:44 The recommended git tool is: git 22:12:48 Removing intermediate container 3723b607c969 22:12:48 ---> 844b7a647a16 22:12:48 Step 14/26 : FROM alpine:3.17 22:12:48 3.17: Pulling from library/alpine 22:12:48 f56be85fc22e: Already exists 22:12:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:12:48 Status: Downloaded newer image for alpine:3.17 22:12:48 ---> 9ed4aefc74f6 22:12:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:12:49 ---> Running in becbce8dcda3 22:12:49 Removing intermediate container becbce8dcda3 22:12:49 ---> c93d15c114d4 22:12:49 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:49 ---> Running in 23125c2d00f2 22:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:49 (1/1) Installing dumb-init (1.2.5-r2) 22:12:49 Executing busybox-1.35.0-r29.trigger 22:12:49 OK: 7 MiB in 16 packages 22:12:50 Removing intermediate container 23125c2d00f2 22:12:50 ---> 6b8c18c7dbc7 22:12:50 Step 17/26 : WORKDIR / 22:12:50 ---> Running in b06f31514da1 22:12:50 Removing intermediate container b06f31514da1 22:12:50 ---> 176955c92252 22:12:50 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:50 using credential edgex-jenkins-ssh 22:12:50 Cloning the remote Git repository 22:12:50 ---> 1c421f8f718b 22:12:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:50 ---> 2a89c0fe3221 22:12:50 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:50 ---> 03da015ce440 22:12:50 Step 21/26 : EXPOSE 59984 22:12:50 ---> Running in cbffe6ad5715 22:12:50 Removing intermediate container cbffe6ad5715 22:12:50 ---> a6657c771e77 22:12:50 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:50 ---> Running in 05542c3ff66c 22:12:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:50 > git init /w/workspace/device-onvif-camera/153 # timeout=10 22:12:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:50 > git --version # timeout=10 22:12:50 > git --version # 'git version 2.25.1' 22:12:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:51 Removing intermediate container 05542c3ff66c 22:12:51 ---> 79ccca4fe96e 22:12:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:51 ---> Running in 3089a1fc7731 22:12:51 Removing intermediate container 3089a1fc7731 22:12:51 ---> 5b874f6c9de9 22:12:51 Step 24/26 : LABEL arch=amd64 22:12:51 ---> Running in 40cd0bd3d2aa 22:12:51 Removing intermediate container 40cd0bd3d2aa 22:12:51 ---> aaf3c9a482b0 22:12:51 Step 25/26 : LABEL git_sha=01232ef71281965359620122f9fdc73016fc5c79 22:12:51 ---> Running in 558360305aa0 22:12:51 Removing intermediate container 558360305aa0 22:12:51 ---> 11b0479d20ac 22:12:51 Step 26/26 : LABEL version=3.0.0-dev.56 22:12:51 ---> Running in ba999389a667 22:12:51 Removing intermediate container ba999389a667 22:12:51 ---> e303677825c3 22:12:51 [Warning] One or more build-args [ARCH] were not consumed 22:12:51 Successfully built e303677825c3 22:12:51 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 22:12:51 provisioning config files... 22:12:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18392792409056456745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:51 ---> docker-login.sh 22:12:51 nexus3.edgexfoundry.org:10001 22:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:51 Configure a credential helper to remove this warning. See 22:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:51 22:12:51 Login Succeeded 22:12:51 nexus3.edgexfoundry.org:10002 22:12:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:51 Configure a credential helper to remove this warning. See 22:12:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:51 22:12:51 Login Succeeded 22:12:51 nexus3.edgexfoundry.org:10003 22:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:52 Configure a credential helper to remove this warning. See 22:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:52 22:12:52 Login Succeeded 22:12:52 nexus3.edgexfoundry.org:10004 22:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:52 Configure a credential helper to remove this warning. See 22:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:52 22:12:52 Login Succeeded 22:12:52 docker.io 22:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:52 Configure a credential helper to remove this warning. See 22:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:52 22:12:52 Login Succeeded 22:12:52 ---> docker-login.sh ends [Pipeline] } 22:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:52 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 22:12:52 01232ef71281965359620122f9fdc73016fc5c79 22:12:52 latest 22:12:52 3.0.0-dev.56 22:12:52 01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:12:52 main 22:12:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79 22:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:12:53 4f0c587146b0: Preparing 22:12:53 6e8e3ab54c47: Preparing 22:12:53 e10819cea74e: Preparing 22:12:53 601f759353a4: Preparing 22:12:53 f1417ff83b31: Preparing 22:12:53 f1417ff83b31: Layer already exists 22:12:53 6e8e3ab54c47: Pushed 22:12:53 601f759353a4: Pushed 22:12:53 4f0c587146b0: Pushed 22:12:53 Avoid second fetch 22:12:53 Checking out Revision 01232ef71281965359620122f9fdc73016fc5c79 (main) 22:12:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:53 > git config core.sparsecheckout # timeout=10 22:12:53 > git checkout -f 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 22:12:54 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#368)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:12:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:55 Dload Upload Total Spent Left Speed 22:12:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 22:12:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:12:56 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 22:12:56 /etc/docker/daemon.new 22:12:56 { 22:12:56 "registry-mirrors": [ 22:12:56 "https://nexus3.edgexfoundry.org:10001" 22:12:56 ], 22:12:56 "bip": "10.250.0.254/24", 22:12:56 "hosts": [ 22:12:56 "tcp://0.0.0.0:5555", 22:12:56 "unix:///var/run/docker.sock" 22:12:56 ], 22:12:56 "mtu": 1458, 22:12:56 "selinux-enabled": true, 22:12:56 "seccomp-profile": "/etc/docker/seccomp.json" 22:12:56 } [Pipeline] sh 22:12:56 e10819cea74e: Pushed 22:12:56 01232ef71281965359620122f9fdc73016fc5c79: digest: sha256:aa11b8ed82333620f1396da5d9a2cc7b636899185cf06c437d21fff48662fbbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:57 + sudo service docker restart 22:12:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:12:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:12:57 4f0c587146b0: Preparing 22:12:57 6e8e3ab54c47: Preparing 22:12:57 e10819cea74e: Preparing 22:12:57 601f759353a4: Preparing 22:12:57 f1417ff83b31: Preparing 22:12:57 601f759353a4: Layer already exists 22:12:57 6e8e3ab54c47: Layer already exists 22:12:57 f1417ff83b31: Layer already exists 22:12:57 e10819cea74e: Layer already exists 22:12:57 4f0c587146b0: Layer already exists 22:12:57 latest: digest: sha256:aa11b8ed82333620f1396da5d9a2cc7b636899185cf06c437d21fff48662fbbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:57 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.56 22:12:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:12:57 4f0c587146b0: Preparing 22:12:57 6e8e3ab54c47: Preparing 22:12:57 e10819cea74e: Preparing 22:12:57 601f759353a4: Preparing 22:12:57 f1417ff83b31: Preparing 22:12:57 e10819cea74e: Layer already exists 22:12:57 6e8e3ab54c47: Layer already exists 22:12:57 601f759353a4: Layer already exists 22:12:57 f1417ff83b31: Layer already exists 22:12:57 4f0c587146b0: Layer already exists 22:12:57 3.0.0-dev.56: digest: sha256:aa11b8ed82333620f1396da5d9a2cc7b636899185cf06c437d21fff48662fbbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:12:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:12:58 4f0c587146b0: Preparing 22:12:58 6e8e3ab54c47: Preparing 22:12:58 e10819cea74e: Preparing 22:12:58 601f759353a4: Preparing 22:12:58 f1417ff83b31: Preparing 22:12:58 601f759353a4: Layer already exists 22:12:58 4f0c587146b0: Layer already exists 22:12:58 f1417ff83b31: Layer already exists 22:12:58 e10819cea74e: Layer already exists 22:12:58 6e8e3ab54c47: Layer already exists 22:12:58 01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56: digest: sha256:aa11b8ed82333620f1396da5d9a2cc7b636899185cf06c437d21fff48662fbbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 22:12:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 22:12:59 4f0c587146b0: Preparing 22:12:59 6e8e3ab54c47: Preparing 22:12:59 e10819cea74e: Preparing 22:12:59 601f759353a4: Preparing 22:12:59 f1417ff83b31: Preparing 22:12:59 e10819cea74e: Layer already exists 22:12:59 6e8e3ab54c47: Layer already exists 22:12:59 601f759353a4: Layer already exists 22:12:59 f1417ff83b31: Layer already exists 22:12:59 4f0c587146b0: Layer already exists 22:12:59 main: digest: sha256:aa11b8ed82333620f1396da5d9a2cc7b636899185cf06c437d21fff48662fbbc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:59 ===================================================== [Pipeline] echo 22:12:59 taggedImages: 22:12:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79 22:12:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 22:12:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.56 22:12:59 - nexus3.edgexfoundry.org:10004/device-onvif-camera:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:12:59 - 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 22:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:59 22:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:59 latest: Pulling from edgex-lftools-log-publisher 22:12:59 5eb5b503b376: Pulling fs layer 22:12:59 5c69ac0246d0: Pulling fs layer 22:12:59 ec43610c2a17: Pulling fs layer 22:12:59 3a2ae6a8a46f: Pulling fs layer 22:12:59 33b1e0a273af: Pulling fs layer 22:12:59 5d3b04190fa2: Pulling fs layer 22:12:59 2f39f015ded8: Pulling fs layer 22:12:59 33b1e0a273af: Waiting 22:12:59 2f39f015ded8: Waiting 22:12:59 5d3b04190fa2: Waiting 22:12:59 3a2ae6a8a46f: Waiting 22:12:59 5c69ac0246d0: Download complete 22:12:59 3a2ae6a8a46f: Verifying Checksum 22:12:59 3a2ae6a8a46f: Download complete 22:12:59 33b1e0a273af: Verifying Checksum 22:12:59 33b1e0a273af: Download complete 22:12:59 5d3b04190fa2: Verifying Checksum 22:12:59 5d3b04190fa2: Download complete 22:12:59 ec43610c2a17: Verifying Checksum 22:12:59 ec43610c2a17: Download complete 22:13:00 5eb5b503b376: Verifying Checksum 22:13:00 5eb5b503b376: Download complete 22:13:00 2f39f015ded8: Download complete 22:13:01 5eb5b503b376: Pull complete 22:13:01 5c69ac0246d0: Pull complete 22:13:01 ec43610c2a17: Pull complete 22:13:01 3a2ae6a8a46f: Pull complete 22:13:02 33b1e0a273af: Pull complete 22:13:02 5d3b04190fa2: Pull complete 22:13:06 2f39f015ded8: Pull complete 22:13:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:06 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:13:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 22:13:07 $ docker top e11b5a8d1a6bf961e5af268b47c374297c2143f364b3d697d6c292c3225a80cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:08 ---> job-cost.sh 22:13:08 lf-activate-venv: SKIPPING 22:13:08 INFO: No Stack... 22:13:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:08 INFO: Archiving Costs [Pipeline] sh 22:13:09 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 22:13:09 + cut -d, -f6 [Pipeline] lock 22:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] 22:13:09 Resource [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] did not exist. Created. 22:13:09 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:09 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:09 Stashed 1 file(s) [Pipeline] } 22:13:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:09 $ docker stop --time=1 e11b5a8d1a6bf961e5af268b47c374297c2143f364b3d697d6c292c3225a80cf 22:13:10 $ docker rm -f --volumes e11b5a8d1a6bf961e5af268b47c374297c2143f364b3d697d6c292c3225a80cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:15 provisioning config files... 22:13:15 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/153@tmp/config6554759414018145694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:15 ---> docker-login.sh 22:13:15 nexus3.edgexfoundry.org:10001 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:16 Configure a credential helper to remove this warning. See 22:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:16 22:13:16 Login Succeeded 22:13:16 nexus3.edgexfoundry.org:10002 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:16 Configure a credential helper to remove this warning. See 22:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:16 22:13:16 Login Succeeded 22:13:16 nexus3.edgexfoundry.org:10003 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:17 Configure a credential helper to remove this warning. See 22:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:17 22:13:17 Login Succeeded 22:13:17 nexus3.edgexfoundry.org:10004 22:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:17 Configure a credential helper to remove this warning. See 22:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:17 22:13:17 Login Succeeded 22:13:17 docker.io 22:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:18 Configure a credential helper to remove this warning. See 22:13:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:18 22:13:18 Login Succeeded 22:13:18 ---> docker-login.sh ends [Pipeline] } 22:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:13:18 ========================================================= 22:13:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:13:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:18 + 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 . 22:13:19 Sending build context to Docker daemon 14.37MB 22:13:19 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:13:19 Step 2/13 : FROM ${BASE} AS builder 22:13:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:19 c41833b44d91: Pulling fs layer 22:13:19 ed15518f5707: Pulling fs layer 22:13:19 feae8fd75edb: Pulling fs layer 22:13:19 242c74f7c9fa: Pulling fs layer 22:13:19 3cdef696dda3: Pulling fs layer 22:13:19 2ced38df9373: Pulling fs layer 22:13:19 58f1dce35555: Pulling fs layer 22:13:19 242c74f7c9fa: Waiting 22:13:19 3cdef696dda3: Waiting 22:13:19 2ced38df9373: Waiting 22:13:19 58f1dce35555: Waiting 22:13:19 ed15518f5707: Verifying Checksum 22:13:19 ed15518f5707: Download complete 22:13:19 242c74f7c9fa: Verifying Checksum 22:13:19 242c74f7c9fa: Download complete 22:13:19 3cdef696dda3: Verifying Checksum 22:13:19 3cdef696dda3: Download complete 22:13:19 c41833b44d91: Verifying Checksum 22:13:20 c41833b44d91: Pull complete 22:13:21 58f1dce35555: Verifying Checksum 22:13:21 58f1dce35555: Download complete 22:13:22 feae8fd75edb: Verifying Checksum 22:13:22 feae8fd75edb: Download complete 22:13:22 2ced38df9373: Download complete 22:13:23 ed15518f5707: Pull complete 22:13:38 feae8fd75edb: Pull complete 22:13:38 242c74f7c9fa: Pull complete 22:13:38 3cdef696dda3: Pull complete 22:13:44 2ced38df9373: Pull complete 22:13:47 58f1dce35555: Pull complete 22:13:47 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:13:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:13:47 ---> fadd8f120f05 22:13:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:49 ---> Running in e69ee5ab2f2b 22:13:49 Removing intermediate container e69ee5ab2f2b 22:13:49 ---> 2c4c5aedcf50 22:13:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:49 ---> Running in 2e332fa7ff42 22:13:49 Removing intermediate container 2e332fa7ff42 22:13:49 ---> 942c28e0247b 22:13:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:49 ---> Running in c8d963e99e14 22:13:50 Removing intermediate container c8d963e99e14 22:13:50 ---> 2e9acbc9a72e 22:13:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:50 ---> Running in 18780387dd8a 22:13:50 Removing intermediate container 18780387dd8a 22:13:50 ---> a5a8a4b08116 22:13:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:50 ---> Running in 2ae149020e25 22:13:51 Removing intermediate container 2ae149020e25 22:13:51 ---> 93d9ad2eeb6e 22:13:51 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:51 ---> Running in b7625cc792f4 22:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:13:53 OK: 263 MiB in 53 packages 22:13:54 Removing intermediate container b7625cc792f4 22:13:54 ---> 094a52898eff 22:13:54 Step 9/13 : WORKDIR /device-onvif-camera 22:13:54 ---> Running in cb653f1aea53 22:13:54 Removing intermediate container cb653f1aea53 22:13:54 ---> 26acfa2f4331 22:13:54 Step 10/13 : COPY go.mod vendor* ./ 22:13:55 ---> 46ebaf7ebb45 22:13:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:55 ---> Running in e6166288bb43 22:15:03 Removing intermediate container e6166288bb43 22:15:03 ---> f86469e46392 22:15:03 Step 12/13 : COPY . . 22:15:03 ---> ecb0f42975ef 22:15:03 Step 13/13 : RUN ${MAKE} 22:15:03 ---> Running in 9c1b0450e9d4 22:15:03 noop 22:15:03 Removing intermediate container 9c1b0450e9d4 22:15:03 ---> 811579be748e 22:15:03 Successfully built 811579be748e 22:15:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:03 + docker inspect -f . ci-base-image-arm64 22:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-16393 does not seem to be running inside a container 22:15:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/153 -v /w/workspace/device-onvif-camera/153:/w/workspace/device-onvif-camera/153:rw,z -v /w/workspace/device-onvif-camera/153@tmp:/w/workspace/device-onvif-camera/153@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 22:15:05 $ docker top 7a39444f0091accd95f3421d785dd3cbad6e6dd39d27bb93bf9a692d6cfed190 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:06 + go version 22:15:06 go version go1.20.2 linux/arm64 [Pipeline] } 22:15:06 $ docker stop --time=1 7a39444f0091accd95f3421d785dd3cbad6e6dd39d27bb93bf9a692d6cfed190 22:15:07 $ docker rm -f --volumes 7a39444f0091accd95f3421d785dd3cbad6e6dd39d27bb93bf9a692d6cfed190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:08 + docker inspect -f . ci-base-image-arm64 22:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:08 prd-ubuntu20.04-docker-arm64-4c-16g-16393 does not seem to be running inside a container 22:15:08 $ 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/153 -v /w/workspace/device-onvif-camera/153:/w/workspace/device-onvif-camera/153:rw,z -v /w/workspace/device-onvif-camera/153@tmp:/w/workspace/device-onvif-camera/153@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 22:15:09 $ docker top bbb995c15e068c531ec7c3c095bfbc81c0632bd116b3a43f1b937e9314681159 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:10 + git config --global --add safe.directory /w/workspace/device-onvif-camera/153 [Pipeline] fileExists [Pipeline] sh 22:15:10 + make test 22:15:10 go test ./... -coverprofile=coverage.out ./... 22:15:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:18:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:18:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:18:12 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.319s coverage: 31.4% of statements 22:18:38 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.464s coverage: 86.5% of statements 22:18:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:18:38 go vet ./... 22:19:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:19:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:19:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:19:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:19:11 $ docker stop --time=1 bbb995c15e068c531ec7c3c095bfbc81c0632bd116b3a43f1b937e9314681159 22:19:13 $ docker rm -f --volumes bbb995c15e068c531ec7c3c095bfbc81c0632bd116b3a43f1b937e9314681159 [Pipeline] // withDockerContainer [Pipeline] sh 22:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:19:14 Warning: overwriting stash ‘coverage-report’ 22:19:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:19:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:19:15 + ls -al . 22:19:15 total 228 22:19:15 drwxrwxr-x 9 jenkins jenkins 4096 May 22 22:15 . 22:19:15 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:12 .. 22:19:15 drwxrwxr-x 8 jenkins jenkins 4096 May 22 22:12 .git 22:19:15 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:12 .github 22:19:15 -rw-rw-r-- 1 jenkins jenkins 496 May 22 22:12 .gitignore 22:19:15 -rw-rw-r-- 1 jenkins jenkins 42 May 22 22:12 .golangci.yml 22:19:15 -rw-rw-r-- 1 jenkins jenkins 10087 May 22 22:12 Attribution.txt 22:19:15 -rw-rw-r-- 1 jenkins jenkins 6312 May 22 22:12 CHANGELOG.md 22:19:15 -rw-rw-r-- 1 jenkins jenkins 1574 May 22 22:12 Dockerfile 22:19:15 -rw-rw-r-- 1 jenkins jenkins 677 May 22 22:12 GOVERNANCE.md 22:19:15 -rw-rw-r-- 1 jenkins jenkins 739 May 22 22:12 Jenkinsfile 22:19:15 -rw-rw-r-- 1 jenkins jenkins 11348 May 22 22:12 LICENSE 22:19:15 -rw-rw-r-- 1 jenkins jenkins 2751 May 22 22:12 Makefile 22:19:15 -rw-rw-r-- 1 jenkins jenkins 625 May 22 22:12 OWNERS.md 22:19:15 -rw-rw-r-- 1 jenkins jenkins 2690 May 22 22:12 README.md 22:19:15 -rw-rw-r-- 1 jenkins jenkins 12 May 22 22:11 VERSION 22:19:15 drwxrwxr-x 2 jenkins jenkins 4096 May 22 22:12 bin 22:19:15 drwxrwxr-x 3 jenkins jenkins 4096 May 22 22:12 cmd 22:19:15 -rw-r--r-- 1 jenkins jenkins 78459 May 22 22:18 coverage.out 22:19:15 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:12 doc 22:19:15 -rw-rw-r-- 1 jenkins jenkins 3642 May 22 22:12 go.mod 22:19:15 -rw-rw-r-- 1 jenkins jenkins 33491 May 22 22:12 go.sum 22:19:15 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:12 internal 22:19:15 drwxrwxr-x 4 jenkins jenkins 4096 May 22 22:12 snap 22:19:15 -rw-rw-r-- 1 jenkins jenkins 236 May 22 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:15 + 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=01232ef71281965359620122f9fdc73016fc5c79 --label arch=arm64 --label version=3.0.0-dev.56 . 22:19:16 Sending build context to Docker daemon 14.45MB 22:19:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:19:16 Step 2/26 : FROM ${BASE} AS builder 22:19:16 ---> 811579be748e 22:19:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:19:17 ---> Running in b2f30e1131d8 22:19:17 Removing intermediate container b2f30e1131d8 22:19:17 ---> 6a113cf6235d 22:19:17 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:19:17 ---> Running in 261f7479e8f1 22:19:18 Removing intermediate container 261f7479e8f1 22:19:18 ---> 4a3e54c9cbb1 22:19:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:19:18 ---> Running in f94615b4ab65 22:19:18 Removing intermediate container f94615b4ab65 22:19:18 ---> 0f331c7b3c65 22:19:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:19:18 ---> Running in c8ec238b03b1 22:19:18 Removing intermediate container c8ec238b03b1 22:19:18 ---> 66178eac4b73 22:19:18 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:19:18 ---> Running in 74605197dbfc 22:19:19 Removing intermediate container 74605197dbfc 22:19:19 ---> e9153223cde5 22:19:19 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:19:19 ---> Running in 79622b746eda 22:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:19:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:19:22 OK: 263 MiB in 53 packages 22:19:23 Removing intermediate container 79622b746eda 22:19:23 ---> 53ea6bf0191f 22:19:23 Step 9/26 : WORKDIR /device-onvif-camera 22:19:23 ---> Running in eb18e320c630 22:19:23 Removing intermediate container eb18e320c630 22:19:23 ---> 76f2a21aeedc 22:19:23 Step 10/26 : COPY go.mod vendor* ./ 22:19:23 ---> 223d229fa5e3 22:19:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:19:24 ---> Running in eaff3b1a20c4 22:19:27 Removing intermediate container eaff3b1a20c4 22:19:27 ---> 44b54be7c042 22:19:27 Step 12/26 : COPY . . 22:19:28 ---> e1ff3ca54648 22:19:28 Step 13/26 : RUN ${MAKE} 22:19:29 ---> Running in f7a56272ff33 22:19:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.56" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:22:10 Removing intermediate container f7a56272ff33 22:22:10 ---> dbef37fccc19 22:22:10 Step 14/26 : FROM alpine:3.17 22:22:10 3.17: Pulling from library/alpine 22:22:10 c41833b44d91: Already exists 22:22:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:22:10 Status: Downloaded newer image for alpine:3.17 22:22:10 ---> 51e60588ff2c 22:22:10 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:22:10 ---> Running in 44ac01da1edd 22:22:10 Removing intermediate container 44ac01da1edd 22:22:10 ---> 366bf6ff9397 22:22:10 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:22:10 ---> Running in e6b96f6b6c9d 22:22:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:10 (1/1) Installing dumb-init (1.2.5-r2) 22:22:10 Executing busybox-1.35.0-r29.trigger 22:22:10 OK: 8 MiB in 16 packages 22:22:10 Removing intermediate container e6b96f6b6c9d 22:22:10 ---> fc5f5a43f102 22:22:10 Step 17/26 : WORKDIR / 22:22:10 ---> Running in 1070d5fd48ef 22:22:10 Removing intermediate container 1070d5fd48ef 22:22:10 ---> 8c83c5c457e1 22:22:10 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:22:10 ---> bdac542e0e5d 22:22:10 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:22:10 ---> 1d53c3aa844d 22:22:10 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:22:10 ---> 741b0a200ecf 22:22:10 Step 21/26 : EXPOSE 59984 22:22:10 ---> Running in ba80e3ea4420 22:22:10 Removing intermediate container ba80e3ea4420 22:22:10 ---> eadc3edf67f1 22:22:10 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:22:10 ---> Running in c51ceaa49b23 22:22:10 Removing intermediate container c51ceaa49b23 22:22:10 ---> 5bf1cc05aeda 22:22:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:22:10 ---> Running in ced8a42a4c6b 22:22:10 Removing intermediate container ced8a42a4c6b 22:22:10 ---> 2450f909e805 22:22:10 Step 24/26 : LABEL arch=arm64 22:22:10 ---> Running in ce4cd2e743f6 22:22:10 Removing intermediate container ce4cd2e743f6 22:22:10 ---> 214eab4a8a77 22:22:10 Step 25/26 : LABEL git_sha=01232ef71281965359620122f9fdc73016fc5c79 22:22:11 ---> Running in c9f29ff53412 22:22:11 Removing intermediate container c9f29ff53412 22:22:11 ---> c728a1acec2a 22:22:11 Step 26/26 : LABEL version=3.0.0-dev.56 22:22:11 ---> Running in ade0ea57ccf8 22:22:11 Removing intermediate container ade0ea57ccf8 22:22:11 ---> 228f0629d38a 22:22:11 [Warning] One or more build-args [ARCH] were not consumed 22:22:11 Successfully built 228f0629d38a 22:22:11 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 22:22:11 provisioning config files... 22:22:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/153@tmp/config12426415160652169178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:12 ---> docker-login.sh 22:22:12 nexus3.edgexfoundry.org:10001 22:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:12 Configure a credential helper to remove this warning. See 22:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:12 22:22:12 Login Succeeded 22:22:12 nexus3.edgexfoundry.org:10002 22:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:12 Configure a credential helper to remove this warning. See 22:22:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:12 22:22:12 Login Succeeded 22:22:12 nexus3.edgexfoundry.org:10003 22:22:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:13 Configure a credential helper to remove this warning. See 22:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:13 22:22:13 Login Succeeded 22:22:13 nexus3.edgexfoundry.org:10004 22:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:13 Configure a credential helper to remove this warning. See 22:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:13 22:22:13 Login Succeeded 22:22:13 docker.io 22:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:22:14 Configure a credential helper to remove this warning. See 22:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:22:14 22:22:14 Login Succeeded 22:22:14 ---> docker-login.sh ends [Pipeline] } 22:22:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:22:14 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 22:22:14 01232ef71281965359620122f9fdc73016fc5c79 22:22:14 latest 22:22:14 3.0.0-dev.56 22:22:14 01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:22:14 main 22:22:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79 22:22:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:22:14 092e4166289f: Preparing 22:22:14 728e52a3cd1d: Preparing 22:22:14 17f0810168d8: Preparing 22:22:14 dccf117d2601: Preparing 22:22:14 26cbea5cba74: Preparing 22:22:14 26cbea5cba74: Layer already exists 22:22:15 728e52a3cd1d: Pushed 22:22:15 092e4166289f: Pushed 22:22:15 dccf117d2601: Pushed 22:22:21 17f0810168d8: Pushed 22:22:21 01232ef71281965359620122f9fdc73016fc5c79: digest: sha256:6e48759c61c2dbfd8802b2e0caf7596ec4f4f5d4bb8b91739706b426385ec8de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:22 + 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 22:22:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:22:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:22:22 092e4166289f: Preparing 22:22:22 728e52a3cd1d: Preparing 22:22:22 17f0810168d8: Preparing 22:22:22 dccf117d2601: Preparing 22:22:22 26cbea5cba74: Preparing 22:22:22 26cbea5cba74: Layer already exists 22:22:22 092e4166289f: Layer already exists 22:22:22 728e52a3cd1d: Layer already exists 22:22:22 17f0810168d8: Layer already exists 22:22:22 dccf117d2601: Layer already exists 22:22:22 latest: digest: sha256:6e48759c61c2dbfd8802b2e0caf7596ec4f4f5d4bb8b91739706b426385ec8de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.56 22:22:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:22:23 092e4166289f: Preparing 22:22:23 728e52a3cd1d: Preparing 22:22:23 17f0810168d8: Preparing 22:22:23 dccf117d2601: Preparing 22:22:23 26cbea5cba74: Preparing 22:22:23 26cbea5cba74: Layer already exists 22:22:23 092e4166289f: Layer already exists 22:22:23 dccf117d2601: Layer already exists 22:22:23 17f0810168d8: Layer already exists 22:22:23 728e52a3cd1d: Layer already exists 22:22:23 3.0.0-dev.56: digest: sha256:6e48759c61c2dbfd8802b2e0caf7596ec4f4f5d4bb8b91739706b426385ec8de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:24 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:22:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:22:24 092e4166289f: Preparing 22:22:24 728e52a3cd1d: Preparing 22:22:24 17f0810168d8: Preparing 22:22:24 dccf117d2601: Preparing 22:22:24 26cbea5cba74: Preparing 22:22:24 17f0810168d8: Layer already exists 22:22:24 728e52a3cd1d: Layer already exists 22:22:24 092e4166289f: Layer already exists 22:22:24 dccf117d2601: Layer already exists 22:22:24 26cbea5cba74: Layer already exists 22:22:24 01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56: digest: sha256:6e48759c61c2dbfd8802b2e0caf7596ec4f4f5d4bb8b91739706b426385ec8de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:24 + 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 22:22:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 22:22:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 22:22:25 092e4166289f: Preparing 22:22:25 728e52a3cd1d: Preparing 22:22:25 17f0810168d8: Preparing 22:22:25 dccf117d2601: Preparing 22:22:25 26cbea5cba74: Preparing 22:22:25 092e4166289f: Layer already exists 22:22:25 17f0810168d8: Layer already exists 22:22:25 dccf117d2601: Layer already exists 22:22:25 26cbea5cba74: Layer already exists 22:22:25 728e52a3cd1d: Layer already exists 22:22:25 main: digest: sha256:6e48759c61c2dbfd8802b2e0caf7596ec4f4f5d4bb8b91739706b426385ec8de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:22:25 ===================================================== [Pipeline] echo 22:22:25 taggedImages: 22:22:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79 22:22:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 22:22:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.56 22:22:25 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:01232ef71281965359620122f9fdc73016fc5c79-3.0.0-dev.56 22:22:25 - 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 22:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:25 22:22:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:26 arm64: Pulling from edgex-lftools-log-publisher 22:22:26 8998bd30e6a1: Pulling fs layer 22:22:26 04944245beec: Pulling fs layer 22:22:26 699f458cf7ca: Pulling fs layer 22:22:26 765212b225bb: Pulling fs layer 22:22:26 f23df028b6ca: Pulling fs layer 22:22:26 d65c8cfc05b1: Pulling fs layer 22:22:26 2437ff75d9bd: Pulling fs layer 22:22:26 765212b225bb: Waiting 22:22:26 f23df028b6ca: Waiting 22:22:26 d65c8cfc05b1: Waiting 22:22:26 2437ff75d9bd: Waiting 22:22:26 04944245beec: Verifying Checksum 22:22:26 04944245beec: Download complete 22:22:26 765212b225bb: Verifying Checksum 22:22:26 765212b225bb: Download complete 22:22:26 f23df028b6ca: Download complete 22:22:26 d65c8cfc05b1: Verifying Checksum 22:22:26 d65c8cfc05b1: Download complete 22:22:26 699f458cf7ca: Verifying Checksum 22:22:26 699f458cf7ca: Download complete 22:22:27 8998bd30e6a1: Download complete 22:22:29 2437ff75d9bd: Verifying Checksum 22:22:29 2437ff75d9bd: Download complete 22:22:31 8998bd30e6a1: Pull complete 22:22:31 04944245beec: Pull complete 22:22:33 699f458cf7ca: Pull complete 22:22:33 765212b225bb: Pull complete 22:22:33 f23df028b6ca: Pull complete 22:22:33 d65c8cfc05b1: Pull complete 22:22:48 2437ff75d9bd: Pull complete 22:22:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:22:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:22:49 prd-ubuntu20.04-docker-arm64-4c-16g-16393 does not seem to be running inside a container 22:22:49 $ 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/153 -v /w/workspace/device-onvif-camera/153:/w/workspace/device-onvif-camera/153:rw,z -v /w/workspace/device-onvif-camera/153@tmp:/w/workspace/device-onvif-camera/153@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 22:22:52 $ docker top 1162b2ea2a7bef4fa953a29b824ef07d524a676220875da0e1eeaebe413663ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:22:52 ---> job-cost.sh 22:22:52 lf-activate-venv: SKIPPING 22:22:52 INFO: No Stack... 22:22:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:22:54 INFO: Archiving Costs [Pipeline] sh 22:22:54 + cat /w/workspace/device-onvif-camera/153/archives/cost.csv 22:22:54 + cut -d, -f6 [Pipeline] lock 22:22:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] 22:22:54 Resource [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] did not exist. Created. 22:22:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:22:55 /w/workspace/device-onvif-camera/153@tmp/durable-b503e926/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:22:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:22:56 Warning: overwriting stash ‘stack-cost’ 22:22:56 Stashed 1 file(s) [Pipeline] } 22:22:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 22:22:56 $ docker stop --time=1 1162b2ea2a7bef4fa953a29b824ef07d524a676220875da0e1eeaebe413663ac 22:22:57 $ docker rm -f --volumes 1162b2ea2a7bef4fa953a29b824ef07d524a676220875da0e1eeaebe413663ac [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 22:22:58 provisioning config files... 22:22:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16570427437476600429tmp [Pipeline] { [Pipeline] sh 22:22:58 + set +x 22:22:58 + curl -s https://codecov.io/bash 22:22:58 + bash -s -- 22:22:58 22:22:58 _____ _ 22:22:58 / ____| | | 22:22:58 | | ___ __| | ___ ___ _____ __ 22:22:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:22:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:22:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:22:58 Bash-1.0.6 22:22:58 22:22:58 22:22:58 ==> git version 2.25.1 found 22:22:58 ==> 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 22:22:58 Release-Date: 2020-01-08 22:22:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:22:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:22:58 ==> Jenkins CI detected. 22:22:58 current dir:  /w/workspace/foundry_device-onvif-camera_main 22:22:58 project root: . 22:22:58 --> token set from env 22:22:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:22:58 ==> Running gcov in . (disable via -X gcov) 22:22:58 ==> Python coveragepy not found 22:22:58 ==> Searching for coverage reports in: 22:22:58 + . 22:22:58 -> Found 1 reports 22:22:58 ==> Detecting git/mercurial file structure 22:22:58 ==> Reading reports 22:22:58 + ./coverage.out bytes=78459 22:22:58 ==> Appending adjustments 22:22:58 https://docs.codecov.io/docs/fixing-reports 22:22:58 + Found adjustments 22:22:58 ==> Gzipping contents 22:22:58 12K /tmp/codecov.nAwQSy.gz 22:22:58 ==> Uploading reports 22:22:58 url: https://codecov.io 22:22:58 query: branch=main&commit=01232ef71281965359620122f9fdc73016fc5c79&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:22:58 -> Pinging Codecov 22:22:58 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=01232ef71281965359620122f9fdc73016fc5c79&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 22:23:11 -> Uploading to 22:23:11 https://storage.googleapis.com/codecov/v4/raw/2023-05-22/F29A59C45E3A92E06B3E522C9905F8EF/01232ef71281965359620122f9fdc73016fc5c79/7b641bbb-7a9c-4dde-9c1d-b3eb208c59c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230522%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230522T222309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2152fc4d00cc625d395a877047787428d59bac2a40d038ca93f46ecc2fd2f439 22:23:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:11 Dload Upload Total Spent Left Speed 22:23:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 51497 --:--:-- --:--:-- --:--:-- 51497 22:23:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] } 22:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:23:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:23:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:23:11 22:23:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:23:11 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:23:11 df9b9388f04a: Pulling fs layer 22:23:11 52dc419b0ee2: Pulling fs layer 22:23:11 25bc292e5bac: Pulling fs layer 22:23:11 114826534d7a: Pulling fs layer 22:23:11 4657fd5d0bcf: Pulling fs layer 22:23:11 6ad1cebc031e: Pulling fs layer 22:23:11 8a3aa393b2d8: Pulling fs layer 22:23:11 4657fd5d0bcf: Waiting 22:23:11 114826534d7a: Waiting 22:23:11 6ad1cebc031e: Waiting 22:23:11 8a3aa393b2d8: Waiting 22:23:11 25bc292e5bac: Verifying Checksum 22:23:11 25bc292e5bac: Download complete 22:23:11 52dc419b0ee2: Download complete 22:23:11 4657fd5d0bcf: Verifying Checksum 22:23:11 4657fd5d0bcf: Download complete 22:23:11 df9b9388f04a: Verifying Checksum 22:23:11 df9b9388f04a: Download complete 22:23:12 df9b9388f04a: Pull complete 22:23:12 6ad1cebc031e: Verifying Checksum 22:23:12 6ad1cebc031e: Download complete 22:23:12 52dc419b0ee2: Pull complete 22:23:12 25bc292e5bac: Pull complete 22:23:12 114826534d7a: Verifying Checksum 22:23:12 114826534d7a: Download complete 22:23:12 8a3aa393b2d8: Verifying Checksum 22:23:12 8a3aa393b2d8: Download complete 22:23:16 114826534d7a: Pull complete 22:23:16 4657fd5d0bcf: Pull complete 22:23:16 6ad1cebc031e: Pull complete 22:23:18 8a3aa393b2d8: Pull complete 22:23:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:23:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:18 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:23:18 $ 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 22:23:23 $ docker top 5e25b9152a7f409321098a352e5240aa09b40904ff2af8267bd8ed7461dc8d04 -eo pid,comm [Pipeline] { [Pipeline] echo 22:23:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 22:23:23 + set -o pipefail 22:23:23 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 22:23:30 22:23:30 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 22:23:30 22:23:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/dfb2c8c2-d550-45f2-be2e-921179b6468e 22:23:30 22:23:30 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 22:23:30 22:23:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:23:30 22:23:30 22:23:30 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:23:30 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:23:30 More details here: https://snyk.co/ue1NS [Pipeline] } 22:23:30 $ docker stop --time=1 5e25b9152a7f409321098a352e5240aa09b40904ff2af8267bd8ed7461dc8d04 22:23:33 $ docker rm -f --volumes 5e25b9152a7f409321098a352e5240aa09b40904ff2af8267bd8ed7461dc8d04 [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 22:23:33 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:23:33 provisioning config files... 22:23:33 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12641451517041800247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:23:34 --> edgex-publish-swagger.sh 22:23:34 === Publish doc/openapi/v3 API === 22:23:34 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 22:23:34 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 22:23:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:23:34 Dload Upload Total Spent Left Speed 22:23:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 0 0 100 485k 0 714k --:--:-- --:--:-- --:--:-- 714k 22:23:34 22:23:34 [Pipeline] } 22:23:34 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 22:23:35 + git log --format=format:%s -1 01232ef71281965359620122f9fdc73016fc5c79 [Pipeline] sh 22:23:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:23:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:35 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:23:35 $ 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 22:23:36 $ docker top 0ae6f6ea6d055be0909cab0b313851bc3d534df2f8a4eae4d793eb17efa426af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:23:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:23:36 [ssh-agent] Looking for ssh-agent implementation... 22:23:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:23:36 $ docker exec 0ae6f6ea6d055be0909cab0b313851bc3d534df2f8a4eae4d793eb17efa426af ssh-agent 22:23:36 SSH_AUTH_SOCK=/tmp/ssh-LJfv9R41SGCs/agent.33 22:23:36 SSH_AGENT_PID=39 22:23:36 Running ssh-add (command line suppressed) 22:23:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8166413185638798539.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8166413185638798539.key) 22:23:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:23:36 + git semver tag 22:23:37 2023-05-22 22:23:37,103 [run_tag] DEBUG tag force:False 22:23:37 2023-05-22 22:23:37,103 [check_head_tag] DEBUG check head tag 22:23:37 2023-05-22 22:23:37,105 [execute] INFO git cat-file --batch-check 22:23:37 2023-05-22 22:23:37,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:23:37 2023-05-22 22:23:37,108 [execute] INFO git cat-file --batch 22:23:37 2023-05-22 22:23:37,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 22:23:37 2023-05-22 22:23:37,143 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:23:37 2023-05-22 22:23:37,143 [execute] INFO git tag -a v3.0.0-dev.56 -m v3.0.0-dev.56 22:23:37 2023-05-22 22:23:37,143 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.56', '-m', 'v3.0.0-dev.56'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 22:23:37 2023-05-22 22:23:37,148 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:23:37 3.0.0-dev.56 [Pipeline] } 22:23:37 $ docker exec --env ******** --env ******** 0ae6f6ea6d055be0909cab0b313851bc3d534df2f8a4eae4d793eb17efa426af ssh-agent -k 22:23:37 unset SSH_AUTH_SOCK; 22:23:37 unset SSH_AGENT_PID; 22:23:37 echo Agent pid 39 killed; 22:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:23:37 + git semver [Pipeline] } 22:23:37 $ docker stop --time=1 0ae6f6ea6d055be0909cab0b313851bc3d534df2f8a4eae4d793eb17efa426af 22:23:39 $ docker rm -f --volumes 0ae6f6ea6d055be0909cab0b313851bc3d534df2f8a4eae4d793eb17efa426af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:39 22:23:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:39 0.23.1-centos7: Pulling from edgex-lftools 22:23:39 ab5ef0e58194: Pulling fs layer 22:23:39 9712f1f96733: Pulling fs layer 22:23:39 63f879dbbcfc: Pulling fs layer 22:23:39 0d9ebad4ef96: Pulling fs layer 22:23:39 e9a5061849ea: Pulling fs layer 22:23:39 d747dcd14b5f: Pulling fs layer 22:23:39 2de7ff778b66: Pulling fs layer 22:23:39 e9a5061849ea: Waiting 22:23:39 d747dcd14b5f: Waiting 22:23:39 2de7ff778b66: Waiting 22:23:39 0d9ebad4ef96: Waiting 22:23:39 9712f1f96733: Download complete 22:23:40 63f879dbbcfc: Verifying Checksum 22:23:40 63f879dbbcfc: Download complete 22:23:40 ab5ef0e58194: Verifying Checksum 22:23:40 ab5ef0e58194: Download complete 22:23:40 e9a5061849ea: Verifying Checksum 22:23:40 e9a5061849ea: Download complete 22:23:40 d747dcd14b5f: Verifying Checksum 22:23:40 d747dcd14b5f: Download complete 22:23:40 0d9ebad4ef96: Verifying Checksum 22:23:40 0d9ebad4ef96: Download complete 22:23:40 2de7ff778b66: Verifying Checksum 22:23:40 2de7ff778b66: Download complete 22:23:42 ab5ef0e58194: Pull complete 22:23:43 9712f1f96733: Pull complete 22:23:43 63f879dbbcfc: Pull complete 22:23:47 0d9ebad4ef96: Pull complete 22:23:47 e9a5061849ea: Pull complete 22:23:47 d747dcd14b5f: Pull complete 22:23:48 2de7ff778b66: Pull complete 22:23:48 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:48 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:23:48 $ 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 22:23:54 $ docker top 955eb8da286f4d93127fe280a2b7b3e9b4ad0b688c48bfeb366daa971cda77a1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:23:54 provisioning config files... 22:23:54 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12412365644920383546tmp 22:23:54 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13148118478571288284tmp 22:23:54 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11848088701544385212tmp [Pipeline] { [Pipeline] echo 22:23:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:23:55 ---> sigul-configuration.sh 22:23:55 gpg: directory `/root/.gnupg' created 22:23:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:23:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:23:55 gpg: keyring `/root/.gnupg/secring.gpg' created 22:23:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:23:55 gpg: CAST5 encrypted data 22:23:55 gpg: encrypted with 1 passphrase 22:23:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:23:55 + mkdir /home/jenkins 22:23:55 + mkdir /home/jenkins/sigul [Pipeline] sh 22:23:55 + 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 22:23:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:23:55 ---> sigul-install.sh 22:23:55 Sigul already installed; skipping installation. [Pipeline] sh 22:23:56 + git tag --list 22:23:56 v0.0.0 22:23:56 v0.0.1-dev.1 22:23:56 v0.0.1-dev.10 22:23:56 v0.0.1-dev.11 22:23:56 v0.0.1-dev.12 22:23:56 v0.0.1-dev.13 22:23:56 v0.0.1-dev.14 22:23:56 v0.0.1-dev.15 22:23:56 v0.0.1-dev.16 22:23:56 v0.0.1-dev.17 22:23:56 v0.0.1-dev.18 22:23:56 v0.0.1-dev.19 22:23:56 v0.0.1-dev.2 22:23:56 v0.0.1-dev.20 22:23:56 v0.0.1-dev.21 22:23:56 v0.0.1-dev.22 22:23:56 v0.0.1-dev.23 22:23:56 v0.0.1-dev.24 22:23:56 v0.0.1-dev.25 22:23:56 v0.0.1-dev.26 22:23:56 v0.0.1-dev.27 22:23:56 v0.0.1-dev.28 22:23:56 v0.0.1-dev.3 22:23:56 v0.0.1-dev.4 22:23:56 v0.0.1-dev.5 22:23:56 v0.0.1-dev.6 22:23:56 v0.0.1-dev.7 22:23:56 v0.0.1-dev.8 22:23:56 v0.0.1-dev.9 22:23:56 v2.2.0 22:23:56 v2.2.0-dev.29 22:23:56 v2.2.0-dev.30 22:23:56 v2.2.0-dev.31 22:23:56 v2.2.0-dev.32 22:23:56 v2.2.0-dev.33 22:23:56 v2.2.0-dev.34 22:23:56 v2.2.0-dev.35 22:23:56 v2.3.0 22:23:56 v2.3.0-dev.1 22:23:56 v2.3.0-dev.10 22:23:56 v2.3.0-dev.11 22:23:56 v2.3.0-dev.12 22:23:56 v2.3.0-dev.13 22:23:56 v2.3.0-dev.14 22:23:56 v2.3.0-dev.15 22:23:56 v2.3.0-dev.16 22:23:56 v2.3.0-dev.17 22:23:56 v2.3.0-dev.18 22:23:56 v2.3.0-dev.19 22:23:56 v2.3.0-dev.2 22:23:56 v2.3.0-dev.20 22:23:56 v2.3.0-dev.21 22:23:56 v2.3.0-dev.22 22:23:56 v2.3.0-dev.23 22:23:56 v2.3.0-dev.24 22:23:56 v2.3.0-dev.25 22:23:56 v2.3.0-dev.26 22:23:56 v2.3.0-dev.27 22:23:56 v2.3.0-dev.28 22:23:56 v2.3.0-dev.29 22:23:56 v2.3.0-dev.3 22:23:56 v2.3.0-dev.30 22:23:56 v2.3.0-dev.31 22:23:56 v2.3.0-dev.32 22:23:56 v2.3.0-dev.33 22:23:56 v2.3.0-dev.34 22:23:56 v2.3.0-dev.35 22:23:56 v2.3.0-dev.36 22:23:56 v2.3.0-dev.37 22:23:56 v2.3.0-dev.38 22:23:56 v2.3.0-dev.39 22:23:56 v2.3.0-dev.4 22:23:56 v2.3.0-dev.40 22:23:56 v2.3.0-dev.41 22:23:56 v2.3.0-dev.42 22:23:56 v2.3.0-dev.43 22:23:56 v2.3.0-dev.44 22:23:56 v2.3.0-dev.45 22:23:56 v2.3.0-dev.5 22:23:56 v2.3.0-dev.6 22:23:56 v2.3.0-dev.7 22:23:56 v2.3.0-dev.8 22:23:56 v2.3.0-dev.9 22:23:56 v2.3.1 22:23:56 v2.3.1-dev.1 22:23:56 v2.3.1-dev.4 22:23:56 v2.3.1-dev.5 22:23:56 v2.3.2-dev.1 22:23:56 v2.3.2-dev.2 22:23:56 v3.0.0-dev.1 22:23:56 v3.0.0-dev.10 22:23:56 v3.0.0-dev.11 22:23:56 v3.0.0-dev.12 22:23:56 v3.0.0-dev.13 22:23:56 v3.0.0-dev.14 22:23:56 v3.0.0-dev.15 22:23:56 v3.0.0-dev.16 22:23:56 v3.0.0-dev.17 22:23:56 v3.0.0-dev.18 22:23:56 v3.0.0-dev.19 22:23:56 v3.0.0-dev.2 22:23:56 v3.0.0-dev.20 22:23:56 v3.0.0-dev.21 22:23:56 v3.0.0-dev.22 22:23:56 v3.0.0-dev.23 22:23:56 v3.0.0-dev.24 22:23:56 v3.0.0-dev.25 22:23:56 v3.0.0-dev.26 22:23:56 v3.0.0-dev.27 22:23:56 v3.0.0-dev.28 22:23:56 v3.0.0-dev.29 22:23:56 v3.0.0-dev.3 22:23:56 v3.0.0-dev.30 22:23:56 v3.0.0-dev.31 22:23:56 v3.0.0-dev.32 22:23:56 v3.0.0-dev.33 22:23:56 v3.0.0-dev.34 22:23:56 v3.0.0-dev.35 22:23:56 v3.0.0-dev.36 22:23:56 v3.0.0-dev.37 22:23:56 v3.0.0-dev.38 22:23:56 v3.0.0-dev.39 22:23:56 v3.0.0-dev.4 22:23:56 v3.0.0-dev.40 22:23:56 v3.0.0-dev.41 22:23:56 v3.0.0-dev.42 22:23:56 v3.0.0-dev.43 22:23:56 v3.0.0-dev.44 22:23:56 v3.0.0-dev.45 22:23:56 v3.0.0-dev.46 22:23:56 v3.0.0-dev.47 22:23:56 v3.0.0-dev.48 22:23:56 v3.0.0-dev.49 22:23:56 v3.0.0-dev.5 22:23:56 v3.0.0-dev.50 22:23:56 v3.0.0-dev.51 22:23:56 v3.0.0-dev.52 22:23:56 v3.0.0-dev.53 22:23:56 v3.0.0-dev.54 22:23:56 v3.0.0-dev.55 22:23:56 v3.0.0-dev.56 22:23:56 v3.0.0-dev.6 22:23:56 v3.0.0-dev.7 22:23:56 v3.0.0-dev.8 22:23:56 v3.0.0-dev.9 [Pipeline] sh 22:23:56 + lftools sign git-tag v3.0.0-dev.56 22:23:57 Signing Git tag with Sigul... 22:23:57 Signing v3.0.0-dev.56 [Pipeline] echo 22:23:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:23:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:23:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:23:57 $ docker stop --time=1 955eb8da286f4d93127fe280a2b7b3e9b4ad0b688c48bfeb366daa971cda77a1 22:23:59 $ docker rm -f --volumes 955eb8da286f4d93127fe280a2b7b3e9b4ad0b688c48bfeb366daa971cda77a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:23:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:23:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:23:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:23:59 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:23:59 $ 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 22:24:00 $ docker top 1fbf3aee58f67b79b8cd494ae8bae4391202169b428bf56337fd1965e6c8b840 -eo pid,comm 22:24:00 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). 22:24:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:24:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:00 [ssh-agent] Looking for ssh-agent implementation... 22:24:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:00 $ docker exec 1fbf3aee58f67b79b8cd494ae8bae4391202169b428bf56337fd1965e6c8b840 ssh-agent 22:24:00 SSH_AUTH_SOCK=/tmp/ssh-ooWPMEsp2ipr/agent.32 22:24:00 SSH_AGENT_PID=38 22:24:00 Running ssh-add (command line suppressed) 22:24:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9685915428407582208.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9685915428407582208.key) 22:24:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:00 + git semver bump pre 22:24:01 2023-05-22 22:24:01,110 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:24:01 2023-05-22 22:24:01,110 [bump_version] DEBUG bumping version:3.0.0-dev.56 on axis:pre with prefix:dev 22:24:01 2023-05-22 22:24:01,111 [bump_version] DEBUG bumped version:3.0.0-dev.57 22:24:01 2023-05-22 22:24:01,111 [write_version] DEBUG write version:3.0.0-dev.57 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 22:24:01 2023-05-22 22:24:01,111 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:24:01 2023-05-22 22:24:01,111 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 22:24:01 2023-05-22 22:24:01,113 [execute] INFO git cat-file --batch-check 22:24:01 2023-05-22 22:24:01,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:01 2023-05-22 22:24:01,118 [execute] INFO git cat-file --batch 22:24:01 2023-05-22 22:24:01,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:01 2023-05-22 22:24:01,124 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:24:01 3.0.0-dev.57 [Pipeline] } 22:24:01 $ docker exec --env ******** --env ******** 1fbf3aee58f67b79b8cd494ae8bae4391202169b428bf56337fd1965e6c8b840 ssh-agent -k 22:24:01 unset SSH_AUTH_SOCK; 22:24:01 unset SSH_AGENT_PID; 22:24:01 echo Agent pid 38 killed; 22:24:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:24:01 + git semver [Pipeline] } 22:24:01 $ docker stop --time=1 1fbf3aee58f67b79b8cd494ae8bae4391202169b428bf56337fd1965e6c8b840 22:24:03 $ docker rm -f --volumes 1fbf3aee58f67b79b8cd494ae8bae4391202169b428bf56337fd1965e6c8b840 [Pipeline] // withDockerContainer [Pipeline] sh 22:24:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:24:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:03 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:24: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 22:24:04 $ docker top 93d9aa25eee19a120cc747adcb657939908542b959e352ce9b8edb6816a80c44 -eo pid,comm 22:24: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). 22:24:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:24:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:24:04 [ssh-agent] Looking for ssh-agent implementation... 22:24:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:24:04 $ docker exec 93d9aa25eee19a120cc747adcb657939908542b959e352ce9b8edb6816a80c44 ssh-agent 22:24:04 SSH_AUTH_SOCK=/tmp/ssh-2Z2bmKuXcvqg/agent.33 22:24:04 SSH_AGENT_PID=39 22:24:04 Running ssh-add (command line suppressed) 22:24:04 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7540651457394489579.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7540651457394489579.key) 22:24:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:24:05 + git semver push 22:24:05 2023-05-22 22:24:05,194 [run_push] DEBUG push 22:24:05 2023-05-22 22:24:05,194 [execute] INFO git cat-file --batch-check 22:24:05 2023-05-22 22:24:05,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 22:24:05 2023-05-22 22:24:05,199 [execute] INFO git rev-list feced1c09d377c2091eef7ec1d3bd345536a967a -- 22:24:05 2023-05-22 22:24:05,199 [execute] DEBUG Popen(['git', 'rev-list', 'feced1c09d377c2091eef7ec1d3bd345536a967a', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:24:05 2023-05-22 22:24:05,209 [execute] INFO git fetch -v origin 22:24:05 2023-05-22 22:24:05,209 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 22:24:05 2023-05-22 22:24:05,813 [run_push] DEBUG no remote changes detected 22:24:05 2023-05-22 22:24:05,813 [execute] INFO git push origin semver 22:24:05 2023-05-22 22:24:05,814 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 22:24:06 2023-05-22 22:24:06,562 [run_push] DEBUG push all version tags 22:24:06 2023-05-22 22:24:06,562 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:24:06 2023-05-22 22:24:06,563 [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) 22:24:07 2023-05-22 22:24:07,272 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 22:24:07 3.0.0-dev.57 [Pipeline] } 22:24:07 $ docker exec --env ******** --env ******** 93d9aa25eee19a120cc747adcb657939908542b959e352ce9b8edb6816a80c44 ssh-agent -k 22:24:07 unset SSH_AUTH_SOCK; 22:24:07 unset SSH_AGENT_PID; 22:24:07 echo Agent pid 39 killed; 22:24:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:24:07 + git semver [Pipeline] } 22:24:08 $ docker stop --time=1 93d9aa25eee19a120cc747adcb657939908542b959e352ce9b8edb6816a80c44 22:24:09 $ docker rm -f --volumes 93d9aa25eee19a120cc747adcb657939908542b959e352ce9b8edb6816a80c44 [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 22:24:10 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 22:24:10 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:24:10 total 16 22:24:10 drwxr-xr-x 3 root root 4096 May 22 22:13 . 22:24:10 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:23 .. 22:24:10 drwxr-xr-x 2 root root 4096 May 22 22:13 cost 22:24:10 -rw-r--r-- 1 root root 91 May 22 22:13 cost.csv 22:24:10 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 22:24:10 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 22:24:10 total 16 22:24:10 drwxr-xr-x 3 jenkins jenkins 4096 May 22 22:13 . 22:24:10 drwxrwxr-x 11 jenkins jenkins 4096 May 22 22:23 .. 22:24:10 drwxr-xr-x 2 jenkins jenkins 4096 May 22 22:13 cost 22:24:10 -rw-r--r-- 1 jenkins jenkins 91 May 22 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:24:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:24:11 ---> package-listing.sh 22:24:11 ++ facter osfamily 22:24:11 ++ tr '[:upper:]' '[:lower:]' 22:24:11 + OS_FAMILY=debian 22:24:11 + workspace=/w/workspace/foundry_device-onvif-camera_main 22:24:11 + START_PACKAGES=/tmp/packages_start.txt 22:24:11 + END_PACKAGES=/tmp/packages_end.txt 22:24:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:24:11 + PACKAGES=/tmp/packages_start.txt 22:24:11 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:24:11 + PACKAGES=/tmp/packages_end.txt 22:24:11 + case "${OS_FAMILY}" in 22:24:11 + dpkg -l 22:24:11 + grep '^ii' 22:24:11 + '[' -f /tmp/packages_start.txt ']' 22:24:11 + '[' -f /tmp/packages_end.txt ']' 22:24:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:24:11 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 22:24:11 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 22:24:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 22:24:11 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 22:24:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:24:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:24:12 prd-ubuntu20.04-docker-8c-8g-16391 does not seem to be running inside a container 22:24:12 $ 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 22:24:12 $ docker top 07accf7a49bfbc4c6214a4082ed0f5675dabf72bcf207eb75a967f96b2794945 -eo pid,comm [Pipeline] { [Pipeline] sh 22:24:13 + touch /tmp/pre-build-complete [Pipeline] sh 22:24:13 + mkdir -p /var/log/sysstat [Pipeline] sh 22:24:13 + ls /var/log/sa-host 22:24:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:24:13 provisioning config files... 22:24:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5742561143836509622tmp [Pipeline] { [Pipeline] echo 22:24:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:24:14 ---> create-netrc.sh [Pipeline] } 22:24:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:24:14 ---> python-tools-install.sh [Pipeline] echo 22:24:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:24:14 ---> sudo-logs.sh 22:24:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:24:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:24:15 ---> job-cost.sh 22:24:15 lf-activate-venv: SKIPPING 22:24:15 DEBUG: total: 0.2199999988079071 22:24:15 INFO: Retrieving Stack Cost... 22:24:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:24:15 INFO: Archiving Costs [Pipeline] echo 22:24:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:24:16 ---> logs-deploy.sh 22:24:16 lf-activate-venv: SKIPPING 22:24:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/153 22:24:16 INFO: archiving workspace using pattern(s): 22:24:17 Archives upload complete. 22:24:17 INFO: archiving logs to Nexus