Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c6690d512fca69ab8f13dc5deb436fc09094519 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-ssh3119124582631002147.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-ssh11672684000990278675.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-ssh13080324817843661927.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-ssh4374367401505753508.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-ssh16518834379647136953.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-1972 in /w/workspace/undry_device-onvif-camera_levski [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_levski # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0c6690d512fca69ab8f13dc5deb436fc09094519 (levski) Commit message: "fix: upgrade sdk to fix device cache issue (#261)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 > git rev-list --no-walk ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:09 ========================================================= 16:48:09 EdgeX Global Pipelines Version Info 16:48:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:10 ------------------- 16:48:10 stable info: 16:48:10 ------------------- 16:48:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:48:10 Message: update stable to v1.0.245 16:48:10 ------------------- 16:48:10 experimental info: 16:48:10 ------------------- 16:48:10 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:10 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:48:10 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:48:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:48:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c6690d [Pipeline] echo 16:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:11 provisioning config files... 16:48:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config11805268634474392934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:11 ---> docker-login.sh 16:48:11 nexus3.edgexfoundry.org:10001 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 nexus3.edgexfoundry.org:10002 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 nexus3.edgexfoundry.org:10003 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 nexus3.edgexfoundry.org:10004 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 docker.io 16:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:12 Configure a credential helper to remove this warning. See 16:48:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:12 16:48:12 Login Succeeded 16:48:12 ---> docker-login.sh ends [Pipeline] } 16:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:48:13 + git rev-list -1 --merges 0c6690d512fca69ab8f13dc5deb436fc09094519~1..0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] echo 16:48:13 -----------> git rev-list -1 --merges 0c6690d512fca69ab8f13dc5deb436fc09094519~1..0c6690d512fca69ab8f13dc5deb436fc09094519 0c6690d512fca69ab8f13dc5deb436fc09094519 [false] [Pipeline] sh 16:48:13 + git log --format=format:%s -1 0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] echo 16:48:13 ========================================================= 16:48:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:48:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:13 + git log --format=format:%s -1 0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] echo 16:48:13 [semverPrep] GIT_COMMIT: 0c6690d512fca69ab8f13dc5deb436fc09094519, Commit Message: fix: upgrade sdk to fix device cache issue (#261) [Pipeline] echo 16:48:13 [semverPrep] This is not a build commit. [Pipeline] sh 16:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:14 + grep -v github /etc/ssh/ssh_known_hosts 16:48:14 + [ -e /tmp/ssh_known_hosts ] 16:48:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:48:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:48:14 + sudo tee -a /etc/ssh/ssh_known_hosts 16:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:14 16:48:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:14 0.1.4: Pulling from edgex-devops/py-git-semver 16:48:14 b85a868b505f: Pulling fs layer 16:48:14 e2be974225ed: Pulling fs layer 16:48:14 339a4e72a1f5: Pulling fs layer 16:48:14 988bab9f4d93: Pulling fs layer 16:48:14 1469e6f7b9e6: Pulling fs layer 16:48:14 eaf3925da568: Pulling fs layer 16:48:14 bab4dde63d76: Pulling fs layer 16:48:14 bde34c3a00c8: Pulling fs layer 16:48:14 b352a97aabf1: Pulling fs layer 16:48:14 4872d77fe225: Pulling fs layer 16:48:14 5851b861e8e6: Pulling fs layer 16:48:14 1469e6f7b9e6: Waiting 16:48:14 bab4dde63d76: Waiting 16:48:14 bde34c3a00c8: Waiting 16:48:14 b352a97aabf1: Waiting 16:48:14 4872d77fe225: Waiting 16:48:14 988bab9f4d93: Waiting 16:48:14 5851b861e8e6: Waiting 16:48:14 eaf3925da568: Waiting 16:48:14 e2be974225ed: Verifying Checksum 16:48:14 e2be974225ed: Download complete 16:48:14 988bab9f4d93: Download complete 16:48:15 1469e6f7b9e6: Verifying Checksum 16:48:15 1469e6f7b9e6: Download complete 16:48:15 eaf3925da568: Verifying Checksum 16:48:15 eaf3925da568: Download complete 16:48:15 339a4e72a1f5: Verifying Checksum 16:48:15 339a4e72a1f5: Download complete 16:48:15 bde34c3a00c8: Verifying Checksum 16:48:15 bde34c3a00c8: Download complete 16:48:15 b352a97aabf1: Download complete 16:48:15 4872d77fe225: Verifying Checksum 16:48:15 4872d77fe225: Download complete 16:48:15 b85a868b505f: Verifying Checksum 16:48:15 b85a868b505f: Download complete 16:48:15 5851b861e8e6: Verifying Checksum 16:48:15 5851b861e8e6: Download complete 16:48:15 bab4dde63d76: Verifying Checksum 16:48:15 bab4dde63d76: Download complete 16:48:16 b85a868b505f: Pull complete 16:48:16 e2be974225ed: Pull complete 16:48:17 339a4e72a1f5: Pull complete 16:48:17 988bab9f4d93: Pull complete 16:48:17 1469e6f7b9e6: Pull complete 16:48:17 eaf3925da568: Pull complete 16:48:19 bab4dde63d76: Pull complete 16:48:19 bde34c3a00c8: Pull complete 16:48:19 b352a97aabf1: Pull complete 16:48:19 4872d77fe225: Pull complete 16:48:19 5851b861e8e6: Pull complete 16:48:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:19 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 16:48:19 $ 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 16:48:21 $ docker top e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 -eo pid,comm 16:48:21 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). 16:48:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:21 [ssh-agent] Looking for ssh-agent implementation... 16:48:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:21 $ docker exec e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 ssh-agent 16:48:21 SSH_AUTH_SOCK=/tmp/ssh-7br1OG9iO8Sl/agent.32 16:48:21 SSH_AGENT_PID=38 16:48:21 Running ssh-add (command line suppressed) 16:48:21 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14166995871413926865.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14166995871413926865.key) 16:48:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:21 + git tag --points-at HEAD [Pipeline] } 16:48:21 $ docker exec --env ******** --env ******** e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 ssh-agent -k 16:48:22 unset SSH_AUTH_SOCK; 16:48:22 unset SSH_AGENT_PID; 16:48:22 echo Agent pid 38 killed; 16:48:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:22 [ssh-agent] Looking for ssh-agent implementation... 16:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:22 $ docker exec e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 ssh-agent 16:48:22 SSH_AUTH_SOCK=/tmp/ssh-zcEdxxO74x45/agent.70 16:48:22 SSH_AGENT_PID=76 16:48:22 Running ssh-add (command line suppressed) 16:48:22 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14329420389748534864.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_14329420389748534864.key) 16:48:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:22 + git semver init 16:48:23 2023-03-15 16:48:22,960 [run_init] DEBUG init version:0.0.0 force:False 16:48:23 2023-03-15 16:48:22,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_levski/.semver 16:48:23 2023-03-15 16:48:22,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_levski/.semver 16:48:23 2023-03-15 16:48:22,961 [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) 16:48:23 2023-03-15 16:48:23,876 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_levski/.git/info/exclude 16:48:23 2023-03-15 16:48:23,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_levski/.semver/levski with force:False 16:48:23 2023-03-15 16:48:23,877 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_levski/.semver/levski 16:48:23 2023-03-15 16:48:23,881 [execute] INFO git cat-file --batch-check 16:48:23 2023-03-15 16:48:23,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 16:48:23 2023-03-15 16:48:23,887 [execute] INFO git cat-file --batch 16:48:23 2023-03-15 16:48:23,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 16:48:23 2023-03-15 16:48:23,891 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 16:48:23 0.0.0 [Pipeline] } 16:48:23 $ docker exec --env ******** --env ******** e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 ssh-agent -k 16:48:24 unset SSH_AUTH_SOCK; 16:48:24 unset SSH_AGENT_PID; 16:48:24 echo Agent pid 76 killed; 16:48:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:24 + git semver [Pipeline] } 16:48:24 $ docker stop --time=1 e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 16:48:25 $ docker rm -f --volumes e823159d82fee8227244dd7f3306f9e0b86f1a102e19917dc4c7298394281bf0 [Pipeline] // withDockerContainer [Pipeline] sh 16:48:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:48:26 Stashed 1 file(s) [Pipeline] echo 16:48:26 [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 16:48:26 provisioning config files... 16:48:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config13371552800159173961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:26 ---> docker-login.sh 16:48:26 nexus3.edgexfoundry.org:10001 16:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:26 Configure a credential helper to remove this warning. See 16:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:26 16:48:26 Login Succeeded 16:48:26 nexus3.edgexfoundry.org:10002 16:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:26 Configure a credential helper to remove this warning. See 16:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:26 16:48:26 Login Succeeded 16:48:26 nexus3.edgexfoundry.org:10003 16:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:27 Configure a credential helper to remove this warning. See 16:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:27 16:48:27 Login Succeeded 16:48:27 nexus3.edgexfoundry.org:10004 16:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:27 Configure a credential helper to remove this warning. See 16:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:27 16:48:27 Login Succeeded 16:48:27 docker.io 16:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:27 Configure a credential helper to remove this warning. See 16:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:27 16:48:27 Login Succeeded 16:48:27 ---> docker-login.sh ends [Pipeline] } 16:48:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:27 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:27 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:27 ========================================================= 16:48:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:48:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:27 + 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 . 16:48:27 Sending build context to Docker daemon 27.91MB 16:48:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:48:27 Step 2/13 : FROM ${BASE} AS builder 16:48:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:28 213ec9aee27d: Pulling fs layer 16:48:28 4583459ba037: Pulling fs layer 16:48:28 93c1e223e6f2: Pulling fs layer 16:48:28 53926ce57604: Pulling fs layer 16:48:28 21b2b0c7a3f4: Pulling fs layer 16:48:28 22ff95d597cd: Pulling fs layer 16:48:28 12d6caf4c0d1: Pulling fs layer 16:48:28 96b7cbca73a9: Pulling fs layer 16:48:28 a7acece74701: Pulling fs layer 16:48:28 22ff95d597cd: Waiting 16:48:28 96b7cbca73a9: Waiting 16:48:28 a7acece74701: Waiting 16:48:28 12d6caf4c0d1: Waiting 16:48:28 53926ce57604: Waiting 16:48:28 21b2b0c7a3f4: Waiting 16:48:28 93c1e223e6f2: Verifying Checksum 16:48:28 93c1e223e6f2: Download complete 16:48:28 4583459ba037: Download complete 16:48:28 21b2b0c7a3f4: Download complete 16:48:28 22ff95d597cd: Verifying Checksum 16:48:28 22ff95d597cd: Download complete 16:48:28 213ec9aee27d: Verifying Checksum 16:48:28 213ec9aee27d: Download complete 16:48:28 12d6caf4c0d1: Verifying Checksum 16:48:28 12d6caf4c0d1: Download complete 16:48:28 213ec9aee27d: Pull complete 16:48:28 4583459ba037: Pull complete 16:48:28 93c1e223e6f2: Pull complete 16:48:28 96b7cbca73a9: Verifying Checksum 16:48:28 96b7cbca73a9: Download complete 16:48:28 53926ce57604: Verifying Checksum 16:48:28 53926ce57604: Download complete 16:48:28 a7acece74701: Verifying Checksum 16:48:28 a7acece74701: Download complete 16:48:33 53926ce57604: Pull complete 16:48:33 21b2b0c7a3f4: Pull complete 16:48:33 22ff95d597cd: Pull complete 16:48:33 12d6caf4c0d1: Pull complete 16:48:34 96b7cbca73a9: Pull complete 16:48:35 a7acece74701: Pull complete 16:48:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:48:35 ---> db6d94c90886 16:48:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:48:37 ---> Running in 161b158c45a9 16:48:37 Removing intermediate container 161b158c45a9 16:48:37 ---> fa4419ae5512 16:48:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:48:37 ---> Running in 72b90a4480dc 16:48:37 Removing intermediate container 72b90a4480dc 16:48:37 ---> d8ac28ebdcc6 16:48:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:48:37 ---> Running in 28a1e8cd4f20 16:48:37 Removing intermediate container 28a1e8cd4f20 16:48:37 ---> 1dfe1beadd17 16:48:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:48:37 ---> Running in 1127b3db73c5 16:48:37 Removing intermediate container 1127b3db73c5 16:48:37 ---> a266b0785339 16:48:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:48:37 ---> Running in 373b49f44a13 16:48:37 Removing intermediate container 373b49f44a13 16:48:37 ---> edc1c0e3227a 16:48:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:37 ---> Running in 2e0200552590 16:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:48:38 OK: 211 MiB in 51 packages 16:48:38 Removing intermediate container 2e0200552590 16:48:38 ---> 633981e027b9 16:48:38 Step 9/13 : WORKDIR /device-onvif-camera 16:48:38 ---> Running in e0341e59ebdb 16:48:38 Removing intermediate container e0341e59ebdb 16:48:38 ---> a287c1afbdad 16:48:38 Step 10/13 : COPY go.mod vendor* ./ 16:48:38 ---> 12dd097d02ae 16:48:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:38 ---> Running in 36f027408d4a 16:48:41 Still waiting to schedule task 16:48:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:49:00 Removing intermediate container 36f027408d4a 16:49:00 ---> 2122c7bae822 16:49:00 Step 12/13 : COPY . . 16:49:00 ---> e84bec8ec824 16:49:00 Step 13/13 : RUN ${MAKE} 16:49:00 ---> Running in fb62903483dc 16:49:00 noop 16:49:00 Removing intermediate container fb62903483dc 16:49:00 ---> f720d5c6d9fb 16:49:00 Successfully built f720d5c6d9fb 16:49:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:01 + docker inspect -f . ci-base-image-x86_64 16:49:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:01 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 16:49:01 $ 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 16:49:01 $ docker top 91360688bd4366c161bb3ecb7ca8f5079555e8eda03fba081680aa9013859066 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:01 + go version 16:49:01 go version go1.18.7 linux/amd64 [Pipeline] } 16:49:01 $ docker stop --time=1 91360688bd4366c161bb3ecb7ca8f5079555e8eda03fba081680aa9013859066 16:49:03 $ docker rm -f --volumes 91360688bd4366c161bb3ecb7ca8f5079555e8eda03fba081680aa9013859066 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:03 + docker inspect -f . ci-base-image-x86_64 16:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:03 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 16:49:03 $ 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 16:49:03 $ docker top 8277e3394080fd4a29799126f1c007da9079c2cbf10ac9cc4316843aa04e6c99 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:04 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_levski [Pipeline] fileExists [Pipeline] sh 16:49:04 + make test 16:49:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:49:04 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:49:14 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:49:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements 16:49:17 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:49:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.249s coverage: 86.5% of statements 16:49:25 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." 16:49:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:49:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:49:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:49:27 ./bin/test-attribution-txt.sh [Pipeline] echo 16:49:27 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:49:28 $ docker stop --time=1 8277e3394080fd4a29799126f1c007da9079c2cbf10ac9cc4316843aa04e6c99 16:49:30 $ docker rm -f --volumes 8277e3394080fd4a29799126f1c007da9079c2cbf10ac9cc4316843aa04e6c99 [Pipeline] // withDockerContainer [Pipeline] sh 16:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:49:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:49:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:49:31 + ls -al . 16:49:31 total 248 16:49:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:49 . 16:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 .. 16:49:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:49 .git 16:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 .github 16:49:31 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 16:48 .gitignore 16:49:31 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:48 .golangci.yml 16:49:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:48 .semver 16:49:31 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 15 16:48 Attribution.txt 16:49:31 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 16:48 CHANGELOG.md 16:49:31 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 15 16:48 Dockerfile 16:49:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:48 GOVERNANCE.md 16:49:31 -rw-rw-r-- 1 jenkins jenkins 762 Mar 15 16:48 Jenkinsfile 16:49:31 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:48 LICENSE 16:49:31 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 15 16:48 Makefile 16:49:31 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 16:48 OWNERS.md 16:49:31 -rw-rw-r-- 1 jenkins jenkins 6595 Mar 15 16:48 README.md 16:49:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:48 VERSION 16:49:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:48 bin 16:49:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 cmd 16:49:31 -rw-r--r-- 1 jenkins jenkins 79184 Mar 15 16:49 coverage.out 16:49:31 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 16:48 doc 16:49:31 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 15 16:48 go.mod 16:49:31 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 15 16:48 go.sum 16:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 internal 16:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 snap 16:49:31 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:31 + 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=0c6690d512fca69ab8f13dc5deb436fc09094519 --label arch=amd64 --label version=0.0.0 . 16:49:31 Sending build context to Docker daemon 27.99MB 16:49:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:49:31 Step 2/26 : FROM ${BASE} AS builder 16:49:31 ---> f720d5c6d9fb 16:49:31 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:49:32 ---> Running in d82c023538e1 16:49:32 Removing intermediate container d82c023538e1 16:49:32 ---> 4c0b1b760923 16:49:32 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:49:32 ---> Running in 494d21663221 16:49:32 Removing intermediate container 494d21663221 16:49:32 ---> b1ee3f920ba0 16:49:32 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:49:32 ---> Running in 314ecde68058 16:49:32 Removing intermediate container 314ecde68058 16:49:32 ---> 0bad1e51e5f0 16:49:32 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:49:32 ---> Running in 54266dfb6a71 16:49:32 Removing intermediate container 54266dfb6a71 16:49:32 ---> f8d8416838fa 16:49:32 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:49:32 ---> Running in 761685330c29 16:49:32 Removing intermediate container 761685330c29 16:49:32 ---> 404303cda8b7 16:49:32 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:32 ---> Running in a4b13f7dbbd0 16:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:49:33 OK: 211 MiB in 51 packages 16:49:33 Removing intermediate container a4b13f7dbbd0 16:49:33 ---> c5fab08a00da 16:49:33 Step 9/26 : WORKDIR /device-onvif-camera 16:49:33 ---> Running in fe840400beb1 16:49:33 Removing intermediate container fe840400beb1 16:49:33 ---> aa33d276dda3 16:49:33 Step 10/26 : COPY go.mod vendor* ./ 16:49:33 ---> f0b023e35d48 16:49:33 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:33 ---> Running in 75a767a971be 16:49:34 Removing intermediate container 75a767a971be 16:49:34 ---> 29566d23db28 16:49:34 Step 12/26 : COPY . . 16:49:35 ---> 80d367fd088b 16:49:35 Step 13/26 : RUN ${MAKE} 16:49:35 ---> Running in adaf5151455e 16:49:35 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 16:49:57 Removing intermediate container adaf5151455e 16:49:57 ---> 8529dd772df0 16:49:57 Step 14/26 : FROM alpine:3.16 16:49:57 3.16: Pulling from library/alpine 16:49:57 ef5531b6e74e: Pulling fs layer 16:49:57 ef5531b6e74e: Verifying Checksum 16:49:57 ef5531b6e74e: Download complete 16:49:57 ef5531b6e74e: Pull complete 16:49:57 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 16:49:57 Status: Downloaded newer image for alpine:3.16 16:49:57 ---> dfd21b5a31f5 16:49:57 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:49:57 ---> Running in e42c67b2ef40 16:49:57 Removing intermediate container e42c67b2ef40 16:49:57 ---> ea6989d90158 16:49:57 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:49:57 ---> Running in a4ab27d9ffbe 16:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:49:58 (1/6) Installing dumb-init (1.2.5-r1) 16:49:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:49:58 (3/6) Installing libsodium (1.0.18-r0) 16:49:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:49:58 (5/6) Installing libzmq (4.3.4-r0) 16:49:58 (6/6) Installing zeromq (4.3.4-r0) 16:49:58 Executing busybox-1.35.0-r17.trigger 16:49:58 OK: 8 MiB in 20 packages 16:49:58 Removing intermediate container a4ab27d9ffbe 16:49:58 ---> 94e20e437b74 16:49:58 Step 17/26 : WORKDIR / 16:49:58 ---> Running in bbbc0dc94ecf 16:49:58 Removing intermediate container bbbc0dc94ecf 16:49:58 ---> 9248b30a4f1a 16:49:58 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:49:59 ---> 19cf460fcfd2 16:49:59 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:49:59 ---> 810f57371e58 16:49:59 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:49:59 ---> 6e16fe6f29dc 16:49:59 Step 21/26 : EXPOSE 59984 16:49:59 ---> Running in 250c39dfd3e8 16:49:59 Removing intermediate container 250c39dfd3e8 16:49:59 ---> ebee07a56507 16:49:59 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:49:59 ---> Running in f8efcd8decda 16:49:59 Removing intermediate container f8efcd8decda 16:49:59 ---> 7cde83ca1e9e 16:49:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:49:59 ---> Running in fc0fc3f26c3d 16:49:59 Removing intermediate container fc0fc3f26c3d 16:49:59 ---> 750a7d086d7d 16:49:59 Step 24/26 : LABEL arch=amd64 16:49:59 ---> Running in 6d9a51714abc 16:50:00 Removing intermediate container 6d9a51714abc 16:50:00 ---> bf875f883478 16:50:00 Step 25/26 : LABEL git_sha=0c6690d512fca69ab8f13dc5deb436fc09094519 16:50:00 ---> Running in 944cb32bda10 16:50:00 Removing intermediate container 944cb32bda10 16:50:00 ---> 758cf59ef184 16:50:00 Step 26/26 : LABEL version=0.0.0 16:50:00 ---> Running in 01addea61ac8 16:50:00 Removing intermediate container 01addea61ac8 16:50:00 ---> bfd5af4a58e4 16:50:00 [Warning] One or more build-args [ARCH] were not consumed 16:50:00 Successfully built bfd5af4a58e4 16:50:00 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 16:50:00 provisioning config files... 16:50:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config12481090947532934343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:00 ---> docker-login.sh 16:50:00 nexus3.edgexfoundry.org:10001 16:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:00 Configure a credential helper to remove this warning. See 16:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:00 16:50:00 Login Succeeded 16:50:00 nexus3.edgexfoundry.org:10002 16:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:00 Configure a credential helper to remove this warning. See 16:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:00 16:50:00 Login Succeeded 16:50:00 nexus3.edgexfoundry.org:10003 16:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:00 Configure a credential helper to remove this warning. See 16:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:00 16:50:00 Login Succeeded 16:50:00 nexus3.edgexfoundry.org:10004 16:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:00 Configure a credential helper to remove this warning. See 16:50:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:00 16:50:00 Login Succeeded 16:50:00 docker.io 16:50:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:01 Configure a credential helper to remove this warning. See 16:50:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:01 16:50:01 Login Succeeded 16:50:01 ---> docker-login.sh ends [Pipeline] } 16:50:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:01 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:50:01 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:50:01 0c6690d512fca69ab8f13dc5deb436fc09094519 16:50:01 latest 16:50:01 0.0.0 16:50:01 0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 16:50:01 levski 16:50:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519 16:50:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:01 624dac46d9ed: Preparing 16:50:01 5ec45965aa5c: Preparing 16:50:01 30d5cc982b32: Preparing 16:50:01 3c61214fe065: Preparing 16:50:01 aa5968d388b8: Preparing 16:50:01 aa5968d388b8: Layer already exists 16:50:01 624dac46d9ed: Pushed 16:50:01 5ec45965aa5c: Pushed 16:50:01 3c61214fe065: Pushed 16:50:04 30d5cc982b32: Pushed 16:50:04 0c6690d512fca69ab8f13dc5deb436fc09094519: digest: sha256:2970892a5cf5a3f8a84f4034dae1c1b03c08fccaa76e7540341a05ebb58e47f5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:05 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:05 624dac46d9ed: Preparing 16:50:05 5ec45965aa5c: Preparing 16:50:05 30d5cc982b32: Preparing 16:50:05 3c61214fe065: Preparing 16:50:05 aa5968d388b8: Preparing 16:50:05 5ec45965aa5c: Layer already exists 16:50:05 3c61214fe065: Layer already exists 16:50:05 aa5968d388b8: Layer already exists 16:50:05 624dac46d9ed: Layer already exists 16:50:05 30d5cc982b32: Layer already exists 16:50:05 latest: digest: sha256:2970892a5cf5a3f8a84f4034dae1c1b03c08fccaa76e7540341a05ebb58e47f5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:05 + 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 16:50:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 16:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:06 624dac46d9ed: Preparing 16:50:06 5ec45965aa5c: Preparing 16:50:06 30d5cc982b32: Preparing 16:50:06 3c61214fe065: Preparing 16:50:06 aa5968d388b8: Preparing 16:50:06 5ec45965aa5c: Layer already exists 16:50:06 aa5968d388b8: Layer already exists 16:50:06 30d5cc982b32: Layer already exists 16:50:06 3c61214fe065: Layer already exists 16:50:06 624dac46d9ed: Layer already exists 16:50:06 0.0.0: digest: sha256:2970892a5cf5a3f8a84f4034dae1c1b03c08fccaa76e7540341a05ebb58e47f5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:06 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 16:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:06 624dac46d9ed: Preparing 16:50:06 5ec45965aa5c: Preparing 16:50:06 30d5cc982b32: Preparing 16:50:06 3c61214fe065: Preparing 16:50:06 aa5968d388b8: Preparing 16:50:06 aa5968d388b8: Layer already exists 16:50:06 624dac46d9ed: Layer already exists 16:50:06 30d5cc982b32: Layer already exists 16:50:06 5ec45965aa5c: Layer already exists 16:50:06 3c61214fe065: Layer already exists 16:50:06 0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0: digest: sha256:2970892a5cf5a3f8a84f4034dae1c1b03c08fccaa76e7540341a05ebb58e47f5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:06 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:levski 16:50:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:07 624dac46d9ed: Preparing 16:50:07 5ec45965aa5c: Preparing 16:50:07 30d5cc982b32: Preparing 16:50:07 3c61214fe065: Preparing 16:50:07 aa5968d388b8: Preparing 16:50:07 5ec45965aa5c: Layer already exists 16:50:07 aa5968d388b8: Layer already exists 16:50:07 624dac46d9ed: Layer already exists 16:50:07 3c61214fe065: Layer already exists 16:50:07 30d5cc982b32: Layer already exists 16:50:07 levski: digest: sha256:2970892a5cf5a3f8a84f4034dae1c1b03c08fccaa76e7540341a05ebb58e47f5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:07 ===================================================== [Pipeline] echo 16:50:07 taggedImages: 16:50:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519 16:50:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:50:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0.0.0 16:50:07 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 16:50:07 - 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 16:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:07 16:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:07 latest: Pulling from edgex-lftools-log-publisher 16:50:07 5eb5b503b376: Pulling fs layer 16:50:07 5c69ac0246d0: Pulling fs layer 16:50:07 ec43610c2a17: Pulling fs layer 16:50:07 3a2ae6a8a46f: Pulling fs layer 16:50:07 33b1e0a273af: Pulling fs layer 16:50:07 5d3b04190fa2: Pulling fs layer 16:50:07 2f39f015ded8: Pulling fs layer 16:50:07 33b1e0a273af: Waiting 16:50:07 5d3b04190fa2: Waiting 16:50:07 2f39f015ded8: Waiting 16:50:07 3a2ae6a8a46f: Waiting 16:50:07 5c69ac0246d0: Verifying Checksum 16:50:07 5c69ac0246d0: Download complete 16:50:07 3a2ae6a8a46f: Verifying Checksum 16:50:07 3a2ae6a8a46f: Download complete 16:50:08 33b1e0a273af: Verifying Checksum 16:50:08 33b1e0a273af: Download complete 16:50:08 5d3b04190fa2: Download complete 16:50:08 ec43610c2a17: Verifying Checksum 16:50:08 ec43610c2a17: Download complete 16:50:08 5eb5b503b376: Verifying Checksum 16:50:08 5eb5b503b376: Download complete 16:50:08 2f39f015ded8: Verifying Checksum 16:50:08 2f39f015ded8: Download complete 16:50:09 5eb5b503b376: Pull complete 16:50:09 5c69ac0246d0: Pull complete 16:50:10 ec43610c2a17: Pull complete 16:50:10 3a2ae6a8a46f: Pull complete 16:50:10 33b1e0a273af: Pull complete 16:50:10 5d3b04190fa2: Pull complete 16:50:14 2f39f015ded8: Pull complete 16:50:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:14 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 16:50:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 16:50:16 $ docker top aed2a04470a3e1a3caae044abe18dd88c1b386a84c5a0df80422fa079197c278 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:17 ---> job-cost.sh 16:50:17 lf-activate-venv: SKIPPING 16:50:17 INFO: No Stack... 16:50:17 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:18 INFO: Archiving Costs [Pipeline] sh 16:50:18 + cat /w/workspace/undry_device-onvif-camera_levski/archives/cost.csv 16:50:18 + cut -d, -f6 [Pipeline] lock 16:50:18 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] 16:50:18 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] did not exist. Created. 16:50:18 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:18 + echo total: 0.2199999988079071 [Pipeline] stash 16:50:18 Stashed 1 file(s) [Pipeline] } 16:50:18 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:18 $ docker stop --time=1 aed2a04470a3e1a3caae044abe18dd88c1b386a84c5a0df80422fa079197c278 16:50:19 $ docker rm -f --volumes aed2a04470a3e1a3caae044abe18dd88c1b386a84c5a0df80422fa079197c278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:57:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2178 in /w/workspace/undry_device-onvif-camera_levski [Pipeline] { [Pipeline] ws 16:57:51 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 16:57:51 The recommended git tool is: git 16:57:58 using credential edgex-jenkins-ssh 16:57:58 Cloning the remote Git repository 16:57:59 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:57:59 > git init /w/workspace/device-onvif-camera/2 # timeout=10 16:57:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:57:59 > git --version # timeout=10 16:57:59 > git --version # 'git version 2.25.1' 16:57:59 using GIT_SSH to set credentials SSH Credentials for GitHub 16:57:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:01 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:58:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:02 Avoid second fetch 16:58:02 Checking out Revision 0c6690d512fca69ab8f13dc5deb436fc09094519 (levski) 16:58:02 > git config core.sparsecheckout # timeout=10 16:58:02 > git checkout -f 0c6690d512fca69ab8f13dc5deb436fc09094519 # timeout=10 16:58:03 Commit message: "fix: upgrade sdk to fix device cache issue (#261)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:58:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:58:04 Dload Upload Total Spent Left Speed 16:58:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 16:58:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:58:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:58:06 + sudo tee /etc/docker/daemon.new 16:58:06 { 16:58:06 "registry-mirrors": [ 16:58:06 "https://nexus3.edgexfoundry.org:10001" 16:58:06 ], 16:58:06 "bip": "10.250.0.254/24", 16:58:06 "hosts": [ 16:58:06 "tcp://0.0.0.0:5555", 16:58:06 "unix:///var/run/docker.sock" 16:58:06 ], 16:58:06 "mtu": 1458, 16:58:06 "selinux-enabled": true, 16:58:06 "seccomp-profile": "/etc/docker/seccomp.json" 16:58:06 } [Pipeline] sh 16:58:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:58:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:25 provisioning config files... 16:58:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config17847034788095428345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:25 ---> docker-login.sh 16:58:25 nexus3.edgexfoundry.org:10001 16:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:26 Configure a credential helper to remove this warning. See 16:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:26 16:58:26 Login Succeeded 16:58:26 nexus3.edgexfoundry.org:10002 16:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:26 Configure a credential helper to remove this warning. See 16:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:26 16:58:26 Login Succeeded 16:58:26 nexus3.edgexfoundry.org:10003 16:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:26 Configure a credential helper to remove this warning. See 16:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:26 16:58:26 Login Succeeded 16:58:26 nexus3.edgexfoundry.org:10004 16:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:27 Configure a credential helper to remove this warning. See 16:58:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:27 16:58:27 Login Succeeded 16:58:27 docker.io 16:58:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:28 Configure a credential helper to remove this warning. See 16:58:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:28 16:58:28 Login Succeeded 16:58:28 ---> docker-login.sh ends [Pipeline] } 16:58:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:58:28 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:28 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:28 ========================================================= 16:58:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:58:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:28 + 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 . 16:58:29 Sending build context to Docker daemon 20.65MB 16:58:29 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:58:29 Step 2/13 : FROM ${BASE} AS builder 16:58:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:58:29 9b18e9b68314: Pulling fs layer 16:58:29 35d82f9e3411: Pulling fs layer 16:58:29 e16973657156: Pulling fs layer 16:58:29 fc693d55d65f: Pulling fs layer 16:58:29 7e9fc2657dce: Pulling fs layer 16:58:29 dda99020689f: Pulling fs layer 16:58:29 db1c61fa0a46: Pulling fs layer 16:58:29 891c053d2c06: Pulling fs layer 16:58:29 fc693d55d65f: Waiting 16:58:29 7e9fc2657dce: Waiting 16:58:29 dda99020689f: Waiting 16:58:29 db1c61fa0a46: Waiting 16:58:29 891c053d2c06: Waiting 16:58:29 e16973657156: Verifying Checksum 16:58:29 e16973657156: Download complete 16:58:29 35d82f9e3411: Verifying Checksum 16:58:29 35d82f9e3411: Download complete 16:58:29 7e9fc2657dce: Verifying Checksum 16:58:29 7e9fc2657dce: Download complete 16:58:29 9b18e9b68314: Download complete 16:58:30 9b18e9b68314: Pull complete 16:58:30 dda99020689f: Verifying Checksum 16:58:30 dda99020689f: Download complete 16:58:31 35d82f9e3411: Pull complete 16:58:31 e16973657156: Pull complete 16:58:31 891c053d2c06: Verifying Checksum 16:58:31 891c053d2c06: Download complete 16:58:32 db1c61fa0a46: Verifying Checksum 16:58:32 db1c61fa0a46: Download complete 16:58:32 fc693d55d65f: Verifying Checksum 16:58:32 fc693d55d65f: Download complete 16:58:45 fc693d55d65f: Pull complete 16:58:45 7e9fc2657dce: Pull complete 16:58:45 dda99020689f: Pull complete 16:58:50 db1c61fa0a46: Pull complete 16:58:52 891c053d2c06: Pull complete 16:58:52 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:58:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:58:52 ---> f96f9c87975a 16:58:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:58:54 ---> Running in 141efe8631d7 16:58:54 Removing intermediate container 141efe8631d7 16:58:54 ---> 4611dc0513cb 16:58:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:58:54 ---> Running in d8929235817d 16:58:55 Removing intermediate container d8929235817d 16:58:55 ---> fade4f8dc20d 16:58:55 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:58:55 ---> Running in c6d43c37e5fa 16:58:55 Removing intermediate container c6d43c37e5fa 16:58:55 ---> 618b085feea7 16:58:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:58:55 ---> Running in 10d0b1c30b83 16:58:56 Removing intermediate container 10d0b1c30b83 16:58:56 ---> cc42867de182 16:58:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:58:56 ---> Running in 88cf518f3fed 16:58:56 Removing intermediate container 88cf518f3fed 16:58:56 ---> 4512ad232cb0 16:58:56 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:58:56 ---> Running in 6818668885c7 16:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:58:59 OK: 221 MiB in 51 packages 16:59:03 Removing intermediate container 6818668885c7 16:59:03 ---> cfca84f61cda 16:59:03 Step 9/13 : WORKDIR /device-onvif-camera 16:59:03 ---> Running in a13b8f30ec57 16:59:03 Removing intermediate container a13b8f30ec57 16:59:03 ---> 2fa38d707503 16:59:03 Step 10/13 : COPY go.mod vendor* ./ 16:59:04 ---> c0f44d5023bc 16:59:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:59:04 ---> Running in 53b14089ee83 17:00:12 Removing intermediate container 53b14089ee83 17:00:12 ---> af56c8b696d7 17:00:12 Step 12/13 : COPY . . 17:00:12 ---> 8dc6a6e83c15 17:00:12 Step 13/13 : RUN ${MAKE} 17:00:12 ---> Running in b9fa23a6dbd8 17:00:12 noop 17:00:12 Removing intermediate container b9fa23a6dbd8 17:00:12 ---> 4cc4dcf4f7ff 17:00:12 Successfully built 4cc4dcf4f7ff 17:00:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:12 + docker inspect -f . ci-base-image-arm64 17:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:12 prd-ubuntu20.04-docker-arm64-4c-16g-2178 does not seem to be running inside a container 17:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 17:00:14 $ docker top 1ebf7153ac3b34f8eb39fc64536a6b051497011d30e02b0bddca96a0f0fd2ded -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:15 + go version 17:00:15 go version go1.18.7 linux/arm64 [Pipeline] } 17:00:15 $ docker stop --time=1 1ebf7153ac3b34f8eb39fc64536a6b051497011d30e02b0bddca96a0f0fd2ded 17:00:16 $ docker rm -f --volumes 1ebf7153ac3b34f8eb39fc64536a6b051497011d30e02b0bddca96a0f0fd2ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:17 + docker inspect -f . ci-base-image-arm64 17:00:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:17 prd-ubuntu20.04-docker-arm64-4c-16g-2178 does not seem to be running inside a container 17:00:17 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 17:00:19 $ docker top 39dd07043b1847157c3fb6743271b6713038cd04e975da5c654278155efe0d92 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:20 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 17:00:20 + make test 17:00:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:00:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:02:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:02:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.435s coverage: 29.3% of statements 17:02:32 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:02:47 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.846s coverage: 86.5% of statements 17:02:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:02:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:03:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:03:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:03:34 ./bin/test-attribution-txt.sh [Pipeline] echo 17:03:34 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:03:34 $ docker stop --time=1 39dd07043b1847157c3fb6743271b6713038cd04e975da5c654278155efe0d92 17:03:36 $ docker rm -f --volumes 39dd07043b1847157c3fb6743271b6713038cd04e975da5c654278155efe0d92 [Pipeline] // withDockerContainer [Pipeline] sh 17:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:37 Warning: overwriting stash ‘coverage-report’ 17:03:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:38 + ls -al . 17:03:38 total 244 17:03:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 17:00 . 17:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:57 .. 17:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:58 .git 17:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:58 .github 17:03:38 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 16:58 .gitignore 17:03:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:58 .golangci.yml 17:03:38 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 15 16:58 Attribution.txt 17:03:38 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 16:58 CHANGELOG.md 17:03:38 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 15 16:58 Dockerfile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:58 GOVERNANCE.md 17:03:38 -rw-rw-r-- 1 jenkins jenkins 762 Mar 15 16:58 Jenkinsfile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:58 LICENSE 17:03:38 -rw-rw-r-- 1 jenkins jenkins 2858 Mar 15 16:58 Makefile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 16:58 OWNERS.md 17:03:38 -rw-rw-r-- 1 jenkins jenkins 6595 Mar 15 16:58 README.md 17:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:48 VERSION 17:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:58 bin 17:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:58 cmd 17:03:38 -rw-r--r-- 1 jenkins jenkins 79184 Mar 15 17:02 coverage.out 17:03:38 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 16:58 doc 17:03:38 -rw-rw-r-- 1 jenkins jenkins 3693 Mar 15 16:58 go.mod 17:03:38 -rw-rw-r-- 1 jenkins jenkins 46117 Mar 15 16:58 go.sum 17:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:58 internal 17:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:58 snap 17:03:38 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 16:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:39 + 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=0c6690d512fca69ab8f13dc5deb436fc09094519 --label arch=arm64 --label version=0.0.0 . 17:03:39 Sending build context to Docker daemon 20.73MB 17:03:39 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 17:03:39 Step 2/26 : FROM ${BASE} AS builder 17:03:39 ---> 4cc4dcf4f7ff 17:03:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 17:03:39 ---> Running in 95f0cd13402d 17:03:40 Removing intermediate container 95f0cd13402d 17:03:40 ---> 86fff6065432 17:03:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:03:40 ---> Running in 363a1c4768a8 17:03:40 Removing intermediate container 363a1c4768a8 17:03:40 ---> 801f8945481b 17:03:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:03:40 ---> Running in 089786be1fee 17:03:41 Removing intermediate container 089786be1fee 17:03:41 ---> d6cdb28274d0 17:03:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 17:03:41 ---> Running in 54e11fd6e940 17:03:41 Removing intermediate container 54e11fd6e940 17:03:41 ---> c3ffb9373609 17:03:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 17:03:41 ---> Running in bf94b137c7eb 17:03:42 Removing intermediate container bf94b137c7eb 17:03:42 ---> 25de8d838d5c 17:03:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:03:42 ---> Running in ffe8a565644e 17:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:03:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:03:45 OK: 221 MiB in 51 packages 17:03:45 Removing intermediate container ffe8a565644e 17:03:45 ---> bc8c57e7d96b 17:03:45 Step 9/26 : WORKDIR /device-onvif-camera 17:03:46 ---> Running in cfb538ec2284 17:03:46 Removing intermediate container cfb538ec2284 17:03:46 ---> 49e97dc9d623 17:03:46 Step 10/26 : COPY go.mod vendor* ./ 17:03:46 ---> 2a2d20e879c9 17:03:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:03:46 ---> Running in 987571565d14 17:03:49 Removing intermediate container 987571565d14 17:03:49 ---> 8bc343f797a5 17:03:49 Step 12/26 : COPY . . 17:03:51 ---> 5a2c6e5403e6 17:03:51 Step 13/26 : RUN ${MAKE} 17:03:51 ---> Running in f797515b99d7 17:03:52 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 17:06:44 Removing intermediate container f797515b99d7 17:06:44 ---> 16a3fe481d39 17:06:44 Step 14/26 : FROM alpine:3.16 17:06:44 3.16: Pulling from library/alpine 17:06:44 3760b48202b3: Pulling fs layer 17:06:44 3760b48202b3: Verifying Checksum 17:06:44 3760b48202b3: Download complete 17:06:44 3760b48202b3: Pull complete 17:06:44 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:06:44 Status: Downloaded newer image for alpine:3.16 17:06:44 ---> 4c81e5bf8899 17:06:44 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:06:44 ---> Running in 1914a86adba9 17:06:44 Removing intermediate container 1914a86adba9 17:06:44 ---> 4c3562e1a301 17:06:44 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:06:44 ---> Running in 1fcb54568787 17:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:06:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:06:44 (1/6) Installing dumb-init (1.2.5-r1) 17:06:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:06:44 (3/6) Installing libsodium (1.0.18-r0) 17:06:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:06:44 (5/6) Installing libzmq (4.3.4-r0) 17:06:44 (6/6) Installing zeromq (4.3.4-r0) 17:06:44 Executing busybox-1.35.0-r17.trigger 17:06:44 OK: 8 MiB in 20 packages 17:06:44 Removing intermediate container 1fcb54568787 17:06:44 ---> a5f5ab6d54ae 17:06:44 Step 17/26 : WORKDIR / 17:06:44 ---> Running in fdc556c324e2 17:06:44 Removing intermediate container fdc556c324e2 17:06:44 ---> c7d646fe933c 17:06:44 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:06:44 ---> 8e09ac8be958 17:06:44 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:06:44 ---> d43880e6cede 17:06:44 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:06:44 ---> a5c918942241 17:06:44 Step 21/26 : EXPOSE 59984 17:06:44 ---> Running in 7dfc096b0e63 17:06:44 Removing intermediate container 7dfc096b0e63 17:06:44 ---> dab8234c15c8 17:06:44 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:06:44 ---> Running in 3a5dad33bcbd 17:06:44 Removing intermediate container 3a5dad33bcbd 17:06:44 ---> 25a75888c1e4 17:06:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:06:44 ---> Running in 1569da7fe9a3 17:06:44 Removing intermediate container 1569da7fe9a3 17:06:44 ---> 5c5470360357 17:06:44 Step 24/26 : LABEL arch=arm64 17:06:44 ---> Running in 5048a0b3c4fe 17:06:44 Removing intermediate container 5048a0b3c4fe 17:06:44 ---> 8c0f7ca19625 17:06:44 Step 25/26 : LABEL git_sha=0c6690d512fca69ab8f13dc5deb436fc09094519 17:06:44 ---> Running in 0d28ab412aa9 17:06:44 Removing intermediate container 0d28ab412aa9 17:06:44 ---> 96e3f21652ba 17:06:44 Step 26/26 : LABEL version=0.0.0 17:06:44 ---> Running in 3f1ac59dbfec 17:06:44 Removing intermediate container 3f1ac59dbfec 17:06:44 ---> 82a95ecec8f6 17:06:44 [Warning] One or more build-args [ARCH] were not consumed 17:06:44 Successfully built 82a95ecec8f6 17:06:44 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 17:06:44 provisioning config files... 17:06:44 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config6438666709620031949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:44 ---> docker-login.sh 17:06:44 nexus3.edgexfoundry.org:10001 17:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:44 Configure a credential helper to remove this warning. See 17:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:44 17:06:44 Login Succeeded 17:06:44 nexus3.edgexfoundry.org:10002 17:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:45 Configure a credential helper to remove this warning. See 17:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:45 17:06:45 Login Succeeded 17:06:45 nexus3.edgexfoundry.org:10003 17:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:45 Configure a credential helper to remove this warning. See 17:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:45 17:06:45 Login Succeeded 17:06:45 nexus3.edgexfoundry.org:10004 17:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:46 Configure a credential helper to remove this warning. See 17:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:46 17:06:46 Login Succeeded 17:06:46 docker.io 17:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:46 Configure a credential helper to remove this warning. See 17:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:46 17:06:46 Login Succeeded 17:06:46 ---> docker-login.sh ends [Pipeline] } 17:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:46 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:46 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:06:46 0c6690d512fca69ab8f13dc5deb436fc09094519 17:06:46 latest 17:06:46 0.0.0 17:06:46 0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 17:06:46 levski 17:06:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519 17:06:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:06:47 8d0475194214: Preparing 17:06:47 b04f83e86f9c: Preparing 17:06:47 9c1562192f3f: Preparing 17:06:47 03a493969a22: Preparing 17:06:47 f70ee36035b9: Preparing 17:06:47 f70ee36035b9: Layer already exists 17:06:47 b04f83e86f9c: Pushed 17:06:47 8d0475194214: Pushed 17:06:48 03a493969a22: Pushed 17:06:53 9c1562192f3f: Pushed 17:06:53 0c6690d512fca69ab8f13dc5deb436fc09094519: digest: sha256:256aab5a13a62145e344f4817df8df3d66a37aa01e06b183a2a62c9d2ebd24cd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:54 + 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 17:06:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:06:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:06:54 8d0475194214: Preparing 17:06:54 b04f83e86f9c: Preparing 17:06:54 9c1562192f3f: Preparing 17:06:54 03a493969a22: Preparing 17:06:54 f70ee36035b9: Preparing 17:06:54 03a493969a22: Layer already exists 17:06:54 8d0475194214: Layer already exists 17:06:54 b04f83e86f9c: Layer already exists 17:06:54 f70ee36035b9: Layer already exists 17:06:54 9c1562192f3f: Layer already exists 17:06:54 latest: digest: sha256:256aab5a13a62145e344f4817df8df3d66a37aa01e06b183a2a62c9d2ebd24cd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:55 + 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 17:06:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 17:06:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:06:55 8d0475194214: Preparing 17:06:55 b04f83e86f9c: Preparing 17:06:55 9c1562192f3f: Preparing 17:06:55 03a493969a22: Preparing 17:06:55 f70ee36035b9: Preparing 17:06:55 9c1562192f3f: Layer already exists 17:06:55 f70ee36035b9: Layer already exists 17:06:55 b04f83e86f9c: Layer already exists 17:06:55 03a493969a22: Layer already exists 17:06:55 8d0475194214: Layer already exists 17:06:55 0.0.0: digest: sha256:256aab5a13a62145e344f4817df8df3d66a37aa01e06b183a2a62c9d2ebd24cd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:56 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 17:06:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:06:56 8d0475194214: Preparing 17:06:56 b04f83e86f9c: Preparing 17:06:56 9c1562192f3f: Preparing 17:06:56 03a493969a22: Preparing 17:06:56 f70ee36035b9: Preparing 17:06:56 9c1562192f3f: Layer already exists 17:06:56 f70ee36035b9: Layer already exists 17:06:56 03a493969a22: Layer already exists 17:06:56 8d0475194214: Layer already exists 17:06:56 b04f83e86f9c: Layer already exists 17:06:56 0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0: digest: sha256:256aab5a13a62145e344f4817df8df3d66a37aa01e06b183a2a62c9d2ebd24cd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:56 + 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 17:06:57 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:levski 17:06:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:06:57 8d0475194214: Preparing 17:06:57 b04f83e86f9c: Preparing 17:06:57 9c1562192f3f: Preparing 17:06:57 03a493969a22: Preparing 17:06:57 f70ee36035b9: Preparing 17:06:57 8d0475194214: Layer already exists 17:06:57 f70ee36035b9: Layer already exists 17:06:57 9c1562192f3f: Layer already exists 17:06:57 b04f83e86f9c: Layer already exists 17:06:57 03a493969a22: Layer already exists 17:06:57 levski: digest: sha256:256aab5a13a62145e344f4817df8df3d66a37aa01e06b183a2a62c9d2ebd24cd size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:57 ===================================================== [Pipeline] echo 17:06:57 taggedImages: 17:06:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519 17:06:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:06:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0.0.0 17:06:57 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0c6690d512fca69ab8f13dc5deb436fc09094519-0.0.0 17:06:57 - 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 17:06:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:57 17:06:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:58 arm64: Pulling from edgex-lftools-log-publisher 17:06:58 8998bd30e6a1: Pulling fs layer 17:06:58 04944245beec: Pulling fs layer 17:06:58 699f458cf7ca: Pulling fs layer 17:06:58 765212b225bb: Pulling fs layer 17:06:58 f23df028b6ca: Pulling fs layer 17:06:58 d65c8cfc05b1: Pulling fs layer 17:06:58 2437ff75d9bd: Pulling fs layer 17:06:58 f23df028b6ca: Waiting 17:06:58 765212b225bb: Waiting 17:06:58 2437ff75d9bd: Waiting 17:06:58 d65c8cfc05b1: Waiting 17:06:58 04944245beec: Verifying Checksum 17:06:58 04944245beec: Download complete 17:06:58 765212b225bb: Verifying Checksum 17:06:58 765212b225bb: Download complete 17:06:58 f23df028b6ca: Verifying Checksum 17:06:58 f23df028b6ca: Download complete 17:06:58 d65c8cfc05b1: Verifying Checksum 17:06:58 d65c8cfc05b1: Download complete 17:06:58 699f458cf7ca: Verifying Checksum 17:06:58 699f458cf7ca: Download complete 17:06:58 8998bd30e6a1: Verifying Checksum 17:06:58 8998bd30e6a1: Download complete 17:07:01 2437ff75d9bd: Verifying Checksum 17:07:01 2437ff75d9bd: Download complete 17:07:02 8998bd30e6a1: Pull complete 17:07:03 04944245beec: Pull complete 17:07:04 699f458cf7ca: Pull complete 17:07:04 765212b225bb: Pull complete 17:07:05 f23df028b6ca: Pull complete 17:07:05 d65c8cfc05b1: Pull complete 17:07:20 2437ff75d9bd: Pull complete 17:07:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:21 prd-ubuntu20.04-docker-arm64-4c-16g-2178 does not seem to be running inside a container 17:07:21 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 17:07:24 $ docker top d7d07e696d12b27ca01fb15845153fc2ee05e5b1ade87d80489f215a312b623e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:24 ---> job-cost.sh 17:07:24 lf-activate-venv: SKIPPING 17:07:24 INFO: No Stack... 17:07:25 INFO: Retrieving Pricing Info for: v3-standard-4 17:07:26 INFO: Archiving Costs [Pipeline] sh 17:07:26 + + cat /w/workspace/device-onvif-camera/2/archives/cost.csvcut 17:07:26 -d, -f6 [Pipeline] lock 17:07:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] 17:07:26 Resource [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] did not exist. Created. 17:07:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:27 /w/workspace/device-onvif-camera/2@tmp/durable-31f57866/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:07:27 + echo total: 0.10999999940395355 [Pipeline] stash 17:07:27 Warning: overwriting stash ‘stack-cost’ 17:07:27 Stashed 1 file(s) [Pipeline] } 17:07:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:27 $ docker stop --time=1 d7d07e696d12b27ca01fb15845153fc2ee05e5b1ade87d80489f215a312b623e 17:07:28 $ docker rm -f --volumes d7d07e696d12b27ca01fb15845153fc2ee05e5b1ade87d80489f215a312b623e [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 17:07:29 provisioning config files... 17:07:29 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config14871640973498337634tmp [Pipeline] { [Pipeline] sh 17:07:29 + set +x 17:07:29 + curl -s https://codecov.io/bash 17:07:29 + bash -s -- 17:07:29 17:07:29 _____ _ 17:07:29 / ____| | | 17:07:29 | | ___ __| | ___ ___ _____ __ 17:07:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:07:29 | |___| (_) | (_| | __/ (_| (_) \ V / 17:07:29 \_____\___/ \__,_|\___|\___\___/ \_/ 17:07:29 Bash-1.0.6 17:07:29 17:07:29 17:07:29 ==> git version 2.25.1 found 17:07:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:07:29 Release-Date: 2020-01-08 17:07:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:07:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:07:29 ==> Jenkins CI detected. 17:07:29 current dir:  /w/workspace/undry_device-onvif-camera_levski 17:07:29 project root: . 17:07:29 --> token set from env 17:07:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:07:29 ==> Running gcov in . (disable via -X gcov) 17:07:29 ==> Python coveragepy not found 17:07:29 ==> Searching for coverage reports in: 17:07:29 + . 17:07:29 -> Found 1 reports 17:07:29 ==> Detecting git/mercurial file structure 17:07:29 ==> Reading reports 17:07:29 + ./coverage.out bytes=79184 17:07:29 ==> Appending adjustments 17:07:29 https://docs.codecov.io/docs/fixing-reports 17:07:29 + Found adjustments 17:07:29 ==> Gzipping contents 17:07:29 12K /tmp/codecov.dicaDZ.gz 17:07:29 ==> Uploading reports 17:07:29 url: https://codecov.io 17:07:29 query: branch=levski&commit=0c6690d512fca69ab8f13dc5deb436fc09094519&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:07:29 -> Pinging Codecov 17:07:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=levski&commit=0c6690d512fca69ab8f13dc5deb436fc09094519&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:07:30 -> Uploading to 17:07:30 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/F29A59C45E3A92E06B3E522C9905F8EF/0c6690d512fca69ab8f13dc5deb436fc09094519/f6b013ee-e6ca-4941-bba7-54c14dbe183c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T170729Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=657fafa814db547a51701fa3633fd3612c7039e03d14576e95f6ac7aaced0355 17:07:30 % Total % Received % Xferd Average Speed Time Time Time Current 17:07:30 Dload Upload Total Spent Left Speed 17:07:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10920 0 0 100 10920 0 45500 --:--:-- --:--:-- --:--:-- 45500 17:07:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] } 17:07:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:07:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:07:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:30 17:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:07:31 df9b9388f04a: Pulling fs layer 17:07:31 52dc419b0ee2: Pulling fs layer 17:07:31 25bc292e5bac: Pulling fs layer 17:07:31 114826534d7a: Pulling fs layer 17:07:31 4657fd5d0bcf: Pulling fs layer 17:07:31 6ad1cebc031e: Pulling fs layer 17:07:31 8a3aa393b2d8: Pulling fs layer 17:07:31 6ad1cebc031e: Waiting 17:07:31 4657fd5d0bcf: Waiting 17:07:31 114826534d7a: Waiting 17:07:31 8a3aa393b2d8: Waiting 17:07:31 25bc292e5bac: Verifying Checksum 17:07:31 25bc292e5bac: Download complete 17:07:31 52dc419b0ee2: Verifying Checksum 17:07:31 52dc419b0ee2: Download complete 17:07:31 4657fd5d0bcf: Verifying Checksum 17:07:31 4657fd5d0bcf: Download complete 17:07:31 df9b9388f04a: Verifying Checksum 17:07:31 df9b9388f04a: Download complete 17:07:31 6ad1cebc031e: Verifying Checksum 17:07:31 6ad1cebc031e: Download complete 17:07:31 df9b9388f04a: Pull complete 17:07:31 52dc419b0ee2: Pull complete 17:07:32 114826534d7a: Verifying Checksum 17:07:32 114826534d7a: Download complete 17:07:32 8a3aa393b2d8: Verifying Checksum 17:07:32 8a3aa393b2d8: Download complete 17:07:32 25bc292e5bac: Pull complete 17:07:35 114826534d7a: Pull complete 17:07:36 4657fd5d0bcf: Pull complete 17:07:36 6ad1cebc031e: Pull complete 17:07:40 8a3aa393b2d8: Pull complete 17:07:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:40 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 17:07:40 $ 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 17:07:45 $ docker top 0c38b458d4d6c1fc4d3c7fdbbd638638e60232a0d95ec0e2ab5140447162d648 -eo pid,comm [Pipeline] { [Pipeline] echo 17:07:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:levski' [Pipeline] sh 17:07:45 + set -o pipefail 17:07:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:levski' 17:07:53 17:07:53 Monitoring /w/workspace/undry_device-onvif-camera_levski (github.com/edgexfoundry/device-onvif-camera)... 17:07:53 17:07:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bd71c595-cdc2-4fe6-bf78-b85af0ecca2e/history/5aed4d1e-f471-4c20-b427-08b06dfe7eb6 17:07:53 17:07:53 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 17:07:53 17:07:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:07:53 17:07:53 17:07:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:07:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:07:53 More details here: https://snyk.co/ue1NS [Pipeline] } 17:07:53 $ docker stop --time=1 0c38b458d4d6c1fc4d3c7fdbbd638638e60232a0d95ec0e2ab5140447162d648 17:07:58 $ docker rm -f --volumes 0c38b458d4d6c1fc4d3c7fdbbd638638e60232a0d95ec0e2ab5140447162d648 [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 17:07:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:58 provisioning config files... 17:07:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config1468527592214269550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:58 --> edgex-publish-swagger.sh 17:07:58 === Publish doc/openapi/v2 API === 17:07:58 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:07:58 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/undry_device-onvif-camera_levski/doc/openapi/v2/device-onvif-camera.yaml] 17:07:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:07:58 Dload Upload Total Spent Left Speed 17:07:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 569k --:--:-- --:--:-- --:--:-- 570k 17:07:59 17:07:59 [Pipeline] } 17:07:59 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 17:08:00 + git log --format=format:%s -1 0c6690d512fca69ab8f13dc5deb436fc09094519 [Pipeline] sh 17:08:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:08:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:08:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:00 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 17:08:00 $ 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 17:08:01 $ docker top 9455002ff6dfe038895ba86a48f001c5d76c40f5167151f5e852642340326299 -eo pid,comm 17:08:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:08:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:08:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:08:01 [ssh-agent] Looking for ssh-agent implementation... 17:08:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:08:01 $ docker exec 9455002ff6dfe038895ba86a48f001c5d76c40f5167151f5e852642340326299 ssh-agent 17:08:01 SSH_AUTH_SOCK=/tmp/ssh-yX5xYQA1gLDP/agent.32 17:08:01 SSH_AGENT_PID=38 17:08:01 Running ssh-add (command line suppressed) 17:08:01 Identity added: /w/workspace/undry_device-onvif-camera_levski@tmp/private_key_16529810095557519175.key (/w/workspace/undry_device-onvif-camera_levski@tmp/private_key_16529810095557519175.key) 17:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:08:02 + git semver tag 17:08:02 2023-03-15 17:08:02,278 [run_tag] DEBUG tag force:False 17:08:02 2023-03-15 17:08:02,278 [check_head_tag] DEBUG check head tag 17:08:02 2023-03-15 17:08:02,280 [execute] INFO git cat-file --batch-check 17:08:02 2023-03-15 17:08:02,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 17:08:02 2023-03-15 17:08:02,284 [execute] INFO git cat-file --batch 17:08:02 2023-03-15 17:08:02,284 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_levski, universal_newlines=False, shell=None, istream=) 17:08:02 2023-03-15 17:08:02,310 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_levski/.semver/levski 17:08:02 2023-03-15 17:08:02,310 [execute] INFO git tag -a v0.0.0 -m v0.0.0 17:08:02 2023-03-15 17:08:02,311 [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) 17:08:02 2023-03-15 17:08:02,314 [main] ERROR Cmd('git') failed due to: exit code(128) 17:08:02 cmdline: git tag -a v0.0.0 -m v0.0.0 17:08:02 stderr: 'fatal: tag 'v0.0.0' already exists' 17:08:02 ERROR: Cmd('git') failed due to: exit code(128) 17:08:02 cmdline: git tag -a v0.0.0 -m v0.0.0 17:08:02 stderr: 'fatal: tag 'v0.0.0' already exists' [Pipeline] } 17:08:02 $ docker exec --env ******** --env ******** 9455002ff6dfe038895ba86a48f001c5d76c40f5167151f5e852642340326299 ssh-agent -k 17:08:02 unset SSH_AUTH_SOCK; 17:08:02 unset SSH_AGENT_PID; 17:08:02 echo Agent pid 38 killed; 17:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:08:02 $ docker stop --time=1 9455002ff6dfe038895ba86a48f001c5d76c40f5167151f5e852642340326299 17:08:04 $ docker rm -f --volumes 9455002ff6dfe038895ba86a48f001c5d76c40f5167151f5e852642340326299 [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 17:08:04 + [ -d /w/workspace/undry_device-onvif-camera_levski/archives ] 17:08:04 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 17:08:04 total 16 17:08:04 drwxr-xr-x 3 root root 4096 Mar 15 16:50 . 17:08:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:50 .. 17:08:04 drwxr-xr-x 2 root root 4096 Mar 15 16:50 cost 17:08:04 -rw-r--r-- 1 root root 91 Mar 15 16:50 cost.csv 17:08:04 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_levski/archives 17:08:04 + ls -al /w/workspace/undry_device-onvif-camera_levski/archives 17:08:04 total 16 17:08:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:50 . 17:08:04 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:50 .. 17:08:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:50 cost 17:08:04 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 16:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:08:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:08:05 ---> package-listing.sh 17:08:05 ++ facter osfamily 17:08:05 ++ tr '[:upper:]' '[:lower:]' 17:08:06 + OS_FAMILY=debian 17:08:06 + workspace=/w/workspace/undry_device-onvif-camera_levski 17:08:06 + START_PACKAGES=/tmp/packages_start.txt 17:08:06 + END_PACKAGES=/tmp/packages_end.txt 17:08:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:08:06 + PACKAGES=/tmp/packages_start.txt 17:08:06 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 17:08:06 + PACKAGES=/tmp/packages_end.txt 17:08:06 + case "${OS_FAMILY}" in 17:08:06 + dpkg -l 17:08:06 + grep '^ii' 17:08:06 + '[' -f /tmp/packages_start.txt ']' 17:08:06 + '[' -f /tmp/packages_end.txt ']' 17:08:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:08:06 + '[' /w/workspace/undry_device-onvif-camera_levski ']' 17:08:06 + mkdir -p /w/workspace/undry_device-onvif-camera_levski/archives/ 17:08:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_levski/archives/ [Pipeline] echo 17:08:06 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 17:08:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:08:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:08:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:08:06 prd-ubuntu20.04-docker-8c-8g-1972 does not seem to be running inside a container 17:08:06 $ 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 17:08:07 $ docker top e0374906a35a848ca023fab2cf462d92acf07f198de5b3287ebeb3bf551ba4da -eo pid,comm [Pipeline] { [Pipeline] sh 17:08:07 + touch /tmp/pre-build-complete [Pipeline] sh 17:08:07 + mkdir -p /var/log/sysstat [Pipeline] sh 17:08:08 + ls /var/log/sa-host 17:08:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:08:08 provisioning config files... 17:08:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_levski@tmp/config10204326215106386131tmp [Pipeline] { [Pipeline] echo 17:08:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:08:08 ---> create-netrc.sh [Pipeline] } 17:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:08:08 ---> python-tools-install.sh [Pipeline] echo 17:08:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:08:09 ---> sudo-logs.sh 17:08:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:08:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:08:09 ---> job-cost.sh 17:08:09 lf-activate-venv: SKIPPING 17:08:09 DEBUG: total: 0.2199999988079071 17:08:09 INFO: Retrieving Stack Cost... 17:08:09 INFO: Retrieving Pricing Info for: v3-standard-8 17:08:10 INFO: Archiving Costs [Pipeline] echo 17:08:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:08:10 ---> logs-deploy.sh 17:08:10 lf-activate-venv: SKIPPING 17:08:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/levski/2 17:08:10 INFO: archiving workspace using pattern(s): 17:08:11 Archives upload complete. 17:08:11 INFO: archiving logs to Nexus