Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c87f5736bc0c3f4f0df46418a3ded6651230b9e1 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-ssh10012449408883603621.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15293795407818283774.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10395746622962265125.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14725840706698705197.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-ssh9700292163661851491.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-4640 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c87f5736bc0c3f4f0df46418a3ded6651230b9e1 (levski) Commit message: "docs: remove demo-app docs from levski (#274)" > git config core.sparsecheckout # timeout=10 > git checkout -f c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 > git rev-list --no-walk 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:44:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:44:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:44:15 ========================================================= 20:44:15 EdgeX Global Pipelines Version Info 20:44:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:44:15 ------------------- 20:44:15 stable info: 20:44:15 ------------------- 20:44:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:44:15 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 20:44:15 Message: update stable to v1.0.245 20:44:16 ------------------- 20:44:16 experimental info: 20:44:16 ------------------- 20:44:16 Commited By: **** collab-it+edgex@linuxfoundation.org 20:44:16 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 20:44:16 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] echo 20:44:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c87f573 [Pipeline] echo 20:44:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:17 provisioning config files... 20:44:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config10275901477227179900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:17 ---> docker-login.sh 20:44:17 nexus3.edgexfoundry.org:10001 20:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:17 Configure a credential helper to remove this warning. See 20:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:17 20:44:17 Login Succeeded 20:44:17 nexus3.edgexfoundry.org:10002 20:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:17 Configure a credential helper to remove this warning. See 20:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:17 20:44:17 Login Succeeded 20:44:17 nexus3.edgexfoundry.org:10003 20:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:17 Configure a credential helper to remove this warning. See 20:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:17 20:44:17 Login Succeeded 20:44:17 nexus3.edgexfoundry.org:10004 20:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:17 Configure a credential helper to remove this warning. See 20:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:17 20:44:17 Login Succeeded 20:44:17 docker.io 20:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:18 Configure a credential helper to remove this warning. See 20:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:18 20:44:18 Login Succeeded 20:44:18 ---> docker-login.sh ends [Pipeline] } 20:44:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:44:18 + git rev-list -1 --merges c87f5736bc0c3f4f0df46418a3ded6651230b9e1~1..c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] echo 20:44:18 -----------> git rev-list -1 --merges c87f5736bc0c3f4f0df46418a3ded6651230b9e1~1..c87f5736bc0c3f4f0df46418a3ded6651230b9e1 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [false] [Pipeline] sh 20:44:19 + git log --format=format:%s -1 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] echo 20:44:19 ========================================================= 20:44:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:44:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:44:19 + git log --format=format:%s -1 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] echo 20:44:19 [semverPrep] GIT_COMMIT: c87f5736bc0c3f4f0df46418a3ded6651230b9e1, Commit Message: docs: remove demo-app docs from levski (#274) [Pipeline] echo 20:44:19 [semverPrep] This is not a build commit. [Pipeline] sh 20:44:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:44:19 + grep -v github /etc/ssh/ssh_known_hosts 20:44:19 + [ -e /tmp/ssh_known_hosts ] 20:44:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:44:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:44:19 + sudo tee -a /etc/ssh/ssh_known_hosts 20:44:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:20 20:44:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:20 0.1.4: Pulling from edgex-devops/py-git-semver 20:44:20 b85a868b505f: Pulling fs layer 20:44:20 e2be974225ed: Pulling fs layer 20:44:20 339a4e72a1f5: Pulling fs layer 20:44:20 988bab9f4d93: Pulling fs layer 20:44:20 1469e6f7b9e6: Pulling fs layer 20:44:20 eaf3925da568: Pulling fs layer 20:44:20 bab4dde63d76: Pulling fs layer 20:44:20 bde34c3a00c8: Pulling fs layer 20:44:20 b352a97aabf1: Pulling fs layer 20:44:20 988bab9f4d93: Waiting 20:44:20 4872d77fe225: Pulling fs layer 20:44:20 5851b861e8e6: Pulling fs layer 20:44:20 1469e6f7b9e6: Waiting 20:44:20 eaf3925da568: Waiting 20:44:20 bab4dde63d76: Waiting 20:44:20 bde34c3a00c8: Waiting 20:44:20 b352a97aabf1: Waiting 20:44:20 4872d77fe225: Waiting 20:44:20 e2be974225ed: Download complete 20:44:20 988bab9f4d93: Download complete 20:44:20 1469e6f7b9e6: Verifying Checksum 20:44:20 1469e6f7b9e6: Download complete 20:44:20 eaf3925da568: Download complete 20:44:20 339a4e72a1f5: Verifying Checksum 20:44:20 339a4e72a1f5: Download complete 20:44:20 bde34c3a00c8: Download complete 20:44:20 b352a97aabf1: Download complete 20:44:20 4872d77fe225: Download complete 20:44:20 5851b861e8e6: Download complete 20:44:20 b85a868b505f: Verifying Checksum 20:44:20 b85a868b505f: Download complete 20:44:21 bab4dde63d76: Verifying Checksum 20:44:21 bab4dde63d76: Download complete 20:44:22 b85a868b505f: Pull complete 20:44:22 e2be974225ed: Pull complete 20:44:22 339a4e72a1f5: Pull complete 20:44:23 988bab9f4d93: Pull complete 20:44:23 1469e6f7b9e6: Pull complete 20:44:23 eaf3925da568: Pull complete 20:44:25 bab4dde63d76: Pull complete 20:44:25 bde34c3a00c8: Pull complete 20:44:25 b352a97aabf1: Pull complete 20:44:25 4872d77fe225: Pull complete 20:44:25 5851b861e8e6: Pull complete 20:44:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:44:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:25 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:44:25 $ 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 20:44:27 $ docker top de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf -eo pid,comm 20:44:27 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). 20:44:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:44:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:27 [ssh-agent] Looking for ssh-agent implementation... 20:44:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:27 $ docker exec de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf ssh-agent 20:44:27 SSH_AUTH_SOCK=/tmp/ssh-FStUchLmDz3j/agent.32 20:44:27 SSH_AGENT_PID=38 20:44:27 Running ssh-add (command line suppressed) 20:44:27 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7367387569921852581.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7367387569921852581.key) 20:44:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:28 + git tag --points-at HEAD [Pipeline] } 20:44:28 $ docker exec --env ******** --env ******** de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf ssh-agent -k 20:44:28 unset SSH_AUTH_SOCK; 20:44:28 unset SSH_AGENT_PID; 20:44:28 echo Agent pid 38 killed; 20:44:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:44:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:44:28 [ssh-agent] Looking for ssh-agent implementation... 20:44:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:44:28 $ docker exec de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf ssh-agent 20:44:28 SSH_AUTH_SOCK=/tmp/ssh-lmgchDdQ15m0/agent.71 20:44:28 SSH_AGENT_PID=77 20:44:28 Running ssh-add (command line suppressed) 20:44:28 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7051666530434794872.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_7051666530434794872.key) 20:44:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:44:28 + git semver init 20:44:29 2023-03-20 20:44:29,111 [run_init] DEBUG init version:0.0.0 force:False 20:44:29 2023-03-20 20:44:29,112 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_levski/.semver 20:44:29 2023-03-20 20:44:29,112 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_levski/.semver 20:44:29 2023-03-20 20:44:29,113 [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) 20:44:30 2023-03-20 20:44:29,994 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_levski/.git/info/exclude 20:44:30 2023-03-20 20:44:29,995 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:False 20:44:30 2023-03-20 20:44:29,996 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_levski/.semver/levski 20:44:30 2023-03-20 20:44:30,000 [execute] INFO git cat-file --batch-check 20:44:30 2023-03-20 20:44:30,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 20:44:30 2023-03-20 20:44:30,007 [execute] INFO git cat-file --batch 20:44:30 2023-03-20 20:44:30,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 20:44:30 2023-03-20 20:44:30,014 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 20:44:30 0.0.0 [Pipeline] } 20:44:30 $ docker exec --env ******** --env ******** de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf ssh-agent -k 20:44:30 unset SSH_AUTH_SOCK; 20:44:30 unset SSH_AGENT_PID; 20:44:30 echo Agent pid 77 killed; 20:44:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:44:30 + git semver [Pipeline] } 20:44:30 $ docker stop --time=1 de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf 20:44:32 $ docker rm -f --volumes de71c7bccbf4718ed2d589a32bd157c855dc5dc3b481a38f12fd561ac9629fdf [Pipeline] // withDockerContainer [Pipeline] sh 20:44:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:44:32 Stashed 1 file(s) [Pipeline] echo 20:44:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:32 provisioning config files... 20:44:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config15403452359661079543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:33 ---> docker-login.sh 20:44:33 nexus3.edgexfoundry.org:10001 20:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:33 Configure a credential helper to remove this warning. See 20:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:33 20:44:33 Login Succeeded 20:44:33 nexus3.edgexfoundry.org:10002 20:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:33 Configure a credential helper to remove this warning. See 20:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:33 20:44:33 Login Succeeded 20:44:33 nexus3.edgexfoundry.org:10003 20:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:33 Configure a credential helper to remove this warning. See 20:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:33 20:44:33 Login Succeeded 20:44:33 nexus3.edgexfoundry.org:10004 20:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:33 Configure a credential helper to remove this warning. See 20:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:33 20:44:33 Login Succeeded 20:44:33 docker.io 20:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:33 Configure a credential helper to remove this warning. See 20:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:33 20:44:33 Login Succeeded 20:44:33 ---> docker-login.sh ends [Pipeline] } 20:44:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:44:33 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:33 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:33 ========================================================= 20:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:44:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:34 + 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 . 20:44:34 Sending build context to Docker daemon 27.03MB 20:44:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:44:34 Step 2/13 : FROM ${BASE} AS builder 20:44:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:44:34 213ec9aee27d: Pulling fs layer 20:44:34 4583459ba037: Pulling fs layer 20:44:34 93c1e223e6f2: Pulling fs layer 20:44:34 53926ce57604: Pulling fs layer 20:44:34 21b2b0c7a3f4: Pulling fs layer 20:44:34 22ff95d597cd: Pulling fs layer 20:44:34 12d6caf4c0d1: Pulling fs layer 20:44:34 96b7cbca73a9: Pulling fs layer 20:44:34 a7acece74701: Pulling fs layer 20:44:34 53926ce57604: Waiting 20:44:34 21b2b0c7a3f4: Waiting 20:44:34 22ff95d597cd: Waiting 20:44:34 12d6caf4c0d1: Waiting 20:44:34 a7acece74701: Waiting 20:44:34 96b7cbca73a9: Waiting 20:44:34 93c1e223e6f2: Verifying Checksum 20:44:34 93c1e223e6f2: Download complete 20:44:34 4583459ba037: Verifying Checksum 20:44:34 4583459ba037: Download complete 20:44:34 21b2b0c7a3f4: Verifying Checksum 20:44:34 21b2b0c7a3f4: Download complete 20:44:34 213ec9aee27d: Verifying Checksum 20:44:34 213ec9aee27d: Download complete 20:44:34 12d6caf4c0d1: Verifying Checksum 20:44:34 12d6caf4c0d1: Download complete 20:44:34 213ec9aee27d: Pull complete 20:44:34 4583459ba037: Pull complete 20:44:34 93c1e223e6f2: Pull complete 20:44:35 a7acece74701: Verifying Checksum 20:44:35 a7acece74701: Download complete 20:44:35 96b7cbca73a9: Verifying Checksum 20:44:35 96b7cbca73a9: Download complete 20:44:35 53926ce57604: Download complete 20:44:39 53926ce57604: Pull complete 20:44:39 21b2b0c7a3f4: Pull complete 20:44:39 22ff95d597cd: Pull complete 20:44:39 12d6caf4c0d1: Pull complete 20:44:41 96b7cbca73a9: Pull complete 20:44:42 a7acece74701: Pull complete 20:44:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:44:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:44:42 ---> db6d94c90886 20:44:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:44:44 ---> Running in cd0448b04ead 20:44:44 Removing intermediate container cd0448b04ead 20:44:44 ---> c17f134dc18a 20:44:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:44 ---> Running in d337c99ea10d 20:44:44 Removing intermediate container d337c99ea10d 20:44:44 ---> d15c00c7972c 20:44:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:44:44 ---> Running in 9d269dd5ef01 20:44:44 Removing intermediate container 9d269dd5ef01 20:44:44 ---> 4c5a5db1d71a 20:44:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:44:44 ---> Running in 4b55465d01e7 20:44:44 Removing intermediate container 4b55465d01e7 20:44:44 ---> 12a8f20d7375 20:44:44 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:44:44 ---> Running in fefe15eafb88 20:44:44 Removing intermediate container fefe15eafb88 20:44:44 ---> fb508a825c31 20:44:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:45 ---> Running in 2d02f7ac10a0 20:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:44:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:44:45 OK: 211 MiB in 51 packages 20:44:46 Removing intermediate container 2d02f7ac10a0 20:44:46 ---> 74cd45ec85d9 20:44:46 Step 9/13 : WORKDIR /device-onvif-camera 20:44:46 ---> Running in 487094d280e7 20:44:46 Removing intermediate container 487094d280e7 20:44:46 ---> e8dbe9c1e198 20:44:46 Step 10/13 : COPY go.mod vendor* ./ 20:44:46 ---> 932ecc04fbb2 20:44:46 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:46 ---> Running in f835dc2eece6 20:44:47 Still waiting to schedule task 20:44:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:45:08 Removing intermediate container f835dc2eece6 20:45:08 ---> dbb3e3f673c0 20:45:08 Step 12/13 : COPY . . 20:45:09 ---> 88f27e05755c 20:45:09 Step 13/13 : RUN ${MAKE} 20:45:09 ---> Running in 5853a06ff8a6 20:45:09 noop 20:45:09 Removing intermediate container 5853a06ff8a6 20:45:09 ---> dbc89c262401 20:45:09 Successfully built dbc89c262401 20:45:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:10 + docker inspect -f . ci-base-image-x86_64 20:45:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:10 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:45:10 $ 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 20:45:10 $ docker top 946e03a15e4a463a424f4576e910d1e71f0182bac253f768ef38f981cdc864e6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:11 + go version 20:45:11 go version go1.18.7 linux/amd64 [Pipeline] } 20:45:11 $ docker stop --time=1 946e03a15e4a463a424f4576e910d1e71f0182bac253f768ef38f981cdc864e6 20:45:12 $ docker rm -f --volumes 946e03a15e4a463a424f4576e910d1e71f0182bac253f768ef38f981cdc864e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:12 + docker inspect -f . ci-base-image-x86_64 20:45:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:12 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:45:12 $ 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 20:45:13 $ docker top 3d7029997ff8944e993dbee4f8f556dbdfce5835fdf1268ed339afed164b9cde -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:13 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_levski [Pipeline] fileExists [Pipeline] sh 20:45:13 + make test 20:45:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:45:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:45:26 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:45:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements 20:45:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:45:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.564s coverage: 86.5% of statements 20:45:37 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." 20:45:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:45:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:45:41 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:45:41 $ docker stop --time=1 3d7029997ff8944e993dbee4f8f556dbdfce5835fdf1268ed339afed164b9cde 20:45:43 $ docker rm -f --volumes 3d7029997ff8944e993dbee4f8f556dbdfce5835fdf1268ed339afed164b9cde [Pipeline] // withDockerContainer [Pipeline] sh 20:45:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:44 + ls -al . 20:45:44 total 248 20:45:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 20:45 . 20:45:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:44 .. 20:45:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:45 .git 20:45:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:44 .github 20:45:44 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:44 .gitignore 20:45:44 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:44 .golangci.yml 20:45:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:44 .semver 20:45:44 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:44 Attribution.txt 20:45:44 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:44 CHANGELOG.md 20:45:44 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:44 Dockerfile 20:45:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:44 GOVERNANCE.md 20:45:44 -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:44 Jenkinsfile 20:45:44 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:44 LICENSE 20:45:44 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:44 Makefile 20:45:44 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:44 OWNERS.md 20:45:44 -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:44 README.md 20:45:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:44 VERSION 20:45:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:44 bin 20:45:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:44 cmd 20:45:44 -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:45 coverage.out 20:45:44 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:44 doc 20:45:44 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:44 go.mod 20:45:44 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:44 go.sum 20:45:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:44 internal 20:45:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:44 snap 20:45:44 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:45 + 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=c87f5736bc0c3f4f0df46418a3ded6651230b9e1 --label arch=amd64 --label version=0.0.0 . 20:45:45 Sending build context to Docker daemon 27.11MB 20:45:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:45:45 Step 2/26 : FROM ${BASE} AS builder 20:45:45 ---> dbc89c262401 20:45:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:45 ---> Running in 0a3c7d917cc9 20:45:45 Removing intermediate container 0a3c7d917cc9 20:45:45 ---> b0a00b8a46d5 20:45:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:45 ---> Running in a8bcf92f100a 20:45:45 Removing intermediate container a8bcf92f100a 20:45:45 ---> fb8fd1dca956 20:45:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:45:45 ---> Running in 9dea6cf90332 20:45:45 Removing intermediate container 9dea6cf90332 20:45:45 ---> c13715efff1d 20:45:45 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:46 ---> Running in a68f566db65b 20:45:46 Removing intermediate container a68f566db65b 20:45:46 ---> 911b4aa3edc1 20:45:46 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:45:46 ---> Running in 6f03ec05feb9 20:45:46 Removing intermediate container 6f03ec05feb9 20:45:46 ---> 90399631afff 20:45:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:46 ---> Running in 2eb842d18fca 20:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:45:46 OK: 211 MiB in 51 packages 20:45:47 Removing intermediate container 2eb842d18fca 20:45:47 ---> 4313a8f2c6c2 20:45:47 Step 9/26 : WORKDIR /device-onvif-camera 20:45:47 ---> Running in d7f148f6ef78 20:45:47 Removing intermediate container d7f148f6ef78 20:45:47 ---> 8b2fde476a59 20:45:47 Step 10/26 : COPY go.mod vendor* ./ 20:45:47 ---> 66def5038e38 20:45:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:47 ---> Running in 7e0eda80f107 20:45:48 Removing intermediate container 7e0eda80f107 20:45:48 ---> 3271d1401195 20:45:48 Step 12/26 : COPY . . 20:45:49 ---> df35d74552af 20:45:49 Step 13/26 : RUN ${MAKE} 20:45:49 ---> Running in c20f46f89960 20:45:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:46:15 Removing intermediate container c20f46f89960 20:46:15 ---> 30e23a54bab7 20:46:15 Step 14/26 : FROM alpine:3.16 20:46:15 3.16: Pulling from library/alpine 20:46:15 ef5531b6e74e: Pulling fs layer 20:46:15 ef5531b6e74e: Verifying Checksum 20:46:15 ef5531b6e74e: Download complete 20:46:15 ef5531b6e74e: Pull complete 20:46:15 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:46:15 Status: Downloaded newer image for alpine:3.16 20:46:15 ---> dfd21b5a31f5 20:46:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:46:15 ---> Running in 36d5af016633 20:46:15 Removing intermediate container 36d5af016633 20:46:15 ---> 76e7ce581247 20:46:15 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:46:15 ---> Running in 848b7f4f6529 20:46:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:46:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:46:15 (1/6) Installing dumb-init (1.2.5-r1) 20:46:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:46:15 (3/6) Installing libsodium (1.0.18-r0) 20:46:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:46:15 (5/6) Installing libzmq (4.3.4-r0) 20:46:15 (6/6) Installing zeromq (4.3.4-r0) 20:46:15 Executing busybox-1.35.0-r17.trigger 20:46:15 OK: 8 MiB in 20 packages 20:46:15 Removing intermediate container 848b7f4f6529 20:46:15 ---> 56a98bf561f8 20:46:15 Step 17/26 : WORKDIR / 20:46:15 ---> Running in e7296f4c041c 20:46:15 Removing intermediate container e7296f4c041c 20:46:15 ---> b56b11b2cb2b 20:46:15 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:46:15 ---> 2e8aa5799167 20:46:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:46:15 ---> 002bc9244b51 20:46:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:46:15 ---> 4f21a59e34d4 20:46:15 Step 21/26 : EXPOSE 59984 20:46:15 ---> Running in 8151d323931e 20:46:15 Removing intermediate container 8151d323931e 20:46:15 ---> a054ca5d062a 20:46:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:46:15 ---> Running in b4cc2ec7967a 20:46:15 Removing intermediate container b4cc2ec7967a 20:46:15 ---> b55df58f9007 20:46:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:46:15 ---> Running in e4dd006ba611 20:46:15 Removing intermediate container e4dd006ba611 20:46:15 ---> 36277ddb98cc 20:46:15 Step 24/26 : LABEL arch=amd64 20:46:15 ---> Running in 96b11ca7c58a 20:46:15 Removing intermediate container 96b11ca7c58a 20:46:15 ---> f5936440d46e 20:46:15 Step 25/26 : LABEL git_sha=c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:46:15 ---> Running in 088946018f1c 20:46:15 Removing intermediate container 088946018f1c 20:46:15 ---> 4cbba9991883 20:46:15 Step 26/26 : LABEL version=0.0.0 20:46:15 ---> Running in af771b3fa09c 20:46:15 Removing intermediate container af771b3fa09c 20:46:15 ---> 7e94857055cc 20:46:15 [Warning] One or more build-args [ARCH] were not consumed 20:46:15 Successfully built 7e94857055cc 20:46:15 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 20:46:16 provisioning config files... 20:46:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config3454118420780250960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:16 ---> docker-login.sh 20:46:16 nexus3.edgexfoundry.org:10001 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10002 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10003 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 nexus3.edgexfoundry.org:10004 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:16 docker.io 20:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:16 Configure a credential helper to remove this warning. See 20:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:16 20:46:16 Login Succeeded 20:46:17 ---> docker-login.sh ends [Pipeline] } 20:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:17 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:17 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 20:46:17 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:46:17 latest 20:46:17 0.0.0 20:46:17 c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:46:17 levski 20:46:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:46:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:46:17 88dfd3d3c5da: Preparing 20:46:17 93635c81500a: Preparing 20:46:17 2115cb4d6745: Preparing 20:46:17 e660dad88962: Preparing 20:46:17 aa5968d388b8: Preparing 20:46:17 aa5968d388b8: Layer already exists 20:46:17 88dfd3d3c5da: Pushed 20:46:17 93635c81500a: Pushed 20:46:18 e660dad88962: Pushed 20:46:21 2115cb4d6745: Pushed 20:46:21 c87f5736bc0c3f4f0df46418a3ded6651230b9e1: digest: sha256:8b5e923bb39bbbedc0ba42c35c7c3686bcef56590ccf3bec7616dfe9992f50eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:46:21 88dfd3d3c5da: Preparing 20:46:21 93635c81500a: Preparing 20:46:21 2115cb4d6745: Preparing 20:46:21 e660dad88962: Preparing 20:46:21 aa5968d388b8: Preparing 20:46:21 2115cb4d6745: Layer already exists 20:46:21 93635c81500a: Layer already exists 20:46:21 aa5968d388b8: Layer already exists 20:46:21 e660dad88962: Layer already exists 20:46:21 88dfd3d3c5da: Layer already exists 20:46:21 latest: digest: sha256:8b5e923bb39bbbedc0ba42c35c7c3686bcef56590ccf3bec7616dfe9992f50eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 20:46:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:46:22 88dfd3d3c5da: Preparing 20:46:22 93635c81500a: Preparing 20:46:22 2115cb4d6745: Preparing 20:46:22 e660dad88962: Preparing 20:46:22 aa5968d388b8: Preparing 20:46:22 88dfd3d3c5da: Layer already exists 20:46:22 e660dad88962: Layer already exists 20:46:22 aa5968d388b8: Layer already exists 20:46:22 2115cb4d6745: Layer already exists 20:46:22 93635c81500a: Layer already exists 20:46:22 0.0.0: digest: sha256:8b5e923bb39bbbedc0ba42c35c7c3686bcef56590ccf3bec7616dfe9992f50eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:46:23 88dfd3d3c5da: Preparing 20:46:23 93635c81500a: Preparing 20:46:23 2115cb4d6745: Preparing 20:46:23 e660dad88962: Preparing 20:46:23 aa5968d388b8: Preparing 20:46:23 88dfd3d3c5da: Layer already exists 20:46:23 93635c81500a: Layer already exists 20:46:23 e660dad88962: Layer already exists 20:46:23 aa5968d388b8: Layer already exists 20:46:23 2115cb4d6745: Layer already exists 20:46:23 c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0: digest: sha256:8b5e923bb39bbbedc0ba42c35c7c3686bcef56590ccf3bec7616dfe9992f50eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:levski 20:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:46:23 88dfd3d3c5da: Preparing 20:46:23 93635c81500a: Preparing 20:46:23 2115cb4d6745: Preparing 20:46:23 e660dad88962: Preparing 20:46:23 aa5968d388b8: Preparing 20:46:23 e660dad88962: Layer already exists 20:46:23 aa5968d388b8: Layer already exists 20:46:23 93635c81500a: Layer already exists 20:46:23 2115cb4d6745: Layer already exists 20:46:23 88dfd3d3c5da: Layer already exists 20:46:23 levski: digest: sha256:8b5e923bb39bbbedc0ba42c35c7c3686bcef56590ccf3bec7616dfe9992f50eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:23 ===================================================== [Pipeline] echo 20:46:23 taggedImages: 20:46:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:46:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:46:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 20:46:23 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:46:23 - 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 20:46:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:24 20:46:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:24 latest: Pulling from edgex-lftools-log-publisher 20:46:24 5eb5b503b376: Pulling fs layer 20:46:24 5c69ac0246d0: Pulling fs layer 20:46:24 ec43610c2a17: Pulling fs layer 20:46:24 3a2ae6a8a46f: Pulling fs layer 20:46:24 33b1e0a273af: Pulling fs layer 20:46:24 5d3b04190fa2: Pulling fs layer 20:46:24 2f39f015ded8: Pulling fs layer 20:46:24 3a2ae6a8a46f: Waiting 20:46:24 33b1e0a273af: Waiting 20:46:24 2f39f015ded8: Waiting 20:46:24 5d3b04190fa2: Waiting 20:46:24 5c69ac0246d0: Verifying Checksum 20:46:24 5c69ac0246d0: Download complete 20:46:24 3a2ae6a8a46f: Verifying Checksum 20:46:24 3a2ae6a8a46f: Download complete 20:46:24 33b1e0a273af: Verifying Checksum 20:46:24 33b1e0a273af: Download complete 20:46:24 5d3b04190fa2: Verifying Checksum 20:46:24 5d3b04190fa2: Download complete 20:46:24 ec43610c2a17: Verifying Checksum 20:46:24 ec43610c2a17: Download complete 20:46:24 5eb5b503b376: Verifying Checksum 20:46:24 5eb5b503b376: Download complete 20:46:25 2f39f015ded8: Verifying Checksum 20:46:25 2f39f015ded8: Download complete 20:46:26 5eb5b503b376: Pull complete 20:46:26 5c69ac0246d0: Pull complete 20:46:26 ec43610c2a17: Pull complete 20:46:26 3a2ae6a8a46f: Pull complete 20:46:27 33b1e0a273af: Pull complete 20:46:27 5d3b04190fa2: Pull complete 20:46:32 2f39f015ded8: Pull complete 20:46:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:46:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:32 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:46:32 $ 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 20:46:34 $ docker top a0eb6e0bbdc2eebec38cdc8b1cad3115c01ee16093ef4a32c08f2d046edae317 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:34 ---> job-cost.sh 20:46:34 lf-activate-venv: SKIPPING 20:46:34 INFO: No Stack... 20:46:34 INFO: Retrieving Pricing Info for: v3-standard-8 20:46:34 INFO: Archiving Costs [Pipeline] sh 20:46:35 + cat /w/workspace/undry_device-onvif-camera_levski/archives/cost.csv 20:46:35 + cut -d, -f6 [Pipeline] lock 20:46:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] 20:46:35 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] did not exist. Created. 20:46:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:35 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:35 Stashed 1 file(s) [Pipeline] } 20:46:35 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:35 $ docker stop --time=1 a0eb6e0bbdc2eebec38cdc8b1cad3115c01ee16093ef4a32c08f2d046edae317 20:46:36 $ docker rm -f --volumes a0eb6e0bbdc2eebec38cdc8b1cad3115c01ee16093ef4a32c08f2d046edae317 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:48:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4641 in /w/workspace/undry_device-onvif-camera_levski [Pipeline] { [Pipeline] ws 20:48:16 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 20:48:17 The recommended git tool is: git 20:48:26 using credential edgex-jenkins-ssh 20:48:26 Cloning the remote Git repository 20:48:26 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:48:26 > git init /w/workspace/device-onvif-camera/3 # timeout=10 20:48:26 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:48:26 > git --version # timeout=10 20:48:26 > git --version # 'git version 2.25.1' 20:48:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:28 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:48:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:29 Avoid second fetch 20:48:29 Checking out Revision c87f5736bc0c3f4f0df46418a3ded6651230b9e1 (levski) 20:48:29 > git config core.sparsecheckout # timeout=10 20:48:30 > git checkout -f c87f5736bc0c3f4f0df46418a3ded6651230b9e1 # timeout=10 20:48:30 Commit message: "docs: remove demo-app docs from levski (#274)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:48:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:48:31 Dload Upload Total Spent Left Speed 20:48:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 20:48:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:48:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:48:32 + sudo tee /etc/docker/daemon.new 20:48:32 { 20:48:32 "registry-mirrors": [ 20:48:32 "https://nexus3.edgexfoundry.org:10001" 20:48:32 ], 20:48:32 "bip": "10.250.0.254/24", 20:48:32 "hosts": [ 20:48:32 "tcp://0.0.0.0:5555", 20:48:32 "unix:///var/run/docker.sock" 20:48:32 ], 20:48:32 "mtu": 1458, 20:48:32 "selinux-enabled": true, 20:48:32 "seccomp-profile": "/etc/docker/seccomp.json" 20:48:32 } [Pipeline] sh 20:48:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:48:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:51 provisioning config files... 20:48:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config15720784047576267369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:52 ---> docker-login.sh 20:48:52 nexus3.edgexfoundry.org:10001 20:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:52 Configure a credential helper to remove this warning. See 20:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:52 20:48:52 Login Succeeded 20:48:52 nexus3.edgexfoundry.org:10002 20:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:53 Configure a credential helper to remove this warning. See 20:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:53 20:48:53 Login Succeeded 20:48:53 nexus3.edgexfoundry.org:10003 20:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:53 Configure a credential helper to remove this warning. See 20:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:53 20:48:53 Login Succeeded 20:48:53 nexus3.edgexfoundry.org:10004 20:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:53 Configure a credential helper to remove this warning. See 20:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:53 20:48:53 Login Succeeded 20:48:53 docker.io 20:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:54 Configure a credential helper to remove this warning. See 20:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:54 20:48:54 Login Succeeded 20:48:54 ---> docker-login.sh ends [Pipeline] } 20:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:54 ========================================================= 20:48:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:48:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:54 + 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 . 20:48:55 Sending build context to Docker daemon 19.72MB 20:48:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:48:55 Step 2/13 : FROM ${BASE} AS builder 20:48:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:48:55 9b18e9b68314: Pulling fs layer 20:48:55 35d82f9e3411: Pulling fs layer 20:48:55 e16973657156: Pulling fs layer 20:48:55 fc693d55d65f: Pulling fs layer 20:48:55 7e9fc2657dce: Pulling fs layer 20:48:55 dda99020689f: Pulling fs layer 20:48:55 db1c61fa0a46: Pulling fs layer 20:48:55 891c053d2c06: Pulling fs layer 20:48:55 7e9fc2657dce: Waiting 20:48:55 dda99020689f: Waiting 20:48:55 fc693d55d65f: Waiting 20:48:55 db1c61fa0a46: Waiting 20:48:55 891c053d2c06: Waiting 20:48:55 e16973657156: Verifying Checksum 20:48:55 e16973657156: Download complete 20:48:55 35d82f9e3411: Verifying Checksum 20:48:55 35d82f9e3411: Download complete 20:48:55 7e9fc2657dce: Verifying Checksum 20:48:55 7e9fc2657dce: Download complete 20:48:55 dda99020689f: Verifying Checksum 20:48:55 dda99020689f: Download complete 20:48:55 9b18e9b68314: Verifying Checksum 20:48:55 9b18e9b68314: Download complete 20:48:56 9b18e9b68314: Pull complete 20:48:57 891c053d2c06: Verifying Checksum 20:48:57 891c053d2c06: Download complete 20:48:57 35d82f9e3411: Pull complete 20:48:57 e16973657156: Pull complete 20:48:58 db1c61fa0a46: Verifying Checksum 20:48:58 db1c61fa0a46: Download complete 20:48:58 fc693d55d65f: Verifying Checksum 20:48:58 fc693d55d65f: Download complete 20:49:08 fc693d55d65f: Pull complete 20:49:09 7e9fc2657dce: Pull complete 20:49:09 dda99020689f: Pull complete 20:49:14 db1c61fa0a46: Pull complete 20:49:16 891c053d2c06: Pull complete 20:49:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:49:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:49:16 ---> f96f9c87975a 20:49:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:49:18 ---> Running in 5160fbdf4fe7 20:49:18 Removing intermediate container 5160fbdf4fe7 20:49:18 ---> a496845211a2 20:49:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:18 ---> Running in f8207dcc2e78 20:49:18 Removing intermediate container f8207dcc2e78 20:49:18 ---> 48491692c23d 20:49:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:49:18 ---> Running in 2acbad7a36f4 20:49:18 Removing intermediate container 2acbad7a36f4 20:49:18 ---> cad5214db886 20:49:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:49:19 ---> Running in b656a3beab81 20:49:19 Removing intermediate container b656a3beab81 20:49:19 ---> 9ae501801212 20:49:19 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:49:19 ---> Running in fdae7cb3239a 20:49:19 Removing intermediate container fdae7cb3239a 20:49:19 ---> 08d8039665cb 20:49:19 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:19 ---> Running in ae74e41aca08 20:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:22 OK: 221 MiB in 51 packages 20:49:22 Removing intermediate container ae74e41aca08 20:49:22 ---> d5243287000c 20:49:22 Step 9/13 : WORKDIR /device-onvif-camera 20:49:23 ---> Running in b5e152a4cdff 20:49:23 Removing intermediate container b5e152a4cdff 20:49:23 ---> b6a19b8d7145 20:49:23 Step 10/13 : COPY go.mod vendor* ./ 20:49:23 ---> a94d846efd2f 20:49:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:23 ---> Running in 78aa442fb78d 20:50:31 Removing intermediate container 78aa442fb78d 20:50:31 ---> 49c1ce9891d8 20:50:31 Step 12/13 : COPY . . 20:50:31 ---> d6fad00fabf5 20:50:31 Step 13/13 : RUN ${MAKE} 20:50:31 ---> Running in 52c172c9dc99 20:50:31 noop 20:50:31 Removing intermediate container 52c172c9dc99 20:50:31 ---> b0a8402f439b 20:50:31 Successfully built b0a8402f439b 20:50:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:32 + docker inspect -f . ci-base-image-arm64 20:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:32 prd-ubuntu20.04-docker-arm64-4c-16g-4641 does not seem to be running inside a container 20:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 20:50:33 $ docker top df8df2d769401514402deed271d862c5954cba59ee3af0eaede2fd02a4ab95b7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:34 + go version 20:50:34 go version go1.18.7 linux/arm64 [Pipeline] } 20:50:34 $ docker stop --time=1 df8df2d769401514402deed271d862c5954cba59ee3af0eaede2fd02a4ab95b7 20:50:35 $ docker rm -f --volumes df8df2d769401514402deed271d862c5954cba59ee3af0eaede2fd02a4ab95b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:36 + docker inspect -f . ci-base-image-arm64 20:50:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:36 prd-ubuntu20.04-docker-arm64-4c-16g-4641 does not seem to be running inside a container 20:50:36 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 20:50:37 $ docker top 79a47f40ed15b646e4a3abe873002c5305e5e92067e019524efc4d96b23c760d -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:38 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 20:50:38 + make test 20:50:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:50:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:52:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:52:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 29.3% of statements 20:52:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:52:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.637s coverage: 86.5% of statements 20:52:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:52:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:52:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:52:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:52:59 ./bin/test-attribution-txt.sh [Pipeline] echo 20:52:59 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:52:59 $ docker stop --time=1 79a47f40ed15b646e4a3abe873002c5305e5e92067e019524efc4d96b23c760d 20:53:01 $ docker rm -f --volumes 79a47f40ed15b646e4a3abe873002c5305e5e92067e019524efc4d96b23c760d [Pipeline] // withDockerContainer [Pipeline] sh 20:53:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:02 Warning: overwriting stash ‘coverage-report’ 20:53:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:03 + ls -al . 20:53:03 total 244 20:53:03 drwxrwxr-x 9 jenkins jenkins 4096 Mar 20 20:50 . 20:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:48 .. 20:53:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 20:48 .git 20:53:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:48 .github 20:53:03 -rw-rw-r-- 1 jenkins jenkins 496 Mar 20 20:48 .gitignore 20:53:03 -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 20:48 .golangci.yml 20:53:03 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 20 20:48 Attribution.txt 20:53:03 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 20 20:48 CHANGELOG.md 20:53:03 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 20 20:48 Dockerfile 20:53:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 20:48 GOVERNANCE.md 20:53:03 -rw-rw-r-- 1 jenkins jenkins 762 Mar 20 20:48 Jenkinsfile 20:53:03 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 20 20:48 LICENSE 20:53:03 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 20 20:48 Makefile 20:53:03 -rw-rw-r-- 1 jenkins jenkins 625 Mar 20 20:48 OWNERS.md 20:53:03 -rw-rw-r-- 1 jenkins jenkins 6499 Mar 20 20:48 README.md 20:53:03 -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 20:44 VERSION 20:53:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 20:48 bin 20:53:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 20:48 cmd 20:53:03 -rw-r--r-- 1 jenkins jenkins 79184 Mar 20 20:52 coverage.out 20:53:03 drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 20:48 doc 20:53:03 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 20 20:48 go.mod 20:53:03 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 20 20:48 go.sum 20:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:48 internal 20:53:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 20:48 snap 20:53:03 -rw-rw-r-- 1 jenkins jenkins 236 Mar 20 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:03 + 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=c87f5736bc0c3f4f0df46418a3ded6651230b9e1 --label arch=arm64 --label version=0.0.0 . 20:53:04 Sending build context to Docker daemon 19.8MB 20:53:04 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:53:04 Step 2/26 : FROM ${BASE} AS builder 20:53:04 ---> b0a8402f439b 20:53:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:53:04 ---> Running in 0ac4dab706fb 20:53:04 Removing intermediate container 0ac4dab706fb 20:53:04 ---> 2d23d971bcb9 20:53:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:04 ---> Running in 115425b6a0d6 20:53:05 Removing intermediate container 115425b6a0d6 20:53:05 ---> c99683097286 20:53:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:53:05 ---> Running in 68f57bf84849 20:53:05 Removing intermediate container 68f57bf84849 20:53:05 ---> 5ba8884296a3 20:53:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:53:05 ---> Running in f5bcb8a60853 20:53:05 Removing intermediate container f5bcb8a60853 20:53:05 ---> b73523139db8 20:53:05 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:53:05 ---> Running in 939d69d71cbb 20:53:06 Removing intermediate container 939d69d71cbb 20:53:06 ---> c656b8dbe442 20:53:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:06 ---> Running in a04af1c3d02f 20:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:53:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:53:08 OK: 221 MiB in 51 packages 20:53:09 Removing intermediate container a04af1c3d02f 20:53:09 ---> 75ff6e7fdbaf 20:53:09 Step 9/26 : WORKDIR /device-onvif-camera 20:53:09 ---> Running in 4793149dc0b7 20:53:09 Removing intermediate container 4793149dc0b7 20:53:09 ---> ce0e71cbfd91 20:53:09 Step 10/26 : COPY go.mod vendor* ./ 20:53:10 ---> 68be8bbbdfbb 20:53:10 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:10 ---> Running in 64bc15687aa9 20:53:12 Removing intermediate container 64bc15687aa9 20:53:12 ---> d5cba833f1c0 20:53:12 Step 12/26 : COPY . . 20:53:14 ---> 485eba2c673f 20:53:14 Step 13/26 : RUN ${MAKE} 20:53:14 ---> Running in 05323a5cde90 20:53:15 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:55:40 Removing intermediate container 05323a5cde90 20:55:40 ---> 11f9d7223a77 20:55:40 Step 14/26 : FROM alpine:3.16 20:55:40 3.16: Pulling from library/alpine 20:55:40 3760b48202b3: Pulling fs layer 20:55:40 3760b48202b3: Verifying Checksum 20:55:40 3760b48202b3: Download complete 20:55:40 3760b48202b3: Pull complete 20:55:40 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 20:55:40 Status: Downloaded newer image for alpine:3.16 20:55:40 ---> 4c81e5bf8899 20:55:40 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:55:40 ---> Running in 44d2ed548f00 20:55:40 Removing intermediate container 44d2ed548f00 20:55:40 ---> d553bedc7af4 20:55:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:55:40 ---> Running in a1f76c7e3d23 20:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:55:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:55:41 (1/6) Installing dumb-init (1.2.5-r1) 20:55:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:55:41 (3/6) Installing libsodium (1.0.18-r0) 20:55:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:55:41 (5/6) Installing libzmq (4.3.4-r0) 20:55:41 (6/6) Installing zeromq (4.3.4-r0) 20:55:41 Executing busybox-1.35.0-r17.trigger 20:55:41 OK: 8 MiB in 20 packages 20:55:42 Removing intermediate container a1f76c7e3d23 20:55:42 ---> 6040955acb04 20:55:42 Step 17/26 : WORKDIR / 20:55:42 ---> Running in c651637d171b 20:55:42 Removing intermediate container c651637d171b 20:55:42 ---> c0ec4b1dc560 20:55:42 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:55:43 ---> 123125969baf 20:55:43 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:55:44 ---> e4e61ef189c3 20:55:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:55:45 ---> 6f1f15c568e6 20:55:45 Step 21/26 : EXPOSE 59984 20:55:45 ---> Running in 2cfbb2fb5fff 20:55:45 Removing intermediate container 2cfbb2fb5fff 20:55:45 ---> 9226a772729f 20:55:45 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:55:45 ---> Running in 50a247595942 20:55:45 Removing intermediate container 50a247595942 20:55:45 ---> a7dd7f22aede 20:55:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:55:45 ---> Running in b4f711725b0b 20:55:45 Removing intermediate container b4f711725b0b 20:55:45 ---> 344f9c65da3a 20:55:45 Step 24/26 : LABEL arch=arm64 20:55:46 ---> Running in 3216b6c6dc22 20:55:46 Removing intermediate container 3216b6c6dc22 20:55:46 ---> f08ec2a93873 20:55:46 Step 25/26 : LABEL git_sha=c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:55:46 ---> Running in 9a5c73d4091c 20:55:46 Removing intermediate container 9a5c73d4091c 20:55:46 ---> 207246094406 20:55:46 Step 26/26 : LABEL version=0.0.0 20:55:46 ---> Running in 0262f36fd9b9 20:55:47 Removing intermediate container 0262f36fd9b9 20:55:47 ---> 1630c7f91ca4 20:55:47 [Warning] One or more build-args [ARCH] were not consumed 20:55:47 Successfully built 1630c7f91ca4 20:55:47 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:47 provisioning config files... 20:55:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config9582972174629950557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:47 ---> docker-login.sh 20:55:47 nexus3.edgexfoundry.org:10001 20:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:47 Configure a credential helper to remove this warning. See 20:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:47 20:55:47 Login Succeeded 20:55:47 nexus3.edgexfoundry.org:10002 20:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:48 Configure a credential helper to remove this warning. See 20:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:48 20:55:48 Login Succeeded 20:55:48 nexus3.edgexfoundry.org:10003 20:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:48 Configure a credential helper to remove this warning. See 20:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:48 20:55:48 Login Succeeded 20:55:48 nexus3.edgexfoundry.org:10004 20:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:49 Configure a credential helper to remove this warning. See 20:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:49 20:55:49 Login Succeeded 20:55:49 docker.io 20:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:49 Configure a credential helper to remove this warning. See 20:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:49 20:55:49 Login Succeeded 20:55:49 ---> docker-login.sh ends [Pipeline] } 20:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:55:49 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:49 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 20:55:49 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:55:49 latest 20:55:49 0.0.0 20:55:49 c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:55:49 levski 20:55:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:49 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:55:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:55:50 f0aefbd5f147: Preparing 20:55:50 0f54d5550862: Preparing 20:55:50 d0d60cdffc5d: Preparing 20:55:50 2a6cec0667a2: Preparing 20:55:50 f70ee36035b9: Preparing 20:55:50 f70ee36035b9: Layer already exists 20:55:50 0f54d5550862: Pushed 20:55:50 f0aefbd5f147: Pushed 20:55:51 2a6cec0667a2: Pushed 20:55:55 d0d60cdffc5d: Pushed 20:55:55 c87f5736bc0c3f4f0df46418a3ded6651230b9e1: digest: sha256:32264f6831918441ac3ab8a8b1bee52f5d705b0cc4e78dbe0914d24c35703dff size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:55 + 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 20:55:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:55:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:55:56 f0aefbd5f147: Preparing 20:55:56 0f54d5550862: Preparing 20:55:56 d0d60cdffc5d: Preparing 20:55:56 2a6cec0667a2: Preparing 20:55:56 f70ee36035b9: Preparing 20:55:56 f70ee36035b9: Layer already exists 20:55:56 f0aefbd5f147: Layer already exists 20:55:56 0f54d5550862: Layer already exists 20:55:56 2a6cec0667a2: Layer already exists 20:55:56 d0d60cdffc5d: Layer already exists 20:55:56 latest: digest: sha256:32264f6831918441ac3ab8a8b1bee52f5d705b0cc4e78dbe0914d24c35703dff size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 20:55:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:55:57 f0aefbd5f147: Preparing 20:55:57 0f54d5550862: Preparing 20:55:57 d0d60cdffc5d: Preparing 20:55:57 2a6cec0667a2: Preparing 20:55:57 f70ee36035b9: Preparing 20:55:57 d0d60cdffc5d: Layer already exists 20:55:57 0f54d5550862: Layer already exists 20:55:57 f0aefbd5f147: Layer already exists 20:55:57 f70ee36035b9: Layer already exists 20:55:57 2a6cec0667a2: Layer already exists 20:55:57 0.0.0: digest: sha256:32264f6831918441ac3ab8a8b1bee52f5d705b0cc4e78dbe0914d24c35703dff size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:57 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:55:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:55:57 f0aefbd5f147: Preparing 20:55:57 0f54d5550862: Preparing 20:55:57 d0d60cdffc5d: Preparing 20:55:57 2a6cec0667a2: Preparing 20:55:57 f70ee36035b9: Preparing 20:55:57 f0aefbd5f147: Layer already exists 20:55:57 0f54d5550862: Layer already exists 20:55:57 f70ee36035b9: Layer already exists 20:55:57 2a6cec0667a2: Layer already exists 20:55:57 d0d60cdffc5d: Layer already exists 20:55:57 c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0: digest: sha256:32264f6831918441ac3ab8a8b1bee52f5d705b0cc4e78dbe0914d24c35703dff size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:58 + 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 20:55:58 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski 20:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:55:58 f0aefbd5f147: Preparing 20:55:58 0f54d5550862: Preparing 20:55:58 d0d60cdffc5d: Preparing 20:55:58 2a6cec0667a2: Preparing 20:55:58 f70ee36035b9: Preparing 20:55:58 f70ee36035b9: Layer already exists 20:55:58 0f54d5550862: Layer already exists 20:55:58 f0aefbd5f147: Layer already exists 20:55:58 d0d60cdffc5d: Layer already exists 20:55:58 2a6cec0667a2: Layer already exists 20:55:58 levski: digest: sha256:32264f6831918441ac3ab8a8b1bee52f5d705b0cc4e78dbe0914d24c35703dff size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:55:58 ===================================================== [Pipeline] echo 20:55:58 taggedImages: 20:55:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1 20:55:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:55:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 20:55:58 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c87f5736bc0c3f4f0df46418a3ded6651230b9e1-0.0.0 20:55:58 - 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 20:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:58 20:55:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:59 arm64: Pulling from edgex-lftools-log-publisher 20:55:59 8998bd30e6a1: Pulling fs layer 20:55:59 04944245beec: Pulling fs layer 20:55:59 699f458cf7ca: Pulling fs layer 20:55:59 765212b225bb: Pulling fs layer 20:55:59 f23df028b6ca: Pulling fs layer 20:55:59 d65c8cfc05b1: Pulling fs layer 20:55:59 2437ff75d9bd: Pulling fs layer 20:55:59 f23df028b6ca: Waiting 20:55:59 d65c8cfc05b1: Waiting 20:55:59 2437ff75d9bd: Waiting 20:55:59 765212b225bb: Waiting 20:55:59 04944245beec: Verifying Checksum 20:55:59 04944245beec: Download complete 20:55:59 765212b225bb: Verifying Checksum 20:55:59 765212b225bb: Download complete 20:55:59 f23df028b6ca: Download complete 20:55:59 d65c8cfc05b1: Verifying Checksum 20:55:59 d65c8cfc05b1: Download complete 20:55:59 699f458cf7ca: Verifying Checksum 20:55:59 699f458cf7ca: Download complete 20:56:00 8998bd30e6a1: Download complete 20:56:01 2437ff75d9bd: Verifying Checksum 20:56:01 2437ff75d9bd: Download complete 20:56:03 8998bd30e6a1: Pull complete 20:56:03 04944245beec: Pull complete 20:56:05 699f458cf7ca: Pull complete 20:56:05 765212b225bb: Pull complete 20:56:05 f23df028b6ca: Pull complete 20:56:05 d65c8cfc05b1: Pull complete 20:56:18 2437ff75d9bd: Pull complete 20:56:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:18 prd-ubuntu20.04-docker-arm64-4c-16g-4641 does not seem to be running inside a container 20:56:18 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 20:56:20 $ docker top 07b6c56804e7fbb97e5c6a8af68b8c226fe4e1583c6aaaf942bc27ac93815916 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:21 ---> job-cost.sh 20:56:21 lf-activate-venv: SKIPPING 20:56:21 INFO: No Stack... 20:56:22 INFO: Retrieving Pricing Info for: v3-standard-4 20:56:22 INFO: Archiving Costs [Pipeline] sh 20:56:23 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 20:56:23 + cut -d, -f6 [Pipeline] lock 20:56:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] 20:56:23 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] did not exist. Created. 20:56:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:23 /w/workspace/device-onvif-camera/3@tmp/durable-4631401f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:23 + echo total: 0.10999999940395355 [Pipeline] stash 20:56:23 Warning: overwriting stash ‘stack-cost’ 20:56:23 Stashed 1 file(s) [Pipeline] } 20:56:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:23 $ docker stop --time=1 07b6c56804e7fbb97e5c6a8af68b8c226fe4e1583c6aaaf942bc27ac93815916 20:56:25 $ docker rm -f --volumes 07b6c56804e7fbb97e5c6a8af68b8c226fe4e1583c6aaaf942bc27ac93815916 [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 20:56:25 provisioning config files... 20:56:25 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config258416233865582887tmp [Pipeline] { [Pipeline] sh 20:56:25 + set +x 20:56:25 + curl -s https://codecov.io/bash 20:56:25 + bash -s -- 20:56:25 20:56:25 _____ _ 20:56:25 / ____| | | 20:56:25 | | ___ __| | ___ ___ _____ __ 20:56:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:56:25 | |___| (_) | (_| | __/ (_| (_) \ V / 20:56:25 \_____\___/ \__,_|\___|\___\___/ \_/ 20:56:25 Bash-1.0.6 20:56:25 20:56:25 20:56:25 ==> git version 2.25.1 found 20:56:25 ==> 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 20:56:25 Release-Date: 2020-01-08 20:56:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:56:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:56:25 ==> Jenkins CI detected. 20:56:25 current dir:  /w/workspace/undry_device-onvif-camera_levski 20:56:25 project root: . 20:56:25 --> token set from env 20:56:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:56:25 ==> Running gcov in . (disable via -X gcov) 20:56:25 ==> Python coveragepy not found 20:56:25 ==> Searching for coverage reports in: 20:56:25 + . 20:56:25 -> Found 1 reports 20:56:25 ==> Detecting git/mercurial file structure 20:56:25 ==> Reading reports 20:56:25 + ./coverage.out bytes=79184 20:56:25 ==> Appending adjustments 20:56:25 https://docs.codecov.io/docs/fixing-reports 20:56:26 + Found adjustments 20:56:26 ==> Gzipping contents 20:56:26 12K /tmp/codecov.wgUfrS.gz 20:56:26 ==> Uploading reports 20:56:26 url: https://codecov.io 20:56:26 query: branch=levski&commit=c87f5736bc0c3f4f0df46418a3ded6651230b9e1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:56:26 -> Pinging Codecov 20:56:26 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=c87f5736bc0c3f4f0df46418a3ded6651230b9e1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:56:26 -> Uploading to 20:56:26 https://storage.googleapis.com/codecov/v4/raw/2023-03-20/F29A59C45E3A92E06B3E522C9905F8EF/c87f5736bc0c3f4f0df46418a3ded6651230b9e1/762dc549-f7fd-4cf6-8fca-8b0569b0149f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T205626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0964d2c0b474a995219e51ba7f661316fe5e1dbe8ce970b6bf2c97ec8ccf92b2 20:56:26 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:26 Dload Upload Total Spent Left Speed 20:56:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10867 0 0 100 10867 0 37343 --:--:-- --:--:-- --:--:-- 37343 20:56:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] } 20:56:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:56:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:56:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:56:27 20:56:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:56:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:56:27 df9b9388f04a: Pulling fs layer 20:56:27 52dc419b0ee2: Pulling fs layer 20:56:27 25bc292e5bac: Pulling fs layer 20:56:27 114826534d7a: Pulling fs layer 20:56:27 4657fd5d0bcf: Pulling fs layer 20:56:27 6ad1cebc031e: Pulling fs layer 20:56:27 8a3aa393b2d8: Pulling fs layer 20:56:27 4657fd5d0bcf: Waiting 20:56:27 6ad1cebc031e: Waiting 20:56:27 8a3aa393b2d8: Waiting 20:56:27 114826534d7a: Waiting 20:56:27 25bc292e5bac: Verifying Checksum 20:56:27 25bc292e5bac: Download complete 20:56:27 52dc419b0ee2: Download complete 20:56:27 4657fd5d0bcf: Verifying Checksum 20:56:27 4657fd5d0bcf: Download complete 20:56:27 df9b9388f04a: Download complete 20:56:27 df9b9388f04a: Pull complete 20:56:27 6ad1cebc031e: Verifying Checksum 20:56:27 6ad1cebc031e: Download complete 20:56:27 52dc419b0ee2: Pull complete 20:56:27 25bc292e5bac: Pull complete 20:56:28 114826534d7a: Verifying Checksum 20:56:28 114826534d7a: Download complete 20:56:28 8a3aa393b2d8: Verifying Checksum 20:56:28 8a3aa393b2d8: Download complete 20:56:32 114826534d7a: Pull complete 20:56:32 4657fd5d0bcf: Pull complete 20:56:32 6ad1cebc031e: Pull complete 20:56:35 8a3aa393b2d8: Pull complete 20:56:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:56:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:56:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:35 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:56:35 $ 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 20:56:37 $ docker top 3eacfd81e9975b5d18a013cdb33c10b97ceecfa4e83f87b845b5dc35a1acd8e6 -eo pid,comm [Pipeline] { [Pipeline] echo 20:56:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:levski' [Pipeline] sh 20:56:37 + set -o pipefail 20:56:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:levski' 20:56:43 20:56:43 Monitoring /w/workspace/undry_device-onvif-camera_levski (github.com/edgexfoundry/device-onvif-camera)... 20:56:43 20:56:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bd71c595-cdc2-4fe6-bf78-b85af0ecca2e/history/fcacf92d-efd0-4b8e-9d0f-7fbdcc49368c 20:56:43 20:56:43 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:56:43 20:56:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:56:43 20:56:43 20:56:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:56:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:56:43 More details here: https://snyk.co/ue1NS [Pipeline] } 20:56:43 $ docker stop --time=1 3eacfd81e9975b5d18a013cdb33c10b97ceecfa4e83f87b845b5dc35a1acd8e6 20:56:45 $ docker rm -f --volumes 3eacfd81e9975b5d18a013cdb33c10b97ceecfa4e83f87b845b5dc35a1acd8e6 [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 20:56:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:46 provisioning config files... 20:56:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config13284781678470528212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:46 --> edgex-publish-swagger.sh 20:56:46 === Publish doc/openapi/v2 API === 20:56:46 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 20:56:46 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/undry_device-onvif-camera_levski/doc/openapi/v2/device-onvif-camera.yaml] 20:56:46 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:46 Dload Upload Total Spent Left Speed 20:56:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 655k --:--:-- --:--:-- --:--:-- 654k 100 469k 0 0 100 469k 0 654k --:--:-- --:--:-- --:--:-- 654k 20:56:47 20:56:47 [Pipeline] } 20:56:47 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 20:56:47 + git log --format=format:%s -1 c87f5736bc0c3f4f0df46418a3ded6651230b9e1 [Pipeline] sh 20:56:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:56:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:48 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:56:48 $ 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 20:56:48 $ docker top 87b79fe622977f7474dc5fc76a46b5251695e322dd2da1f0055b674a402b928a -eo pid,comm 20:56:48 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). 20:56:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:56:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:56:48 [ssh-agent] Looking for ssh-agent implementation... 20:56:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:56:48 $ docker exec 87b79fe622977f7474dc5fc76a46b5251695e322dd2da1f0055b674a402b928a ssh-agent 20:56:48 SSH_AUTH_SOCK=/tmp/ssh-qQPzumNZRLyL/agent.32 20:56:48 SSH_AGENT_PID=38 20:56:48 Running ssh-add (command line suppressed) 20:56:49 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9193728803216862184.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_9193728803216862184.key) 20:56:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:56:49 + git semver tag 20:56:49 2023-03-20 20:56:49,531 [run_tag] DEBUG tag force:False 20:56:49 2023-03-20 20:56:49,531 [check_head_tag] DEBUG check head tag 20:56:49 2023-03-20 20:56:49,533 [execute] INFO git cat-file --batch-check 20:56:49 2023-03-20 20:56:49,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 20:56:49 2023-03-20 20:56:49,538 [execute] INFO git cat-file --batch 20:56:49 2023-03-20 20:56:49,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 20:56:49 2023-03-20 20:56:49,568 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 20:56:49 2023-03-20 20:56:49,569 [execute] INFO git tag -a v0.0.0 -m v0.0.0 20:56:49 2023-03-20 20:56:49,569 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.0', '-m', 'v0.0.0'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=None) 20:56:49 2023-03-20 20:56:49,573 [main] ERROR Cmd('git') failed due to: exit code(128) 20:56:49 cmdline: git tag -a v0.0.0 -m v0.0.0 20:56:49 stderr: 'fatal: tag 'v0.0.0' already exists' 20:56:49 ERROR: Cmd('git') failed due to: exit code(128) 20:56:49 cmdline: git tag -a v0.0.0 -m v0.0.0 20:56:49 stderr: 'fatal: tag 'v0.0.0' already exists' [Pipeline] } 20:56:49 $ docker exec --env ******** --env ******** 87b79fe622977f7474dc5fc76a46b5251695e322dd2da1f0055b674a402b928a ssh-agent -k 20:56:49 unset SSH_AUTH_SOCK; 20:56:49 unset SSH_AGENT_PID; 20:56:49 echo Agent pid 38 killed; 20:56:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:56:49 $ docker stop --time=1 87b79fe622977f7474dc5fc76a46b5251695e322dd2da1f0055b674a402b928a 20:56:51 $ docker rm -f --volumes 87b79fe622977f7474dc5fc76a46b5251695e322dd2da1f0055b674a402b928a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:56:51 + [ -d /w/workspace/undry_device-onvif-camera_levski/archives ] 20:56:51 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 20:56:51 total 16 20:56:51 drwxr-xr-x 3 root root 4096 Mar 20 20:46 . 20:56:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:46 .. 20:56:51 drwxr-xr-x 2 root root 4096 Mar 20 20:46 cost 20:56:51 -rw-r--r-- 1 root root 91 Mar 20 20:46 cost.csv 20:56:51 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_levski/archives 20:56:51 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 20:56:51 total 16 20:56:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 20:46 . 20:56:51 drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 20:46 .. 20:56:51 drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 20:46 cost 20:56:51 -rw-r--r-- 1 jenkins jenkins 91 Mar 20 20:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:56:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:52 ---> package-listing.sh 20:56:52 ++ facter osfamily 20:56:52 ++ tr '[:upper:]' '[:lower:]' 20:56:53 + OS_FAMILY=debian 20:56:53 + workspace=/w/workspace/undry_device-onvif-camera_levski 20:56:53 + START_PACKAGES=/tmp/packages_start.txt 20:56:53 + END_PACKAGES=/tmp/packages_end.txt 20:56:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:53 + PACKAGES=/tmp/packages_start.txt 20:56:53 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 20:56:53 + PACKAGES=/tmp/packages_end.txt 20:56:53 + case "${OS_FAMILY}" in 20:56:53 + dpkg -l 20:56:53 + grep '^ii' 20:56:53 + '[' -f /tmp/packages_start.txt ']' 20:56:53 + '[' -f /tmp/packages_end.txt ']' 20:56:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:53 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 20:56:53 + mkdir -p /w/workspace/undry_device-onvif-camera_levski/archives/ 20:56:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_levski/archives/ [Pipeline] echo 20:56:53 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 20:56:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:53 prd-ubuntu20.04-docker-8c-8g-4640 does not seem to be running inside a container 20:56:53 $ 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 20:56:54 $ docker top ccb2e3c081daf17b0e865a9557277786df3057a4954f0ad32dc4dfbd5ee5fc4b -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:54 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:54 + mkdir -p /var/log/sysstat [Pipeline] sh 20:56:55 + ls /var/log/sa-host 20:56:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:55 provisioning config files... 20:56:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config6053018155790796802tmp [Pipeline] { [Pipeline] echo 20:56:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:55 ---> create-netrc.sh [Pipeline] } 20:56:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:56:55 ---> python-tools-install.sh [Pipeline] echo 20:56:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:56 ---> sudo-logs.sh 20:56:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:56 ---> job-cost.sh 20:56:56 lf-activate-venv: SKIPPING 20:56:56 DEBUG: total: 0.2199999988079071 20:56:56 INFO: Retrieving Stack Cost... 20:56:57 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:57 INFO: Archiving Costs [Pipeline] echo 20:56:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:56:57 ---> logs-deploy.sh 20:56:57 lf-activate-venv: SKIPPING 20:56:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/levski/3 20:56:57 INFO: archiving workspace using pattern(s): 20:56:58 Archives upload complete. 20:56:58 INFO: archiving logs to Nexus