Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d3157763bdfd8f49e0a7266dceddd97d249ca275 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-ssh1273786009192643766.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-ssh9773404559826417173.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-ssh9160713185558317956.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-ssh2528454432807321088.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-ssh9047035328632420142.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 on ‘prd-ubuntu20.04-docker-8c-8g-455’ Running on prd-ubuntu20.04-docker-8c-8g-457 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 (main) > 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 d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 Commit message: "test: add nestscan discovery tests (#152)" > git rev-list --no-walk 87a99194a9b26dcc406e93b3278c003764c3a70a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:51:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:51:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:51:22 ========================================================= 19:51:22 EdgeX Global Pipelines Version Info 19:51:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:51:23 ------------------- 19:51:23 stable info: 19:51:23 ------------------- 19:51:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:51:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:51:23 Message: update stable to v1.0.239 19:51:24 ------------------- 19:51:24 experimental info: 19:51:24 ------------------- 19:51:24 Commited By: **** collab-it+edgex@linuxfoundation.org 19:51:24 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:51:24 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d315776 [Pipeline] echo 19:51:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:24 provisioning config files... 19:51:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4903632987002610804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:25 ---> docker-login.sh 19:51:25 nexus3.edgexfoundry.org:10001 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 nexus3.edgexfoundry.org:10002 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 nexus3.edgexfoundry.org:10003 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 nexus3.edgexfoundry.org:10004 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:25 Configure a credential helper to remove this warning. See 19:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:25 19:51:25 Login Succeeded 19:51:25 docker.io 19:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:26 Configure a credential helper to remove this warning. See 19:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:26 19:51:26 Login Succeeded 19:51:26 ---> docker-login.sh ends [Pipeline] } 19:51:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:51:26 + git rev-list -1 --merges d3157763bdfd8f49e0a7266dceddd97d249ca275~1..d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo 19:51:26 -----------> git rev-list -1 --merges d3157763bdfd8f49e0a7266dceddd97d249ca275~1..d3157763bdfd8f49e0a7266dceddd97d249ca275 d3157763bdfd8f49e0a7266dceddd97d249ca275 [false] [Pipeline] sh 19:51:26 + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo 19:51:26 ========================================================= 19:51:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:51:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:27 + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] echo 19:51:27 [semverPrep] GIT_COMMIT: d3157763bdfd8f49e0a7266dceddd97d249ca275, Commit Message: test: add nestscan discovery tests (#152) [Pipeline] echo 19:51:27 [semverPrep] This is not a build commit. [Pipeline] sh 19:51:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:51:27 + grep -v github /etc/ssh/ssh_known_hosts 19:51:27 + [ -e /tmp/ssh_known_hosts ] 19:51:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:51:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:51:27 + sudo tee -a /etc/ssh/ssh_known_hosts 19:51:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:27 19:51:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:28 0.1.4: Pulling from edgex-devops/py-git-semver 19:51:28 b85a868b505f: Pulling fs layer 19:51:28 e2be974225ed: Pulling fs layer 19:51:28 339a4e72a1f5: Pulling fs layer 19:51:28 988bab9f4d93: Pulling fs layer 19:51:28 1469e6f7b9e6: Pulling fs layer 19:51:28 eaf3925da568: Pulling fs layer 19:51:28 bab4dde63d76: Pulling fs layer 19:51:28 eaf3925da568: Waiting 19:51:28 1469e6f7b9e6: Waiting 19:51:28 bde34c3a00c8: Pulling fs layer 19:51:28 b352a97aabf1: Pulling fs layer 19:51:28 bab4dde63d76: Waiting 19:51:28 bde34c3a00c8: Waiting 19:51:28 4872d77fe225: Pulling fs layer 19:51:28 5851b861e8e6: Pulling fs layer 19:51:28 4872d77fe225: Waiting 19:51:28 b352a97aabf1: Waiting 19:51:28 e2be974225ed: Verifying Checksum 19:51:28 e2be974225ed: Download complete 19:51:28 988bab9f4d93: Verifying Checksum 19:51:28 988bab9f4d93: Download complete 19:51:28 1469e6f7b9e6: Verifying Checksum 19:51:28 1469e6f7b9e6: Download complete 19:51:28 eaf3925da568: Verifying Checksum 19:51:28 eaf3925da568: Download complete 19:51:28 339a4e72a1f5: Verifying Checksum 19:51:28 339a4e72a1f5: Download complete 19:51:28 bde34c3a00c8: Verifying Checksum 19:51:28 bde34c3a00c8: Download complete 19:51:28 b352a97aabf1: Download complete 19:51:28 4872d77fe225: Verifying Checksum 19:51:28 4872d77fe225: Download complete 19:51:28 5851b861e8e6: Download complete 19:51:28 b85a868b505f: Verifying Checksum 19:51:28 b85a868b505f: Download complete 19:51:29 bab4dde63d76: Verifying Checksum 19:51:29 bab4dde63d76: Download complete 19:51:30 b85a868b505f: Pull complete 19:51:30 e2be974225ed: Pull complete 19:51:30 339a4e72a1f5: Pull complete 19:51:30 988bab9f4d93: Pull complete 19:51:30 1469e6f7b9e6: Pull complete 19:51:30 eaf3925da568: Pull complete 19:51:32 bab4dde63d76: Pull complete 19:51:32 bde34c3a00c8: Pull complete 19:51:32 b352a97aabf1: Pull complete 19:51:32 4872d77fe225: Pull complete 19:51:32 5851b861e8e6: Pull complete 19:51:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:51:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:32 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 19:51:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:51:34 $ docker top 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe -eo pid,comm 19:51:34 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). 19:51:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:51:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:34 [ssh-agent] Looking for ssh-agent implementation... 19:51:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:34 $ docker exec 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent 19:51:34 SSH_AUTH_SOCK=/tmp/ssh-IW8LOBpeqIDj/agent.32 19:51:34 SSH_AGENT_PID=38 19:51:34 Running ssh-add (command line suppressed) 19:51:34 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13165630898327459779.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13165630898327459779.key) 19:51:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:35 + git tag --points-at HEAD [Pipeline] } 19:51:35 $ docker exec --env ******** --env ******** 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent -k 19:51:35 unset SSH_AUTH_SOCK; 19:51:35 unset SSH_AGENT_PID; 19:51:35 echo Agent pid 38 killed; 19:51:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:51:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:35 [ssh-agent] Looking for ssh-agent implementation... 19:51:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:35 $ docker exec 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent 19:51:35 SSH_AUTH_SOCK=/tmp/ssh-kGRQ7kYdXOQW/agent.70 19:51:35 SSH_AGENT_PID=76 19:51:35 Running ssh-add (command line suppressed) 19:51:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11605055424593898576.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11605055424593898576.key) 19:51:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:35 + git semver init 19:51:36 2022-09-21 19:51:36,169 [run_init] DEBUG init version:0.0.0 force:False 19:51:36 2022-09-21 19:51:36,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 19:51:36 2022-09-21 19:51:36,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 19:51:36 2022-09-21 19:51:36,171 [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) 19:51:37 2022-09-21 19:51:37,116 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 19:51:37 2022-09-21 19:51:37,116 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 19:51:37 2022-09-21 19:51:37,116 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:51:37 2022-09-21 19:51:37,116 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:51:37 2.3.0-dev.20 [Pipeline] } 19:51:37 $ docker exec --env ******** --env ******** 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe ssh-agent -k 19:51:37 unset SSH_AUTH_SOCK; 19:51:37 unset SSH_AGENT_PID; 19:51:37 echo Agent pid 76 killed; 19:51:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:51:37 + git semver [Pipeline] } 19:51:37 $ docker stop --time=1 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe 19:51:39 $ docker rm -f 7d57f99effb0b7eef4871395da9e1597e25320e5b4ce523fa04e2b293cd5abbe [Pipeline] // withDockerContainer [Pipeline] sh 19:51:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:51:39 Stashed 1 file(s) [Pipeline] echo 19:51:39 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [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 19:51:39 provisioning config files... 19:51:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17915077686857590649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:40 ---> docker-login.sh 19:51:40 nexus3.edgexfoundry.org:10001 19:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:40 Configure a credential helper to remove this warning. See 19:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:40 19:51:40 Login Succeeded 19:51:40 nexus3.edgexfoundry.org:10002 19:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:40 Configure a credential helper to remove this warning. See 19:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:40 19:51:40 Login Succeeded 19:51:40 nexus3.edgexfoundry.org:10003 19:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:40 Configure a credential helper to remove this warning. See 19:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:40 19:51:40 Login Succeeded 19:51:40 nexus3.edgexfoundry.org:10004 19:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:40 Configure a credential helper to remove this warning. See 19:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:40 19:51:40 Login Succeeded 19:51:40 docker.io 19:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:40 Configure a credential helper to remove this warning. See 19:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:40 19:51:40 Login Succeeded 19:51:40 ---> docker-login.sh ends [Pipeline] } 19:51:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:51:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:40 ========================================================= 19:51:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:51:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:41 + 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 . 19:51:41 Sending build context to Docker daemon 20.68MB 19:51:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:51:41 Step 2/13 : FROM ${BASE} AS builder 19:51:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:51:41 2408cc74d12b: Pulling fs layer 19:51:41 ea60b727a1ce: Pulling fs layer 19:51:41 30c4a7721957: Pulling fs layer 19:51:41 370296b7ddb6: Pulling fs layer 19:51:41 7c6cee850709: Pulling fs layer 19:51:41 39a5fcdaea64: Pulling fs layer 19:51:41 d94ebbe4e438: Pulling fs layer 19:51:41 bcfd1f05c69d: Pulling fs layer 19:51:41 59ccb84bbe0f: Pulling fs layer 19:51:41 370296b7ddb6: Waiting 19:51:41 39a5fcdaea64: Waiting 19:51:41 d94ebbe4e438: Waiting 19:51:41 bcfd1f05c69d: Waiting 19:51:41 7c6cee850709: Waiting 19:51:41 59ccb84bbe0f: Waiting 19:51:41 30c4a7721957: Download complete 19:51:41 ea60b727a1ce: Verifying Checksum 19:51:41 ea60b727a1ce: Download complete 19:51:41 7c6cee850709: Download complete 19:51:41 39a5fcdaea64: Verifying Checksum 19:51:41 39a5fcdaea64: Download complete 19:51:41 2408cc74d12b: Verifying Checksum 19:51:41 2408cc74d12b: Download complete 19:51:41 d94ebbe4e438: Download complete 19:51:41 2408cc74d12b: Pull complete 19:51:41 ea60b727a1ce: Pull complete 19:51:41 30c4a7721957: Pull complete 19:51:42 59ccb84bbe0f: Verifying Checksum 19:51:42 59ccb84bbe0f: Download complete 19:51:42 bcfd1f05c69d: Verifying Checksum 19:51:42 bcfd1f05c69d: Download complete 19:51:42 370296b7ddb6: Verifying Checksum 19:51:42 370296b7ddb6: Download complete 19:51:47 370296b7ddb6: Pull complete 19:51:47 7c6cee850709: Pull complete 19:51:47 39a5fcdaea64: Pull complete 19:51:47 d94ebbe4e438: Pull complete 19:51:49 bcfd1f05c69d: Pull complete 19:51:49 59ccb84bbe0f: Pull complete 19:51:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:51:49 ---> a4fb48ad2a94 19:51:49 Step 3/13 : ARG MAKE="make build" 19:51:52 ---> Running in 11d9d7c8588f 19:51:52 Removing intermediate container 11d9d7c8588f 19:51:52 ---> 92080668e3a5 19:51:52 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:51:52 ---> Running in 4d6ce836456d 19:51:52 Removing intermediate container 4d6ce836456d 19:51:52 ---> 15a5f20040ed 19:51:52 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:51:52 ---> Running in 81423e9e133f 19:51:52 Removing intermediate container 81423e9e133f 19:51:52 ---> c8bee34bb5e2 19:51:52 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:51:52 ---> Running in 34a41b185f6f 19:51:52 Removing intermediate container 34a41b185f6f 19:51:52 ---> 7f9daa1d53b6 19:51:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:52 ---> Running in a7c6b684cada 19:51:52 Removing intermediate container a7c6b684cada 19:51:52 ---> e4d3939b881f 19:51:52 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:52 ---> Running in 4d32170baf6e 19:51:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:51:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:51:54 OK: 211 MiB in 51 packages 19:51:54 Removing intermediate container 4d32170baf6e 19:51:54 ---> b8896b7f396b 19:51:54 Step 9/13 : WORKDIR /device-onvif-camera 19:51:54 ---> Running in f6f47e2b0c1e 19:51:54 Removing intermediate container f6f47e2b0c1e 19:51:54 ---> 7069cbc51f5a 19:51:54 Step 10/13 : COPY go.mod vendor* ./ 19:51:54 Still waiting to schedule task 19:51:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-456’ is offline 19:51:54 ---> b02c630060ab 19:51:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:54 ---> Running in f88fe49b42d1 19:52:17 Removing intermediate container f88fe49b42d1 19:52:17 ---> 59ec52fc0913 19:52:17 Step 12/13 : COPY . . 19:52:17 ---> 3e7391b3ef38 19:52:17 Step 13/13 : RUN ${MAKE} 19:52:17 ---> Running in d506de35715c 19:52:17 noop 19:52:17 Removing intermediate container d506de35715c 19:52:17 ---> aa17f30a51f2 19:52:17 Successfully built aa17f30a51f2 19:52:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:18 + docker inspect -f . ci-base-image-x86_64 19:52:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:18 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 19:52:18 $ 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 ******** ci-base-image-x86_64 cat 19:52:18 $ docker top 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:18 + go version 19:52:18 go version go1.18.3 linux/amd64 [Pipeline] } 19:52:19 $ docker stop --time=1 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 19:52:20 $ docker rm -f 6a2e565404237babe6661988d33b3fad24f60a0147b5bbe53f9f9a8b83a466b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:20 + docker inspect -f . ci-base-image-x86_64 19:52:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:20 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 19:52:20 $ 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 ******** ci-base-image-x86_64 cat 19:52:21 $ docker top 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:21 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 19:52:21 + make test 19:52:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:52:22 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:52:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:52:34 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.039s coverage: 28.6% of statements 19:52:34 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:52:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.576s coverage: 86.5% of statements 19:52:42 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." 19:52:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:52:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:52:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:52:46 ./bin/test-attribution-txt.sh [Pipeline] echo 19:52:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:52:46 $ docker stop --time=1 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff 19:52:48 $ docker rm -f 95e2c2f745b70a27c5548b62cdcdbb867958d3d55929ce579f9e2a4648bf03ff [Pipeline] // withDockerContainer [Pipeline] sh 19:52:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:52:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:52:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:52:50 + ls -al . 19:52:50 total 236 19:52:50 drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 19:52 . 19:52:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 .. 19:52:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 19:52 .git 19:52:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:51 .github 19:52:50 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 19:51 .gitignore 19:52:50 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 19:51 .golangci.yml 19:52:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 19:51 .semver 19:52:50 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 19:51 Attribution.txt 19:52:50 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 19:51 CHANGELOG.md 19:52:50 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 19:51 Dockerfile 19:52:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 19:51 GOVERNANCE.md 19:52:50 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 19:51 Jenkinsfile 19:52:50 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 19:51 LICENSE 19:52:50 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 19:51 Makefile 19:52:50 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 19:51 OWNERS.md 19:52:50 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 19:51 README.md 19:52:50 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 19:51 VERSION 19:52:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 19:51 bin 19:52:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:51 cmd 19:52:50 -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 19:52 coverage.out 19:52:50 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 19:51 doc 19:52:50 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 19:51 go.mod 19:52:50 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 19:51 go.sum 19:52:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 internal 19:52:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:51 snap 19:52:50 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:50 + 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=d3157763bdfd8f49e0a7266dceddd97d249ca275 --label arch=amd64 --label version=2.3.0-dev.20 . 19:52:50 Sending build context to Docker daemon 20.76MB 19:52:50 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:52:50 Step 2/26 : FROM ${BASE} AS builder 19:52:50 ---> aa17f30a51f2 19:52:50 Step 3/26 : ARG MAKE="make build" 19:52:50 ---> Running in f932aa795f3a 19:52:50 Removing intermediate container f932aa795f3a 19:52:50 ---> e63836707062 19:52:50 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:52:50 ---> Running in c162c7f1d190 19:52:50 Removing intermediate container c162c7f1d190 19:52:50 ---> 22e4500d2a8f 19:52:50 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:52:50 ---> Running in e5d4d459fcb4 19:52:50 Removing intermediate container e5d4d459fcb4 19:52:50 ---> e909c3f68ee8 19:52:50 Step 6/26 : LABEL Name=edgex-device-onvif-camera 19:52:50 ---> Running in 7a4f7ffa69a9 19:52:50 Removing intermediate container 7a4f7ffa69a9 19:52:50 ---> 238022a8588a 19:52:50 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:52:50 ---> Running in 138f0937e6e9 19:52:51 Removing intermediate container 138f0937e6e9 19:52:51 ---> a30ef48b016d 19:52:51 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:52:51 ---> Running in c842f6f2491b 19:52:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:52:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:52:52 OK: 211 MiB in 51 packages 19:52:53 Removing intermediate container c842f6f2491b 19:52:53 ---> a1ea586770a3 19:52:53 Step 9/26 : WORKDIR /device-onvif-camera 19:52:53 ---> Running in 38c8f225a2db 19:52:53 Removing intermediate container 38c8f225a2db 19:52:53 ---> c43b9d2213d5 19:52:53 Step 10/26 : COPY go.mod vendor* ./ 19:52:53 ---> 7195b54c1bcb 19:52:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:53 ---> Running in dee8a3fde43c 19:52:54 Removing intermediate container dee8a3fde43c 19:52:54 ---> 9f3663286d27 19:52:54 Step 12/26 : COPY . . 19:52:54 ---> eb9e8ed43730 19:52:54 Step 13/26 : RUN ${MAKE} 19:52:54 ---> Running in d60c74025bad 19:52:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 19:53:17 Removing intermediate container d60c74025bad 19:53:17 ---> 3b83ddae1390 19:53:17 Step 14/26 : FROM alpine:3.16 19:53:17 3.16: Pulling from library/alpine 19:53:17 213ec9aee27d: Pulling fs layer 19:53:17 213ec9aee27d: Verifying Checksum 19:53:17 213ec9aee27d: Download complete 19:53:17 213ec9aee27d: Pull complete 19:53:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:53:17 Status: Downloaded newer image for alpine:3.16 19:53:17 ---> 9c6f07244728 19:53:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:53:17 ---> Running in 93a68f37f212 19:53:17 Removing intermediate container 93a68f37f212 19:53:17 ---> 8da7dafb23cc 19:53:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:53:17 ---> Running in 783fdf978a27 19:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:53:18 (1/6) Installing dumb-init (1.2.5-r1) 19:53:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:53:18 (3/6) Installing libsodium (1.0.18-r0) 19:53:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:53:18 (5/6) Installing libzmq (4.3.4-r0) 19:53:18 (6/6) Installing zeromq (4.3.4-r0) 19:53:18 Executing busybox-1.35.0-r17.trigger 19:53:18 OK: 8 MiB in 20 packages 19:53:18 Removing intermediate container 783fdf978a27 19:53:18 ---> 7783594dd230 19:53:18 Step 17/26 : WORKDIR / 19:53:18 ---> Running in 1273c658c8e4 19:53:18 Removing intermediate container 1273c658c8e4 19:53:18 ---> 7d17793554cf 19:53:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:53:19 ---> 30a3cb439dd2 19:53:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:53:19 ---> 830e07882605 19:53:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:53:19 ---> a1453cac4ffe 19:53:19 Step 21/26 : EXPOSE 59984 19:53:19 ---> Running in 8feed89695ea 19:53:19 Removing intermediate container 8feed89695ea 19:53:19 ---> f03ed8250042 19:53:19 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:53:19 ---> Running in be4a42d47957 19:53:19 Removing intermediate container be4a42d47957 19:53:19 ---> d5d3c27cfa08 19:53:19 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:53:19 ---> Running in a318144a6fd0 19:53:20 Removing intermediate container a318144a6fd0 19:53:20 ---> cdb360777771 19:53:20 Step 24/26 : LABEL arch=amd64 19:53:20 ---> Running in 14e8e582b54a 19:53:20 Removing intermediate container 14e8e582b54a 19:53:20 ---> 4e3af243fa53 19:53:20 Step 25/26 : LABEL git_sha=d3157763bdfd8f49e0a7266dceddd97d249ca275 19:53:20 ---> Running in f03ae9784333 19:53:20 Removing intermediate container f03ae9784333 19:53:20 ---> 96c4451b0fe5 19:53:20 Step 26/26 : LABEL version=2.3.0-dev.20 19:53:20 ---> Running in 7e522a0eee5a 19:53:20 Removing intermediate container 7e522a0eee5a 19:53:20 ---> 564ca5e8b238 19:53:20 [Warning] One or more build-args [ARCH] were not consumed 19:53:20 Successfully built 564ca5e8b238 19:53:20 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 19:53:20 provisioning config files... 19:53:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16505989461068052297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:20 ---> docker-login.sh 19:53:20 nexus3.edgexfoundry.org:10001 19:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:20 Configure a credential helper to remove this warning. See 19:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:20 19:53:20 Login Succeeded 19:53:20 nexus3.edgexfoundry.org:10002 19:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:20 Configure a credential helper to remove this warning. See 19:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:20 19:53:20 Login Succeeded 19:53:20 nexus3.edgexfoundry.org:10003 19:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:21 Configure a credential helper to remove this warning. See 19:53:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:21 19:53:21 Login Succeeded 19:53:21 nexus3.edgexfoundry.org:10004 19:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:21 Configure a credential helper to remove this warning. See 19:53:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:21 19:53:21 Login Succeeded 19:53:21 docker.io 19:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:21 Configure a credential helper to remove this warning. See 19:53:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:21 19:53:21 Login Succeeded 19:53:21 ---> docker-login.sh ends [Pipeline] } 19:53:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:21 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 19:53:21 d3157763bdfd8f49e0a7266dceddd97d249ca275 19:53:21 latest 19:53:21 2.3.0-dev.20 19:53:21 d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 19:53:21 main 19:53:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 19:53:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:53:22 efa32162e3d1: Preparing 19:53:22 1362cdb32359: Preparing 19:53:22 d77ff044fe70: Preparing 19:53:22 3c582dd35a36: Preparing 19:53:22 994393dc58e7: Preparing 19:53:22 994393dc58e7: Layer already exists 19:53:22 efa32162e3d1: Pushed 19:53:22 1362cdb32359: Pushed 19:53:22 3c582dd35a36: Pushed 19:53:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-458 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 19:53:24 Running in /w/workspace/device-onvif-camera/59 [Pipeline] { [Pipeline] checkout 19:53:24 The recommended git tool is: git 19:53:25 d77ff044fe70: Pushed 19:53:25 d3157763bdfd8f49e0a7266dceddd97d249ca275: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:25 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:53:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:53:25 efa32162e3d1: Preparing 19:53:25 1362cdb32359: Preparing 19:53:25 d77ff044fe70: Preparing 19:53:25 3c582dd35a36: Preparing 19:53:25 994393dc58e7: Preparing 19:53:25 3c582dd35a36: Layer already exists 19:53:25 994393dc58e7: Layer already exists 19:53:25 efa32162e3d1: Layer already exists 19:53:25 d77ff044fe70: Layer already exists 19:53:25 1362cdb32359: Layer already exists 19:53:25 latest: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 19:53:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:53:26 efa32162e3d1: Preparing 19:53:26 1362cdb32359: Preparing 19:53:26 d77ff044fe70: Preparing 19:53:26 3c582dd35a36: Preparing 19:53:26 994393dc58e7: Preparing 19:53:26 1362cdb32359: Layer already exists 19:53:26 3c582dd35a36: Layer already exists 19:53:26 994393dc58e7: Layer already exists 19:53:26 efa32162e3d1: Layer already exists 19:53:26 d77ff044fe70: Layer already exists 19:53:26 2.3.0-dev.20: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:26 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 19:53:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:53:26 efa32162e3d1: Preparing 19:53:26 1362cdb32359: Preparing 19:53:26 d77ff044fe70: Preparing 19:53:26 3c582dd35a36: Preparing 19:53:26 994393dc58e7: Preparing 19:53:26 d77ff044fe70: Layer already exists 19:53:26 3c582dd35a36: Layer already exists 19:53:26 1362cdb32359: Layer already exists 19:53:26 994393dc58e7: Layer already exists 19:53:26 efa32162e3d1: Layer already exists 19:53:26 d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:27 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 19:53:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:53:27 efa32162e3d1: Preparing 19:53:27 1362cdb32359: Preparing 19:53:27 d77ff044fe70: Preparing 19:53:27 3c582dd35a36: Preparing 19:53:27 994393dc58e7: Preparing 19:53:27 efa32162e3d1: Layer already exists 19:53:27 d77ff044fe70: Layer already exists 19:53:27 1362cdb32359: Layer already exists 19:53:27 3c582dd35a36: Layer already exists 19:53:27 994393dc58e7: Layer already exists 19:53:27 main: digest: sha256:c683c903b2c7b08a0716f108adb7f83a5c88498898b09a3d44ca1c5ac9f3da7b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:53:27 ===================================================== [Pipeline] echo 19:53:27 taggedImages: 19:53:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275 19:53:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:53:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.20 19:53:27 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 19:53:27 - 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 19:53:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:27 19:53:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:28 latest: Pulling from edgex-lftools-log-publisher 19:53:28 5eb5b503b376: Pulling fs layer 19:53:28 5c69ac0246d0: Pulling fs layer 19:53:28 ec43610c2a17: Pulling fs layer 19:53:28 3a2ae6a8a46f: Pulling fs layer 19:53:28 33b1e0a273af: Pulling fs layer 19:53:28 5d3b04190fa2: Pulling fs layer 19:53:28 2f39f015ded8: Pulling fs layer 19:53:28 3a2ae6a8a46f: Waiting 19:53:28 33b1e0a273af: Waiting 19:53:28 5d3b04190fa2: Waiting 19:53:28 2f39f015ded8: Waiting 19:53:28 5c69ac0246d0: Verifying Checksum 19:53:28 5c69ac0246d0: Download complete 19:53:28 3a2ae6a8a46f: Verifying Checksum 19:53:28 3a2ae6a8a46f: Download complete 19:53:28 ec43610c2a17: Download complete 19:53:28 5d3b04190fa2: Verifying Checksum 19:53:28 5d3b04190fa2: Download complete 19:53:28 33b1e0a273af: Verifying Checksum 19:53:28 33b1e0a273af: Download complete 19:53:28 5eb5b503b376: Verifying Checksum 19:53:28 5eb5b503b376: Download complete 19:53:28 using credential edgex-jenkins-ssh 19:53:28 Cloning the remote Git repository 19:53:28 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:53:28 > git init /w/workspace/device-onvif-camera/59 # timeout=10 19:53:28 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:53:28 > git --version # timeout=10 19:53:29 > git --version # 'git version 2.25.1' 19:53:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:29 Verifying host key using known hosts file 19:53:29 2f39f015ded8: Verifying Checksum 19:53:29 2f39f015ded8: Download complete 19:53:29 5eb5b503b376: Pull complete 19:53:30 5c69ac0246d0: Pull complete 19:53:30 ec43610c2a17: Pull complete 19:53:29 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. 19:53:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:30 3a2ae6a8a46f: Pull complete 19:53:30 33b1e0a273af: Pull complete 19:53:30 5d3b04190fa2: Pull complete 19:53:31 Avoid second fetch 19:53:31 Checking out Revision d3157763bdfd8f49e0a7266dceddd97d249ca275 (main) 19:53:30 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:53:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:31 > git config core.sparsecheckout # timeout=10 19:53:31 > git checkout -f d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 19:53:31 Commit message: "test: add nestscan discovery tests (#152)" 19:53:32 19:53:32 GitHub has been notified of this commit’s build result 19:53:32 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:53:32 % Total % Received % Xferd Average Speed Time Time Time Current 19:53:32 Dload Upload Total Spent Left Speed 19:53:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 19:53:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:53:33 + sudo tee /etc/docker/daemon.new 19:53:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:53:33 { 19:53:33 "registry-mirrors": [ 19:53:33 "https://nexus3.edgexfoundry.org:10001" 19:53:33 ], 19:53:33 "bip": "10.250.0.254/24", 19:53:33 "hosts": [ 19:53:33 "tcp://0.0.0.0:5555", 19:53:33 "unix:///var/run/docker.sock" 19:53:33 ], 19:53:33 "mtu": 1458, 19:53:33 "selinux-enabled": true, 19:53:33 "seccomp-profile": "/etc/docker/seccomp.json" 19:53:33 } [Pipeline] sh 19:53:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:53:34 + sudo service docker restart 19:53:34 2f39f015ded8: Pull complete 19:53:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:53:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:35 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 19:53:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:53:38 $ docker top cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:38 ---> job-cost.sh 19:53:38 lf-activate-venv: SKIPPING 19:53:38 INFO: No Stack... 19:53:39 INFO: Retrieving Pricing Info for: v3-standard-8 19:53:39 INFO: Archiving Costs [Pipeline] sh 19:53:40 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 19:53:40 + cut -d, -f6 [Pipeline] lock 19:53:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] 19:53:40 Resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] did not exist. Created. 19:53:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:53:40 + echo total: 0.2199999988079071 [Pipeline] stash 19:53:40 Stashed 1 file(s) [Pipeline] } 19:53:40 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 19:53:40 $ docker stop --time=1 cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 19:53:41 $ docker rm -f cdde8b2660cfc9a1104f3ef8867daa6755fd2040f8987d3674a29f0d9ec7c519 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:52 provisioning config files... 19:53:52 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/59@tmp/config7775405554334259060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:52 ---> docker-login.sh 19:53:52 nexus3.edgexfoundry.org:10001 19:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:53 Configure a credential helper to remove this warning. See 19:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:53 19:53:53 Login Succeeded 19:53:53 nexus3.edgexfoundry.org:10002 19:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:53 Configure a credential helper to remove this warning. See 19:53:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:53 19:53:53 Login Succeeded 19:53:53 nexus3.edgexfoundry.org:10003 19:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:54 Configure a credential helper to remove this warning. See 19:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:54 19:53:54 Login Succeeded 19:53:54 nexus3.edgexfoundry.org:10004 19:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:54 Configure a credential helper to remove this warning. See 19:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:54 19:53:54 Login Succeeded 19:53:54 docker.io 19:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:53:55 Configure a credential helper to remove this warning. See 19:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:53:55 19:53:55 Login Succeeded 19:53:55 ---> docker-login.sh ends [Pipeline] } 19:53:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:53:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:55 ========================================================= 19:53:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:53:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:55 + 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 . 19:53:55 Sending build context to Docker daemon 14.15MB 19:53:55 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:53:55 Step 2/13 : FROM ${BASE} AS builder 19:53:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:53:56 b3c136eddcbf: Pulling fs layer 19:53:56 c0a3192eca97: Pulling fs layer 19:53:56 a050256f5b6f: Pulling fs layer 19:53:56 656be50a0ddc: Pulling fs layer 19:53:56 2bbca73fdf42: Pulling fs layer 19:53:56 46d945488cbd: Pulling fs layer 19:53:56 8a5474983e97: Pulling fs layer 19:53:56 329c88fbcd65: Pulling fs layer 19:53:56 46d945488cbd: Waiting 19:53:56 656be50a0ddc: Waiting 19:53:56 2bbca73fdf42: Waiting 19:53:56 8a5474983e97: Waiting 19:53:56 329c88fbcd65: Waiting 19:53:56 a050256f5b6f: Verifying Checksum 19:53:56 a050256f5b6f: Download complete 19:53:56 c0a3192eca97: Verifying Checksum 19:53:56 c0a3192eca97: Download complete 19:53:56 2bbca73fdf42: Verifying Checksum 19:53:56 2bbca73fdf42: Download complete 19:53:56 46d945488cbd: Download complete 19:53:56 b3c136eddcbf: Verifying Checksum 19:53:56 b3c136eddcbf: Download complete 19:53:57 b3c136eddcbf: Pull complete 19:53:57 329c88fbcd65: Verifying Checksum 19:53:57 329c88fbcd65: Download complete 19:53:57 c0a3192eca97: Pull complete 19:53:57 a050256f5b6f: Pull complete 19:53:58 8a5474983e97: Verifying Checksum 19:53:58 8a5474983e97: Download complete 19:53:59 656be50a0ddc: Verifying Checksum 19:53:59 656be50a0ddc: Download complete 19:54:11 656be50a0ddc: Pull complete 19:54:11 2bbca73fdf42: Pull complete 19:54:11 46d945488cbd: Pull complete 19:54:16 8a5474983e97: Pull complete 19:54:18 329c88fbcd65: Pull complete 19:54:19 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:54:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:54:19 ---> ff4287adb874 19:54:19 Step 3/13 : ARG MAKE="make build" 19:54:21 ---> Running in 6d66b47fd3f2 19:54:21 Removing intermediate container 6d66b47fd3f2 19:54:21 ---> c553f81921c4 19:54:21 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:54:21 ---> Running in 333c43da7d57 19:54:21 Removing intermediate container 333c43da7d57 19:54:21 ---> 405b9fb676d6 19:54:21 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 19:54:21 ---> Running in 01695b26f043 19:54:21 Removing intermediate container 01695b26f043 19:54:21 ---> a630e587fca5 19:54:21 Step 6/13 : LABEL Name=edgex-device-onvif-camera 19:54:21 ---> Running in 6b91e0866f3e 19:54:22 Removing intermediate container 6b91e0866f3e 19:54:22 ---> 998c0945b455 19:54:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:54:22 ---> Running in 7bbc6d0caa46 19:54:24 Removing intermediate container 7bbc6d0caa46 19:54:24 ---> f0e8547dcbf4 19:54:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:54:24 ---> Running in a89489b5ef56 19:54:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:54:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:54:26 OK: 221 MiB in 51 packages 19:54:27 Removing intermediate container a89489b5ef56 19:54:27 ---> 0ac511eee1dd 19:54:27 Step 9/13 : WORKDIR /device-onvif-camera 19:54:27 ---> Running in e57f5534b921 19:54:27 Removing intermediate container e57f5534b921 19:54:27 ---> c7678b37308c 19:54:27 Step 10/13 : COPY go.mod vendor* ./ 19:54:28 ---> 916fd9e29fc6 19:54:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:54:28 ---> Running in 8f2813d09461 19:55:15 Removing intermediate container 8f2813d09461 19:55:15 ---> 41b4d8d8a517 19:55:15 Step 12/13 : COPY . . 19:55:16 ---> fbb310e7172b 19:55:16 Step 13/13 : RUN ${MAKE} 19:55:16 ---> Running in 41a2fa8d7444 19:55:17 noop 19:55:17 Removing intermediate container 41a2fa8d7444 19:55:17 ---> a990cd5b7514 19:55:17 Successfully built a990cd5b7514 19:55:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:18 + docker inspect -f . ci-base-image-arm64 19:55:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:18 prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container 19:55:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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 19:55:19 $ docker top 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:20 + go version 19:55:20 go version go1.18.3 linux/arm64 [Pipeline] } 19:55:20 $ docker stop --time=1 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 19:55:22 $ docker rm -f 8637d82117b1787a3d9e5329c61eaff37290d1fc21b0e55045591ed9935e5556 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:55:22 + docker inspect -f . ci-base-image-arm64 19:55:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:55:22 prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container 19:55:22 $ 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/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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 19:55:23 $ docker top a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b -eo pid,comm [Pipeline] { [Pipeline] sh 19:55:24 + git config --global --add safe.directory /w/workspace/device-onvif-camera/59 [Pipeline] fileExists [Pipeline] sh 19:55:24 + make test 19:55:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:55:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:57:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:57:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.208s coverage: 28.6% of statements 19:57:03 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:57:18 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.583s coverage: 86.5% of statements 19:57:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:57:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:57:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:57:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:57:40 ./bin/test-attribution-txt.sh [Pipeline] echo 19:57:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:57:40 $ docker stop --time=1 a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b 19:57:42 $ docker rm -f a551c28d6d0ae3d2cbb9a9e363c26e233646434a4b4dd698ca54c44e7c25832b [Pipeline] // withDockerContainer [Pipeline] sh 19:57:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:57:43 Warning: overwriting stash ‘coverage-report’ 19:57:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:57:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:57:44 + ls -al . 19:57:44 total 232 19:57:44 drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 19:55 . 19:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 .. 19:57:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 19:53 .git 19:57:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:53 .github 19:57:44 -rw-rw-r-- 1 jenkins jenkins 418 Sep 21 19:53 .gitignore 19:57:44 -rw-rw-r-- 1 jenkins jenkins 42 Sep 21 19:53 .golangci.yml 19:57:44 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 21 19:53 Attribution.txt 19:57:44 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 21 19:53 CHANGELOG.md 19:57:44 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 21 19:53 Dockerfile 19:57:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 19:53 GOVERNANCE.md 19:57:44 -rw-rw-r-- 1 jenkins jenkins 734 Sep 21 19:53 Jenkinsfile 19:57:44 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 21 19:53 LICENSE 19:57:44 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 21 19:53 Makefile 19:57:44 -rw-rw-r-- 1 jenkins jenkins 625 Sep 21 19:53 OWNERS.md 19:57:44 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 21 19:53 README.md 19:57:44 -rw-rw-r-- 1 jenkins jenkins 12 Sep 21 19:51 VERSION 19:57:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 19:53 bin 19:57:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 19:53 cmd 19:57:44 -rw-r--r-- 1 jenkins jenkins 79818 Sep 21 19:57 coverage.out 19:57:44 drwxrwxr-x 6 jenkins jenkins 4096 Sep 21 19:53 doc 19:57:44 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 21 19:53 go.mod 19:57:44 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 21 19:53 go.sum 19:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 internal 19:57:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 19:53 snap 19:57:44 -rw-rw-r-- 1 jenkins jenkins 236 Sep 21 19:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:44 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d3157763bdfd8f49e0a7266dceddd97d249ca275 --label arch=arm64 --label version=2.3.0-dev.20 . 19:57:46 Sending build context to Docker daemon 14.23MB 19:57:46 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 19:57:46 Step 2/26 : FROM ${BASE} AS builder 19:57:46 ---> a990cd5b7514 19:57:46 Step 3/26 : ARG MAKE="make build" 19:57:46 ---> Running in d0a0a9d44c90 19:57:46 Removing intermediate container d0a0a9d44c90 19:57:46 ---> a440954c971f 19:57:46 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:57:46 ---> Running in 59ae995db964 19:57:47 Removing intermediate container 59ae995db964 19:57:47 ---> da9658e89b31 19:57:47 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 19:57:47 ---> Running in b424ac12f1ca 19:57:47 Removing intermediate container b424ac12f1ca 19:57:47 ---> eaf899fd6b46 19:57:47 Step 6/26 : LABEL Name=edgex-device-onvif-camera 19:57:47 ---> Running in 44afcf363fea 19:57:47 Removing intermediate container 44afcf363fea 19:57:47 ---> ec7707ca3159 19:57:47 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:57:47 ---> Running in bd43d06687e9 19:57:49 Removing intermediate container bd43d06687e9 19:57:49 ---> 1a0116395dbe 19:57:49 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:57:49 ---> Running in 2095d9a318be 19:57:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:57:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:57:52 OK: 221 MiB in 51 packages 19:57:53 Removing intermediate container 2095d9a318be 19:57:53 ---> 76a499f3c2cf 19:57:53 Step 9/26 : WORKDIR /device-onvif-camera 19:57:53 ---> Running in d096f8f8a50f 19:57:53 Removing intermediate container d096f8f8a50f 19:57:53 ---> 1bfc41b931d1 19:57:53 Step 10/26 : COPY go.mod vendor* ./ 19:57:54 ---> a636f233312b 19:57:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:57:54 ---> Running in 23fcd7149e3d 19:57:57 Removing intermediate container 23fcd7149e3d 19:57:57 ---> 46a71432ab73 19:57:57 Step 12/26 : COPY . . 19:57:59 ---> d7cfd3628d93 19:57:59 Step 13/26 : RUN ${MAKE} 19:57:59 ---> Running in c0ac92785362 19:58:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 20:00:22 Removing intermediate container c0ac92785362 20:00:22 ---> 1c967e69b445 20:00:22 Step 14/26 : FROM alpine:3.16 20:00:22 3.16: Pulling from library/alpine 20:00:22 9b18e9b68314: Pulling fs layer 20:00:22 9b18e9b68314: Verifying Checksum 20:00:22 9b18e9b68314: Download complete 20:00:23 9b18e9b68314: Pull complete 20:00:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:00:23 Status: Downloaded newer image for alpine:3.16 20:00:23 ---> a6215f271958 20:00:23 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:00:23 ---> Running in a56eac1f52e3 20:00:23 Removing intermediate container a56eac1f52e3 20:00:23 ---> 47a040002a0b 20:00:23 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:00:24 ---> Running in d80a6f94fa36 20:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:00:25 (1/6) Installing dumb-init (1.2.5-r1) 20:00:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:00:25 (3/6) Installing libsodium (1.0.18-r0) 20:00:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:00:25 (5/6) Installing libzmq (4.3.4-r0) 20:00:25 (6/6) Installing zeromq (4.3.4-r0) 20:00:25 Executing busybox-1.35.0-r17.trigger 20:00:25 OK: 8 MiB in 20 packages 20:00:26 Removing intermediate container d80a6f94fa36 20:00:26 ---> 3a2834e5234a 20:00:26 Step 17/26 : WORKDIR / 20:00:26 ---> Running in 4bda5861d6b3 20:00:27 Removing intermediate container 4bda5861d6b3 20:00:27 ---> f67fbbe36da2 20:00:27 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:00:29 ---> 7e013694b38c 20:00:29 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:00:29 ---> dc5978e14794 20:00:29 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:00:29 ---> ecc77a06973b 20:00:29 Step 21/26 : EXPOSE 59984 20:00:29 ---> Running in b528a63c16bb 20:00:30 Removing intermediate container b528a63c16bb 20:00:30 ---> 9ac7a37dba14 20:00:30 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:00:30 ---> Running in 0205378429d4 20:00:30 Removing intermediate container 0205378429d4 20:00:30 ---> e2341cb9bbc1 20:00:30 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:00:30 ---> Running in 0165b8de35f5 20:00:30 Removing intermediate container 0165b8de35f5 20:00:30 ---> 6d3a7c789757 20:00:30 Step 24/26 : LABEL arch=arm64 20:00:30 ---> Running in 9434370806db 20:00:31 Removing intermediate container 9434370806db 20:00:31 ---> 3840ca073f14 20:00:31 Step 25/26 : LABEL git_sha=d3157763bdfd8f49e0a7266dceddd97d249ca275 20:00:31 ---> Running in bb24ca0beea8 20:00:31 Removing intermediate container bb24ca0beea8 20:00:31 ---> 85ab797e588f 20:00:31 Step 26/26 : LABEL version=2.3.0-dev.20 20:00:31 ---> Running in 4d568dafbe81 20:00:31 Removing intermediate container 4d568dafbe81 20:00:31 ---> f8dff1bc3226 20:00:31 [Warning] One or more build-args [ARCH] were not consumed 20:00:31 Successfully built f8dff1bc3226 20:00:31 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:00:32 provisioning config files... 20:00:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/59@tmp/config17401170135788402322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:00:32 ---> docker-login.sh 20:00:32 nexus3.edgexfoundry.org:10001 20:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:32 Configure a credential helper to remove this warning. See 20:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:32 20:00:32 Login Succeeded 20:00:32 nexus3.edgexfoundry.org:10002 20:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:32 Configure a credential helper to remove this warning. See 20:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:32 20:00:32 Login Succeeded 20:00:32 nexus3.edgexfoundry.org:10003 20:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:33 Configure a credential helper to remove this warning. See 20:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:33 20:00:33 Login Succeeded 20:00:33 nexus3.edgexfoundry.org:10004 20:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:33 Configure a credential helper to remove this warning. See 20:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:33 20:00:33 Login Succeeded 20:00:33 docker.io 20:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:00:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:00:34 Configure a credential helper to remove this warning. See 20:00:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:00:34 20:00:34 Login Succeeded 20:00:34 ---> docker-login.sh ends [Pipeline] } 20:00:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:00:34 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 20:00:34 d3157763bdfd8f49e0a7266dceddd97d249ca275 20:00:34 latest 20:00:34 2.3.0-dev.20 20:00:34 d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 20:00:34 main 20:00:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:34 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 20:00:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:00:34 1796e3e07619: Preparing 20:00:34 0777defb4193: Preparing 20:00:34 329d1884d593: Preparing 20:00:34 066ea066d1fc: Preparing 20:00:34 5d3e392a13a0: Preparing 20:00:34 5d3e392a13a0: Layer already exists 20:00:35 0777defb4193: Pushed 20:00:35 1796e3e07619: Pushed 20:00:35 066ea066d1fc: Pushed 20:00:41 329d1884d593: Pushed 20:00:41 d3157763bdfd8f49e0a7266dceddd97d249ca275: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:00:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:00:41 1796e3e07619: Preparing 20:00:41 0777defb4193: Preparing 20:00:41 329d1884d593: Preparing 20:00:41 066ea066d1fc: Preparing 20:00:41 5d3e392a13a0: Preparing 20:00:41 0777defb4193: Layer already exists 20:00:41 329d1884d593: Layer already exists 20:00:41 5d3e392a13a0: Layer already exists 20:00:41 1796e3e07619: Layer already exists 20:00:41 066ea066d1fc: Layer already exists 20:00:41 latest: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 20:00:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:00:42 1796e3e07619: Preparing 20:00:42 0777defb4193: Preparing 20:00:42 329d1884d593: Preparing 20:00:42 066ea066d1fc: Preparing 20:00:42 5d3e392a13a0: Preparing 20:00:42 0777defb4193: Layer already exists 20:00:42 066ea066d1fc: Layer already exists 20:00:42 329d1884d593: Layer already exists 20:00:42 1796e3e07619: Layer already exists 20:00:42 5d3e392a13a0: Layer already exists 20:00:42 2.3.0-dev.20: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 20:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:00:43 1796e3e07619: Preparing 20:00:43 0777defb4193: Preparing 20:00:43 329d1884d593: Preparing 20:00:43 066ea066d1fc: Preparing 20:00:43 5d3e392a13a0: Preparing 20:00:43 329d1884d593: Layer already exists 20:00:43 0777defb4193: Layer already exists 20:00:43 1796e3e07619: Layer already exists 20:00:43 5d3e392a13a0: Layer already exists 20:00:43 066ea066d1fc: Layer already exists 20:00:43 d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:43 + 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 20:00:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 20:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:00:43 1796e3e07619: Preparing 20:00:43 0777defb4193: Preparing 20:00:43 329d1884d593: Preparing 20:00:43 066ea066d1fc: Preparing 20:00:43 5d3e392a13a0: Preparing 20:00:43 5d3e392a13a0: Layer already exists 20:00:43 1796e3e07619: Layer already exists 20:00:43 329d1884d593: Layer already exists 20:00:43 0777defb4193: Layer already exists 20:00:43 066ea066d1fc: Layer already exists 20:00:43 main: digest: sha256:1df0019160f236f5c4e2c523c9f594548269310b4b1cf0a92d83a2a769a4e168 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:00:43 ===================================================== [Pipeline] echo 20:00:44 taggedImages: 20:00:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275 20:00:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:00:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.20 20:00:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d3157763bdfd8f49e0a7266dceddd97d249ca275-2.3.0-dev.20 20:00:44 - 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 20:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:44 20:00:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:00:44 arm64: Pulling from edgex-lftools-log-publisher 20:00:44 8998bd30e6a1: Pulling fs layer 20:00:44 04944245beec: Pulling fs layer 20:00:44 699f458cf7ca: Pulling fs layer 20:00:44 765212b225bb: Pulling fs layer 20:00:44 f23df028b6ca: Pulling fs layer 20:00:44 d65c8cfc05b1: Pulling fs layer 20:00:44 2437ff75d9bd: Pulling fs layer 20:00:44 765212b225bb: Waiting 20:00:44 d65c8cfc05b1: Waiting 20:00:44 2437ff75d9bd: Waiting 20:00:44 f23df028b6ca: Waiting 20:00:44 04944245beec: Verifying Checksum 20:00:44 04944245beec: Download complete 20:00:44 765212b225bb: Verifying Checksum 20:00:44 765212b225bb: Download complete 20:00:44 f23df028b6ca: Download complete 20:00:44 d65c8cfc05b1: Verifying Checksum 20:00:44 d65c8cfc05b1: Download complete 20:00:45 699f458cf7ca: Verifying Checksum 20:00:45 699f458cf7ca: Download complete 20:00:45 8998bd30e6a1: Verifying Checksum 20:00:45 8998bd30e6a1: Download complete 20:00:48 2437ff75d9bd: Verifying Checksum 20:00:48 2437ff75d9bd: Download complete 20:00:49 8998bd30e6a1: Pull complete 20:00:49 04944245beec: Pull complete 20:00:51 699f458cf7ca: Pull complete 20:00:51 765212b225bb: Pull complete 20:00:52 f23df028b6ca: Pull complete 20:00:52 d65c8cfc05b1: Pull complete 20:01:07 2437ff75d9bd: Pull complete 20:01:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:01:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:07 prd-ubuntu20.04-docker-arm64-4c-16g-458 does not seem to be running inside a container 20:01:07 $ 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/59 -v /w/workspace/device-onvif-camera/59:/w/workspace/device-onvif-camera/59:rw,z -v /w/workspace/device-onvif-camera/59@tmp:/w/workspace/device-onvif-camera/59@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 20:01:09 $ docker top a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:10 ---> job-cost.sh 20:01:10 lf-activate-venv: SKIPPING 20:01:10 INFO: No Stack... 20:01:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:01:11 INFO: Archiving Costs [Pipeline] sh 20:01:12 + cat /w/workspace/device-onvif-camera/59/archives/cost.csv 20:01:12 + cut -d, -f6 [Pipeline] lock 20:01:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] 20:01:12 Resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] did not exist. Created. 20:01:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:01:12 /w/workspace/device-onvif-camera/59@tmp/durable-15f2d2c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:01:12 + echo total: 0.10999999940395355 [Pipeline] stash 20:01:12 Warning: overwriting stash ‘stack-cost’ 20:01:12 Stashed 1 file(s) [Pipeline] } 20:01:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-59-stack-cost] [Pipeline] // lock [Pipeline] } 20:01:12 $ docker stop --time=1 a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d 20:01:14 $ docker rm -f a1f319fc881bca87dc18bc3376e4d2891595d2a43e988bf7ce17df8e80669d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:01:14 provisioning config files... 20:01:14 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7036338751514721983tmp [Pipeline] { [Pipeline] sh 20:01:15 + set +x 20:01:15 + curl -s https://codecov.io/bash 20:01:15 + bash -s -- 20:01:15 20:01:15 _____ _ 20:01:15 / ____| | | 20:01:15 | | ___ __| | ___ ___ _____ __ 20:01:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:01:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:01:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:01:15 Bash-1.0.6 20:01:15 20:01:15 20:01:15 ==> git version 2.25.1 found 20:01:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:01:15 Release-Date: 2020-01-08 20:01:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:01:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:01:15 ==> Jenkins CI detected. 20:01:15 current dir:  /w/workspace/foundry_device-onvif-camera_main 20:01:15 project root: . 20:01:15 --> token set from env 20:01:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:01:15 ==> Running gcov in . (disable via -X gcov) 20:01:15 ==> Python coveragepy not found 20:01:15 ==> Searching for coverage reports in: 20:01:15 + . 20:01:15 -> Found 1 reports 20:01:15 ==> Detecting git/mercurial file structure 20:01:15 ==> Reading reports 20:01:15 + ./coverage.out bytes=79818 20:01:15 ==> Appending adjustments 20:01:15 https://docs.codecov.io/docs/fixing-reports 20:01:15 + Found adjustments 20:01:15 ==> Gzipping contents 20:01:15 12K /tmp/codecov.GBTVl2.gz 20:01:15 ==> Uploading reports 20:01:15 url: https://codecov.io 20:01:15 query: branch=main&commit=d3157763bdfd8f49e0a7266dceddd97d249ca275&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:01:15 -> Pinging Codecov 20:01:15 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=d3157763bdfd8f49e0a7266dceddd97d249ca275&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:01:15 -> Uploading to 20:01:15 https://storage.googleapis.com/codecov/v4/raw/2022-09-21/F29A59C45E3A92E06B3E522C9905F8EF/d3157763bdfd8f49e0a7266dceddd97d249ca275/946aef03-dcbf-418e-bbbc-3f3fc9018329.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T200115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df4038a648400b22679fe5394bf172515393fdca5983adf192338924322a9f39 20:01:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:01:15 Dload Upload Total Spent Left Speed 20:01:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10912 0 0 100 10912 0 41969 --:--:-- --:--:-- --:--:-- 41969 20:01:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] } 20:01:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:01:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:01:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:01:16 20:01:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:01:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:01:16 df9b9388f04a: Pulling fs layer 20:01:16 52dc419b0ee2: Pulling fs layer 20:01:16 25bc292e5bac: Pulling fs layer 20:01:16 114826534d7a: Pulling fs layer 20:01:16 4657fd5d0bcf: Pulling fs layer 20:01:16 6ad1cebc031e: Pulling fs layer 20:01:16 114826534d7a: Waiting 20:01:16 4657fd5d0bcf: Waiting 20:01:16 8a3aa393b2d8: Pulling fs layer 20:01:16 8a3aa393b2d8: Waiting 20:01:16 6ad1cebc031e: Waiting 20:01:16 25bc292e5bac: Download complete 20:01:16 52dc419b0ee2: Download complete 20:01:16 4657fd5d0bcf: Download complete 20:01:16 df9b9388f04a: Download complete 20:01:16 df9b9388f04a: Pull complete 20:01:16 52dc419b0ee2: Pull complete 20:01:16 6ad1cebc031e: Verifying Checksum 20:01:16 6ad1cebc031e: Download complete 20:01:17 25bc292e5bac: Pull complete 20:01:17 8a3aa393b2d8: Verifying Checksum 20:01:17 8a3aa393b2d8: Download complete 20:01:17 114826534d7a: Verifying Checksum 20:01:17 114826534d7a: Download complete 20:01:21 114826534d7a: Pull complete 20:01:21 4657fd5d0bcf: Pull complete 20:01:21 6ad1cebc031e: Pull complete 20:01:24 8a3aa393b2d8: Pull complete 20:01:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:01:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:01:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:24 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:01:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:01:27 $ docker top 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 -eo pid,comm [Pipeline] { [Pipeline] echo 20:01:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 20:01:27 + set -o pipefail 20:01:27 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 20:01:34 20:01:34 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 20:01:34 20:01:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/1257db26-992f-4b15-93b8-f5685f36452a 20:01:34 20:01:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:01:34 20:01:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:01:34 20:01:34 [Pipeline] } 20:01:34 $ docker stop --time=1 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 20:01:36 $ docker rm -f 55cf08cd99e172a23b29e2080502b5db2e8a6348412ae99d32e8ac86e93f1488 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 20:01:37 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:37 provisioning config files... 20:01:37 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16051498167482288921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:37 --> edgex-publish-swagger.sh 20:01:37 === Publish doc/openapi/v2 API === 20:01:37 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 20:01:37 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 20:01:37 % Total % Received % Xferd Average Speed Time Time Time Current 20:01:37 Dload Upload Total Spent Left Speed 20:01:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 174k --:--:-- --:--:-- --:--:-- 174k 20:01:38 20:01:38 [Pipeline] } 20:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:01:38 + git log --format=format:%s -1 d3157763bdfd8f49e0a7266dceddd97d249ca275 [Pipeline] sh 20:01:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:01:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:39 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:01:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:01:39 $ docker top 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 -eo pid,comm 20:01:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:01:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:01:39 [ssh-agent] Looking for ssh-agent implementation... 20:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:01:39 $ docker exec 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 ssh-agent 20:01:39 SSH_AUTH_SOCK=/tmp/ssh-o7y15oLvgcAo/agent.33 20:01:39 SSH_AGENT_PID=39 20:01:39 Running ssh-add (command line suppressed) 20:01:40 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6655093447969849260.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6655093447969849260.key) 20:01:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:01:40 + git semver tag 20:01:40 2022-09-21 20:01:40,501 [run_tag] DEBUG tag force:False 20:01:40 2022-09-21 20:01:40,501 [check_head_tag] DEBUG check head tag 20:01:40 2022-09-21 20:01:40,502 [execute] INFO git cat-file --batch-check 20:01:40 2022-09-21 20:01:40,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:01:40 2022-09-21 20:01:40,507 [execute] INFO git cat-file --batch 20:01:40 2022-09-21 20:01:40,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:01:40 2022-09-21 20:01:40,526 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:40 2022-09-21 20:01:40,526 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 20:01:40 2022-09-21 20:01:40,526 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 20:01:40 2022-09-21 20:01:40,531 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:01:40 2.3.0-dev.20 [Pipeline] } 20:01:40 $ docker exec --env ******** --env ******** 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 ssh-agent -k 20:01:40 unset SSH_AUTH_SOCK; 20:01:40 unset SSH_AGENT_PID; 20:01:40 echo Agent pid 39 killed; 20:01:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:01:41 + git semver [Pipeline] } 20:01:41 $ docker stop --time=1 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 20:01:42 $ docker rm -f 8287f520d835a7837aeb6b3a3ee59565b000f6c77531331fb42866c025938e52 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:42 20:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:01:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:43 0.23.1-centos7: Pulling from edgex-lftools 20:01:43 ab5ef0e58194: Pulling fs layer 20:01:43 9712f1f96733: Pulling fs layer 20:01:43 63f879dbbcfc: Pulling fs layer 20:01:43 0d9ebad4ef96: Pulling fs layer 20:01:43 e9a5061849ea: Pulling fs layer 20:01:43 d747dcd14b5f: Pulling fs layer 20:01:43 2de7ff778b66: Pulling fs layer 20:01:43 e9a5061849ea: Waiting 20:01:43 d747dcd14b5f: Waiting 20:01:43 2de7ff778b66: Waiting 20:01:43 0d9ebad4ef96: Waiting 20:01:43 9712f1f96733: Verifying Checksum 20:01:43 9712f1f96733: Download complete 20:01:44 63f879dbbcfc: Verifying Checksum 20:01:44 63f879dbbcfc: Download complete 20:01:44 e9a5061849ea: Verifying Checksum 20:01:44 e9a5061849ea: Download complete 20:01:44 d747dcd14b5f: Download complete 20:01:44 ab5ef0e58194: Verifying Checksum 20:01:44 ab5ef0e58194: Download complete 20:01:44 0d9ebad4ef96: Download complete 20:01:44 2de7ff778b66: Verifying Checksum 20:01:44 2de7ff778b66: Download complete 20:01:47 ab5ef0e58194: Pull complete 20:01:47 9712f1f96733: Pull complete 20:01:47 63f879dbbcfc: Pull complete 20:01:52 0d9ebad4ef96: Pull complete 20:01:52 e9a5061849ea: Pull complete 20:01:52 d747dcd14b5f: Pull complete 20:01:53 2de7ff778b66: Pull complete 20:01:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:01:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:01:53 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:01:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:01:57 $ docker top cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:01:57 provisioning config files... 20:01:57 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7206691462942211219tmp 20:01:57 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3036035433964414409tmp 20:01:57 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13223182933354976502tmp [Pipeline] { [Pipeline] echo 20:01:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:01:57 ---> sigul-configuration.sh 20:01:57 gpg: directory `/root/.gnupg' created 20:01:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:01:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:01:57 gpg: keyring `/root/.gnupg/secring.gpg' created 20:01:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:01:57 gpg: CAST5 encrypted data 20:01:57 gpg: encrypted with 1 passphrase 20:01:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:01:57 + mkdir /home/jenkins 20:01:57 + mkdir /home/jenkins/sigul [Pipeline] sh 20:01:58 + 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 20:01:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:01:58 ---> sigul-install.sh 20:01:58 Sigul already installed; skipping installation. [Pipeline] sh 20:01:58 + git tag --list 20:01:58 v0.0.0 20:01:58 v0.0.1-dev.1 20:01:58 v0.0.1-dev.10 20:01:58 v0.0.1-dev.11 20:01:58 v0.0.1-dev.12 20:01:58 v0.0.1-dev.13 20:01:58 v0.0.1-dev.14 20:01:58 v0.0.1-dev.15 20:01:58 v0.0.1-dev.16 20:01:58 v0.0.1-dev.17 20:01:58 v0.0.1-dev.18 20:01:58 v0.0.1-dev.19 20:01:58 v0.0.1-dev.2 20:01:58 v0.0.1-dev.20 20:01:58 v0.0.1-dev.21 20:01:58 v0.0.1-dev.22 20:01:58 v0.0.1-dev.23 20:01:58 v0.0.1-dev.24 20:01:58 v0.0.1-dev.25 20:01:58 v0.0.1-dev.26 20:01:58 v0.0.1-dev.27 20:01:58 v0.0.1-dev.28 20:01:58 v0.0.1-dev.3 20:01:58 v0.0.1-dev.4 20:01:58 v0.0.1-dev.5 20:01:58 v0.0.1-dev.6 20:01:58 v0.0.1-dev.7 20:01:58 v0.0.1-dev.8 20:01:58 v0.0.1-dev.9 20:01:58 v2.2.0 20:01:58 v2.2.0-dev.29 20:01:58 v2.2.0-dev.30 20:01:58 v2.2.0-dev.31 20:01:58 v2.2.0-dev.32 20:01:58 v2.2.0-dev.33 20:01:58 v2.2.0-dev.34 20:01:58 v2.2.0-dev.35 20:01:58 v2.3.0-dev.1 20:01:58 v2.3.0-dev.10 20:01:58 v2.3.0-dev.11 20:01:58 v2.3.0-dev.12 20:01:58 v2.3.0-dev.13 20:01:58 v2.3.0-dev.14 20:01:58 v2.3.0-dev.15 20:01:58 v2.3.0-dev.16 20:01:58 v2.3.0-dev.17 20:01:58 v2.3.0-dev.18 20:01:58 v2.3.0-dev.19 20:01:58 v2.3.0-dev.2 20:01:58 v2.3.0-dev.20 20:01:58 v2.3.0-dev.3 20:01:58 v2.3.0-dev.4 20:01:58 v2.3.0-dev.5 20:01:58 v2.3.0-dev.6 20:01:58 v2.3.0-dev.7 20:01:58 v2.3.0-dev.8 20:01:58 v2.3.0-dev.9 [Pipeline] sh 20:01:58 + lftools sign git-tag v2.3.0-dev.20 20:01:59 Signing Git tag with Sigul... 20:01:59 Signing v2.3.0-dev.20 [Pipeline] echo 20:02:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:02:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:02:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:02:00 $ docker stop --time=1 cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f 20:02:01 $ docker rm -f cabc143c2c7db60d008363595d789bd9244004d3ef0ed88a6d38ae16d2e6712f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:02:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:02 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:02:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:02:03 $ docker top 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 -eo pid,comm 20:02:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:02:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:03 [ssh-agent] Looking for ssh-agent implementation... 20:02:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:03 $ docker exec 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 ssh-agent 20:02:03 SSH_AUTH_SOCK=/tmp/ssh-jPHIuYJFMK1u/agent.33 20:02:03 SSH_AGENT_PID=39 20:02:03 Running ssh-add (command line suppressed) 20:02:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7602346696979434686.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7602346696979434686.key) 20:02:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:03 + git semver bump pre 20:02:04 2022-09-21 20:02:04,007 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:02:04 2022-09-21 20:02:04,007 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 20:02:04 2022-09-21 20:02:04,008 [bump_version] DEBUG bumped version:2.3.0-dev.21 20:02:04 2022-09-21 20:02:04,008 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 20:02:04 2022-09-21 20:02:04,008 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:02:04 2022-09-21 20:02:04,008 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 20:02:04 2022-09-21 20:02:04,010 [execute] INFO git cat-file --batch-check 20:02:04 2022-09-21 20:02:04,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:02:04 2022-09-21 20:02:04,016 [execute] INFO git cat-file --batch 20:02:04 2022-09-21 20:02:04,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:02:04 2022-09-21 20:02:04,022 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:02:04 2.3.0-dev.21 [Pipeline] } 20:02:04 $ docker exec --env ******** --env ******** 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 ssh-agent -k 20:02:04 unset SSH_AUTH_SOCK; 20:02:04 unset SSH_AGENT_PID; 20:02:04 echo Agent pid 39 killed; 20:02:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:04 + git semver [Pipeline] } 20:02:04 $ docker stop --time=1 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 20:02:06 $ docker rm -f 3ad8835c6533dbf1762cd8309de82e0b15974b10834a559381bf44ff51f3d540 [Pipeline] // withDockerContainer [Pipeline] sh 20:02:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:06 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:02:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:02:07 $ docker top 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 -eo pid,comm 20:02:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:02:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:07 [ssh-agent] Looking for ssh-agent implementation... 20:02:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:07 $ docker exec 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 ssh-agent 20:02:07 SSH_AUTH_SOCK=/tmp/ssh-tIJlvr4G3xN3/agent.32 20:02:07 SSH_AGENT_PID=38 20:02:07 Running ssh-add (command line suppressed) 20:02:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13030241170680608644.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13030241170680608644.key) 20:02:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:07 + git semver push 20:02:08 2022-09-21 20:02:08,077 [run_push] DEBUG push 20:02:08 2022-09-21 20:02:08,077 [execute] INFO git cat-file --batch-check 20:02:08 2022-09-21 20:02:08,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:02:08 2022-09-21 20:02:08,081 [execute] INFO git rev-list b7124bb5569985e69eac3ddce514e1b118597234 -- 20:02:08 2022-09-21 20:02:08,081 [execute] DEBUG Popen(['git', 'rev-list', 'b7124bb5569985e69eac3ddce514e1b118597234', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:02:08 2022-09-21 20:02:08,087 [execute] INFO git fetch -v origin 20:02:08 2022-09-21 20:02:08,088 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:02:08 2022-09-21 20:02:08,672 [run_push] DEBUG no remote changes detected 20:02:08 2022-09-21 20:02:08,673 [execute] INFO git push origin semver 20:02:08 2022-09-21 20:02:08,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:02:09 2022-09-21 20:02:09,491 [run_push] DEBUG push all version tags 20:02:09 2022-09-21 20:02:09,491 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:02:09 2022-09-21 20:02:09,492 [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) 20:02:10 2022-09-21 20:02:10,273 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:02:10 2.3.0-dev.21 [Pipeline] } 20:02:10 $ docker exec --env ******** --env ******** 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 ssh-agent -k 20:02:10 unset SSH_AUTH_SOCK; 20:02:10 unset SSH_AGENT_PID; 20:02:10 echo Agent pid 38 killed; 20:02:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:11 + git semver [Pipeline] } 20:02:11 $ docker stop --time=1 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 20:02:12 $ docker rm -f 5ebd0d0f0211ed3e35dfc873f9b3128683d6e2fc36b7c1221271651f74fe78a0 [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 20:02:13 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 20:02:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:02:13 total 16 20:02:13 drwxr-xr-x 3 root root 4096 Sep 21 19:53 . 20:02:13 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:01 .. 20:02:13 drwxr-xr-x 2 root root 4096 Sep 21 19:53 cost 20:02:13 -rw-r--r-- 1 root root 90 Sep 21 19:53 cost.csv 20:02:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 20:02:13 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:02:13 total 16 20:02:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 19:53 . 20:02:13 drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 20:01 .. 20:02:13 drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 19:53 cost 20:02:13 -rw-r--r-- 1 jenkins jenkins 90 Sep 21 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:02:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:02:14 ---> package-listing.sh 20:02:14 ++ tr '[:upper:]' '[:lower:]' 20:02:14 ++ facter osfamily 20:02:14 + OS_FAMILY=debian 20:02:14 + workspace=/w/workspace/foundry_device-onvif-camera_main 20:02:14 + START_PACKAGES=/tmp/packages_start.txt 20:02:14 + END_PACKAGES=/tmp/packages_end.txt 20:02:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:02:14 + PACKAGES=/tmp/packages_start.txt 20:02:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:02:14 + PACKAGES=/tmp/packages_end.txt 20:02:14 + case "${OS_FAMILY}" in 20:02:14 + dpkg -l 20:02:14 + grep '^ii' 20:02:14 + '[' -f /tmp/packages_start.txt ']' 20:02:14 + '[' -f /tmp/packages_end.txt ']' 20:02:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:02:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:02:14 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 20:02:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 20:02:14 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 20:02:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:15 prd-ubuntu20.04-docker-8c-8g-457 does not seem to be running inside a container 20:02:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:02:15 $ docker top 712a850b241f586effef58dca8ddf8ad9905a6478aa48bbd6121a931f3200acd -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:16 + touch /tmp/pre-build-complete [Pipeline] sh 20:02:16 + mkdir -p /var/log/sysstat [Pipeline] sh 20:02:16 + ls /var/log/sa-host 20:02:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:16 provisioning config files... 20:02:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7840611658382865415tmp [Pipeline] { [Pipeline] echo 20:02:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:02:17 ---> create-netrc.sh [Pipeline] } 20:02:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:02:17 ---> python-tools-install.sh [Pipeline] echo 20:02:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:02:17 ---> sudo-logs.sh 20:02:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:02:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:02:17 ---> job-cost.sh 20:02:17 lf-activate-venv: SKIPPING 20:02:17 DEBUG: total: 0.2199999988079071 20:02:17 INFO: Retrieving Stack Cost... 20:02:18 INFO: Retrieving Pricing Info for: v3-standard-8 20:02:18 INFO: Archiving Costs [Pipeline] echo 20:02:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:02:19 ---> logs-deploy.sh 20:02:19 lf-activate-venv: SKIPPING 20:02:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/59 20:02:19 INFO: archiving workspace using pattern(s): 20:02:20 Archives upload complete. 20:02:20 INFO: archiving logs to Nexus