Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0803938d3e117362d3c6c6e4e1a4697135dfbf5d 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-ssh2722203682493422318.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13236317347633664640.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2778841899092870790.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12648976678568499169.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18025970144041467761.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Running on prd-ubuntu20.04-docker-8c-8g-1862 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 0803938d3e117362d3c6c6e4e1a4697135dfbf5d (main) Commit message: "build: Add option to build Service with NATS Capability (#164)" > 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 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 > git rev-list --no-walk eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:02:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:02:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:02:46 ========================================================= 21:02:46 EdgeX Global Pipelines Version Info 21:02:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:02:46 ------------------- 21:02:46 stable info: 21:02:46 ------------------- 21:02:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:02:46 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:02:46 Message: update stable to v1.0.239 21:02:47 ------------------- 21:02:47 experimental info: 21:02:47 ------------------- 21:02:47 Commited By: **** collab-it+edgex@linuxfoundation.org 21:02:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:02:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0803938 [Pipeline] echo 21:02:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:48 provisioning config files... 21:02:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11321132606848057678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:48 ---> docker-login.sh 21:02:48 nexus3.edgexfoundry.org:10001 21:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:48 Configure a credential helper to remove this warning. See 21:02:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:48 21:02:48 Login Succeeded 21:02:48 nexus3.edgexfoundry.org:10002 21:02:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:49 Configure a credential helper to remove this warning. See 21:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:49 21:02:49 Login Succeeded 21:02:49 nexus3.edgexfoundry.org:10003 21:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:49 Configure a credential helper to remove this warning. See 21:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:49 21:02:49 Login Succeeded 21:02:49 nexus3.edgexfoundry.org:10004 21:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:49 Configure a credential helper to remove this warning. See 21:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:49 21:02:49 Login Succeeded 21:02:49 docker.io 21:02:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:49 Configure a credential helper to remove this warning. See 21:02:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:49 21:02:49 Login Succeeded 21:02:49 ---> docker-login.sh ends [Pipeline] } 21:02:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:02:50 + git rev-list -1 --merges 0803938d3e117362d3c6c6e4e1a4697135dfbf5d~1..0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] echo 21:02:50 -----------> git rev-list -1 --merges 0803938d3e117362d3c6c6e4e1a4697135dfbf5d~1..0803938d3e117362d3c6c6e4e1a4697135dfbf5d 0803938d3e117362d3c6c6e4e1a4697135dfbf5d [false] [Pipeline] sh 21:02:50 + git log --format=format:%s -1 0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] echo 21:02:50 ========================================================= 21:02:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:02:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:50 + git log --format=format:%s -1 0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] echo 21:02:50 [semverPrep] GIT_COMMIT: 0803938d3e117362d3c6c6e4e1a4697135dfbf5d, Commit Message: build: Add option to build Service with NATS Capability (#164) [Pipeline] echo 21:02:50 [semverPrep] This is not a build commit. [Pipeline] sh 21:02:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:02:51 + grep -v github /etc/ssh/ssh_known_hosts 21:02:51 + [ -e /tmp/ssh_known_hosts ] 21:02:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:02:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:02:51 + sudo tee -a /etc/ssh/ssh_known_hosts 21:02:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:51 21:02:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:51 0.1.4: Pulling from edgex-devops/py-git-semver 21:02:51 b85a868b505f: Pulling fs layer 21:02:51 e2be974225ed: Pulling fs layer 21:02:51 339a4e72a1f5: Pulling fs layer 21:02:51 988bab9f4d93: Pulling fs layer 21:02:51 1469e6f7b9e6: Pulling fs layer 21:02:51 eaf3925da568: Pulling fs layer 21:02:51 bab4dde63d76: Pulling fs layer 21:02:51 bde34c3a00c8: Pulling fs layer 21:02:51 b352a97aabf1: Pulling fs layer 21:02:51 4872d77fe225: Pulling fs layer 21:02:51 5851b861e8e6: Pulling fs layer 21:02:51 bde34c3a00c8: Waiting 21:02:51 b352a97aabf1: Waiting 21:02:51 988bab9f4d93: Waiting 21:02:51 4872d77fe225: Waiting 21:02:51 5851b861e8e6: Waiting 21:02:51 1469e6f7b9e6: Waiting 21:02:51 eaf3925da568: Waiting 21:02:51 bab4dde63d76: Waiting 21:02:51 e2be974225ed: Verifying Checksum 21:02:51 e2be974225ed: Download complete 21:02:51 988bab9f4d93: Verifying Checksum 21:02:51 988bab9f4d93: Download complete 21:02:52 339a4e72a1f5: Verifying Checksum 21:02:52 339a4e72a1f5: Download complete 21:02:52 eaf3925da568: Verifying Checksum 21:02:52 eaf3925da568: Download complete 21:02:52 1469e6f7b9e6: Verifying Checksum 21:02:52 1469e6f7b9e6: Download complete 21:02:52 bde34c3a00c8: Verifying Checksum 21:02:52 bde34c3a00c8: Download complete 21:02:52 b352a97aabf1: Verifying Checksum 21:02:52 b352a97aabf1: Download complete 21:02:52 4872d77fe225: Verifying Checksum 21:02:52 4872d77fe225: Download complete 21:02:52 5851b861e8e6: Download complete 21:02:52 b85a868b505f: Verifying Checksum 21:02:52 b85a868b505f: Download complete 21:02:52 bab4dde63d76: Verifying Checksum 21:02:52 bab4dde63d76: Download complete 21:02:53 b85a868b505f: Pull complete 21:02:53 e2be974225ed: Pull complete 21:02:54 339a4e72a1f5: Pull complete 21:02:54 988bab9f4d93: Pull complete 21:02:54 1469e6f7b9e6: Pull complete 21:02:54 eaf3925da568: Pull complete 21:02:56 bab4dde63d76: Pull complete 21:02:56 bde34c3a00c8: Pull complete 21:02:56 b352a97aabf1: Pull complete 21:02:56 4872d77fe225: Pull complete 21:02:56 5851b861e8e6: Pull complete 21:02:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:02:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:02:59 $ docker top 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 -eo pid,comm 21:03:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:03:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:03:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:00 [ssh-agent] Looking for ssh-agent implementation... 21:03:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:00 $ docker exec 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 ssh-agent 21:03:00 SSH_AUTH_SOCK=/tmp/ssh-IOiBrrQ3tziI/agent.32 21:03:00 SSH_AGENT_PID=38 21:03:00 Running ssh-add (command line suppressed) 21:03:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11060251308704267314.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11060251308704267314.key) 21:03:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:00 + git tag --points-at HEAD [Pipeline] } 21:03:00 $ docker exec --env ******** --env ******** 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 ssh-agent -k 21:03:00 unset SSH_AUTH_SOCK; 21:03:00 unset SSH_AGENT_PID; 21:03:00 echo Agent pid 38 killed; 21:03:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:03:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:03:00 [ssh-agent] Looking for ssh-agent implementation... 21:03:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:03:00 $ docker exec 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 ssh-agent 21:03:01 SSH_AUTH_SOCK=/tmp/ssh-q2n2fVVebBHI/agent.70 21:03:01 SSH_AGENT_PID=76 21:03:01 Running ssh-add (command line suppressed) 21:03:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5668016329194945774.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5668016329194945774.key) 21:03:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:03:01 + git semver init 21:03:01 2022-09-28 21:03:01,633 [run_init] DEBUG init version:0.0.0 force:False 21:03:01 2022-09-28 21:03:01,633 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 21:03:01 2022-09-28 21:03:01,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 21:03:01 2022-09-28 21:03:01,634 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:03:03 2022-09-28 21:03:02,739 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 21:03:03 2022-09-28 21:03:02,739 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 21:03:03 2022-09-28 21:03:02,739 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:03:03 2022-09-28 21:03:02,739 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:03:03 2.3.0-dev.25 [Pipeline] } 21:03:03 $ docker exec --env ******** --env ******** 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 ssh-agent -k 21:03:03 unset SSH_AUTH_SOCK; 21:03:03 unset SSH_AGENT_PID; 21:03:03 echo Agent pid 76 killed; 21:03:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:03:03 + git semver [Pipeline] } 21:03:03 $ docker stop --time=1 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 21:03:05 $ docker rm -f 3efc3f5604cb244d34924f829f7381b3eda62876caee605045de02b81c785543 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:05 Stashed 1 file(s) [Pipeline] echo 21:03:05 [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [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 21:03:05 provisioning config files... 21:03:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config825889595160071479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:05 ---> docker-login.sh 21:03:05 nexus3.edgexfoundry.org:10001 21:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:05 Configure a credential helper to remove this warning. See 21:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:05 21:03:05 Login Succeeded 21:03:05 nexus3.edgexfoundry.org:10002 21:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:05 Configure a credential helper to remove this warning. See 21:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:05 21:03:05 Login Succeeded 21:03:05 nexus3.edgexfoundry.org:10003 21:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:06 Configure a credential helper to remove this warning. See 21:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:06 21:03:06 Login Succeeded 21:03:06 nexus3.edgexfoundry.org:10004 21:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:06 Configure a credential helper to remove this warning. See 21:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:06 21:03:06 Login Succeeded 21:03:06 docker.io 21:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:03:06 Configure a credential helper to remove this warning. See 21:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:03:06 21:03:06 Login Succeeded 21:03:06 ---> docker-login.sh ends [Pipeline] } 21:03:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:03:06 ========================================================= 21:03:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:03:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:07 + 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 . 21:03:07 Sending build context to Docker daemon 20.74MB 21:03:07 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:03:07 Step 2/14 : FROM ${BASE} AS builder 21:03:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:03:07 2408cc74d12b: Pulling fs layer 21:03:07 ea60b727a1ce: Pulling fs layer 21:03:07 30c4a7721957: Pulling fs layer 21:03:07 370296b7ddb6: Pulling fs layer 21:03:07 7c6cee850709: Pulling fs layer 21:03:07 39a5fcdaea64: Pulling fs layer 21:03:07 d94ebbe4e438: Pulling fs layer 21:03:07 bcfd1f05c69d: Pulling fs layer 21:03:07 59ccb84bbe0f: Pulling fs layer 21:03:07 370296b7ddb6: Waiting 21:03:07 d94ebbe4e438: Waiting 21:03:07 7c6cee850709: Waiting 21:03:07 39a5fcdaea64: Waiting 21:03:07 bcfd1f05c69d: Waiting 21:03:07 59ccb84bbe0f: Waiting 21:03:07 30c4a7721957: Verifying Checksum 21:03:07 30c4a7721957: Download complete 21:03:07 ea60b727a1ce: Verifying Checksum 21:03:07 ea60b727a1ce: Download complete 21:03:07 7c6cee850709: Verifying Checksum 21:03:07 7c6cee850709: Download complete 21:03:07 39a5fcdaea64: Verifying Checksum 21:03:07 39a5fcdaea64: Download complete 21:03:07 2408cc74d12b: Verifying Checksum 21:03:07 2408cc74d12b: Download complete 21:03:07 d94ebbe4e438: Download complete 21:03:07 2408cc74d12b: Pull complete 21:03:07 ea60b727a1ce: Pull complete 21:03:07 30c4a7721957: Pull complete 21:03:07 59ccb84bbe0f: Verifying Checksum 21:03:07 59ccb84bbe0f: Download complete 21:03:07 bcfd1f05c69d: Verifying Checksum 21:03:07 bcfd1f05c69d: Download complete 21:03:08 370296b7ddb6: Verifying Checksum 21:03:08 370296b7ddb6: Download complete 21:03:12 370296b7ddb6: Pull complete 21:03:12 7c6cee850709: Pull complete 21:03:12 39a5fcdaea64: Pull complete 21:03:12 d94ebbe4e438: Pull complete 21:03:14 bcfd1f05c69d: Pull complete 21:03:15 59ccb84bbe0f: Pull complete 21:03:15 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:03:15 ---> a4fb48ad2a94 21:03:15 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:03:20 Still waiting to schedule task 21:03:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:03:21 ---> Running in efe80603b029 21:03:21 Removing intermediate container efe80603b029 21:03:21 ---> 18d8be5f7e5b 21:03:21 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:21 ---> Running in d0e8f50e2474 21:03:21 Removing intermediate container d0e8f50e2474 21:03:21 ---> 939a4f723c0b 21:03:21 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:03:21 ---> Running in e1c36f7176a9 21:03:21 Removing intermediate container e1c36f7176a9 21:03:21 ---> a525baa40a35 21:03:21 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 21:03:21 ---> Running in fe2b7b6805a4 21:03:21 Removing intermediate container fe2b7b6805a4 21:03:21 ---> 2ead8e7d6681 21:03:21 Step 7/14 : LABEL Name=edgex-device-onvif-camera 21:03:21 ---> Running in b491445a2ab7 21:03:21 Removing intermediate container b491445a2ab7 21:03:21 ---> 11a289078b8c 21:03:21 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:03:21 ---> Running in d9abaec789b6 21:03:22 Removing intermediate container d9abaec789b6 21:03:22 ---> 921b9f9cc56c 21:03:22 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:22 ---> Running in d3cb68899f0c 21:03:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:03:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:03:23 OK: 211 MiB in 51 packages 21:03:24 Removing intermediate container d3cb68899f0c 21:03:24 ---> 9c34aa8223aa 21:03:24 Step 10/14 : WORKDIR /device-onvif-camera 21:03:24 ---> Running in 3b9ac3a869ea 21:03:24 Removing intermediate container 3b9ac3a869ea 21:03:24 ---> 7a6d53b9e592 21:03:24 Step 11/14 : COPY go.mod vendor* ./ 21:03:24 ---> a88a3195d59b 21:03:24 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:24 ---> Running in dcb21317bda0 21:03:51 Removing intermediate container dcb21317bda0 21:03:51 ---> e4f51b83e080 21:03:51 Step 13/14 : COPY . . 21:03:51 ---> e2adddfa8e93 21:03:51 Step 14/14 : RUN ${MAKE} 21:03:51 ---> Running in 5a4a460c0cc1 21:03:51 noop 21:03:51 Removing intermediate container 5a4a460c0cc1 21:03:51 ---> 2d6fd89b7a89 21:03:51 Successfully built 2d6fd89b7a89 21:03:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:51 + docker inspect -f . ci-base-image-x86_64 21:03:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:51 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:03:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:51 $ docker top fd5a7fcc4577a40a7dd3aac37850c8b983458c9380184f78ec922910e7425d9d -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:52 + go version 21:03:52 go version go1.18.3 linux/amd64 [Pipeline] } 21:03:52 $ docker stop --time=1 fd5a7fcc4577a40a7dd3aac37850c8b983458c9380184f78ec922910e7425d9d 21:03:53 $ docker rm -f fd5a7fcc4577a40a7dd3aac37850c8b983458c9380184f78ec922910e7425d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:53 + docker inspect -f . ci-base-image-x86_64 21:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:53 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:03:54 $ docker top 18db8add3d27876a434c5f54c2ccfb4fb14849791960205570eb6f5f0a4f50d6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:54 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 21:03:55 + make test 21:03:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:03:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:04:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:04:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements 21:04:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:04:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.401s coverage: 86.5% of statements 21:04:14 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." 21:04:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:04:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:04:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:04:18 ./bin/test-attribution-txt.sh [Pipeline] echo 21:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:04:18 $ docker stop --time=1 18db8add3d27876a434c5f54c2ccfb4fb14849791960205570eb6f5f0a4f50d6 21:04:21 $ docker rm -f 18db8add3d27876a434c5f54c2ccfb4fb14849791960205570eb6f5f0a4f50d6 [Pipeline] // withDockerContainer [Pipeline] sh 21:04:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:04:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:04:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:04:22 + ls -al . 21:04:22 total 236 21:04:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 21:03 . 21:04:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:02 .. 21:04:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 21:04 .git 21:04:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:02 .github 21:04:22 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 21:02 .gitignore 21:04:22 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 21:02 .golangci.yml 21:04:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 21:03 .semver 21:04:22 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 21:02 Attribution.txt 21:04:22 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 21:02 CHANGELOG.md 21:04:22 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 21:02 Dockerfile 21:04:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 21:02 GOVERNANCE.md 21:04:22 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 21:02 Jenkinsfile 21:04:22 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 21:02 LICENSE 21:04:22 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 21:02 Makefile 21:04:22 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 21:02 OWNERS.md 21:04:22 -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 21:02 README.md 21:04:22 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 21:03 VERSION 21:04:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 21:02 bin 21:04:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:02 cmd 21:04:22 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 21:04 coverage.out 21:04:22 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 21:02 doc 21:04:22 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 21:02 go.mod 21:04:22 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 21:02 go.sum 21:04:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:02 internal 21:04:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:02 snap 21:04:22 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:22 + 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=0803938d3e117362d3c6c6e4e1a4697135dfbf5d --label arch=amd64 --label version=2.3.0-dev.25 . 21:04:22 Sending build context to Docker daemon 20.82MB 21:04:22 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:04:22 Step 2/27 : FROM ${BASE} AS builder 21:04:22 ---> 2d6fd89b7a89 21:04:22 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:04:23 ---> Running in 31bec19b16b4 21:04:23 Removing intermediate container 31bec19b16b4 21:04:23 ---> 721e88ce434c 21:04:23 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:23 ---> Running in 9a54f4c721be 21:04:23 Removing intermediate container 9a54f4c721be 21:04:23 ---> 2cadf0b892a9 21:04:23 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:04:23 ---> Running in b98a3359e2aa 21:04:23 Removing intermediate container b98a3359e2aa 21:04:23 ---> a0f6e13e7ac0 21:04:23 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:04:23 ---> Running in 3aa3144fb721 21:04:23 Removing intermediate container 3aa3144fb721 21:04:23 ---> b2d841bd7eb2 21:04:23 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:04:23 ---> Running in 67caf89ff718 21:04:23 Removing intermediate container 67caf89ff718 21:04:23 ---> 401673b0fdf0 21:04:23 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:04:23 ---> Running in 8354869ff2a8 21:04:24 Removing intermediate container 8354869ff2a8 21:04:24 ---> 002cbbeaa527 21:04:24 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:24 ---> Running in b2e998ce9316 21:04:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:04:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:04:31 OK: 211 MiB in 51 packages 21:04:32 Removing intermediate container b2e998ce9316 21:04:32 ---> 347cae0227cf 21:04:32 Step 10/27 : WORKDIR /device-onvif-camera 21:04:32 ---> Running in de87093025c1 21:04:32 Removing intermediate container de87093025c1 21:04:32 ---> 382cc4aeee64 21:04:32 Step 11/27 : COPY go.mod vendor* ./ 21:04:32 ---> 6ce2357b3820 21:04:32 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:32 ---> Running in 8f7951985b5f 21:04:33 Removing intermediate container 8f7951985b5f 21:04:33 ---> 76d6f5ab1ecb 21:04:33 Step 13/27 : COPY . . 21:04:34 ---> 50e4c8aac3a5 21:04:34 Step 14/27 : RUN ${MAKE} 21:04:34 ---> Running in 6d51bf9fc8d8 21:04:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:04:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1865 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 21:04:43 Running in /w/workspace/device-onvif-camera/64 [Pipeline] { [Pipeline] checkout 21:04:43 The recommended git tool is: git 21:04:48 using credential edgex-jenkins-ssh 21:04:48 Cloning the remote Git repository 21:04:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 21:04:48 > git init /w/workspace/device-onvif-camera/64 # timeout=10 21:04:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 21:04:48 > git --version # timeout=10 21:04:48 > git --version # 'git version 2.25.1' 21:04:48 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:48 Verifying host key using known hosts file 21:04:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:04:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 21:04:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:50 Avoid second fetch 21:04:50 Checking out Revision 0803938d3e117362d3c6c6e4e1a4697135dfbf5d (main) 21:04:51 Commit message: "build: Add option to build Service with NATS Capability (#164)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:50 > git config core.sparsecheckout # timeout=10 21:04:50 > git checkout -f 0803938d3e117362d3c6c6e4e1a4697135dfbf5d # timeout=10 21:04:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:52 Dload Upload Total Spent Left Speed 21:04:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 21:04:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:53 + sudo tee /etc/docker/daemon.new 21:04:53 { 21:04:53 "registry-mirrors": [ 21:04:53 "https://nexus3.edgexfoundry.org:10001" 21:04:53 ], 21:04:53 "bip": "10.250.0.254/24", 21:04:53 "hosts": [ 21:04:53 "tcp://0.0.0.0:5555", 21:04:53 "unix:///var/run/docker.sock" 21:04:53 ], 21:04:53 "mtu": 1458, 21:04:53 "selinux-enabled": true, 21:04:53 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:53 } [Pipeline] sh 21:04:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:53 + sudo service docker restart 21:05:00 Removing intermediate container 6d51bf9fc8d8 21:05:00 ---> 00ac4d7b2c3e 21:05:00 Step 15/27 : FROM alpine:3.16 21:05:00 3.16: Pulling from library/alpine 21:05:00 213ec9aee27d: Pulling fs layer 21:05:00 213ec9aee27d: Verifying Checksum 21:05:00 213ec9aee27d: Download complete 21:05:00 213ec9aee27d: Pull complete 21:05:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:05:00 Status: Downloaded newer image for alpine:3.16 21:05:00 ---> 9c6f07244728 21:05:00 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:05:00 ---> Running in 023015043d2a 21:05:00 Removing intermediate container 023015043d2a 21:05:00 ---> ee874bc76c61 21:05:00 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:05:00 ---> Running in b67660e3c547 21:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:05:00 (1/6) Installing dumb-init (1.2.5-r1) 21:05:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:05:00 (3/6) Installing libsodium (1.0.18-r0) 21:05:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:05:00 (5/6) Installing libzmq (4.3.4-r0) 21:05:00 (6/6) Installing zeromq (4.3.4-r0) 21:05:00 Executing busybox-1.35.0-r17.trigger 21:05:00 OK: 8 MiB in 20 packages 21:05:00 Removing intermediate container b67660e3c547 21:05:00 ---> 7c2254b73c9b 21:05:00 Step 18/27 : WORKDIR / 21:05:00 ---> Running in 6b3ff919a958 21:05:00 Removing intermediate container 6b3ff919a958 21:05:00 ---> 5cf21cd1d0c5 21:05:00 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 21:05:01 ---> 32b6e69898ce 21:05:01 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 21:05:01 ---> a5b904696abe 21:05:01 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:05:01 ---> 480ee98ccaa1 21:05:01 Step 22/27 : EXPOSE 59984 21:05:01 ---> Running in 6355c7164512 21:05:01 Removing intermediate container 6355c7164512 21:05:01 ---> 2b3d7b34deec 21:05:01 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 21:05:01 ---> Running in 1e1398a25e75 21:05:01 Removing intermediate container 1e1398a25e75 21:05:01 ---> 6bf9f4538552 21:05:01 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:05:02 ---> Running in ed4fae1b88c2 21:05:02 Removing intermediate container ed4fae1b88c2 21:05:02 ---> f1f6e0f7a19f 21:05:02 Step 25/27 : LABEL arch=amd64 21:05:02 ---> Running in dab8a06bc1c0 21:05:02 Removing intermediate container dab8a06bc1c0 21:05:02 ---> cf84c03b0032 21:05:02 Step 26/27 : LABEL git_sha=0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:05:02 ---> Running in c4cb73cbf352 21:05:02 Removing intermediate container c4cb73cbf352 21:05:02 ---> ff8e7c30450a 21:05:02 Step 27/27 : LABEL version=2.3.0-dev.25 21:05:02 ---> Running in 73a6ed75e1b6 21:05:02 Removing intermediate container 73a6ed75e1b6 21:05:02 ---> 78024dd96a49 21:05:02 [Warning] One or more build-args [ARCH] were not consumed 21:05:02 Successfully built 78024dd96a49 21:05:02 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 21:05:02 provisioning config files... 21:05:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9793138495629461051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:02 ---> docker-login.sh 21:05:02 nexus3.edgexfoundry.org:10001 21:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:02 Configure a credential helper to remove this warning. See 21:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:02 21:05:02 Login Succeeded 21:05:02 nexus3.edgexfoundry.org:10002 21:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:02 Configure a credential helper to remove this warning. See 21:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:02 21:05:02 Login Succeeded 21:05:02 nexus3.edgexfoundry.org:10003 21:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:03 Configure a credential helper to remove this warning. See 21:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:03 21:05:03 Login Succeeded 21:05:03 nexus3.edgexfoundry.org:10004 21:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:03 Configure a credential helper to remove this warning. See 21:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:03 21:05:03 Login Succeeded 21:05:03 docker.io 21:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:03 Configure a credential helper to remove this warning. See 21:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:03 21:05:03 Login Succeeded 21:05:03 ---> docker-login.sh ends [Pipeline] } 21:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:03 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 21:05:03 0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:05:03 latest 21:05:03 2.3.0-dev.25 21:05:03 0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:05:03 main 21:05:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:03 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:05:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:05:04 f579481e9902: Preparing 21:05:04 a437de107e0b: Preparing 21:05:04 4cf1dbceaad1: Preparing 21:05:04 63220468d667: Preparing 21:05:04 994393dc58e7: Preparing 21:05:04 994393dc58e7: Layer already exists 21:05:04 a437de107e0b: Pushed 21:05:04 f579481e9902: Pushed 21:05:04 63220468d667: Pushed 21:05:07 4cf1dbceaad1: Pushed 21:05:07 0803938d3e117362d3c6c6e4e1a4697135dfbf5d: digest: sha256:c3f749aaaf80918fdc48b80fe9e82cc3f4f03066df4c8d0efb7019b6d7039140 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:05:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:05:07 f579481e9902: Preparing 21:05:07 a437de107e0b: Preparing 21:05:07 4cf1dbceaad1: Preparing 21:05:07 63220468d667: Preparing 21:05:07 994393dc58e7: Preparing 21:05:07 63220468d667: Layer already exists 21:05:07 a437de107e0b: Layer already exists 21:05:07 994393dc58e7: Layer already exists 21:05:07 f579481e9902: Layer already exists 21:05:07 4cf1dbceaad1: Layer already exists 21:05:07 latest: digest: sha256:c3f749aaaf80918fdc48b80fe9e82cc3f4f03066df4c8d0efb7019b6d7039140 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:07 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.25 21:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:05:08 f579481e9902: Preparing 21:05:08 a437de107e0b: Preparing 21:05:08 4cf1dbceaad1: Preparing 21:05:08 63220468d667: Preparing 21:05:08 994393dc58e7: Preparing 21:05:08 63220468d667: Layer already exists 21:05:08 f579481e9902: Layer already exists 21:05:08 a437de107e0b: Layer already exists 21:05:08 994393dc58e7: Layer already exists 21:05:08 4cf1dbceaad1: Layer already exists 21:05:08 2.3.0-dev.25: digest: sha256:c3f749aaaf80918fdc48b80fe9e82cc3f4f03066df4c8d0efb7019b6d7039140 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:05:08 f579481e9902: Preparing 21:05:08 a437de107e0b: Preparing 21:05:08 4cf1dbceaad1: Preparing 21:05:08 63220468d667: Preparing 21:05:08 994393dc58e7: Preparing 21:05:08 994393dc58e7: Layer already exists 21:05:08 4cf1dbceaad1: Layer already exists 21:05:08 63220468d667: Layer already exists 21:05:08 f579481e9902: Layer already exists 21:05:08 a437de107e0b: Layer already exists 21:05:08 0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25: digest: sha256:c3f749aaaf80918fdc48b80fe9e82cc3f4f03066df4c8d0efb7019b6d7039140 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 21:05:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 21:05:09 f579481e9902: Preparing 21:05:09 a437de107e0b: Preparing 21:05:09 4cf1dbceaad1: Preparing 21:05:09 63220468d667: Preparing 21:05:09 994393dc58e7: Preparing 21:05:09 4cf1dbceaad1: Layer already exists 21:05:09 a437de107e0b: Layer already exists 21:05:09 63220468d667: Layer already exists 21:05:09 994393dc58e7: Layer already exists 21:05:09 f579481e9902: Layer already exists 21:05:09 main: digest: sha256:c3f749aaaf80918fdc48b80fe9e82cc3f4f03066df4c8d0efb7019b6d7039140 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:05:09 ===================================================== [Pipeline] echo 21:05:09 taggedImages: 21:05:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:05:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 21:05:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.25 21:05:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:05:09 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:09 21:05:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:10 latest: Pulling from edgex-lftools-log-publisher 21:05:10 5eb5b503b376: Pulling fs layer 21:05:10 5c69ac0246d0: Pulling fs layer 21:05:10 ec43610c2a17: Pulling fs layer 21:05:10 3a2ae6a8a46f: Pulling fs layer 21:05:10 33b1e0a273af: Pulling fs layer 21:05:10 5d3b04190fa2: Pulling fs layer 21:05:10 2f39f015ded8: Pulling fs layer 21:05:10 33b1e0a273af: Waiting 21:05:10 5d3b04190fa2: Waiting 21:05:10 2f39f015ded8: Waiting 21:05:10 3a2ae6a8a46f: Waiting 21:05:10 5c69ac0246d0: Verifying Checksum 21:05:10 5c69ac0246d0: Download complete 21:05:10 3a2ae6a8a46f: Verifying Checksum 21:05:10 3a2ae6a8a46f: Download complete 21:05:10 33b1e0a273af: Verifying Checksum 21:05:10 33b1e0a273af: Download complete 21:05:10 ec43610c2a17: Verifying Checksum 21:05:10 ec43610c2a17: Download complete 21:05:10 5d3b04190fa2: Download complete 21:05:10 5eb5b503b376: Verifying Checksum 21:05:10 5eb5b503b376: Download complete 21:05:10 2f39f015ded8: Download complete 21:05:11 5eb5b503b376: Pull complete 21:05:11 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:12 provisioning config files... 21:05:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/64@tmp/config199309912972020704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:12 ec43610c2a17: Pull complete 21:05:12 3a2ae6a8a46f: Pull complete 21:05:12 ---> docker-login.sh 21:05:12 nexus3.edgexfoundry.org:10001 21:05:12 33b1e0a273af: Pull complete 21:05:12 5d3b04190fa2: Pull complete 21:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:13 Configure a credential helper to remove this warning. See 21:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:13 21:05:13 Login Succeeded 21:05:13 nexus3.edgexfoundry.org:10002 21:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:13 Configure a credential helper to remove this warning. See 21:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:13 21:05:13 Login Succeeded 21:05:13 nexus3.edgexfoundry.org:10003 21:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:13 Configure a credential helper to remove this warning. See 21:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:13 21:05:13 Login Succeeded 21:05:13 nexus3.edgexfoundry.org:10004 21:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:14 Configure a credential helper to remove this warning. See 21:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:14 21:05:14 Login Succeeded 21:05:14 docker.io 21:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:15 Configure a credential helper to remove this warning. See 21:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:15 21:05:15 Login Succeeded 21:05:15 ---> docker-login.sh ends [Pipeline] } 21:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:15 ========================================================= 21:05:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:05:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:15 + 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 . 21:05:16 Sending build context to Docker daemon 14.18MB 21:05:16 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 21:05:16 Step 2/14 : FROM ${BASE} AS builder 21:05:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:16 b3c136eddcbf: Pulling fs layer 21:05:16 c0a3192eca97: Pulling fs layer 21:05:16 a050256f5b6f: Pulling fs layer 21:05:16 656be50a0ddc: Pulling fs layer 21:05:16 2bbca73fdf42: Pulling fs layer 21:05:16 46d945488cbd: Pulling fs layer 21:05:16 8a5474983e97: Pulling fs layer 21:05:16 329c88fbcd65: Pulling fs layer 21:05:16 656be50a0ddc: Waiting 21:05:16 2bbca73fdf42: Waiting 21:05:16 46d945488cbd: Waiting 21:05:16 8a5474983e97: Waiting 21:05:16 329c88fbcd65: Waiting 21:05:16 a050256f5b6f: Verifying Checksum 21:05:16 a050256f5b6f: Download complete 21:05:16 c0a3192eca97: Verifying Checksum 21:05:16 c0a3192eca97: Download complete 21:05:16 46d945488cbd: Download complete 21:05:16 b3c136eddcbf: Verifying Checksum 21:05:16 b3c136eddcbf: Download complete 21:05:16 2f39f015ded8: Pull complete 21:05:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:05:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:16 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:05:17 b3c136eddcbf: Pull complete 21:05:17 329c88fbcd65: Verifying Checksum 21:05:17 329c88fbcd65: Download complete 21:05:17 c0a3192eca97: Pull complete 21:05:18 a050256f5b6f: Pull complete 21:05:18 8a5474983e97: Verifying Checksum 21:05:18 8a5474983e97: Download complete 21:05:19 656be50a0ddc: Verifying Checksum 21:05:19 656be50a0ddc: Download complete 21:05:20 $ docker top cac700d9806352387b552cfb594003116981a80d5259056d7c47487cd7aa856b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:20 ---> job-cost.sh 21:05:20 lf-activate-venv: SKIPPING 21:05:20 INFO: No Stack... 21:05:21 INFO: Retrieving Pricing Info for: v3-standard-8 21:05:21 INFO: Archiving Costs [Pipeline] sh 21:05:21 + cut -d, -f6 21:05:21 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [Pipeline] lock 21:05:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] 21:05:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] did not exist. Created. 21:05:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:21 + echo total: 0.2199999988079071 [Pipeline] stash 21:05:21 Stashed 1 file(s) [Pipeline] } 21:05:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:21 $ docker stop --time=1 cac700d9806352387b552cfb594003116981a80d5259056d7c47487cd7aa856b 21:05:23 $ docker rm -f cac700d9806352387b552cfb594003116981a80d5259056d7c47487cd7aa856b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:05:31 656be50a0ddc: Pull complete 21:05:31 2bbca73fdf42: Pull complete 21:05:31 46d945488cbd: Pull complete 21:05:38 8a5474983e97: Pull complete 21:05:39 329c88fbcd65: Pull complete 21:05:39 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:05:39 ---> ff4287adb874 21:05:39 Step 3/14 : ARG ADD_BUILD_TAGS="" 21:05:41 ---> Running in ac304b8eebc6 21:05:42 Removing intermediate container ac304b8eebc6 21:05:42 ---> 084021189f19 21:05:42 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:42 ---> Running in 07fff59c56b6 21:05:42 Removing intermediate container 07fff59c56b6 21:05:42 ---> 493748a2e453 21:05:42 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:05:42 ---> Running in 37aea60ef7c2 21:05:42 Removing intermediate container 37aea60ef7c2 21:05:42 ---> 493433911ec7 21:05:42 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 21:05:42 ---> Running in c58e9723fb0e 21:05:43 Removing intermediate container c58e9723fb0e 21:05:43 ---> 4e12661d3d5f 21:05:43 Step 7/14 : LABEL Name=edgex-device-onvif-camera 21:05:43 ---> Running in 811393db3f12 21:05:43 Removing intermediate container 811393db3f12 21:05:43 ---> c81fb25b0585 21:05:43 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:43 ---> Running in 13920a4320bd 21:05:45 Removing intermediate container 13920a4320bd 21:05:45 ---> 183d0644d1c3 21:05:45 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:45 ---> Running in 29083ea98013 21:05:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:48 OK: 221 MiB in 51 packages 21:05:49 Removing intermediate container 29083ea98013 21:05:49 ---> 3d7143c2df65 21:05:49 Step 10/14 : WORKDIR /device-onvif-camera 21:05:49 ---> Running in 41340f621cbe 21:05:49 Removing intermediate container 41340f621cbe 21:05:49 ---> e3c2841642bd 21:05:49 Step 11/14 : COPY go.mod vendor* ./ 21:05:50 ---> a3c6a1abdf8e 21:05:50 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:50 ---> Running in b61aa0ba32b8 21:06:46 Removing intermediate container b61aa0ba32b8 21:06:46 ---> c076e3029a63 21:06:46 Step 13/14 : COPY . . 21:06:46 ---> c50e195d42cb 21:06:46 Step 14/14 : RUN ${MAKE} 21:06:46 ---> Running in 9598b4c76cf1 21:06:46 noop 21:06:46 Removing intermediate container 9598b4c76cf1 21:06:46 ---> a4dd548a85cf 21:06:46 Successfully built a4dd548a85cf 21:06:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:46 + docker inspect -f . ci-base-image-arm64 21:06:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container 21:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/64 -v /w/workspace/device-onvif-camera/64:/w/workspace/device-onvif-camera/64:rw,z -v /w/workspace/device-onvif-camera/64@tmp:/w/workspace/device-onvif-camera/64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:48 $ docker top 1ec7462b88950ded81e7829fb1b2b8545c76b1a2155868ccd3ee3a9f492793b0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:49 + go version 21:06:49 go version go1.18.3 linux/arm64 [Pipeline] } 21:06:49 $ docker stop --time=1 1ec7462b88950ded81e7829fb1b2b8545c76b1a2155868ccd3ee3a9f492793b0 21:06:50 $ docker rm -f 1ec7462b88950ded81e7829fb1b2b8545c76b1a2155868ccd3ee3a9f492793b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:51 + docker inspect -f . ci-base-image-arm64 21:06:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container 21:06:51 $ 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/64 -v /w/workspace/device-onvif-camera/64:/w/workspace/device-onvif-camera/64:rw,z -v /w/workspace/device-onvif-camera/64@tmp:/w/workspace/device-onvif-camera/64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:52 $ docker top ff077bea2d1b83b3927f12ab3bceee2b9cae69e840ef3b7388f549ba926c7317 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:53 + git config --global --add safe.directory /w/workspace/device-onvif-camera/64 [Pipeline] fileExists [Pipeline] sh 21:06:53 + make test 21:06:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:06:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 21:08:32 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 21:08:36 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.205s coverage: 28.2% of statements 21:08:36 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 21:08:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.987s coverage: 86.5% of statements 21:08:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:08:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:09:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:27 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:27 $ docker stop --time=1 ff077bea2d1b83b3927f12ab3bceee2b9cae69e840ef3b7388f549ba926c7317 21:09:29 $ docker rm -f ff077bea2d1b83b3927f12ab3bceee2b9cae69e840ef3b7388f549ba926c7317 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:30 Warning: overwriting stash ‘coverage-report’ 21:09:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:31 + ls -al . 21:09:31 total 232 21:09:31 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 21:06 . 21:09:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:04 .. 21:09:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 21:04 .git 21:09:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:04 .github 21:09:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 21:04 .gitignore 21:09:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 21:04 .golangci.yml 21:09:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 21:04 Attribution.txt 21:09:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 21:04 CHANGELOG.md 21:09:31 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 21:04 Dockerfile 21:09:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 21:04 GOVERNANCE.md 21:09:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 21:04 Jenkinsfile 21:09:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 21:04 LICENSE 21:09:31 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 21:04 Makefile 21:09:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 21:04 OWNERS.md 21:09:31 -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 21:04 README.md 21:09:31 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 21:03 VERSION 21:09:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 21:04 bin 21:09:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 21:04 cmd 21:09:31 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 21:08 coverage.out 21:09:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 21:04 doc 21:09:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 21:04 go.mod 21:09:31 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 21:04 go.sum 21:09:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:04 internal 21:09:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 21:04 snap 21:09:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:31 + 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=0803938d3e117362d3c6c6e4e1a4697135dfbf5d --label arch=arm64 --label version=2.3.0-dev.25 . 21:09:32 Sending build context to Docker daemon 14.26MB 21:09:32 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:09:32 Step 2/27 : FROM ${BASE} AS builder 21:09:32 ---> a4dd548a85cf 21:09:32 Step 3/27 : ARG ADD_BUILD_TAGS="" 21:09:32 ---> Running in 7b9213f52187 21:09:33 Removing intermediate container 7b9213f52187 21:09:33 ---> 66b146a0653f 21:09:33 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:33 ---> Running in 6a76fe56435d 21:09:33 Removing intermediate container 6a76fe56435d 21:09:33 ---> 257472de5851 21:09:33 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 21:09:33 ---> Running in 3b92e0457991 21:09:33 Removing intermediate container 3b92e0457991 21:09:33 ---> dfaa8d292bf3 21:09:33 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 21:09:33 ---> Running in 55db93fb1bf7 21:09:34 Removing intermediate container 55db93fb1bf7 21:09:34 ---> 8f514074c134 21:09:34 Step 7/27 : LABEL Name=edgex-device-onvif-camera 21:09:34 ---> Running in 0903b6075ff4 21:09:34 Removing intermediate container 0903b6075ff4 21:09:34 ---> ae785abecbad 21:09:34 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:09:34 ---> Running in 1189ce3255c8 21:09:36 Removing intermediate container 1189ce3255c8 21:09:36 ---> 40e8c0fb144f 21:09:36 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:36 ---> Running in 0fc6e9cc96c2 21:09:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:09:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:09:39 OK: 221 MiB in 51 packages 21:09:41 Removing intermediate container 0fc6e9cc96c2 21:09:41 ---> d5dadac7b65d 21:09:41 Step 10/27 : WORKDIR /device-onvif-camera 21:09:41 ---> Running in 2de3be0d8f5e 21:09:41 Removing intermediate container 2de3be0d8f5e 21:09:41 ---> aaf391db1637 21:09:41 Step 11/27 : COPY go.mod vendor* ./ 21:09:41 ---> 4d8159f2fa28 21:09:41 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:42 ---> Running in 4c7f58975835 21:09:44 Removing intermediate container 4c7f58975835 21:09:44 ---> c404f2093453 21:09:44 Step 13/27 : COPY . . 21:09:46 ---> cd82a359fe9b 21:09:46 Step 14/27 : RUN ${MAKE} 21:09:46 ---> Running in b43a8b2bf85c 21:09:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.25 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 21:12:24 Removing intermediate container b43a8b2bf85c 21:12:24 ---> c26bad720d5b 21:12:24 Step 15/27 : FROM alpine:3.16 21:12:24 3.16: Pulling from library/alpine 21:12:24 9b18e9b68314: Pulling fs layer 21:12:24 9b18e9b68314: Verifying Checksum 21:12:24 9b18e9b68314: Download complete 21:12:24 9b18e9b68314: Pull complete 21:12:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:12:24 Status: Downloaded newer image for alpine:3.16 21:12:24 ---> a6215f271958 21:12:24 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:12:24 ---> Running in 8c4048b3f635 21:12:24 Removing intermediate container 8c4048b3f635 21:12:24 ---> cce2954af9a1 21:12:24 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:12:24 ---> Running in ac5e6ab51902 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:12:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:12:24 (1/6) Installing dumb-init (1.2.5-r1) 21:12:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:12:24 (3/6) Installing libsodium (1.0.18-r0) 21:12:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:12:24 (5/6) Installing libzmq (4.3.4-r0) 21:12:24 (6/6) Installing zeromq (4.3.4-r0) 21:12:24 Executing busybox-1.35.0-r17.trigger 21:12:24 OK: 8 MiB in 20 packages 21:12:25 Removing intermediate container ac5e6ab51902 21:12:25 ---> 606b47da8b8c 21:12:25 Step 18/27 : WORKDIR / 21:12:25 ---> Running in 96089e2b50e6 21:12:25 Removing intermediate container 96089e2b50e6 21:12:25 ---> 4a4142e32573 21:12:25 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 21:12:27 ---> 5ce8c08c3adf 21:12:27 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 21:12:27 ---> e2ac954b2df5 21:12:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 21:12:27 ---> 55e8770fc578 21:12:27 Step 22/27 : EXPOSE 59984 21:12:27 ---> Running in c5552e4cc6f3 21:12:28 Removing intermediate container c5552e4cc6f3 21:12:28 ---> 1ab400ea6297 21:12:28 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 21:12:28 ---> Running in b4665d8de953 21:12:28 Removing intermediate container b4665d8de953 21:12:28 ---> a980de479567 21:12:28 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:12:28 ---> Running in 2695f532c4d0 21:12:28 Removing intermediate container 2695f532c4d0 21:12:28 ---> 74efa4766be9 21:12:28 Step 25/27 : LABEL arch=arm64 21:12:28 ---> Running in 981111ca07bd 21:12:29 Removing intermediate container 981111ca07bd 21:12:29 ---> 27397cd1f9f0 21:12:29 Step 26/27 : LABEL git_sha=0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:12:29 ---> Running in 391fc4b7e410 21:12:29 Removing intermediate container 391fc4b7e410 21:12:29 ---> 473fe815388e 21:12:29 Step 27/27 : LABEL version=2.3.0-dev.25 21:12:29 ---> Running in 2fd63cb1a84e 21:12:30 Removing intermediate container 2fd63cb1a84e 21:12:30 ---> 75a0ca06556a 21:12:30 [Warning] One or more build-args [ARCH] were not consumed 21:12:30 Successfully built 75a0ca06556a 21:12:30 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 21:12:30 provisioning config files... 21:12:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/64@tmp/config388116484342251914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:30 ---> docker-login.sh 21:12:30 nexus3.edgexfoundry.org:10001 21:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:30 Configure a credential helper to remove this warning. See 21:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:30 21:12:30 Login Succeeded 21:12:30 nexus3.edgexfoundry.org:10002 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:31 Configure a credential helper to remove this warning. See 21:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:31 21:12:31 Login Succeeded 21:12:31 nexus3.edgexfoundry.org:10003 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:31 Configure a credential helper to remove this warning. See 21:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:31 21:12:31 Login Succeeded 21:12:31 nexus3.edgexfoundry.org:10004 21:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:31 Configure a credential helper to remove this warning. See 21:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:31 21:12:31 Login Succeeded 21:12:31 docker.io 21:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:32 Configure a credential helper to remove this warning. See 21:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:32 21:12:32 Login Succeeded 21:12:32 ---> docker-login.sh ends [Pipeline] } 21:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:32 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 21:12:32 0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:12:32 latest 21:12:32 2.3.0-dev.25 21:12:32 0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:12:32 main 21:12:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:12:33 3b8c4a426555: Preparing 21:12:33 5ff016e557ee: Preparing 21:12:33 f150e6214816: Preparing 21:12:33 fb0d1c66bc74: Preparing 21:12:33 5d3e392a13a0: Preparing 21:12:33 5d3e392a13a0: Layer already exists 21:12:33 5ff016e557ee: Pushed 21:12:33 3b8c4a426555: Pushed 21:12:34 fb0d1c66bc74: Pushed 21:12:39 f150e6214816: Pushed 21:12:39 0803938d3e117362d3c6c6e4e1a4697135dfbf5d: digest: sha256:417d334f37267557fb6f3f586f3af69abe3baccfcbf39870725428ac7f81d210 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:39 + 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 21:12:40 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:12:40 3b8c4a426555: Preparing 21:12:40 5ff016e557ee: Preparing 21:12:40 f150e6214816: Preparing 21:12:40 fb0d1c66bc74: Preparing 21:12:40 5d3e392a13a0: Preparing 21:12:40 5d3e392a13a0: Layer already exists 21:12:40 f150e6214816: Layer already exists 21:12:40 5ff016e557ee: Layer already exists 21:12:40 3b8c4a426555: Layer already exists 21:12:40 fb0d1c66bc74: Layer already exists 21:12:40 latest: digest: sha256:417d334f37267557fb6f3f586f3af69abe3baccfcbf39870725428ac7f81d210 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:40 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.25 21:12:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:12:41 3b8c4a426555: Preparing 21:12:41 5ff016e557ee: Preparing 21:12:41 f150e6214816: Preparing 21:12:41 fb0d1c66bc74: Preparing 21:12:41 5d3e392a13a0: Preparing 21:12:41 5d3e392a13a0: Layer already exists 21:12:41 5ff016e557ee: Layer already exists 21:12:41 f150e6214816: Layer already exists 21:12:41 3b8c4a426555: Layer already exists 21:12:41 fb0d1c66bc74: Layer already exists 21:12:41 2.3.0-dev.25: digest: sha256:417d334f37267557fb6f3f586f3af69abe3baccfcbf39870725428ac7f81d210 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:12:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:12:41 3b8c4a426555: Preparing 21:12:41 5ff016e557ee: Preparing 21:12:41 f150e6214816: Preparing 21:12:41 fb0d1c66bc74: Preparing 21:12:41 5d3e392a13a0: Preparing 21:12:41 fb0d1c66bc74: Layer already exists 21:12:41 f150e6214816: Layer already exists 21:12:41 3b8c4a426555: Layer already exists 21:12:41 5d3e392a13a0: Layer already exists 21:12:41 5ff016e557ee: Layer already exists 21:12:41 0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25: digest: sha256:417d334f37267557fb6f3f586f3af69abe3baccfcbf39870725428ac7f81d210 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 21:12:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 21:12:42 3b8c4a426555: Preparing 21:12:42 5ff016e557ee: Preparing 21:12:42 f150e6214816: Preparing 21:12:42 fb0d1c66bc74: Preparing 21:12:42 5d3e392a13a0: Preparing 21:12:42 5ff016e557ee: Layer already exists 21:12:42 fb0d1c66bc74: Layer already exists 21:12:42 5d3e392a13a0: Layer already exists 21:12:42 f150e6214816: Layer already exists 21:12:42 3b8c4a426555: Layer already exists 21:12:42 main: digest: sha256:417d334f37267557fb6f3f586f3af69abe3baccfcbf39870725428ac7f81d210 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:12:42 ===================================================== [Pipeline] echo 21:12:42 taggedImages: 21:12:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d 21:12:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 21:12:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.25 21:12:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:0803938d3e117362d3c6c6e4e1a4697135dfbf5d-2.3.0-dev.25 21:12:42 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:42 21:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:43 arm64: Pulling from edgex-lftools-log-publisher 21:12:43 8998bd30e6a1: Pulling fs layer 21:12:43 04944245beec: Pulling fs layer 21:12:43 699f458cf7ca: Pulling fs layer 21:12:43 765212b225bb: Pulling fs layer 21:12:43 f23df028b6ca: Pulling fs layer 21:12:43 d65c8cfc05b1: Pulling fs layer 21:12:43 2437ff75d9bd: Pulling fs layer 21:12:43 765212b225bb: Waiting 21:12:43 f23df028b6ca: Waiting 21:12:43 d65c8cfc05b1: Waiting 21:12:43 2437ff75d9bd: Waiting 21:12:43 04944245beec: Verifying Checksum 21:12:43 04944245beec: Download complete 21:12:43 765212b225bb: Verifying Checksum 21:12:43 765212b225bb: Download complete 21:12:43 f23df028b6ca: Verifying Checksum 21:12:43 f23df028b6ca: Download complete 21:12:43 d65c8cfc05b1: Verifying Checksum 21:12:43 d65c8cfc05b1: Download complete 21:12:43 699f458cf7ca: Verifying Checksum 21:12:43 699f458cf7ca: Download complete 21:12:44 8998bd30e6a1: Verifying Checksum 21:12:44 8998bd30e6a1: Download complete 21:12:46 2437ff75d9bd: Verifying Checksum 21:12:46 2437ff75d9bd: Download complete 21:12:48 8998bd30e6a1: Pull complete 21:12:48 04944245beec: Pull complete 21:12:49 699f458cf7ca: Pull complete 21:12:49 765212b225bb: Pull complete 21:12:50 f23df028b6ca: Pull complete 21:12:50 d65c8cfc05b1: Pull complete 21:13:05 2437ff75d9bd: Pull complete 21:13:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-1865 does not seem to be running inside a container 21:13:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/64 -v /w/workspace/device-onvif-camera/64:/w/workspace/device-onvif-camera/64:rw,z -v /w/workspace/device-onvif-camera/64@tmp:/w/workspace/device-onvif-camera/64@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:13:08 $ docker top 336b05ea42fff903e802dc344d948040264d48540ef2ef60f88119cc7d9782af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:09 ---> job-cost.sh 21:13:09 lf-activate-venv: SKIPPING 21:13:09 INFO: No Stack... 21:13:09 INFO: Retrieving Pricing Info for: v3-standard-4 21:13:10 INFO: Archiving Costs [Pipeline] sh 21:13:11 + cat /w/workspace/device-onvif-camera/64/archives/cost.csv 21:13:11 + cut -d, -f6 [Pipeline] lock 21:13:11 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] 21:13:11 Resource [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] did not exist. Created. 21:13:11 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:11 /w/workspace/device-onvif-camera/64@tmp/durable-0e256404/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:13:12 + echo total: 0.10999999940395355 [Pipeline] stash 21:13:12 Warning: overwriting stash ‘stack-cost’ 21:13:12 Stashed 1 file(s) [Pipeline] } 21:13:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-64-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:12 $ docker stop --time=1 336b05ea42fff903e802dc344d948040264d48540ef2ef60f88119cc7d9782af 21:13:13 $ docker rm -f 336b05ea42fff903e802dc344d948040264d48540ef2ef60f88119cc7d9782af [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 21:13:14 provisioning config files... 21:13:14 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2505599049488856088tmp [Pipeline] { [Pipeline] sh 21:13:14 + set +x 21:13:14 + + curl -sbash https://codecov.io/bash -s 21:13:14 -- 21:13:14 21:13:14 _____ _ 21:13:14 / ____| | | 21:13:14 | | ___ __| | ___ ___ _____ __ 21:13:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:13:14 | |___| (_) | (_| | __/ (_| (_) \ V / 21:13:14 \_____\___/ \__,_|\___|\___\___/ \_/ 21:13:14 Bash-1.0.6 21:13:14 21:13:14 21:13:14 ==> git version 2.25.1 found 21:13:14 ==> 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 21:13:14 Release-Date: 2020-01-08 21:13:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:13:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:13:14 ==> Jenkins CI detected. 21:13:14 current dir:  /w/workspace/foundry_device-onvif-camera_main 21:13:14 project root: . 21:13:14 --> token set from env 21:13:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:13:14 ==> Running gcov in . (disable via -X gcov) 21:13:14 ==> Python coveragepy not found 21:13:14 ==> Searching for coverage reports in: 21:13:14 + . 21:13:14 -> Found 1 reports 21:13:14 ==> Detecting git/mercurial file structure 21:13:14 ==> Reading reports 21:13:14 + ./coverage.out bytes=78461 21:13:14 ==> Appending adjustments 21:13:14 https://docs.codecov.io/docs/fixing-reports 21:13:14 + Found adjustments 21:13:14 ==> Gzipping contents 21:13:14 12K /tmp/codecov.BMbmm9.gz 21:13:14 ==> Uploading reports 21:13:14 url: https://codecov.io 21:13:14 query: branch=main&commit=0803938d3e117362d3c6c6e4e1a4697135dfbf5d&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:13:14 -> Pinging Codecov 21:13:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=0803938d3e117362d3c6c6e4e1a4697135dfbf5d&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 21:13:15 -> Uploading to 21:13:15 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/0803938d3e117362d3c6c6e4e1a4697135dfbf5d/7653c3b5-5e6a-45fc-a043-f2c608fedc4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T211314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04ed844b2e1fad99edb45cad1c6034c2dbf0fbd98099dc3d59ddca0fcbe856d0 21:13:15 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:15 Dload Upload Total Spent Left Speed 21:13:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10710 0 0 100 10710 0 48026 --:--:-- --:--:-- --:--:-- 48026 21:13:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] } 21:13:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:13:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:13:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:15 21:13:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:13:15 df9b9388f04a: Pulling fs layer 21:13:15 52dc419b0ee2: Pulling fs layer 21:13:15 25bc292e5bac: Pulling fs layer 21:13:15 114826534d7a: Pulling fs layer 21:13:15 4657fd5d0bcf: Pulling fs layer 21:13:15 6ad1cebc031e: Pulling fs layer 21:13:15 8a3aa393b2d8: Pulling fs layer 21:13:15 114826534d7a: Waiting 21:13:15 8a3aa393b2d8: Waiting 21:13:15 4657fd5d0bcf: Waiting 21:13:15 6ad1cebc031e: Waiting 21:13:15 25bc292e5bac: Verifying Checksum 21:13:15 25bc292e5bac: Download complete 21:13:15 52dc419b0ee2: Verifying Checksum 21:13:15 52dc419b0ee2: Download complete 21:13:15 4657fd5d0bcf: Verifying Checksum 21:13:15 4657fd5d0bcf: Download complete 21:13:15 df9b9388f04a: Verifying Checksum 21:13:15 df9b9388f04a: Download complete 21:13:16 df9b9388f04a: Pull complete 21:13:16 6ad1cebc031e: Verifying Checksum 21:13:16 6ad1cebc031e: Download complete 21:13:16 52dc419b0ee2: Pull complete 21:13:16 25bc292e5bac: Pull complete 21:13:17 114826534d7a: Verifying Checksum 21:13:17 114826534d7a: Download complete 21:13:17 8a3aa393b2d8: Verifying Checksum 21:13:17 8a3aa393b2d8: Download complete 21:13:20 114826534d7a: Pull complete 21:13:20 4657fd5d0bcf: Pull complete 21:13:20 6ad1cebc031e: Pull complete 21:13:23 8a3aa393b2d8: Pull complete 21:13:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:13:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:23 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:13:25 $ docker top f4a5d34805378260476774b01798721fb8e1e46c68619eb4f120525544ea3d18 -eo pid,comm [Pipeline] { [Pipeline] echo 21:13:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 21:13:25 + set -o pipefail 21:13:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 21:13:31 21:13:31 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 21:13:31 21:13:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/46cd4d37-c4fe-404a-b1cc-7b0041e89a99 21:13:31 21:13:31 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:13:31 21:13:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:13:31 21:13:31 [Pipeline] } 21:13:31 $ docker stop --time=1 f4a5d34805378260476774b01798721fb8e1e46c68619eb4f120525544ea3d18 21:13:33 $ docker rm -f f4a5d34805378260476774b01798721fb8e1e46c68619eb4f120525544ea3d18 [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 21:13:33 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:33 provisioning config files... 21:13:33 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13545736207074120157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:34 --> edgex-publish-swagger.sh 21:13:34 === Publish doc/openapi/v2 API === 21:13:34 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 21:13:34 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 21:13:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:13:34 Dload Upload Total Spent Left Speed 21:13:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 198k --:--:-- --:--:-- --:--:-- 198k 21:13:34 21:13:34 [Pipeline] } 21:13:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:34 + git log --format=format:%s -1 0803938d3e117362d3c6c6e4e1a4697135dfbf5d [Pipeline] sh 21:13:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:35 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:13:36 $ docker top dcd54df508f2633cc38650dcd9384dd45ad68a76d53384f28678e2abbe707d54 -eo pid,comm 21:13:36 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). 21:13:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:36 [ssh-agent] Looking for ssh-agent implementation... 21:13:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:36 $ docker exec dcd54df508f2633cc38650dcd9384dd45ad68a76d53384f28678e2abbe707d54 ssh-agent 21:13:36 SSH_AUTH_SOCK=/tmp/ssh-lCtAtnJlZSly/agent.32 21:13:36 SSH_AGENT_PID=38 21:13:36 Running ssh-add (command line suppressed) 21:13:36 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7225258839758022471.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7225258839758022471.key) 21:13:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:36 + git semver tag 21:13:37 2022-09-28 21:13:37,039 [run_tag] DEBUG tag force:False 21:13:37 2022-09-28 21:13:37,039 [check_head_tag] DEBUG check head tag 21:13:37 2022-09-28 21:13:37,040 [execute] INFO git cat-file --batch-check 21:13:37 2022-09-28 21:13:37,040 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:13:37 2022-09-28 21:13:37,044 [execute] INFO git cat-file --batch 21:13:37 2022-09-28 21:13:37,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 21:13:37 2022-09-28 21:13:37,067 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:37 2022-09-28 21:13:37,068 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 21:13:37 2022-09-28 21:13:37,068 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:13:37 2022-09-28 21:13:37,073 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:37 2.3.0-dev.25 [Pipeline] } 21:13:37 $ docker exec --env ******** --env ******** dcd54df508f2633cc38650dcd9384dd45ad68a76d53384f28678e2abbe707d54 ssh-agent -k 21:13:37 unset SSH_AUTH_SOCK; 21:13:37 unset SSH_AGENT_PID; 21:13:37 echo Agent pid 38 killed; 21:13:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:37 + git semver [Pipeline] } 21:13:37 $ docker stop --time=1 dcd54df508f2633cc38650dcd9384dd45ad68a76d53384f28678e2abbe707d54 21:13:39 $ docker rm -f dcd54df508f2633cc38650dcd9384dd45ad68a76d53384f28678e2abbe707d54 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:13:39 21:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:13:39 0.23.1-centos7: Pulling from edgex-lftools 21:13:39 ab5ef0e58194: Pulling fs layer 21:13:39 9712f1f96733: Pulling fs layer 21:13:39 63f879dbbcfc: Pulling fs layer 21:13:39 0d9ebad4ef96: Pulling fs layer 21:13:39 e9a5061849ea: Pulling fs layer 21:13:39 d747dcd14b5f: Pulling fs layer 21:13:39 2de7ff778b66: Pulling fs layer 21:13:39 0d9ebad4ef96: Waiting 21:13:39 e9a5061849ea: Waiting 21:13:39 d747dcd14b5f: Waiting 21:13:39 9712f1f96733: Download complete 21:13:40 63f879dbbcfc: Verifying Checksum 21:13:40 63f879dbbcfc: Download complete 21:13:40 e9a5061849ea: Verifying Checksum 21:13:40 e9a5061849ea: Download complete 21:13:40 d747dcd14b5f: Download complete 21:13:40 2de7ff778b66: Verifying Checksum 21:13:40 2de7ff778b66: Download complete 21:13:40 0d9ebad4ef96: Verifying Checksum 21:13:40 0d9ebad4ef96: Download complete 21:13:40 ab5ef0e58194: Verifying Checksum 21:13:40 ab5ef0e58194: Download complete 21:13:43 ab5ef0e58194: Pull complete 21:13:43 9712f1f96733: Pull complete 21:13:44 63f879dbbcfc: Pull complete 21:13:48 0d9ebad4ef96: Pull complete 21:13:48 e9a5061849ea: Pull complete 21:13:48 d747dcd14b5f: Pull complete 21:13:49 2de7ff778b66: Pull complete 21:13:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:13:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:49 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:13:51 $ docker top 2dd64966bde2365c112e85626225262b78fa78e8df562884b4305218101a5cfb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:13:51 provisioning config files... 21:13:51 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14398266430121612007tmp 21:13:51 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7997615616323050546tmp 21:13:51 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15968732574478972195tmp [Pipeline] { [Pipeline] echo 21:13:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:13:52 ---> sigul-configuration.sh 21:13:52 gpg: directory `/root/.gnupg' created 21:13:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:13:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:13:52 gpg: keyring `/root/.gnupg/secring.gpg' created 21:13:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:13:52 gpg: CAST5 encrypted data 21:13:52 gpg: encrypted with 1 passphrase 21:13:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:13:52 + mkdir /home/jenkins 21:13:52 + mkdir /home/jenkins/sigul [Pipeline] sh 21:13:52 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:13:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:13:52 ---> sigul-install.sh 21:13:52 Sigul already installed; skipping installation. [Pipeline] sh 21:13:53 + git tag --list 21:13:53 v0.0.0 21:13:53 v0.0.1-dev.1 21:13:53 v0.0.1-dev.10 21:13:53 v0.0.1-dev.11 21:13:53 v0.0.1-dev.12 21:13:53 v0.0.1-dev.13 21:13:53 v0.0.1-dev.14 21:13:53 v0.0.1-dev.15 21:13:53 v0.0.1-dev.16 21:13:53 v0.0.1-dev.17 21:13:53 v0.0.1-dev.18 21:13:53 v0.0.1-dev.19 21:13:53 v0.0.1-dev.2 21:13:53 v0.0.1-dev.20 21:13:53 v0.0.1-dev.21 21:13:53 v0.0.1-dev.22 21:13:53 v0.0.1-dev.23 21:13:53 v0.0.1-dev.24 21:13:53 v0.0.1-dev.25 21:13:53 v0.0.1-dev.26 21:13:53 v0.0.1-dev.27 21:13:53 v0.0.1-dev.28 21:13:53 v0.0.1-dev.3 21:13:53 v0.0.1-dev.4 21:13:53 v0.0.1-dev.5 21:13:53 v0.0.1-dev.6 21:13:53 v0.0.1-dev.7 21:13:53 v0.0.1-dev.8 21:13:53 v0.0.1-dev.9 21:13:53 v2.2.0 21:13:53 v2.2.0-dev.29 21:13:53 v2.2.0-dev.30 21:13:53 v2.2.0-dev.31 21:13:53 v2.2.0-dev.32 21:13:53 v2.2.0-dev.33 21:13:53 v2.2.0-dev.34 21:13:53 v2.2.0-dev.35 21:13:53 v2.3.0-dev.1 21:13:53 v2.3.0-dev.10 21:13:53 v2.3.0-dev.11 21:13:53 v2.3.0-dev.12 21:13:53 v2.3.0-dev.13 21:13:53 v2.3.0-dev.14 21:13:53 v2.3.0-dev.15 21:13:53 v2.3.0-dev.16 21:13:53 v2.3.0-dev.17 21:13:53 v2.3.0-dev.18 21:13:53 v2.3.0-dev.19 21:13:53 v2.3.0-dev.2 21:13:53 v2.3.0-dev.20 21:13:53 v2.3.0-dev.21 21:13:53 v2.3.0-dev.22 21:13:53 v2.3.0-dev.23 21:13:53 v2.3.0-dev.24 21:13:53 v2.3.0-dev.25 21:13:53 v2.3.0-dev.3 21:13:53 v2.3.0-dev.4 21:13:53 v2.3.0-dev.5 21:13:53 v2.3.0-dev.6 21:13:53 v2.3.0-dev.7 21:13:53 v2.3.0-dev.8 21:13:53 v2.3.0-dev.9 [Pipeline] sh 21:13:53 + lftools sign git-tag v2.3.0-dev.25 21:13:54 Signing Git tag with Sigul... 21:13:54 Signing v2.3.0-dev.25 [Pipeline] echo 21:13:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:13:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:13:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:13:54 $ docker stop --time=1 2dd64966bde2365c112e85626225262b78fa78e8df562884b4305218101a5cfb 21:13:55 $ docker rm -f 2dd64966bde2365c112e85626225262b78fa78e8df562884b4305218101a5cfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:13:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:56 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:13:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:13:57 $ docker top 59cbc0d02845ba3815d130579b1e4ab4dd3a8619653f54e707ad2635063b6a3b -eo pid,comm 21:13:57 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). 21:13:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:57 [ssh-agent] Looking for ssh-agent implementation... 21:13:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:57 $ docker exec 59cbc0d02845ba3815d130579b1e4ab4dd3a8619653f54e707ad2635063b6a3b ssh-agent 21:13:57 SSH_AUTH_SOCK=/tmp/ssh-vdgjdkcN20di/agent.32 21:13:57 SSH_AGENT_PID=38 21:13:57 Running ssh-add (command line suppressed) 21:13:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11236406295426799838.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11236406295426799838.key) 21:13:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:57 + git semver bump pre 21:13:58 2022-09-28 21:13:57,940 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:58 2022-09-28 21:13:57,940 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev 21:13:58 2022-09-28 21:13:57,940 [bump_version] DEBUG bumped version:2.3.0-dev.26 21:13:58 2022-09-28 21:13:57,940 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 21:13:58 2022-09-28 21:13:57,940 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:58 2022-09-28 21:13:57,940 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:58 2022-09-28 21:13:57,942 [execute] INFO git cat-file --batch-check 21:13:58 2022-09-28 21:13:57,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:13:58 2022-09-28 21:13:57,947 [execute] INFO git cat-file --batch 21:13:58 2022-09-28 21:13:57,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:13:58 2022-09-28 21:13:57,952 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:13:58 2.3.0-dev.26 [Pipeline] } 21:13:58 $ docker exec --env ******** --env ******** 59cbc0d02845ba3815d130579b1e4ab4dd3a8619653f54e707ad2635063b6a3b ssh-agent -k 21:13:58 unset SSH_AUTH_SOCK; 21:13:58 unset SSH_AGENT_PID; 21:13:58 echo Agent pid 38 killed; 21:13:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:58 + git semver [Pipeline] } 21:13:58 $ docker stop --time=1 59cbc0d02845ba3815d130579b1e4ab4dd3a8619653f54e707ad2635063b6a3b 21:14:00 $ docker rm -f 59cbc0d02845ba3815d130579b1e4ab4dd3a8619653f54e707ad2635063b6a3b [Pipeline] // withDockerContainer [Pipeline] sh 21:14:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:00 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:14:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:14:01 $ docker top 4f4e0616b19120d23fd2c30dc7cb7e9dccb6f25eae53d814d3e8b0ca612c26a0 -eo pid,comm 21:14: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). 21:14:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:14:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:14:01 [ssh-agent] Looking for ssh-agent implementation... 21:14:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:14:01 $ docker exec 4f4e0616b19120d23fd2c30dc7cb7e9dccb6f25eae53d814d3e8b0ca612c26a0 ssh-agent 21:14:01 SSH_AUTH_SOCK=/tmp/ssh-UXaqCJ7NyMb3/agent.32 21:14:01 SSH_AGENT_PID=38 21:14:01 Running ssh-add (command line suppressed) 21:14:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16743851427203584816.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16743851427203584816.key) 21:14:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:14:01 + git semver push 21:14:02 2022-09-28 21:14:02,002 [run_push] DEBUG push 21:14:02 2022-09-28 21:14:02,002 [execute] INFO git cat-file --batch-check 21:14:02 2022-09-28 21:14:02,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 21:14:02 2022-09-28 21:14:02,006 [execute] INFO git rev-list f144783dc3fdf6a2d7c81e642a137da7e5490838 -- 21:14:02 2022-09-28 21:14:02,006 [execute] DEBUG Popen(['git', 'rev-list', 'f144783dc3fdf6a2d7c81e642a137da7e5490838', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:14:02 2022-09-28 21:14:02,013 [execute] INFO git fetch -v origin 21:14:02 2022-09-28 21:14:02,013 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 21:14:02 2022-09-28 21:14:02,619 [run_push] DEBUG no remote changes detected 21:14:02 2022-09-28 21:14:02,620 [execute] INFO git push origin semver 21:14:02 2022-09-28 21:14:02,620 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 21:14:03 2022-09-28 21:14:03,543 [run_push] DEBUG push all version tags 21:14:03 2022-09-28 21:14:03,544 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:14:03 2022-09-28 21:14:03,544 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 21:14:04 2022-09-28 21:14:04,363 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 21:14:04 2.3.0-dev.26 [Pipeline] } 21:14:04 $ docker exec --env ******** --env ******** 4f4e0616b19120d23fd2c30dc7cb7e9dccb6f25eae53d814d3e8b0ca612c26a0 ssh-agent -k 21:14:04 unset SSH_AUTH_SOCK; 21:14:04 unset SSH_AGENT_PID; 21:14:04 echo Agent pid 38 killed; 21:14:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:14:04 + git semver [Pipeline] } 21:14:05 $ docker stop --time=1 4f4e0616b19120d23fd2c30dc7cb7e9dccb6f25eae53d814d3e8b0ca612c26a0 21:14:06 $ docker rm -f 4f4e0616b19120d23fd2c30dc7cb7e9dccb6f25eae53d814d3e8b0ca612c26a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:14:07 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 21:14:07 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:14:07 total 16 21:14:07 drwxr-xr-x 3 root root 4096 Sep 28 21:05 . 21:14:07 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 21:13 .. 21:14:07 drwxr-xr-x 2 root root 4096 Sep 28 21:05 cost 21:14:07 -rw-r--r-- 1 root root 90 Sep 28 21:05 cost.csv 21:14:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 21:14:07 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 21:14:07 total 16 21:14:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 21:05 . 21:14:07 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 21:13 .. 21:14:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 21:05 cost 21:14:07 -rw-r--r-- 1 jenkins jenkins 90 Sep 28 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:08 ---> package-listing.sh 21:14:08 ++ facter osfamily 21:14:08 ++ tr '[:upper:]' '[:lower:]' 21:14:08 + OS_FAMILY=debian 21:14:08 + workspace=/w/workspace/foundry_device-onvif-camera_main 21:14:08 + START_PACKAGES=/tmp/packages_start.txt 21:14:08 + END_PACKAGES=/tmp/packages_end.txt 21:14:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:08 + PACKAGES=/tmp/packages_start.txt 21:14:08 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:14:08 + PACKAGES=/tmp/packages_end.txt 21:14:08 + case "${OS_FAMILY}" in 21:14:08 + dpkg -l 21:14:08 + grep '^ii' 21:14:08 + '[' -f /tmp/packages_start.txt ']' 21:14:08 + '[' -f /tmp/packages_end.txt ']' 21:14:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:08 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 21:14:08 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 21:14:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 21:14:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:09 prd-ubuntu20.04-docker-8c-8g-1862 does not seem to be running inside a container 21:14:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:09 $ docker top ebd372fc9ad8606afb22a372ae93600a0da9da1b8f240d5fd1615677ba2365ab -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:09 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:10 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:10 + ls /var/log/sa-host 21:14:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:10 provisioning config files... 21:14:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7807411673673820552tmp [Pipeline] { [Pipeline] echo 21:14:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:10 ---> create-netrc.sh [Pipeline] } 21:14:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:11 ---> python-tools-install.sh [Pipeline] echo 21:14:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:11 ---> sudo-logs.sh 21:14:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:11 ---> job-cost.sh 21:14:11 lf-activate-venv: SKIPPING 21:14:11 DEBUG: total: 0.2199999988079071 21:14:11 INFO: Retrieving Stack Cost... 21:14:11 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:12 INFO: Archiving Costs [Pipeline] echo 21:14:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:12 ---> logs-deploy.sh 21:14:12 lf-activate-venv: SKIPPING 21:14:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/64 21:14:12 INFO: archiving workspace using pattern(s): 21:14:13 Archives upload complete. 21:14:13 INFO: archiving logs to Nexus