Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh14378875859024555801.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-ssh4471230397884720342.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-ssh9052960993765417762.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-ssh5283109435877346680.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-ssh2010530576745509775.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1156’ Running on prd-ubuntu20.04-docker-8c-8g-1159 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 07d7568c4aa69296c110ad64a28331e8173121ad (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#163)" > 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 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-list --no-walk d3157763bdfd8f49e0a7266dceddd97d249ca275 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:05 ========================================================= 16:48:05 EdgeX Global Pipelines Version Info 16:48:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:06 ------------------- 16:48:06 stable info: 16:48:06 ------------------- 16:48:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:48:06 Message: update stable to v1.0.239 16:48:07 ------------------- 16:48:07 experimental info: 16:48:07 ------------------- 16:48:07 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:48:07 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07d7568 [Pipeline] echo 16:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:07 provisioning config files... 16:48:07 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7676071506846542315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:08 ---> docker-login.sh 16:48:08 nexus3.edgexfoundry.org:10001 16:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:08 Configure a credential helper to remove this warning. See 16:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:08 16:48:08 Login Succeeded 16:48:08 nexus3.edgexfoundry.org:10002 16:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:08 Configure a credential helper to remove this warning. See 16:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:08 16:48:08 Login Succeeded 16:48:08 nexus3.edgexfoundry.org:10003 16:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:08 Configure a credential helper to remove this warning. See 16:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:08 16:48:08 Login Succeeded 16:48:08 nexus3.edgexfoundry.org:10004 16:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:08 Configure a credential helper to remove this warning. See 16:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:08 16:48:08 Login Succeeded 16:48:08 docker.io 16:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:09 Configure a credential helper to remove this warning. See 16:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:09 16:48:09 Login Succeeded 16:48:09 ---> docker-login.sh ends [Pipeline] } 16:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:48:09 + git rev-list -1 --merges 07d7568c4aa69296c110ad64a28331e8173121ad~1..07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] echo 16:48:09 -----------> git rev-list -1 --merges 07d7568c4aa69296c110ad64a28331e8173121ad~1..07d7568c4aa69296c110ad64a28331e8173121ad 07d7568c4aa69296c110ad64a28331e8173121ad [false] [Pipeline] sh 16:48:09 + git log --format=format:%s -1 07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] echo 16:48:09 ========================================================= 16:48:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:48:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:10 + git log --format=format:%s -1 07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] echo 16:48:10 [semverPrep] GIT_COMMIT: 07d7568c4aa69296c110ad64a28331e8173121ad, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#163) [Pipeline] echo 16:48:10 [semverPrep] This is not a build commit. [Pipeline] sh 16:48:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:10 + grep -v github /etc/ssh/ssh_known_hosts 16:48:10 + [ -e /tmp/ssh_known_hosts ] 16:48:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:48:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:48:10 + sudo tee -a /etc/ssh/ssh_known_hosts 16:48:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:11 16:48:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:11 0.1.4: Pulling from edgex-devops/py-git-semver 16:48:11 b85a868b505f: Pulling fs layer 16:48:11 e2be974225ed: Pulling fs layer 16:48:11 339a4e72a1f5: Pulling fs layer 16:48:11 988bab9f4d93: Pulling fs layer 16:48:11 1469e6f7b9e6: Pulling fs layer 16:48:11 eaf3925da568: Pulling fs layer 16:48:11 bab4dde63d76: Pulling fs layer 16:48:11 bde34c3a00c8: Pulling fs layer 16:48:11 b352a97aabf1: Pulling fs layer 16:48:11 988bab9f4d93: Waiting 16:48:11 1469e6f7b9e6: Waiting 16:48:11 bab4dde63d76: Waiting 16:48:11 bde34c3a00c8: Waiting 16:48:11 4872d77fe225: Pulling fs layer 16:48:11 5851b861e8e6: Pulling fs layer 16:48:11 4872d77fe225: Waiting 16:48:11 b352a97aabf1: Waiting 16:48:11 5851b861e8e6: Waiting 16:48:11 e2be974225ed: Verifying Checksum 16:48:11 e2be974225ed: Download complete 16:48:11 988bab9f4d93: Verifying Checksum 16:48:11 988bab9f4d93: Download complete 16:48:11 1469e6f7b9e6: Verifying Checksum 16:48:11 1469e6f7b9e6: Download complete 16:48:11 eaf3925da568: Verifying Checksum 16:48:11 eaf3925da568: Download complete 16:48:11 339a4e72a1f5: Verifying Checksum 16:48:11 339a4e72a1f5: Download complete 16:48:11 bde34c3a00c8: Verifying Checksum 16:48:11 bde34c3a00c8: Download complete 16:48:11 b352a97aabf1: Verifying Checksum 16:48:11 b352a97aabf1: Download complete 16:48:11 4872d77fe225: Verifying Checksum 16:48:11 4872d77fe225: Download complete 16:48:11 5851b861e8e6: Download complete 16:48:11 b85a868b505f: Verifying Checksum 16:48:11 b85a868b505f: Download complete 16:48:12 bab4dde63d76: Verifying Checksum 16:48:12 bab4dde63d76: Download complete 16:48:13 b85a868b505f: Pull complete 16:48:13 e2be974225ed: Pull complete 16:48:13 339a4e72a1f5: Pull complete 16:48:13 988bab9f4d93: Pull complete 16:48:14 1469e6f7b9e6: Pull complete 16:48:14 eaf3925da568: Pull complete 16:48:16 bab4dde63d76: Pull complete 16:48:16 bde34c3a00c8: Pull complete 16:48:16 b352a97aabf1: Pull complete 16:48:16 4872d77fe225: Pull complete 16:48:16 5851b861e8e6: Pull complete 16:48:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:48:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:16 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 16:48:16 $ 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 16:48:19 $ docker top fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d -eo pid,comm 16:48:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:48:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:19 [ssh-agent] Looking for ssh-agent implementation... 16:48:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:19 $ docker exec fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d ssh-agent 16:48:19 SSH_AUTH_SOCK=/tmp/ssh-e5Pvaaq84lZn/agent.33 16:48:19 SSH_AGENT_PID=39 16:48:19 Running ssh-add (command line suppressed) 16:48:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8413788754784583492.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8413788754784583492.key) 16:48:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:19 + git tag --points-at HEAD [Pipeline] } 16:48:19 $ docker exec --env ******** --env ******** fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d ssh-agent -k 16:48:20 unset SSH_AUTH_SOCK; 16:48:20 unset SSH_AGENT_PID; 16:48:20 echo Agent pid 39 killed; 16:48:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:48:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:20 [ssh-agent] Looking for ssh-agent implementation... 16:48:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:20 $ docker exec fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d ssh-agent 16:48:20 SSH_AUTH_SOCK=/tmp/ssh-YxUMguC1Tm5s/agent.71 16:48:20 SSH_AGENT_PID=77 16:48:20 Running ssh-add (command line suppressed) 16:48:20 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3701390811147194236.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3701390811147194236.key) 16:48:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:20 + git semver init 16:48:21 2022-09-26 16:48:20,944 [run_init] DEBUG init version:0.0.0 force:False 16:48:21 2022-09-26 16:48:20,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:48:21 2022-09-26 16:48:20,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:48:21 2022-09-26 16:48:20,947 [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) 16:48:22 2022-09-26 16:48:21,979 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:48:22 2022-09-26 16:48:21,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:48:22 2022-09-26 16:48:21,980 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:48:22 2022-09-26 16:48:21,980 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:48:22 2.3.0-dev.21 [Pipeline] } 16:48:22 $ docker exec --env ******** --env ******** fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d ssh-agent -k 16:48:22 unset SSH_AUTH_SOCK; 16:48:22 unset SSH_AGENT_PID; 16:48:22 echo Agent pid 77 killed; 16:48:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:22 + git semver [Pipeline] } 16:48:23 $ docker stop --time=1 fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d 16:48:24 $ docker rm -f fbf3e3326cbbb573701a8e9c62c0af33a1c10e584ab2be58a35750020ffaad6d [Pipeline] // withDockerContainer [Pipeline] sh 16:48:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:48:24 Stashed 1 file(s) [Pipeline] echo 16:48:24 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:25 provisioning config files... 16:48:25 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16119525884577282074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:25 ---> docker-login.sh 16:48:25 nexus3.edgexfoundry.org:10001 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 nexus3.edgexfoundry.org:10002 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 nexus3.edgexfoundry.org:10003 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 nexus3.edgexfoundry.org:10004 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:25 Configure a credential helper to remove this warning. See 16:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:25 16:48:25 Login Succeeded 16:48:25 docker.io 16:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:26 Configure a credential helper to remove this warning. See 16:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:26 16:48:26 Login Succeeded 16:48:26 ---> docker-login.sh ends [Pipeline] } 16:48:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:26 ========================================================= 16:48:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:48:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:48:26 Sending build context to Docker daemon 20.68MB 16:48:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:48:26 Step 2/13 : FROM ${BASE} AS builder 16:48:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:26 2408cc74d12b: Pulling fs layer 16:48:26 ea60b727a1ce: Pulling fs layer 16:48:26 30c4a7721957: Pulling fs layer 16:48:26 370296b7ddb6: Pulling fs layer 16:48:26 7c6cee850709: Pulling fs layer 16:48:26 39a5fcdaea64: Pulling fs layer 16:48:26 d94ebbe4e438: Pulling fs layer 16:48:26 7c6cee850709: Waiting 16:48:26 39a5fcdaea64: Waiting 16:48:26 bcfd1f05c69d: Pulling fs layer 16:48:26 59ccb84bbe0f: Pulling fs layer 16:48:26 bcfd1f05c69d: Waiting 16:48:26 370296b7ddb6: Waiting 16:48:26 59ccb84bbe0f: Waiting 16:48:26 30c4a7721957: Verifying Checksum 16:48:26 30c4a7721957: Download complete 16:48:26 ea60b727a1ce: Verifying Checksum 16:48:26 ea60b727a1ce: Download complete 16:48:26 7c6cee850709: Verifying Checksum 16:48:26 7c6cee850709: Download complete 16:48:26 39a5fcdaea64: Download complete 16:48:26 2408cc74d12b: Verifying Checksum 16:48:26 2408cc74d12b: Download complete 16:48:26 d94ebbe4e438: Download complete 16:48:27 2408cc74d12b: Pull complete 16:48:27 ea60b727a1ce: Pull complete 16:48:27 30c4a7721957: Pull complete 16:48:27 59ccb84bbe0f: Verifying Checksum 16:48:27 59ccb84bbe0f: Download complete 16:48:27 bcfd1f05c69d: Verifying Checksum 16:48:27 bcfd1f05c69d: Download complete 16:48:27 370296b7ddb6: Verifying Checksum 16:48:27 370296b7ddb6: Download complete 16:48:31 370296b7ddb6: Pull complete 16:48:31 7c6cee850709: Pull complete 16:48:31 39a5fcdaea64: Pull complete 16:48:31 d94ebbe4e438: Pull complete 16:48:34 bcfd1f05c69d: Pull complete 16:48:34 59ccb84bbe0f: Pull complete 16:48:34 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:48:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:48:34 ---> a4fb48ad2a94 16:48:34 Step 3/13 : ARG MAKE="make build" 16:48:39 ---> Running in d2f26a2a8d68 16:48:39 Removing intermediate container d2f26a2a8d68 16:48:39 ---> dd14302e04a7 16:48:39 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:48:39 ---> Running in 1c31ee36cc69 16:48:39 Removing intermediate container 1c31ee36cc69 16:48:39 ---> 1cb4379f4da6 16:48:39 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:48:39 ---> Running in 91987a6d9e82 16:48:39 Removing intermediate container 91987a6d9e82 16:48:39 ---> 8443db10527d 16:48:39 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:48:39 ---> Running in 51df32130c3b 16:48:39 Removing intermediate container 51df32130c3b 16:48:39 ---> edd83b51c1cb 16:48:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:48:39 ---> Running in 7b798cf91d2e 16:48:39 Removing intermediate container 7b798cf91d2e 16:48:39 ---> d4d602cadd95 16:48:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:39 ---> Running in 4a3c844b52bc 16:48:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:48:40 Still waiting to schedule task 16:48:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1158’ 16:48:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:48:40 OK: 211 MiB in 51 packages 16:48:41 Removing intermediate container 4a3c844b52bc 16:48:41 ---> a170de92f0e2 16:48:41 Step 9/13 : WORKDIR /device-onvif-camera 16:48:41 ---> Running in 40e00c0de0c0 16:48:41 Removing intermediate container 40e00c0de0c0 16:48:41 ---> 359a54f870da 16:48:41 Step 10/13 : COPY go.mod vendor* ./ 16:48:41 ---> 72dfb269b3f4 16:48:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:41 ---> Running in c471113dc204 16:49:03 Removing intermediate container c471113dc204 16:49:03 ---> 885746840fec 16:49:03 Step 12/13 : COPY . . 16:49:04 ---> 0ffb5ace7a01 16:49:04 Step 13/13 : RUN ${MAKE} 16:49:04 ---> Running in 67ed2f8b5352 16:49:04 noop 16:49:04 Removing intermediate container 67ed2f8b5352 16:49:04 ---> db0e55c4bb57 16:49:04 Successfully built db0e55c4bb57 16:49:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:05 + docker inspect -f . ci-base-image-x86_64 16:49:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:05 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 16:49:05 $ 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 16:49:05 $ docker top 66bb4a69034ce3c17ac9b078928aad289d63c919cd3967452831d6302f6b5123 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:05 + go version 16:49:05 go version go1.18.3 linux/amd64 [Pipeline] } 16:49:05 $ docker stop --time=1 66bb4a69034ce3c17ac9b078928aad289d63c919cd3967452831d6302f6b5123 16:49:07 $ docker rm -f 66bb4a69034ce3c17ac9b078928aad289d63c919cd3967452831d6302f6b5123 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:07 + docker inspect -f . ci-base-image-x86_64 16:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:07 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 16:49:07 $ 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 16:49:08 $ docker top 10b8f487fccaf338c8e8fae4fc13057ec5582b068b5f759087ad3ba68e75456c -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:08 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:49:08 + make test 16:49:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:49:08 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:49:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:49:20 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.6% of statements 16:49:20 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:49:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.499s coverage: 86.5% of statements 16:49:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 16:49:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:49:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:49:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:49:31 ./bin/test-attribution-txt.sh [Pipeline] echo 16:49:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:49:31 $ docker stop --time=1 10b8f487fccaf338c8e8fae4fc13057ec5582b068b5f759087ad3ba68e75456c 16:49:34 $ docker rm -f 10b8f487fccaf338c8e8fae4fc13057ec5582b068b5f759087ad3ba68e75456c [Pipeline] // withDockerContainer [Pipeline] sh 16:49:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:49:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:49:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:49:35 + ls -al . 16:49:35 total 236 16:49:35 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 16:49 . 16:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:48 .. 16:49:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:49 .git 16:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:48 .github 16:49:35 -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 16:48 .gitignore 16:49:35 -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 16:48 .golangci.yml 16:49:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:48 .semver 16:49:35 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 16:48 Attribution.txt 16:49:35 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 16:48 CHANGELOG.md 16:49:35 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 16:48 Dockerfile 16:49:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:48 GOVERNANCE.md 16:49:35 -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 16:48 Jenkinsfile 16:49:35 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 16:48 LICENSE 16:49:35 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 16:48 Makefile 16:49:35 -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 16:48 OWNERS.md 16:49:35 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 16:48 README.md 16:49:35 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:48 VERSION 16:49:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:48 bin 16:49:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:48 cmd 16:49:35 -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 16:49 coverage.out 16:49:35 drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 16:48 doc 16:49:35 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 16:48 go.mod 16:49:35 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 16:48 go.sum 16:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:48 internal 16:49:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:48 snap 16:49:35 -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:36 + 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=07d7568c4aa69296c110ad64a28331e8173121ad --label arch=amd64 --label version=2.3.0-dev.21 . 16:49:36 Sending build context to Docker daemon 20.76MB 16:49:36 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:49:36 Step 2/26 : FROM ${BASE} AS builder 16:49:36 ---> db0e55c4bb57 16:49:36 Step 3/26 : ARG MAKE="make build" 16:49:36 ---> Running in 4ac4a6bc999b 16:49:36 Removing intermediate container 4ac4a6bc999b 16:49:36 ---> baf7d49dd0d8 16:49:36 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:49:36 ---> Running in ea8c4e841e40 16:49:36 Removing intermediate container ea8c4e841e40 16:49:36 ---> 0ca8605acff5 16:49:36 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:49:36 ---> Running in c34480ce0b19 16:49:36 Removing intermediate container c34480ce0b19 16:49:36 ---> ed6fce600f75 16:49:36 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:49:36 ---> Running in cebfd0496c0a 16:49:36 Removing intermediate container cebfd0496c0a 16:49:36 ---> d8a13d119d08 16:49:36 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:49:36 ---> Running in be9d969574d4 16:49:37 Removing intermediate container be9d969574d4 16:49:37 ---> efc6c3376f13 16:49:37 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:37 ---> Running in dc0f26ec0c96 16:49:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:49:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:49:38 OK: 211 MiB in 51 packages 16:49:38 Removing intermediate container dc0f26ec0c96 16:49:38 ---> 894fc0696efe 16:49:38 Step 9/26 : WORKDIR /device-onvif-camera 16:49:38 ---> Running in bc35249a3966 16:49:38 Removing intermediate container bc35249a3966 16:49:38 ---> 6dc36f4b2585 16:49:38 Step 10/26 : COPY go.mod vendor* ./ 16:49:39 ---> c8623ac471d5 16:49:39 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:39 ---> Running in dc4c3caa5d7c 16:49:39 Removing intermediate container dc4c3caa5d7c 16:49:39 ---> 87a0aeaf4c9a 16:49:39 Step 12/26 : COPY . . 16:49:40 ---> a1cff2b59224 16:49:40 Step 13/26 : RUN ${MAKE} 16:49:40 ---> Running in 16b436d879ee 16:49:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 16:50:02 Removing intermediate container 16b436d879ee 16:50:02 ---> 8914c5af569f 16:50:02 Step 14/26 : FROM alpine:3.16 16:50:03 3.16: Pulling from library/alpine 16:50:03 213ec9aee27d: Pulling fs layer 16:50:04 213ec9aee27d: Verifying Checksum 16:50:04 213ec9aee27d: Download complete 16:50:04 213ec9aee27d: Pull complete 16:50:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:50:04 Status: Downloaded newer image for alpine:3.16 16:50:04 ---> 9c6f07244728 16:50:04 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:50:04 ---> Running in 6f9d0d1d87bc 16:50:04 Removing intermediate container 6f9d0d1d87bc 16:50:04 ---> 0e6aad5c1583 16:50:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 16:50:04 ---> Running in a06d078407bc 16:50:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:05 (1/6) Installing dumb-init (1.2.5-r1) 16:50:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:50:05 (3/6) Installing libsodium (1.0.18-r0) 16:50:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:50:05 (5/6) Installing libzmq (4.3.4-r0) 16:50:05 (6/6) Installing zeromq (4.3.4-r0) 16:50:05 Executing busybox-1.35.0-r17.trigger 16:50:05 OK: 8 MiB in 20 packages 16:50:06 Removing intermediate container a06d078407bc 16:50:06 ---> 2fd70ad4ce64 16:50:06 Step 17/26 : WORKDIR / 16:50:06 ---> Running in f8c78063f1ee 16:50:06 Removing intermediate container f8c78063f1ee 16:50:06 ---> d1ab8dd7d32f 16:50:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:50:07 ---> 08d3b1272c34 16:50:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:50:07 ---> 241b0d78f8f6 16:50:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:50:07 ---> 6e4868f0cc4e 16:50:07 Step 21/26 : EXPOSE 59984 16:50:07 ---> Running in 832d704f2bd5 16:50:07 Removing intermediate container 832d704f2bd5 16:50:07 ---> 230a5fe0dadf 16:50:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:50:07 ---> Running in ebbf2039e776 16:50:07 Removing intermediate container ebbf2039e776 16:50:07 ---> c49f2411a494 16:50:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:50:07 ---> Running in f07fdb021631 16:50:07 Removing intermediate container f07fdb021631 16:50:07 ---> 11ce10b9fb0f 16:50:07 Step 24/26 : LABEL arch=amd64 16:50:07 ---> Running in a69efa16be90 16:50:07 Removing intermediate container a69efa16be90 16:50:07 ---> 4dbca8749bfb 16:50:07 Step 25/26 : LABEL git_sha=07d7568c4aa69296c110ad64a28331e8173121ad 16:50:07 ---> Running in 809d92f159ac 16:50:07 Removing intermediate container 809d92f159ac 16:50:07 ---> b0e8484a33bb 16:50:07 Step 26/26 : LABEL version=2.3.0-dev.21 16:50:07 ---> Running in a2e39ab9b431 16:50:07 Removing intermediate container a2e39ab9b431 16:50:07 ---> e84632f65b94 16:50:07 [Warning] One or more build-args [ARCH] were not consumed 16:50:07 Successfully built e84632f65b94 16:50:07 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:50:08 provisioning config files... 16:50:08 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12895013389962395920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:08 ---> docker-login.sh 16:50:08 nexus3.edgexfoundry.org:10001 16:50:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:08 Configure a credential helper to remove this warning. See 16:50:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:08 16:50:08 Login Succeeded 16:50:08 nexus3.edgexfoundry.org:10002 16:50:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:08 Configure a credential helper to remove this warning. See 16:50:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:08 16:50:08 Login Succeeded 16:50:08 nexus3.edgexfoundry.org:10003 16:50:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:08 Configure a credential helper to remove this warning. See 16:50:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:08 16:50:08 Login Succeeded 16:50:08 nexus3.edgexfoundry.org:10004 16:50:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:08 Configure a credential helper to remove this warning. See 16:50:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:08 16:50:08 Login Succeeded 16:50:08 docker.io 16:50:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:09 Configure a credential helper to remove this warning. See 16:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:09 16:50:09 Login Succeeded 16:50:09 ---> docker-login.sh ends [Pipeline] } 16:50:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:50:09 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:50:09 07d7568c4aa69296c110ad64a28331e8173121ad 16:50:09 latest 16:50:09 2.3.0-dev.21 16:50:09 07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 16:50:09 main 16:50:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad 16:50:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:09 8b621d30aecd: Preparing 16:50:09 4fd791f11c9e: Preparing 16:50:09 761ba8c716dc: Preparing 16:50:09 76b503cb68a0: Preparing 16:50:09 994393dc58e7: Preparing 16:50:09 994393dc58e7: Layer already exists 16:50:09 8b621d30aecd: Pushed 16:50:09 4fd791f11c9e: Pushed 16:50:10 76b503cb68a0: Pushed 16:50:12 761ba8c716dc: Pushed 16:50:12 07d7568c4aa69296c110ad64a28331e8173121ad: digest: sha256:0b8bc6da2b96d4e3dfc8a221af2fa9130a784e78a6c54bf6dbf29ff7fd6aa556 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:13 8b621d30aecd: Preparing 16:50:13 4fd791f11c9e: Preparing 16:50:13 761ba8c716dc: Preparing 16:50:13 76b503cb68a0: Preparing 16:50:13 994393dc58e7: Preparing 16:50:13 8b621d30aecd: Layer already exists 16:50:13 4fd791f11c9e: Layer already exists 16:50:13 994393dc58e7: Layer already exists 16:50:13 761ba8c716dc: Layer already exists 16:50:13 76b503cb68a0: Layer already exists 16:50:13 latest: digest: sha256:0b8bc6da2b96d4e3dfc8a221af2fa9130a784e78a6c54bf6dbf29ff7fd6aa556 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.21 16:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:13 8b621d30aecd: Preparing 16:50:13 4fd791f11c9e: Preparing 16:50:13 761ba8c716dc: Preparing 16:50:13 76b503cb68a0: Preparing 16:50:13 994393dc58e7: Preparing 16:50:13 994393dc58e7: Layer already exists 16:50:13 761ba8c716dc: Layer already exists 16:50:13 8b621d30aecd: Layer already exists 16:50:13 4fd791f11c9e: Layer already exists 16:50:13 76b503cb68a0: Layer already exists 16:50:13 2.3.0-dev.21: digest: sha256:0b8bc6da2b96d4e3dfc8a221af2fa9130a784e78a6c54bf6dbf29ff7fd6aa556 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 16:50:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:14 8b621d30aecd: Preparing 16:50:14 4fd791f11c9e: Preparing 16:50:14 761ba8c716dc: Preparing 16:50:14 76b503cb68a0: Preparing 16:50:14 994393dc58e7: Preparing 16:50:14 8b621d30aecd: Layer already exists 16:50:14 4fd791f11c9e: Layer already exists 16:50:14 994393dc58e7: Layer already exists 16:50:14 761ba8c716dc: Layer already exists 16:50:14 76b503cb68a0: Layer already exists 16:50:14 07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21: digest: sha256:0b8bc6da2b96d4e3dfc8a221af2fa9130a784e78a6c54bf6dbf29ff7fd6aa556 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:50:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:50:14 8b621d30aecd: Preparing 16:50:14 4fd791f11c9e: Preparing 16:50:14 761ba8c716dc: Preparing 16:50:14 76b503cb68a0: Preparing 16:50:14 994393dc58e7: Preparing 16:50:14 8b621d30aecd: Layer already exists 16:50:14 761ba8c716dc: Layer already exists 16:50:14 994393dc58e7: Layer already exists 16:50:14 4fd791f11c9e: Layer already exists 16:50:14 76b503cb68a0: Layer already exists 16:50:14 main: digest: sha256:0b8bc6da2b96d4e3dfc8a221af2fa9130a784e78a6c54bf6dbf29ff7fd6aa556 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:15 ===================================================== [Pipeline] echo 16:50:15 taggedImages: 16:50:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad 16:50:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:50:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.21 16:50:15 - nexus3.edgexfoundry.org:10004/device-onvif-camera:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 16:50:15 - 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 16:50:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:15 16:50:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:15 latest: Pulling from edgex-lftools-log-publisher 16:50:15 5eb5b503b376: Pulling fs layer 16:50:15 5c69ac0246d0: Pulling fs layer 16:50:15 ec43610c2a17: Pulling fs layer 16:50:15 3a2ae6a8a46f: Pulling fs layer 16:50:15 33b1e0a273af: Pulling fs layer 16:50:15 5d3b04190fa2: Pulling fs layer 16:50:15 2f39f015ded8: Pulling fs layer 16:50:15 33b1e0a273af: Waiting 16:50:15 5d3b04190fa2: Waiting 16:50:15 3a2ae6a8a46f: Waiting 16:50:15 5c69ac0246d0: Download complete 16:50:15 3a2ae6a8a46f: Verifying Checksum 16:50:15 3a2ae6a8a46f: Download complete 16:50:15 33b1e0a273af: Verifying Checksum 16:50:15 33b1e0a273af: Download complete 16:50:15 5d3b04190fa2: Download complete 16:50:15 ec43610c2a17: Verifying Checksum 16:50:15 ec43610c2a17: Download complete 16:50:15 5eb5b503b376: Verifying Checksum 16:50:15 5eb5b503b376: Download complete 16:50:16 2f39f015ded8: Download complete 16:50:17 5eb5b503b376: Pull complete 16:50:17 5c69ac0246d0: Pull complete 16:50:17 ec43610c2a17: Pull complete 16:50:17 3a2ae6a8a46f: Pull complete 16:50:18 33b1e0a273af: Pull complete 16:50:18 5d3b04190fa2: Pull complete 16:50:22 2f39f015ded8: Pull complete 16:50:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:50:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:22 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 16:50:22 $ 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 16:50:24 $ docker top 31640b1cf70f98788effb6247d8e4b5cdbcf28af195c81a3aaaec417940fdd04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:25 ---> job-cost.sh 16:50:25 lf-activate-venv: SKIPPING 16:50:25 INFO: No Stack... 16:50:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:26 INFO: Archiving Costs [Pipeline] sh 16:50:26 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:50:26 + cut -d, -f6 [Pipeline] lock 16:50:26 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] 16:50:26 Resource [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] did not exist. Created. 16:50:26 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:26 + echo total: 0.2199999988079071 [Pipeline] stash 16:50:26 Stashed 1 file(s) [Pipeline] } 16:50:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:26 $ docker stop --time=1 31640b1cf70f98788effb6247d8e4b5cdbcf28af195c81a3aaaec417940fdd04 16:50:27 $ docker rm -f 31640b1cf70f98788effb6247d8e4b5cdbcf28af195c81a3aaaec417940fdd04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:52:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1160 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:52:12 Running in /w/workspace/device-onvif-camera/60 [Pipeline] { [Pipeline] checkout 16:52:12 The recommended git tool is: git 16:52:17 using credential edgex-jenkins-ssh 16:52:17 Cloning the remote Git repository 16:52:17 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:52:17 > git init /w/workspace/device-onvif-camera/60 # timeout=10 16:52:18 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:52:18 > git --version # timeout=10 16:52:18 > git --version # 'git version 2.25.1' 16:52:18 using GIT_SSH to set credentials SSH Credentials for GitHub 16:52:18 Verifying host key using known hosts file 16:52:18 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. 16:52:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:19 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:52:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:52:20 Avoid second fetch 16:52:20 Checking out Revision 07d7568c4aa69296c110ad64a28331e8173121ad (main) 16:52:20 > git config core.sparsecheckout # timeout=10 16:52:20 > git checkout -f 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 16:52:21 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#163)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:52:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:52:22 % Total % Received % Xferd Average Speed Time Time Time Current 16:52:22 Dload Upload Total Spent Left Speed 16:52:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88746 [Pipeline] sh 16:52:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:52:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:52:23 + sudo tee /etc/docker/daemon.new 16:52:23 { 16:52:23 "registry-mirrors": [ 16:52:23 "https://nexus3.edgexfoundry.org:10001" 16:52:23 ], 16:52:23 "bip": "10.250.0.254/24", 16:52:23 "hosts": [ 16:52:23 "tcp://0.0.0.0:5555", 16:52:23 "unix:///var/run/docker.sock" 16:52:23 ], 16:52:23 "mtu": 1458, 16:52:23 "selinux-enabled": true, 16:52:23 "seccomp-profile": "/etc/docker/seccomp.json" 16:52:23 } [Pipeline] sh 16:52:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:52:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:42 provisioning config files... 16:52:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/60@tmp/config8578662037582769804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:42 ---> docker-login.sh 16:52:42 nexus3.edgexfoundry.org:10001 16:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:43 Configure a credential helper to remove this warning. See 16:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:43 16:52:43 Login Succeeded 16:52:43 nexus3.edgexfoundry.org:10002 16:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:43 Configure a credential helper to remove this warning. See 16:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:43 16:52:43 Login Succeeded 16:52:43 nexus3.edgexfoundry.org:10003 16:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:44 Configure a credential helper to remove this warning. See 16:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:44 16:52:44 Login Succeeded 16:52:44 nexus3.edgexfoundry.org:10004 16:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:44 Configure a credential helper to remove this warning. See 16:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:44 16:52:44 Login Succeeded 16:52:44 docker.io 16:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:52:45 Configure a credential helper to remove this warning. See 16:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:52:45 16:52:45 Login Succeeded 16:52:45 ---> docker-login.sh ends [Pipeline] } 16:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:52:45 ========================================================= 16:52:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:52:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:52:46 Sending build context to Docker daemon 14.15MB 16:52:46 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:52:46 Step 2/13 : FROM ${BASE} AS builder 16:52:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:52:46 b3c136eddcbf: Pulling fs layer 16:52:46 c0a3192eca97: Pulling fs layer 16:52:46 a050256f5b6f: Pulling fs layer 16:52:46 656be50a0ddc: Pulling fs layer 16:52:46 2bbca73fdf42: Pulling fs layer 16:52:46 46d945488cbd: Pulling fs layer 16:52:46 8a5474983e97: Pulling fs layer 16:52:46 329c88fbcd65: Pulling fs layer 16:52:46 46d945488cbd: Waiting 16:52:46 8a5474983e97: Waiting 16:52:46 329c88fbcd65: Waiting 16:52:46 656be50a0ddc: Waiting 16:52:46 2bbca73fdf42: Waiting 16:52:46 a050256f5b6f: Download complete 16:52:46 c0a3192eca97: Verifying Checksum 16:52:46 c0a3192eca97: Download complete 16:52:46 2bbca73fdf42: Verifying Checksum 16:52:46 2bbca73fdf42: Download complete 16:52:46 46d945488cbd: Verifying Checksum 16:52:46 46d945488cbd: Download complete 16:52:46 b3c136eddcbf: Verifying Checksum 16:52:46 b3c136eddcbf: Download complete 16:52:47 b3c136eddcbf: Pull complete 16:52:47 329c88fbcd65: Verifying Checksum 16:52:47 329c88fbcd65: Download complete 16:52:47 c0a3192eca97: Pull complete 16:52:48 a050256f5b6f: Pull complete 16:52:48 8a5474983e97: Verifying Checksum 16:52:48 8a5474983e97: Download complete 16:52:49 656be50a0ddc: Download complete 16:53:02 656be50a0ddc: Pull complete 16:53:02 2bbca73fdf42: Pull complete 16:53:02 46d945488cbd: Pull complete 16:53:08 8a5474983e97: Pull complete 16:53:10 329c88fbcd65: Pull complete 16:53:10 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:53:10 ---> ff4287adb874 16:53:10 Step 3/13 : ARG MAKE="make build" 16:53:12 ---> Running in 529333ec2549 16:53:12 Removing intermediate container 529333ec2549 16:53:12 ---> 259ec7eabe26 16:53:12 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:53:12 ---> Running in 7d0ee0b9a518 16:53:12 Removing intermediate container 7d0ee0b9a518 16:53:12 ---> 75cb424fbe45 16:53:12 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 16:53:13 ---> Running in 8847955674b3 16:53:13 Removing intermediate container 8847955674b3 16:53:13 ---> 4d4195756eb9 16:53:13 Step 6/13 : LABEL Name=edgex-device-onvif-camera 16:53:13 ---> Running in 27cae5f1ccba 16:53:13 Removing intermediate container 27cae5f1ccba 16:53:13 ---> 5e83ea8c0a42 16:53:13 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:53:13 ---> Running in efb8dadf7973 16:53:15 Removing intermediate container efb8dadf7973 16:53:15 ---> f34b6e93c23f 16:53:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:53:15 ---> Running in 5a7327b97e77 16:53:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:53:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:53:18 OK: 221 MiB in 51 packages 16:53:19 Removing intermediate container 5a7327b97e77 16:53:19 ---> 2b3bf21d2620 16:53:19 Step 9/13 : WORKDIR /device-onvif-camera 16:53:19 ---> Running in 0762fa4f0d11 16:53:20 Removing intermediate container 0762fa4f0d11 16:53:20 ---> 7b233ed50f57 16:53:20 Step 10/13 : COPY go.mod vendor* ./ 16:53:20 ---> 5c2743c6288a 16:53:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:53:20 ---> Running in 201d03c2a344 16:54:17 Removing intermediate container 201d03c2a344 16:54:17 ---> 15fb66343e26 16:54:17 Step 12/13 : COPY . . 16:54:17 ---> 7a8ce3ae5fe4 16:54:17 Step 13/13 : RUN ${MAKE} 16:54:17 ---> Running in 05e4826909d9 16:54:17 noop 16:54:17 Removing intermediate container 05e4826909d9 16:54:17 ---> 22f511cc9a72 16:54:17 Successfully built 22f511cc9a72 16:54:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:17 + docker inspect -f . ci-base-image-arm64 16:54:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-1160 does not seem to be running inside a container 16:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/60 -v /w/workspace/device-onvif-camera/60:/w/workspace/device-onvif-camera/60:rw,z -v /w/workspace/device-onvif-camera/60@tmp:/w/workspace/device-onvif-camera/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:54:18 $ docker top ebbfd23205f30d3587bcb7185a700114195d084faebdc8919aa89d162ca2ee46 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:19 + go version 16:54:19 go version go1.18.3 linux/arm64 [Pipeline] } 16:54:19 $ docker stop --time=1 ebbfd23205f30d3587bcb7185a700114195d084faebdc8919aa89d162ca2ee46 16:54:21 $ docker rm -f ebbfd23205f30d3587bcb7185a700114195d084faebdc8919aa89d162ca2ee46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:22 + docker inspect -f . ci-base-image-arm64 16:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:54:22 prd-ubuntu20.04-docker-arm64-4c-16g-1160 does not seem to be running inside a container 16:54:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/60 -v /w/workspace/device-onvif-camera/60:/w/workspace/device-onvif-camera/60:rw,z -v /w/workspace/device-onvif-camera/60@tmp:/w/workspace/device-onvif-camera/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:54:23 $ docker top a34161c3431c99321ae9675e8e1272fe06fdb112f3bd02620194bb6c654d8b67 -eo pid,comm [Pipeline] { [Pipeline] sh 16:54:23 + git config --global --add safe.directory /w/workspace/device-onvif-camera/60 [Pipeline] fileExists [Pipeline] sh 16:54:24 + make test 16:54:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:54:26 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:56:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:56:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.226s coverage: 28.6% of statements 16:56:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:56:27 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.177s coverage: 86.5% of statements 16:56:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:56:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:57:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:57:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:57:00 ./bin/test-attribution-txt.sh [Pipeline] echo 16:57:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:57:00 $ docker stop --time=1 a34161c3431c99321ae9675e8e1272fe06fdb112f3bd02620194bb6c654d8b67 16:57:02 $ docker rm -f a34161c3431c99321ae9675e8e1272fe06fdb112f3bd02620194bb6c654d8b67 [Pipeline] // withDockerContainer [Pipeline] sh 16:57:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:57:03 Warning: overwriting stash ‘coverage-report’ 16:57:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:04 + ls -al . 16:57:04 total 232 16:57:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:54 . 16:57:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:52 .. 16:57:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:52 .git 16:57:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:52 .github 16:57:04 -rw-rw-r-- 1 jenkins jenkins 418 Sep 26 16:52 .gitignore 16:57:04 -rw-rw-r-- 1 jenkins jenkins 42 Sep 26 16:52 .golangci.yml 16:57:04 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 26 16:52 Attribution.txt 16:57:04 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 26 16:52 CHANGELOG.md 16:57:04 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 26 16:52 Dockerfile 16:57:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:52 GOVERNANCE.md 16:57:04 -rw-rw-r-- 1 jenkins jenkins 734 Sep 26 16:52 Jenkinsfile 16:57:04 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 26 16:52 LICENSE 16:57:04 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 26 16:52 Makefile 16:57:04 -rw-rw-r-- 1 jenkins jenkins 625 Sep 26 16:52 OWNERS.md 16:57:04 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 26 16:52 README.md 16:57:04 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:48 VERSION 16:57:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:52 bin 16:57:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:52 cmd 16:57:04 -rw-r--r-- 1 jenkins jenkins 79818 Sep 26 16:56 coverage.out 16:57:04 drwxrwxr-x 6 jenkins jenkins 4096 Sep 26 16:52 doc 16:57:04 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 26 16:52 go.mod 16:57:04 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 26 16:52 go.sum 16:57:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:52 internal 16:57:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:52 snap 16:57:04 -rw-rw-r-- 1 jenkins jenkins 236 Sep 26 16:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:05 + 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=07d7568c4aa69296c110ad64a28331e8173121ad --label arch=arm64 --label version=2.3.0-dev.21 . 16:57:05 Sending build context to Docker daemon 14.23MB 16:57:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:57:05 Step 2/26 : FROM ${BASE} AS builder 16:57:05 ---> 22f511cc9a72 16:57:05 Step 3/26 : ARG MAKE="make build" 16:57:05 ---> Running in 58916cb943d8 16:57:05 Removing intermediate container 58916cb943d8 16:57:05 ---> 8975358cd743 16:57:05 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:57:06 ---> Running in 6a30389d127d 16:57:06 Removing intermediate container 6a30389d127d 16:57:06 ---> 386758566f78 16:57:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 16:57:06 ---> Running in 95b712e810a1 16:57:07 Removing intermediate container 95b712e810a1 16:57:07 ---> 96d1837f0e31 16:57:07 Step 6/26 : LABEL Name=edgex-device-onvif-camera 16:57:07 ---> Running in 641f95fcf331 16:57:07 Removing intermediate container 641f95fcf331 16:57:07 ---> f043eff0e68b 16:57:07 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:07 ---> Running in 133d083aa8d7 16:57:09 Removing intermediate container 133d083aa8d7 16:57:09 ---> e6dae7e3b74c 16:57:09 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:09 ---> Running in 118edfb77fed 16:57:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:57:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:57:13 OK: 221 MiB in 51 packages 16:57:14 Removing intermediate container 118edfb77fed 16:57:14 ---> ee75a9dc2909 16:57:14 Step 9/26 : WORKDIR /device-onvif-camera 16:57:14 ---> Running in 2d8fe7e05a4d 16:57:14 Removing intermediate container 2d8fe7e05a4d 16:57:14 ---> c48206abf0ee 16:57:14 Step 10/26 : COPY go.mod vendor* ./ 16:57:14 ---> 82ffee57f262 16:57:14 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:14 ---> Running in 501866bfc598 16:57:20 Removing intermediate container 501866bfc598 16:57:20 ---> 4aec69e588fa 16:57:20 Step 12/26 : COPY . . 16:57:22 ---> 5e41e2800a4b 16:57:22 Step 13/26 : RUN ${MAKE} 16:57:22 ---> Running in 6d62291d189b 16:57:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 17:00:01 Removing intermediate container 6d62291d189b 17:00:01 ---> 5449f5ce11cf 17:00:01 Step 14/26 : FROM alpine:3.16 17:00:01 3.16: Pulling from library/alpine 17:00:01 9b18e9b68314: Pulling fs layer 17:00:01 9b18e9b68314: Download complete 17:00:01 9b18e9b68314: Pull complete 17:00:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:00:01 Status: Downloaded newer image for alpine:3.16 17:00:01 ---> a6215f271958 17:00:01 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:00:01 ---> Running in 01611f3154e4 17:00:01 Removing intermediate container 01611f3154e4 17:00:01 ---> 4690a4178e9f 17:00:01 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:00:01 ---> Running in 427534b73c10 17:00:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:00:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:00:03 (1/6) Installing dumb-init (1.2.5-r1) 17:00:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:00:03 (3/6) Installing libsodium (1.0.18-r0) 17:00:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:00:03 (5/6) Installing libzmq (4.3.4-r0) 17:00:03 (6/6) Installing zeromq (4.3.4-r0) 17:00:03 Executing busybox-1.35.0-r17.trigger 17:00:03 OK: 8 MiB in 20 packages 17:00:04 Removing intermediate container 427534b73c10 17:00:04 ---> 45477affa0f4 17:00:04 Step 17/26 : WORKDIR / 17:00:04 ---> Running in e988893f38d0 17:00:04 Removing intermediate container e988893f38d0 17:00:04 ---> 85cc1a1fe463 17:00:04 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 17:00:05 ---> 6cb9fdf74663 17:00:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 17:00:06 ---> 533be3075e28 17:00:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 17:00:07 ---> 6c7c059c4953 17:00:07 Step 21/26 : EXPOSE 59984 17:00:07 ---> Running in 39570a75257b 17:00:07 Removing intermediate container 39570a75257b 17:00:07 ---> 7bef4f10827f 17:00:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 17:00:07 ---> Running in f92c00330966 17:00:07 Removing intermediate container f92c00330966 17:00:07 ---> e16d9d1544b0 17:00:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:00:07 ---> Running in 09604f8cb945 17:00:08 Removing intermediate container 09604f8cb945 17:00:08 ---> 63731f931016 17:00:08 Step 24/26 : LABEL arch=arm64 17:00:08 ---> Running in 1f3aa69b08ee 17:00:08 Removing intermediate container 1f3aa69b08ee 17:00:08 ---> 396380b180fc 17:00:08 Step 25/26 : LABEL git_sha=07d7568c4aa69296c110ad64a28331e8173121ad 17:00:08 ---> Running in ed70eb935efe 17:00:09 Removing intermediate container ed70eb935efe 17:00:09 ---> 314052cf149c 17:00:09 Step 26/26 : LABEL version=2.3.0-dev.21 17:00:09 ---> Running in 7fa7cfc63601 17:00:09 Removing intermediate container 7fa7cfc63601 17:00:09 ---> 64e7bbdb2daf 17:00:09 [Warning] One or more build-args [ARCH] were not consumed 17:00:09 Successfully built 64e7bbdb2daf 17:00:09 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:00:09 provisioning config files... 17:00:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/60@tmp/config4868032748581273554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:09 ---> docker-login.sh 17:00:09 nexus3.edgexfoundry.org:10001 17:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 nexus3.edgexfoundry.org:10002 17:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 nexus3.edgexfoundry.org:10003 17:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:10 Configure a credential helper to remove this warning. See 17:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:10 17:00:10 Login Succeeded 17:00:10 nexus3.edgexfoundry.org:10004 17:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:11 Configure a credential helper to remove this warning. See 17:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:11 17:00:11 Login Succeeded 17:00:11 docker.io 17:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:00:12 Configure a credential helper to remove this warning. See 17:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:00:12 17:00:12 Login Succeeded 17:00:12 ---> docker-login.sh ends [Pipeline] } 17:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:00:12 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 17:00:12 07d7568c4aa69296c110ad64a28331e8173121ad 17:00:12 latest 17:00:12 2.3.0-dev.21 17:00:12 07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 17:00:12 main 17:00:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:12 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad 17:00:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:00:12 83267c82f232: Preparing 17:00:12 a289053aeaca: Preparing 17:00:12 9fc67c12379b: Preparing 17:00:12 acbbb6f52b0a: Preparing 17:00:12 5d3e392a13a0: Preparing 17:00:12 5d3e392a13a0: Layer already exists 17:00:13 a289053aeaca: Pushed 17:00:13 83267c82f232: Pushed 17:00:13 acbbb6f52b0a: Pushed 17:00:18 9fc67c12379b: Pushed 17:00:18 07d7568c4aa69296c110ad64a28331e8173121ad: digest: sha256:59b8f3a02f09be574bbf243575cec7c47681ef59a1cd7d606418412d8d483c77 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:19 + 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:00:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:00:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:00:19 83267c82f232: Preparing 17:00:19 a289053aeaca: Preparing 17:00:19 9fc67c12379b: Preparing 17:00:19 acbbb6f52b0a: Preparing 17:00:19 5d3e392a13a0: Preparing 17:00:19 acbbb6f52b0a: Layer already exists 17:00:19 83267c82f232: Layer already exists 17:00:19 a289053aeaca: Layer already exists 17:00:19 5d3e392a13a0: Layer already exists 17:00:19 9fc67c12379b: Layer already exists 17:00:19 latest: digest: sha256:59b8f3a02f09be574bbf243575cec7c47681ef59a1cd7d606418412d8d483c77 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.21 17:00:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:00:20 83267c82f232: Preparing 17:00:20 a289053aeaca: Preparing 17:00:20 9fc67c12379b: Preparing 17:00:20 acbbb6f52b0a: Preparing 17:00:20 5d3e392a13a0: Preparing 17:00:20 a289053aeaca: Layer already exists 17:00:20 acbbb6f52b0a: Layer already exists 17:00:20 9fc67c12379b: Layer already exists 17:00:20 83267c82f232: Layer already exists 17:00:20 5d3e392a13a0: Layer already exists 17:00:20 2.3.0-dev.21: digest: sha256:59b8f3a02f09be574bbf243575cec7c47681ef59a1cd7d606418412d8d483c77 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:20 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 17:00:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:00:20 83267c82f232: Preparing 17:00:20 a289053aeaca: Preparing 17:00:20 9fc67c12379b: Preparing 17:00:20 acbbb6f52b0a: Preparing 17:00:20 5d3e392a13a0: Preparing 17:00:20 5d3e392a13a0: Layer already exists 17:00:20 83267c82f232: Layer already exists 17:00:20 a289053aeaca: Layer already exists 17:00:20 9fc67c12379b: Layer already exists 17:00:20 acbbb6f52b0a: Layer already exists 17:00:20 07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21: digest: sha256:59b8f3a02f09be574bbf243575cec7c47681ef59a1cd7d606418412d8d483c77 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:21 + 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:00:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 17:00:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 17:00:21 83267c82f232: Preparing 17:00:21 a289053aeaca: Preparing 17:00:21 9fc67c12379b: Preparing 17:00:21 acbbb6f52b0a: Preparing 17:00:21 5d3e392a13a0: Preparing 17:00:21 a289053aeaca: Layer already exists 17:00:21 5d3e392a13a0: Layer already exists 17:00:21 83267c82f232: Layer already exists 17:00:21 acbbb6f52b0a: Layer already exists 17:00:21 9fc67c12379b: Layer already exists 17:00:21 main: digest: sha256:59b8f3a02f09be574bbf243575cec7c47681ef59a1cd7d606418412d8d483c77 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:00:21 ===================================================== [Pipeline] echo 17:00:21 taggedImages: 17:00:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad 17:00:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 17:00:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.21 17:00:21 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:07d7568c4aa69296c110ad64a28331e8173121ad-2.3.0-dev.21 17:00:21 - 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:00:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:22 17:00:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:22 arm64: Pulling from edgex-lftools-log-publisher 17:00:22 8998bd30e6a1: Pulling fs layer 17:00:22 04944245beec: Pulling fs layer 17:00:22 699f458cf7ca: Pulling fs layer 17:00:22 765212b225bb: Pulling fs layer 17:00:22 f23df028b6ca: Pulling fs layer 17:00:22 d65c8cfc05b1: Pulling fs layer 17:00:22 2437ff75d9bd: Pulling fs layer 17:00:22 765212b225bb: Waiting 17:00:22 f23df028b6ca: Waiting 17:00:22 d65c8cfc05b1: Waiting 17:00:22 2437ff75d9bd: Waiting 17:00:22 04944245beec: Verifying Checksum 17:00:22 04944245beec: Download complete 17:00:22 765212b225bb: Verifying Checksum 17:00:22 765212b225bb: Download complete 17:00:22 f23df028b6ca: Verifying Checksum 17:00:22 f23df028b6ca: Download complete 17:00:22 d65c8cfc05b1: Verifying Checksum 17:00:22 d65c8cfc05b1: Download complete 17:00:23 699f458cf7ca: Verifying Checksum 17:00:23 699f458cf7ca: Download complete 17:00:23 8998bd30e6a1: Verifying Checksum 17:00:23 8998bd30e6a1: Download complete 17:00:26 2437ff75d9bd: Verifying Checksum 17:00:26 2437ff75d9bd: Download complete 17:00:27 8998bd30e6a1: Pull complete 17:00:27 04944245beec: Pull complete 17:00:29 699f458cf7ca: Pull complete 17:00:29 765212b225bb: Pull complete 17:00:29 f23df028b6ca: Pull complete 17:00:30 d65c8cfc05b1: Pull complete 17:00:45 2437ff75d9bd: Pull complete 17:00:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-1160 does not seem to be running inside a container 17:00:45 $ 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/60 -v /w/workspace/device-onvif-camera/60:/w/workspace/device-onvif-camera/60:rw,z -v /w/workspace/device-onvif-camera/60@tmp:/w/workspace/device-onvif-camera/60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:00:47 $ docker top 8316130ed5c1df4538249481cde53530d8bdf4aed0950b251bb9371d1aa2ecaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:48 ---> job-cost.sh 17:00:48 lf-activate-venv: SKIPPING 17:00:48 INFO: No Stack... 17:00:48 INFO: Retrieving Pricing Info for: v3-standard-4 17:00:49 INFO: Archiving Costs [Pipeline] sh 17:00:50 + cat /w/workspace/device-onvif-camera/60/archives/cost.csv 17:00:50 + cut -d, -f6 [Pipeline] lock 17:00:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] 17:00:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] did not exist. Created. 17:00:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:00:51 /w/workspace/device-onvif-camera/60@tmp/durable-6a376ecd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:00:51 + echo total: 0.10999999940395355 [Pipeline] stash 17:00:51 Warning: overwriting stash ‘stack-cost’ 17:00:51 Stashed 1 file(s) [Pipeline] } 17:00:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 17:00:51 $ docker stop --time=1 8316130ed5c1df4538249481cde53530d8bdf4aed0950b251bb9371d1aa2ecaf 17:00:53 $ docker rm -f 8316130ed5c1df4538249481cde53530d8bdf4aed0950b251bb9371d1aa2ecaf [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:00:53 provisioning config files... 17:00:53 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7042268681334157399tmp [Pipeline] { [Pipeline] sh 17:00:53 + set +x 17:00:53 + curl -s https://codecov.io/bash 17:00:53 + bash -s -- 17:00:53 17:00:53 _____ _ 17:00:53 / ____| | | 17:00:53 | | ___ __| | ___ ___ _____ __ 17:00:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:00:53 | |___| (_) | (_| | __/ (_| (_) \ V / 17:00:53 \_____\___/ \__,_|\___|\___\___/ \_/ 17:00:53 Bash-1.0.6 17:00:53 17:00:53 17:00:53 ==> git version 2.25.1 found 17:00:53 ==> 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:00:53 Release-Date: 2020-01-08 17:00:53 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:00:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:00:53 ==> Jenkins CI detected. 17:00:53 current dir:  /w/workspace/foundry_device-onvif-camera_main 17:00:53 project root: . 17:00:53 --> token set from env 17:00:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:00:53 ==> Running gcov in . (disable via -X gcov) 17:00:53 ==> Python coveragepy not found 17:00:53 ==> Searching for coverage reports in: 17:00:53 + . 17:00:53 -> Found 1 reports 17:00:53 ==> Detecting git/mercurial file structure 17:00:53 ==> Reading reports 17:00:54 + ./coverage.out bytes=79818 17:00:54 ==> Appending adjustments 17:00:54 https://docs.codecov.io/docs/fixing-reports 17:00:54 + Found adjustments 17:00:54 ==> Gzipping contents 17:00:54 12K /tmp/codecov.9G74Yd.gz 17:00:54 ==> Uploading reports 17:00:54 url: https://codecov.io 17:00:54 query: branch=main&commit=07d7568c4aa69296c110ad64a28331e8173121ad&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:00:54 -> Pinging Codecov 17:00:54 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=07d7568c4aa69296c110ad64a28331e8173121ad&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:00:54 -> Uploading to 17:00:54 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/F29A59C45E3A92E06B3E522C9905F8EF/07d7568c4aa69296c110ad64a28331e8173121ad/0375808e-50b1-4474-948d-53b153aec5ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T170054Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e093efa97d0a839bdd2ba9bf5abede7c5abcf77abd7f77bdf042b03cceffbaa3 17:00:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:54 Dload Upload Total Spent Left Speed 17:00:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10926 0 0 100 10926 0 53558 --:--:-- --:--:-- --:--:-- 53297 100 10926 0 0 100 10926 0 46101 --:--:-- --:--:-- --:--:-- 45907 17:00:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] } 17:00:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:00:54 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:00:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:00:55 17:00:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:00:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:00:55 df9b9388f04a: Pulling fs layer 17:00:55 52dc419b0ee2: Pulling fs layer 17:00:55 25bc292e5bac: Pulling fs layer 17:00:55 114826534d7a: Pulling fs layer 17:00:55 4657fd5d0bcf: Pulling fs layer 17:00:55 6ad1cebc031e: Pulling fs layer 17:00:55 8a3aa393b2d8: Pulling fs layer 17:00:55 114826534d7a: Waiting 17:00:55 4657fd5d0bcf: Waiting 17:00:55 6ad1cebc031e: Waiting 17:00:55 25bc292e5bac: Verifying Checksum 17:00:55 25bc292e5bac: Download complete 17:00:55 52dc419b0ee2: Verifying Checksum 17:00:55 52dc419b0ee2: Download complete 17:00:55 4657fd5d0bcf: Verifying Checksum 17:00:55 4657fd5d0bcf: Download complete 17:00:55 df9b9388f04a: Download complete 17:00:55 df9b9388f04a: Pull complete 17:00:55 6ad1cebc031e: Verifying Checksum 17:00:55 6ad1cebc031e: Download complete 17:00:55 52dc419b0ee2: Pull complete 17:00:55 25bc292e5bac: Pull complete 17:00:56 114826534d7a: Verifying Checksum 17:00:56 114826534d7a: Download complete 17:00:56 8a3aa393b2d8: Verifying Checksum 17:00:56 8a3aa393b2d8: Download complete 17:00:59 114826534d7a: Pull complete 17:00:59 4657fd5d0bcf: Pull complete 17:00:59 6ad1cebc031e: Pull complete 17:01:02 8a3aa393b2d8: Pull complete 17:01:02 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:01:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:01:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:02 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:02 $ 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:01:04 $ docker top cab10eba142d3e2f963595ec600e6fac6baac14655726d0085d4623e192476e2 -eo pid,comm [Pipeline] { [Pipeline] echo 17:01:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 17:01:04 + set -o pipefail 17:01:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 17:01:10 17:01:10 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 17:01:10 17:01:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/31468966-6e54-4a03-adc0-85af4ad410a5 17:01:10 17:01:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:01:10 17:01:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:01:10 17:01:10 [Pipeline] } 17:01:10 $ docker stop --time=1 cab10eba142d3e2f963595ec600e6fac6baac14655726d0085d4623e192476e2 17:01:12 $ docker rm -f cab10eba142d3e2f963595ec600e6fac6baac14655726d0085d4623e192476e2 [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:01:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:12 provisioning config files... 17:01:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18216962681662036030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:12 --> edgex-publish-swagger.sh 17:01:12 === Publish doc/openapi/v2 API === 17:01:12 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 17:01:12 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 17:01:12 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:12 Dload Upload Total Spent Left Speed 17:01:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 194k --:--:-- --:--:-- --:--:-- 194k 17:01:13 17:01:13 [Pipeline] } 17:01:13 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:01:13 + git log --format=format:%s -1 07d7568c4aa69296c110ad64a28331e8173121ad [Pipeline] sh 17:01:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:14 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:14 $ 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:01:15 $ docker top 320ffde111c88df1214a1ead31209cbdf09ee657951bc018f087a536926ad844 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:15 [ssh-agent] Looking for ssh-agent implementation... 17:01:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:15 $ docker exec 320ffde111c88df1214a1ead31209cbdf09ee657951bc018f087a536926ad844 ssh-agent 17:01:15 SSH_AUTH_SOCK=/tmp/ssh-kXG2WTJbA9jt/agent.32 17:01:15 SSH_AGENT_PID=38 17:01:15 Running ssh-add (command line suppressed) 17:01:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_81720139440043622.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_81720139440043622.key) 17:01:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:15 + git semver tag 17:01:16 2022-09-26 17:01:15,964 [run_tag] DEBUG tag force:False 17:01:16 2022-09-26 17:01:15,964 [check_head_tag] DEBUG check head tag 17:01:16 2022-09-26 17:01:15,965 [execute] INFO git cat-file --batch-check 17:01:16 2022-09-26 17:01:15,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:01:16 2022-09-26 17:01:15,968 [execute] INFO git cat-file --batch 17:01:16 2022-09-26 17:01:15,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 17:01:16 2022-09-26 17:01:15,990 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:16 2022-09-26 17:01:15,990 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 17:01:16 2022-09-26 17:01:15,990 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 17:01:16 2022-09-26 17:01:15,996 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:16 2.3.0-dev.21 [Pipeline] } 17:01:16 $ docker exec --env ******** --env ******** 320ffde111c88df1214a1ead31209cbdf09ee657951bc018f087a536926ad844 ssh-agent -k 17:01:16 unset SSH_AUTH_SOCK; 17:01:16 unset SSH_AGENT_PID; 17:01:16 echo Agent pid 38 killed; 17:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:16 + git semver [Pipeline] } 17:01:16 $ docker stop --time=1 320ffde111c88df1214a1ead31209cbdf09ee657951bc018f087a536926ad844 17:01:18 $ docker rm -f 320ffde111c88df1214a1ead31209cbdf09ee657951bc018f087a536926ad844 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:18 17:01:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:18 0.23.1-centos7: Pulling from edgex-lftools 17:01:18 ab5ef0e58194: Pulling fs layer 17:01:18 9712f1f96733: Pulling fs layer 17:01:18 63f879dbbcfc: Pulling fs layer 17:01:18 0d9ebad4ef96: Pulling fs layer 17:01:18 e9a5061849ea: Pulling fs layer 17:01:18 d747dcd14b5f: Pulling fs layer 17:01:18 2de7ff778b66: Pulling fs layer 17:01:18 e9a5061849ea: Waiting 17:01:18 0d9ebad4ef96: Waiting 17:01:18 d747dcd14b5f: Waiting 17:01:18 9712f1f96733: Verifying Checksum 17:01:18 9712f1f96733: Download complete 17:01:19 63f879dbbcfc: Verifying Checksum 17:01:19 63f879dbbcfc: Download complete 17:01:19 e9a5061849ea: Verifying Checksum 17:01:19 e9a5061849ea: Download complete 17:01:19 ab5ef0e58194: Verifying Checksum 17:01:19 ab5ef0e58194: Download complete 17:01:19 d747dcd14b5f: Verifying Checksum 17:01:19 d747dcd14b5f: Download complete 17:01:19 0d9ebad4ef96: Verifying Checksum 17:01:19 0d9ebad4ef96: Download complete 17:01:19 2de7ff778b66: Verifying Checksum 17:01:19 2de7ff778b66: Download complete 17:01:22 ab5ef0e58194: Pull complete 17:01:22 9712f1f96733: Pull complete 17:01:23 63f879dbbcfc: Pull complete 17:01:26 0d9ebad4ef96: Pull complete 17:01:26 e9a5061849ea: Pull complete 17:01:26 d747dcd14b5f: Pull complete 17:01:27 2de7ff778b66: Pull complete 17:01:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:27 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:27 $ 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:01:29 $ docker top 57663df12413b0aa920a925c8e683ff3ef2ff42d3686f0759d1ebe5b818465bc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:01:30 provisioning config files... 17:01:30 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4284685845444660311tmp 17:01:30 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3178685619777837312tmp 17:01:30 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config560473840352870338tmp [Pipeline] { [Pipeline] echo 17:01:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:01:30 ---> sigul-configuration.sh 17:01:30 gpg: directory `/root/.gnupg' created 17:01:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:01:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:01:30 gpg: keyring `/root/.gnupg/secring.gpg' created 17:01:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:01:30 gpg: CAST5 encrypted data 17:01:30 gpg: encrypted with 1 passphrase 17:01:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:01:30 + mkdir /home/jenkins 17:01:30 + mkdir /home/jenkins/sigul [Pipeline] sh 17:01:30 + 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:01:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:01:31 ---> sigul-install.sh 17:01:31 Sigul already installed; skipping installation. [Pipeline] sh 17:01:31 + git tag --list 17:01:31 v0.0.0 17:01:31 v0.0.1-dev.1 17:01:31 v0.0.1-dev.10 17:01:31 v0.0.1-dev.11 17:01:31 v0.0.1-dev.12 17:01:31 v0.0.1-dev.13 17:01:31 v0.0.1-dev.14 17:01:31 v0.0.1-dev.15 17:01:31 v0.0.1-dev.16 17:01:31 v0.0.1-dev.17 17:01:31 v0.0.1-dev.18 17:01:31 v0.0.1-dev.19 17:01:31 v0.0.1-dev.2 17:01:31 v0.0.1-dev.20 17:01:31 v0.0.1-dev.21 17:01:31 v0.0.1-dev.22 17:01:31 v0.0.1-dev.23 17:01:31 v0.0.1-dev.24 17:01:31 v0.0.1-dev.25 17:01:31 v0.0.1-dev.26 17:01:31 v0.0.1-dev.27 17:01:31 v0.0.1-dev.28 17:01:31 v0.0.1-dev.3 17:01:31 v0.0.1-dev.4 17:01:31 v0.0.1-dev.5 17:01:31 v0.0.1-dev.6 17:01:31 v0.0.1-dev.7 17:01:31 v0.0.1-dev.8 17:01:31 v0.0.1-dev.9 17:01:31 v2.2.0 17:01:31 v2.2.0-dev.29 17:01:31 v2.2.0-dev.30 17:01:31 v2.2.0-dev.31 17:01:31 v2.2.0-dev.32 17:01:31 v2.2.0-dev.33 17:01:31 v2.2.0-dev.34 17:01:31 v2.2.0-dev.35 17:01:31 v2.3.0-dev.1 17:01:31 v2.3.0-dev.10 17:01:31 v2.3.0-dev.11 17:01:31 v2.3.0-dev.12 17:01:31 v2.3.0-dev.13 17:01:31 v2.3.0-dev.14 17:01:31 v2.3.0-dev.15 17:01:31 v2.3.0-dev.16 17:01:31 v2.3.0-dev.17 17:01:31 v2.3.0-dev.18 17:01:31 v2.3.0-dev.19 17:01:31 v2.3.0-dev.2 17:01:31 v2.3.0-dev.20 17:01:31 v2.3.0-dev.21 17:01:31 v2.3.0-dev.3 17:01:31 v2.3.0-dev.4 17:01:31 v2.3.0-dev.5 17:01:31 v2.3.0-dev.6 17:01:31 v2.3.0-dev.7 17:01:31 v2.3.0-dev.8 17:01:31 v2.3.0-dev.9 [Pipeline] sh 17:01:31 + lftools sign git-tag v2.3.0-dev.21 17:01:32 Signing Git tag with Sigul... 17:01:32 Signing v2.3.0-dev.21 [Pipeline] echo 17:01:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:01:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:01:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:01:32 $ docker stop --time=1 57663df12413b0aa920a925c8e683ff3ef2ff42d3686f0759d1ebe5b818465bc 17:01:34 $ docker rm -f 57663df12413b0aa920a925c8e683ff3ef2ff42d3686f0759d1ebe5b818465bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:01:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:35 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:01:35 $ docker top 77a82515876d0d1c45ad5246abb75d88b646baaf377678d8a9d021955650aad0 -eo pid,comm 17:01:35 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:01:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:35 [ssh-agent] Looking for ssh-agent implementation... 17:01:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:35 $ docker exec 77a82515876d0d1c45ad5246abb75d88b646baaf377678d8a9d021955650aad0 ssh-agent 17:01:35 SSH_AUTH_SOCK=/tmp/ssh-dM3fsckZ75Wz/agent.31 17:01:35 SSH_AGENT_PID=37 17:01:35 Running ssh-add (command line suppressed) 17:01:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3035340804435815124.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3035340804435815124.key) 17:01:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:36 + git semver bump pre 17:01:36 2022-09-26 17:01:36,257 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:36 2022-09-26 17:01:36,258 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev 17:01:36 2022-09-26 17:01:36,258 [bump_version] DEBUG bumped version:2.3.0-dev.22 17:01:36 2022-09-26 17:01:36,258 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 17:01:36 2022-09-26 17:01:36,258 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:36 2022-09-26 17:01:36,258 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:36 2022-09-26 17:01:36,261 [execute] INFO git cat-file --batch-check 17:01:36 2022-09-26 17:01:36,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:36 2022-09-26 17:01:36,267 [execute] INFO git cat-file --batch 17:01:36 2022-09-26 17:01:36,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:36 2022-09-26 17:01:36,273 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:36 2.3.0-dev.22 [Pipeline] } 17:01:36 $ docker exec --env ******** --env ******** 77a82515876d0d1c45ad5246abb75d88b646baaf377678d8a9d021955650aad0 ssh-agent -k 17:01:36 unset SSH_AUTH_SOCK; 17:01:36 unset SSH_AGENT_PID; 17:01:36 echo Agent pid 37 killed; 17:01:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:36 + git semver [Pipeline] } 17:01:37 $ docker stop --time=1 77a82515876d0d1c45ad5246abb75d88b646baaf377678d8a9d021955650aad0 17:01:38 $ docker rm -f 77a82515876d0d1c45ad5246abb75d88b646baaf377678d8a9d021955650aad0 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:39 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:01:39 $ docker top 9da8c60796566e2b31d4c53a8023f1deac10c1d3c7738510474c44d6dbc8c31a -eo pid,comm 17:01:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:01:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:39 [ssh-agent] Looking for ssh-agent implementation... 17:01:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:39 $ docker exec 9da8c60796566e2b31d4c53a8023f1deac10c1d3c7738510474c44d6dbc8c31a ssh-agent 17:01:39 SSH_AUTH_SOCK=/tmp/ssh-DUqz3ra07bC8/agent.32 17:01:39 SSH_AGENT_PID=38 17:01:39 Running ssh-add (command line suppressed) 17:01:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8541423268757884194.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8541423268757884194.key) 17:01:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:40 + git semver push 17:01:40 2022-09-26 17:01:40,292 [run_push] DEBUG push 17:01:40 2022-09-26 17:01:40,293 [execute] INFO git cat-file --batch-check 17:01:40 2022-09-26 17:01:40,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:40 2022-09-26 17:01:40,297 [execute] INFO git rev-list d30719aa20877496aeecc1a4b13899dc0dfc47f1 -- 17:01:40 2022-09-26 17:01:40,297 [execute] DEBUG Popen(['git', 'rev-list', 'd30719aa20877496aeecc1a4b13899dc0dfc47f1', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:01:40 2022-09-26 17:01:40,304 [execute] INFO git fetch -v origin 17:01:40 2022-09-26 17:01:40,304 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 17:01:40 2022-09-26 17:01:40,889 [run_push] DEBUG no remote changes detected 17:01:40 2022-09-26 17:01:40,890 [execute] INFO git push origin semver 17:01:40 2022-09-26 17:01:40,890 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 17:01:41 2022-09-26 17:01:41,761 [run_push] DEBUG push all version tags 17:01:41 2022-09-26 17:01:41,762 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:01:41 2022-09-26 17:01:41,763 [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:01:42 2022-09-26 17:01:42,470 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 17:01:42 2.3.0-dev.22 [Pipeline] } 17:01:42 $ docker exec --env ******** --env ******** 9da8c60796566e2b31d4c53a8023f1deac10c1d3c7738510474c44d6dbc8c31a ssh-agent -k 17:01:42 unset SSH_AUTH_SOCK; 17:01:42 unset SSH_AGENT_PID; 17:01:42 echo Agent pid 38 killed; 17:01:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:43 + git semver [Pipeline] } 17:01:43 $ docker stop --time=1 9da8c60796566e2b31d4c53a8023f1deac10c1d3c7738510474c44d6dbc8c31a 17:01:44 $ docker rm -f 9da8c60796566e2b31d4c53a8023f1deac10c1d3c7738510474c44d6dbc8c31a [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:01:45 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 17:01:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:01:45 total 16 17:01:45 drwxr-xr-x 3 root root 4096 Sep 26 16:50 . 17:01:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 17:01 .. 17:01:45 drwxr-xr-x 2 root root 4096 Sep 26 16:50 cost 17:01:45 -rw-r--r-- 1 root root 90 Sep 26 16:50 cost.csv 17:01:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 17:01:45 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 17:01:45 total 16 17:01:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:50 . 17:01:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 17:01 .. 17:01:45 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 16:50 cost 17:01:45 -rw-r--r-- 1 jenkins jenkins 90 Sep 26 16:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:01:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:01:46 ---> package-listing.sh 17:01:46 ++ facter osfamily 17:01:46 ++ tr '[:upper:]' '[:lower:]' 17:01:46 + OS_FAMILY=debian 17:01:46 + workspace=/w/workspace/foundry_device-onvif-camera_main 17:01:46 + START_PACKAGES=/tmp/packages_start.txt 17:01:46 + END_PACKAGES=/tmp/packages_end.txt 17:01:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:01:46 + PACKAGES=/tmp/packages_start.txt 17:01:46 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:01:46 + PACKAGES=/tmp/packages_end.txt 17:01:46 + case "${OS_FAMILY}" in 17:01:46 + dpkg -l 17:01:46 + grep '^ii' 17:01:46 + '[' -f /tmp/packages_start.txt ']' 17:01:46 + '[' -f /tmp/packages_end.txt ']' 17:01:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:01:46 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 17:01:46 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 17:01:46 + 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:01:46 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:01:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:47 prd-ubuntu20.04-docker-8c-8g-1159 does not seem to be running inside a container 17:01:47 $ 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:01:48 $ docker top 31b6ebdda7f68f4af8684c37e18b40242fce578ffeaffd8571545be55272b673 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:48 + touch /tmp/pre-build-complete [Pipeline] sh 17:01:48 + mkdir -p /var/log/sysstat [Pipeline] sh 17:01:48 + ls /var/log/sa-host 17:01:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:49 provisioning config files... 17:01:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config18112909179927202377tmp [Pipeline] { [Pipeline] echo 17:01:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:01:49 ---> create-netrc.sh [Pipeline] } 17:01:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:01:49 ---> python-tools-install.sh [Pipeline] echo 17:01:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:01:50 ---> sudo-logs.sh 17:01:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:01:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:01:50 ---> job-cost.sh 17:01:50 lf-activate-venv: SKIPPING 17:01:50 DEBUG: total: 0.2199999988079071 17:01:50 INFO: Retrieving Stack Cost... 17:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 17:01:51 INFO: Archiving Costs [Pipeline] echo 17:01:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:01:51 ---> logs-deploy.sh 17:01:51 lf-activate-venv: SKIPPING 17:01:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/60 17:01:51 INFO: archiving workspace using pattern(s): 17:01:52 Archives upload complete. 17:01:52 INFO: archiving logs to Nexus