Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5732e31f5803dbff04c89d6285bbaabf5e55c73 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-ssh13225499682438556154.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-ssh17995987138495012802.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-ssh3866061937703368432.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-ssh14655219795879599628.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-ssh12012986019848061069.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1809 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 f5732e31f5803dbff04c89d6285bbaabf5e55c73 (main) Commit message: "Merge pull request #165 from hahattan/internal" > 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 f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 > git rev-list --no-walk 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:01:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:01:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:01:18 ========================================================= 09:01:18 EdgeX Global Pipelines Version Info 09:01:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:01:19 ------------------- 09:01:19 stable info: 09:01:19 ------------------- 09:01:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:01:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:01:19 Message: update stable to v1.0.239 09:01:19 ------------------- 09:01:19 experimental info: 09:01:19 ------------------- 09:01:19 Commited By: **** collab-it+edgex@linuxfoundation.org 09:01:19 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:01:19 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:01:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5732e3 [Pipeline] echo 09:01:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:01:20 provisioning config files... 09:01:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7820727066853426531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:20 ---> docker-login.sh 09:01:20 nexus3.edgexfoundry.org:10001 09:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 nexus3.edgexfoundry.org:10002 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 nexus3.edgexfoundry.org:10003 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 nexus3.edgexfoundry.org:10004 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 docker.io 09:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:21 Configure a credential helper to remove this warning. See 09:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:21 09:01:21 Login Succeeded 09:01:21 ---> docker-login.sh ends [Pipeline] } 09:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:01:22 + git rev-list -1 --merges f5732e31f5803dbff04c89d6285bbaabf5e55c73~1..f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] echo 09:01:22 -----------> git rev-list -1 --merges f5732e31f5803dbff04c89d6285bbaabf5e55c73~1..f5732e31f5803dbff04c89d6285bbaabf5e55c73 f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:01:22 f5732e31f5803dbff04c89d6285bbaabf5e55c73 [false] [Pipeline] sh 09:01:22 + git log --format=format:%s -1 f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] echo 09:01:22 ========================================================= 09:01:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:01:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:22 + git log --format=format:%s -1 f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] echo 09:01:22 [semverPrep] GIT_COMMIT: f5732e31f5803dbff04c89d6285bbaabf5e55c73, Commit Message: Merge pull request #165 from hahattan/internal [Pipeline] echo 09:01:22 [semverPrep] This is not a build commit. [Pipeline] sh 09:01:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:01:23 + grep -v github /etc/ssh/ssh_known_hosts 09:01:23 + [ -e /tmp/ssh_known_hosts ] 09:01:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:01:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:01:23 + sudo tee -a /etc/ssh/ssh_known_hosts 09:01:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:23 09:01:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:23 0.1.4: Pulling from edgex-devops/py-git-semver 09:01:23 b85a868b505f: Pulling fs layer 09:01:23 e2be974225ed: Pulling fs layer 09:01:23 339a4e72a1f5: Pulling fs layer 09:01:23 988bab9f4d93: Pulling fs layer 09:01:23 1469e6f7b9e6: Pulling fs layer 09:01:23 eaf3925da568: Pulling fs layer 09:01:23 bab4dde63d76: Pulling fs layer 09:01:23 bde34c3a00c8: Pulling fs layer 09:01:23 b352a97aabf1: Pulling fs layer 09:01:23 4872d77fe225: Pulling fs layer 09:01:23 5851b861e8e6: Pulling fs layer 09:01:23 988bab9f4d93: Waiting 09:01:23 b352a97aabf1: Waiting 09:01:23 eaf3925da568: Waiting 09:01:23 1469e6f7b9e6: Waiting 09:01:23 5851b861e8e6: Waiting 09:01:23 bab4dde63d76: Waiting 09:01:23 4872d77fe225: Waiting 09:01:23 e2be974225ed: Verifying Checksum 09:01:23 e2be974225ed: Download complete 09:01:23 988bab9f4d93: Verifying Checksum 09:01:23 988bab9f4d93: Download complete 09:01:24 1469e6f7b9e6: Verifying Checksum 09:01:24 1469e6f7b9e6: Download complete 09:01:24 339a4e72a1f5: Verifying Checksum 09:01:24 339a4e72a1f5: Download complete 09:01:24 eaf3925da568: Verifying Checksum 09:01:24 eaf3925da568: Download complete 09:01:24 bde34c3a00c8: Verifying Checksum 09:01:24 bde34c3a00c8: Download complete 09:01:24 b352a97aabf1: Download complete 09:01:24 4872d77fe225: Verifying Checksum 09:01:24 4872d77fe225: Download complete 09:01:24 5851b861e8e6: Download complete 09:01:24 b85a868b505f: Verifying Checksum 09:01:24 b85a868b505f: Download complete 09:01:24 bab4dde63d76: Verifying Checksum 09:01:24 bab4dde63d76: Download complete 09:01:25 b85a868b505f: Pull complete 09:01:25 e2be974225ed: Pull complete 09:01:26 339a4e72a1f5: Pull complete 09:01:26 988bab9f4d93: Pull complete 09:01:26 1469e6f7b9e6: Pull complete 09:01:26 eaf3925da568: Pull complete 09:01:28 bab4dde63d76: Pull complete 09:01:28 bde34c3a00c8: Pull complete 09:01:28 b352a97aabf1: Pull complete 09:01:28 4872d77fe225: Pull complete 09:01:28 5851b861e8e6: Pull complete 09:01:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:01:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:01:28 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:01:28 $ 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 09:01:30 $ docker top 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 -eo pid,comm 09:01:30 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). 09:01:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:01:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:30 [ssh-agent] Looking for ssh-agent implementation... 09:01:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:30 $ docker exec 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 ssh-agent 09:01:30 SSH_AUTH_SOCK=/tmp/ssh-cO7TY39bSzlC/agent.32 09:01:30 SSH_AGENT_PID=38 09:01:30 Running ssh-add (command line suppressed) 09:01:30 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9668978875364543773.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9668978875364543773.key) 09:01:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:30 + git tag --points-at HEAD [Pipeline] } 09:01:30 $ docker exec --env ******** --env ******** 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 ssh-agent -k 09:01:31 unset SSH_AUTH_SOCK; 09:01:31 unset SSH_AGENT_PID; 09:01:31 echo Agent pid 38 killed; 09:01:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:01:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:01:31 [ssh-agent] Looking for ssh-agent implementation... 09:01:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:01:31 $ docker exec 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 ssh-agent 09:01:31 SSH_AUTH_SOCK=/tmp/ssh-qjcjVHtZ2bli/agent.70 09:01:31 SSH_AGENT_PID=76 09:01:31 Running ssh-add (command line suppressed) 09:01:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1758249407684389535.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_1758249407684389535.key) 09:01:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:01:31 + git semver init 09:01:31 2022-09-28 09:01:31,900 [run_init] DEBUG init version:0.0.0 force:False 09:01:31 2022-09-28 09:01:31,901 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 09:01:31 2022-09-28 09:01:31,902 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 09:01:31 2022-09-28 09:01:31,902 [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) 09:01:33 2022-09-28 09:01:32,957 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 09:01:33 2022-09-28 09:01:32,957 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 09:01:33 2022-09-28 09:01:32,957 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:01:33 2022-09-28 09:01:32,958 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:01:33 2.3.0-dev.23 [Pipeline] } 09:01:33 $ docker exec --env ******** --env ******** 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 ssh-agent -k 09:01:33 unset SSH_AUTH_SOCK; 09:01:33 unset SSH_AGENT_PID; 09:01:33 echo Agent pid 76 killed; 09:01:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:01:33 + git semver [Pipeline] } 09:01:34 $ docker stop --time=1 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 09:01:35 $ docker rm -f 2dd34108f2c006b69e93eab19fd4c214bc6a1c10164f824e342b0bdbf773aaa2 [Pipeline] // withDockerContainer [Pipeline] sh 09:01:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:01:35 Stashed 1 file(s) [Pipeline] echo 09:01:35 [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [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 09:01:36 provisioning config files... 09:01:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4378208399004146529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:01:36 ---> docker-login.sh 09:01:36 nexus3.edgexfoundry.org:10001 09:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:36 Configure a credential helper to remove this warning. See 09:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:36 09:01:36 Login Succeeded 09:01:36 nexus3.edgexfoundry.org:10002 09:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:36 Configure a credential helper to remove this warning. See 09:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:36 09:01:36 Login Succeeded 09:01:36 nexus3.edgexfoundry.org:10003 09:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:36 Configure a credential helper to remove this warning. See 09:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:36 09:01:36 Login Succeeded 09:01:36 nexus3.edgexfoundry.org:10004 09:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:36 Configure a credential helper to remove this warning. See 09:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:36 09:01:36 Login Succeeded 09:01:36 docker.io 09:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:01:37 Configure a credential helper to remove this warning. See 09:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:01:37 09:01:37 Login Succeeded 09:01:37 ---> docker-login.sh ends [Pipeline] } 09:01:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:01:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:01:37 ========================================================= 09:01:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:01:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:37 + 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 . 09:01:37 Sending build context to Docker daemon 20.72MB 09:01:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:01:37 Step 2/13 : FROM ${BASE} AS builder 09:01:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:01:37 2408cc74d12b: Pulling fs layer 09:01:37 ea60b727a1ce: Pulling fs layer 09:01:37 30c4a7721957: Pulling fs layer 09:01:37 370296b7ddb6: Pulling fs layer 09:01:37 7c6cee850709: Pulling fs layer 09:01:37 39a5fcdaea64: Pulling fs layer 09:01:37 d94ebbe4e438: Pulling fs layer 09:01:37 7c6cee850709: Waiting 09:01:37 370296b7ddb6: Waiting 09:01:37 39a5fcdaea64: Waiting 09:01:37 bcfd1f05c69d: Pulling fs layer 09:01:37 59ccb84bbe0f: Pulling fs layer 09:01:37 bcfd1f05c69d: Waiting 09:01:37 d94ebbe4e438: Waiting 09:01:37 30c4a7721957: Verifying Checksum 09:01:37 30c4a7721957: Download complete 09:01:37 ea60b727a1ce: Download complete 09:01:37 7c6cee850709: Verifying Checksum 09:01:37 7c6cee850709: Download complete 09:01:37 39a5fcdaea64: Verifying Checksum 09:01:37 39a5fcdaea64: Download complete 09:01:37 2408cc74d12b: Verifying Checksum 09:01:37 2408cc74d12b: Download complete 09:01:37 2408cc74d12b: Pull complete 09:01:38 ea60b727a1ce: Pull complete 09:01:38 30c4a7721957: Pull complete 09:01:38 59ccb84bbe0f: Verifying Checksum 09:01:38 59ccb84bbe0f: Download complete 09:01:38 370296b7ddb6: Verifying Checksum 09:01:38 370296b7ddb6: Download complete 09:01:38 bcfd1f05c69d: Verifying Checksum 09:01:38 bcfd1f05c69d: Download complete 09:01:42 370296b7ddb6: Pull complete 09:01:42 7c6cee850709: Pull complete 09:01:42 39a5fcdaea64: Pull complete 09:01:42 d94ebbe4e438: Pull complete 09:01:44 bcfd1f05c69d: Pull complete 09:01:45 59ccb84bbe0f: Pull complete 09:01:45 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 09:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:01:45 ---> a4fb48ad2a94 09:01:45 Step 3/13 : ARG MAKE="make build" 09:01:46 ---> Running in dfe261df5018 09:01:47 Removing intermediate container dfe261df5018 09:01:47 ---> bee5bd464d0c 09:01:47 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:01:47 ---> Running in 1638c61cb84f 09:01:47 Removing intermediate container 1638c61cb84f 09:01:47 ---> ca6be82bebc8 09:01:47 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 09:01:47 ---> Running in 542e08b83874 09:01:47 Removing intermediate container 542e08b83874 09:01:47 ---> d3842d951dcc 09:01:47 Step 6/13 : LABEL Name=edgex-device-onvif-camera 09:01:47 ---> Running in 674c2eaf10c7 09:01:47 Removing intermediate container 674c2eaf10c7 09:01:47 ---> d99310fdec5f 09:01:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:01:47 ---> Running in dd5f98ff7854 09:01:48 Removing intermediate container dd5f98ff7854 09:01:48 ---> 69214f536a7a 09:01:48 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:01:48 ---> Running in 37cb2d9fbcee 09:01:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:01:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:01:49 OK: 211 MiB in 51 packages 09:01:50 Removing intermediate container 37cb2d9fbcee 09:01:50 ---> d1992bbd4f61 09:01:50 Step 9/13 : WORKDIR /device-onvif-camera 09:01:50 ---> Running in b12bca4d5822 09:01:50 Removing intermediate container b12bca4d5822 09:01:50 ---> b6f58045a070 09:01:50 Step 10/13 : COPY go.mod vendor* ./ 09:01:50 ---> 3fef914c75fb 09:01:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:01:50 ---> Running in f9234ba2d71c 09:01:50 Still waiting to schedule task 09:01:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:02:08 Removing intermediate container f9234ba2d71c 09:02:08 ---> 5335259c9382 09:02:08 Step 12/13 : COPY . . 09:02:08 ---> b696346ff6b7 09:02:08 Step 13/13 : RUN ${MAKE} 09:02:08 ---> Running in 298b3f5f0dbb 09:02:08 noop 09:02:08 Removing intermediate container 298b3f5f0dbb 09:02:08 ---> e7531f09286e 09:02:08 Successfully built e7531f09286e 09:02:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:08 + docker inspect -f . ci-base-image-x86_64 09:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:08 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:02:08 $ 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 09:02:09 $ docker top 5e2304237ec0147f9fcaae9dc322eb7bf9e08718c1848db0438110135027e276 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:09 + go version 09:02:09 go version go1.18.3 linux/amd64 [Pipeline] } 09:02:09 $ docker stop --time=1 5e2304237ec0147f9fcaae9dc322eb7bf9e08718c1848db0438110135027e276 09:02:10 $ docker rm -f 5e2304237ec0147f9fcaae9dc322eb7bf9e08718c1848db0438110135027e276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:11 + docker inspect -f . ci-base-image-x86_64 09:02:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:11 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:02:11 $ 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 09:02:11 $ docker top f736ef66526720091c88d96614246291c322696907064e48b2c2a7a66956db04 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:12 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 09:02:12 + make test 09:02:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:02:12 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:02:24 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:02:25 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 09:02:25 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:02:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.446s coverage: 86.5% of statements 09:02:35 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." 09:02:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:02:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:02:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:02:37 ./bin/test-attribution-txt.sh [Pipeline] echo 09:02:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:02:37 $ docker stop --time=1 f736ef66526720091c88d96614246291c322696907064e48b2c2a7a66956db04 09:02:39 $ docker rm -f f736ef66526720091c88d96614246291c322696907064e48b2c2a7a66956db04 [Pipeline] // withDockerContainer [Pipeline] sh 09:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:02:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:02:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:02:40 + ls -al . 09:02:40 total 236 09:02:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 09:02 . 09:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:01 .. 09:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 09:02 .git 09:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:01 .github 09:02:40 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 09:01 .gitignore 09:02:40 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 09:01 .golangci.yml 09:02:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 09:01 .semver 09:02:40 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 09:01 Attribution.txt 09:02:40 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 09:01 CHANGELOG.md 09:02:40 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 09:01 Dockerfile 09:02:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 09:01 GOVERNANCE.md 09:02:40 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 09:01 Jenkinsfile 09:02:40 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 09:01 LICENSE 09:02:40 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 09:01 Makefile 09:02:40 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 09:01 OWNERS.md 09:02:40 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 09:01 README.md 09:02:40 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 09:01 VERSION 09:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 09:01 bin 09:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:01 cmd 09:02:40 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 09:02 coverage.out 09:02:40 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 09:01 doc 09:02:40 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 09:01 go.mod 09:02:40 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 09:01 go.sum 09:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:01 internal 09:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:01 snap 09:02:40 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:40 + 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=f5732e31f5803dbff04c89d6285bbaabf5e55c73 --label arch=amd64 --label version=2.3.0-dev.23 . 09:02:40 Sending build context to Docker daemon 20.8MB 09:02:40 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 09:02:40 Step 2/26 : FROM ${BASE} AS builder 09:02:40 ---> e7531f09286e 09:02:40 Step 3/26 : ARG MAKE="make build" 09:02:41 ---> Running in 36c8282269f0 09:02:41 Removing intermediate container 36c8282269f0 09:02:41 ---> ca67d568c007 09:02:41 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:02:41 ---> Running in 89b23db41d14 09:02:41 Removing intermediate container 89b23db41d14 09:02:41 ---> dc4e247df586 09:02:41 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:02:41 ---> Running in a2807a4c59a8 09:02:41 Removing intermediate container a2807a4c59a8 09:02:41 ---> d383d6716a6e 09:02:41 Step 6/26 : LABEL Name=edgex-device-onvif-camera 09:02:41 ---> Running in e2f47d42f211 09:02:41 Removing intermediate container e2f47d42f211 09:02:41 ---> 92bb71294bff 09:02:41 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:02:41 ---> Running in 635b7bef66a2 09:02:42 Removing intermediate container 635b7bef66a2 09:02:42 ---> a7b556056002 09:02:42 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:02:42 ---> Running in b8d64e0a4f96 09:02:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:02:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:02:43 OK: 211 MiB in 51 packages 09:02:44 Removing intermediate container b8d64e0a4f96 09:02:44 ---> d712efdc0443 09:02:44 Step 9/26 : WORKDIR /device-onvif-camera 09:02:44 ---> Running in fd99a001212f 09:02:44 Removing intermediate container fd99a001212f 09:02:44 ---> 4ff7f2817b75 09:02:44 Step 10/26 : COPY go.mod vendor* ./ 09:02:44 ---> 86fad9180c81 09:02:44 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:02:44 ---> Running in 1fe9eab09b12 09:02:45 Removing intermediate container 1fe9eab09b12 09:02:45 ---> 1105d2c84956 09:02:45 Step 12/26 : COPY . . 09:02:45 ---> f8a7c888eebb 09:02:45 Step 13/26 : RUN ${MAKE} 09:02:45 ---> Running in e1cc0a0b378c 09:02:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 09:03:07 Removing intermediate container e1cc0a0b378c 09:03:07 ---> 6c6b43f98dda 09:03:07 Step 14/26 : FROM alpine:3.16 09:03:07 3.16: Pulling from library/alpine 09:03:07 213ec9aee27d: Pulling fs layer 09:03:07 213ec9aee27d: Verifying Checksum 09:03:07 213ec9aee27d: Download complete 09:03:07 213ec9aee27d: Pull complete 09:03:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:03:07 Status: Downloaded newer image for alpine:3.16 09:03:07 ---> 9c6f07244728 09:03:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:03:07 ---> Running in 9e997d44f19d 09:03:07 Removing intermediate container 9e997d44f19d 09:03:07 ---> d30722c786b7 09:03:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:03:07 ---> Running in c4f5141a24fd 09:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:03:08 (1/6) Installing dumb-init (1.2.5-r1) 09:03:08 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:03:08 (3/6) Installing libsodium (1.0.18-r0) 09:03:08 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:03:08 (5/6) Installing libzmq (4.3.4-r0) 09:03:08 (6/6) Installing zeromq (4.3.4-r0) 09:03:08 Executing busybox-1.35.0-r17.trigger 09:03:08 OK: 8 MiB in 20 packages 09:03:08 Removing intermediate container c4f5141a24fd 09:03:08 ---> 3589136f06be 09:03:08 Step 17/26 : WORKDIR / 09:03:08 ---> Running in 7230f4ce8ef9 09:03:08 Removing intermediate container 7230f4ce8ef9 09:03:08 ---> 54f4daaaaa7f 09:03:08 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 09:03:09 ---> 832c058c4230 09:03:09 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 09:03:09 ---> f62c5b8082af 09:03:09 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:03:09 ---> 10770f06d778 09:03:09 Step 21/26 : EXPOSE 59984 09:03:09 ---> Running in 2fb598100b5c 09:03:09 Removing intermediate container 2fb598100b5c 09:03:09 ---> 9eb228fca0f4 09:03:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 09:03:09 ---> Running in 870f17835a25 09:03:09 Removing intermediate container 870f17835a25 09:03:09 ---> 688f57658c69 09:03:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:03:09 ---> Running in 42a8e0dcf4c6 09:03:09 Removing intermediate container 42a8e0dcf4c6 09:03:09 ---> cc5bfcc10ae4 09:03:09 Step 24/26 : LABEL arch=amd64 09:03:09 ---> Running in ef14f7845d56 09:03:09 Removing intermediate container ef14f7845d56 09:03:09 ---> 651a295e7462 09:03:09 Step 25/26 : LABEL git_sha=f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:03:09 ---> Running in 299844e515b6 09:03:10 Removing intermediate container 299844e515b6 09:03:10 ---> ffd2876e98bb 09:03:10 Step 26/26 : LABEL version=2.3.0-dev.23 09:03:10 ---> Running in 9bfe4ab4c064 09:03:10 Removing intermediate container 9bfe4ab4c064 09:03:10 ---> 134a4a633071 09:03:10 [Warning] One or more build-args [ARCH] were not consumed 09:03:10 Successfully built 134a4a633071 09:03:10 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 09:03:10 provisioning config files... 09:03:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6376906785940615207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:10 ---> docker-login.sh 09:03:10 nexus3.edgexfoundry.org:10001 09:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:10 Configure a credential helper to remove this warning. See 09:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:10 09:03:10 Login Succeeded 09:03:10 nexus3.edgexfoundry.org:10002 09:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:10 Configure a credential helper to remove this warning. See 09:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:10 09:03:10 Login Succeeded 09:03:10 nexus3.edgexfoundry.org:10003 09:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:10 Configure a credential helper to remove this warning. See 09:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:10 09:03:10 Login Succeeded 09:03:10 nexus3.edgexfoundry.org:10004 09:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:10 Configure a credential helper to remove this warning. See 09:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:10 09:03:10 Login Succeeded 09:03:10 docker.io 09:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:11 Configure a credential helper to remove this warning. See 09:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:11 09:03:11 Login Succeeded 09:03:11 ---> docker-login.sh ends [Pipeline] } 09:03:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:03:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:11 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 09:03:11 f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:03:11 latest 09:03:11 2.3.0-dev.23 09:03:11 f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:03:11 main 09:03:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:03:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:03:12 a91243bb8a60: Preparing 09:03:12 1205a5a99fb0: Preparing 09:03:12 e15b0b7d0123: Preparing 09:03:12 13a11aeb5cb3: Preparing 09:03:12 994393dc58e7: Preparing 09:03:12 994393dc58e7: Layer already exists 09:03:12 1205a5a99fb0: Pushed 09:03:12 a91243bb8a60: Pushed 09:03:12 13a11aeb5cb3: Pushed 09:03:14 e15b0b7d0123: Pushed 09:03:15 f5732e31f5803dbff04c89d6285bbaabf5e55c73: digest: sha256:3e7e068fd73c53f8caaf25eb46b6d820961e08389d9acbb173e7009a1b91a8f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:15 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 09:03:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:03:15 a91243bb8a60: Preparing 09:03:15 1205a5a99fb0: Preparing 09:03:15 e15b0b7d0123: Preparing 09:03:15 13a11aeb5cb3: Preparing 09:03:15 994393dc58e7: Preparing 09:03:15 994393dc58e7: Layer already exists 09:03:15 e15b0b7d0123: Layer already exists 09:03:15 13a11aeb5cb3: Layer already exists 09:03:15 a91243bb8a60: Layer already exists 09:03:15 1205a5a99fb0: Layer already exists 09:03:15 latest: digest: sha256:3e7e068fd73c53f8caaf25eb46b6d820961e08389d9acbb173e7009a1b91a8f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.23 09:03:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:03:16 a91243bb8a60: Preparing 09:03:16 1205a5a99fb0: Preparing 09:03:16 e15b0b7d0123: Preparing 09:03:16 13a11aeb5cb3: Preparing 09:03:16 994393dc58e7: Preparing 09:03:16 a91243bb8a60: Layer already exists 09:03:16 994393dc58e7: Layer already exists 09:03:16 1205a5a99fb0: Layer already exists 09:03:16 13a11aeb5cb3: Layer already exists 09:03:16 e15b0b7d0123: Layer already exists 09:03:16 2.3.0-dev.23: digest: sha256:3e7e068fd73c53f8caaf25eb46b6d820961e08389d9acbb173e7009a1b91a8f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:16 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:03:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:03:17 a91243bb8a60: Preparing 09:03:17 1205a5a99fb0: Preparing 09:03:17 e15b0b7d0123: Preparing 09:03:17 13a11aeb5cb3: Preparing 09:03:17 994393dc58e7: Preparing 09:03:17 a91243bb8a60: Layer already exists 09:03:17 e15b0b7d0123: Layer already exists 09:03:17 13a11aeb5cb3: Layer already exists 09:03:17 1205a5a99fb0: Layer already exists 09:03:17 994393dc58e7: Layer already exists 09:03:17 f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23: digest: sha256:3e7e068fd73c53f8caaf25eb46b6d820961e08389d9acbb173e7009a1b91a8f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:17 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 09:03:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 09:03:17 a91243bb8a60: Preparing 09:03:17 1205a5a99fb0: Preparing 09:03:17 e15b0b7d0123: Preparing 09:03:17 13a11aeb5cb3: Preparing 09:03:17 994393dc58e7: Preparing 09:03:17 e15b0b7d0123: Layer already exists 09:03:17 1205a5a99fb0: Layer already exists 09:03:17 13a11aeb5cb3: Layer already exists 09:03:17 a91243bb8a60: Layer already exists 09:03:17 994393dc58e7: Layer already exists 09:03:17 main: digest: sha256:3e7e068fd73c53f8caaf25eb46b6d820961e08389d9acbb173e7009a1b91a8f2 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:03:17 ===================================================== [Pipeline] echo 09:03:17 taggedImages: 09:03:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:03:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 09:03:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.23 09:03:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:03:17 - 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 09:03:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:03:17 09:03:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:03:18 latest: Pulling from edgex-lftools-log-publisher 09:03:18 5eb5b503b376: Pulling fs layer 09:03:18 5c69ac0246d0: Pulling fs layer 09:03:18 ec43610c2a17: Pulling fs layer 09:03:18 3a2ae6a8a46f: Pulling fs layer 09:03:18 33b1e0a273af: Pulling fs layer 09:03:18 5d3b04190fa2: Pulling fs layer 09:03:18 2f39f015ded8: Pulling fs layer 09:03:18 3a2ae6a8a46f: Waiting 09:03:18 33b1e0a273af: Waiting 09:03:18 5d3b04190fa2: Waiting 09:03:18 2f39f015ded8: Waiting 09:03:18 5c69ac0246d0: Verifying Checksum 09:03:18 5c69ac0246d0: Download complete 09:03:18 3a2ae6a8a46f: Verifying Checksum 09:03:18 3a2ae6a8a46f: Download complete 09:03:18 33b1e0a273af: Verifying Checksum 09:03:18 33b1e0a273af: Download complete 09:03:18 ec43610c2a17: Verifying Checksum 09:03:18 ec43610c2a17: Download complete 09:03:18 5d3b04190fa2: Verifying Checksum 09:03:18 5d3b04190fa2: Download complete 09:03:18 5eb5b503b376: Verifying Checksum 09:03:18 5eb5b503b376: Download complete 09:03:19 2f39f015ded8: Download complete 09:03:19 5eb5b503b376: Pull complete 09:03:19 5c69ac0246d0: Pull complete 09:03:20 ec43610c2a17: Pull complete 09:03:20 3a2ae6a8a46f: Pull complete 09:03:20 33b1e0a273af: Pull complete 09:03:20 5d3b04190fa2: Pull complete 09:03:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1811 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { 09:03:24 2f39f015ded8: Pull complete 09:03:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:03:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] ws 09:03:24 Running in /w/workspace/device-onvif-camera/62 [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] checkout [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:24 The recommended git tool is: git 09:03:24 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:03:24 $ 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 09:03:26 $ docker top 03e0f50a319fc47f0d45aa1366a1064273bbb7446e04e00709d20a8ea1f70915 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:27 ---> job-cost.sh 09:03:27 lf-activate-venv: SKIPPING 09:03:27 INFO: No Stack... 09:03:27 INFO: Retrieving Pricing Info for: v3-standard-8 09:03:27 INFO: Archiving Costs [Pipeline] sh 09:03:28 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 09:03:28 + cut -d, -f6 [Pipeline] lock 09:03:28 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] 09:03:28 Resource [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] did not exist. Created. 09:03:28 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:03:28 + echo total: 0.2199999988079071 [Pipeline] stash 09:03:28 Stashed 1 file(s) [Pipeline] } 09:03:28 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 09:03:28 $ docker stop --time=1 03e0f50a319fc47f0d45aa1366a1064273bbb7446e04e00709d20a8ea1f70915 09:03:29 using credential edgex-jenkins-ssh 09:03:29 Cloning the remote Git repository 09:03:29 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 09:03:29 > git init /w/workspace/device-onvif-camera/62 # timeout=10 09:03:29 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 09:03:29 > git --version # timeout=10 09:03:29 > git --version # 'git version 2.25.1' 09:03:29 using GIT_SSH to set credentials SSH Credentials for GitHub 09:03:29 $ docker rm -f 03e0f50a319fc47f0d45aa1366a1064273bbb7446e04e00709d20a8ea1f70915 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:03:29 Verifying host key using known hosts file 09:03:29 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:03:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:03:31 Avoid second fetch 09:03:31 Checking out Revision f5732e31f5803dbff04c89d6285bbaabf5e55c73 (main) 09:03:31 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 09:03:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:03:31 > git config core.sparsecheckout # timeout=10 09:03:31 > git checkout -f f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 09:03:32 Commit message: "Merge pull request #165 from hahattan/internal" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:03:33 % Total % Received % Xferd Average Speed Time Time Time Current 09:03:33 Dload Upload Total Spent Left Speed 09:03:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 09:03:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:03:34 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 09:03:34 /etc/docker/daemon.json 09:03:34 { 09:03:34 "registry-mirrors": [ 09:03:34 "https://nexus3.edgexfoundry.org:10001" 09:03:34 ], 09:03:34 "bip": "10.250.0.254/24", 09:03:34 "hosts": [ 09:03:34 "tcp://0.0.0.0:5555", 09:03:34 "unix:///var/run/docker.sock" 09:03:34 ], 09:03:34 "mtu": 1458, 09:03:34 "selinux-enabled": true, 09:03:34 "seccomp-profile": "/etc/docker/seccomp.json" 09:03:34 } [Pipeline] sh 09:03:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:03:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:53 provisioning config files... 09:03:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/62@tmp/config10148223612157294611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:53 ---> docker-login.sh 09:03:53 nexus3.edgexfoundry.org:10001 09:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:53 Configure a credential helper to remove this warning. See 09:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:53 09:03:53 Login Succeeded 09:03:53 nexus3.edgexfoundry.org:10002 09:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:54 Configure a credential helper to remove this warning. See 09:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:54 09:03:54 Login Succeeded 09:03:54 nexus3.edgexfoundry.org:10003 09:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:54 Configure a credential helper to remove this warning. See 09:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:54 09:03:54 Login Succeeded 09:03:54 nexus3.edgexfoundry.org:10004 09:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:55 Configure a credential helper to remove this warning. See 09:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:55 09:03:55 Login Succeeded 09:03:55 docker.io 09:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:55 Configure a credential helper to remove this warning. See 09:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:55 09:03:55 Login Succeeded 09:03:55 ---> docker-login.sh ends [Pipeline] } 09:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:55 ========================================================= 09:03:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:03:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:56 + 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 . 09:03:56 Sending build context to Docker daemon 14.16MB 09:03:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:03:56 Step 2/13 : FROM ${BASE} AS builder 09:03:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:03:56 b3c136eddcbf: Pulling fs layer 09:03:56 c0a3192eca97: Pulling fs layer 09:03:56 a050256f5b6f: Pulling fs layer 09:03:56 656be50a0ddc: Pulling fs layer 09:03:56 2bbca73fdf42: Pulling fs layer 09:03:56 46d945488cbd: Pulling fs layer 09:03:56 8a5474983e97: Pulling fs layer 09:03:56 329c88fbcd65: Pulling fs layer 09:03:56 656be50a0ddc: Waiting 09:03:56 2bbca73fdf42: Waiting 09:03:56 46d945488cbd: Waiting 09:03:56 8a5474983e97: Waiting 09:03:56 329c88fbcd65: Waiting 09:03:56 a050256f5b6f: Download complete 09:03:56 c0a3192eca97: Verifying Checksum 09:03:56 c0a3192eca97: Download complete 09:03:56 2bbca73fdf42: Verifying Checksum 09:03:56 2bbca73fdf42: Download complete 09:03:56 46d945488cbd: Verifying Checksum 09:03:56 46d945488cbd: Download complete 09:03:56 b3c136eddcbf: Verifying Checksum 09:03:57 b3c136eddcbf: Pull complete 09:03:57 329c88fbcd65: Verifying Checksum 09:03:57 329c88fbcd65: Download complete 09:03:58 c0a3192eca97: Pull complete 09:03:58 a050256f5b6f: Pull complete 09:03:59 8a5474983e97: Verifying Checksum 09:03:59 8a5474983e97: Download complete 09:03:59 656be50a0ddc: Verifying Checksum 09:03:59 656be50a0ddc: Download complete 09:04:11 656be50a0ddc: Pull complete 09:04:11 2bbca73fdf42: Pull complete 09:04:11 46d945488cbd: Pull complete 09:04:18 8a5474983e97: Pull complete 09:04:19 329c88fbcd65: Pull complete 09:04:19 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 09:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:04:19 ---> ff4287adb874 09:04:19 Step 3/13 : ARG MAKE="make build" 09:04:21 ---> Running in d64657adbe7c 09:04:21 Removing intermediate container d64657adbe7c 09:04:21 ---> f9205df1478f 09:04:21 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:04:21 ---> Running in 0dba970aa9e5 09:04:22 Removing intermediate container 0dba970aa9e5 09:04:22 ---> 4983e07590ab 09:04:22 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 09:04:22 ---> Running in c1c7cbf73f7b 09:04:22 Removing intermediate container c1c7cbf73f7b 09:04:22 ---> e023fa0d64ac 09:04:22 Step 6/13 : LABEL Name=edgex-device-onvif-camera 09:04:22 ---> Running in cceaa44e2ce0 09:04:22 Removing intermediate container cceaa44e2ce0 09:04:22 ---> 300c337af15a 09:04:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:22 ---> Running in 9d930775298b 09:04:24 Removing intermediate container 9d930775298b 09:04:24 ---> 872d6efeb0ad 09:04:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:04:24 ---> Running in a8faa34b5f80 09:04:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:04:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:04:27 OK: 221 MiB in 51 packages 09:04:28 Removing intermediate container a8faa34b5f80 09:04:28 ---> cf73ed48a4bb 09:04:28 Step 9/13 : WORKDIR /device-onvif-camera 09:04:28 ---> Running in c897263717ee 09:04:28 Removing intermediate container c897263717ee 09:04:28 ---> 0099e408d47f 09:04:28 Step 10/13 : COPY go.mod vendor* ./ 09:04:29 ---> 094fe3c969d3 09:04:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:29 ---> Running in 299c99063d7b 09:05:16 Removing intermediate container 299c99063d7b 09:05:16 ---> bad3de9a5ea2 09:05:16 Step 12/13 : COPY . . 09:05:16 ---> 482562724e2d 09:05:16 Step 13/13 : RUN ${MAKE} 09:05:16 ---> Running in e120b15513c5 09:05:17 noop 09:05:18 Removing intermediate container e120b15513c5 09:05:18 ---> cb932bfcc848 09:05:18 Successfully built cb932bfcc848 09:05:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:18 + docker inspect -f . ci-base-image-arm64 09:05:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:19 prd-ubuntu20.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container 09:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/62 -v /w/workspace/device-onvif-camera/62:/w/workspace/device-onvif-camera/62:rw,z -v /w/workspace/device-onvif-camera/62@tmp:/w/workspace/device-onvif-camera/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:20 $ docker top c5e70bd7b255ffcf5fa27721bafcc8213a62689d083bf0999759574ffba2f6e3 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:21 + go version 09:05:21 go version go1.18.3 linux/arm64 [Pipeline] } 09:05:21 $ docker stop --time=1 c5e70bd7b255ffcf5fa27721bafcc8213a62689d083bf0999759574ffba2f6e3 09:05:22 $ docker rm -f c5e70bd7b255ffcf5fa27721bafcc8213a62689d083bf0999759574ffba2f6e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:23 + docker inspect -f . ci-base-image-arm64 09:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:23 prd-ubuntu20.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container 09:05:23 $ 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/62 -v /w/workspace/device-onvif-camera/62:/w/workspace/device-onvif-camera/62:rw,z -v /w/workspace/device-onvif-camera/62@tmp:/w/workspace/device-onvif-camera/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:05:24 $ docker top d7a8201cb506268f168e5e873517e8c9e956239a42e80e8d4f5b302010259373 -eo pid,comm [Pipeline] { [Pipeline] sh 09:05:25 + git config --global --add safe.directory /w/workspace/device-onvif-camera/62 [Pipeline] fileExists [Pipeline] sh 09:05:25 + make test 09:05:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:05:27 ? github.com/edgexfoundry/device-onvif-camera [no test files] 09:07:03 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 09:07:07 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.214s coverage: 28.2% of statements 09:07:07 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 09:07:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.345s coverage: 86.5% of statements 09:07:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:07:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:07:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:07:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:07:56 ./bin/test-attribution-txt.sh [Pipeline] echo 09:07:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:07:56 $ docker stop --time=1 d7a8201cb506268f168e5e873517e8c9e956239a42e80e8d4f5b302010259373 09:07:58 $ docker rm -f d7a8201cb506268f168e5e873517e8c9e956239a42e80e8d4f5b302010259373 [Pipeline] // withDockerContainer [Pipeline] sh 09:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:07:59 Warning: overwriting stash ‘coverage-report’ 09:07:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:00 + ls -al . 09:08:00 total 232 09:08:00 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 09:05 . 09:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:03 .. 09:08:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 09:03 .git 09:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:03 .github 09:08:00 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 09:03 .gitignore 09:08:00 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 09:03 .golangci.yml 09:08:00 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 09:03 Attribution.txt 09:08:00 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 09:03 CHANGELOG.md 09:08:00 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 09:03 Dockerfile 09:08:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 09:03 GOVERNANCE.md 09:08:00 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 09:03 Jenkinsfile 09:08:00 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 09:03 LICENSE 09:08:00 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 09:03 Makefile 09:08:00 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 09:03 OWNERS.md 09:08:00 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 09:03 README.md 09:08:00 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 09:01 VERSION 09:08:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 09:03 bin 09:08:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 09:03 cmd 09:08:00 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 09:07 coverage.out 09:08:00 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 09:03 doc 09:08:00 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 09:03 go.mod 09:08:00 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 09:03 go.sum 09:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:03 internal 09:08:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 09:03 snap 09:08:00 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 09:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:00 + 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=f5732e31f5803dbff04c89d6285bbaabf5e55c73 --label arch=arm64 --label version=2.3.0-dev.23 . 09:08:01 Sending build context to Docker daemon 14.24MB 09:08:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 09:08:01 Step 2/26 : FROM ${BASE} AS builder 09:08:01 ---> cb932bfcc848 09:08:01 Step 3/26 : ARG MAKE="make build" 09:08:01 ---> Running in 64f8b0927b8f 09:08:02 Removing intermediate container 64f8b0927b8f 09:08:02 ---> 97d4711deac9 09:08:02 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 09:08:02 ---> Running in 4521bb06a10f 09:08:03 Removing intermediate container 4521bb06a10f 09:08:03 ---> 2f6fe0f3d28a 09:08:03 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:08:03 ---> Running in 6d5eef77058f 09:08:04 Removing intermediate container 6d5eef77058f 09:08:04 ---> 248c894cee01 09:08:04 Step 6/26 : LABEL Name=edgex-device-onvif-camera 09:08:04 ---> Running in 7c218d80bb87 09:08:04 Removing intermediate container 7c218d80bb87 09:08:04 ---> 378e9a5b0a70 09:08:04 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:08:04 ---> Running in 9ac34e82aab5 09:08:06 Removing intermediate container 9ac34e82aab5 09:08:06 ---> ce4543dfa0c5 09:08:06 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:08:06 ---> Running in 07378df9bea6 09:08:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:08:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:08:09 OK: 221 MiB in 51 packages 09:08:10 Removing intermediate container 07378df9bea6 09:08:10 ---> b29762268947 09:08:10 Step 9/26 : WORKDIR /device-onvif-camera 09:08:11 ---> Running in 053b0f0cbecd 09:08:11 Removing intermediate container 053b0f0cbecd 09:08:11 ---> d859a39ce5a8 09:08:11 Step 10/26 : COPY go.mod vendor* ./ 09:08:12 ---> 5a2dafa80f9d 09:08:12 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:12 ---> Running in 36d9af529f2c 09:08:14 Removing intermediate container 36d9af529f2c 09:08:14 ---> c93570b882fc 09:08:14 Step 12/26 : COPY . . 09:08:15 ---> 793855a9dd99 09:08:15 Step 13/26 : RUN ${MAKE} 09:08:16 ---> Running in b6fb65877e4e 09:08:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 09:11:08 Removing intermediate container b6fb65877e4e 09:11:08 ---> 80b5377455e0 09:11:08 Step 14/26 : FROM alpine:3.16 09:11:08 3.16: Pulling from library/alpine 09:11:08 9b18e9b68314: Pulling fs layer 09:11:08 9b18e9b68314: Verifying Checksum 09:11:08 9b18e9b68314: Download complete 09:11:08 9b18e9b68314: Pull complete 09:11:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:11:08 Status: Downloaded newer image for alpine:3.16 09:11:08 ---> a6215f271958 09:11:08 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 09:11:08 ---> Running in fda8adc16490 09:11:08 Removing intermediate container fda8adc16490 09:11:08 ---> 9701d8f089c5 09:11:08 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:11:08 ---> Running in 3a686b50f826 09:11:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:11:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:11:11 (1/6) Installing dumb-init (1.2.5-r1) 09:11:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:11:11 (3/6) Installing libsodium (1.0.18-r0) 09:11:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:11:11 (5/6) Installing libzmq (4.3.4-r0) 09:11:11 (6/6) Installing zeromq (4.3.4-r0) 09:11:11 Executing busybox-1.35.0-r17.trigger 09:11:11 OK: 8 MiB in 20 packages 09:11:12 Removing intermediate container 3a686b50f826 09:11:12 ---> bf6dd3616f07 09:11:12 Step 17/26 : WORKDIR / 09:11:12 ---> Running in 090da18a5426 09:11:12 Removing intermediate container 090da18a5426 09:11:12 ---> 89fafa96b5c2 09:11:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 09:11:14 ---> 08a2b118b17b 09:11:14 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 09:11:15 ---> d298cb618181 09:11:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 09:11:15 ---> d6b2c8a7bc32 09:11:15 Step 21/26 : EXPOSE 59984 09:11:15 ---> Running in c34e2856852f 09:11:15 Removing intermediate container c34e2856852f 09:11:15 ---> 0ff6e018ba40 09:11:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 09:11:15 ---> Running in a5d047259b3f 09:11:16 Removing intermediate container a5d047259b3f 09:11:16 ---> 8263607294eb 09:11:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:11:16 ---> Running in 653ccbf4f3f0 09:11:16 Removing intermediate container 653ccbf4f3f0 09:11:16 ---> 04e49fde92b1 09:11:16 Step 24/26 : LABEL arch=arm64 09:11:16 ---> Running in 7ce46b58371f 09:11:17 Removing intermediate container 7ce46b58371f 09:11:17 ---> 838812243fb1 09:11:17 Step 25/26 : LABEL git_sha=f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:11:17 ---> Running in 56bbe8a4ae93 09:11:17 Removing intermediate container 56bbe8a4ae93 09:11:17 ---> 19a66916b127 09:11:17 Step 26/26 : LABEL version=2.3.0-dev.23 09:11:17 ---> Running in 9fa7703e08e3 09:11:17 Removing intermediate container 9fa7703e08e3 09:11:17 ---> af113b86a11f 09:11:17 [Warning] One or more build-args [ARCH] were not consumed 09:11:17 Successfully built af113b86a11f 09:11:17 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 09:11:17 provisioning config files... 09:11:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/62@tmp/config16430375787993972033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:18 ---> docker-login.sh 09:11:18 nexus3.edgexfoundry.org:10001 09:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:18 Configure a credential helper to remove this warning. See 09:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:18 09:11:18 Login Succeeded 09:11:18 nexus3.edgexfoundry.org:10002 09:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:18 Configure a credential helper to remove this warning. See 09:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:18 09:11:18 Login Succeeded 09:11:18 nexus3.edgexfoundry.org:10003 09:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:19 Configure a credential helper to remove this warning. See 09:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:19 09:11:19 Login Succeeded 09:11:19 nexus3.edgexfoundry.org:10004 09:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:19 Configure a credential helper to remove this warning. See 09:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:19 09:11:19 Login Succeeded 09:11:19 docker.io 09:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:11:20 Configure a credential helper to remove this warning. See 09:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:11:20 09:11:20 Login Succeeded 09:11:20 ---> docker-login.sh ends [Pipeline] } 09:11:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:11:20 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 09:11:20 f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:11:20 latest 09:11:20 2.3.0-dev.23 09:11:20 f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:11:20 main 09:11:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:20 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:21 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:11:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:11:21 fa581beabc5d: Preparing 09:11:21 739284ea0989: Preparing 09:11:21 bced55555ed4: Preparing 09:11:21 2d8711920760: Preparing 09:11:21 5d3e392a13a0: Preparing 09:11:21 5d3e392a13a0: Layer already exists 09:11:21 739284ea0989: Pushed 09:11:21 fa581beabc5d: Pushed 09:11:22 2d8711920760: Pushed 09:11:28 bced55555ed4: Pushed 09:11:28 f5732e31f5803dbff04c89d6285bbaabf5e55c73: digest: sha256:b8ab2fe774aae436301893704d4f2d8d681b8e22076a11db0f71f056f30f0f78 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:29 + 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 09:11:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 09:11:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:11:29 fa581beabc5d: Preparing 09:11:29 739284ea0989: Preparing 09:11:29 bced55555ed4: Preparing 09:11:29 2d8711920760: Preparing 09:11:29 5d3e392a13a0: Preparing 09:11:29 5d3e392a13a0: Layer already exists 09:11:29 739284ea0989: Layer already exists 09:11:29 fa581beabc5d: Layer already exists 09:11:29 bced55555ed4: Layer already exists 09:11:29 2d8711920760: Layer already exists 09:11:29 latest: digest: sha256:b8ab2fe774aae436301893704d4f2d8d681b8e22076a11db0f71f056f30f0f78 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:29 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.23 09:11:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:11:30 fa581beabc5d: Preparing 09:11:30 739284ea0989: Preparing 09:11:30 bced55555ed4: Preparing 09:11:30 2d8711920760: Preparing 09:11:30 5d3e392a13a0: Preparing 09:11:30 2d8711920760: Layer already exists 09:11:30 5d3e392a13a0: Layer already exists 09:11:30 739284ea0989: Layer already exists 09:11:30 bced55555ed4: Layer already exists 09:11:30 fa581beabc5d: Layer already exists 09:11:30 2.3.0-dev.23: digest: sha256:b8ab2fe774aae436301893704d4f2d8d681b8e22076a11db0f71f056f30f0f78 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:30 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:30 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:11:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:11:30 fa581beabc5d: Preparing 09:11:30 739284ea0989: Preparing 09:11:30 bced55555ed4: Preparing 09:11:30 2d8711920760: Preparing 09:11:30 5d3e392a13a0: Preparing 09:11:30 2d8711920760: Layer already exists 09:11:30 fa581beabc5d: Layer already exists 09:11:30 bced55555ed4: Layer already exists 09:11:30 5d3e392a13a0: Layer already exists 09:11:30 739284ea0989: Layer already exists 09:11:30 f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23: digest: sha256:b8ab2fe774aae436301893704d4f2d8d681b8e22076a11db0f71f056f30f0f78 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:31 + 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 09:11:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 09:11:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 09:11:31 fa581beabc5d: Preparing 09:11:31 739284ea0989: Preparing 09:11:31 bced55555ed4: Preparing 09:11:31 2d8711920760: Preparing 09:11:31 5d3e392a13a0: Preparing 09:11:31 5d3e392a13a0: Layer already exists 09:11:31 bced55555ed4: Layer already exists 09:11:31 2d8711920760: Layer already exists 09:11:31 739284ea0989: Layer already exists 09:11:31 fa581beabc5d: Layer already exists 09:11:31 main: digest: sha256:b8ab2fe774aae436301893704d4f2d8d681b8e22076a11db0f71f056f30f0f78 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:11:31 ===================================================== [Pipeline] echo 09:11:31 taggedImages: 09:11:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73 09:11:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 09:11:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.23 09:11:31 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:f5732e31f5803dbff04c89d6285bbaabf5e55c73-2.3.0-dev.23 09:11:31 - 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 09:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:11:32 09:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:11:32 arm64: Pulling from edgex-lftools-log-publisher 09:11:32 8998bd30e6a1: Pulling fs layer 09:11:32 04944245beec: Pulling fs layer 09:11:32 699f458cf7ca: Pulling fs layer 09:11:32 765212b225bb: Pulling fs layer 09:11:32 f23df028b6ca: Pulling fs layer 09:11:32 d65c8cfc05b1: Pulling fs layer 09:11:32 2437ff75d9bd: Pulling fs layer 09:11:32 765212b225bb: Waiting 09:11:32 f23df028b6ca: Waiting 09:11:32 d65c8cfc05b1: Waiting 09:11:32 04944245beec: Verifying Checksum 09:11:32 04944245beec: Download complete 09:11:32 765212b225bb: Verifying Checksum 09:11:32 765212b225bb: Download complete 09:11:32 f23df028b6ca: Verifying Checksum 09:11:32 f23df028b6ca: Download complete 09:11:32 d65c8cfc05b1: Verifying Checksum 09:11:32 d65c8cfc05b1: Download complete 09:11:33 699f458cf7ca: Verifying Checksum 09:11:33 699f458cf7ca: Download complete 09:11:33 8998bd30e6a1: Verifying Checksum 09:11:33 8998bd30e6a1: Download complete 09:11:35 2437ff75d9bd: Verifying Checksum 09:11:35 2437ff75d9bd: Download complete 09:11:37 8998bd30e6a1: Pull complete 09:11:37 04944245beec: Pull complete 09:11:39 699f458cf7ca: Pull complete 09:11:39 765212b225bb: Pull complete 09:11:40 f23df028b6ca: Pull complete 09:11:40 d65c8cfc05b1: Pull complete 09:11:55 2437ff75d9bd: Pull complete 09:11:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:11:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:55 prd-ubuntu20.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container 09:11:55 $ 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/62 -v /w/workspace/device-onvif-camera/62:/w/workspace/device-onvif-camera/62:rw,z -v /w/workspace/device-onvif-camera/62@tmp:/w/workspace/device-onvif-camera/62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:11:58 $ docker top 584262fa5b4df8f8520eb305ab27dfae03172a257b6a73e8c3ce0ef15f87e59e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:59 ---> job-cost.sh 09:11:59 lf-activate-venv: SKIPPING 09:11:59 INFO: No Stack... 09:11:59 INFO: Retrieving Pricing Info for: v3-standard-4 09:12:00 INFO: Archiving Costs [Pipeline] sh 09:12:01 + + cat /w/workspace/device-onvif-camera/62/archives/cost.csv 09:12:01 cut -d, -f6 [Pipeline] lock 09:12:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] 09:12:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] did not exist. Created. 09:12:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:12:01 /w/workspace/device-onvif-camera/62@tmp/durable-3b6f4d01/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:12:02 + echo total: 0.10999999940395355 [Pipeline] stash 09:12:02 Warning: overwriting stash ‘stack-cost’ 09:12:02 Stashed 1 file(s) [Pipeline] } 09:12:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-62-stack-cost] [Pipeline] // lock [Pipeline] } 09:12:02 $ docker stop --time=1 584262fa5b4df8f8520eb305ab27dfae03172a257b6a73e8c3ce0ef15f87e59e 09:12:04 $ docker rm -f 584262fa5b4df8f8520eb305ab27dfae03172a257b6a73e8c3ce0ef15f87e59e [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 09:12:04 provisioning config files... 09:12:04 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7742648816469219177tmp [Pipeline] { [Pipeline] sh 09:12:04 + set +x 09:12:04 + curl -s https://codecov.io/bash 09:12:04 + bash -s -- 09:12:04 09:12:04 _____ _ 09:12:04 / ____| | | 09:12:04 | | ___ __| | ___ ___ _____ __ 09:12:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:12:04 | |___| (_) | (_| | __/ (_| (_) \ V / 09:12:04 \_____\___/ \__,_|\___|\___\___/ \_/ 09:12:04 Bash-1.0.6 09:12:04 09:12:04 09:12:04 ==> git version 2.25.1 found 09:12:04 ==> 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 09:12:04 Release-Date: 2020-01-08 09:12:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:12:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:12:04 ==> Jenkins CI detected. 09:12:04 current dir:  /w/workspace/foundry_device-onvif-camera_main 09:12:04 project root: . 09:12:04 --> token set from env 09:12:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:12:04 ==> Running gcov in . (disable via -X gcov) 09:12:04 ==> Python coveragepy not found 09:12:04 ==> Searching for coverage reports in: 09:12:04 + . 09:12:04 -> Found 1 reports 09:12:04 ==> Detecting git/mercurial file structure 09:12:04 ==> Reading reports 09:12:04 + ./coverage.out bytes=78461 09:12:04 ==> Appending adjustments 09:12:04 https://docs.codecov.io/docs/fixing-reports 09:12:05 + Found adjustments 09:12:05 ==> Gzipping contents 09:12:05 12K /tmp/codecov.zT5HfY.gz 09:12:05 ==> Uploading reports 09:12:05 url: https://codecov.io 09:12:05 query: branch=main&commit=f5732e31f5803dbff04c89d6285bbaabf5e55c73&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:12:05 -> Pinging Codecov 09:12:05 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=f5732e31f5803dbff04c89d6285bbaabf5e55c73&build=62&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F62%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 09:12:05 -> Uploading to 09:12:05 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/f5732e31f5803dbff04c89d6285bbaabf5e55c73/247d97d2-bd19-40fa-a83a-b9894841feeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T091205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3b9a43023900add25b82eadf09a794a2a988cf5e8f9d175c22541941356462f 09:12:05 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:05 Dload Upload Total Spent Left Speed 09:12:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10718 0 0 100 10718 0 45223 --:--:-- --:--:-- --:--:-- 45223 09:12:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] } 09:12:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:12:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:12:05 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:12:06 09:12:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:12:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:12:06 df9b9388f04a: Pulling fs layer 09:12:06 52dc419b0ee2: Pulling fs layer 09:12:06 25bc292e5bac: Pulling fs layer 09:12:06 114826534d7a: Pulling fs layer 09:12:06 4657fd5d0bcf: Pulling fs layer 09:12:06 6ad1cebc031e: Pulling fs layer 09:12:06 8a3aa393b2d8: Pulling fs layer 09:12:06 4657fd5d0bcf: Waiting 09:12:06 6ad1cebc031e: Waiting 09:12:06 114826534d7a: Waiting 09:12:06 8a3aa393b2d8: Waiting 09:12:06 25bc292e5bac: Verifying Checksum 09:12:06 25bc292e5bac: Download complete 09:12:06 52dc419b0ee2: Verifying Checksum 09:12:06 52dc419b0ee2: Download complete 09:12:06 4657fd5d0bcf: Verifying Checksum 09:12:06 4657fd5d0bcf: Download complete 09:12:06 df9b9388f04a: Verifying Checksum 09:12:06 df9b9388f04a: Download complete 09:12:06 df9b9388f04a: Pull complete 09:12:06 6ad1cebc031e: Verifying Checksum 09:12:06 52dc419b0ee2: Pull complete 09:12:06 25bc292e5bac: Pull complete 09:12:07 114826534d7a: Verifying Checksum 09:12:07 114826534d7a: Download complete 09:12:07 8a3aa393b2d8: Verifying Checksum 09:12:10 114826534d7a: Pull complete 09:12:10 4657fd5d0bcf: Pull complete 09:12:11 6ad1cebc031e: Pull complete 09:12:14 8a3aa393b2d8: Pull complete 09:12:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:12:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:12:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:14 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:12:14 $ 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 09:12:17 $ docker top b40154ccd5f68fcc4cd13e560ae2ca724b51c7fd6459d1df3dd3ca30ca3735cd -eo pid,comm [Pipeline] { [Pipeline] echo 09:12:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 09:12:17 + set -o pipefail 09:12:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 09:12:25 09:12:25 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 09:12:25 09:12:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3ce0e2a0-e519-410b-aea0-96e761b27bdf 09:12:25 09:12:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:12:25 09:12:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:12:25 09:12:25 [Pipeline] } 09:12:25 $ docker stop --time=1 b40154ccd5f68fcc4cd13e560ae2ca724b51c7fd6459d1df3dd3ca30ca3735cd 09:12:28 $ docker rm -f b40154ccd5f68fcc4cd13e560ae2ca724b51c7fd6459d1df3dd3ca30ca3735cd [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 09:12:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:12:29 provisioning config files... 09:12:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12046596997021942602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:12:29 --> edgex-publish-swagger.sh 09:12:29 === Publish doc/openapi/v2 API === 09:12:29 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 09:12:29 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 09:12:29 % Total % Received % Xferd Average Speed Time Time Time Current 09:12:29 Dload Upload Total Spent Left Speed 09:12:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 193k --:--:-- --:--:-- --:--:-- 193k 09:12:29 09:12:29 [Pipeline] } 09:12:29 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 09:12:30 + git log --format=format:%s -1 f5732e31f5803dbff04c89d6285bbaabf5e55c73 [Pipeline] sh 09:12:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:12:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:30 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:12:31 $ 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 09:12:31 $ docker top c18db225247ff00c635af65488f181ba9043fab777fc3097a8b7a82e926a6524 -eo pid,comm 09:12:31 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). 09:12:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:31 [ssh-agent] Looking for ssh-agent implementation... 09:12:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:31 $ docker exec c18db225247ff00c635af65488f181ba9043fab777fc3097a8b7a82e926a6524 ssh-agent 09:12:31 SSH_AUTH_SOCK=/tmp/ssh-tSWRaMNk0ozQ/agent.33 09:12:31 SSH_AGENT_PID=39 09:12:31 Running ssh-add (command line suppressed) 09:12:31 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17320611441742404672.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_17320611441742404672.key) 09:12:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:32 + git semver tag 09:12:32 2022-09-28 09:12:32,406 [run_tag] DEBUG tag force:False 09:12:32 2022-09-28 09:12:32,406 [check_head_tag] DEBUG check head tag 09:12:32 2022-09-28 09:12:32,407 [execute] INFO git cat-file --batch-check 09:12:32 2022-09-28 09:12:32,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 09:12:32 2022-09-28 09:12:32,411 [execute] INFO git cat-file --batch 09:12:32 2022-09-28 09:12:32,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 09:12:32 2022-09-28 09:12:32,430 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:32 2022-09-28 09:12:32,430 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 09:12:32 2022-09-28 09:12:32,431 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 09:12:32 2022-09-28 09:12:32,435 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:32 2.3.0-dev.23 [Pipeline] } 09:12:32 $ docker exec --env ******** --env ******** c18db225247ff00c635af65488f181ba9043fab777fc3097a8b7a82e926a6524 ssh-agent -k 09:12:32 unset SSH_AUTH_SOCK; 09:12:32 unset SSH_AGENT_PID; 09:12:32 echo Agent pid 39 killed; 09:12:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:12:32 + git semver [Pipeline] } 09:12:33 $ docker stop --time=1 c18db225247ff00c635af65488f181ba9043fab777fc3097a8b7a82e926a6524 09:12:34 $ docker rm -f c18db225247ff00c635af65488f181ba9043fab777fc3097a8b7a82e926a6524 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:12:34 09:12:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:12:35 0.23.1-centos7: Pulling from edgex-lftools 09:12:35 ab5ef0e58194: Pulling fs layer 09:12:35 9712f1f96733: Pulling fs layer 09:12:35 63f879dbbcfc: Pulling fs layer 09:12:35 0d9ebad4ef96: Pulling fs layer 09:12:35 e9a5061849ea: Pulling fs layer 09:12:35 d747dcd14b5f: Pulling fs layer 09:12:35 2de7ff778b66: Pulling fs layer 09:12:35 0d9ebad4ef96: Waiting 09:12:35 2de7ff778b66: Waiting 09:12:35 e9a5061849ea: Waiting 09:12:35 d747dcd14b5f: Waiting 09:12:35 9712f1f96733: Verifying Checksum 09:12:35 9712f1f96733: Download complete 09:12:35 63f879dbbcfc: Verifying Checksum 09:12:35 63f879dbbcfc: Download complete 09:12:35 0d9ebad4ef96: Verifying Checksum 09:12:35 0d9ebad4ef96: Download complete 09:12:35 d747dcd14b5f: Verifying Checksum 09:12:35 d747dcd14b5f: Download complete 09:12:35 e9a5061849ea: Download complete 09:12:35 ab5ef0e58194: Verifying Checksum 09:12:35 ab5ef0e58194: Download complete 09:12:35 2de7ff778b66: Verifying Checksum 09:12:35 2de7ff778b66: Download complete 09:12:38 ab5ef0e58194: Pull complete 09:12:38 9712f1f96733: Pull complete 09:12:39 63f879dbbcfc: Pull complete 09:12:43 0d9ebad4ef96: Pull complete 09:12:43 e9a5061849ea: Pull complete 09:12:43 d747dcd14b5f: Pull complete 09:12:44 2de7ff778b66: Pull complete 09:12:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:12:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:44 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:12:44 $ 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 09:12:46 $ docker top 4748813a3187c3feeed85f04131203a59fae0940c9097aefac3f492c915a861d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:12:46 provisioning config files... 09:12:47 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config246653131020267493tmp 09:12:47 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9997255011935045723tmp 09:12:47 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12462699340364687659tmp [Pipeline] { [Pipeline] echo 09:12:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:12:47 ---> sigul-configuration.sh 09:12:47 gpg: directory `/root/.gnupg' created 09:12:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:12:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:12:47 gpg: keyring `/root/.gnupg/secring.gpg' created 09:12:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:12:47 gpg: CAST5 encrypted data 09:12:47 gpg: encrypted with 1 passphrase 09:12:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:12:47 + mkdir /home/jenkins 09:12:47 + mkdir /home/jenkins/sigul [Pipeline] sh 09:12:47 + 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 09:12:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:12:48 ---> sigul-install.sh 09:12:48 Sigul already installed; skipping installation. [Pipeline] sh 09:12:48 + git tag --list 09:12:48 v0.0.0 09:12:48 v0.0.1-dev.1 09:12:48 v0.0.1-dev.10 09:12:48 v0.0.1-dev.11 09:12:48 v0.0.1-dev.12 09:12:48 v0.0.1-dev.13 09:12:48 v0.0.1-dev.14 09:12:48 v0.0.1-dev.15 09:12:48 v0.0.1-dev.16 09:12:48 v0.0.1-dev.17 09:12:48 v0.0.1-dev.18 09:12:48 v0.0.1-dev.19 09:12:48 v0.0.1-dev.2 09:12:48 v0.0.1-dev.20 09:12:48 v0.0.1-dev.21 09:12:48 v0.0.1-dev.22 09:12:48 v0.0.1-dev.23 09:12:48 v0.0.1-dev.24 09:12:48 v0.0.1-dev.25 09:12:48 v0.0.1-dev.26 09:12:48 v0.0.1-dev.27 09:12:48 v0.0.1-dev.28 09:12:48 v0.0.1-dev.3 09:12:48 v0.0.1-dev.4 09:12:48 v0.0.1-dev.5 09:12:48 v0.0.1-dev.6 09:12:48 v0.0.1-dev.7 09:12:48 v0.0.1-dev.8 09:12:48 v0.0.1-dev.9 09:12:48 v2.2.0 09:12:48 v2.2.0-dev.29 09:12:48 v2.2.0-dev.30 09:12:48 v2.2.0-dev.31 09:12:48 v2.2.0-dev.32 09:12:48 v2.2.0-dev.33 09:12:48 v2.2.0-dev.34 09:12:48 v2.2.0-dev.35 09:12:48 v2.3.0-dev.1 09:12:48 v2.3.0-dev.10 09:12:48 v2.3.0-dev.11 09:12:48 v2.3.0-dev.12 09:12:48 v2.3.0-dev.13 09:12:48 v2.3.0-dev.14 09:12:48 v2.3.0-dev.15 09:12:48 v2.3.0-dev.16 09:12:48 v2.3.0-dev.17 09:12:48 v2.3.0-dev.18 09:12:48 v2.3.0-dev.19 09:12:48 v2.3.0-dev.2 09:12:48 v2.3.0-dev.20 09:12:48 v2.3.0-dev.21 09:12:48 v2.3.0-dev.22 09:12:48 v2.3.0-dev.23 09:12:48 v2.3.0-dev.3 09:12:48 v2.3.0-dev.4 09:12:48 v2.3.0-dev.5 09:12:48 v2.3.0-dev.6 09:12:48 v2.3.0-dev.7 09:12:48 v2.3.0-dev.8 09:12:48 v2.3.0-dev.9 [Pipeline] sh 09:12:48 + lftools sign git-tag v2.3.0-dev.23 09:12:49 Signing Git tag with Sigul... 09:12:49 Signing v2.3.0-dev.23 [Pipeline] echo 09:12:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:12:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:12:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:12:49 $ docker stop --time=1 4748813a3187c3feeed85f04131203a59fae0940c9097aefac3f492c915a861d 09:12:51 $ docker rm -f 4748813a3187c3feeed85f04131203a59fae0940c9097aefac3f492c915a861d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:12:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:12:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:51 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:12:52 $ 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 09:12:52 $ docker top 86effa6d8fe5cfadb58a23107b8f91f71b27b91b56b7c2158038b195014f7510 -eo pid,comm 09:12:52 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). 09:12:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:52 [ssh-agent] Looking for ssh-agent implementation... 09:12:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:52 $ docker exec 86effa6d8fe5cfadb58a23107b8f91f71b27b91b56b7c2158038b195014f7510 ssh-agent 09:12:52 SSH_AUTH_SOCK=/tmp/ssh-7z2UkiDPmaDg/agent.32 09:12:52 SSH_AGENT_PID=38 09:12:52 Running ssh-add (command line suppressed) 09:12:52 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16211859253405066156.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16211859253405066156.key) 09:12:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:53 + git semver bump pre 09:12:53 2022-09-28 09:12:53,244 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:53 2022-09-28 09:12:53,244 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev 09:12:53 2022-09-28 09:12:53,244 [bump_version] DEBUG bumped version:2.3.0-dev.24 09:12:53 2022-09-28 09:12:53,244 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 09:12:53 2022-09-28 09:12:53,244 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:53 2022-09-28 09:12:53,244 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:53 2022-09-28 09:12:53,246 [execute] INFO git cat-file --batch-check 09:12:53 2022-09-28 09:12:53,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:12:53 2022-09-28 09:12:53,251 [execute] INFO git cat-file --batch 09:12:53 2022-09-28 09:12:53,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:12:53 2022-09-28 09:12:53,257 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:12:53 2.3.0-dev.24 [Pipeline] } 09:12:53 $ docker exec --env ******** --env ******** 86effa6d8fe5cfadb58a23107b8f91f71b27b91b56b7c2158038b195014f7510 ssh-agent -k 09:12:53 unset SSH_AUTH_SOCK; 09:12:53 unset SSH_AGENT_PID; 09:12:53 echo Agent pid 38 killed; 09:12:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:12:53 + git semver [Pipeline] } 09:12:54 $ docker stop --time=1 86effa6d8fe5cfadb58a23107b8f91f71b27b91b56b7c2158038b195014f7510 09:12:55 $ docker rm -f 86effa6d8fe5cfadb58a23107b8f91f71b27b91b56b7c2158038b195014f7510 [Pipeline] // withDockerContainer [Pipeline] sh 09:12:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:12:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:12:56 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:12:56 $ docker top c2f67dcd292eedc541385a711afc68439bb3f75f5e622f2b0d62da0f6df4feeb -eo pid,comm 09:12:56 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). 09:12:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:12:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:12:56 [ssh-agent] Looking for ssh-agent implementation... 09:12:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:12:56 $ docker exec c2f67dcd292eedc541385a711afc68439bb3f75f5e622f2b0d62da0f6df4feeb ssh-agent 09:12:56 SSH_AUTH_SOCK=/tmp/ssh-u7RUw0oaZEeR/agent.32 09:12:56 SSH_AGENT_PID=38 09:12:56 Running ssh-add (command line suppressed) 09:12:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12285099262452486734.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12285099262452486734.key) 09:12:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:12:57 + git semver push 09:12:57 2022-09-28 09:12:57,548 [run_push] DEBUG push 09:12:57 2022-09-28 09:12:57,549 [execute] INFO git cat-file --batch-check 09:12:57 2022-09-28 09:12:57,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 09:12:57 2022-09-28 09:12:57,553 [execute] INFO git rev-list bba6750e8264fd4f5577be9725f2b1b69417849f -- 09:12:57 2022-09-28 09:12:57,553 [execute] DEBUG Popen(['git', 'rev-list', 'bba6750e8264fd4f5577be9725f2b1b69417849f', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:12:57 2022-09-28 09:12:57,559 [execute] INFO git fetch -v origin 09:12:57 2022-09-28 09:12:57,560 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 09:12:58 2022-09-28 09:12:58,147 [run_push] DEBUG no remote changes detected 09:12:58 2022-09-28 09:12:58,148 [execute] INFO git push origin semver 09:12:58 2022-09-28 09:12:58,148 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 09:12:59 2022-09-28 09:12:58,957 [run_push] DEBUG push all version tags 09:12:59 2022-09-28 09:12:58,958 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:12:59 2022-09-28 09:12:58,959 [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) 09:13:00 2022-09-28 09:12:59,701 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 09:13:00 2.3.0-dev.24 [Pipeline] } 09:13:00 $ docker exec --env ******** --env ******** c2f67dcd292eedc541385a711afc68439bb3f75f5e622f2b0d62da0f6df4feeb ssh-agent -k 09:13:00 unset SSH_AUTH_SOCK; 09:13:00 unset SSH_AGENT_PID; 09:13:00 echo Agent pid 38 killed; 09:13:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:13:00 + git semver [Pipeline] } 09:13:00 $ docker stop --time=1 c2f67dcd292eedc541385a711afc68439bb3f75f5e622f2b0d62da0f6df4feeb 09:13:02 $ docker rm -f c2f67dcd292eedc541385a711afc68439bb3f75f5e622f2b0d62da0f6df4feeb [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 09:13:02 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 09:13:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 09:13:02 total 16 09:13:02 drwxr-xr-x 3 root root 4096 Sep 28 09:03 . 09:13:02 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 09:12 .. 09:13:02 drwxr-xr-x 2 root root 4096 Sep 28 09:03 cost 09:13:02 -rw-r--r-- 1 root root 90 Sep 28 09:03 cost.csv 09:13:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 09:13:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 09:13:02 total 16 09:13:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 09:03 . 09:13:02 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 09:12 .. 09:13:02 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 09:03 cost 09:13:02 -rw-r--r-- 1 jenkins jenkins 90 Sep 28 09:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:13:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:13:03 ---> package-listing.sh 09:13:03 ++ facter osfamily 09:13:03 ++ tr '[:upper:]' '[:lower:]' 09:13:03 + OS_FAMILY=debian 09:13:03 + workspace=/w/workspace/foundry_device-onvif-camera_main 09:13:03 + START_PACKAGES=/tmp/packages_start.txt 09:13:03 + END_PACKAGES=/tmp/packages_end.txt 09:13:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:13:03 + PACKAGES=/tmp/packages_start.txt 09:13:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 09:13:03 + PACKAGES=/tmp/packages_end.txt 09:13:03 + case "${OS_FAMILY}" in 09:13:03 + grep '^ii' 09:13:03 + dpkg -l 09:13:03 + '[' -f /tmp/packages_start.txt ']' 09:13:03 + '[' -f /tmp/packages_end.txt ']' 09:13:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:13:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 09:13:03 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 09:13:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 09:13:04 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 09:13:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:13:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:04 prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container 09:13:04 $ 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 09:13:05 $ docker top 7de5cd7b83b171a52e03845d871ce495dc52579369e8eb2500a5afed50fe43b6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:13:05 + touch /tmp/pre-build-complete [Pipeline] sh 09:13:05 + mkdir -p /var/log/sysstat [Pipeline] sh 09:13:06 + ls /var/log/sa-host 09:13:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:06 provisioning config files... 09:13:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15342273116481677021tmp [Pipeline] { [Pipeline] echo 09:13:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:13:06 ---> create-netrc.sh [Pipeline] } 09:13:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:13:07 ---> python-tools-install.sh [Pipeline] echo 09:13:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:13:07 ---> sudo-logs.sh 09:13:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:13:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:13:07 ---> job-cost.sh 09:13:07 lf-activate-venv: SKIPPING 09:13:07 DEBUG: total: 0.2199999988079071 09:13:07 INFO: Retrieving Stack Cost... 09:13:07 INFO: Retrieving Pricing Info for: v3-standard-8 09:13:08 INFO: Archiving Costs [Pipeline] echo 09:13:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:13:08 ---> logs-deploy.sh 09:13:08 lf-activate-venv: SKIPPING 09:13:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/62 09:13:08 INFO: archiving workspace using pattern(s): 09:13:09 Archives upload complete. 09:13:09 INFO: archiving logs to Nexus