Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh5303508671976563327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2500877746587982224.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13801066273585258359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh2947699805590757706.key > 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-ssh10959840883826749191.key > 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-1002 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 > 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 b19be15f1aae5ce963d99b90e51172ceff0b476d (main) Commit message: "ci: Change dependabot gomod schedule to daily (#264)" > 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-list --no-walk d13e481dd874f1286a187d197f108b2a3a763e5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:44 ========================================================= 16:21:44 EdgeX Global Pipelines Version Info 16:21:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:21:45 ------------------- 16:21:45 stable info: 16:21:45 ------------------- 16:21:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:45 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:21:45 Message: update stable to v1.0.245 16:21:45 ------------------- 16:21:45 experimental info: 16:21:45 ------------------- 16:21:45 Commited By: **** collab-it+edgex@linuxfoundation.org 16:21:45 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:21:45 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19be15 [Pipeline] echo 16:21:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:46 provisioning config files... 16:21:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16286673811611957061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:46 ---> docker-login.sh 16:21:46 nexus3.edgexfoundry.org:10001 16:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:46 Configure a credential helper to remove this warning. See 16:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:46 16:21:46 Login Succeeded 16:21:46 nexus3.edgexfoundry.org:10002 16:21:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:46 Configure a credential helper to remove this warning. See 16:21:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:46 16:21:46 Login Succeeded 16:21:46 nexus3.edgexfoundry.org:10003 16:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:47 Configure a credential helper to remove this warning. See 16:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:47 16:21:47 Login Succeeded 16:21:47 nexus3.edgexfoundry.org:10004 16:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:47 Configure a credential helper to remove this warning. See 16:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:47 16:21:47 Login Succeeded 16:21:47 docker.io 16:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:47 Configure a credential helper to remove this warning. See 16:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:47 16:21:47 Login Succeeded 16:21:47 ---> docker-login.sh ends [Pipeline] } 16:21:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:47 + git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 16:21:47 -----------> git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d b19be15f1aae5ce963d99b90e51172ceff0b476d [false] [Pipeline] sh 16:21:48 + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 16:21:48 ========================================================= 16:21:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:48 + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 16:21:48 [semverPrep] GIT_COMMIT: b19be15f1aae5ce963d99b90e51172ceff0b476d, Commit Message: ci: Change dependabot gomod schedule to daily (#264) [Pipeline] echo 16:21:48 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:49 + grep -v github /etc/ssh/ssh_known_hosts 16:21:49 + [ -e /tmp/ssh_known_hosts ] 16:21:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:21:49 + sudo tee -a /etc/ssh/ssh_known_hosts 16:21:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:49 16:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:49 0.1.4: Pulling from edgex-devops/py-git-semver 16:21:49 b85a868b505f: Pulling fs layer 16:21:49 e2be974225ed: Pulling fs layer 16:21:49 339a4e72a1f5: Pulling fs layer 16:21:49 988bab9f4d93: Pulling fs layer 16:21:49 1469e6f7b9e6: Pulling fs layer 16:21:49 eaf3925da568: Pulling fs layer 16:21:49 bab4dde63d76: Pulling fs layer 16:21:49 988bab9f4d93: Waiting 16:21:49 1469e6f7b9e6: Waiting 16:21:49 bde34c3a00c8: Pulling fs layer 16:21:49 b352a97aabf1: Pulling fs layer 16:21:49 bde34c3a00c8: Waiting 16:21:49 4872d77fe225: Pulling fs layer 16:21:49 bab4dde63d76: Waiting 16:21:49 5851b861e8e6: Pulling fs layer 16:21:49 b352a97aabf1: Waiting 16:21:49 5851b861e8e6: Waiting 16:21:49 4872d77fe225: Waiting 16:21:49 e2be974225ed: Verifying Checksum 16:21:49 e2be974225ed: Download complete 16:21:49 988bab9f4d93: Verifying Checksum 16:21:49 988bab9f4d93: Download complete 16:21:49 339a4e72a1f5: Verifying Checksum 16:21:49 339a4e72a1f5: Download complete 16:21:49 1469e6f7b9e6: Verifying Checksum 16:21:49 1469e6f7b9e6: Download complete 16:21:49 eaf3925da568: Verifying Checksum 16:21:49 eaf3925da568: Download complete 16:21:49 bde34c3a00c8: Verifying Checksum 16:21:49 bde34c3a00c8: Download complete 16:21:49 b352a97aabf1: Download complete 16:21:49 4872d77fe225: Verifying Checksum 16:21:49 4872d77fe225: Download complete 16:21:49 5851b861e8e6: Download complete 16:21:50 b85a868b505f: Verifying Checksum 16:21:50 b85a868b505f: Download complete 16:21:50 bab4dde63d76: Verifying Checksum 16:21:50 bab4dde63d76: Download complete 16:21:51 b85a868b505f: Pull complete 16:21:51 e2be974225ed: Pull complete 16:21:52 339a4e72a1f5: Pull complete 16:21:52 988bab9f4d93: Pull complete 16:21:52 1469e6f7b9e6: Pull complete 16:21:52 eaf3925da568: Pull complete 16:21:54 bab4dde63d76: Pull complete 16:21:54 bde34c3a00c8: Pull complete 16:21:54 b352a97aabf1: Pull complete 16:21:54 4872d77fe225: Pull complete 16:21:54 5851b861e8e6: Pull complete 16:21:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:21:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:54 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 16:21: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:21:57 $ docker top 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 -eo pid,comm 16:21:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:21:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:57 [ssh-agent] Looking for ssh-agent implementation... 16:21:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:57 $ docker exec 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent 16:21:57 SSH_AUTH_SOCK=/tmp/ssh-adCrXsI756gj/agent.34 16:21:57 SSH_AGENT_PID=40 16:21:57 Running ssh-add (command line suppressed) 16:21:57 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16986002743853836404.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16986002743853836404.key) 16:21:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:57 + git tag --points-at HEAD [Pipeline] } 16:21:57 $ docker exec --env ******** --env ******** 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent -k 16:21:57 unset SSH_AUTH_SOCK; 16:21:57 unset SSH_AGENT_PID; 16:21:57 echo Agent pid 40 killed; 16:21:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:21:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:57 [ssh-agent] Looking for ssh-agent implementation... 16:21:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:58 $ docker exec 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent 16:21:58 SSH_AUTH_SOCK=/tmp/ssh-HrDZoYHbpNQp/agent.71 16:21:58 SSH_AGENT_PID=77 16:21:58 Running ssh-add (command line suppressed) 16:21:58 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11636207663912377948.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11636207663912377948.key) 16:21:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:58 + git semver init 16:21:58 2023-03-15 16:21:58,747 [run_init] DEBUG init version:0.0.0 force:False 16:21:58 2023-03-15 16:21:58,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:21:58 2023-03-15 16:21:58,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:21:58 2023-03-15 16:21:58,748 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:22:00 2023-03-15 16:21:59,882 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:22:00 2023-03-15 16:21:59,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:22:00 2023-03-15 16:21:59,882 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:22:00 2023-03-15 16:21:59,883 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:22:00 3.0.0-dev.21 [Pipeline] } 16:22:00 $ docker exec --env ******** --env ******** 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent -k 16:22:00 unset SSH_AUTH_SOCK; 16:22:00 unset SSH_AGENT_PID; 16:22:00 echo Agent pid 77 killed; 16:22:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:00 + git semver [Pipeline] } 16:22:00 $ docker stop --time=1 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 16:22:02 $ docker rm -f --volumes 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:22:02 Stashed 1 file(s) [Pipeline] echo 16:22:02 [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:02 provisioning config files... 16:22:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1187534770941309827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:03 ---> docker-login.sh 16:22:03 nexus3.edgexfoundry.org:10001 16:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:03 Configure a credential helper to remove this warning. See 16:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:03 16:22:03 Login Succeeded 16:22:03 nexus3.edgexfoundry.org:10002 16:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:03 Configure a credential helper to remove this warning. See 16:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:03 16:22:03 Login Succeeded 16:22:03 nexus3.edgexfoundry.org:10003 16:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:03 Configure a credential helper to remove this warning. See 16:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:03 16:22:03 Login Succeeded 16:22:03 nexus3.edgexfoundry.org:10004 16:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:03 Configure a credential helper to remove this warning. See 16:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:03 16:22:03 Login Succeeded 16:22:03 docker.io 16:22:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:03 Configure a credential helper to remove this warning. See 16:22:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:03 16:22:03 Login Succeeded 16:22:03 ---> docker-login.sh ends [Pipeline] } 16:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:04 ========================================================= 16:22:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:22:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:22:04 Sending build context to Docker daemon 27.85MB 16:22:04 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:22:04 Step 2/13 : FROM ${BASE} AS builder 16:22:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:22:04 63b65145d645: Pulling fs layer 16:22:04 a2d21d5440eb: Pulling fs layer 16:22:04 935e6c44a52c: Pulling fs layer 16:22:04 94cc34f8dd06: Pulling fs layer 16:22:04 30dea6a524f1: Pulling fs layer 16:22:04 a2aff8979fd8: Pulling fs layer 16:22:04 6808be2612f2: Pulling fs layer 16:22:04 f25807f1079a: Pulling fs layer 16:22:04 94cc34f8dd06: Waiting 16:22:04 30dea6a524f1: Waiting 16:22:04 6808be2612f2: Waiting 16:22:04 f25807f1079a: Waiting 16:22:04 a2d21d5440eb: Download complete 16:22:04 94cc34f8dd06: Verifying Checksum 16:22:04 94cc34f8dd06: Download complete 16:22:04 30dea6a524f1: Verifying Checksum 16:22:04 30dea6a524f1: Download complete 16:22:04 63b65145d645: Download complete 16:22:04 a2aff8979fd8: Verifying Checksum 16:22:04 a2aff8979fd8: Download complete 16:22:04 63b65145d645: Pull complete 16:22:04 a2d21d5440eb: Pull complete 16:22:05 f25807f1079a: Verifying Checksum 16:22:05 f25807f1079a: Download complete 16:22:05 935e6c44a52c: Verifying Checksum 16:22:05 935e6c44a52c: Download complete 16:22:05 6808be2612f2: Verifying Checksum 16:22:05 6808be2612f2: Download complete 16:22:08 935e6c44a52c: Pull complete 16:22:08 94cc34f8dd06: Pull complete 16:22:08 30dea6a524f1: Pull complete 16:22:08 a2aff8979fd8: Pull complete 16:22:11 6808be2612f2: Pull complete 16:22:12 f25807f1079a: Pull complete 16:22:12 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:22:12 ---> 3b553350e43f 16:22:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:22:15 ---> Running in b54fdbc0aab5 16:22:15 Removing intermediate container b54fdbc0aab5 16:22:15 ---> da5cc6d9a681 16:22:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:15 ---> Running in 378b84e2435f 16:22:15 Removing intermediate container 378b84e2435f 16:22:15 ---> facffcfee3cc 16:22:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:22:15 ---> Running in 623d05da29e3 16:22:15 Removing intermediate container 623d05da29e3 16:22:15 ---> a66ddc7b9ec2 16:22:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:22:15 ---> Running in d2f7ae6d19b1 16:22:15 Removing intermediate container d2f7ae6d19b1 16:22:15 ---> e95e05a62f90 16:22:15 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:22:15 ---> Running in ac40e92d7569 16:22:15 Removing intermediate container ac40e92d7569 16:22:15 ---> dae5d09f34cc 16:22:15 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:22:15 ---> Running in 21d5a2a2f4eb 16:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:22:16 OK: 265 MiB in 53 packages 16:22:16 Removing intermediate container 21d5a2a2f4eb 16:22:16 ---> 84e82aa38b08 16:22:16 Step 9/13 : WORKDIR /device-onvif-camera 16:22:16 ---> Running in 096c167793c6 16:22:17 Removing intermediate container 096c167793c6 16:22:17 ---> a7b30ba4086e 16:22:17 Step 10/13 : COPY go.mod vendor* ./ 16:22:17 ---> 440c065a50f7 16:22:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:17 ---> Running in c8ee94ffad9c 16:22:17 Still waiting to schedule task 16:22:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:22:43 Removing intermediate container c8ee94ffad9c 16:22:43 ---> 8ddc36d1bd4f 16:22:43 Step 12/13 : COPY . . 16:22:44 ---> 041e5c9acf33 16:22:44 Step 13/13 : RUN ${MAKE} 16:22:44 ---> Running in a192508d3535 16:22:44 noop 16:22:44 Removing intermediate container a192508d3535 16:22:44 ---> 07fd75f41c77 16:22:44 Successfully built 07fd75f41c77 16:22:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:45 + docker inspect -f . ci-base-image-x86_64 16:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:45 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 16:22:45 $ 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 16:22:45 $ docker top 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:46 + go version 16:22:46 go version go1.20.2 linux/amd64 [Pipeline] } 16:22:46 $ docker stop --time=1 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d 16:22:47 $ docker rm -f --volumes 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:47 + docker inspect -f . ci-base-image-x86_64 16:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:47 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 16:22:47 $ 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 16:22:48 $ docker top 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:48 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:22:48 + make test 16:22:48 go test ./... -coverprofile=coverage.out ./... 16:22:54 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:23:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:23:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:23:08 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 30.5% of statements 16:23:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.447s coverage: 86.5% of statements 16:23:16 go vet ./... 16:23:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:23:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:23:21 ./bin/test-attribution-txt.sh [Pipeline] echo 16:23:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:23:21 $ docker stop --time=1 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c 16:23:23 $ docker rm -f --volumes 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c [Pipeline] // withDockerContainer [Pipeline] sh 16:23:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:23:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:23:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:23:25 + ls -al . 16:23:25 total 232 16:23:25 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:22 . 16:23:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 .. 16:23:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:22 .git 16:23:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:21 .github 16:23:25 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 16:21 .gitignore 16:23:25 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:21 .golangci.yml 16:23:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:21 .semver 16:23:25 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 16:21 Attribution.txt 16:23:25 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 16:21 CHANGELOG.md 16:23:25 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 16:21 Dockerfile 16:23:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:21 GOVERNANCE.md 16:23:25 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 16:21 Jenkinsfile 16:23:25 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:21 LICENSE 16:23:25 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 16:21 Makefile 16:23:25 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 16:21 OWNERS.md 16:23:25 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 16:21 README.md 16:23:25 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:22 VERSION 16:23:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:21 bin 16:23:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:21 cmd 16:23:25 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 16:23 coverage.out 16:23:25 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 16:21 doc 16:23:25 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 16:21 go.mod 16:23:25 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 16:21 go.sum 16:23:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 internal 16:23:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 snap 16:23:25 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:25 + 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=b19be15f1aae5ce963d99b90e51172ceff0b476d --label arch=amd64 --label version=3.0.0-dev.21 . 16:23:25 Sending build context to Docker daemon 27.93MB 16:23:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:23:25 Step 2/26 : FROM ${BASE} AS builder 16:23:25 ---> 07fd75f41c77 16:23:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:23:26 ---> Running in 3a3a7f6366c3 16:23:26 Removing intermediate container 3a3a7f6366c3 16:23:26 ---> f834607cd1b2 16:23:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:26 ---> Running in f751fb7bd7ff 16:23:26 Removing intermediate container f751fb7bd7ff 16:23:26 ---> 2c73d910b10c 16:23:26 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:23:26 ---> Running in 2b3778f621c0 16:23:26 Removing intermediate container 2b3778f621c0 16:23:26 ---> de5a3e66b2e0 16:23:26 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:23:26 ---> Running in c8f3a54793c2 16:23:26 Removing intermediate container c8f3a54793c2 16:23:26 ---> 172f380c931c 16:23:26 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:23:26 ---> Running in 5f4263343122 16:23:26 Removing intermediate container 5f4263343122 16:23:26 ---> e8e7ed0fa66f 16:23:26 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:26 ---> Running in 5f1b5da7b58e 16:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:27 OK: 265 MiB in 53 packages 16:23:27 Removing intermediate container 5f1b5da7b58e 16:23:27 ---> a6a4a96bad88 16:23:27 Step 9/26 : WORKDIR /device-onvif-camera 16:23:27 ---> Running in b7ab09e48d89 16:23:27 Removing intermediate container b7ab09e48d89 16:23:27 ---> 0fdb962d9869 16:23:27 Step 10/26 : COPY go.mod vendor* ./ 16:23:27 ---> d67cbf092be8 16:23:27 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:27 ---> Running in 42cd1ce26af3 16:23:28 Removing intermediate container 42cd1ce26af3 16:23:28 ---> 5a1d7e0162df 16:23:28 Step 12/26 : COPY . . 16:23:29 ---> bc691095e16d 16:23:29 Step 13/26 : RUN ${MAKE} 16:23:29 ---> Running in 3828206f057c 16:23:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:23:51 Removing intermediate container 3828206f057c 16:23:51 ---> a4c756cb72a6 16:23:51 Step 14/26 : FROM alpine:3.17 16:23:51 3.17: Pulling from library/alpine 16:23:51 63b65145d645: Already exists 16:23:51 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:23:51 Status: Downloaded newer image for alpine:3.17 16:23:51 ---> b2aa39c304c2 16:23:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:23:51 ---> Running in 5b550dc3f702 16:23:51 Removing intermediate container 5b550dc3f702 16:23:51 ---> 170f139664f7 16:23:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:23:51 ---> Running in c25f12687edd 16:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:51 (1/1) Installing dumb-init (1.2.5-r2) 16:23:51 Executing busybox-1.35.0-r29.trigger 16:23:51 OK: 7 MiB in 16 packages 16:23:51 Removing intermediate container c25f12687edd 16:23:51 ---> 9bb690e4a4dd 16:23:51 Step 17/26 : WORKDIR / 16:23:51 ---> Running in 8d9925e15c9c 16:23:51 Removing intermediate container 8d9925e15c9c 16:23:51 ---> cc325cf3b304 16:23:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:23:51 ---> d3c94e0f06c5 16:23:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:23:52 ---> cc592258938b 16:23:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:23:52 ---> 8cceb789d69b 16:23:52 Step 21/26 : EXPOSE 59984 16:23:52 ---> Running in 12e591cbf20b 16:23:52 Removing intermediate container 12e591cbf20b 16:23:52 ---> e5a84b0e3c22 16:23:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:23:52 ---> Running in a3f8a98f7bca 16:23:53 Removing intermediate container a3f8a98f7bca 16:23:53 ---> 37bad1a18462 16:23:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:23:53 ---> Running in 9d1531c9dbfe 16:23:53 Removing intermediate container 9d1531c9dbfe 16:23:53 ---> faed3a70d6f0 16:23:53 Step 24/26 : LABEL arch=amd64 16:23:53 ---> Running in 44ac4440ddb6 16:23:53 Removing intermediate container 44ac4440ddb6 16:23:53 ---> fb66353e72a5 16:23:53 Step 25/26 : LABEL git_sha=b19be15f1aae5ce963d99b90e51172ceff0b476d 16:23:53 ---> Running in df8514c5f950 16:23:53 Removing intermediate container df8514c5f950 16:23:53 ---> 1ada9298b0ba 16:23:53 Step 26/26 : LABEL version=3.0.0-dev.21 16:23:53 ---> Running in 559f0be7c8c8 16:23:53 Removing intermediate container 559f0be7c8c8 16:23:53 ---> 8edb0a04ea4e 16:23:53 [Warning] One or more build-args [ARCH] were not consumed 16:23:53 Successfully built 8edb0a04ea4e 16:23:53 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:53 provisioning config files... 16:23:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3167212999320933504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:53 ---> docker-login.sh 16:23:53 nexus3.edgexfoundry.org:10001 16:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:53 Configure a credential helper to remove this warning. See 16:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:53 16:23:53 Login Succeeded 16:23:53 nexus3.edgexfoundry.org:10002 16:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:53 Configure a credential helper to remove this warning. See 16:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:53 16:23:53 Login Succeeded 16:23:53 nexus3.edgexfoundry.org:10003 16:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:54 Configure a credential helper to remove this warning. See 16:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:54 16:23:54 Login Succeeded 16:23:54 nexus3.edgexfoundry.org:10004 16:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:54 Configure a credential helper to remove this warning. See 16:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:54 16:23:54 Login Succeeded 16:23:54 docker.io 16:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:54 Configure a credential helper to remove this warning. See 16:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:54 16:23:54 Login Succeeded 16:23:54 ---> docker-login.sh ends [Pipeline] } 16:23:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:23:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:54 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:23:54 b19be15f1aae5ce963d99b90e51172ceff0b476d 16:23:54 latest 16:23:54 3.0.0-dev.21 16:23:54 b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 16:23:54 main 16:23:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d 16:23:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:55 1545929a457d: Preparing 16:23:55 52f5bc9d5d46: Preparing 16:23:55 7e357f4f6c0b: Preparing 16:23:55 1388f8044278: Preparing 16:23:55 7cd52847ad77: Preparing 16:23:55 7cd52847ad77: Layer already exists 16:23:55 52f5bc9d5d46: Pushed 16:23:55 1545929a457d: Pushed 16:23:55 1388f8044278: Pushed 16:23:58 7e357f4f6c0b: Pushed 16:23:58 b19be15f1aae5ce963d99b90e51172ceff0b476d: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:58 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:23:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:59 1545929a457d: Preparing 16:23:59 52f5bc9d5d46: Preparing 16:23:59 7e357f4f6c0b: Preparing 16:23:59 1388f8044278: Preparing 16:23:59 7cd52847ad77: Preparing 16:23:59 1545929a457d: Layer already exists 16:23:59 7cd52847ad77: Layer already exists 16:23:59 7e357f4f6c0b: Layer already exists 16:23:59 52f5bc9d5d46: Layer already exists 16:23:59 1388f8044278: Layer already exists 16:23:59 latest: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:59 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:59 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 16:23:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:23:59 1545929a457d: Preparing 16:23:59 52f5bc9d5d46: Preparing 16:23:59 7e357f4f6c0b: Preparing 16:23:59 1388f8044278: Preparing 16:23:59 7cd52847ad77: Preparing 16:23:59 7e357f4f6c0b: Layer already exists 16:23:59 1388f8044278: Layer already exists 16:23:59 1545929a457d: Layer already exists 16:23:59 52f5bc9d5d46: Layer already exists 16:23:59 7cd52847ad77: Layer already exists 16:23:59 3.0.0-dev.21: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 16:24:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:24:00 1545929a457d: Preparing 16:24:00 52f5bc9d5d46: Preparing 16:24:00 7e357f4f6c0b: Preparing 16:24:00 1388f8044278: Preparing 16:24:00 7cd52847ad77: Preparing 16:24:00 7cd52847ad77: Layer already exists 16:24:00 1545929a457d: Layer already exists 16:24:00 1388f8044278: Layer already exists 16:24:00 7e357f4f6c0b: Layer already exists 16:24:00 52f5bc9d5d46: Layer already exists 16:24:00 b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:24:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:24:00 1545929a457d: Preparing 16:24:00 52f5bc9d5d46: Preparing 16:24:00 7e357f4f6c0b: Preparing 16:24:00 1388f8044278: Preparing 16:24:00 7cd52847ad77: Preparing 16:24:00 7cd52847ad77: Layer already exists 16:24:00 1545929a457d: Layer already exists 16:24:00 7e357f4f6c0b: Layer already exists 16:24:00 52f5bc9d5d46: Layer already exists 16:24:00 1388f8044278: Layer already exists 16:24:00 main: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:01 ===================================================== [Pipeline] echo 16:24:01 taggedImages: 16:24:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d 16:24:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:24:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 16:24:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 16:24:01 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:24:01 16:24:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:24:01 latest: Pulling from edgex-lftools-log-publisher 16:24:01 5eb5b503b376: Pulling fs layer 16:24:01 5c69ac0246d0: Pulling fs layer 16:24:01 ec43610c2a17: Pulling fs layer 16:24:01 3a2ae6a8a46f: Pulling fs layer 16:24:01 33b1e0a273af: Pulling fs layer 16:24:01 5d3b04190fa2: Pulling fs layer 16:24:01 2f39f015ded8: Pulling fs layer 16:24:01 33b1e0a273af: Waiting 16:24:01 3a2ae6a8a46f: Waiting 16:24:01 5d3b04190fa2: Waiting 16:24:01 2f39f015ded8: Waiting 16:24:01 5c69ac0246d0: Download complete 16:24:01 3a2ae6a8a46f: Download complete 16:24:02 33b1e0a273af: Verifying Checksum 16:24:02 33b1e0a273af: Download complete 16:24:02 5d3b04190fa2: Download complete 16:24:02 ec43610c2a17: Download complete 16:24:02 5eb5b503b376: Verifying Checksum 16:24:02 5eb5b503b376: Download complete 16:24:03 2f39f015ded8: Download complete 16:24:03 5eb5b503b376: Pull complete 16:24:03 5c69ac0246d0: Pull complete 16:24:04 ec43610c2a17: Pull complete 16:24:04 3a2ae6a8a46f: Pull complete 16:24:04 33b1e0a273af: Pull complete 16:24:04 5d3b04190fa2: Pull complete 16:24:09 2f39f015ded8: Pull complete 16:24:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:24:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:24:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:09 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 16:24:09 $ 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 16:24:12 $ docker top 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:12 ---> job-cost.sh 16:24:12 lf-activate-venv: SKIPPING 16:24:12 INFO: No Stack... 16:24:13 INFO: Retrieving Pricing Info for: v3-standard-8 16:24:13 INFO: Archiving Costs [Pipeline] sh 16:24:13 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:24:13 + cut -d, -f6 [Pipeline] lock 16:24:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] 16:24:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] did not exist. Created. 16:24:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:24:14 + echo total: 0.2199999988079071 [Pipeline] stash 16:24:14 Stashed 1 file(s) [Pipeline] } 16:24:14 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 16:24:14 $ docker stop --time=1 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 16:24:15 $ docker rm -f --volumes 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:38:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1740 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:38:07 Running in /w/workspace/device-onvif-camera/112 [Pipeline] { [Pipeline] checkout 16:38:07 The recommended git tool is: git 16:38:15 using credential edgex-jenkins-ssh 16:38:15 Cloning the remote Git repository 16:38:15 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:38:15 > git init /w/workspace/device-onvif-camera/112 # timeout=10 16:38:15 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:38:15 > git --version # timeout=10 16:38:15 > git --version # 'git version 2.25.1' 16:38:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:17 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:38:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:18 Avoid second fetch 16:38:18 Checking out Revision b19be15f1aae5ce963d99b90e51172ceff0b476d (main) 16:38:18 > git config core.sparsecheckout # timeout=10 16:38:19 > git checkout -f b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 16:38:20 Commit message: "ci: Change dependabot gomod schedule to daily (#264)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:38:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:38:21 % Total % Received % Xferd Average Speed Time Time Time Current 16:38:21 Dload Upload Total Spent Left Speed 16:38:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 16:38:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:38:22 + sudo tee /etc/docker/daemon.new 16:38:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:38:22 { 16:38:22 "registry-mirrors": [ 16:38:22 "https://nexus3.edgexfoundry.org:10001" 16:38:22 ], 16:38:22 "bip": "10.250.0.254/24", 16:38:22 "hosts": [ 16:38:22 "tcp://0.0.0.0:5555", 16:38:22 "unix:///var/run/docker.sock" 16:38:22 ], 16:38:22 "mtu": 1458, 16:38:22 "selinux-enabled": true, 16:38:22 "seccomp-profile": "/etc/docker/seccomp.json" 16:38:22 } [Pipeline] sh 16:38:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:38:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:38:41 provisioning config files... 16:38:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/112@tmp/config6065576185445735562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:41 ---> docker-login.sh 16:38:41 nexus3.edgexfoundry.org:10001 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 nexus3.edgexfoundry.org:10002 16:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:42 Configure a credential helper to remove this warning. See 16:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:42 16:38:42 Login Succeeded 16:38:42 nexus3.edgexfoundry.org:10003 16:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:43 Configure a credential helper to remove this warning. See 16:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:43 16:38:43 Login Succeeded 16:38:43 nexus3.edgexfoundry.org:10004 16:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:43 Configure a credential helper to remove this warning. See 16:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:43 16:38:43 Login Succeeded 16:38:43 docker.io 16:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:38:44 Configure a credential helper to remove this warning. See 16:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:38:44 16:38:44 Login Succeeded 16:38:44 ---> docker-login.sh ends [Pipeline] } 16:38:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:38:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:38:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:38:44 ========================================================= 16:38:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:38:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:38:45 Sending build context to Docker daemon 20.61MB 16:38:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 16:38:45 Step 2/13 : FROM ${BASE} AS builder 16:38:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:38:45 af6eaf76a39c: Pulling fs layer 16:38:45 55522c791124: Pulling fs layer 16:38:45 ce5c4a1c91eb: Pulling fs layer 16:38:45 169dfbe0d373: Pulling fs layer 16:38:45 e1ff8fa3b103: Pulling fs layer 16:38:45 52ebb69f0ebf: Pulling fs layer 16:38:45 5abe8eddf0d5: Pulling fs layer 16:38:45 e1ff8fa3b103: Waiting 16:38:45 52ebb69f0ebf: Waiting 16:38:45 5abe8eddf0d5: Waiting 16:38:45 169dfbe0d373: Waiting 16:38:45 55522c791124: Verifying Checksum 16:38:45 55522c791124: Download complete 16:38:45 169dfbe0d373: Download complete 16:38:45 e1ff8fa3b103: Download complete 16:38:46 af6eaf76a39c: Verifying Checksum 16:38:46 af6eaf76a39c: Download complete 16:38:47 af6eaf76a39c: Pull complete 16:38:47 5abe8eddf0d5: Verifying Checksum 16:38:47 5abe8eddf0d5: Download complete 16:38:47 55522c791124: Pull complete 16:38:48 ce5c4a1c91eb: Verifying Checksum 16:38:48 ce5c4a1c91eb: Download complete 16:38:48 52ebb69f0ebf: Verifying Checksum 16:38:48 52ebb69f0ebf: Download complete 16:39:00 ce5c4a1c91eb: Pull complete 16:39:00 169dfbe0d373: Pull complete 16:39:00 e1ff8fa3b103: Pull complete 16:39:07 52ebb69f0ebf: Pull complete 16:39:09 5abe8eddf0d5: Pull complete 16:39:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:39:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:39:09 ---> 6cb57ee374ae 16:39:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:39:12 ---> Running in f47a35596088 16:39:12 Removing intermediate container f47a35596088 16:39:12 ---> 4d0dc9d59ede 16:39:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:39:12 ---> Running in 1092e8d7cc55 16:39:12 Removing intermediate container 1092e8d7cc55 16:39:12 ---> 8640e00377dd 16:39:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 16:39:13 ---> Running in 25bf91d2e34a 16:39:13 Removing intermediate container 25bf91d2e34a 16:39:13 ---> 645cbcb254e6 16:39:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:39:13 ---> Running in 14ed68c25f18 16:39:14 Removing intermediate container 14ed68c25f18 16:39:14 ---> 8e5d67f8b691 16:39:14 Step 7/13 : LABEL Name=edgex-device-onvif-camera 16:39:14 ---> Running in c26f96efb890 16:39:14 Removing intermediate container c26f96efb890 16:39:14 ---> f327e5ba6086 16:39:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:39:14 ---> Running in 95c8b5f83e08 16:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:39:18 OK: 263 MiB in 53 packages 16:39:19 Removing intermediate container 95c8b5f83e08 16:39:19 ---> cf509318f0fc 16:39:19 Step 9/13 : WORKDIR /device-onvif-camera 16:39:19 ---> Running in b394af6f892e 16:39:19 Removing intermediate container b394af6f892e 16:39:19 ---> fe68dd804f23 16:39:19 Step 10/13 : COPY go.mod vendor* ./ 16:39:20 ---> 3fcf631ca19a 16:39:20 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:39:20 ---> Running in 423ea1ccb3f4 16:40:42 Removing intermediate container 423ea1ccb3f4 16:40:42 ---> eea7c29f7fe0 16:40:42 Step 12/13 : COPY . . 16:40:42 ---> 3e314a6d4a92 16:40:42 Step 13/13 : RUN ${MAKE} 16:40:42 ---> Running in 1f5525c39105 16:40:42 noop 16:40:42 Removing intermediate container 1f5525c39105 16:40:42 ---> c3f59bc9b40d 16:40:42 Successfully built c3f59bc9b40d 16:40:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:42 + docker inspect -f . ci-base-image-arm64 16:40:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:43 prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container 16:40:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:40:44 $ docker top c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:45 + go version 16:40:45 go version go1.20.2 linux/arm64 [Pipeline] } 16:40:45 $ docker stop --time=1 c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 16:40:47 $ docker rm -f --volumes c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:47 + docker inspect -f . ci-base-image-arm64 16:40:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:48 prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container 16:40:48 $ 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/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:40:49 $ docker top d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:50 + git config --global --add safe.directory /w/workspace/device-onvif-camera/112 [Pipeline] fileExists [Pipeline] sh 16:40:51 + make test 16:40:51 go test ./... -coverprofile=coverage.out ./... 16:41:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:44:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:44:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:44:37 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 30.5% of statements 16:45:10 --- FAIL: TestIpGenerator (0.00s) 16:45:10 --- FAIL: TestIpGenerator/basic_/8_subnet (30.06s) 16:45:10 util_test.go:180: 16:45:10 Error Trace: /w/workspace/device-onvif-camera/112/internal/netscan/util_test.go:180 16:45:10 Error: Not equal: 16:45:10 expected: 0xfffffe 16:45:10 actual : 0xf2eaf5 16:45:10 Test: TestIpGenerator/basic_/8_subnet 16:45:10 util_test.go:183: 16:45:10 Error Trace: /w/workspace/device-onvif-camera/112/internal/netscan/util_test.go:183 16:45:10 Error: Not equal: 16:45:10 expected: "10.255.255.254" 16:45:10 actual : "10.242.234.245" 16:45:10 16:45:10 Diff: 16:45:10 --- Expected 16:45:10 +++ Actual 16:45:10 @@ -1 +1 @@ 16:45:10 -10.255.255.254 16:45:10 +10.242.234.245 16:45:10 Test: TestIpGenerator/basic_/8_subnet 16:45:10 FAIL 16:45:10 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 16:45:10 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.294s 16:45:10 FAIL 16:45:10 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 16:45:10 $ docker stop --time=1 d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 16:45:12 $ docker rm -f --volumes d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:45:13 16:45:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:45:13 arm64: Pulling from edgex-lftools-log-publisher 16:45:13 8998bd30e6a1: Pulling fs layer 16:45:13 04944245beec: Pulling fs layer 16:45:13 699f458cf7ca: Pulling fs layer 16:45:13 765212b225bb: Pulling fs layer 16:45:13 f23df028b6ca: Pulling fs layer 16:45:13 765212b225bb: Waiting 16:45:13 f23df028b6ca: Waiting 16:45:14 d65c8cfc05b1: Pulling fs layer 16:45:14 2437ff75d9bd: Pulling fs layer 16:45:14 2437ff75d9bd: Waiting 16:45:14 d65c8cfc05b1: Waiting 16:45:14 04944245beec: Verifying Checksum 16:45:14 04944245beec: Download complete 16:45:14 765212b225bb: Verifying Checksum 16:45:14 765212b225bb: Download complete 16:45:14 f23df028b6ca: Verifying Checksum 16:45:14 f23df028b6ca: Download complete 16:45:14 d65c8cfc05b1: Verifying Checksum 16:45:14 d65c8cfc05b1: Download complete 16:45:14 699f458cf7ca: Verifying Checksum 16:45:14 699f458cf7ca: Download complete 16:45:14 8998bd30e6a1: Verifying Checksum 16:45:14 8998bd30e6a1: Download complete 16:45:17 2437ff75d9bd: Verifying Checksum 16:45:17 2437ff75d9bd: Download complete 16:45:18 8998bd30e6a1: Pull complete 16:45:19 04944245beec: Pull complete 16:45:20 699f458cf7ca: Pull complete 16:45:20 765212b225bb: Pull complete 16:45:21 f23df028b6ca: Pull complete 16:45:21 d65c8cfc05b1: Pull complete 16:45:36 2437ff75d9bd: Pull complete 16:45:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:45:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:45:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container 16:45:36 $ 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/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@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 16:45:39 $ docker top 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:45:40 ---> job-cost.sh 16:45:40 lf-activate-venv: SKIPPING 16:45:40 INFO: No Stack... 16:45:41 INFO: Retrieving Pricing Info for: v3-standard-4 16:45:41 INFO: Archiving Costs [Pipeline] sh 16:45:42 + cat /w/workspace/device-onvif-camera/112/archives/cost.csv 16:45:42 + cut -d, -f6 [Pipeline] lock 16:45:42 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] 16:45:42 Resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] did not exist. Created. 16:45:42 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:45:43 /w/workspace/device-onvif-camera/112@tmp/durable-d8030f56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:45:43 + echo total: 0.10999999940395355 [Pipeline] stash 16:45:43 Warning: overwriting stash ‘stack-cost’ 16:45:44 Stashed 1 file(s) [Pipeline] } 16:45:44 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] // lock [Pipeline] } 16:45:44 $ docker stop --time=1 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f 16:45:45 $ docker rm -f --volumes 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:45:46 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:45:46 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:45:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:45:46 total 16 16:45:46 drwxr-xr-x 3 root root 4096 Mar 15 16:24 . 16:45:46 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:24 .. 16:45:46 drwxr-xr-x 2 root root 4096 Mar 15 16:24 cost 16:45:46 -rw-r--r-- 1 root root 91 Mar 15 16:24 cost.csv 16:45:46 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:45:46 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:45:46 total 16 16:45:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:24 . 16:45:46 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:24 .. 16:45:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:24 cost 16:45:46 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 16:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:45:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:45:47 ---> package-listing.sh 16:45:47 ++ facter osfamily 16:45:47 ++ tr '[:upper:]' '[:lower:]' 16:45:48 + OS_FAMILY=debian 16:45:48 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:45:48 + START_PACKAGES=/tmp/packages_start.txt 16:45:48 + END_PACKAGES=/tmp/packages_end.txt 16:45:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:45:48 + PACKAGES=/tmp/packages_start.txt 16:45:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:45:48 + PACKAGES=/tmp/packages_end.txt 16:45:48 + case "${OS_FAMILY}" in 16:45:48 + dpkg -l 16:45:48 + grep '^ii' 16:45:48 + '[' -f /tmp/packages_start.txt ']' 16:45:48 + '[' -f /tmp/packages_end.txt ']' 16:45:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:45:48 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:45:48 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:45:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:45:48 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 16:45:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:45:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:49 prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container 16:45:49 $ 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 16:45:49 $ docker top 7e4b22417e683f9e6b79fa1c3ff6c3180d8c88748b855ddf305a0037d9ebcda2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:49 + touch /tmp/pre-build-complete [Pipeline] sh 16:45:50 + mkdir -p /var/log/sysstat [Pipeline] sh 16:45:50 + ls /var/log/sa-host 16:45:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:45:50 provisioning config files... 16:45:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12161298267831527356tmp [Pipeline] { [Pipeline] echo 16:45:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:45:50 ---> create-netrc.sh [Pipeline] } 16:45:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:45:51 ---> python-tools-install.sh [Pipeline] echo 16:45:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:45:51 ---> sudo-logs.sh 16:45:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:45:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:45:51 ---> job-cost.sh 16:45:51 lf-activate-venv: SKIPPING 16:45:51 DEBUG: total: 0.2199999988079071 16:45:51 INFO: Retrieving Stack Cost... 16:45:51 INFO: Retrieving Pricing Info for: v3-standard-8 16:45:52 INFO: Archiving Costs [Pipeline] echo 16:45:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:45:52 ---> logs-deploy.sh 16:45:52 lf-activate-venv: SKIPPING 16:45:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/112 16:45:52 INFO: archiving workspace using pattern(s): 16:45:53 Archives upload complete. 16:45:53 INFO: archiving logs to Nexus