Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh15786889152333433929.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-ssh6260222042492600529.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-ssh9121655287244686883.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-ssh2868865782917545301.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-ssh9383421872529989830.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6902 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#169)" > 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-list --no-walk 3b1bc18db7597dbaf746352fd3998179838ce784 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:18:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:18:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:18:49 ========================================================= 17:18:49 EdgeX Global Pipelines Version Info 17:18:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:18:50 ------------------- 17:18:50 stable info: 17:18:50 ------------------- 17:18:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:18:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:18:50 Message: update stable to v1.0.239 17:18:51 ------------------- 17:18:51 experimental info: 17:18:51 ------------------- 17:18:51 Commited By: **** collab-it+edgex@linuxfoundation.org 17:18:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:18:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22d74d2 [Pipeline] echo 17:18:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:51 provisioning config files... 17:18:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15451029571067912477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:52 ---> docker-login.sh 17:18:52 nexus3.edgexfoundry.org:10001 17:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:52 Configure a credential helper to remove this warning. See 17:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:52 17:18:52 Login Succeeded 17:18:52 nexus3.edgexfoundry.org:10002 17:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:52 Configure a credential helper to remove this warning. See 17:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:52 17:18:52 Login Succeeded 17:18:52 nexus3.edgexfoundry.org:10003 17:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:52 Configure a credential helper to remove this warning. See 17:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:52 17:18:52 Login Succeeded 17:18:52 nexus3.edgexfoundry.org:10004 17:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:52 Configure a credential helper to remove this warning. See 17:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:52 17:18:52 Login Succeeded 17:18:52 docker.io 17:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:53 Configure a credential helper to remove this warning. See 17:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:53 17:18:53 Login Succeeded 17:18:53 ---> docker-login.sh ends [Pipeline] } 17:18:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:18:53 + git rev-list -1 --merges 22d74d2547d10604d43a59f451f2f1d479f6a1f2~1..22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] echo 17:18:53 -----------> git rev-list -1 --merges 22d74d2547d10604d43a59f451f2f1d479f6a1f2~1..22d74d2547d10604d43a59f451f2f1d479f6a1f2 22d74d2547d10604d43a59f451f2f1d479f6a1f2 [false] [Pipeline] sh 17:18:53 + git log --format=format:%s -1 22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] echo 17:18:53 ========================================================= 17:18:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:18:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:54 + git log --format=format:%s -1 22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] echo 17:18:54 [semverPrep] GIT_COMMIT: 22d74d2547d10604d43a59f451f2f1d479f6a1f2, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#169) [Pipeline] echo 17:18:54 [semverPrep] This is not a build commit. [Pipeline] sh 17:18:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:18:54 + grep -v github /etc/ssh/ssh_known_hosts 17:18:54 + [ -e /tmp/ssh_known_hosts ] 17:18:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:18:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:18:54 + sudo tee -a /etc/ssh/ssh_known_hosts 17:18:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:18:54 17:18:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:18:55 0.1.4: Pulling from edgex-devops/py-git-semver 17:18:55 b85a868b505f: Pulling fs layer 17:18:55 e2be974225ed: Pulling fs layer 17:18:55 339a4e72a1f5: Pulling fs layer 17:18:55 988bab9f4d93: Pulling fs layer 17:18:55 1469e6f7b9e6: Pulling fs layer 17:18:55 988bab9f4d93: Waiting 17:18:55 eaf3925da568: Pulling fs layer 17:18:55 1469e6f7b9e6: Waiting 17:18:55 bab4dde63d76: Pulling fs layer 17:18:55 eaf3925da568: Waiting 17:18:55 bde34c3a00c8: Pulling fs layer 17:18:55 b352a97aabf1: Pulling fs layer 17:18:55 bde34c3a00c8: Waiting 17:18:55 bab4dde63d76: Waiting 17:18:55 4872d77fe225: Pulling fs layer 17:18:55 5851b861e8e6: Pulling fs layer 17:18:55 4872d77fe225: Waiting 17:18:55 5851b861e8e6: Waiting 17:18:55 e2be974225ed: Download complete 17:18:55 988bab9f4d93: Verifying Checksum 17:18:55 988bab9f4d93: Download complete 17:18:55 1469e6f7b9e6: Verifying Checksum 17:18:55 1469e6f7b9e6: Download complete 17:18:55 eaf3925da568: Download complete 17:18:55 339a4e72a1f5: Download complete 17:18:55 bde34c3a00c8: Download complete 17:18:55 b352a97aabf1: Download complete 17:18:55 4872d77fe225: Verifying Checksum 17:18:55 4872d77fe225: Download complete 17:18:55 5851b861e8e6: Verifying Checksum 17:18:55 5851b861e8e6: Download complete 17:18:55 b85a868b505f: Verifying Checksum 17:18:55 b85a868b505f: Download complete 17:18:55 bab4dde63d76: Verifying Checksum 17:18:55 bab4dde63d76: Download complete 17:18:56 b85a868b505f: Pull complete 17:18:56 e2be974225ed: Pull complete 17:18:57 339a4e72a1f5: Pull complete 17:18:57 988bab9f4d93: Pull complete 17:18:57 1469e6f7b9e6: Pull complete 17:18:57 eaf3925da568: Pull complete 17:18:59 bab4dde63d76: Pull complete 17:18:59 bde34c3a00c8: Pull complete 17:18:59 b352a97aabf1: Pull complete 17:18:59 4872d77fe225: Pull complete 17:18:59 5851b861e8e6: Pull complete 17:18:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:18:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:18:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:59 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:19:00 $ docker top 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec -eo pid,comm 17:19:01 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:19:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:19:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:01 [ssh-agent] Looking for ssh-agent implementation... 17:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:01 $ docker exec 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec ssh-agent 17:19:01 SSH_AUTH_SOCK=/tmp/ssh-FN9xQTA0ss8r/agent.31 17:19:01 SSH_AGENT_PID=37 17:19:01 Running ssh-add (command line suppressed) 17:19:01 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9443431924219448283.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9443431924219448283.key) 17:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:01 + git tag --points-at HEAD [Pipeline] } 17:19:01 $ docker exec --env ******** --env ******** 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec ssh-agent -k 17:19:01 unset SSH_AUTH_SOCK; 17:19:01 unset SSH_AGENT_PID; 17:19:01 echo Agent pid 37 killed; 17:19:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:19:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:01 [ssh-agent] Looking for ssh-agent implementation... 17:19:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:01 $ docker exec 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec ssh-agent 17:19:02 SSH_AUTH_SOCK=/tmp/ssh-x6Z54rnKBy0d/agent.69 17:19:02 SSH_AGENT_PID=75 17:19:02 Running ssh-add (command line suppressed) 17:19:02 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6047271315381727248.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6047271315381727248.key) 17:19:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:02 + git semver init 17:19:02 2022-10-03 17:19:02,721 [run_init] DEBUG init version:0.0.0 force:False 17:19:02 2022-10-03 17:19:02,722 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 17:19:02 2022-10-03 17:19:02,722 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 17:19:02 2022-10-03 17:19:02,723 [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) 17:19:03 2022-10-03 17:19:03,709 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 17:19:03 2022-10-03 17:19:03,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 17:19:03 2022-10-03 17:19:03,710 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:19:03 2022-10-03 17:19:03,710 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:19:03 2.3.0-dev.28 [Pipeline] } 17:19:03 $ docker exec --env ******** --env ******** 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec ssh-agent -k 17:19:04 unset SSH_AUTH_SOCK; 17:19:04 unset SSH_AGENT_PID; 17:19:04 echo Agent pid 75 killed; 17:19:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:19:04 + git semver [Pipeline] } 17:19:04 $ docker stop --time=1 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec 17:19:05 $ docker rm -f 969a767237fb56d0ab0cdcb67e370e1edc3ffe10562a2135d98d20ecec2b48ec [Pipeline] // withDockerContainer [Pipeline] sh 17:19:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:19:06 Stashed 1 file(s) [Pipeline] echo 17:19:06 [edgeXSemver]: initialized semver on version 2.3.0-dev.28 [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 17:19:06 provisioning config files... 17:19:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7910940466497925281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:06 ---> docker-login.sh 17:19:06 nexus3.edgexfoundry.org:10001 17:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:06 Configure a credential helper to remove this warning. See 17:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:06 17:19:06 Login Succeeded 17:19:06 nexus3.edgexfoundry.org:10002 17:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:07 Configure a credential helper to remove this warning. See 17:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:07 17:19:07 Login Succeeded 17:19:07 nexus3.edgexfoundry.org:10003 17:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:07 Configure a credential helper to remove this warning. See 17:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:07 17:19:07 Login Succeeded 17:19:07 nexus3.edgexfoundry.org:10004 17:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:07 Configure a credential helper to remove this warning. See 17:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:07 17:19:07 Login Succeeded 17:19:07 docker.io 17:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:07 Configure a credential helper to remove this warning. See 17:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:07 17:19:07 Login Succeeded 17:19:07 ---> docker-login.sh ends [Pipeline] } 17:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:19:07 ========================================================= 17:19:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:19:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:08 + 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 . 17:19:08 Sending build context to Docker daemon 20.76MB 17:19:08 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:19:08 Step 2/14 : FROM ${BASE} AS builder 17:19:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:19:08 2408cc74d12b: Pulling fs layer 17:19:08 ea60b727a1ce: Pulling fs layer 17:19:08 30c4a7721957: Pulling fs layer 17:19:08 370296b7ddb6: Pulling fs layer 17:19:08 7c6cee850709: Pulling fs layer 17:19:08 aa9baa53a306: Pulling fs layer 17:19:08 8b309c321861: Pulling fs layer 17:19:08 d8d76fd02f46: Pulling fs layer 17:19:08 fa31f396de31: Pulling fs layer 17:19:08 370296b7ddb6: Waiting 17:19:08 7c6cee850709: Waiting 17:19:08 aa9baa53a306: Waiting 17:19:08 8b309c321861: Waiting 17:19:08 d8d76fd02f46: Waiting 17:19:08 fa31f396de31: Waiting 17:19:08 30c4a7721957: Verifying Checksum 17:19:08 30c4a7721957: Download complete 17:19:08 ea60b727a1ce: Verifying Checksum 17:19:08 ea60b727a1ce: Download complete 17:19:08 7c6cee850709: Verifying Checksum 17:19:08 7c6cee850709: Download complete 17:19:08 aa9baa53a306: Download complete 17:19:08 2408cc74d12b: Verifying Checksum 17:19:08 2408cc74d12b: Download complete 17:19:08 8b309c321861: Download complete 17:19:08 2408cc74d12b: Pull complete 17:19:08 ea60b727a1ce: Pull complete 17:19:08 30c4a7721957: Pull complete 17:19:08 fa31f396de31: Verifying Checksum 17:19:08 fa31f396de31: Download complete 17:19:09 370296b7ddb6: Download complete 17:19:09 d8d76fd02f46: Verifying Checksum 17:19:09 d8d76fd02f46: Download complete 17:19:13 370296b7ddb6: Pull complete 17:19:13 7c6cee850709: Pull complete 17:19:13 aa9baa53a306: Pull complete 17:19:13 8b309c321861: Pull complete 17:19:15 d8d76fd02f46: Pull complete 17:19:16 fa31f396de31: Pull complete 17:19:16 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 17:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:19:16 ---> cef68f9685f8 17:19:16 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:19:17 ---> Running in 363b34b044b8 17:19:17 Removing intermediate container 363b34b044b8 17:19:17 ---> f99301f23af1 17:19:17 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:17 ---> Running in 48aa42cb723b 17:19:17 Removing intermediate container 48aa42cb723b 17:19:17 ---> 1617d73a7084 17:19:17 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:19:17 ---> Running in 6cd73d60beaf 17:19:17 Removing intermediate container 6cd73d60beaf 17:19:17 ---> 8b8de84434aa 17:19:17 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:19:17 ---> Running in 7d9a6913c66b 17:19:17 Removing intermediate container 7d9a6913c66b 17:19:17 ---> e5310a1be30c 17:19:17 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:19:17 ---> Running in 6a81e84c4c05 17:19:18 Removing intermediate container 6a81e84c4c05 17:19:18 ---> 1243041c336c 17:19:18 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:19:18 ---> Running in 99bfcda641c6 17:19:18 Removing intermediate container 99bfcda641c6 17:19:18 ---> 653326767358 17:19:18 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:18 ---> Running in 449d7bf55fd0 17:19:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:19:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:19:20 OK: 211 MiB in 51 packages 17:19:20 Removing intermediate container 449d7bf55fd0 17:19:20 ---> 2e1d9a514849 17:19:20 Step 10/14 : WORKDIR /device-onvif-camera 17:19:20 ---> Running in efc61f98a006 17:19:20 Removing intermediate container efc61f98a006 17:19:20 ---> 72f45b54e435 17:19:20 Step 11/14 : COPY go.mod vendor* ./ 17:19:20 ---> 9bbf5b3ed320 17:19:20 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:20 ---> Running in 477ecab6110c 17:19:21 Still waiting to schedule task 17:19:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6900’ 17:19:39 Removing intermediate container 477ecab6110c 17:19:39 ---> 96eed00492bf 17:19:39 Step 13/14 : COPY . . 17:19:39 ---> a6f49161ed46 17:19:39 Step 14/14 : RUN ${MAKE} 17:19:39 ---> Running in c805e0ab745b 17:19:39 noop 17:19:39 Removing intermediate container c805e0ab745b 17:19:39 ---> 4c8f5bac9277 17:19:39 Successfully built 4c8f5bac9277 17:19:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:39 + docker inspect -f . ci-base-image-x86_64 17:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:39 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:19:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:19:39 $ docker top e2fca85665eb51b73f9ff50ee6ae4674e6cf716c35c508139c987be8bfb27a6b -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:40 + go version 17:19:40 go version go1.18.3 linux/amd64 [Pipeline] } 17:19:40 $ docker stop --time=1 e2fca85665eb51b73f9ff50ee6ae4674e6cf716c35c508139c987be8bfb27a6b 17:19:41 $ docker rm -f e2fca85665eb51b73f9ff50ee6ae4674e6cf716c35c508139c987be8bfb27a6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:41 + docker inspect -f . ci-base-image-x86_64 17:19:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:41 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:19:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:19:42 $ docker top 3a40154ac346feb4b3dde2b044e5733a97d5aba76aaf6ae6f70928af314ff612 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:42 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 17:19:42 + make test 17:19:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:19:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:19:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:19:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 17:19:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:19:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.471s coverage: 86.5% of statements 17:20:04 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." 17:20:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:20:08 $ docker stop --time=1 3a40154ac346feb4b3dde2b044e5733a97d5aba76aaf6ae6f70928af314ff612 17:20:09 $ docker rm -f 3a40154ac346feb4b3dde2b044e5733a97d5aba76aaf6ae6f70928af314ff612 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:20:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:20:11 + ls -al . 17:20:11 total 236 17:20:11 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 17:19 . 17:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:18 .. 17:20:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 17:19 .git 17:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:18 .github 17:20:11 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 17:18 .gitignore 17:20:11 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 17:18 .golangci.yml 17:20:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 17:19 .semver 17:20:11 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 17:18 Attribution.txt 17:20:11 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 17:18 CHANGELOG.md 17:20:11 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 17:18 Dockerfile 17:20:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 17:18 GOVERNANCE.md 17:20:11 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 17:18 Jenkinsfile 17:20:11 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 17:18 LICENSE 17:20:11 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 17:18 Makefile 17:20:11 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 17:18 OWNERS.md 17:20:11 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 17:18 README.md 17:20:11 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 17:19 VERSION 17:20:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:18 bin 17:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:18 cmd 17:20:11 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 17:19 coverage.out 17:20:11 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 17:18 doc 17:20:11 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 17:18 go.mod 17:20:11 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 17:18 go.sum 17:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:18 internal 17:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:18 snap 17:20:11 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 17:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:11 + 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=22d74d2547d10604d43a59f451f2f1d479f6a1f2 --label arch=amd64 --label version=2.3.0-dev.28 . 17:20:11 Sending build context to Docker daemon 20.84MB 17:20:11 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:20:11 Step 2/27 : FROM ${BASE} AS builder 17:20:11 ---> 4c8f5bac9277 17:20:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:20:11 ---> Running in 4fe24aad34cc 17:20:11 Removing intermediate container 4fe24aad34cc 17:20:11 ---> eb58d5453f61 17:20:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:20:11 ---> Running in 17065fb1ba2c 17:20:11 Removing intermediate container 17065fb1ba2c 17:20:11 ---> b24271ae3da0 17:20:11 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:20:11 ---> Running in c7e04cfb66e4 17:20:12 Removing intermediate container c7e04cfb66e4 17:20:12 ---> 27c66aa13af0 17:20:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:20:12 ---> Running in 9b771a46c28e 17:20:12 Removing intermediate container 9b771a46c28e 17:20:12 ---> b76855f53c13 17:20:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:20:12 ---> Running in decd106d56e9 17:20:12 Removing intermediate container decd106d56e9 17:20:12 ---> 30d925d370e0 17:20:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:20:12 ---> Running in 578c43e36f75 17:20:12 Removing intermediate container 578c43e36f75 17:20:12 ---> 32a5f5d9d0cd 17:20:12 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:12 ---> Running in 11b837e04282 17:20:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:20:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:20:14 OK: 211 MiB in 51 packages 17:20:14 Removing intermediate container 11b837e04282 17:20:14 ---> 510fd6856994 17:20:14 Step 10/27 : WORKDIR /device-onvif-camera 17:20:14 ---> Running in 17c71d4b993c 17:20:14 Removing intermediate container 17c71d4b993c 17:20:14 ---> 15753ec5b487 17:20:14 Step 11/27 : COPY go.mod vendor* ./ 17:20:14 ---> 2bcaadbcb2b2 17:20:14 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:20:14 ---> Running in d433124cebd2 17:20:15 Removing intermediate container d433124cebd2 17:20:15 ---> 8f03588d70ca 17:20:15 Step 13/27 : COPY . . 17:20:16 ---> f5dba995500d 17:20:16 Step 14/27 : RUN ${MAKE} 17:20:16 ---> Running in 8d3f54c0a8df 17:20:16 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:20:42 Removing intermediate container 8d3f54c0a8df 17:20:42 ---> 7a79853052c2 17:20:42 Step 15/27 : FROM alpine:3.16 17:20:42 3.16: Pulling from library/alpine 17:20:42 213ec9aee27d: Pulling fs layer 17:20:42 213ec9aee27d: Download complete 17:20:42 213ec9aee27d: Pull complete 17:20:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:20:42 Status: Downloaded newer image for alpine:3.16 17:20:42 ---> 9c6f07244728 17:20:42 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:20:42 ---> Running in fae278f77257 17:20:42 Removing intermediate container fae278f77257 17:20:42 ---> f16207d5e6d6 17:20:42 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:20:42 ---> Running in c1e293323554 17:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:20:42 (1/6) Installing dumb-init (1.2.5-r1) 17:20:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:20:42 (3/6) Installing libsodium (1.0.18-r0) 17:20:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:20:42 (5/6) Installing libzmq (4.3.4-r0) 17:20:42 (6/6) Installing zeromq (4.3.4-r0) 17:20:42 Executing busybox-1.35.0-r17.trigger 17:20:42 OK: 8 MiB in 20 packages 17:20:43 Removing intermediate container c1e293323554 17:20:43 ---> c474380f5f98 17:20:43 Step 18/27 : WORKDIR / 17:20:43 ---> Running in 3ddc1fee7654 17:20:43 Removing intermediate container 3ddc1fee7654 17:20:43 ---> 694bd861a55d 17:20:43 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:20:44 ---> f6fe2091716a 17:20:44 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:20:44 ---> ef7bf5d772da 17:20:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:20:44 ---> bff22c696fce 17:20:44 Step 22/27 : EXPOSE 59984 17:20:45 ---> Running in bcf5313b2460 17:20:45 Removing intermediate container bcf5313b2460 17:20:45 ---> 98cd6394c5d8 17:20:45 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:20:45 ---> Running in 9bb43bd07509 17:20:45 Removing intermediate container 9bb43bd07509 17:20:45 ---> d52225caa9b5 17:20:45 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:20:45 ---> Running in 06670a4d5d05 17:20:46 Removing intermediate container 06670a4d5d05 17:20:46 ---> 6e6ee677d08c 17:20:46 Step 25/27 : LABEL arch=amd64 17:20:46 ---> Running in 3ea79312ae7f 17:20:46 Removing intermediate container 3ea79312ae7f 17:20:46 ---> 8b7566a45594 17:20:46 Step 26/27 : LABEL git_sha=22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:20:46 ---> Running in 657a01f20fb2 17:20:46 Removing intermediate container 657a01f20fb2 17:20:46 ---> b779c49466d9 17:20:46 Step 27/27 : LABEL version=2.3.0-dev.28 17:20:46 ---> Running in df65fa331b81 17:20:47 Removing intermediate container df65fa331b81 17:20:47 ---> 5c03c15902c9 17:20:47 [Warning] One or more build-args [ARCH] were not consumed 17:20:47 Successfully built 5c03c15902c9 17:20:47 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 17:20:47 provisioning config files... 17:20:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16605335707168244478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:47 ---> docker-login.sh 17:20:47 nexus3.edgexfoundry.org:10001 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10002 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10003 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:47 Configure a credential helper to remove this warning. See 17:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:47 17:20:47 Login Succeeded 17:20:47 nexus3.edgexfoundry.org:10004 17:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:48 Configure a credential helper to remove this warning. See 17:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:48 17:20:48 Login Succeeded 17:20:48 docker.io 17:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:48 Configure a credential helper to remove this warning. See 17:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:48 17:20:48 Login Succeeded 17:20:48 ---> docker-login.sh ends [Pipeline] } 17:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:48 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 17:20:48 22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:20:48 latest 17:20:48 2.3.0-dev.28 17:20:48 22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:20:48 main 17:20:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:48 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:20:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:20:49 beb4af49c8a3: Preparing 17:20:49 d0381e38771b: Preparing 17:20:49 078d7857c9f0: Preparing 17:20:49 540aca20da1a: Preparing 17:20:49 994393dc58e7: Preparing 17:20:49 994393dc58e7: Layer already exists 17:20:49 d0381e38771b: Pushed 17:20:49 beb4af49c8a3: Pushed 17:20:49 540aca20da1a: Pushed 17:20:51 078d7857c9f0: Pushed 17:20:52 22d74d2547d10604d43a59f451f2f1d479f6a1f2: digest: sha256:b41ce4b0635cd2817170be0f5debc23116d780aeb3d34d56a19a4a4737d98dab size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:20:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:20:52 beb4af49c8a3: Preparing 17:20:52 d0381e38771b: Preparing 17:20:52 078d7857c9f0: Preparing 17:20:52 540aca20da1a: Preparing 17:20:52 994393dc58e7: Preparing 17:20:52 beb4af49c8a3: Layer already exists 17:20:52 078d7857c9f0: Layer already exists 17:20:52 540aca20da1a: Layer already exists 17:20:52 994393dc58e7: Layer already exists 17:20:52 d0381e38771b: Layer already exists 17:20:52 latest: digest: sha256:b41ce4b0635cd2817170be0f5debc23116d780aeb3d34d56a19a4a4737d98dab size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.28 17:20:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:20:53 beb4af49c8a3: Preparing 17:20:53 d0381e38771b: Preparing 17:20:53 078d7857c9f0: Preparing 17:20:53 540aca20da1a: Preparing 17:20:53 994393dc58e7: Preparing 17:20:53 540aca20da1a: Layer already exists 17:20:53 078d7857c9f0: Layer already exists 17:20:53 d0381e38771b: Layer already exists 17:20:53 beb4af49c8a3: Layer already exists 17:20:53 994393dc58e7: Layer already exists 17:20:53 2.3.0-dev.28: digest: sha256:b41ce4b0635cd2817170be0f5debc23116d780aeb3d34d56a19a4a4737d98dab size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:20:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:20:53 beb4af49c8a3: Preparing 17:20:53 d0381e38771b: Preparing 17:20:53 078d7857c9f0: Preparing 17:20:53 540aca20da1a: Preparing 17:20:53 994393dc58e7: Preparing 17:20:53 078d7857c9f0: Layer already exists 17:20:53 d0381e38771b: Layer already exists 17:20:53 994393dc58e7: Layer already exists 17:20:53 540aca20da1a: Layer already exists 17:20:53 beb4af49c8a3: Layer already exists 17:20:53 22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28: digest: sha256:b41ce4b0635cd2817170be0f5debc23116d780aeb3d34d56a19a4a4737d98dab size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 17:20:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 17:20:54 beb4af49c8a3: Preparing 17:20:54 d0381e38771b: Preparing 17:20:54 078d7857c9f0: Preparing 17:20:54 540aca20da1a: Preparing 17:20:54 994393dc58e7: Preparing 17:20:54 d0381e38771b: Layer already exists 17:20:54 078d7857c9f0: Layer already exists 17:20:54 beb4af49c8a3: Layer already exists 17:20:54 994393dc58e7: Layer already exists 17:20:54 540aca20da1a: Layer already exists 17:20:54 main: digest: sha256:b41ce4b0635cd2817170be0f5debc23116d780aeb3d34d56a19a4a4737d98dab size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:20:54 ===================================================== [Pipeline] echo 17:20:54 taggedImages: 17:20:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:20:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 17:20:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.28 17:20:54 - nexus3.edgexfoundry.org:10004/device-onvif-camera:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:20:54 - 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 17:20:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:54 17:20:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:55 latest: Pulling from edgex-lftools-log-publisher 17:20:55 5eb5b503b376: Pulling fs layer 17:20:55 5c69ac0246d0: Pulling fs layer 17:20:55 ec43610c2a17: Pulling fs layer 17:20:55 3a2ae6a8a46f: Pulling fs layer 17:20:55 33b1e0a273af: Pulling fs layer 17:20:55 5d3b04190fa2: Pulling fs layer 17:20:55 2f39f015ded8: Pulling fs layer 17:20:55 33b1e0a273af: Waiting 17:20:55 2f39f015ded8: Waiting 17:20:55 3a2ae6a8a46f: Waiting 17:20:55 5d3b04190fa2: Waiting 17:20:55 5c69ac0246d0: Download complete 17:20:55 3a2ae6a8a46f: Verifying Checksum 17:20:55 3a2ae6a8a46f: Download complete 17:20:55 33b1e0a273af: Verifying Checksum 17:20:55 33b1e0a273af: Download complete 17:20:55 5d3b04190fa2: Verifying Checksum 17:20:55 5d3b04190fa2: Download complete 17:20:55 ec43610c2a17: Download complete 17:20:55 5eb5b503b376: Verifying Checksum 17:20:55 5eb5b503b376: Download complete 17:20:56 2f39f015ded8: Download complete 17:20:57 5eb5b503b376: Pull complete 17:20:57 5c69ac0246d0: Pull complete 17:20:57 ec43610c2a17: Pull complete 17:20:57 3a2ae6a8a46f: Pull complete 17:20:57 33b1e0a273af: Pull complete 17:20:57 5d3b04190fa2: Pull complete 17:21:03 2f39f015ded8: Pull complete 17:21:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:21:03 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:21:06 $ docker top bb95803ba5424ec4e1198b9968d8cd47986c29ca9adb656688db398f533efb95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:07 ---> job-cost.sh 17:21:07 lf-activate-venv: SKIPPING 17:21:07 INFO: No Stack... 17:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 17:21:08 INFO: Archiving Costs [Pipeline] sh 17:21:08 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 17:21:08 + cut -d, -f6 [Pipeline] lock 17:21:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] 17:21:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] did not exist. Created. 17:21:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:21:08 + echo total: 0.2199999988079071 [Pipeline] stash 17:21:08 Stashed 1 file(s) [Pipeline] } 17:21:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 17:21:08 $ docker stop --time=1 bb95803ba5424ec4e1198b9968d8cd47986c29ca9adb656688db398f533efb95 17:21:09 $ docker rm -f bb95803ba5424ec4e1198b9968d8cd47986c29ca9adb656688db398f533efb95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6903 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 17:22:46 Running in /w/workspace/device-onvif-camera/67 [Pipeline] { [Pipeline] checkout 17:22:46 The recommended git tool is: git 17:22:52 using credential edgex-jenkins-ssh 17:22:52 Cloning the remote Git repository 17:22:52 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 17:22:52 > git init /w/workspace/device-onvif-camera/67 # timeout=10 17:22:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 17:22:53 > git --version # timeout=10 17:22:53 > git --version # 'git version 2.25.1' 17:22:53 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:53 Verifying host key using known hosts file 17:22:53 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. 17:22:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:55 Avoid second fetch 17:22:55 Checking out Revision 22d74d2547d10604d43a59f451f2f1d479f6a1f2 (main) 17:22:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 17:22:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:55 > git config core.sparsecheckout # timeout=10 17:22:55 > git checkout -f 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 17:22:56 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#169)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:22:56 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:56 Dload Upload Total Spent Left Speed 17:22:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 17:22:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:57 + sudo tee /etc/docker/daemon.new 17:22:57 { 17:22:57 "registry-mirrors": [ 17:22:57 "https://nexus3.edgexfoundry.org:10001" 17:22:57 ], 17:22:57 "bip": "10.250.0.254/24", 17:22:57 "hosts": [ 17:22:57 "tcp://0.0.0.0:5555", 17:22:57 "unix:///var/run/docker.sock" 17:22:57 ], 17:22:57 "mtu": 1458, 17:22:57 "selinux-enabled": true, 17:22:57 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:57 } [Pipeline] sh 17:22:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:16 provisioning config files... 17:23:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/67@tmp/config5809165657383883264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:17 ---> docker-login.sh 17:23:17 nexus3.edgexfoundry.org:10001 17:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:17 Configure a credential helper to remove this warning. See 17:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:17 17:23:17 Login Succeeded 17:23:17 nexus3.edgexfoundry.org:10002 17:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10003 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 nexus3.edgexfoundry.org:10004 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:18 Configure a credential helper to remove this warning. See 17:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:18 17:23:18 Login Succeeded 17:23:18 docker.io 17:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:19 Configure a credential helper to remove this warning. See 17:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:19 17:23:19 Login Succeeded 17:23:19 ---> docker-login.sh ends [Pipeline] } 17:23:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:19 ========================================================= 17:23:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:23:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:19 + 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 . 17:23:19 Sending build context to Docker daemon 14.19MB 17:23:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 17:23:20 Step 2/14 : FROM ${BASE} AS builder 17:23:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:23:20 b3c136eddcbf: Pulling fs layer 17:23:20 c0a3192eca97: Pulling fs layer 17:23:20 a050256f5b6f: Pulling fs layer 17:23:20 656be50a0ddc: Pulling fs layer 17:23:20 2bbca73fdf42: Pulling fs layer 17:23:20 f607e4fc86c3: Pulling fs layer 17:23:20 4d572c569a2c: Pulling fs layer 17:23:20 fcf976331f73: Pulling fs layer 17:23:20 2bbca73fdf42: Waiting 17:23:20 f607e4fc86c3: Waiting 17:23:20 4d572c569a2c: Waiting 17:23:20 fcf976331f73: Waiting 17:23:20 656be50a0ddc: Waiting 17:23:20 a050256f5b6f: Verifying Checksum 17:23:20 a050256f5b6f: Download complete 17:23:20 c0a3192eca97: Verifying Checksum 17:23:20 c0a3192eca97: Download complete 17:23:20 2bbca73fdf42: Verifying Checksum 17:23:20 2bbca73fdf42: Download complete 17:23:20 f607e4fc86c3: Verifying Checksum 17:23:20 f607e4fc86c3: Download complete 17:23:20 b3c136eddcbf: Verifying Checksum 17:23:20 b3c136eddcbf: Download complete 17:23:21 b3c136eddcbf: Pull complete 17:23:21 fcf976331f73: Verifying Checksum 17:23:21 fcf976331f73: Download complete 17:23:21 c0a3192eca97: Pull complete 17:23:21 a050256f5b6f: Pull complete 17:23:22 4d572c569a2c: Verifying Checksum 17:23:22 4d572c569a2c: Download complete 17:23:23 656be50a0ddc: Verifying Checksum 17:23:23 656be50a0ddc: Download complete 17:23:35 656be50a0ddc: Pull complete 17:23:35 2bbca73fdf42: Pull complete 17:23:35 f607e4fc86c3: Pull complete 17:23:40 4d572c569a2c: Pull complete 17:23:43 fcf976331f73: Pull complete 17:23:43 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 17:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:23:43 ---> 3970a7415f9e 17:23:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 17:23:44 ---> Running in c0d6f6197392 17:23:45 Removing intermediate container c0d6f6197392 17:23:45 ---> b7c9166e436a 17:23:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:23:45 ---> Running in aa52c2f863ba 17:23:45 Removing intermediate container aa52c2f863ba 17:23:45 ---> 1a6951a672b7 17:23:45 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:23:45 ---> Running in 168f2303f571 17:23:45 Removing intermediate container 168f2303f571 17:23:45 ---> 19a73e070e4a 17:23:45 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 17:23:45 ---> Running in 286c96b384cd 17:23:46 Removing intermediate container 286c96b384cd 17:23:46 ---> 9ac94674639c 17:23:46 Step 7/14 : LABEL Name=edgex-device-onvif-camera 17:23:46 ---> Running in ac80c3ae2184 17:23:46 Removing intermediate container ac80c3ae2184 17:23:46 ---> a288ec515332 17:23:46 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:46 ---> Running in b7b950c68e25 17:23:48 Removing intermediate container b7b950c68e25 17:23:48 ---> 54897cf87385 17:23:48 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:48 ---> Running in 65856445843b 17:23:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:23:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:23:50 OK: 221 MiB in 51 packages 17:23:51 Removing intermediate container 65856445843b 17:23:51 ---> fffe3667e7db 17:23:51 Step 10/14 : WORKDIR /device-onvif-camera 17:23:51 ---> Running in b267518827c2 17:23:52 Removing intermediate container b267518827c2 17:23:52 ---> 48a808fc35a1 17:23:52 Step 11/14 : COPY go.mod vendor* ./ 17:23:52 ---> 0dac0b41b7cb 17:23:52 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:52 ---> Running in 292229896aa4 17:24:49 Removing intermediate container 292229896aa4 17:24:49 ---> e810bd0cc896 17:24:49 Step 13/14 : COPY . . 17:24:49 ---> efb0b1ca5800 17:24:49 Step 14/14 : RUN ${MAKE} 17:24:49 ---> Running in 61ad6801d9fc 17:24:49 noop 17:24:49 Removing intermediate container 61ad6801d9fc 17:24:49 ---> 8149d97d05f3 17:24:49 Successfully built 8149d97d05f3 17:24:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:49 + docker inspect -f . ci-base-image-arm64 17:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:49 prd-ubuntu20.04-docker-arm64-4c-16g-6903 does not seem to be running inside a container 17:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/67 -v /w/workspace/device-onvif-camera/67:/w/workspace/device-onvif-camera/67:rw,z -v /w/workspace/device-onvif-camera/67@tmp:/w/workspace/device-onvif-camera/67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:51 $ docker top 02aecc1df5de07688a4a6ac0fea4e9ac8fc72af535aaeeba304db3cea30c88e4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:51 + go version 17:24:51 go version go1.18.3 linux/arm64 [Pipeline] } 17:24:51 $ docker stop --time=1 02aecc1df5de07688a4a6ac0fea4e9ac8fc72af535aaeeba304db3cea30c88e4 17:24:53 $ docker rm -f 02aecc1df5de07688a4a6ac0fea4e9ac8fc72af535aaeeba304db3cea30c88e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:54 + docker inspect -f . ci-base-image-arm64 17:24:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:54 prd-ubuntu20.04-docker-arm64-4c-16g-6903 does not seem to be running inside a container 17:24:54 $ 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/67 -v /w/workspace/device-onvif-camera/67:/w/workspace/device-onvif-camera/67:rw,z -v /w/workspace/device-onvif-camera/67@tmp:/w/workspace/device-onvif-camera/67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:55 $ docker top 5a612b010ef69e0ed4e12460330403c859757cfb8e30085e67107837590b9e44 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/67 [Pipeline] fileExists [Pipeline] sh 17:24:56 + make test 17:24:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:24:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 17:26:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 17:26:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.196s coverage: 28.2% of statements 17:26:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 17:26:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.863s coverage: 86.5% of statements 17:26:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:26:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:27:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:27:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:27:20 ./bin/test-attribution-txt.sh [Pipeline] echo 17:27:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:27:20 $ docker stop --time=1 5a612b010ef69e0ed4e12460330403c859757cfb8e30085e67107837590b9e44 17:27:22 $ docker rm -f 5a612b010ef69e0ed4e12460330403c859757cfb8e30085e67107837590b9e44 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:27:23 Warning: overwriting stash ‘coverage-report’ 17:27:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:27:24 + ls -al . 17:27:24 total 232 17:27:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 17:24 . 17:27:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:22 .. 17:27:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 17:22 .git 17:27:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:22 .github 17:27:24 -rw-rw-r-- 1 jenkins jenkins 418 Oct 3 17:22 .gitignore 17:27:24 -rw-rw-r-- 1 jenkins jenkins 42 Oct 3 17:22 .golangci.yml 17:27:24 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 3 17:22 Attribution.txt 17:27:24 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 3 17:22 CHANGELOG.md 17:27:24 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 3 17:22 Dockerfile 17:27:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 17:22 GOVERNANCE.md 17:27:24 -rw-rw-r-- 1 jenkins jenkins 734 Oct 3 17:22 Jenkinsfile 17:27:24 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 3 17:22 LICENSE 17:27:24 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 3 17:22 Makefile 17:27:24 -rw-rw-r-- 1 jenkins jenkins 625 Oct 3 17:22 OWNERS.md 17:27:24 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 3 17:22 README.md 17:27:24 -rw-rw-r-- 1 jenkins jenkins 12 Oct 3 17:19 VERSION 17:27:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 17:22 bin 17:27:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 17:22 cmd 17:27:24 -rw-r--r-- 1 jenkins jenkins 78461 Oct 3 17:26 coverage.out 17:27:24 drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 17:22 doc 17:27:24 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 3 17:22 go.mod 17:27:24 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 3 17:22 go.sum 17:27:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:22 internal 17:27:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 17:22 snap 17:27:24 -rw-rw-r-- 1 jenkins jenkins 236 Oct 3 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:25 + 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=22d74d2547d10604d43a59f451f2f1d479f6a1f2 --label arch=arm64 --label version=2.3.0-dev.28 . 17:27:26 Sending build context to Docker daemon 14.27MB 17:27:26 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:27:26 Step 2/27 : FROM ${BASE} AS builder 17:27:26 ---> 8149d97d05f3 17:27:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 17:27:26 ---> Running in da1f70ad6662 17:27:26 Removing intermediate container da1f70ad6662 17:27:26 ---> bf8c68dc0839 17:27:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:26 ---> Running in 66964a064b47 17:27:26 Removing intermediate container 66964a064b47 17:27:26 ---> 3977989c7364 17:27:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 17:27:27 ---> Running in 324ec05ff14a 17:27:27 Removing intermediate container 324ec05ff14a 17:27:27 ---> 7c2daaedce1e 17:27:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 17:27:27 ---> Running in 86584c1255dd 17:27:27 Removing intermediate container 86584c1255dd 17:27:27 ---> 56fd296b04a4 17:27:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 17:27:27 ---> Running in 6932a99db088 17:27:28 Removing intermediate container 6932a99db088 17:27:28 ---> 6849e5f3f8af 17:27:28 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:27:28 ---> Running in aa955d1b0355 17:27:30 Removing intermediate container aa955d1b0355 17:27:30 ---> 23cf3308ade7 17:27:30 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:31 ---> Running in 9f6b0ab8ee18 17:27:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:27:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:27:33 OK: 221 MiB in 51 packages 17:27:35 Removing intermediate container 9f6b0ab8ee18 17:27:35 ---> 69d49c3b0462 17:27:35 Step 10/27 : WORKDIR /device-onvif-camera 17:27:35 ---> Running in 591b71106dea 17:27:35 Removing intermediate container 591b71106dea 17:27:35 ---> 2e6680f03424 17:27:35 Step 11/27 : COPY go.mod vendor* ./ 17:27:35 ---> 182035b96bed 17:27:35 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:35 ---> Running in ef03f38d6b3a 17:27:38 Removing intermediate container ef03f38d6b3a 17:27:38 ---> 808048d956d7 17:27:38 Step 13/27 : COPY . . 17:27:39 ---> 1f4f8535cbe5 17:27:39 Step 14/27 : RUN ${MAKE} 17:27:39 ---> Running in 04f5624e9e45 17:27:41 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.28 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:30:02 Removing intermediate container 04f5624e9e45 17:30:02 ---> cf1301272c1e 17:30:02 Step 15/27 : FROM alpine:3.16 17:30:04 3.16: Pulling from library/alpine 17:30:04 9b18e9b68314: Pulling fs layer 17:30:04 9b18e9b68314: Verifying Checksum 17:30:04 9b18e9b68314: Download complete 17:30:05 9b18e9b68314: Pull complete 17:30:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:30:05 Status: Downloaded newer image for alpine:3.16 17:30:05 ---> a6215f271958 17:30:05 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:30:05 ---> Running in 393a91be5dba 17:30:05 Removing intermediate container 393a91be5dba 17:30:05 ---> b5059e5d3cf3 17:30:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:30:06 ---> Running in b6371987ff61 17:30:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:08 (1/6) Installing dumb-init (1.2.5-r1) 17:30:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:30:08 (3/6) Installing libsodium (1.0.18-r0) 17:30:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:30:08 (5/6) Installing libzmq (4.3.4-r0) 17:30:08 (6/6) Installing zeromq (4.3.4-r0) 17:30:08 Executing busybox-1.35.0-r17.trigger 17:30:08 OK: 8 MiB in 20 packages 17:30:09 Removing intermediate container b6371987ff61 17:30:09 ---> 7e7cce82d303 17:30:09 Step 18/27 : WORKDIR / 17:30:09 ---> Running in a03dd95fe67f 17:30:09 Removing intermediate container a03dd95fe67f 17:30:09 ---> 3e48423fab37 17:30:09 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 17:30:10 ---> 8e33f93c4ee9 17:30:10 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 17:30:11 ---> f06a4bb15abf 17:30:11 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:30:12 ---> 24af2049d8a9 17:30:12 Step 22/27 : EXPOSE 59984 17:30:12 ---> Running in 863ef64e1653 17:30:12 Removing intermediate container 863ef64e1653 17:30:12 ---> ef6a6cdd1b95 17:30:12 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 17:30:12 ---> Running in ede35e673a20 17:30:12 Removing intermediate container ede35e673a20 17:30:12 ---> 56737f3314dc 17:30:12 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:30:12 ---> Running in d2995a7d18f9 17:30:12 Removing intermediate container d2995a7d18f9 17:30:12 ---> 189354c57eea 17:30:12 Step 25/27 : LABEL arch=arm64 17:30:13 ---> Running in f5787382edd3 17:30:13 Removing intermediate container f5787382edd3 17:30:13 ---> 3205aa5d7693 17:30:13 Step 26/27 : LABEL git_sha=22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:30:13 ---> Running in 9644b65d8989 17:30:13 Removing intermediate container 9644b65d8989 17:30:13 ---> 4a1a26499d56 17:30:13 Step 27/27 : LABEL version=2.3.0-dev.28 17:30:13 ---> Running in d1ace9abef1f 17:30:13 Removing intermediate container d1ace9abef1f 17:30:13 ---> 8d8ac2646013 17:30:13 [Warning] One or more build-args [ARCH] were not consumed 17:30:13 Successfully built 8d8ac2646013 17:30:14 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:14 provisioning config files... 17:30:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/67@tmp/config7963814453534957703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:14 ---> docker-login.sh 17:30:14 nexus3.edgexfoundry.org:10001 17:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:15 Configure a credential helper to remove this warning. See 17:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:15 17:30:15 Login Succeeded 17:30:15 nexus3.edgexfoundry.org:10002 17:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:15 Configure a credential helper to remove this warning. See 17:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:15 17:30:15 Login Succeeded 17:30:15 nexus3.edgexfoundry.org:10003 17:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:15 Configure a credential helper to remove this warning. See 17:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:15 17:30:15 Login Succeeded 17:30:15 nexus3.edgexfoundry.org:10004 17:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:16 Configure a credential helper to remove this warning. See 17:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:16 17:30:16 Login Succeeded 17:30:16 docker.io 17:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:16 Configure a credential helper to remove this warning. See 17:30:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:16 17:30:16 Login Succeeded 17:30:16 ---> docker-login.sh ends [Pipeline] } 17:30:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:30:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:30:16 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:30:16 22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:30:16 latest 17:30:16 2.3.0-dev.28 17:30:16 22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:30:16 main 17:30:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:30:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:30:17 ae1a12557bbd: Preparing 17:30:17 e0474b0306d5: Preparing 17:30:17 0ee3ec3fe87e: Preparing 17:30:17 67667007c5e0: Preparing 17:30:17 5d3e392a13a0: Preparing 17:30:17 5d3e392a13a0: Layer already exists 17:30:17 ae1a12557bbd: Pushed 17:30:17 e0474b0306d5: Pushed 17:30:18 67667007c5e0: Pushed 17:30:23 0ee3ec3fe87e: Pushed 17:30:23 22d74d2547d10604d43a59f451f2f1d479f6a1f2: digest: sha256:cf84bf0249ef598f213257a2ad571403e63dcc3f149108a90d735ecc8608988c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:30:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:30:24 ae1a12557bbd: Preparing 17:30:24 e0474b0306d5: Preparing 17:30:24 0ee3ec3fe87e: Preparing 17:30:24 67667007c5e0: Preparing 17:30:24 5d3e392a13a0: Preparing 17:30:24 e0474b0306d5: Layer already exists 17:30:24 0ee3ec3fe87e: Layer already exists 17:30:24 5d3e392a13a0: Layer already exists 17:30:24 67667007c5e0: Layer already exists 17:30:24 ae1a12557bbd: Layer already exists 17:30:24 latest: digest: sha256:cf84bf0249ef598f213257a2ad571403e63dcc3f149108a90d735ecc8608988c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:24 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.28 17:30:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:30:24 ae1a12557bbd: Preparing 17:30:24 e0474b0306d5: Preparing 17:30:24 0ee3ec3fe87e: Preparing 17:30:24 67667007c5e0: Preparing 17:30:24 5d3e392a13a0: Preparing 17:30:24 0ee3ec3fe87e: Layer already exists 17:30:24 ae1a12557bbd: Layer already exists 17:30:24 5d3e392a13a0: Layer already exists 17:30:24 67667007c5e0: Layer already exists 17:30:24 e0474b0306d5: Layer already exists 17:30:24 2.3.0-dev.28: digest: sha256:cf84bf0249ef598f213257a2ad571403e63dcc3f149108a90d735ecc8608988c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:25 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:30:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:30:25 ae1a12557bbd: Preparing 17:30:25 e0474b0306d5: Preparing 17:30:25 0ee3ec3fe87e: Preparing 17:30:25 67667007c5e0: Preparing 17:30:25 5d3e392a13a0: Preparing 17:30:25 0ee3ec3fe87e: Layer already exists 17:30:25 5d3e392a13a0: Layer already exists 17:30:25 67667007c5e0: Layer already exists 17:30:25 e0474b0306d5: Layer already exists 17:30:25 ae1a12557bbd: Layer already exists 17:30:25 22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28: digest: sha256:cf84bf0249ef598f213257a2ad571403e63dcc3f149108a90d735ecc8608988c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:26 + 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 17:30:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:30:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:30:26 ae1a12557bbd: Preparing 17:30:26 e0474b0306d5: Preparing 17:30:26 0ee3ec3fe87e: Preparing 17:30:26 67667007c5e0: Preparing 17:30:26 5d3e392a13a0: Preparing 17:30:26 e0474b0306d5: Layer already exists 17:30:26 67667007c5e0: Layer already exists 17:30:26 5d3e392a13a0: Layer already exists 17:30:26 0ee3ec3fe87e: Layer already exists 17:30:26 ae1a12557bbd: Layer already exists 17:30:26 main: digest: sha256:cf84bf0249ef598f213257a2ad571403e63dcc3f149108a90d735ecc8608988c size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:30:26 ===================================================== [Pipeline] echo 17:30:26 taggedImages: 17:30:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2 17:30:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:30:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.28 17:30:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:22d74d2547d10604d43a59f451f2f1d479f6a1f2-2.3.0-dev.28 17:30:26 - 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 17:30:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:26 17:30:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:27 arm64: Pulling from edgex-lftools-log-publisher 17:30:27 8998bd30e6a1: Pulling fs layer 17:30:27 04944245beec: Pulling fs layer 17:30:27 699f458cf7ca: Pulling fs layer 17:30:27 765212b225bb: Pulling fs layer 17:30:27 f23df028b6ca: Pulling fs layer 17:30:27 d65c8cfc05b1: Pulling fs layer 17:30:27 2437ff75d9bd: Pulling fs layer 17:30:27 765212b225bb: Waiting 17:30:27 f23df028b6ca: Waiting 17:30:27 d65c8cfc05b1: Waiting 17:30:27 2437ff75d9bd: Waiting 17:30:27 04944245beec: Verifying Checksum 17:30:27 04944245beec: Download complete 17:30:27 765212b225bb: Download complete 17:30:27 f23df028b6ca: Download complete 17:30:27 d65c8cfc05b1: Verifying Checksum 17:30:27 d65c8cfc05b1: Download complete 17:30:27 699f458cf7ca: Verifying Checksum 17:30:27 699f458cf7ca: Download complete 17:30:27 8998bd30e6a1: Verifying Checksum 17:30:27 8998bd30e6a1: Download complete 17:30:29 2437ff75d9bd: Verifying Checksum 17:30:29 2437ff75d9bd: Download complete 17:30:31 8998bd30e6a1: Pull complete 17:30:31 04944245beec: Pull complete 17:30:33 699f458cf7ca: Pull complete 17:30:33 765212b225bb: Pull complete 17:30:34 f23df028b6ca: Pull complete 17:30:34 d65c8cfc05b1: Pull complete 17:30:49 2437ff75d9bd: Pull complete 17:30:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:30:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:49 prd-ubuntu20.04-docker-arm64-4c-16g-6903 does not seem to be running inside a container 17:30:49 $ 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/67 -v /w/workspace/device-onvif-camera/67:/w/workspace/device-onvif-camera/67:rw,z -v /w/workspace/device-onvif-camera/67@tmp:/w/workspace/device-onvif-camera/67@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:30:52 $ docker top 6162536887d26f08d4cb43b2b7b656d8449f86342a4a5890ce4eda5721cbdc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:52 ---> job-cost.sh 17:30:53 lf-activate-venv: SKIPPING 17:30:53 INFO: No Stack... 17:30:53 INFO: Retrieving Pricing Info for: v3-standard-4 17:30:54 INFO: Archiving Costs [Pipeline] sh 17:30:54 + cat /w/workspace/device-onvif-camera/67/archives/cost.csv 17:30:54 + cut -d, -f6 [Pipeline] lock 17:30:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] 17:30:54 Resource [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] did not exist. Created. 17:30:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:54 /w/workspace/device-onvif-camera/67@tmp/durable-1c9e35ee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:30:55 + echo total: 0.10999999940395355 [Pipeline] stash 17:30:55 Warning: overwriting stash ‘stack-cost’ 17:30:55 Stashed 1 file(s) [Pipeline] } 17:30:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-67-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:55 $ docker stop --time=1 6162536887d26f08d4cb43b2b7b656d8449f86342a4a5890ce4eda5721cbdc9d 17:30:56 $ docker rm -f 6162536887d26f08d4cb43b2b7b656d8449f86342a4a5890ce4eda5721cbdc9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:30:57 provisioning config files... 17:30:57 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18343139497953335044tmp [Pipeline] { [Pipeline] sh 17:30:57 + set +x 17:30:57 + curl -s https://codecov.io/bash 17:30:57 + bash -s -- 17:30:57 17:30:57 _____ _ 17:30:57 / ____| | | 17:30:57 | | ___ __| | ___ ___ _____ __ 17:30:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:30:57 | |___| (_) | (_| | __/ (_| (_) \ V / 17:30:57 \_____\___/ \__,_|\___|\___\___/ \_/ 17:30:57 Bash-1.0.6 17:30:57 17:30:57 17:30:57 ==> git version 2.25.1 found 17:30:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:30:57 Release-Date: 2020-01-08 17:30:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:30:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:30:57 ==> Jenkins CI detected. 17:30:57 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:30:57 project root: . 17:30:57 --> token set from env 17:30:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:30:57 ==> Running gcov in . (disable via -X gcov) 17:30:57 ==> Python coveragepy not found 17:30:57 ==> Searching for coverage reports in: 17:30:57 + . 17:30:57 -> Found 1 reports 17:30:57 ==> Detecting git/mercurial file structure 17:30:57 ==> Reading reports 17:30:57 + ./coverage.out bytes=78461 17:30:57 ==> Appending adjustments 17:30:57 https://docs.codecov.io/docs/fixing-reports 17:30:57 + Found adjustments 17:30:57 ==> Gzipping contents 17:30:57 12K /tmp/codecov.0AGeYD.gz 17:30:57 ==> Uploading reports 17:30:57 url: https://codecov.io 17:30:57 query: branch=main&commit=22d74d2547d10604d43a59f451f2f1d479f6a1f2&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:30:57 -> Pinging Codecov 17:30:57 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=22d74d2547d10604d43a59f451f2f1d479f6a1f2&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:30:58 -> Uploading to 17:30:58 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/F29A59C45E3A92E06B3E522C9905F8EF/22d74d2547d10604d43a59f451f2f1d479f6a1f2/120c7729-e933-4b5c-b5c0-875af5d1d57e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T173058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ad1e6ca5d9439e89a5973166b65e9d4afbfd84beba0f56bbcc195870a43033a 17:30:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:30:58 Dload Upload Total Spent Left Speed 17:30:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10716 0 0 100 10716 0 50309 --:--:-- --:--:-- --:--:-- 50309 17:30:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] } 17:30:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:30:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:30:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:30:59 17:30:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:30:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:30:59 df9b9388f04a: Pulling fs layer 17:30:59 52dc419b0ee2: Pulling fs layer 17:30:59 25bc292e5bac: Pulling fs layer 17:30:59 114826534d7a: Pulling fs layer 17:30:59 4657fd5d0bcf: Pulling fs layer 17:30:59 6ad1cebc031e: Pulling fs layer 17:30:59 8a3aa393b2d8: Pulling fs layer 17:30:59 114826534d7a: Waiting 17:30:59 4657fd5d0bcf: Waiting 17:30:59 6ad1cebc031e: Waiting 17:30:59 8a3aa393b2d8: Waiting 17:30:59 25bc292e5bac: Verifying Checksum 17:30:59 25bc292e5bac: Download complete 17:30:59 52dc419b0ee2: Download complete 17:30:59 4657fd5d0bcf: Download complete 17:30:59 df9b9388f04a: Verifying Checksum 17:30:59 df9b9388f04a: Download complete 17:30:59 df9b9388f04a: Pull complete 17:30:59 6ad1cebc031e: Verifying Checksum 17:30:59 6ad1cebc031e: Download complete 17:30:59 52dc419b0ee2: Pull complete 17:30:59 25bc292e5bac: Pull complete 17:31:00 114826534d7a: Verifying Checksum 17:31:00 114826534d7a: Download complete 17:31:00 8a3aa393b2d8: Verifying Checksum 17:31:00 8a3aa393b2d8: Download complete 17:31:04 114826534d7a: Pull complete 17:31:04 4657fd5d0bcf: Pull complete 17:31:04 6ad1cebc031e: Pull complete 17:31:07 8a3aa393b2d8: Pull complete 17:31:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:31:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:31:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:07 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:31:11 $ docker top 1970975e6200a29fc6e73973e4170d7b136afec470b6f7e8a267c30d8b9c5083 -eo pid,comm [Pipeline] { [Pipeline] echo 17:31:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:31:11 + set -o pipefail 17:31:11 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:31:17 17:31:17 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:31:17 17:31:17 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/befcbb9d-3930-422e-9ddb-f11bd717e02c 17:31:17 17:31:17 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:31:17 17:31:17 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:31:17 17:31:17 [Pipeline] } 17:31:17 $ docker stop --time=1 1970975e6200a29fc6e73973e4170d7b136afec470b6f7e8a267c30d8b9c5083 17:31:21 $ docker rm -f 1970975e6200a29fc6e73973e4170d7b136afec470b6f7e8a267c30d8b9c5083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 17:31:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:21 provisioning config files... 17:31:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3640243496604532392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:22 --> edgex-publish-swagger.sh 17:31:22 === Publish doc/openapi/v2 API === 17:31:22 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:31:22 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:31:22 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:22 Dload Upload Total Spent Left Speed 17:31:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 197k --:--:-- --:--:-- --:--:-- 197k 17:31:22 17:31:22 [Pipeline] } 17:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:22 + git log --format=format:%s -1 22d74d2547d10604d43a59f451f2f1d479f6a1f2 [Pipeline] sh 17:31:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:31:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:23 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:31:24 $ docker top 7af5287154814bca13889f371194b85ccc3f8fb4c3b2434675d725392e5a11b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:31:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:31:24 [ssh-agent] Looking for ssh-agent implementation... 17:31:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:31:24 $ docker exec 7af5287154814bca13889f371194b85ccc3f8fb4c3b2434675d725392e5a11b0 ssh-agent 17:31:24 SSH_AUTH_SOCK=/tmp/ssh-ficKRhQ1rz1j/agent.33 17:31:24 SSH_AGENT_PID=39 17:31:24 Running ssh-add (command line suppressed) 17:31:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16001414251870843832.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16001414251870843832.key) 17:31:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:31:24 + git semver tag 17:31:25 2022-10-03 17:31:25,098 [run_tag] DEBUG tag force:False 17:31:25 2022-10-03 17:31:25,098 [check_head_tag] DEBUG check head tag 17:31:25 2022-10-03 17:31:25,099 [execute] INFO git cat-file --batch-check 17:31:25 2022-10-03 17:31:25,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:31:25 2022-10-03 17:31:25,102 [execute] INFO git cat-file --batch 17:31:25 2022-10-03 17:31:25,103 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:31:25 2022-10-03 17:31:25,118 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:25 2022-10-03 17:31:25,119 [execute] INFO git tag -a v2.3.0-dev.28 -m v2.3.0-dev.28 17:31:25 2022-10-03 17:31:25,119 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.28', '-m', 'v2.3.0-dev.28'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:31:25 2022-10-03 17:31:25,123 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:25 2.3.0-dev.28 [Pipeline] } 17:31:25 $ docker exec --env ******** --env ******** 7af5287154814bca13889f371194b85ccc3f8fb4c3b2434675d725392e5a11b0 ssh-agent -k 17:31:25 unset SSH_AUTH_SOCK; 17:31:25 unset SSH_AGENT_PID; 17:31:25 echo Agent pid 39 killed; 17:31:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:31:25 + git semver [Pipeline] } 17:31:25 $ docker stop --time=1 7af5287154814bca13889f371194b85ccc3f8fb4c3b2434675d725392e5a11b0 17:31:27 $ docker rm -f 7af5287154814bca13889f371194b85ccc3f8fb4c3b2434675d725392e5a11b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:31:27 17:31:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:31:27 0.23.1-centos7: Pulling from edgex-lftools 17:31:27 ab5ef0e58194: Pulling fs layer 17:31:27 9712f1f96733: Pulling fs layer 17:31:27 63f879dbbcfc: Pulling fs layer 17:31:27 0d9ebad4ef96: Pulling fs layer 17:31:27 e9a5061849ea: Pulling fs layer 17:31:27 d747dcd14b5f: Pulling fs layer 17:31:27 2de7ff778b66: Pulling fs layer 17:31:27 d747dcd14b5f: Waiting 17:31:27 0d9ebad4ef96: Waiting 17:31:27 2de7ff778b66: Waiting 17:31:27 e9a5061849ea: Waiting 17:31:27 9712f1f96733: Verifying Checksum 17:31:27 9712f1f96733: Download complete 17:31:28 63f879dbbcfc: Verifying Checksum 17:31:28 63f879dbbcfc: Download complete 17:31:28 e9a5061849ea: Verifying Checksum 17:31:28 e9a5061849ea: Download complete 17:31:28 d747dcd14b5f: Verifying Checksum 17:31:28 d747dcd14b5f: Download complete 17:31:28 ab5ef0e58194: Verifying Checksum 17:31:28 ab5ef0e58194: Download complete 17:31:28 0d9ebad4ef96: Verifying Checksum 17:31:28 0d9ebad4ef96: Download complete 17:31:28 2de7ff778b66: Verifying Checksum 17:31:28 2de7ff778b66: Download complete 17:31:31 ab5ef0e58194: Pull complete 17:31:31 9712f1f96733: Pull complete 17:31:31 63f879dbbcfc: Pull complete 17:31:35 0d9ebad4ef96: Pull complete 17:31:35 e9a5061849ea: Pull complete 17:31:35 d747dcd14b5f: Pull complete 17:31:36 2de7ff778b66: Pull complete 17:31:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:31:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:36 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:31:40 $ docker top 7304ae7142eb2fc0fd0a9ed8ac2187366b872f743b1c9c339f33157a994b163a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:31:40 provisioning config files... 17:31:40 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1293025776412123450tmp 17:31:40 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14786510088488576049tmp 17:31:40 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8129270053094191512tmp [Pipeline] { [Pipeline] echo 17:31:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:31:41 ---> sigul-configuration.sh 17:31:41 gpg: directory `/root/.gnupg' created 17:31:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:31:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:31:41 gpg: keyring `/root/.gnupg/secring.gpg' created 17:31:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:31:41 gpg: CAST5 encrypted data 17:31:41 gpg: encrypted with 1 passphrase 17:31:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:31:41 + mkdir /home/jenkins 17:31:41 + mkdir /home/jenkins/sigul [Pipeline] sh 17:31:41 + 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 17:31:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:31:41 ---> sigul-install.sh 17:31:41 Sigul already installed; skipping installation. [Pipeline] sh 17:31:42 + git tag --list 17:31:42 v0.0.0 17:31:42 v0.0.1-dev.1 17:31:42 v0.0.1-dev.10 17:31:42 v0.0.1-dev.11 17:31:42 v0.0.1-dev.12 17:31:42 v0.0.1-dev.13 17:31:42 v0.0.1-dev.14 17:31:42 v0.0.1-dev.15 17:31:42 v0.0.1-dev.16 17:31:42 v0.0.1-dev.17 17:31:42 v0.0.1-dev.18 17:31:42 v0.0.1-dev.19 17:31:42 v0.0.1-dev.2 17:31:42 v0.0.1-dev.20 17:31:42 v0.0.1-dev.21 17:31:42 v0.0.1-dev.22 17:31:42 v0.0.1-dev.23 17:31:42 v0.0.1-dev.24 17:31:42 v0.0.1-dev.25 17:31:42 v0.0.1-dev.26 17:31:42 v0.0.1-dev.27 17:31:42 v0.0.1-dev.28 17:31:42 v0.0.1-dev.3 17:31:42 v0.0.1-dev.4 17:31:42 v0.0.1-dev.5 17:31:42 v0.0.1-dev.6 17:31:42 v0.0.1-dev.7 17:31:42 v0.0.1-dev.8 17:31:42 v0.0.1-dev.9 17:31:42 v2.2.0 17:31:42 v2.2.0-dev.29 17:31:42 v2.2.0-dev.30 17:31:42 v2.2.0-dev.31 17:31:42 v2.2.0-dev.32 17:31:42 v2.2.0-dev.33 17:31:42 v2.2.0-dev.34 17:31:42 v2.2.0-dev.35 17:31:42 v2.3.0-dev.1 17:31:42 v2.3.0-dev.10 17:31:42 v2.3.0-dev.11 17:31:42 v2.3.0-dev.12 17:31:42 v2.3.0-dev.13 17:31:42 v2.3.0-dev.14 17:31:42 v2.3.0-dev.15 17:31:42 v2.3.0-dev.16 17:31:42 v2.3.0-dev.17 17:31:42 v2.3.0-dev.18 17:31:42 v2.3.0-dev.19 17:31:42 v2.3.0-dev.2 17:31:42 v2.3.0-dev.20 17:31:42 v2.3.0-dev.21 17:31:42 v2.3.0-dev.22 17:31:42 v2.3.0-dev.23 17:31:42 v2.3.0-dev.24 17:31:42 v2.3.0-dev.25 17:31:42 v2.3.0-dev.26 17:31:42 v2.3.0-dev.27 17:31:42 v2.3.0-dev.28 17:31:42 v2.3.0-dev.3 17:31:42 v2.3.0-dev.4 17:31:42 v2.3.0-dev.5 17:31:42 v2.3.0-dev.6 17:31:42 v2.3.0-dev.7 17:31:42 v2.3.0-dev.8 17:31:42 v2.3.0-dev.9 [Pipeline] sh 17:31:42 + lftools sign git-tag v2.3.0-dev.28 17:31:43 Signing Git tag with Sigul... 17:31:43 Signing v2.3.0-dev.28 [Pipeline] echo 17:31:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:31:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:31:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:31:43 $ docker stop --time=1 7304ae7142eb2fc0fd0a9ed8ac2187366b872f743b1c9c339f33157a994b163a 17:31:45 $ docker rm -f 7304ae7142eb2fc0fd0a9ed8ac2187366b872f743b1c9c339f33157a994b163a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:31:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:31:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:46 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:31:46 $ docker top 7416905c929b8b6518f8491675a49bb56226d974da8548229d68505160599b19 -eo pid,comm 17:31:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:31:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:31:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:31:46 [ssh-agent] Looking for ssh-agent implementation... 17:31:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:31:46 $ docker exec 7416905c929b8b6518f8491675a49bb56226d974da8548229d68505160599b19 ssh-agent 17:31:46 SSH_AUTH_SOCK=/tmp/ssh-y95i8rzrUcUv/agent.32 17:31:46 SSH_AGENT_PID=38 17:31:46 Running ssh-add (command line suppressed) 17:31:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14025068838022440330.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14025068838022440330.key) 17:31:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:31:47 + git semver bump pre 17:31:47 2022-10-03 17:31:47,344 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:47 2022-10-03 17:31:47,344 [bump_version] DEBUG bumping version:2.3.0-dev.28 on axis:pre with prefix:dev 17:31:47 2022-10-03 17:31:47,344 [bump_version] DEBUG bumped version:2.3.0-dev.29 17:31:47 2022-10-03 17:31:47,345 [write_version] DEBUG write version:2.3.0-dev.29 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:31:47 2022-10-03 17:31:47,345 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:47 2022-10-03 17:31:47,345 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:47 2022-10-03 17:31:47,347 [execute] INFO git cat-file --batch-check 17:31:47 2022-10-03 17:31:47,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:31:47 2022-10-03 17:31:47,353 [execute] INFO git cat-file --batch 17:31:47 2022-10-03 17:31:47,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:31:47 2022-10-03 17:31:47,359 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:47 2.3.0-dev.29 [Pipeline] } 17:31:47 $ docker exec --env ******** --env ******** 7416905c929b8b6518f8491675a49bb56226d974da8548229d68505160599b19 ssh-agent -k 17:31:47 unset SSH_AUTH_SOCK; 17:31:47 unset SSH_AGENT_PID; 17:31:47 echo Agent pid 38 killed; 17:31:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:31:47 + git semver [Pipeline] } 17:31:48 $ docker stop --time=1 7416905c929b8b6518f8491675a49bb56226d974da8548229d68505160599b19 17:31:49 $ docker rm -f 7416905c929b8b6518f8491675a49bb56226d974da8548229d68505160599b19 [Pipeline] // withDockerContainer [Pipeline] sh 17:31:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:31:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:50 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:31:50 $ docker top a28fd031ca291163978fe002e66860227126cb9a38a421bf8c634c679d87d42e -eo pid,comm 17:31:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:31:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:31:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:31:50 [ssh-agent] Looking for ssh-agent implementation... 17:31:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:31:50 $ docker exec a28fd031ca291163978fe002e66860227126cb9a38a421bf8c634c679d87d42e ssh-agent 17:31:50 SSH_AUTH_SOCK=/tmp/ssh-O0QM2LNiPp9s/agent.32 17:31:50 SSH_AGENT_PID=38 17:31:50 Running ssh-add (command line suppressed) 17:31:50 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6129857725412225482.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6129857725412225482.key) 17:31:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:31:51 + git semver push 17:31:51 2022-10-03 17:31:51,350 [run_push] DEBUG push 17:31:51 2022-10-03 17:31:51,350 [execute] INFO git cat-file --batch-check 17:31:51 2022-10-03 17:31:51,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:31:51 2022-10-03 17:31:51,355 [execute] INFO git rev-list 09530e4d3dc4364ed7ae7ae24db254e9e339885d -- 17:31:51 2022-10-03 17:31:51,355 [execute] DEBUG Popen(['git', 'rev-list', '09530e4d3dc4364ed7ae7ae24db254e9e339885d', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:31:51 2022-10-03 17:31:51,362 [execute] INFO git fetch -v origin 17:31:51 2022-10-03 17:31:51,362 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:31:52 2022-10-03 17:31:51,955 [run_push] DEBUG no remote changes detected 17:31:52 2022-10-03 17:31:51,955 [execute] INFO git push origin semver 17:31:52 2022-10-03 17:31:51,956 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:31:52 2022-10-03 17:31:52,683 [run_push] DEBUG push all version tags 17:31:52 2022-10-03 17:31:52,684 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:31:52 2022-10-03 17:31:52,685 [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) 17:31:53 2022-10-03 17:31:53,436 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:31:53 2.3.0-dev.29 [Pipeline] } 17:31:53 $ docker exec --env ******** --env ******** a28fd031ca291163978fe002e66860227126cb9a38a421bf8c634c679d87d42e ssh-agent -k 17:31:53 unset SSH_AUTH_SOCK; 17:31:53 unset SSH_AGENT_PID; 17:31:53 echo Agent pid 38 killed; 17:31:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:31:53 + git semver [Pipeline] } 17:31:54 $ docker stop --time=1 a28fd031ca291163978fe002e66860227126cb9a38a421bf8c634c679d87d42e 17:31:55 $ docker rm -f a28fd031ca291163978fe002e66860227126cb9a38a421bf8c634c679d87d42e [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 17:31:56 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:31:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:31:56 total 16 17:31:56 drwxr-xr-x 3 root root 4096 Oct 3 17:21 . 17:31:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 17:31 .. 17:31:56 drwxr-xr-x 2 root root 4096 Oct 3 17:21 cost 17:31:56 -rw-r--r-- 1 root root 90 Oct 3 17:21 cost.csv 17:31:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:31:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:31:56 total 16 17:31:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 17:21 . 17:31:56 drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 17:31 .. 17:31:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 17:21 cost 17:31:56 -rw-r--r-- 1 jenkins jenkins 90 Oct 3 17:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:31:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:31:57 ---> package-listing.sh 17:31:57 ++ facter osfamily 17:31:57 ++ tr '[:upper:]' '[:lower:]' 17:31:57 + OS_FAMILY=debian 17:31:57 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:31:57 + START_PACKAGES=/tmp/packages_start.txt 17:31:57 + END_PACKAGES=/tmp/packages_end.txt 17:31:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:31:57 + PACKAGES=/tmp/packages_start.txt 17:31:57 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:31:57 + PACKAGES=/tmp/packages_end.txt 17:31:57 + case "${OS_FAMILY}" in 17:31:57 + dpkg -l 17:31:57 + grep '^ii' 17:31:57 + '[' -f /tmp/packages_start.txt ']' 17:31:57 + '[' -f /tmp/packages_end.txt ']' 17:31:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:31:57 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:31:57 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:31:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 17:31:57 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 17:31:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:58 prd-ubuntu20.04-docker-8c-8g-6902 does not seem to be running inside a container 17:31:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:58 $ docker top c22d658921b4322502bec4305b3343203ea1d67baddd491fb886faa2f5d2d693 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:59 + touch /tmp/pre-build-complete [Pipeline] sh 17:31:59 + mkdir -p /var/log/sysstat [Pipeline] sh 17:31:59 + ls /var/log/sa-host 17:31:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:59 provisioning config files... 17:31:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15577474101380790325tmp [Pipeline] { [Pipeline] echo 17:31:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:32:00 ---> create-netrc.sh [Pipeline] } 17:32:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:32:00 ---> python-tools-install.sh [Pipeline] echo 17:32:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:32:00 ---> sudo-logs.sh 17:32:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:32:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:32:00 ---> job-cost.sh 17:32:00 lf-activate-venv: SKIPPING 17:32:00 DEBUG: total: 0.2199999988079071 17:32:00 INFO: Retrieving Stack Cost... 17:32:01 INFO: Retrieving Pricing Info for: v3-standard-8 17:32:01 INFO: Archiving Costs [Pipeline] echo 17:32:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:32:02 ---> logs-deploy.sh 17:32:02 lf-activate-venv: SKIPPING 17:32:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/67 17:32:02 INFO: archiving workspace using pattern(s): 17:32:03 Archives upload complete. 17:32:03 INFO: archiving logs to Nexus