Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 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-ssh6602785501182480823.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-ssh13520405659514522535.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-ssh17691610805652000649.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-ssh16362989369751448922.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-ssh838227070050918141.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1451’ Running on prd-ubuntu20.04-docker-8c-8g-1457 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 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a (main) Commit message: "feat: remove control-plane-device (#153)" > 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 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 > git rev-list --no-walk 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:04:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:04:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:04:08 ========================================================= 23:04:08 EdgeX Global Pipelines Version Info 23:04:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:04:09 ------------------- 23:04:09 stable info: 23:04:09 ------------------- 23:04:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:04:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:04:09 Message: update stable to v1.0.239 23:04:09 ------------------- 23:04:09 experimental info: 23:04:09 ------------------- 23:04:09 Commited By: **** collab-it+edgex@linuxfoundation.org 23:04:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:04:09 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93a2116 [Pipeline] echo 23:04:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:10 provisioning config files... 23:04:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7231797510037332771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:10 ---> docker-login.sh 23:04:10 nexus3.edgexfoundry.org:10001 23:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:11 Configure a credential helper to remove this warning. See 23:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:11 23:04:11 Login Succeeded 23:04:11 nexus3.edgexfoundry.org:10002 23:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:11 Configure a credential helper to remove this warning. See 23:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:11 23:04:11 Login Succeeded 23:04:11 nexus3.edgexfoundry.org:10003 23:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:11 Configure a credential helper to remove this warning. See 23:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:11 23:04:11 Login Succeeded 23:04:11 nexus3.edgexfoundry.org:10004 23:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:11 Configure a credential helper to remove this warning. See 23:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:11 23:04:11 Login Succeeded 23:04:11 docker.io 23:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:11 Configure a credential helper to remove this warning. See 23:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:11 23:04:11 Login Succeeded 23:04:11 ---> docker-login.sh ends [Pipeline] } 23:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:04:12 + git rev-list -1 --merges 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a~1..93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] echo 23:04:12 -----------> git rev-list -1 --merges 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a~1..93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [false] [Pipeline] sh 23:04:12 + git log --format=format:%s -1 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] echo 23:04:12 ========================================================= 23:04:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:04:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:12 + git log --format=format:%s -1 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] echo 23:04:12 [semverPrep] GIT_COMMIT: 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a, Commit Message: feat: remove control-plane-device (#153) [Pipeline] echo 23:04:12 [semverPrep] This is not a build commit. [Pipeline] sh 23:04:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:04:13 + grep -v github /etc/ssh/ssh_known_hosts 23:04:13 + [ -e /tmp/ssh_known_hosts ] 23:04:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:04:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:04:13 + sudo tee -a /etc/ssh/ssh_known_hosts 23:04:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:13 23:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:14 0.1.4: Pulling from edgex-devops/py-git-semver 23:04:14 b85a868b505f: Pulling fs layer 23:04:14 e2be974225ed: Pulling fs layer 23:04:14 339a4e72a1f5: Pulling fs layer 23:04:14 988bab9f4d93: Pulling fs layer 23:04:14 1469e6f7b9e6: Pulling fs layer 23:04:14 eaf3925da568: Pulling fs layer 23:04:14 bab4dde63d76: Pulling fs layer 23:04:14 bde34c3a00c8: Pulling fs layer 23:04:14 1469e6f7b9e6: Waiting 23:04:14 eaf3925da568: Waiting 23:04:14 b352a97aabf1: Pulling fs layer 23:04:14 4872d77fe225: Pulling fs layer 23:04:14 988bab9f4d93: Waiting 23:04:14 b352a97aabf1: Waiting 23:04:14 bab4dde63d76: Waiting 23:04:14 4872d77fe225: Waiting 23:04:14 5851b861e8e6: Pulling fs layer 23:04:14 5851b861e8e6: Waiting 23:04:14 e2be974225ed: Download complete 23:04:14 988bab9f4d93: Verifying Checksum 23:04:14 988bab9f4d93: Download complete 23:04:14 1469e6f7b9e6: Verifying Checksum 23:04:14 1469e6f7b9e6: Download complete 23:04:14 eaf3925da568: Verifying Checksum 23:04:14 eaf3925da568: Download complete 23:04:14 339a4e72a1f5: Verifying Checksum 23:04:14 339a4e72a1f5: Download complete 23:04:14 bde34c3a00c8: Verifying Checksum 23:04:14 bde34c3a00c8: Download complete 23:04:14 b352a97aabf1: Verifying Checksum 23:04:14 4872d77fe225: Verifying Checksum 23:04:14 4872d77fe225: Download complete 23:04:14 5851b861e8e6: Download complete 23:04:14 b85a868b505f: Verifying Checksum 23:04:14 b85a868b505f: Download complete 23:04:14 bab4dde63d76: Verifying Checksum 23:04:14 bab4dde63d76: Download complete 23:04:15 b85a868b505f: Pull complete 23:04:15 e2be974225ed: Pull complete 23:04:16 339a4e72a1f5: Pull complete 23:04:16 988bab9f4d93: Pull complete 23:04:16 1469e6f7b9e6: Pull complete 23:04:16 eaf3925da568: Pull complete 23:04:18 bab4dde63d76: Pull complete 23:04:18 bde34c3a00c8: Pull complete 23:04:18 b352a97aabf1: Pull complete 23:04:18 4872d77fe225: Pull complete 23:04:18 5851b861e8e6: Pull complete 23:04:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:04:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:18 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:04:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:04:21 $ docker top 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 -eo pid,comm 23:04:21 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). 23:04:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:21 [ssh-agent] Looking for ssh-agent implementation... 23:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:21 $ docker exec 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 ssh-agent 23:04:21 SSH_AUTH_SOCK=/tmp/ssh-Xqr36SFJLGhe/agent.32 23:04:21 SSH_AGENT_PID=38 23:04:21 Running ssh-add (command line suppressed) 23:04:21 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3622141592698338849.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3622141592698338849.key) 23:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:21 + git tag --points-at HEAD [Pipeline] } 23:04:21 $ docker exec --env ******** --env ******** 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 ssh-agent -k 23:04:21 unset SSH_AUTH_SOCK; 23:04:21 unset SSH_AGENT_PID; 23:04:21 echo Agent pid 38 killed; 23:04:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:04:21 [ssh-agent] Looking for ssh-agent implementation... 23:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:04:22 $ docker exec 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 ssh-agent 23:04:22 SSH_AUTH_SOCK=/tmp/ssh-UagJ2p2FJ95x/agent.72 23:04:22 SSH_AGENT_PID=78 23:04:22 Running ssh-add (command line suppressed) 23:04:22 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3176867416224529744.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3176867416224529744.key) 23:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:04:22 + git semver init 23:04:22 2022-09-27 23:04:22,724 [run_init] DEBUG init version:0.0.0 force:False 23:04:22 2022-09-27 23:04:22,725 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:04:22 2022-09-27 23:04:22,725 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:04:22 2022-09-27 23:04:22,725 [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) 23:04:24 2022-09-27 23:04:23,809 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:04:24 2022-09-27 23:04:23,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:04:24 2022-09-27 23:04:23,809 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:04:24 2022-09-27 23:04:23,809 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:04:24 2.3.0-dev.22 [Pipeline] } 23:04:24 $ docker exec --env ******** --env ******** 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 ssh-agent -k 23:04:24 unset SSH_AUTH_SOCK; 23:04:24 unset SSH_AGENT_PID; 23:04:24 echo Agent pid 78 killed; 23:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:04:24 + git semver [Pipeline] } 23:04:24 $ docker stop --time=1 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 23:04:26 $ docker rm -f 6ddebd792ee9466b389d2775ffd6330c779aa17105a52d5b48a1af9f8f4e0a88 [Pipeline] // withDockerContainer [Pipeline] sh 23:04:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:04:26 Stashed 1 file(s) [Pipeline] echo 23:04:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 23:04:26 provisioning config files... 23:04:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10506994337117424017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:27 ---> docker-login.sh 23:04:27 nexus3.edgexfoundry.org:10001 23:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:27 Configure a credential helper to remove this warning. See 23:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:27 23:04:27 Login Succeeded 23:04:27 nexus3.edgexfoundry.org:10002 23:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:27 Configure a credential helper to remove this warning. See 23:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:27 23:04:27 Login Succeeded 23:04:27 nexus3.edgexfoundry.org:10003 23:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:27 Configure a credential helper to remove this warning. See 23:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:27 23:04:27 Login Succeeded 23:04:27 nexus3.edgexfoundry.org:10004 23:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:27 Configure a credential helper to remove this warning. See 23:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:27 23:04:27 Login Succeeded 23:04:27 docker.io 23:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:27 Configure a credential helper to remove this warning. See 23:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:27 23:04:27 Login Succeeded 23:04:27 ---> docker-login.sh ends [Pipeline] } 23:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:27 ========================================================= 23:04:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:04:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:28 + 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 . 23:04:28 Sending build context to Docker daemon 20.71MB 23:04:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:04:28 Step 2/13 : FROM ${BASE} AS builder 23:04:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:04:28 2408cc74d12b: Pulling fs layer 23:04:28 ea60b727a1ce: Pulling fs layer 23:04:28 30c4a7721957: Pulling fs layer 23:04:28 370296b7ddb6: Pulling fs layer 23:04:28 7c6cee850709: Pulling fs layer 23:04:28 39a5fcdaea64: Pulling fs layer 23:04:28 d94ebbe4e438: Pulling fs layer 23:04:28 bcfd1f05c69d: Pulling fs layer 23:04:28 59ccb84bbe0f: Pulling fs layer 23:04:28 39a5fcdaea64: Waiting 23:04:28 d94ebbe4e438: Waiting 23:04:28 bcfd1f05c69d: Waiting 23:04:28 59ccb84bbe0f: Waiting 23:04:28 370296b7ddb6: Waiting 23:04:28 7c6cee850709: Waiting 23:04:28 30c4a7721957: Verifying Checksum 23:04:28 30c4a7721957: Download complete 23:04:28 ea60b727a1ce: Verifying Checksum 23:04:28 ea60b727a1ce: Download complete 23:04:28 7c6cee850709: Verifying Checksum 23:04:28 7c6cee850709: Download complete 23:04:28 39a5fcdaea64: Download complete 23:04:28 2408cc74d12b: Download complete 23:04:28 d94ebbe4e438: Verifying Checksum 23:04:28 d94ebbe4e438: Download complete 23:04:28 2408cc74d12b: Pull complete 23:04:28 ea60b727a1ce: Pull complete 23:04:29 30c4a7721957: Pull complete 23:04:29 59ccb84bbe0f: Verifying Checksum 23:04:29 59ccb84bbe0f: Download complete 23:04:29 bcfd1f05c69d: Verifying Checksum 23:04:29 bcfd1f05c69d: Download complete 23:04:29 370296b7ddb6: Verifying Checksum 23:04:29 370296b7ddb6: Download complete 23:04:33 370296b7ddb6: Pull complete 23:04:33 7c6cee850709: Pull complete 23:04:33 39a5fcdaea64: Pull complete 23:04:33 d94ebbe4e438: Pull complete 23:04:35 bcfd1f05c69d: Pull complete 23:04:35 59ccb84bbe0f: Pull complete 23:04:35 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:04:35 ---> a4fb48ad2a94 23:04:35 Step 3/13 : ARG MAKE="make build" 23:04:37 ---> Running in dee4c60d2008 23:04:37 Removing intermediate container dee4c60d2008 23:04:37 ---> 3b7b9090c6a8 23:04:37 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:04:37 ---> Running in 81796a3fc313 23:04:38 Removing intermediate container 81796a3fc313 23:04:38 ---> 342b81f13e70 23:04:38 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:04:38 ---> Running in 01e639ae1556 23:04:38 Removing intermediate container 01e639ae1556 23:04:38 ---> cab78d14b754 23:04:38 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:04:38 ---> Running in f2db4502ccc7 23:04:38 Removing intermediate container f2db4502ccc7 23:04:38 ---> 37a5806bbf74 23:04:38 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:04:38 ---> Running in 39a099aa2241 23:04:38 Removing intermediate container 39a099aa2241 23:04:38 ---> bc2c03ba9428 23:04:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:38 ---> Running in 54844aaea5bc 23:04:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:04:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:04:40 OK: 211 MiB in 51 packages 23:04:40 Removing intermediate container 54844aaea5bc 23:04:40 ---> bf0a9ffee63d 23:04:40 Step 9/13 : WORKDIR /device-onvif-camera 23:04:40 ---> Running in 45f52b30d88d 23:04:40 Removing intermediate container 45f52b30d88d 23:04:40 ---> b1a966b6211f 23:04:40 Step 10/13 : COPY go.mod vendor* ./ 23:04:40 ---> 059b070ecf2e 23:04:40 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:41 ---> Running in dbaa80a4ab53 23:04:41 Still waiting to schedule task 23:04:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1455’ 23:04:59 Removing intermediate container dbaa80a4ab53 23:04:59 ---> f00f9d2c0b6c 23:04:59 Step 12/13 : COPY . . 23:04:59 ---> 61fbbae5afc2 23:04:59 Step 13/13 : RUN ${MAKE} 23:04:59 ---> Running in ce708cb9116e 23:04:59 noop 23:04:59 Removing intermediate container ce708cb9116e 23:04:59 ---> 7fc667d0bfc1 23:04:59 Successfully built 7fc667d0bfc1 23:04:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:59 + docker inspect -f . ci-base-image-x86_64 23:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:04:59 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:04:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:04:59 $ docker top 670a0d46c964011d8fa453fc4f8e63675f48231021465d8e3c3cbd8903e62116 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:00 + go version 23:05:00 go version go1.18.3 linux/amd64 [Pipeline] } 23:05:00 $ docker stop --time=1 670a0d46c964011d8fa453fc4f8e63675f48231021465d8e3c3cbd8903e62116 23:05:01 $ docker rm -f 670a0d46c964011d8fa453fc4f8e63675f48231021465d8e3c3cbd8903e62116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:02 + docker inspect -f . ci-base-image-x86_64 23:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:02 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:05:02 $ docker top cac79ea69100c50c452588fc4674f535137417f70e6eb98c0368f7ce5ece6dff -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:02 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:05:03 + make test 23:05:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:05:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:05:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:05:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 23:05:15 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:05:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.322s coverage: 86.5% of statements 23:05:24 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." 23:05:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:28 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:28 $ docker stop --time=1 cac79ea69100c50c452588fc4674f535137417f70e6eb98c0368f7ce5ece6dff 23:05:30 $ docker rm -f cac79ea69100c50c452588fc4674f535137417f70e6eb98c0368f7ce5ece6dff [Pipeline] // withDockerContainer [Pipeline] sh 23:05:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:05:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:31 + ls -al . 23:05:31 total 236 23:05:31 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 23:05 . 23:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:04 .. 23:05:31 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:05 .git 23:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:04 .github 23:05:31 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:04 .gitignore 23:05:31 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:04 .golangci.yml 23:05:31 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:04 .semver 23:05:31 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:04 Attribution.txt 23:05:31 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:04 CHANGELOG.md 23:05:31 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 23:04 Dockerfile 23:05:31 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:04 GOVERNANCE.md 23:05:31 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:04 Jenkinsfile 23:05:31 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:04 LICENSE 23:05:31 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 23:04 Makefile 23:05:31 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:04 OWNERS.md 23:05:31 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 23:04 README.md 23:05:31 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 23:04 VERSION 23:05:31 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:04 bin 23:05:31 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:04 cmd 23:05:31 -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 23:05 coverage.out 23:05:31 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:04 doc 23:05:31 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:04 go.mod 23:05:31 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 23:04 go.sum 23:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:04 internal 23:05:31 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:04 snap 23:05:31 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:32 + 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=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a --label arch=amd64 --label version=2.3.0-dev.22 . 23:05:32 Sending build context to Docker daemon 20.78MB 23:05:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:05:32 Step 2/26 : FROM ${BASE} AS builder 23:05:32 ---> 7fc667d0bfc1 23:05:32 Step 3/26 : ARG MAKE="make build" 23:05:32 ---> Running in c01ae539b931 23:05:32 Removing intermediate container c01ae539b931 23:05:32 ---> d9e1e1c626b5 23:05:32 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:05:32 ---> Running in 12eac3a1cfdf 23:05:32 Removing intermediate container 12eac3a1cfdf 23:05:32 ---> e34dc778ec9b 23:05:32 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:05:32 ---> Running in ba99653cf68a 23:05:32 Removing intermediate container ba99653cf68a 23:05:32 ---> 0517f677a5f6 23:05:32 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:05:32 ---> Running in 458848eee3d6 23:05:32 Removing intermediate container 458848eee3d6 23:05:32 ---> daf53ca34d04 23:05:32 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:05:32 ---> Running in 8791ccbff1e9 23:05:33 Removing intermediate container 8791ccbff1e9 23:05:33 ---> 9a9992cc61a4 23:05:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:05:33 ---> Running in 778a87116d71 23:05:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:05:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:05:34 OK: 211 MiB in 51 packages 23:05:35 Removing intermediate container 778a87116d71 23:05:35 ---> 55e3dd8e5489 23:05:35 Step 9/26 : WORKDIR /device-onvif-camera 23:05:35 ---> Running in 7ed78cad98a3 23:05:35 Removing intermediate container 7ed78cad98a3 23:05:35 ---> e32a3ed5e8a8 23:05:35 Step 10/26 : COPY go.mod vendor* ./ 23:05:35 ---> 039832e7e0c6 23:05:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:35 ---> Running in 94c208bcc3c6 23:05:35 Removing intermediate container 94c208bcc3c6 23:05:35 ---> 007175087c19 23:05:35 Step 12/26 : COPY . . 23:05:36 ---> 9b5615cfaff5 23:05:36 Step 13/26 : RUN ${MAKE} 23:05:36 ---> Running in d1159b259cb3 23:05:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:05:59 Removing intermediate container d1159b259cb3 23:05:59 ---> b11f85c64975 23:05:59 Step 14/26 : FROM alpine:3.16 23:05:59 3.16: Pulling from library/alpine 23:05:59 213ec9aee27d: Pulling fs layer 23:05:59 213ec9aee27d: Verifying Checksum 23:05:59 213ec9aee27d: Download complete 23:06:00 213ec9aee27d: Pull complete 23:06:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:06:00 Status: Downloaded newer image for alpine:3.16 23:06:00 ---> 9c6f07244728 23:06:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:06:00 ---> Running in b982eb1de67c 23:06:00 Removing intermediate container b982eb1de67c 23:06:00 ---> 3e7e85646370 23:06:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:06:00 ---> Running in 766661dd86da 23:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:06:00 (1/6) Installing dumb-init (1.2.5-r1) 23:06:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:06:00 (3/6) Installing libsodium (1.0.18-r0) 23:06:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:06:01 (5/6) Installing libzmq (4.3.4-r0) 23:06:01 (6/6) Installing zeromq (4.3.4-r0) 23:06:01 Executing busybox-1.35.0-r17.trigger 23:06:01 OK: 8 MiB in 20 packages 23:06:01 Removing intermediate container 766661dd86da 23:06:01 ---> ca47a000569d 23:06:01 Step 17/26 : WORKDIR / 23:06:01 ---> Running in 149b012bfa1b 23:06:01 Removing intermediate container 149b012bfa1b 23:06:01 ---> 6faa1b1b25f4 23:06:01 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:06:02 ---> 73ba90873ead 23:06:02 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:06:02 ---> 4df2b216985d 23:06:02 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:06:02 ---> 299f6a1bb612 23:06:02 Step 21/26 : EXPOSE 59984 23:06:02 ---> Running in be505b116986 23:06:02 Removing intermediate container be505b116986 23:06:02 ---> a975e796c75f 23:06:02 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:06:02 ---> Running in 7257129c8782 23:06:02 Removing intermediate container 7257129c8782 23:06:02 ---> 1fa3d87b1d45 23:06:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:06:02 ---> Running in 5d413038d103 23:06:02 Removing intermediate container 5d413038d103 23:06:02 ---> e5cc7684346e 23:06:02 Step 24/26 : LABEL arch=amd64 23:06:02 ---> Running in c7066e68d074 23:06:02 Removing intermediate container c7066e68d074 23:06:02 ---> 61cedbcb1764 23:06:02 Step 25/26 : LABEL git_sha=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:06:02 ---> Running in d8e4f9a7cd46 23:06:02 Removing intermediate container d8e4f9a7cd46 23:06:02 ---> 6ef61dc2998b 23:06:02 Step 26/26 : LABEL version=2.3.0-dev.22 23:06:03 ---> Running in 56e13f44898d 23:06:03 Removing intermediate container 56e13f44898d 23:06:03 ---> f82fb6962450 23:06:03 [Warning] One or more build-args [ARCH] were not consumed 23:06:03 Successfully built f82fb6962450 23:06:03 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 23:06:03 provisioning config files... 23:06:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2538564520232909940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:03 ---> docker-login.sh 23:06:03 nexus3.edgexfoundry.org:10001 23:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:03 Configure a credential helper to remove this warning. See 23:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:03 23:06:03 Login Succeeded 23:06:03 nexus3.edgexfoundry.org:10002 23:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:03 Configure a credential helper to remove this warning. See 23:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:03 23:06:03 Login Succeeded 23:06:03 nexus3.edgexfoundry.org:10003 23:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:03 Configure a credential helper to remove this warning. See 23:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:03 23:06:03 Login Succeeded 23:06:03 nexus3.edgexfoundry.org:10004 23:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:03 Configure a credential helper to remove this warning. See 23:06:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:03 23:06:03 Login Succeeded 23:06:03 docker.io 23:06:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:06:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:06:04 Configure a credential helper to remove this warning. See 23:06:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:06:04 23:06:04 Login Succeeded 23:06:04 ---> docker-login.sh ends [Pipeline] } 23:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:06:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:06:04 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:06:04 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:06:04 latest 23:06:04 2.3.0-dev.22 23:06:04 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:06:04 main 23:06:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:04 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:06:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:06:05 9832da853e01: Preparing 23:06:05 15d3ebbd3466: Preparing 23:06:05 7f94802e8724: Preparing 23:06:05 8cde34bbed45: Preparing 23:06:05 994393dc58e7: Preparing 23:06:05 994393dc58e7: Layer already exists 23:06:05 9832da853e01: Pushed 23:06:05 15d3ebbd3466: Pushed 23:06:05 8cde34bbed45: Pushed 23:06:07 7f94802e8724: Pushed 23:06:07 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a: digest: sha256:2b6b687eda24b3e9efff8afbe7b0a0aaf3e6a7b71ba74c7f9075998f38c125e6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:06:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:06:08 9832da853e01: Preparing 23:06:08 15d3ebbd3466: Preparing 23:06:08 7f94802e8724: Preparing 23:06:08 8cde34bbed45: Preparing 23:06:08 994393dc58e7: Preparing 23:06:08 15d3ebbd3466: Layer already exists 23:06:08 994393dc58e7: Layer already exists 23:06:08 9832da853e01: Layer already exists 23:06:08 8cde34bbed45: Layer already exists 23:06:08 7f94802e8724: Layer already exists 23:06:08 latest: digest: sha256:2b6b687eda24b3e9efff8afbe7b0a0aaf3e6a7b71ba74c7f9075998f38c125e6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.22 23:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:06:09 9832da853e01: Preparing 23:06:09 15d3ebbd3466: Preparing 23:06:09 7f94802e8724: Preparing 23:06:09 8cde34bbed45: Preparing 23:06:09 994393dc58e7: Preparing 23:06:09 8cde34bbed45: Layer already exists 23:06:09 7f94802e8724: Layer already exists 23:06:09 9832da853e01: Layer already exists 23:06:09 994393dc58e7: Layer already exists 23:06:09 15d3ebbd3466: Layer already exists 23:06:09 2.3.0-dev.22: digest: sha256:2b6b687eda24b3e9efff8afbe7b0a0aaf3e6a7b71ba74c7f9075998f38c125e6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:09 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:09 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:06:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:06:09 9832da853e01: Preparing 23:06:09 15d3ebbd3466: Preparing 23:06:09 7f94802e8724: Preparing 23:06:09 8cde34bbed45: Preparing 23:06:09 994393dc58e7: Preparing 23:06:09 7f94802e8724: Layer already exists 23:06:09 8cde34bbed45: Layer already exists 23:06:09 9832da853e01: Layer already exists 23:06:09 15d3ebbd3466: Layer already exists 23:06:09 994393dc58e7: Layer already exists 23:06:09 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22: digest: sha256:2b6b687eda24b3e9efff8afbe7b0a0aaf3e6a7b71ba74c7f9075998f38c125e6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:10 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:10 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:06:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:06:10 9832da853e01: Preparing 23:06:10 15d3ebbd3466: Preparing 23:06:10 7f94802e8724: Preparing 23:06:10 8cde34bbed45: Preparing 23:06:10 994393dc58e7: Preparing 23:06:10 994393dc58e7: Layer already exists 23:06:10 9832da853e01: Layer already exists 23:06:10 15d3ebbd3466: Layer already exists 23:06:10 7f94802e8724: Layer already exists 23:06:10 8cde34bbed45: Layer already exists 23:06:10 main: digest: sha256:2b6b687eda24b3e9efff8afbe7b0a0aaf3e6a7b71ba74c7f9075998f38c125e6 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:06:10 ===================================================== [Pipeline] echo 23:06:10 taggedImages: 23:06:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:06:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:06:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.22 23:06:10 - nexus3.edgexfoundry.org:10004/device-onvif-camera:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:06:10 - 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 23:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:10 23:06:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:11 latest: Pulling from edgex-lftools-log-publisher 23:06:11 5eb5b503b376: Pulling fs layer 23:06:11 5c69ac0246d0: Pulling fs layer 23:06:11 ec43610c2a17: Pulling fs layer 23:06:11 3a2ae6a8a46f: Pulling fs layer 23:06:11 33b1e0a273af: Pulling fs layer 23:06:11 5d3b04190fa2: Pulling fs layer 23:06:11 2f39f015ded8: Pulling fs layer 23:06:11 3a2ae6a8a46f: Waiting 23:06:11 33b1e0a273af: Waiting 23:06:11 5d3b04190fa2: Waiting 23:06:11 2f39f015ded8: Waiting 23:06:11 5c69ac0246d0: Verifying Checksum 23:06:11 5c69ac0246d0: Download complete 23:06:11 3a2ae6a8a46f: Download complete 23:06:11 33b1e0a273af: Verifying Checksum 23:06:11 33b1e0a273af: Download complete 23:06:11 5d3b04190fa2: Verifying Checksum 23:06:11 5d3b04190fa2: Download complete 23:06:11 ec43610c2a17: Verifying Checksum 23:06:11 ec43610c2a17: Download complete 23:06:11 5eb5b503b376: Download complete 23:06:11 2f39f015ded8: Download complete 23:06:12 5eb5b503b376: Pull complete 23:06:12 5c69ac0246d0: Pull complete 23:06:12 ec43610c2a17: Pull complete 23:06:13 3a2ae6a8a46f: Pull complete 23:06:13 33b1e0a273af: Pull complete 23:06:13 5d3b04190fa2: Pull complete 23:06:17 2f39f015ded8: Pull complete 23:06:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:06:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:17 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:06:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:06:19 $ docker top 9a4a676c79132f7535b29d05716c9bc4607a36c365f0b5641a430d9f1eb6f112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:06:20 ---> job-cost.sh 23:06:20 lf-activate-venv: SKIPPING 23:06:20 INFO: No Stack... 23:06:20 INFO: Retrieving Pricing Info for: v3-standard-8 23:06:20 INFO: Archiving Costs [Pipeline] sh 23:06:21 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:06:21 + cut -d, -f6 [Pipeline] lock 23:06:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] 23:06:21 Resource [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] did not exist. Created. 23:06:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:06:21 + echo total: 0.2199999988079071 [Pipeline] stash 23:06:21 Stashed 1 file(s) [Pipeline] } 23:06:21 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 23:06:21 $ docker stop --time=1 9a4a676c79132f7535b29d05716c9bc4607a36c365f0b5641a430d9f1eb6f112 23:06:22 $ docker rm -f 9a4a676c79132f7535b29d05716c9bc4607a36c365f0b5641a430d9f1eb6f112 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:08:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1458 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:08:06 Running in /w/workspace/device-onvif-camera/61 [Pipeline] { [Pipeline] checkout 23:08:06 The recommended git tool is: git 23:08:11 using credential edgex-jenkins-ssh 23:08:11 Cloning the remote Git repository 23:08:11 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:08:11 > git init /w/workspace/device-onvif-camera/61 # timeout=10 23:08:11 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:08:11 > git --version # timeout=10 23:08:11 > git --version # 'git version 2.25.1' 23:08:11 using GIT_SSH to set credentials SSH Credentials for GitHub 23:08:11 Verifying host key using known hosts file 23:08:11 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. 23:08:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:08:13 Avoid second fetch 23:08:13 Checking out Revision 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a (main) 23:08:13 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:08:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:08:13 > git config core.sparsecheckout # timeout=10 23:08:13 > git checkout -f 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 23:08:14 Commit message: "feat: remove control-plane-device (#153)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:08:15 % Total % Received % Xferd Average Speed Time Time Time Current 23:08:15 Dload Upload Total Spent Left Speed 23:08:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh 23:08:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:08:16 + sudo tee /etc/docker/daemon.new 23:08:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:08:16 { 23:08:16 "registry-mirrors": [ 23:08:16 "https://nexus3.edgexfoundry.org:10001" 23:08:16 ], 23:08:16 "bip": "10.250.0.254/24", 23:08:16 "hosts": [ 23:08:16 "tcp://0.0.0.0:5555", 23:08:16 "unix:///var/run/docker.sock" 23:08:16 ], 23:08:16 "mtu": 1458, 23:08:16 "selinux-enabled": true, 23:08:16 "seccomp-profile": "/etc/docker/seccomp.json" 23:08:16 } [Pipeline] sh 23:08:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:08:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:08:35 provisioning config files... 23:08:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/61@tmp/config7641626516172634194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:35 ---> docker-login.sh 23:08:35 nexus3.edgexfoundry.org:10001 23:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:36 Configure a credential helper to remove this warning. See 23:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:36 23:08:36 Login Succeeded 23:08:36 nexus3.edgexfoundry.org:10002 23:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:36 Configure a credential helper to remove this warning. See 23:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:36 23:08:36 Login Succeeded 23:08:36 nexus3.edgexfoundry.org:10003 23:08:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:36 Configure a credential helper to remove this warning. See 23:08:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:36 23:08:36 Login Succeeded 23:08:36 nexus3.edgexfoundry.org:10004 23:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:37 Configure a credential helper to remove this warning. See 23:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:37 23:08:37 Login Succeeded 23:08:37 docker.io 23:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:08:37 Configure a credential helper to remove this warning. See 23:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:08:37 23:08:37 Login Succeeded 23:08:37 ---> docker-login.sh ends [Pipeline] } 23:08:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:08:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:08:37 ========================================================= 23:08:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:08:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:38 + 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 . 23:08:38 Sending build context to Docker daemon 14.15MB 23:08:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:08:38 Step 2/13 : FROM ${BASE} AS builder 23:08:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:08:38 b3c136eddcbf: Pulling fs layer 23:08:38 c0a3192eca97: Pulling fs layer 23:08:38 a050256f5b6f: Pulling fs layer 23:08:38 656be50a0ddc: Pulling fs layer 23:08:38 2bbca73fdf42: Pulling fs layer 23:08:38 46d945488cbd: Pulling fs layer 23:08:38 8a5474983e97: Pulling fs layer 23:08:38 329c88fbcd65: Pulling fs layer 23:08:38 2bbca73fdf42: Waiting 23:08:38 46d945488cbd: Waiting 23:08:38 8a5474983e97: Waiting 23:08:38 656be50a0ddc: Waiting 23:08:38 329c88fbcd65: Waiting 23:08:38 a050256f5b6f: Verifying Checksum 23:08:38 a050256f5b6f: Download complete 23:08:38 c0a3192eca97: Verifying Checksum 23:08:38 c0a3192eca97: Download complete 23:08:38 2bbca73fdf42: Verifying Checksum 23:08:38 2bbca73fdf42: Download complete 23:08:38 46d945488cbd: Verifying Checksum 23:08:38 46d945488cbd: Download complete 23:08:38 b3c136eddcbf: Verifying Checksum 23:08:38 b3c136eddcbf: Download complete 23:08:39 b3c136eddcbf: Pull complete 23:08:40 329c88fbcd65: Verifying Checksum 23:08:40 329c88fbcd65: Download complete 23:08:40 c0a3192eca97: Pull complete 23:08:40 a050256f5b6f: Pull complete 23:08:41 8a5474983e97: Verifying Checksum 23:08:41 8a5474983e97: Download complete 23:08:42 656be50a0ddc: Verifying Checksum 23:08:42 656be50a0ddc: Download complete 23:08:54 656be50a0ddc: Pull complete 23:08:54 2bbca73fdf42: Pull complete 23:08:54 46d945488cbd: Pull complete 23:09:01 8a5474983e97: Pull complete 23:09:02 329c88fbcd65: Pull complete 23:09:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:09:02 ---> ff4287adb874 23:09:02 Step 3/13 : ARG MAKE="make build" 23:09:03 ---> Running in 45c7a5fa9190 23:09:04 Removing intermediate container 45c7a5fa9190 23:09:04 ---> c2461a7c622f 23:09:04 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:09:04 ---> Running in 189e39d96967 23:09:04 Removing intermediate container 189e39d96967 23:09:04 ---> d7a19c21b53c 23:09:04 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 23:09:04 ---> Running in d3c86fcb4a67 23:09:05 Removing intermediate container d3c86fcb4a67 23:09:05 ---> af912c3b4ead 23:09:05 Step 6/13 : LABEL Name=edgex-device-onvif-camera 23:09:05 ---> Running in 45bf5bd40e45 23:09:05 Removing intermediate container 45bf5bd40e45 23:09:05 ---> d554e2542611 23:09:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:09:05 ---> Running in 9982a75ff38f 23:09:07 Removing intermediate container 9982a75ff38f 23:09:07 ---> e070ae820a5c 23:09:07 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:09:07 ---> Running in b786e7ecb6d9 23:09:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:09:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:09:09 OK: 221 MiB in 51 packages 23:09:10 Removing intermediate container b786e7ecb6d9 23:09:10 ---> 0d9d0f0af9a9 23:09:10 Step 9/13 : WORKDIR /device-onvif-camera 23:09:10 ---> Running in ee9cdcba6657 23:09:11 Removing intermediate container ee9cdcba6657 23:09:11 ---> b8dcc90d2ba1 23:09:11 Step 10/13 : COPY go.mod vendor* ./ 23:09:11 ---> 70c066494656 23:09:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:09:11 ---> Running in b4eea3332b51 23:10:08 Removing intermediate container b4eea3332b51 23:10:08 ---> b264eef454af 23:10:08 Step 12/13 : COPY . . 23:10:08 ---> f964b1c79b63 23:10:08 Step 13/13 : RUN ${MAKE} 23:10:08 ---> Running in d8592ee01665 23:10:08 noop 23:10:08 Removing intermediate container d8592ee01665 23:10:08 ---> 9ea9ab5bab94 23:10:08 Successfully built 9ea9ab5bab94 23:10:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:08 + docker inspect -f . ci-base-image-arm64 23:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:08 prd-ubuntu20.04-docker-arm64-4c-16g-1458 does not seem to be running inside a container 23:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/61 -v /w/workspace/device-onvif-camera/61:/w/workspace/device-onvif-camera/61:rw,z -v /w/workspace/device-onvif-camera/61@tmp:/w/workspace/device-onvif-camera/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:10:09 $ docker top 10acd4dd28488014a227f14c19a033ddbd54f2c74f8dcce6e91205e377a57f30 -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:10 + go version 23:10:10 go version go1.18.3 linux/arm64 [Pipeline] } 23:10:10 $ docker stop --time=1 10acd4dd28488014a227f14c19a033ddbd54f2c74f8dcce6e91205e377a57f30 23:10:12 $ docker rm -f 10acd4dd28488014a227f14c19a033ddbd54f2c74f8dcce6e91205e377a57f30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:12 + docker inspect -f . ci-base-image-arm64 23:10:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:13 prd-ubuntu20.04-docker-arm64-4c-16g-1458 does not seem to be running inside a container 23:10:13 $ 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/61 -v /w/workspace/device-onvif-camera/61:/w/workspace/device-onvif-camera/61:rw,z -v /w/workspace/device-onvif-camera/61@tmp:/w/workspace/device-onvif-camera/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:10:14 $ docker top 2481b00e5a3aa7589982a6848bd706c615e19897cce3507c06025f7675b4e683 -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:14 + git config --global --add safe.directory /w/workspace/device-onvif-camera/61 [Pipeline] fileExists [Pipeline] sh 23:10:15 + make test 23:10:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:10:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:11:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:11:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements 23:11:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:12:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.494s coverage: 86.5% of statements 23:12:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:12:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:12:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:38 ./bin/test-attribution-txt.sh [Pipeline] echo 23:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:12:39 $ docker stop --time=1 2481b00e5a3aa7589982a6848bd706c615e19897cce3507c06025f7675b4e683 23:12:40 $ docker rm -f 2481b00e5a3aa7589982a6848bd706c615e19897cce3507c06025f7675b4e683 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:41 Warning: overwriting stash ‘coverage-report’ 23:12:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:43 + ls -al . 23:12:43 total 232 23:12:43 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 23:10 . 23:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:08 .. 23:12:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:08 .git 23:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:08 .github 23:12:43 -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 23:08 .gitignore 23:12:43 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 23:08 .golangci.yml 23:12:43 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 23:08 Attribution.txt 23:12:43 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 23:08 CHANGELOG.md 23:12:43 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 23:08 Dockerfile 23:12:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:08 GOVERNANCE.md 23:12:43 -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 23:08 Jenkinsfile 23:12:43 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 23:08 LICENSE 23:12:43 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 23:08 Makefile 23:12:43 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:08 OWNERS.md 23:12:43 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 23:08 README.md 23:12:43 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 23:04 VERSION 23:12:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:08 bin 23:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:08 cmd 23:12:43 -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 23:12 coverage.out 23:12:43 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 23:08 doc 23:12:43 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 23:08 go.mod 23:12:43 -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 23:08 go.sum 23:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:08 internal 23:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:08 snap 23:12:43 -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:43 + 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=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a --label arch=arm64 --label version=2.3.0-dev.22 . 23:12:43 Sending build context to Docker daemon 14.23MB 23:12:43 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:12:43 Step 2/26 : FROM ${BASE} AS builder 23:12:43 ---> 9ea9ab5bab94 23:12:43 Step 3/26 : ARG MAKE="make build" 23:12:44 ---> Running in 5a446122efc1 23:12:44 Removing intermediate container 5a446122efc1 23:12:44 ---> 1a3e2cdde1de 23:12:44 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 23:12:44 ---> Running in 3f8ba606f989 23:12:44 Removing intermediate container 3f8ba606f989 23:12:44 ---> 81b18398f70b 23:12:44 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 23:12:45 ---> Running in 56cf8d824178 23:12:45 Removing intermediate container 56cf8d824178 23:12:45 ---> 025cbae80452 23:12:45 Step 6/26 : LABEL Name=edgex-device-onvif-camera 23:12:45 ---> Running in ed042d959d58 23:12:45 Removing intermediate container ed042d959d58 23:12:45 ---> e9644a595aa0 23:12:45 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:45 ---> Running in bc9a4203ee41 23:12:48 Removing intermediate container bc9a4203ee41 23:12:48 ---> 5b17a8d642d4 23:12:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:48 ---> Running in 82c7c0f4f899 23:12:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:12:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:12:51 OK: 221 MiB in 51 packages 23:12:52 Removing intermediate container 82c7c0f4f899 23:12:52 ---> 71223b1f3f78 23:12:52 Step 9/26 : WORKDIR /device-onvif-camera 23:12:52 ---> Running in f7a77e2460a0 23:12:53 Removing intermediate container f7a77e2460a0 23:12:53 ---> 3062910ffefe 23:12:53 Step 10/26 : COPY go.mod vendor* ./ 23:12:54 ---> 992419ac9cbf 23:12:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:54 ---> Running in 5b8b9b091db3 23:12:56 Removing intermediate container 5b8b9b091db3 23:12:56 ---> 9aa8be581a4e 23:12:56 Step 12/26 : COPY . . 23:12:59 ---> a64156b98318 23:12:59 Step 13/26 : RUN ${MAKE} 23:12:59 ---> Running in 2b5e5ec9cae0 23:13:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.22 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 23:15:22 Removing intermediate container 2b5e5ec9cae0 23:15:22 ---> a04d12c43452 23:15:22 Step 14/26 : FROM alpine:3.16 23:15:22 3.16: Pulling from library/alpine 23:15:22 9b18e9b68314: Pulling fs layer 23:15:22 9b18e9b68314: Download complete 23:15:22 9b18e9b68314: Pull complete 23:15:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:15:22 Status: Downloaded newer image for alpine:3.16 23:15:22 ---> a6215f271958 23:15:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:15:22 ---> Running in b76d2fbd3d0b 23:15:22 Removing intermediate container b76d2fbd3d0b 23:15:22 ---> 93bb8dd8ea11 23:15:22 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:15:22 ---> Running in 99af9797d841 23:15:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:15:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:15:22 (1/6) Installing dumb-init (1.2.5-r1) 23:15:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:15:22 (3/6) Installing libsodium (1.0.18-r0) 23:15:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:15:22 (5/6) Installing libzmq (4.3.4-r0) 23:15:22 (6/6) Installing zeromq (4.3.4-r0) 23:15:22 Executing busybox-1.35.0-r17.trigger 23:15:22 OK: 8 MiB in 20 packages 23:15:22 Removing intermediate container 99af9797d841 23:15:22 ---> a0faf8bbc803 23:15:22 Step 17/26 : WORKDIR / 23:15:22 ---> Running in bef095b293ce 23:15:22 Removing intermediate container bef095b293ce 23:15:22 ---> 391fc1984afd 23:15:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:15:23 ---> 011146ad26d5 23:15:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:15:23 ---> a832735252f1 23:15:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:15:24 ---> 7d80eab95f9b 23:15:24 Step 21/26 : EXPOSE 59984 23:15:24 ---> Running in 1489d965fe4e 23:15:24 Removing intermediate container 1489d965fe4e 23:15:24 ---> 74308e3124b9 23:15:24 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:15:24 ---> Running in e7477b18530e 23:15:24 Removing intermediate container e7477b18530e 23:15:24 ---> df7005d44208 23:15:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:15:24 ---> Running in 0bf03ec25959 23:15:25 Removing intermediate container 0bf03ec25959 23:15:25 ---> 3a004a1757f5 23:15:25 Step 24/26 : LABEL arch=arm64 23:15:25 ---> Running in 747d0d59207f 23:15:25 Removing intermediate container 747d0d59207f 23:15:25 ---> 97e12fbd2b3a 23:15:25 Step 25/26 : LABEL git_sha=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:15:25 ---> Running in 2e8145b4191c 23:15:26 Removing intermediate container 2e8145b4191c 23:15:26 ---> 87660be54445 23:15:26 Step 26/26 : LABEL version=2.3.0-dev.22 23:15:26 ---> Running in 5d0f69c0c156 23:15:26 Removing intermediate container 5d0f69c0c156 23:15:26 ---> 20fa64d96d19 23:15:26 [Warning] One or more build-args [ARCH] were not consumed 23:15:26 Successfully built 20fa64d96d19 23:15:26 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 23:15:26 provisioning config files... 23:15:26 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/61@tmp/config7422374201300426122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:26 ---> docker-login.sh 23:15:26 nexus3.edgexfoundry.org:10001 23:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:27 Configure a credential helper to remove this warning. See 23:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:27 23:15:27 Login Succeeded 23:15:27 nexus3.edgexfoundry.org:10002 23:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:27 Configure a credential helper to remove this warning. See 23:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:27 23:15:27 Login Succeeded 23:15:27 nexus3.edgexfoundry.org:10003 23:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:27 Configure a credential helper to remove this warning. See 23:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:27 23:15:27 Login Succeeded 23:15:27 nexus3.edgexfoundry.org:10004 23:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:27 Configure a credential helper to remove this warning. See 23:15:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:27 23:15:27 Login Succeeded 23:15:27 docker.io 23:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:28 Configure a credential helper to remove this warning. See 23:15:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:28 23:15:28 Login Succeeded 23:15:28 ---> docker-login.sh ends [Pipeline] } 23:15:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:15:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:15:28 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:15:28 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:15:28 latest 23:15:28 2.3.0-dev.22 23:15:28 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:15:28 main 23:15:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:29 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:29 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:15:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:15:29 fe8bbfda3eef: Preparing 23:15:29 94bd77adf8f2: Preparing 23:15:29 9f8efe23d32c: Preparing 23:15:29 4a6d4245ced1: Preparing 23:15:29 5d3e392a13a0: Preparing 23:15:29 5d3e392a13a0: Layer already exists 23:15:29 fe8bbfda3eef: Pushed 23:15:29 94bd77adf8f2: Pushed 23:15:30 4a6d4245ced1: Pushed 23:15:35 9f8efe23d32c: Pushed 23:15:35 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a: digest: sha256:9acb3546cb3b9a9c1eacb648fa99d162885a4da623763834c43e72076e0be714 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:36 + 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 23:15:36 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:15:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:15:36 fe8bbfda3eef: Preparing 23:15:36 94bd77adf8f2: Preparing 23:15:36 9f8efe23d32c: Preparing 23:15:36 4a6d4245ced1: Preparing 23:15:36 5d3e392a13a0: Preparing 23:15:36 9f8efe23d32c: Layer already exists 23:15:36 94bd77adf8f2: Layer already exists 23:15:36 fe8bbfda3eef: Layer already exists 23:15:36 4a6d4245ced1: Layer already exists 23:15:36 5d3e392a13a0: Layer already exists 23:15:36 latest: digest: sha256:9acb3546cb3b9a9c1eacb648fa99d162885a4da623763834c43e72076e0be714 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:36 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.22 23:15:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:15:37 fe8bbfda3eef: Preparing 23:15:37 94bd77adf8f2: Preparing 23:15:37 9f8efe23d32c: Preparing 23:15:37 4a6d4245ced1: Preparing 23:15:37 5d3e392a13a0: Preparing 23:15:37 5d3e392a13a0: Layer already exists 23:15:37 fe8bbfda3eef: Layer already exists 23:15:37 4a6d4245ced1: Layer already exists 23:15:37 9f8efe23d32c: Layer already exists 23:15:37 94bd77adf8f2: Layer already exists 23:15:37 2.3.0-dev.22: digest: sha256:9acb3546cb3b9a9c1eacb648fa99d162885a4da623763834c43e72076e0be714 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:15:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:15:37 fe8bbfda3eef: Preparing 23:15:37 94bd77adf8f2: Preparing 23:15:37 9f8efe23d32c: Preparing 23:15:37 4a6d4245ced1: Preparing 23:15:37 5d3e392a13a0: Preparing 23:15:37 9f8efe23d32c: Layer already exists 23:15:37 5d3e392a13a0: Layer already exists 23:15:37 94bd77adf8f2: Layer already exists 23:15:37 fe8bbfda3eef: Layer already exists 23:15:37 4a6d4245ced1: Layer already exists 23:15:37 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22: digest: sha256:9acb3546cb3b9a9c1eacb648fa99d162885a4da623763834c43e72076e0be714 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:38 + 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 23:15:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:15:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:15:38 fe8bbfda3eef: Preparing 23:15:38 94bd77adf8f2: Preparing 23:15:38 9f8efe23d32c: Preparing 23:15:38 4a6d4245ced1: Preparing 23:15:38 5d3e392a13a0: Preparing 23:15:38 4a6d4245ced1: Layer already exists 23:15:38 9f8efe23d32c: Layer already exists 23:15:38 5d3e392a13a0: Layer already exists 23:15:38 fe8bbfda3eef: Layer already exists 23:15:38 94bd77adf8f2: Layer already exists 23:15:38 main: digest: sha256:9acb3546cb3b9a9c1eacb648fa99d162885a4da623763834c43e72076e0be714 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:15:38 ===================================================== [Pipeline] echo 23:15:38 taggedImages: 23:15:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a 23:15:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:15:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.22 23:15:38 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:93a2116a16fd236fe7cdb3fd99bdb7206e0b648a-2.3.0-dev.22 23:15:38 - 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 23:15:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:38 23:15:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:15:39 arm64: Pulling from edgex-lftools-log-publisher 23:15:39 8998bd30e6a1: Pulling fs layer 23:15:39 04944245beec: Pulling fs layer 23:15:39 699f458cf7ca: Pulling fs layer 23:15:39 765212b225bb: Pulling fs layer 23:15:39 f23df028b6ca: Pulling fs layer 23:15:39 d65c8cfc05b1: Pulling fs layer 23:15:39 2437ff75d9bd: Pulling fs layer 23:15:39 765212b225bb: Waiting 23:15:39 f23df028b6ca: Waiting 23:15:39 d65c8cfc05b1: Waiting 23:15:39 2437ff75d9bd: Waiting 23:15:39 04944245beec: Verifying Checksum 23:15:39 04944245beec: Download complete 23:15:39 765212b225bb: Verifying Checksum 23:15:39 765212b225bb: Download complete 23:15:39 f23df028b6ca: Download complete 23:15:39 d65c8cfc05b1: Verifying Checksum 23:15:39 d65c8cfc05b1: Download complete 23:15:39 699f458cf7ca: Verifying Checksum 23:15:39 699f458cf7ca: Download complete 23:15:40 8998bd30e6a1: Verifying Checksum 23:15:40 8998bd30e6a1: Download complete 23:15:41 2437ff75d9bd: Verifying Checksum 23:15:41 2437ff75d9bd: Download complete 23:15:43 8998bd30e6a1: Pull complete 23:15:44 04944245beec: Pull complete 23:15:45 699f458cf7ca: Pull complete 23:15:45 765212b225bb: Pull complete 23:15:46 f23df028b6ca: Pull complete 23:15:46 d65c8cfc05b1: Pull complete 23:16:01 2437ff75d9bd: Pull complete 23:16:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:01 prd-ubuntu20.04-docker-arm64-4c-16g-1458 does not seem to be running inside a container 23:16:01 $ 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/61 -v /w/workspace/device-onvif-camera/61:/w/workspace/device-onvif-camera/61:rw,z -v /w/workspace/device-onvif-camera/61@tmp:/w/workspace/device-onvif-camera/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:16:04 $ docker top 34ce8a22a30bc496fedc05a467749d44861de4e06441864234ede3b453e303a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:05 ---> job-cost.sh 23:16:05 lf-activate-venv: SKIPPING 23:16:05 INFO: No Stack... 23:16:06 INFO: Retrieving Pricing Info for: v3-standard-4 23:16:07 INFO: Archiving Costs [Pipeline] sh 23:16:07 + + cut -d, -f6 23:16:07 cat /w/workspace/device-onvif-camera/61/archives/cost.csv [Pipeline] lock 23:16:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] 23:16:07 Resource [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] did not exist. Created. 23:16:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:08 /w/workspace/device-onvif-camera/61@tmp/durable-06d97e27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:16:09 + echo total: 0.10999999940395355 [Pipeline] stash 23:16:09 Warning: overwriting stash ‘stack-cost’ 23:16:09 Stashed 1 file(s) [Pipeline] } 23:16:09 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:09 $ docker stop --time=1 34ce8a22a30bc496fedc05a467749d44861de4e06441864234ede3b453e303a3 23:16:10 $ docker rm -f 34ce8a22a30bc496fedc05a467749d44861de4e06441864234ede3b453e303a3 [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 23:16:11 provisioning config files... 23:16:11 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4248456635027300226tmp [Pipeline] { [Pipeline] sh 23:16:11 + set +x 23:16:11 + bash -s -- 23:16:11 + curl -s https://codecov.io/bash 23:16:11 23:16:11 _____ _ 23:16:11 / ____| | | 23:16:11 | | ___ __| | ___ ___ _____ __ 23:16:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:16:11 | |___| (_) | (_| | __/ (_| (_) \ V / 23:16:11 \_____\___/ \__,_|\___|\___\___/ \_/ 23:16:11 Bash-1.0.6 23:16:11 23:16:11 23:16:11 ==> git version 2.25.1 found 23:16:11 ==> 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 23:16:11 Release-Date: 2020-01-08 23:16:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:16:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:16:11 ==> Jenkins CI detected. 23:16:11 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:16:11 project root: . 23:16:11 --> token set from env 23:16:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:16:11 ==> Running gcov in . (disable via -X gcov) 23:16:11 ==> Python coveragepy not found 23:16:11 ==> Searching for coverage reports in: 23:16:11 + . 23:16:11 -> Found 1 reports 23:16:11 ==> Detecting git/mercurial file structure 23:16:11 ==> Reading reports 23:16:11 + ./coverage.out bytes=78461 23:16:11 ==> Appending adjustments 23:16:11 https://docs.codecov.io/docs/fixing-reports 23:16:11 + Found adjustments 23:16:11 ==> Gzipping contents 23:16:11 12K /tmp/codecov.XB6f67.gz 23:16:11 ==> Uploading reports 23:16:11 url: https://codecov.io 23:16:11 query: branch=main&commit=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:16:11 -> Pinging Codecov 23:16:11 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=93a2116a16fd236fe7cdb3fd99bdb7206e0b648a&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:16:12 -> Uploading to 23:16:12 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/F29A59C45E3A92E06B3E522C9905F8EF/93a2116a16fd236fe7cdb3fd99bdb7206e0b648a/a9a9b5f0-b4c7-429f-818f-ff1744c036d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T231612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d502f4b04b650929039e1aef05c99d9ac117907847951dcafc73602f635e4af 23:16:12 % Total % Received % Xferd Average Speed Time Time Time Current 23:16:12 Dload Upload Total Spent Left Speed 23:16:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10707 0 0 100 10707 0 41022 --:--:-- --:--:-- --:--:-- 41022 23:16:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] } 23:16:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:16:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:16:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:16:13 23:16:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:16:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:16:13 df9b9388f04a: Pulling fs layer 23:16:13 52dc419b0ee2: Pulling fs layer 23:16:13 25bc292e5bac: Pulling fs layer 23:16:13 114826534d7a: Pulling fs layer 23:16:13 4657fd5d0bcf: Pulling fs layer 23:16:13 6ad1cebc031e: Pulling fs layer 23:16:13 8a3aa393b2d8: Pulling fs layer 23:16:13 114826534d7a: Waiting 23:16:13 4657fd5d0bcf: Waiting 23:16:13 6ad1cebc031e: Waiting 23:16:13 8a3aa393b2d8: Waiting 23:16:13 25bc292e5bac: Verifying Checksum 23:16:13 25bc292e5bac: Download complete 23:16:13 52dc419b0ee2: Download complete 23:16:13 4657fd5d0bcf: Verifying Checksum 23:16:13 4657fd5d0bcf: Download complete 23:16:13 df9b9388f04a: Verifying Checksum 23:16:14 df9b9388f04a: Pull complete 23:16:14 6ad1cebc031e: Verifying Checksum 23:16:14 6ad1cebc031e: Download complete 23:16:14 52dc419b0ee2: Pull complete 23:16:14 25bc292e5bac: Pull complete 23:16:14 114826534d7a: Verifying Checksum 23:16:14 114826534d7a: Download complete 23:16:14 8a3aa393b2d8: Download complete 23:16:17 114826534d7a: Pull complete 23:16:17 4657fd5d0bcf: Pull complete 23:16:17 6ad1cebc031e: Pull complete 23:16:20 8a3aa393b2d8: Pull complete 23:16:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:16:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:16:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:20 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:16:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:16:22 $ docker top 2c784f4b4101c567f29b4259bcef2aa205a661f0265432264b3808f0f6ca9283 -eo pid,comm [Pipeline] { [Pipeline] echo 23:16:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:16:22 + set -o pipefail 23:16:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:16:27 23:16:27 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:16:27 23:16:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/feeefc49-432a-4c18-8f83-5e0b7464d62b 23:16:27 23:16:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:16:27 23:16:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:16:27 23:16:27 [Pipeline] } 23:16:27 $ docker stop --time=1 2c784f4b4101c567f29b4259bcef2aa205a661f0265432264b3808f0f6ca9283 23:16:29 $ docker rm -f 2c784f4b4101c567f29b4259bcef2aa205a661f0265432264b3808f0f6ca9283 [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 23:16:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:29 provisioning config files... 23:16:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9609225431437786483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:30 --> edgex-publish-swagger.sh 23:16:30 === Publish doc/openapi/v2 API === 23:16:30 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:16:30 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:16:30 % Total % Received % Xferd Average Speed Time Time Time Current 23:16:30 Dload Upload Total Spent Left Speed 23:16:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 805k --:--:-- --:--:-- --:--:-- 800k 100 139k 0 0 100 139k 0 160k --:--:-- --:--:-- --:--:-- 160k 23:16:31 23:16:31 [Pipeline] } 23:16:31 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 23:16:31 + git log --format=format:%s -1 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a [Pipeline] sh 23:16:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:32 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:16:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:16:32 $ docker top 18fd1c354309aa807a4739096d2e80068af3994ff69ecddf30ce90431a01a7e4 -eo pid,comm 23:16:32 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). 23:16:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:32 [ssh-agent] Looking for ssh-agent implementation... 23:16:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:32 $ docker exec 18fd1c354309aa807a4739096d2e80068af3994ff69ecddf30ce90431a01a7e4 ssh-agent 23:16:32 SSH_AUTH_SOCK=/tmp/ssh-jTg7geUVp97e/agent.32 23:16:32 SSH_AGENT_PID=38 23:16:32 Running ssh-add (command line suppressed) 23:16:33 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18352034927998012353.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18352034927998012353.key) 23:16:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:33 + git semver tag 23:16:33 2022-09-27 23:16:33,484 [run_tag] DEBUG tag force:False 23:16:33 2022-09-27 23:16:33,484 [check_head_tag] DEBUG check head tag 23:16:33 2022-09-27 23:16:33,485 [execute] INFO git cat-file --batch-check 23:16:33 2022-09-27 23:16:33,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:16:33 2022-09-27 23:16:33,489 [execute] INFO git cat-file --batch 23:16:33 2022-09-27 23:16:33,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:16:33 2022-09-27 23:16:33,508 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:33 2022-09-27 23:16:33,508 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 23:16:33 2022-09-27 23:16:33,508 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:16:33 2022-09-27 23:16:33,513 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:33 2.3.0-dev.22 [Pipeline] } 23:16:33 $ docker exec --env ******** --env ******** 18fd1c354309aa807a4739096d2e80068af3994ff69ecddf30ce90431a01a7e4 ssh-agent -k 23:16:33 unset SSH_AUTH_SOCK; 23:16:33 unset SSH_AGENT_PID; 23:16:33 echo Agent pid 38 killed; 23:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:33 + git semver [Pipeline] } 23:16:34 $ docker stop --time=1 18fd1c354309aa807a4739096d2e80068af3994ff69ecddf30ce90431a01a7e4 23:16:35 $ docker rm -f 18fd1c354309aa807a4739096d2e80068af3994ff69ecddf30ce90431a01a7e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:16:35 23:16:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:16:36 0.23.1-centos7: Pulling from edgex-lftools 23:16:36 ab5ef0e58194: Pulling fs layer 23:16:36 9712f1f96733: Pulling fs layer 23:16:36 63f879dbbcfc: Pulling fs layer 23:16:36 0d9ebad4ef96: Pulling fs layer 23:16:36 e9a5061849ea: Pulling fs layer 23:16:36 d747dcd14b5f: Pulling fs layer 23:16:36 2de7ff778b66: Pulling fs layer 23:16:36 e9a5061849ea: Waiting 23:16:36 0d9ebad4ef96: Waiting 23:16:36 d747dcd14b5f: Waiting 23:16:36 2de7ff778b66: Waiting 23:16:36 9712f1f96733: Download complete 23:16:36 63f879dbbcfc: Verifying Checksum 23:16:36 63f879dbbcfc: Download complete 23:16:36 0d9ebad4ef96: Verifying Checksum 23:16:36 0d9ebad4ef96: Download complete 23:16:36 d747dcd14b5f: Download complete 23:16:36 ab5ef0e58194: Verifying Checksum 23:16:36 ab5ef0e58194: Download complete 23:16:37 e9a5061849ea: Verifying Checksum 23:16:37 e9a5061849ea: Download complete 23:16:37 2de7ff778b66: Download complete 23:16:39 ab5ef0e58194: Pull complete 23:16:39 9712f1f96733: Pull complete 23:16:39 63f879dbbcfc: Pull complete 23:16:43 0d9ebad4ef96: Pull complete 23:16:43 e9a5061849ea: Pull complete 23:16:43 d747dcd14b5f: Pull complete 23:16:44 2de7ff778b66: Pull complete 23:16:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:16:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:44 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:16: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:16:45 $ docker top a1e941c3ca126a561c69bce65348fe89fbe2c520e5f8927d3889188a11db956f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:16:45 provisioning config files... 23:16:45 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3906318749036521251tmp 23:16:45 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13034324313719539895tmp 23:16:45 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15639508365617697591tmp [Pipeline] { [Pipeline] echo 23:16:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:16:46 ---> sigul-configuration.sh 23:16:46 gpg: directory `/root/.gnupg' created 23:16:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:16:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:16:46 gpg: keyring `/root/.gnupg/secring.gpg' created 23:16:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:16:46 gpg: CAST5 encrypted data 23:16:46 gpg: encrypted with 1 passphrase 23:16:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:16:46 + mkdir /home/jenkins 23:16:46 + mkdir /home/jenkins/sigul [Pipeline] sh 23:16:46 + 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 23:16:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:16:47 ---> sigul-install.sh 23:16:47 Sigul already installed; skipping installation. [Pipeline] sh 23:16:47 + git tag --list 23:16:47 v0.0.0 23:16:47 v0.0.1-dev.1 23:16:47 v0.0.1-dev.10 23:16:47 v0.0.1-dev.11 23:16:47 v0.0.1-dev.12 23:16:47 v0.0.1-dev.13 23:16:47 v0.0.1-dev.14 23:16:47 v0.0.1-dev.15 23:16:47 v0.0.1-dev.16 23:16:47 v0.0.1-dev.17 23:16:47 v0.0.1-dev.18 23:16:47 v0.0.1-dev.19 23:16:47 v0.0.1-dev.2 23:16:47 v0.0.1-dev.20 23:16:47 v0.0.1-dev.21 23:16:47 v0.0.1-dev.22 23:16:47 v0.0.1-dev.23 23:16:47 v0.0.1-dev.24 23:16:47 v0.0.1-dev.25 23:16:47 v0.0.1-dev.26 23:16:47 v0.0.1-dev.27 23:16:47 v0.0.1-dev.28 23:16:47 v0.0.1-dev.3 23:16:47 v0.0.1-dev.4 23:16:47 v0.0.1-dev.5 23:16:47 v0.0.1-dev.6 23:16:47 v0.0.1-dev.7 23:16:47 v0.0.1-dev.8 23:16:47 v0.0.1-dev.9 23:16:47 v2.2.0 23:16:47 v2.2.0-dev.29 23:16:47 v2.2.0-dev.30 23:16:47 v2.2.0-dev.31 23:16:47 v2.2.0-dev.32 23:16:47 v2.2.0-dev.33 23:16:47 v2.2.0-dev.34 23:16:47 v2.2.0-dev.35 23:16:47 v2.3.0-dev.1 23:16:47 v2.3.0-dev.10 23:16:47 v2.3.0-dev.11 23:16:47 v2.3.0-dev.12 23:16:47 v2.3.0-dev.13 23:16:47 v2.3.0-dev.14 23:16:47 v2.3.0-dev.15 23:16:47 v2.3.0-dev.16 23:16:47 v2.3.0-dev.17 23:16:47 v2.3.0-dev.18 23:16:47 v2.3.0-dev.19 23:16:47 v2.3.0-dev.2 23:16:47 v2.3.0-dev.20 23:16:47 v2.3.0-dev.21 23:16:47 v2.3.0-dev.22 23:16:47 v2.3.0-dev.3 23:16:47 v2.3.0-dev.4 23:16:47 v2.3.0-dev.5 23:16:47 v2.3.0-dev.6 23:16:47 v2.3.0-dev.7 23:16:47 v2.3.0-dev.8 23:16:47 v2.3.0-dev.9 [Pipeline] sh 23:16:47 + lftools sign git-tag v2.3.0-dev.22 23:16:48 Signing Git tag with Sigul... 23:16:48 Signing v2.3.0-dev.22 [Pipeline] echo 23:16:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:16:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:16:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:16:48 $ docker stop --time=1 a1e941c3ca126a561c69bce65348fe89fbe2c520e5f8927d3889188a11db956f 23:16:50 $ docker rm -f a1e941c3ca126a561c69bce65348fe89fbe2c520e5f8927d3889188a11db956f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:16:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:50 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:16:51 $ docker top bd3136b7649e893a969d5cd0902d4f347ca58f29afae4db8b7a373047d676e68 -eo pid,comm 23:16:51 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). 23:16:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:51 [ssh-agent] Looking for ssh-agent implementation... 23:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:51 $ docker exec bd3136b7649e893a969d5cd0902d4f347ca58f29afae4db8b7a373047d676e68 ssh-agent 23:16:51 SSH_AUTH_SOCK=/tmp/ssh-Sb1C3r7hW3ip/agent.32 23:16:51 SSH_AGENT_PID=38 23:16:51 Running ssh-add (command line suppressed) 23:16:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8990429221181296115.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8990429221181296115.key) 23:16:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:51 + git semver bump pre 23:16:52 2022-09-27 23:16:52,020 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:52 2022-09-27 23:16:52,021 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 23:16:52 2022-09-27 23:16:52,021 [bump_version] DEBUG bumped version:2.3.0-dev.23 23:16:52 2022-09-27 23:16:52,021 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:16:52 2022-09-27 23:16:52,021 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:52 2022-09-27 23:16:52,021 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:52 2022-09-27 23:16:52,023 [execute] INFO git cat-file --batch-check 23:16:52 2022-09-27 23:16:52,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:16:52 2022-09-27 23:16:52,028 [execute] INFO git cat-file --batch 23:16:52 2022-09-27 23:16:52,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:16:52 2022-09-27 23:16:52,033 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:52 2.3.0-dev.23 [Pipeline] } 23:16:52 $ docker exec --env ******** --env ******** bd3136b7649e893a969d5cd0902d4f347ca58f29afae4db8b7a373047d676e68 ssh-agent -k 23:16:52 unset SSH_AUTH_SOCK; 23:16:52 unset SSH_AGENT_PID; 23:16:52 echo Agent pid 38 killed; 23:16:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:52 + git semver [Pipeline] } 23:16:52 $ docker stop --time=1 bd3136b7649e893a969d5cd0902d4f347ca58f29afae4db8b7a373047d676e68 23:16:54 $ docker rm -f bd3136b7649e893a969d5cd0902d4f347ca58f29afae4db8b7a373047d676e68 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:54 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:16:55 $ docker top b525dfcdb8e8237e1d582ddc975313c365693b7a50d13b16b9681087354c67ce -eo pid,comm 23:16:55 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). 23:16:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:55 [ssh-agent] Looking for ssh-agent implementation... 23:16:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:55 $ docker exec b525dfcdb8e8237e1d582ddc975313c365693b7a50d13b16b9681087354c67ce ssh-agent 23:16:55 SSH_AUTH_SOCK=/tmp/ssh-uNeoLNZHmegT/agent.32 23:16:55 SSH_AGENT_PID=38 23:16:55 Running ssh-add (command line suppressed) 23:16:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6301300124642211576.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6301300124642211576.key) 23:16:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:55 + git semver push 23:16:56 2022-09-27 23:16:56,013 [run_push] DEBUG push 23:16:56 2022-09-27 23:16:56,014 [execute] INFO git cat-file --batch-check 23:16:56 2022-09-27 23:16:56,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:16:56 2022-09-27 23:16:56,018 [execute] INFO git rev-list dee59fb1d18a678154de5f7e8cf5db9a10438218 -- 23:16:56 2022-09-27 23:16:56,018 [execute] DEBUG Popen(['git', 'rev-list', 'dee59fb1d18a678154de5f7e8cf5db9a10438218', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:16:56 2022-09-27 23:16:56,023 [execute] INFO git fetch -v origin 23:16:56 2022-09-27 23:16:56,023 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:16:56 2022-09-27 23:16:56,596 [run_push] DEBUG no remote changes detected 23:16:56 2022-09-27 23:16:56,596 [execute] INFO git push origin semver 23:16:56 2022-09-27 23:16:56,597 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:16:57 2022-09-27 23:16:57,340 [run_push] DEBUG push all version tags 23:16:57 2022-09-27 23:16:57,340 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:16:57 2022-09-27 23:16:57,341 [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) 23:16:58 2022-09-27 23:16:58,101 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:16:58 2.3.0-dev.23 [Pipeline] } 23:16:58 $ docker exec --env ******** --env ******** b525dfcdb8e8237e1d582ddc975313c365693b7a50d13b16b9681087354c67ce ssh-agent -k 23:16:58 unset SSH_AUTH_SOCK; 23:16:58 unset SSH_AGENT_PID; 23:16:58 echo Agent pid 38 killed; 23:16:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:58 + git semver [Pipeline] } 23:16:58 $ docker stop --time=1 b525dfcdb8e8237e1d582ddc975313c365693b7a50d13b16b9681087354c67ce 23:17:00 $ docker rm -f b525dfcdb8e8237e1d582ddc975313c365693b7a50d13b16b9681087354c67ce [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 23:17:00 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:17:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:17:00 total 16 23:17:00 drwxr-xr-x 3 root root 4096 Sep 27 23:06 . 23:17:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:16 .. 23:17:00 drwxr-xr-x 2 root root 4096 Sep 27 23:06 cost 23:17:00 -rw-r--r-- 1 root root 90 Sep 27 23:06 cost.csv 23:17:00 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:17:00 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:17:00 total 16 23:17:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:06 . 23:17:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:16 .. 23:17:00 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 23:06 cost 23:17:00 -rw-r--r-- 1 jenkins jenkins 90 Sep 27 23:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:17:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:17:01 ---> package-listing.sh 23:17:01 ++ facter osfamily 23:17:01 ++ tr '[:upper:]' '[:lower:]' 23:17:02 + OS_FAMILY=debian 23:17:02 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:17:02 + START_PACKAGES=/tmp/packages_start.txt 23:17:02 + END_PACKAGES=/tmp/packages_end.txt 23:17:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:17:02 + PACKAGES=/tmp/packages_start.txt 23:17:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:17:02 + PACKAGES=/tmp/packages_end.txt 23:17:02 + case "${OS_FAMILY}" in 23:17:02 + dpkg -l 23:17:02 + grep '^ii' 23:17:02 + '[' -f /tmp/packages_start.txt ']' 23:17:02 + '[' -f /tmp/packages_end.txt ']' 23:17:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:17:02 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:17:02 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:17:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:17:02 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 23:17:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:02 prd-ubuntu20.04-docker-8c-8g-1457 does not seem to be running inside a container 23:17:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:17:03 $ docker top 0e99f03d5b45d1aede4f76a40e1d95aa8e4d6943c80e750941d59978a065725e -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:03 + touch /tmp/pre-build-complete [Pipeline] sh 23:17:03 + mkdir -p /var/log/sysstat [Pipeline] sh 23:17:04 + ls /var/log/sa-host 23:17:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:04 provisioning config files... 23:17:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3519100978165417371tmp [Pipeline] { [Pipeline] echo 23:17:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:17:04 ---> create-netrc.sh [Pipeline] } 23:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:17:05 ---> python-tools-install.sh [Pipeline] echo 23:17:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:17:05 ---> sudo-logs.sh 23:17:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:17:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:17:05 ---> job-cost.sh 23:17:05 lf-activate-venv: SKIPPING 23:17:05 DEBUG: total: 0.2199999988079071 23:17:05 INFO: Retrieving Stack Cost... 23:17:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:17:06 INFO: Archiving Costs [Pipeline] echo 23:17:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:17:06 ---> logs-deploy.sh 23:17:06 lf-activate-venv: SKIPPING 23:17:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/61 23:17:06 INFO: archiving workspace using pattern(s): 23:17:07 Archives upload complete. 23:17:07 INFO: archiving logs to Nexus