Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 657b8d43448e5b2a48089f128e11bc6be1fe8299 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-ssh662285767159610507.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12575692263468715278.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2496240786747034662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1020942613972416817.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/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15487909216693280097.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, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12653 in /w/workspace/undry_device-onvif-camera_levski [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/undry_device-onvif-camera_levski # 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 657b8d43448e5b2a48089f128e11bc6be1fe8299 (levski) > 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 657b8d43448e5b2a48089f128e11bc6be1fe8299 # timeout=10 Commit message: "docs: remove docs - levski (#304)" > git rev-list --no-walk 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:54:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:54:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:54:31 ========================================================= 23:54:31 EdgeX Global Pipelines Version Info 23:54:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:54:32 ------------------- 23:54:32 stable info: 23:54:32 ------------------- 23:54:32 Commited By: Bill Mahoney bill.mahoney@intel.com 23:54:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:54:32 Message: update stable to v1.0.248 23:54:32 ------------------- 23:54:32 experimental info: 23:54:32 ------------------- 23:54:32 Commited By: **** collab-it+edgex@linuxfoundation.org 23:54:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:54:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 657b8d4 [Pipeline] echo 23:54:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:33 provisioning config files... 23:54:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config3823542613841961176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:33 ---> docker-login.sh 23:54:33 nexus3.edgexfoundry.org:10001 23:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:33 Configure a credential helper to remove this warning. See 23:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:33 23:54:33 Login Succeeded 23:54:33 nexus3.edgexfoundry.org:10002 23:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:33 Configure a credential helper to remove this warning. See 23:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:33 23:54:33 Login Succeeded 23:54:33 nexus3.edgexfoundry.org:10003 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 nexus3.edgexfoundry.org:10004 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 docker.io 23:54:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:34 Configure a credential helper to remove this warning. See 23:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:34 23:54:34 Login Succeeded 23:54:34 ---> docker-login.sh ends [Pipeline] } 23:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:54:35 + git rev-list -1 --merges 657b8d43448e5b2a48089f128e11bc6be1fe8299~1..657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] echo 23:54:35 -----------> git rev-list -1 --merges 657b8d43448e5b2a48089f128e11bc6be1fe8299~1..657b8d43448e5b2a48089f128e11bc6be1fe8299 657b8d43448e5b2a48089f128e11bc6be1fe8299 [false] [Pipeline] sh 23:54:35 + git log --format=format:%s -1 657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] echo 23:54:35 ========================================================= 23:54:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:54:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:35 + git log --format=format:%s -1 657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] echo 23:54:35 [semverPrep] GIT_COMMIT: 657b8d43448e5b2a48089f128e11bc6be1fe8299, Commit Message: docs: remove docs - levski (#304) [Pipeline] echo 23:54:35 [semverPrep] This is not a build commit. [Pipeline] sh 23:54:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:54:36 + grep -v github /etc/ssh/ssh_known_hosts 23:54:36 + [ -e /tmp/ssh_known_hosts ] 23:54:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:54:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:54:36 + sudo tee -a /etc/ssh/ssh_known_hosts 23:54:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:36 23:54:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:36 0.1.4: Pulling from edgex-devops/py-git-semver 23:54:36 b85a868b505f: Pulling fs layer 23:54:36 e2be974225ed: Pulling fs layer 23:54:36 339a4e72a1f5: Pulling fs layer 23:54:36 988bab9f4d93: Pulling fs layer 23:54:36 1469e6f7b9e6: Pulling fs layer 23:54:36 eaf3925da568: Pulling fs layer 23:54:36 bab4dde63d76: Pulling fs layer 23:54:36 bde34c3a00c8: Pulling fs layer 23:54:36 b352a97aabf1: Pulling fs layer 23:54:36 4872d77fe225: Pulling fs layer 23:54:36 5851b861e8e6: Pulling fs layer 23:54:36 eaf3925da568: Waiting 23:54:36 bab4dde63d76: Waiting 23:54:36 988bab9f4d93: Waiting 23:54:36 1469e6f7b9e6: Waiting 23:54:36 bde34c3a00c8: Waiting 23:54:36 b352a97aabf1: Waiting 23:54:36 4872d77fe225: Waiting 23:54:36 5851b861e8e6: Waiting 23:54:36 e2be974225ed: Verifying Checksum 23:54:36 e2be974225ed: Download complete 23:54:36 988bab9f4d93: Download complete 23:54:37 1469e6f7b9e6: Verifying Checksum 23:54:37 1469e6f7b9e6: Download complete 23:54:37 eaf3925da568: Download complete 23:54:37 339a4e72a1f5: Verifying Checksum 23:54:37 339a4e72a1f5: Download complete 23:54:37 bde34c3a00c8: Verifying Checksum 23:54:37 bde34c3a00c8: Download complete 23:54:37 b352a97aabf1: Download complete 23:54:37 4872d77fe225: Verifying Checksum 23:54:37 4872d77fe225: Download complete 23:54:37 5851b861e8e6: Download complete 23:54:37 b85a868b505f: Verifying Checksum 23:54:37 b85a868b505f: Download complete 23:54:37 bab4dde63d76: Verifying Checksum 23:54:37 bab4dde63d76: Download complete 23:54:38 b85a868b505f: Pull complete 23:54:38 e2be974225ed: Pull complete 23:54:38 339a4e72a1f5: Pull complete 23:54:39 988bab9f4d93: Pull complete 23:54:39 1469e6f7b9e6: Pull complete 23:54:39 eaf3925da568: Pull complete 23:54:41 bab4dde63d76: Pull complete 23:54:41 bde34c3a00c8: Pull complete 23:54:41 b352a97aabf1: Pull complete 23:54:41 4872d77fe225: Pull complete 23:54:41 5851b861e8e6: Pull complete 23:54:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:54:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:41 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 23:54:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:54:44 $ docker top c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 -eo pid,comm 23:54:44 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). 23:54:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:54:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:44 [ssh-agent] Looking for ssh-agent implementation... 23:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:44 $ docker exec c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 ssh-agent 23:54:44 SSH_AUTH_SOCK=/tmp/ssh-UGiCUgrNzIgR/agent.33 23:54:44 SSH_AGENT_PID=39 23:54:44 Running ssh-add (command line suppressed) 23:54:44 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7527688019880875299.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7527688019880875299.key) 23:54:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:45 + git tag --points-at HEAD [Pipeline] } 23:54:45 $ docker exec --env ******** --env ******** c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 ssh-agent -k 23:54:45 unset SSH_AUTH_SOCK; 23:54:45 unset SSH_AGENT_PID; 23:54:45 echo Agent pid 39 killed; 23:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:45 [ssh-agent] Looking for ssh-agent implementation... 23:54:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:45 $ docker exec c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 ssh-agent 23:54:45 SSH_AUTH_SOCK=/tmp/ssh-Tmn7yGJx2pJg/agent.72 23:54:45 SSH_AGENT_PID=78 23:54:45 Running ssh-add (command line suppressed) 23:54:45 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9392403466253308825.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9392403466253308825.key) 23:54:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:45 + git semver init 23:54:46 2023-05-03 23:54:46,109 [run_init] DEBUG init version:0.0.0 force:False 23:54:46 2023-05-03 23:54:46,110 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_levski/.semver 23:54:46 2023-05-03 23:54:46,110 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_levski/.semver 23:54:46 2023-05-03 23:54:46,110 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_levski/.semver'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 23:54:47 2023-05-03 23:54:47,072 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_levski/.git/info/exclude 23:54:47 2023-05-03 23:54:47,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:False 23:54:47 2023-05-03 23:54:47,073 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:54:47 2023-05-03 23:54:47,073 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 23:54:47 2.3.2-dev.1 [Pipeline] } 23:54:47 $ docker exec --env ******** --env ******** c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 ssh-agent -k 23:54:47 unset SSH_AUTH_SOCK; 23:54:47 unset SSH_AGENT_PID; 23:54:47 echo Agent pid 78 killed; 23:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:47 + git semver [Pipeline] } 23:54:47 $ docker stop --time=1 c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 23:54:49 $ docker rm -f --volumes c33bb1c73b1f06245f4be2e72c68328e7787fe0b1b4496bef89b9936b51b9192 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:49 Stashed 1 file(s) [Pipeline] echo 23:54:49 [edgeXSemver]: initialized semver on version 2.3.2-dev.1 [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 23:54:49 provisioning config files... 23:54:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config15591545633445438315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:50 ---> docker-login.sh 23:54:50 nexus3.edgexfoundry.org:10001 23:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:50 Configure a credential helper to remove this warning. See 23:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:50 23:54:50 Login Succeeded 23:54:50 nexus3.edgexfoundry.org:10002 23:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:50 Configure a credential helper to remove this warning. See 23:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:50 23:54:50 Login Succeeded 23:54:50 nexus3.edgexfoundry.org:10003 23:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:50 Configure a credential helper to remove this warning. See 23:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:50 23:54:50 Login Succeeded 23:54:50 nexus3.edgexfoundry.org:10004 23:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:50 Configure a credential helper to remove this warning. See 23:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:50 23:54:50 Login Succeeded 23:54:50 docker.io 23:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:50 Configure a credential helper to remove this warning. See 23:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:50 23:54:50 Login Succeeded 23:54:50 ---> docker-login.sh ends [Pipeline] } 23:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:50 ========================================================= 23:54:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:54:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:54:51 Sending build context to Docker daemon 21.54MB 23:54:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:54:51 Step 2/13 : FROM ${BASE} AS builder 23:54:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:54:51 213ec9aee27d: Pulling fs layer 23:54:51 4583459ba037: Pulling fs layer 23:54:51 93c1e223e6f2: Pulling fs layer 23:54:51 53926ce57604: Pulling fs layer 23:54:51 21b2b0c7a3f4: Pulling fs layer 23:54:51 53926ce57604: Waiting 23:54:51 22ff95d597cd: Pulling fs layer 23:54:51 12d6caf4c0d1: Pulling fs layer 23:54:51 22ff95d597cd: Waiting 23:54:51 96b7cbca73a9: Pulling fs layer 23:54:51 a7acece74701: Pulling fs layer 23:54:51 12d6caf4c0d1: Waiting 23:54:51 a7acece74701: Waiting 23:54:51 93c1e223e6f2: Download complete 23:54:51 4583459ba037: Verifying Checksum 23:54:51 4583459ba037: Download complete 23:54:51 21b2b0c7a3f4: Verifying Checksum 23:54:51 21b2b0c7a3f4: Download complete 23:54:51 213ec9aee27d: Verifying Checksum 23:54:51 213ec9aee27d: Download complete 23:54:51 22ff95d597cd: Verifying Checksum 23:54:51 22ff95d597cd: Download complete 23:54:51 12d6caf4c0d1: Verifying Checksum 23:54:51 12d6caf4c0d1: Download complete 23:54:51 213ec9aee27d: Pull complete 23:54:51 4583459ba037: Pull complete 23:54:51 93c1e223e6f2: Pull complete 23:54:51 a7acece74701: Verifying Checksum 23:54:51 a7acece74701: Download complete 23:54:52 96b7cbca73a9: Verifying Checksum 23:54:52 96b7cbca73a9: Download complete 23:54:52 53926ce57604: Verifying Checksum 23:54:52 53926ce57604: Download complete 23:54:56 53926ce57604: Pull complete 23:54:56 21b2b0c7a3f4: Pull complete 23:54:56 22ff95d597cd: Pull complete 23:54:56 12d6caf4c0d1: Pull complete 23:54:58 96b7cbca73a9: Pull complete 23:54:59 a7acece74701: Pull complete 23:54:59 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:54:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:54:59 ---> db6d94c90886 23:54:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:55:03 ---> Running in 71941977dc5c 23:55:03 Removing intermediate container 71941977dc5c 23:55:03 ---> f5591008720e 23:55:03 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:03 ---> Running in 4c9651b3ce2c 23:55:03 Removing intermediate container 4c9651b3ce2c 23:55:03 ---> 601e0da0359a 23:55:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:55:03 ---> Running in bb08a6a75568 23:55:03 Removing intermediate container bb08a6a75568 23:55:03 ---> 758bd137de65 23:55:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:55:03 ---> Running in ab4ed5171fc0 23:55:03 Removing intermediate container ab4ed5171fc0 23:55:03 ---> ac5f1861d526 23:55:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:55:03 ---> Running in 48ef53d29621 23:55:03 Removing intermediate container 48ef53d29621 23:55:03 ---> d38146deba89 23:55:03 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:03 ---> Running in 70f42a9e08ec 23:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:55:04 OK: 211 MiB in 51 packages 23:55:04 Still waiting to schedule task 23:55:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:55:04 Removing intermediate container 70f42a9e08ec 23:55:04 ---> fc473131f977 23:55:04 Step 9/13 : WORKDIR /device-onvif-camera 23:55:04 ---> Running in 3ffa0c784c13 23:55:04 Removing intermediate container 3ffa0c784c13 23:55:04 ---> 7b9e835429ae 23:55:04 Step 10/13 : COPY go.mod vendor* ./ 23:55:04 ---> bb9db0f13aec 23:55:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:04 ---> Running in 80ff1dfbf14c 23:55:31 Removing intermediate container 80ff1dfbf14c 23:55:31 ---> d2ccbb781da8 23:55:31 Step 12/13 : COPY . . 23:55:31 ---> 7ace5d915430 23:55:31 Step 13/13 : RUN ${MAKE} 23:55:31 ---> Running in 8548664c5575 23:55:32 noop 23:55:32 Removing intermediate container 8548664c5575 23:55:32 ---> 15a0004ed1ba 23:55:32 Successfully built 15a0004ed1ba 23:55:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:32 + docker inspect -f . ci-base-image-x86_64 23:55:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:32 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 23:55:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** ci-base-image-x86_64 cat 23:55:33 $ docker top 948d33d0a678405f366399444699670fe801ea063c9195ea7b3e9db61756ec31 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:33 + go version 23:55:33 go version go1.18.7 linux/amd64 [Pipeline] } 23:55:33 $ docker stop --time=1 948d33d0a678405f366399444699670fe801ea063c9195ea7b3e9db61756ec31 23:55:34 $ docker rm -f --volumes 948d33d0a678405f366399444699670fe801ea063c9195ea7b3e9db61756ec31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:35 + docker inspect -f . ci-base-image-x86_64 23:55:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:35 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 23:55:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** ci-base-image-x86_64 cat 23:55:35 $ docker top d8dab18cf92ccccb7495bdd235de5b76e8d9da6b8149c7e49894171f13d8b1e4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:36 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_levski [Pipeline] fileExists [Pipeline] sh 23:55:36 + make test 23:55:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:55:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:55:48 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:55:50 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements 23:55:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:55:50 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.410s coverage: 86.5% of statements 23:55:58 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:55:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:56:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:01 ./bin/test-attribution-txt.sh [Pipeline] echo 23:56:01 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:56:01 $ docker stop --time=1 d8dab18cf92ccccb7495bdd235de5b76e8d9da6b8149c7e49894171f13d8b1e4 23:56:03 $ docker rm -f --volumes d8dab18cf92ccccb7495bdd235de5b76e8d9da6b8149c7e49894171f13d8b1e4 [Pipeline] // withDockerContainer [Pipeline] sh 23:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:56:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:05 + ls -al . 23:56:05 total 244 23:56:05 drwxrwxr-x 10 jenkins jenkins 4096 May 3 23:55 . 23:56:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:54 .. 23:56:05 drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:55 .git 23:56:05 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:54 .github 23:56:05 -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:54 .gitignore 23:56:05 -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:54 .golangci.yml 23:56:05 drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:54 .semver 23:56:05 -rw-rw-r-- 1 jenkins jenkins 9739 May 3 23:54 Attribution.txt 23:56:05 -rw-rw-r-- 1 jenkins jenkins 6535 May 3 23:54 CHANGELOG.md 23:56:05 -rw-rw-r-- 1 jenkins jenkins 1637 May 3 23:54 Dockerfile 23:56:05 -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:54 GOVERNANCE.md 23:56:05 -rw-rw-r-- 1 jenkins jenkins 762 May 3 23:54 Jenkinsfile 23:56:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:54 LICENSE 23:56:05 -rw-rw-r-- 1 jenkins jenkins 2997 May 3 23:54 Makefile 23:56:05 -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:54 OWNERS.md 23:56:05 -rw-rw-r-- 1 jenkins jenkins 2368 May 3 23:54 README.md 23:56:05 -rw-rw-r-- 1 jenkins jenkins 11 May 3 23:54 VERSION 23:56:05 drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:54 bin 23:56:05 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:54 cmd 23:56:05 -rw-r--r-- 1 jenkins jenkins 79184 May 3 23:55 coverage.out 23:56:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:54 doc 23:56:05 -rw-rw-r-- 1 jenkins jenkins 3687 May 3 23:54 go.mod 23:56:05 -rw-rw-r-- 1 jenkins jenkins 46105 May 3 23:54 go.sum 23:56:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:54 internal 23:56:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:54 snap 23:56:05 -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:05 + 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=657b8d43448e5b2a48089f128e11bc6be1fe8299 --label arch=amd64 --label version=2.3.2-dev.1 . 23:56:05 Sending build context to Docker daemon 21.62MB 23:56:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:56:05 Step 2/26 : FROM ${BASE} AS builder 23:56:05 ---> 15a0004ed1ba 23:56:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:56:06 ---> Running in d3ccb1f05fd8 23:56:06 Removing intermediate container d3ccb1f05fd8 23:56:06 ---> cb8ddc8457ce 23:56:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:56:06 ---> Running in 0f622befdba0 23:56:06 Removing intermediate container 0f622befdba0 23:56:06 ---> 6bb1d08e163b 23:56:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:56:06 ---> Running in a70ea6c9fdb2 23:56:06 Removing intermediate container a70ea6c9fdb2 23:56:06 ---> b8794417c78b 23:56:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:56:06 ---> Running in 3e6ab7b5f8cb 23:56:06 Removing intermediate container 3e6ab7b5f8cb 23:56:06 ---> 22b0144d03a6 23:56:06 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:56:06 ---> Running in 8fa789742bb7 23:56:06 Removing intermediate container 8fa789742bb7 23:56:06 ---> ec245ff41fc4 23:56:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:06 ---> Running in 50232ce363eb 23:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:56:07 OK: 211 MiB in 51 packages 23:56:07 Removing intermediate container 50232ce363eb 23:56:07 ---> 328f8eb48b56 23:56:07 Step 9/26 : WORKDIR /device-onvif-camera 23:56:07 ---> Running in e780966857e7 23:56:07 Removing intermediate container e780966857e7 23:56:07 ---> 71b99aecf32a 23:56:07 Step 10/26 : COPY go.mod vendor* ./ 23:56:07 ---> b1e45569d212 23:56:07 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:07 ---> Running in c8e02a906f18 23:56:08 Removing intermediate container c8e02a906f18 23:56:08 ---> ab2c451e2a0d 23:56:08 Step 12/26 : COPY . . 23:56:09 ---> 8fb3ad654af0 23:56:09 Step 13/26 : RUN ${MAKE} 23:56:09 ---> Running in db29618b1f72 23:56:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.2-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:56:36 Removing intermediate container db29618b1f72 23:56:36 ---> ca785eefe587 23:56:36 Step 14/26 : FROM alpine:3.16 23:56:36 3.16: Pulling from library/alpine 23:56:36 91d30c5bc195: Pulling fs layer 23:56:36 91d30c5bc195: Verifying Checksum 23:56:36 91d30c5bc195: Download complete 23:56:36 91d30c5bc195: Pull complete 23:56:36 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 23:56:36 Status: Downloaded newer image for alpine:3.16 23:56:36 ---> 8471affe5de5 23:56:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:56:36 ---> Running in 4a94b9c8f257 23:56:36 Removing intermediate container 4a94b9c8f257 23:56:36 ---> 1268b9c2e180 23:56:36 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:56:36 ---> Running in 6f306ee20958 23:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:56:36 (1/6) Installing dumb-init (1.2.5-r1) 23:56:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:56:36 (3/6) Installing libsodium (1.0.18-r0) 23:56:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:56:36 (5/6) Installing libzmq (4.3.4-r0) 23:56:36 (6/6) Installing zeromq (4.3.4-r0) 23:56:36 Executing busybox-1.35.0-r17.trigger 23:56:36 OK: 8 MiB in 20 packages 23:56:36 Removing intermediate container 6f306ee20958 23:56:36 ---> 83b57db02417 23:56:36 Step 17/26 : WORKDIR / 23:56:36 ---> Running in 580cab947884 23:56:36 Removing intermediate container 580cab947884 23:56:36 ---> 8cfa58ba0a7a 23:56:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:56:36 ---> 1e754536e696 23:56:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:56:36 ---> ff90ba2266ef 23:56:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:56:36 ---> 5f17588f19db 23:56:36 Step 21/26 : EXPOSE 59984 23:56:36 ---> Running in de203126941e 23:56:36 Removing intermediate container de203126941e 23:56:36 ---> 62ddc82eb65e 23:56:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:56:36 ---> Running in c33957863225 23:56:36 Removing intermediate container c33957863225 23:56:36 ---> d4cdcadca5d2 23:56:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:56:36 ---> Running in d6ba8c4a20b9 23:56:36 Removing intermediate container d6ba8c4a20b9 23:56:36 ---> 01624307db15 23:56:36 Step 24/26 : LABEL arch=amd64 23:56:36 ---> Running in 20d15906bc74 23:56:36 Removing intermediate container 20d15906bc74 23:56:36 ---> ce3274682539 23:56:36 Step 25/26 : LABEL git_sha=657b8d43448e5b2a48089f128e11bc6be1fe8299 23:56:36 ---> Running in a1a28b1d5223 23:56:36 Removing intermediate container a1a28b1d5223 23:56:36 ---> 08fc1c4cb96f 23:56:36 Step 26/26 : LABEL version=2.3.2-dev.1 23:56:36 ---> Running in 090366755ce3 23:56:36 Removing intermediate container 090366755ce3 23:56:36 ---> 33ab5eaa14e8 23:56:36 [Warning] One or more build-args [ARCH] were not consumed 23:56:36 Successfully built 33ab5eaa14e8 23:56:36 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 23:56:37 provisioning config files... 23:56:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config7958989972677125221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:37 ---> docker-login.sh 23:56:37 nexus3.edgexfoundry.org:10001 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10002 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10003 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10004 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 docker.io 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 ---> docker-login.sh ends [Pipeline] } 23:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:56:37 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:37 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:56:37 657b8d43448e5b2a48089f128e11bc6be1fe8299 23:56:37 latest 23:56:37 2.3.2-dev.1 23:56:37 657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 23:56:37 levski 23:56:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299 23:56:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:56:38 bddbbae5748e: Preparing 23:56:38 92dbbf51ba0b: Preparing 23:56:38 d3198824e8af: Preparing 23:56:38 b78a1760bea8: Preparing 23:56:38 5bc340f6d4f5: Preparing 23:56:38 5bc340f6d4f5: Layer already exists 23:56:38 92dbbf51ba0b: Pushed 23:56:38 bddbbae5748e: Pushed 23:56:38 b78a1760bea8: Pushed 23:56:42 d3198824e8af: Pushed 23:56:42 657b8d43448e5b2a48089f128e11bc6be1fe8299: digest: sha256:2ae5ba666022347c74ba45c934d21a2334683f6ece103f369bcd2a897e176b55 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:56:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:56:42 bddbbae5748e: Preparing 23:56:42 92dbbf51ba0b: Preparing 23:56:42 d3198824e8af: Preparing 23:56:42 b78a1760bea8: Preparing 23:56:42 5bc340f6d4f5: Preparing 23:56:42 d3198824e8af: Layer already exists 23:56:42 b78a1760bea8: Layer already exists 23:56:42 bddbbae5748e: Layer already exists 23:56:42 92dbbf51ba0b: Layer already exists 23:56:42 5bc340f6d4f5: Layer already exists 23:56:42 latest: digest: sha256:2ae5ba666022347c74ba45c934d21a2334683f6ece103f369bcd2a897e176b55 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.2-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.2-dev.1 23:56:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:56:43 bddbbae5748e: Preparing 23:56:43 92dbbf51ba0b: Preparing 23:56:43 d3198824e8af: Preparing 23:56:43 b78a1760bea8: Preparing 23:56:43 5bc340f6d4f5: Preparing 23:56:43 92dbbf51ba0b: Layer already exists 23:56:43 bddbbae5748e: Layer already exists 23:56:43 5bc340f6d4f5: Layer already exists 23:56:43 d3198824e8af: Layer already exists 23:56:43 b78a1760bea8: Layer already exists 23:56:43 2.3.2-dev.1: digest: sha256:2ae5ba666022347c74ba45c934d21a2334683f6ece103f369bcd2a897e176b55 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 23:56:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:56:43 bddbbae5748e: Preparing 23:56:43 92dbbf51ba0b: Preparing 23:56:43 d3198824e8af: Preparing 23:56:43 b78a1760bea8: Preparing 23:56:43 5bc340f6d4f5: Preparing 23:56:43 bddbbae5748e: Layer already exists 23:56:43 92dbbf51ba0b: Layer already exists 23:56:43 b78a1760bea8: Layer already exists 23:56:43 d3198824e8af: Layer already exists 23:56:43 5bc340f6d4f5: Layer already exists 23:56:43 657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1: digest: sha256:2ae5ba666022347c74ba45c934d21a2334683f6ece103f369bcd2a897e176b55 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:levski 23:56:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:56:44 bddbbae5748e: Preparing 23:56:44 92dbbf51ba0b: Preparing 23:56:44 d3198824e8af: Preparing 23:56:44 b78a1760bea8: Preparing 23:56:44 5bc340f6d4f5: Preparing 23:56:44 5bc340f6d4f5: Layer already exists 23:56:44 d3198824e8af: Layer already exists 23:56:44 bddbbae5748e: Layer already exists 23:56:44 92dbbf51ba0b: Layer already exists 23:56:44 b78a1760bea8: Layer already exists 23:56:44 levski: digest: sha256:2ae5ba666022347c74ba45c934d21a2334683f6ece103f369bcd2a897e176b55 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:56:44 ===================================================== [Pipeline] echo 23:56:44 taggedImages: 23:56:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299 23:56:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:56:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.2-dev.1 23:56:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 23:56:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [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 23:56:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:44 23:56:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:45 latest: Pulling from edgex-lftools-log-publisher 23:56:45 5eb5b503b376: Pulling fs layer 23:56:45 5c69ac0246d0: Pulling fs layer 23:56:45 ec43610c2a17: Pulling fs layer 23:56:45 3a2ae6a8a46f: Pulling fs layer 23:56:45 33b1e0a273af: Pulling fs layer 23:56:45 5d3b04190fa2: Pulling fs layer 23:56:45 2f39f015ded8: Pulling fs layer 23:56:45 3a2ae6a8a46f: Waiting 23:56:45 33b1e0a273af: Waiting 23:56:45 5d3b04190fa2: Waiting 23:56:45 2f39f015ded8: Waiting 23:56:45 5c69ac0246d0: Verifying Checksum 23:56:45 5c69ac0246d0: Download complete 23:56:45 3a2ae6a8a46f: Verifying Checksum 23:56:45 3a2ae6a8a46f: Download complete 23:56:45 33b1e0a273af: Verifying Checksum 23:56:45 33b1e0a273af: Download complete 23:56:45 5d3b04190fa2: Verifying Checksum 23:56:45 ec43610c2a17: Verifying Checksum 23:56:45 ec43610c2a17: Download complete 23:56:45 5eb5b503b376: Verifying Checksum 23:56:45 5eb5b503b376: Download complete 23:56:46 2f39f015ded8: Verifying Checksum 23:56:46 2f39f015ded8: Download complete 23:56:47 5eb5b503b376: Pull complete 23:56:47 5c69ac0246d0: Pull complete 23:56:47 ec43610c2a17: Pull complete 23:56:47 3a2ae6a8a46f: Pull complete 23:56:47 33b1e0a273af: Pull complete 23:56:47 5d3b04190fa2: Pull complete 23:56:51 2f39f015ded8: Pull complete 23:56:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:52 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 23:56:52 $ 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/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 23:56:54 $ docker top 580597beab4b29d4dfd938c0539689939f852f77694744fd922216f20df877ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:55 ---> job-cost.sh 23:56:55 lf-activate-venv: SKIPPING 23:56:55 INFO: No Stack... 23:56:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:56 INFO: Archiving Costs [Pipeline] sh 23:56:56 + cat /w/workspace/undry_device-onvif-camera_levski/archives/cost.csv 23:56:56 + cut -d, -f6 [Pipeline] lock 23:56:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] 23:56:56 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] did not exist. Created. 23:56:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:56 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:56 Stashed 1 file(s) [Pipeline] } 23:56:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:56 $ docker stop --time=1 580597beab4b29d4dfd938c0539689939f852f77694744fd922216f20df877ad 23:56:57 $ docker rm -f --volumes 580597beab4b29d4dfd938c0539689939f852f77694744fd922216f20df877ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:58:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12654 in /w/workspace/undry_device-onvif-camera_levski [Pipeline] { [Pipeline] ws 23:58:32 Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout 23:58:32 The recommended git tool is: git 23:58:37 using credential edgex-jenkins-ssh 23:58:37 Cloning the remote Git repository 23:58:38 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:58:38 > git init /w/workspace/device-onvif-camera/9 # timeout=10 23:58:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:58:38 > git --version # timeout=10 23:58:38 > git --version # 'git version 2.25.1' 23:58:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:58:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:58:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:58:40 Avoid second fetch 23:58:40 Checking out Revision 657b8d43448e5b2a48089f128e11bc6be1fe8299 (levski) 23:58:40 > git config core.sparsecheckout # timeout=10 23:58:40 > git checkout -f 657b8d43448e5b2a48089f128e11bc6be1fe8299 # timeout=10 23:58:41 Commit message: "docs: remove docs - levski (#304)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:58:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:58:42 Dload Upload Total Spent Left Speed 23:58:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 67110 0 --:--:-- --:--:-- --:--:-- 67465 [Pipeline] sh 23:58:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:58:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:58:43 + sudo tee /etc/docker/daemon.new 23:58:43 { 23:58:43 "registry-mirrors": [ 23:58:43 "https://nexus3.edgexfoundry.org:10001" 23:58:43 ], 23:58:43 "bip": "10.250.0.254/24", 23:58:43 "hosts": [ 23:58:43 "tcp://0.0.0.0:5555", 23:58:43 "unix:///var/run/docker.sock" 23:58:43 ], 23:58:43 "mtu": 1458, 23:58:43 "selinux-enabled": true, 23:58:43 "seccomp-profile": "/etc/docker/seccomp.json" 23:58:43 } [Pipeline] sh 23:58:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:58:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:06 provisioning config files... 23:59:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config5783641865705526277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:06 ---> docker-login.sh 23:59:06 nexus3.edgexfoundry.org:10001 23:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:07 Configure a credential helper to remove this warning. See 23:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:07 23:59:07 Login Succeeded 23:59:07 nexus3.edgexfoundry.org:10002 23:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:07 Configure a credential helper to remove this warning. See 23:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:07 23:59:07 Login Succeeded 23:59:07 nexus3.edgexfoundry.org:10003 23:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:08 Configure a credential helper to remove this warning. See 23:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:08 23:59:08 Login Succeeded 23:59:08 nexus3.edgexfoundry.org:10004 23:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:08 Configure a credential helper to remove this warning. See 23:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:08 23:59:08 Login Succeeded 23:59:08 docker.io 23:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:09 Configure a credential helper to remove this warning. See 23:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:09 23:59:09 Login Succeeded 23:59:09 ---> docker-login.sh ends [Pipeline] } 23:59:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:59:09 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:09 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:09 ========================================================= 23:59:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:59:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:59:10 Sending build context to Docker daemon 14.2MB 23:59:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:59:10 Step 2/13 : FROM ${BASE} AS builder 23:59:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:59:10 9b18e9b68314: Pulling fs layer 23:59:10 35d82f9e3411: Pulling fs layer 23:59:10 e16973657156: Pulling fs layer 23:59:10 fc693d55d65f: Pulling fs layer 23:59:10 7e9fc2657dce: Pulling fs layer 23:59:10 dda99020689f: Pulling fs layer 23:59:10 db1c61fa0a46: Pulling fs layer 23:59:10 891c053d2c06: Pulling fs layer 23:59:10 dda99020689f: Waiting 23:59:10 fc693d55d65f: Waiting 23:59:10 db1c61fa0a46: Waiting 23:59:10 7e9fc2657dce: Waiting 23:59:10 891c053d2c06: Waiting 23:59:10 35d82f9e3411: Verifying Checksum 23:59:10 35d82f9e3411: Download complete 23:59:10 7e9fc2657dce: Verifying Checksum 23:59:10 7e9fc2657dce: Download complete 23:59:10 9b18e9b68314: Verifying Checksum 23:59:10 dda99020689f: Verifying Checksum 23:59:10 dda99020689f: Download complete 23:59:11 9b18e9b68314: Pull complete 23:59:11 891c053d2c06: Verifying Checksum 23:59:11 891c053d2c06: Download complete 23:59:12 35d82f9e3411: Pull complete 23:59:12 e16973657156: Pull complete 23:59:13 db1c61fa0a46: Verifying Checksum 23:59:13 db1c61fa0a46: Download complete 23:59:13 fc693d55d65f: Verifying Checksum 23:59:13 fc693d55d65f: Download complete 23:59:25 fc693d55d65f: Pull complete 23:59:25 7e9fc2657dce: Pull complete 23:59:25 dda99020689f: Pull complete 23:59:32 db1c61fa0a46: Pull complete 23:59:33 891c053d2c06: Pull complete 23:59:33 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:59:33 ---> f96f9c87975a 23:59:33 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:59:34 ---> Running in 6e99dc612ed5 23:59:34 Removing intermediate container 6e99dc612ed5 23:59:34 ---> e92fa6938f69 23:59:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:35 ---> Running in c6d3ca4c22ca 23:59:35 Removing intermediate container c6d3ca4c22ca 23:59:35 ---> bced80eb3410 23:59:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:59:35 ---> Running in d565daa74b18 23:59:35 Removing intermediate container d565daa74b18 23:59:35 ---> 75f53f0e5c66 23:59:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:59:35 ---> Running in d3c5069f8202 23:59:36 Removing intermediate container d3c5069f8202 23:59:36 ---> d20a9ea48c66 23:59:36 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:59:36 ---> Running in c1410715f19a 23:59:36 Removing intermediate container c1410715f19a 23:59:36 ---> 1393f9d304cd 23:59:36 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:36 ---> Running in 31c43b245169 23:59:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:59:39 OK: 221 MiB in 51 packages 23:59:40 Removing intermediate container 31c43b245169 23:59:40 ---> 10cdf87983f5 23:59:40 Step 9/13 : WORKDIR /device-onvif-camera 23:59:40 ---> Running in a158e6bde931 23:59:40 Removing intermediate container a158e6bde931 23:59:40 ---> 2d47e0685102 23:59:40 Step 10/13 : COPY go.mod vendor* ./ 23:59:41 ---> a251a818a1d8 23:59:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:41 ---> Running in 6a6bbf970c38 00:00:49 Removing intermediate container 6a6bbf970c38 00:00:49 ---> 7f14000eb101 00:00:49 Step 12/13 : COPY . . 00:00:49 ---> d6096a33908a 00:00:49 Step 13/13 : RUN ${MAKE} 00:00:49 ---> Running in b93f0f23cfb8 00:00:49 noop 00:00:49 Removing intermediate container b93f0f23cfb8 00:00:49 ---> 5f2ffc154acd 00:00:49 Successfully built 5f2ffc154acd 00:00:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:49 + docker inspect -f . ci-base-image-arm64 00:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:49 prd-ubuntu20.04-docker-arm64-4c-16g-12654 does not seem to be running inside a container 00:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:53 $ docker top 355d10d37cae5122db70b8575c92dd524d89c95157660f6a7490239724dbb7de -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:54 + go version 00:00:54 go version go1.18.7 linux/arm64 [Pipeline] } 00:00:54 $ docker stop --time=1 355d10d37cae5122db70b8575c92dd524d89c95157660f6a7490239724dbb7de 00:00:55 $ docker rm -f --volumes 355d10d37cae5122db70b8575c92dd524d89c95157660f6a7490239724dbb7de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:56 + docker inspect -f . ci-base-image-arm64 00:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:00:56 prd-ubuntu20.04-docker-arm64-4c-16g-12654 does not seem to be running inside a container 00:00:56 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:00:57 $ docker top 853e49e2664de9ee7e1b6be3f22d9add73c16272a79076c3624aa54a96beff15 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh 00:00:59 + make test 00:00:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:01:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 00:02:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 00:02:49 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.234s coverage: 29.3% of statements 00:02:49 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 00:03:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.976s coverage: 86.5% of statements 00:03:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:40 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:40 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:40 $ docker stop --time=1 853e49e2664de9ee7e1b6be3f22d9add73c16272a79076c3624aa54a96beff15 00:03:41 $ docker rm -f --volumes 853e49e2664de9ee7e1b6be3f22d9add73c16272a79076c3624aa54a96beff15 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:42 Warning: overwriting stash ‘coverage-report’ 00:03:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:44 + ls -al . 00:03:44 total 240 00:03:44 drwxrwxr-x 9 jenkins jenkins 4096 May 4 00:01 . 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:58 .. 00:03:44 drwxrwxr-x 8 jenkins jenkins 4096 May 3 23:58 .git 00:03:44 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:58 .github 00:03:44 -rw-rw-r-- 1 jenkins jenkins 496 May 3 23:58 .gitignore 00:03:44 -rw-rw-r-- 1 jenkins jenkins 42 May 3 23:58 .golangci.yml 00:03:44 -rw-rw-r-- 1 jenkins jenkins 9739 May 3 23:58 Attribution.txt 00:03:44 -rw-rw-r-- 1 jenkins jenkins 6535 May 3 23:58 CHANGELOG.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 1637 May 3 23:58 Dockerfile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 677 May 3 23:58 GOVERNANCE.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 762 May 3 23:58 Jenkinsfile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 23:58 LICENSE 00:03:44 -rw-rw-r-- 1 jenkins jenkins 2997 May 3 23:58 Makefile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 625 May 3 23:58 OWNERS.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 2368 May 3 23:58 README.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 11 May 3 23:54 VERSION 00:03:44 drwxrwxr-x 2 jenkins jenkins 4096 May 3 23:58 bin 00:03:44 drwxrwxr-x 3 jenkins jenkins 4096 May 3 23:58 cmd 00:03:44 -rw-r--r-- 1 jenkins jenkins 79184 May 4 00:03 coverage.out 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:58 doc 00:03:44 -rw-rw-r-- 1 jenkins jenkins 3687 May 3 23:58 go.mod 00:03:44 -rw-rw-r-- 1 jenkins jenkins 46105 May 3 23:58 go.sum 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:58 internal 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 May 3 23:58 snap 00:03:44 -rw-rw-r-- 1 jenkins jenkins 236 May 3 23:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:44 + 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=657b8d43448e5b2a48089f128e11bc6be1fe8299 --label arch=arm64 --label version=2.3.2-dev.1 . 00:03:45 Sending build context to Docker daemon 14.28MB 00:03:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 00:03:45 Step 2/26 : FROM ${BASE} AS builder 00:03:45 ---> 5f2ffc154acd 00:03:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 00:03:45 ---> Running in 380245efdda4 00:03:45 Removing intermediate container 380245efdda4 00:03:45 ---> 23179833ff23 00:03:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:45 ---> Running in 93546a1de4e3 00:03:46 Removing intermediate container 93546a1de4e3 00:03:46 ---> d9927a2a9836 00:03:46 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 00:03:46 ---> Running in 9821ba95d25f 00:03:46 Removing intermediate container 9821ba95d25f 00:03:46 ---> a7951c219d69 00:03:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 00:03:46 ---> Running in f7552e01ac4d 00:03:46 Removing intermediate container f7552e01ac4d 00:03:46 ---> e9e5fc7faaf3 00:03:46 Step 7/26 : LABEL Name=edgex-device-onvif-camera 00:03:46 ---> Running in 4e202d5d7dda 00:03:47 Removing intermediate container 4e202d5d7dda 00:03:47 ---> f6da089de36c 00:03:47 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:47 ---> Running in 1660d0b9681d 00:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:03:50 OK: 221 MiB in 51 packages 00:03:50 Removing intermediate container 1660d0b9681d 00:03:50 ---> 5ec478352c83 00:03:50 Step 9/26 : WORKDIR /device-onvif-camera 00:03:50 ---> Running in 70f332593036 00:03:51 Removing intermediate container 70f332593036 00:03:51 ---> f10c23110790 00:03:51 Step 10/26 : COPY go.mod vendor* ./ 00:03:51 ---> fb4af8bfdcfc 00:03:51 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:51 ---> Running in 9b7ea84779c4 00:03:53 Removing intermediate container 9b7ea84779c4 00:03:53 ---> 47f2b1c8ac46 00:03:53 Step 12/26 : COPY . . 00:03:55 ---> fd131a7e5730 00:03:55 Step 13/26 : RUN ${MAKE} 00:03:55 ---> Running in 18bea27786e0 00:03:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.2-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 00:06:33 Removing intermediate container 18bea27786e0 00:06:33 ---> 1bc5e980a679 00:06:33 Step 14/26 : FROM alpine:3.16 00:06:33 3.16: Pulling from library/alpine 00:06:33 547446be3368: Pulling fs layer 00:06:33 547446be3368: Verifying Checksum 00:06:33 547446be3368: Download complete 00:06:33 547446be3368: Pull complete 00:06:33 Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f 00:06:33 Status: Downloaded newer image for alpine:3.16 00:06:33 ---> 3b5033019969 00:06:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:06:33 ---> Running in 80914c02e8d4 00:06:33 Removing intermediate container 80914c02e8d4 00:06:33 ---> 26dd06df0c71 00:06:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:06:33 ---> Running in 4baff60921c2 00:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:06:35 (1/6) Installing dumb-init (1.2.5-r1) 00:06:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:06:35 (3/6) Installing libsodium (1.0.18-r0) 00:06:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:06:35 (5/6) Installing libzmq (4.3.4-r0) 00:06:36 (6/6) Installing zeromq (4.3.4-r0) 00:06:36 Executing busybox-1.35.0-r17.trigger 00:06:36 OK: 8 MiB in 20 packages 00:06:37 Removing intermediate container 4baff60921c2 00:06:37 ---> d69cb7d845cb 00:06:37 Step 17/26 : WORKDIR / 00:06:37 ---> Running in e846c4fa1e12 00:06:37 Removing intermediate container e846c4fa1e12 00:06:37 ---> b94200f15767 00:06:37 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 00:06:39 ---> 8b5a3b386831 00:06:39 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 00:06:39 ---> a5badfef4f5c 00:06:39 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 00:06:40 ---> a0bffbbd1de0 00:06:40 Step 21/26 : EXPOSE 59984 00:06:40 ---> Running in f4681773df75 00:06:40 Removing intermediate container f4681773df75 00:06:40 ---> 01796897a13f 00:06:40 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 00:06:40 ---> Running in 8fad7233f71c 00:06:41 Removing intermediate container 8fad7233f71c 00:06:41 ---> c62f0581a561 00:06:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:06:41 ---> Running in c658129c90dc 00:06:41 Removing intermediate container c658129c90dc 00:06:41 ---> cd4d5b412400 00:06:41 Step 24/26 : LABEL arch=arm64 00:06:41 ---> Running in 610a3f1a118a 00:06:42 Removing intermediate container 610a3f1a118a 00:06:42 ---> dc421b802a3d 00:06:42 Step 25/26 : LABEL git_sha=657b8d43448e5b2a48089f128e11bc6be1fe8299 00:06:42 ---> Running in 1034b68800c7 00:06:42 Removing intermediate container 1034b68800c7 00:06:42 ---> 1d53964bb0d3 00:06:42 Step 26/26 : LABEL version=2.3.2-dev.1 00:06:42 ---> Running in 4fb739acbfc1 00:06:43 Removing intermediate container 4fb739acbfc1 00:06:43 ---> a7a8fdb3e88f 00:06:43 [Warning] One or more build-args [ARCH] were not consumed 00:06:43 Successfully built a7a8fdb3e88f 00:06:43 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 00:06:43 provisioning config files... 00:06:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config13390292409338841289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:43 ---> docker-login.sh 00:06:43 nexus3.edgexfoundry.org:10001 00:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:43 Configure a credential helper to remove this warning. See 00:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:43 00:06:43 Login Succeeded 00:06:43 nexus3.edgexfoundry.org:10002 00:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:44 Configure a credential helper to remove this warning. See 00:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:44 00:06:44 Login Succeeded 00:06:44 nexus3.edgexfoundry.org:10003 00:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:44 Configure a credential helper to remove this warning. See 00:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:44 00:06:44 Login Succeeded 00:06:44 nexus3.edgexfoundry.org:10004 00:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:45 Configure a credential helper to remove this warning. See 00:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:45 00:06:45 Login Succeeded 00:06:45 docker.io 00:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:45 Configure a credential helper to remove this warning. See 00:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:45 00:06:45 Login Succeeded 00:06:45 ---> docker-login.sh ends [Pipeline] } 00:06:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:06:45 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:45 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 00:06:45 657b8d43448e5b2a48089f128e11bc6be1fe8299 00:06:45 latest 00:06:45 2.3.2-dev.1 00:06:45 657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 00:06:45 levski 00:06:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299 00:06:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:06:46 8157be189b66: Preparing 00:06:46 d2f406e29a24: Preparing 00:06:46 08f3d0e9fc38: Preparing 00:06:46 f676de57814f: Preparing 00:06:46 dc65b23a4b7c: Preparing 00:06:46 dc65b23a4b7c: Layer already exists 00:06:46 d2f406e29a24: Pushed 00:06:46 8157be189b66: Pushed 00:06:47 f676de57814f: Pushed 00:06:51 08f3d0e9fc38: Pushed 00:06:51 657b8d43448e5b2a48089f128e11bc6be1fe8299: digest: sha256:9f4ac32388dce8783e86a256603269cd90534e5e2492e0b0886689729ad49a91 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:52 + 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 00:06:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:06:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:06:52 8157be189b66: Preparing 00:06:52 d2f406e29a24: Preparing 00:06:52 08f3d0e9fc38: Preparing 00:06:52 f676de57814f: Preparing 00:06:52 dc65b23a4b7c: Preparing 00:06:52 f676de57814f: Layer already exists 00:06:52 d2f406e29a24: Layer already exists 00:06:52 8157be189b66: Layer already exists 00:06:52 dc65b23a4b7c: Layer already exists 00:06:52 08f3d0e9fc38: Layer already exists 00:06:52 latest: digest: sha256:9f4ac32388dce8783e86a256603269cd90534e5e2492e0b0886689729ad49a91 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:53 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.2-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.2-dev.1 00:06:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:06:53 8157be189b66: Preparing 00:06:53 d2f406e29a24: Preparing 00:06:53 08f3d0e9fc38: Preparing 00:06:53 f676de57814f: Preparing 00:06:53 dc65b23a4b7c: Preparing 00:06:53 08f3d0e9fc38: Layer already exists 00:06:53 dc65b23a4b7c: Layer already exists 00:06:53 f676de57814f: Layer already exists 00:06:53 8157be189b66: Layer already exists 00:06:53 d2f406e29a24: Layer already exists 00:06:53 2.3.2-dev.1: digest: sha256:9f4ac32388dce8783e86a256603269cd90534e5e2492e0b0886689729ad49a91 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 00:06:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:06:54 8157be189b66: Preparing 00:06:54 d2f406e29a24: Preparing 00:06:54 08f3d0e9fc38: Preparing 00:06:54 f676de57814f: Preparing 00:06:54 dc65b23a4b7c: Preparing 00:06:54 d2f406e29a24: Layer already exists 00:06:54 08f3d0e9fc38: Layer already exists 00:06:54 8157be189b66: Layer already exists 00:06:54 f676de57814f: Layer already exists 00:06:54 dc65b23a4b7c: Layer already exists 00:06:54 657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1: digest: sha256:9f4ac32388dce8783e86a256603269cd90534e5e2492e0b0886689729ad49a91 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski 00:06:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 00:06:55 8157be189b66: Preparing 00:06:55 d2f406e29a24: Preparing 00:06:55 08f3d0e9fc38: Preparing 00:06:55 f676de57814f: Preparing 00:06:55 dc65b23a4b7c: Preparing 00:06:55 8157be189b66: Layer already exists 00:06:55 08f3d0e9fc38: Layer already exists 00:06:55 d2f406e29a24: Layer already exists 00:06:55 dc65b23a4b7c: Layer already exists 00:06:55 f676de57814f: Layer already exists 00:06:55 levski: digest: sha256:9f4ac32388dce8783e86a256603269cd90534e5e2492e0b0886689729ad49a91 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:06:55 ===================================================== [Pipeline] echo 00:06:55 taggedImages: 00:06:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299 00:06:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 00:06:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.2-dev.1 00:06:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:657b8d43448e5b2a48089f128e11bc6be1fe8299-2.3.2-dev.1 00:06:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:55 00:06:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:56 arm64: Pulling from edgex-lftools-log-publisher 00:06:56 8998bd30e6a1: Pulling fs layer 00:06:56 04944245beec: Pulling fs layer 00:06:56 699f458cf7ca: Pulling fs layer 00:06:56 765212b225bb: Pulling fs layer 00:06:56 f23df028b6ca: Pulling fs layer 00:06:56 d65c8cfc05b1: Pulling fs layer 00:06:56 2437ff75d9bd: Pulling fs layer 00:06:56 765212b225bb: Waiting 00:06:56 f23df028b6ca: Waiting 00:06:56 d65c8cfc05b1: Waiting 00:06:56 2437ff75d9bd: Waiting 00:06:56 04944245beec: Verifying Checksum 00:06:56 04944245beec: Download complete 00:06:56 765212b225bb: Verifying Checksum 00:06:56 765212b225bb: Download complete 00:06:56 f23df028b6ca: Verifying Checksum 00:06:56 f23df028b6ca: Download complete 00:06:56 d65c8cfc05b1: Verifying Checksum 00:06:56 d65c8cfc05b1: Download complete 00:06:56 699f458cf7ca: Verifying Checksum 00:06:56 699f458cf7ca: Download complete 00:06:57 8998bd30e6a1: Verifying Checksum 00:06:57 8998bd30e6a1: Download complete 00:06:59 2437ff75d9bd: Verifying Checksum 00:06:59 2437ff75d9bd: Download complete 00:07:01 8998bd30e6a1: Pull complete 00:07:01 04944245beec: Pull complete 00:07:03 699f458cf7ca: Pull complete 00:07:03 765212b225bb: Pull complete 00:07:04 f23df028b6ca: Pull complete 00:07:04 d65c8cfc05b1: Pull complete 00:07:19 2437ff75d9bd: Pull complete 00:07:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:19 prd-ubuntu20.04-docker-arm64-4c-16g-12654 does not seem to be running inside a container 00:07:19 $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:07:22 $ docker top 5892c3095032cb219abe7d3cbaf35981d7f6d4175c0cf4ea572854f25b5a609f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:23 ---> job-cost.sh 00:07:23 lf-activate-venv: SKIPPING 00:07:23 INFO: No Stack... 00:07:23 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:24 INFO: Archiving Costs [Pipeline] sh 00:07:25 + + cutcat -d, /w/workspace/device-onvif-camera/9/archives/cost.csv -f6 00:07:25 [Pipeline] lock 00:07:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] 00:07:25 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] did not exist. Created. 00:07:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:26 /w/workspace/device-onvif-camera/9@tmp/durable-77a43a57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:07:26 + echo total: 0.10999999940395355 [Pipeline] stash 00:07:26 Warning: overwriting stash ‘stack-cost’ 00:07:26 Stashed 1 file(s) [Pipeline] } 00:07:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-9-stack-cost] [Pipeline] // lock [Pipeline] } 00:07:26 $ docker stop --time=1 5892c3095032cb219abe7d3cbaf35981d7f6d4175c0cf4ea572854f25b5a609f 00:07:28 $ docker rm -f --volumes 5892c3095032cb219abe7d3cbaf35981d7f6d4175c0cf4ea572854f25b5a609f [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 00:07:28 provisioning config files... 00:07:28 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config6707748174410004446tmp [Pipeline] { [Pipeline] sh 00:07:29 + set +x 00:07:29 + + curl -s https://codecov.io/bash 00:07:29 bash -s -- 00:07:29 00:07:29 _____ _ 00:07:29 / ____| | | 00:07:29 | | ___ __| | ___ ___ _____ __ 00:07:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:07:29 | |___| (_) | (_| | __/ (_| (_) \ V / 00:07:29 \_____\___/ \__,_|\___|\___\___/ \_/ 00:07:29 Bash-1.0.6 00:07:29 00:07:29 00:07:29 ==> git version 2.25.1 found 00:07:29 ==> 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 00:07:29 Release-Date: 2020-01-08 00:07:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:07:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:07:29 ==> Jenkins CI detected. 00:07:29 current dir:  /w/workspace/undry_device-onvif-camera_levski 00:07:29 project root: . 00:07:29 --> token set from env 00:07:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:07:29 ==> Running gcov in . (disable via -X gcov) 00:07:29 ==> Python coveragepy not found 00:07:29 ==> Searching for coverage reports in: 00:07:29 + . 00:07:29 -> Found 1 reports 00:07:29 ==> Detecting git/mercurial file structure 00:07:29 ==> Reading reports 00:07:29 + ./coverage.out bytes=79184 00:07:29 ==> Appending adjustments 00:07:29 https://docs.codecov.io/docs/fixing-reports 00:07:29 + Found adjustments 00:07:29 ==> Gzipping contents 00:07:29 12K /tmp/codecov.Zvss8P.gz 00:07:29 ==> Uploading reports 00:07:29 url: https://codecov.io 00:07:29 query: branch=levski&commit=657b8d43448e5b2a48089f128e11bc6be1fe8299&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:07:29 -> Pinging Codecov 00:07:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=levski&commit=657b8d43448e5b2a48089f128e11bc6be1fe8299&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:07:29 -> Uploading to 00:07:29 https://storage.googleapis.com/codecov/v4/raw/2023-05-04/F29A59C45E3A92E06B3E522C9905F8EF/657b8d43448e5b2a48089f128e11bc6be1fe8299/8e3b9afb-d62d-4edc-8527-fd585c87dc0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230504T000729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85eaea01b0c06084f3dacbf0831c060399add2f1f5dc843fe02827858333dbb8 00:07:29 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:29 Dload Upload Total Spent Left Speed 00:07:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10883 0 0 100 10883 0 46909 --:--:-- --:--:-- --:--:-- 46708 00:07:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] } 00:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:07:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:07:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:30 00:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:07:30 df9b9388f04a: Pulling fs layer 00:07:30 52dc419b0ee2: Pulling fs layer 00:07:30 25bc292e5bac: Pulling fs layer 00:07:30 114826534d7a: Pulling fs layer 00:07:30 4657fd5d0bcf: Pulling fs layer 00:07:30 6ad1cebc031e: Pulling fs layer 00:07:30 8a3aa393b2d8: Pulling fs layer 00:07:30 114826534d7a: Waiting 00:07:30 4657fd5d0bcf: Waiting 00:07:30 6ad1cebc031e: Waiting 00:07:30 8a3aa393b2d8: Waiting 00:07:30 25bc292e5bac: Verifying Checksum 00:07:30 25bc292e5bac: Download complete 00:07:30 52dc419b0ee2: Verifying Checksum 00:07:30 52dc419b0ee2: Download complete 00:07:30 4657fd5d0bcf: Verifying Checksum 00:07:30 4657fd5d0bcf: Download complete 00:07:30 df9b9388f04a: Verifying Checksum 00:07:30 df9b9388f04a: Download complete 00:07:30 df9b9388f04a: Pull complete 00:07:30 6ad1cebc031e: Verifying Checksum 00:07:30 6ad1cebc031e: Download complete 00:07:30 52dc419b0ee2: Pull complete 00:07:30 25bc292e5bac: Pull complete 00:07:31 114826534d7a: Verifying Checksum 00:07:31 114826534d7a: Download complete 00:07:31 8a3aa393b2d8: Verifying Checksum 00:07:31 8a3aa393b2d8: Download complete 00:07:34 114826534d7a: Pull complete 00:07:34 4657fd5d0bcf: Pull complete 00:07:35 6ad1cebc031e: Pull complete 00:07:38 8a3aa393b2d8: Pull complete 00:07:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:07:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:07:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:38 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:07:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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/edgex-snyk-go:1.410.4 cat 00:07:42 $ docker top 935fdcbf9ed17013d533e22d44cbaaec2fb3832375e36aa3b782e24f5db21fd6 -eo pid,comm [Pipeline] { [Pipeline] echo 00:07:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:levski' [Pipeline] sh 00:07:42 + set -o pipefail 00:07:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:levski' 00:07:49 00:07:49 Monitoring /w/workspace/undry_device-onvif-camera_levski (github.com/edgexfoundry/device-onvif-camera)... 00:07:49 00:07:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bd71c595-cdc2-4fe6-bf78-b85af0ecca2e/history/e5140220-e4c7-4403-ab67-3f06f4162ba7 00:07:49 00:07:49 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 00:07:49 00:07:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:07:49 00:07:49 00:07:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:07:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:07:49 More details here: https://snyk.co/ue1NS 00:07:49 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 00:07:49 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:07:49 $ docker stop --time=1 935fdcbf9ed17013d533e22d44cbaaec2fb3832375e36aa3b782e24f5db21fd6 00:07:53 $ docker rm -f --volumes 935fdcbf9ed17013d533e22d44cbaaec2fb3832375e36aa3b782e24f5db21fd6 [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 00:07:53 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:53 provisioning config files... 00:07:53 copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config7665793961760311968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:53 --> edgex-publish-swagger.sh 00:07:53 === Publish doc/openapi/v2 API === 00:07:53 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 00:07:53 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/undry_device-onvif-camera_levski/doc/openapi/v2/device-onvif-camera.yaml] 00:07:53 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:53 Dload Upload Total Spent Left Speed 00:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 684k --:--:-- --:--:-- --:--:-- 683k 00:07:54 00:07:54 [Pipeline] } 00:07:54 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 00:07:54 + git log --format=format:%s -1 657b8d43448e5b2a48089f128e11bc6be1fe8299 [Pipeline] sh 00:07:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:07:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:07:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:55 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:07:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:07:55 $ docker top 4b503516d9a71f8fbbde727b4b133f620175c1617fd4937fa5d4575e5009f237 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:07:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:07:55 [ssh-agent] Looking for ssh-agent implementation... 00:07:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:07:55 $ docker exec 4b503516d9a71f8fbbde727b4b133f620175c1617fd4937fa5d4575e5009f237 ssh-agent 00:07:56 SSH_AUTH_SOCK=/tmp/ssh-RsFCVx1TsOox/agent.32 00:07:56 SSH_AGENT_PID=38 00:07:56 Running ssh-add (command line suppressed) 00:07:56 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_17929282260080397140.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_17929282260080397140.key) 00:07:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:07:56 + git semver tag 00:07:56 2023-05-04 00:07:56,666 [run_tag] DEBUG tag force:False 00:07:56 2023-05-04 00:07:56,666 [check_head_tag] DEBUG check head tag 00:07:56 2023-05-04 00:07:56,668 [execute] INFO git cat-file --batch-check 00:07:56 2023-05-04 00:07:56,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 00:07:56 2023-05-04 00:07:56,672 [execute] INFO git cat-file --batch 00:07:56 2023-05-04 00:07:56,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 00:07:56 2023-05-04 00:07:56,704 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:07:56 2023-05-04 00:07:56,705 [execute] INFO git tag -a v2.3.2-dev.1 -m v2.3.2-dev.1 00:07:56 2023-05-04 00:07:56,705 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.2-dev.1', '-m', 'v2.3.2-dev.1'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 00:07:56 2023-05-04 00:07:56,710 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:07:56 2.3.2-dev.1 [Pipeline] } 00:07:56 $ docker exec --env ******** --env ******** 4b503516d9a71f8fbbde727b4b133f620175c1617fd4937fa5d4575e5009f237 ssh-agent -k 00:07:56 unset SSH_AUTH_SOCK; 00:07:56 unset SSH_AGENT_PID; 00:07:56 echo Agent pid 38 killed; 00:07:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:07:57 + git semver [Pipeline] } 00:07:57 $ docker stop --time=1 4b503516d9a71f8fbbde727b4b133f620175c1617fd4937fa5d4575e5009f237 00:07:58 $ docker rm -f --volumes 4b503516d9a71f8fbbde727b4b133f620175c1617fd4937fa5d4575e5009f237 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:59 00:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:07:59 0.23.1-centos7: Pulling from edgex-lftools 00:07:59 ab5ef0e58194: Pulling fs layer 00:07:59 9712f1f96733: Pulling fs layer 00:07:59 63f879dbbcfc: Pulling fs layer 00:07:59 0d9ebad4ef96: Pulling fs layer 00:07:59 e9a5061849ea: Pulling fs layer 00:07:59 d747dcd14b5f: Pulling fs layer 00:07:59 0d9ebad4ef96: Waiting 00:07:59 e9a5061849ea: Waiting 00:07:59 2de7ff778b66: Pulling fs layer 00:07:59 d747dcd14b5f: Waiting 00:07:59 2de7ff778b66: Waiting 00:07:59 9712f1f96733: Verifying Checksum 00:07:59 9712f1f96733: Download complete 00:07:59 63f879dbbcfc: Verifying Checksum 00:07:59 63f879dbbcfc: Download complete 00:07:59 e9a5061849ea: Verifying Checksum 00:07:59 e9a5061849ea: Download complete 00:07:59 d747dcd14b5f: Verifying Checksum 00:07:59 d747dcd14b5f: Download complete 00:07:59 0d9ebad4ef96: Verifying Checksum 00:07:59 0d9ebad4ef96: Download complete 00:07:59 ab5ef0e58194: Verifying Checksum 00:07:59 ab5ef0e58194: Download complete 00:07:59 2de7ff778b66: Verifying Checksum 00:07:59 2de7ff778b66: Download complete 00:08:03 ab5ef0e58194: Pull complete 00:08:03 9712f1f96733: Pull complete 00:08:03 63f879dbbcfc: Pull complete 00:08:07 0d9ebad4ef96: Pull complete 00:08:07 e9a5061849ea: Pull complete 00:08:08 d747dcd14b5f: Pull complete 00:08:09 2de7ff778b66: Pull complete 00:08:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:08:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:09 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:08:13 $ docker top fd41b78a8c1f48fbf5cc98315ee25453025b4e4b88745209bc079c14dad3f53c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:08:13 provisioning config files... 00:08:13 copy managed file [sigul-config] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config476513994909994633tmp 00:08:13 copy managed file [sigul-password] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config18161237018696010891tmp 00:08:13 copy managed file [sigul-pki] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config16065318168647304558tmp [Pipeline] { [Pipeline] echo 00:08:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:08:13 ---> sigul-configuration.sh 00:08:13 gpg: directory `/root/.gnupg' created 00:08:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:08:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:08:13 gpg: keyring `/root/.gnupg/secring.gpg' created 00:08:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:08:13 gpg: CAST5 encrypted data 00:08:13 gpg: encrypted with 1 passphrase 00:08:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:08:14 + mkdir /home/jenkins 00:08:14 + mkdir /home/jenkins/sigul [Pipeline] sh 00:08:14 + 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 00:08:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:08:14 ---> sigul-install.sh 00:08:14 Sigul already installed; skipping installation. [Pipeline] sh 00:08:15 + git tag --list 00:08:15 v0.0.0 00:08:15 v0.0.1-dev.1 00:08:15 v0.0.1-dev.10 00:08:15 v0.0.1-dev.11 00:08:15 v0.0.1-dev.12 00:08:15 v0.0.1-dev.13 00:08:15 v0.0.1-dev.14 00:08:15 v0.0.1-dev.15 00:08:15 v0.0.1-dev.16 00:08:15 v0.0.1-dev.17 00:08:15 v0.0.1-dev.18 00:08:15 v0.0.1-dev.19 00:08:15 v0.0.1-dev.2 00:08:15 v0.0.1-dev.20 00:08:15 v0.0.1-dev.21 00:08:15 v0.0.1-dev.22 00:08:15 v0.0.1-dev.23 00:08:15 v0.0.1-dev.24 00:08:15 v0.0.1-dev.25 00:08:15 v0.0.1-dev.26 00:08:15 v0.0.1-dev.27 00:08:15 v0.0.1-dev.28 00:08:15 v0.0.1-dev.3 00:08:15 v0.0.1-dev.4 00:08:15 v0.0.1-dev.5 00:08:15 v0.0.1-dev.6 00:08:15 v0.0.1-dev.7 00:08:15 v0.0.1-dev.8 00:08:15 v0.0.1-dev.9 00:08:15 v2.2.0 00:08:15 v2.2.0-dev.29 00:08:15 v2.2.0-dev.30 00:08:15 v2.2.0-dev.31 00:08:15 v2.2.0-dev.32 00:08:15 v2.2.0-dev.33 00:08:15 v2.2.0-dev.34 00:08:15 v2.2.0-dev.35 00:08:15 v2.3.0 00:08:15 v2.3.0-dev.1 00:08:15 v2.3.0-dev.10 00:08:15 v2.3.0-dev.11 00:08:15 v2.3.0-dev.12 00:08:15 v2.3.0-dev.13 00:08:15 v2.3.0-dev.14 00:08:15 v2.3.0-dev.15 00:08:15 v2.3.0-dev.16 00:08:15 v2.3.0-dev.17 00:08:15 v2.3.0-dev.18 00:08:15 v2.3.0-dev.19 00:08:15 v2.3.0-dev.2 00:08:15 v2.3.0-dev.20 00:08:15 v2.3.0-dev.21 00:08:15 v2.3.0-dev.22 00:08:15 v2.3.0-dev.23 00:08:15 v2.3.0-dev.24 00:08:15 v2.3.0-dev.25 00:08:15 v2.3.0-dev.26 00:08:15 v2.3.0-dev.27 00:08:15 v2.3.0-dev.28 00:08:15 v2.3.0-dev.29 00:08:15 v2.3.0-dev.3 00:08:15 v2.3.0-dev.30 00:08:15 v2.3.0-dev.31 00:08:15 v2.3.0-dev.32 00:08:15 v2.3.0-dev.33 00:08:15 v2.3.0-dev.34 00:08:15 v2.3.0-dev.35 00:08:15 v2.3.0-dev.36 00:08:15 v2.3.0-dev.37 00:08:15 v2.3.0-dev.38 00:08:15 v2.3.0-dev.39 00:08:15 v2.3.0-dev.4 00:08:15 v2.3.0-dev.40 00:08:15 v2.3.0-dev.41 00:08:15 v2.3.0-dev.42 00:08:15 v2.3.0-dev.43 00:08:15 v2.3.0-dev.44 00:08:15 v2.3.0-dev.45 00:08:15 v2.3.0-dev.5 00:08:15 v2.3.0-dev.6 00:08:15 v2.3.0-dev.7 00:08:15 v2.3.0-dev.8 00:08:15 v2.3.0-dev.9 00:08:15 v2.3.1 00:08:15 v2.3.1-dev.1 00:08:15 v2.3.1-dev.4 00:08:15 v2.3.1-dev.5 00:08:15 v2.3.2-dev.1 00:08:15 v3.0.0-dev.1 00:08:15 v3.0.0-dev.10 00:08:15 v3.0.0-dev.11 00:08:15 v3.0.0-dev.12 00:08:15 v3.0.0-dev.13 00:08:15 v3.0.0-dev.14 00:08:15 v3.0.0-dev.15 00:08:15 v3.0.0-dev.16 00:08:15 v3.0.0-dev.17 00:08:15 v3.0.0-dev.18 00:08:15 v3.0.0-dev.19 00:08:15 v3.0.0-dev.2 00:08:15 v3.0.0-dev.20 00:08:15 v3.0.0-dev.21 00:08:15 v3.0.0-dev.22 00:08:15 v3.0.0-dev.23 00:08:15 v3.0.0-dev.24 00:08:15 v3.0.0-dev.25 00:08:15 v3.0.0-dev.26 00:08:15 v3.0.0-dev.27 00:08:15 v3.0.0-dev.28 00:08:15 v3.0.0-dev.29 00:08:15 v3.0.0-dev.3 00:08:15 v3.0.0-dev.30 00:08:15 v3.0.0-dev.31 00:08:15 v3.0.0-dev.32 00:08:15 v3.0.0-dev.33 00:08:15 v3.0.0-dev.34 00:08:15 v3.0.0-dev.35 00:08:15 v3.0.0-dev.36 00:08:15 v3.0.0-dev.4 00:08:15 v3.0.0-dev.5 00:08:15 v3.0.0-dev.6 00:08:15 v3.0.0-dev.7 00:08:15 v3.0.0-dev.8 00:08:15 v3.0.0-dev.9 [Pipeline] sh 00:08:15 + lftools sign git-tag v2.3.2-dev.1 00:08:15 Signing Git tag with Sigul... 00:08:15 Signing v2.3.2-dev.1 [Pipeline] echo 00:08:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:08:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:08:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:08:16 $ docker stop --time=1 fd41b78a8c1f48fbf5cc98315ee25453025b4e4b88745209bc079c14dad3f53c 00:08:17 $ docker rm -f --volumes fd41b78a8c1f48fbf5cc98315ee25453025b4e4b88745209bc079c14dad3f53c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:08:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:18 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:18 $ docker top bf8137c6d1fb65d501b5103025048f03936814b98fc20e97193f432c2f2b46c1 -eo pid,comm 00:08:18 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). 00:08:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:19 [ssh-agent] Looking for ssh-agent implementation... 00:08:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:19 $ docker exec bf8137c6d1fb65d501b5103025048f03936814b98fc20e97193f432c2f2b46c1 ssh-agent 00:08:19 SSH_AUTH_SOCK=/tmp/ssh-6thIRBvtKVEb/agent.32 00:08:19 SSH_AGENT_PID=38 00:08:19 Running ssh-add (command line suppressed) 00:08:19 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_11646518116593868066.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_11646518116593868066.key) 00:08:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:19 + git semver bump pre 00:08:19 2023-05-04 00:08:19,848 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:08:19 2023-05-04 00:08:19,848 [bump_version] DEBUG bumping version:2.3.2-dev.1 on axis:pre with prefix:dev 00:08:19 2023-05-04 00:08:19,848 [bump_version] DEBUG bumped version:2.3.2-dev.2 00:08:19 2023-05-04 00:08:19,848 [write_version] DEBUG write version:2.3.2-dev.2 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:True 00:08:19 2023-05-04 00:08:19,848 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:08:19 2023-05-04 00:08:19,848 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:08:19 2023-05-04 00:08:19,851 [execute] INFO git cat-file --batch-check 00:08:19 2023-05-04 00:08:19,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 00:08:19 2023-05-04 00:08:19,856 [execute] INFO git cat-file --batch 00:08:19 2023-05-04 00:08:19,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 00:08:19 2023-05-04 00:08:19,863 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:08:19 2.3.2-dev.2 [Pipeline] } 00:08:19 $ docker exec --env ******** --env ******** bf8137c6d1fb65d501b5103025048f03936814b98fc20e97193f432c2f2b46c1 ssh-agent -k 00:08:20 unset SSH_AUTH_SOCK; 00:08:20 unset SSH_AGENT_PID; 00:08:20 echo Agent pid 38 killed; 00:08:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:20 + git semver [Pipeline] } 00:08:20 $ docker stop --time=1 bf8137c6d1fb65d501b5103025048f03936814b98fc20e97193f432c2f2b46c1 00:08:21 $ docker rm -f --volumes bf8137c6d1fb65d501b5103025048f03936814b98fc20e97193f432c2f2b46c1 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:22 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:23 $ docker top 3604c4bd56b19c7924874cfaba8e65c1e3f710d79095cf2facc6a20fd07d191b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:23 [ssh-agent] Looking for ssh-agent implementation... 00:08:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:23 $ docker exec 3604c4bd56b19c7924874cfaba8e65c1e3f710d79095cf2facc6a20fd07d191b ssh-agent 00:08:23 SSH_AUTH_SOCK=/tmp/ssh-frka56BVZ4pm/agent.33 00:08:23 SSH_AGENT_PID=39 00:08:23 Running ssh-add (command line suppressed) 00:08:23 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9828758144555259805.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9828758144555259805.key) 00:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:23 + git semver push 00:08:24 2023-05-04 00:08:23,928 [run_push] DEBUG push 00:08:24 2023-05-04 00:08:23,928 [execute] INFO git cat-file --batch-check 00:08:24 2023-05-04 00:08:23,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 00:08:24 2023-05-04 00:08:23,933 [execute] INFO git rev-list 0975086aafe895ce3685d263bc5e65dad32501b6 -- 00:08:24 2023-05-04 00:08:23,933 [execute] DEBUG Popen(['git', 'rev-list', '0975086aafe895ce3685d263bc5e65dad32501b6', '--'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 00:08:24 2023-05-04 00:08:23,941 [execute] INFO git fetch -v origin 00:08:24 2023-05-04 00:08:23,941 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=True, shell=None, istream=None) 00:08:24 2023-05-04 00:08:24,378 [run_push] DEBUG no remote changes detected 00:08:24 2023-05-04 00:08:24,378 [execute] INFO git push origin semver 00:08:24 2023-05-04 00:08:24,379 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 00:08:25 2023-05-04 00:08:25,058 [run_push] DEBUG push all version tags 00:08:25 2023-05-04 00:08:25,059 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:08:25 2023-05-04 00:08:25,059 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 00:08:26 2023-05-04 00:08:26,074 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 00:08:26 2.3.2-dev.2 [Pipeline] } 00:08:26 $ docker exec --env ******** --env ******** 3604c4bd56b19c7924874cfaba8e65c1e3f710d79095cf2facc6a20fd07d191b ssh-agent -k 00:08:26 unset SSH_AUTH_SOCK; 00:08:26 unset SSH_AGENT_PID; 00:08:26 echo Agent pid 39 killed; 00:08:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:26 + git semver [Pipeline] } 00:08:27 $ docker stop --time=1 3604c4bd56b19c7924874cfaba8e65c1e3f710d79095cf2facc6a20fd07d191b 00:08:28 $ docker rm -f --volumes 3604c4bd56b19c7924874cfaba8e65c1e3f710d79095cf2facc6a20fd07d191b [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 00:08:28 + [ -d /w/workspace/undry_device-onvif-camera_levski/archives ] 00:08:28 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 00:08:28 total 16 00:08:28 drwxr-xr-x 3 root root 4096 May 3 23:56 . 00:08:28 drwxrwxr-x 11 jenkins jenkins 4096 May 4 00:08 .. 00:08:28 drwxr-xr-x 2 root root 4096 May 3 23:56 cost 00:08:28 -rw-r--r-- 1 root root 91 May 3 23:56 cost.csv 00:08:28 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_levski/archives 00:08:28 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 00:08:28 total 16 00:08:28 drwxr-xr-x 3 jenkins jenkins 4096 May 3 23:56 . 00:08:28 drwxrwxr-x 11 jenkins jenkins 4096 May 4 00:08 .. 00:08:28 drwxr-xr-x 2 jenkins jenkins 4096 May 3 23:56 cost 00:08:28 -rw-r--r-- 1 jenkins jenkins 91 May 3 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:08:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:08:30 ---> package-listing.sh 00:08:30 ++ facter osfamily 00:08:30 ++ tr '[:upper:]' '[:lower:]' 00:08:30 + OS_FAMILY=debian 00:08:30 + workspace=/w/workspace/undry_device-onvif-camera_levski 00:08:30 + START_PACKAGES=/tmp/packages_start.txt 00:08:30 + END_PACKAGES=/tmp/packages_end.txt 00:08:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:08:30 + PACKAGES=/tmp/packages_start.txt 00:08:30 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 00:08:30 + PACKAGES=/tmp/packages_end.txt 00:08:30 + case "${OS_FAMILY}" in 00:08:30 + dpkg -l 00:08:30 + grep '^ii' 00:08:30 + '[' -f /tmp/packages_start.txt ']' 00:08:30 + '[' -f /tmp/packages_end.txt ']' 00:08:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:08:30 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 00:08:30 + mkdir -p /w/workspace/undry_device-onvif-camera_levski/archives/ 00:08:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_levski/archives/ [Pipeline] echo 00:08:30 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/undry_device-onvif-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:08:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:31 prd-ubuntu20.04-docker-8c-8g-12653 does not seem to be running inside a container 00:08:31 $ 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/undry_device-onvif-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_levski -v /w/workspace/undry_device-onvif-camera_levski:/w/workspace/undry_device-onvif-camera_levski:rw,z -v /w/workspace/undry_device-onvif-camera_levski@tmp:/w/workspace/undry_device-onvif-camera_levski@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:08:31 $ docker top 684826f31b311eb16ae247e2b41f91ae04491841e5648542e94d59377d9f3776 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:08:32 + mkdir -p /var/log/sysstat [Pipeline] sh 00:08:32 + ls /var/log/sa-host 00:08:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:32 provisioning config files... 00:08:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config9511038760794665309tmp [Pipeline] { [Pipeline] echo 00:08:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:08:32 ---> create-netrc.sh [Pipeline] } 00:08:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:08:33 ---> python-tools-install.sh [Pipeline] echo 00:08:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:08:33 ---> sudo-logs.sh 00:08:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:08:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:08:33 ---> job-cost.sh 00:08:33 lf-activate-venv: SKIPPING 00:08:33 DEBUG: total: 0.2199999988079071 00:08:33 INFO: Retrieving Stack Cost... 00:08:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:08:34 INFO: Archiving Costs [Pipeline] echo 00:08:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:08:35 ---> logs-deploy.sh 00:08:35 lf-activate-venv: SKIPPING 00:08:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/levski/9 00:08:35 INFO: archiving workspace using pattern(s): 00:08:35 Archives upload complete. 00:08:35 INFO: archiving logs to Nexus