Pull request #203 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 8746c938a55b5945dba82726ee73b77bfa0394d9 rather than a642c90b46ea62423046cd7f7d1afb467d789168 Obtained Jenkinsfile from 8746c938a55b5945dba82726ee73b77bfa0394d9 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-ssh16452441951460815431.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-ssh4370623588552505335.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-usb-camera/branches/PR-203/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-usb-camera/branches/PR-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8017565124347357594.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-ssh17584229863383692862.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-usb-camera/branches/PR-203/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-usb-camera/branches/PR-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16915823424226464086.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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 ‘prd-ubuntu20.04-docker-8c-8g-5614’ is offline Running on prd-ubuntu20.04-docker-8c-8g-5617 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit a642c90b46ea62423046cd7f7d1afb467d789168 Merge succeeded, producing a642c90b46ea62423046cd7f7d1afb467d789168 Checking out Revision a642c90b46ea62423046cd7f7d1afb467d789168 (PR-203) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a642c90b46ea62423046cd7f7d1afb467d789168 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a642c90b46ea62423046cd7f7d1afb467d789168 # timeout=10 Commit message: "refactor!: Change configuration and device toml files to yaml" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T22:12:52.262Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 35b6df967e2074aee1c327e54f01c49d0a8ff502 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T22:12:52.322Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-23T22:12:52.334Z] ========================================================= [2023-03-23T22:12:52.334Z] EdgeX Global Pipelines Version Info [2023-03-23T22:12:52.334Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:12:53.046Z] ------------------- [2023-03-23T22:12:53.046Z] stable info: [2023-03-23T22:12:53.046Z] ------------------- [2023-03-23T22:12:53.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T22:12:53.046Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T22:12:53.046Z] Message: update stable to v1.0.245 [2023-03-23T22:12:53.617Z] ------------------- [2023-03-23T22:12:53.617Z] experimental info: [2023-03-23T22:12:53.617Z] ------------------- [2023-03-23T22:12:53.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T22:12:53.617Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T22:12:53.617Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T22:12:53.794Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-23T22:12:53.803Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-23T22:12:53.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T22:12:53.826Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T22:12:53.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T22:12:53.849Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T22:12:53.861Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T22:12:53.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-23T22:12:53.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T22:12:53.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T22:12:53.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T22:12:53.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-23T22:12:53.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T22:12:53.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T22:12:53.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T22:12:53.971Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T22:12:53.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T22:12:54.000Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T22:12:54.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T22:12:54.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T22:12:54.058Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-23T22:12:54.077Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-23T22:12:54.099Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T22:12:54.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T22:12:54.133Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T22:12:54.150Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T22:12:54.161Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T22:12:54.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo [2023-03-23T22:12:54.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo [2023-03-23T22:12:54.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo [2023-03-23T22:12:54.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a642c90b46ea62423046cd7f7d1afb467d789168 [Pipeline] echo [2023-03-23T22:12:54.222Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a642c90 [Pipeline] echo [2023-03-23T22:12:54.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T22:12:54.285Z] provisioning config files... [2023-03-23T22:12:54.300Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config7475556562473584415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:12:54.600Z] ---> docker-login.sh [2023-03-23T22:12:54.600Z] nexus3.edgexfoundry.org:10001 [2023-03-23T22:12:54.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:12:54.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:12:54.861Z] Configure a credential helper to remove this warning. See [2023-03-23T22:12:54.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:12:54.861Z] [2023-03-23T22:12:54.861Z] Login Succeeded [2023-03-23T22:12:54.861Z] nexus3.edgexfoundry.org:10002 [2023-03-23T22:12:55.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:12:55.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:12:55.121Z] Configure a credential helper to remove this warning. See [2023-03-23T22:12:55.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:12:55.121Z] [2023-03-23T22:12:55.121Z] Login Succeeded [2023-03-23T22:12:55.121Z] nexus3.edgexfoundry.org:10003 [2023-03-23T22:12:55.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:12:55.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:12:55.121Z] Configure a credential helper to remove this warning. See [2023-03-23T22:12:55.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:12:55.121Z] [2023-03-23T22:12:55.121Z] Login Succeeded [2023-03-23T22:12:55.121Z] nexus3.edgexfoundry.org:10004 [2023-03-23T22:12:55.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:12:55.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:12:55.382Z] Configure a credential helper to remove this warning. See [2023-03-23T22:12:55.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:12:55.382Z] [2023-03-23T22:12:55.382Z] Login Succeeded [2023-03-23T22:12:55.382Z] docker.io [2023-03-23T22:12:55.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:12:55.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:12:55.642Z] Configure a credential helper to remove this warning. See [2023-03-23T22:12:55.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:12:55.642Z] [2023-03-23T22:12:55.642Z] Login Succeeded [2023-03-23T22:12:55.642Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T22:12:55.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T22:12:56.013Z] + git rev-list -1 --merges a642c90b46ea62423046cd7f7d1afb467d789168~1..a642c90b46ea62423046cd7f7d1afb467d789168 [Pipeline] echo [2023-03-23T22:12:56.064Z] -----------> git rev-list -1 --merges a642c90b46ea62423046cd7f7d1afb467d789168~1..a642c90b46ea62423046cd7f7d1afb467d789168 a642c90b46ea62423046cd7f7d1afb467d789168 [false] [Pipeline] sh [2023-03-23T22:12:56.354Z] + git log --format=format:%s -1 a642c90b46ea62423046cd7f7d1afb467d789168 [Pipeline] echo [2023-03-23T22:12:56.369Z] ========================================================= [2023-03-23T22:12:56.369Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T22:12:56.369Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T22:12:56.702Z] + git log --format=format:%s -1 a642c90b46ea62423046cd7f7d1afb467d789168 [Pipeline] echo [2023-03-23T22:12:56.712Z] [semverPrep] GIT_COMMIT: a642c90b46ea62423046cd7f7d1afb467d789168, Commit Message: refactor!: Change configuration and device toml files to yaml [Pipeline] echo [2023-03-23T22:12:56.721Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T22:12:57.060Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T22:12:57.060Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T22:12:57.060Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T22:12:57.060Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T22:12:57.061Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T22:12:57.061Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T22:12:57.061Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:12:57.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T22:12:57.410Z] [2023-03-23T22:12:57.410Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:12:57.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T22:12:57.712Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T22:12:57.712Z] b85a868b505f: Pulling fs layer [2023-03-23T22:12:57.712Z] e2be974225ed: Pulling fs layer [2023-03-23T22:12:57.712Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T22:12:57.712Z] 988bab9f4d93: Pulling fs layer [2023-03-23T22:12:57.712Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T22:12:57.712Z] eaf3925da568: Pulling fs layer [2023-03-23T22:12:57.712Z] bab4dde63d76: Pulling fs layer [2023-03-23T22:12:57.712Z] bde34c3a00c8: Pulling fs layer [2023-03-23T22:12:57.712Z] b352a97aabf1: Pulling fs layer [2023-03-23T22:12:57.712Z] 4872d77fe225: Pulling fs layer [2023-03-23T22:12:57.712Z] 5851b861e8e6: Pulling fs layer [2023-03-23T22:12:57.712Z] eaf3925da568: Waiting [2023-03-23T22:12:57.712Z] bab4dde63d76: Waiting [2023-03-23T22:12:57.712Z] bde34c3a00c8: Waiting [2023-03-23T22:12:57.712Z] b352a97aabf1: Waiting [2023-03-23T22:12:57.712Z] 988bab9f4d93: Waiting [2023-03-23T22:12:57.712Z] 4872d77fe225: Waiting [2023-03-23T22:12:57.712Z] 5851b861e8e6: Waiting [2023-03-23T22:12:57.712Z] 1469e6f7b9e6: Waiting [2023-03-23T22:12:57.712Z] e2be974225ed: Verifying Checksum [2023-03-23T22:12:57.712Z] e2be974225ed: Download complete [2023-03-23T22:12:57.712Z] 988bab9f4d93: Verifying Checksum [2023-03-23T22:12:57.712Z] 988bab9f4d93: Download complete [2023-03-23T22:12:57.972Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T22:12:57.972Z] 1469e6f7b9e6: Download complete [2023-03-23T22:12:57.972Z] eaf3925da568: Download complete [2023-03-23T22:12:57.972Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T22:12:57.972Z] 339a4e72a1f5: Download complete [2023-03-23T22:12:57.972Z] bde34c3a00c8: Download complete [2023-03-23T22:12:57.972Z] b352a97aabf1: Download complete [2023-03-23T22:12:57.972Z] 4872d77fe225: Verifying Checksum [2023-03-23T22:12:57.972Z] 4872d77fe225: Download complete [2023-03-23T22:12:57.972Z] 5851b861e8e6: Download complete [2023-03-23T22:12:57.972Z] b85a868b505f: Verifying Checksum [2023-03-23T22:12:57.972Z] b85a868b505f: Download complete [2023-03-23T22:12:58.270Z] bab4dde63d76: Verifying Checksum [2023-03-23T22:12:58.270Z] bab4dde63d76: Download complete [2023-03-23T22:12:59.224Z] b85a868b505f: Pull complete [2023-03-23T22:12:59.483Z] e2be974225ed: Pull complete [2023-03-23T22:12:59.743Z] 339a4e72a1f5: Pull complete [2023-03-23T22:13:00.004Z] 988bab9f4d93: Pull complete [2023-03-23T22:13:00.277Z] 1469e6f7b9e6: Pull complete [2023-03-23T22:13:00.277Z] eaf3925da568: Pull complete [2023-03-23T22:13:02.184Z] bab4dde63d76: Pull complete [2023-03-23T22:13:02.184Z] bde34c3a00c8: Pull complete [2023-03-23T22:13:02.184Z] b352a97aabf1: Pull complete [2023-03-23T22:13:02.184Z] 4872d77fe225: Pull complete [2023-03-23T22:13:02.443Z] 5851b861e8e6: Pull complete [2023-03-23T22:13:02.443Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T22:13:02.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T22:13:02.443Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:13:02.535Z] prd-ubuntu20.04-docker-8c-8g-5617 does not seem to be running inside a container [2023-03-23T22:13:02.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T22:13:03.750Z] $ docker top fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b -eo pid,comm [2023-03-23T22:13:03.803Z] 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). [2023-03-23T22:13:03.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T22:13:03.837Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T22:13:03.837Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T22:13:03.957Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T22:13:03.965Z] $ docker exec fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b ssh-agent [2023-03-23T22:13:04.076Z] SSH_AUTH_SOCK=/tmp/ssh-XKHCiJVJdnhI/agent.32 [2023-03-23T22:13:04.076Z] SSH_AGENT_PID=38 [2023-03-23T22:13:04.084Z] Running ssh-add (command line suppressed) [2023-03-23T22:13:04.192Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_813262703299473293.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_813262703299473293.key) [2023-03-23T22:13:04.201Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T22:13:04.490Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T22:13:04.505Z] $ docker exec --env ******** --env ******** fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b ssh-agent -k [2023-03-23T22:13:04.597Z] unset SSH_AUTH_SOCK; [2023-03-23T22:13:04.597Z] unset SSH_AGENT_PID; [2023-03-23T22:13:04.597Z] echo Agent pid 38 killed; [2023-03-23T22:13:04.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T22:13:04.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T22:13:04.632Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T22:13:04.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T22:13:04.766Z] $ docker exec fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b ssh-agent [2023-03-23T22:13:04.863Z] SSH_AUTH_SOCK=/tmp/ssh-ETzDFK5VOGzf/agent.70 [2023-03-23T22:13:04.863Z] SSH_AGENT_PID=76 [2023-03-23T22:13:04.867Z] Running ssh-add (command line suppressed) [2023-03-23T22:13:04.975Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_12321441586713406003.key (/w/workspace/foundry_device-usb-camera_PR-203@tmp/private_key_12321441586713406003.key) [2023-03-23T22:13:04.987Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T22:13:05.274Z] + git semver init [2023-03-23T22:13:05.534Z] 2023-03-23 22:13:05,455 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T22:13:05.534Z] 2023-03-23 22:13:05,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-203/.semver [2023-03-23T22:13:05.534Z] 2023-03-23 22:13:05,457 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-203/.semver [2023-03-23T22:13:05.534Z] 2023-03-23 22:13:05,457 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-203/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-203, universal_newlines=False, shell=None, istream=None) [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,094 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-203/.git/info/exclude [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,095 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 with force:False [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,095 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,099 [execute] INFO git cat-file --batch-check [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,106 [execute] INFO git cat-file --batch [2023-03-23T22:13:06.103Z] 2023-03-23 22:13:06,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T22:13:06.362Z] 2023-03-23 22:13:06,111 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-203/.semver/PR-203 [2023-03-23T22:13:06.362Z] 0.0.0 [Pipeline] } [2023-03-23T22:13:06.376Z] $ docker exec --env ******** --env ******** fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b ssh-agent -k [2023-03-23T22:13:06.474Z] unset SSH_AUTH_SOCK; [2023-03-23T22:13:06.475Z] unset SSH_AGENT_PID; [2023-03-23T22:13:06.475Z] echo Agent pid 76 killed; [2023-03-23T22:13:06.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T22:13:06.781Z] + git semver [Pipeline] } [2023-03-23T22:13:07.061Z] $ docker stop --time=1 fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b [2023-03-23T22:13:08.347Z] $ docker rm -f --volumes fd6610e9961fc6251735ff8d0df2d696d7bf20db846372dd53545b4168291d1b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T22:13:08.681Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T22:13:08.891Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T22:13:08.894Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2023-03-23T22:13:09.065Z] provisioning config files... [2023-03-23T22:13:09.075Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config5811887040571935372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:13:09.376Z] ---> docker-login.sh [2023-03-23T22:13:09.376Z] nexus3.edgexfoundry.org:10001 [2023-03-23T22:13:09.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:13:09.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:13:09.376Z] Configure a credential helper to remove this warning. See [2023-03-23T22:13:09.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:13:09.376Z] [2023-03-23T22:13:09.376Z] Login Succeeded [2023-03-23T22:13:09.376Z] nexus3.edgexfoundry.org:10002 [2023-03-23T22:13:09.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:13:09.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:13:09.376Z] Configure a credential helper to remove this warning. See [2023-03-23T22:13:09.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:13:09.376Z] [2023-03-23T22:13:09.376Z] Login Succeeded [2023-03-23T22:13:09.376Z] nexus3.edgexfoundry.org:10003 [2023-03-23T22:13:09.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:13:09.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:13:09.636Z] Configure a credential helper to remove this warning. See [2023-03-23T22:13:09.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:13:09.636Z] [2023-03-23T22:13:09.636Z] Login Succeeded [2023-03-23T22:13:09.636Z] nexus3.edgexfoundry.org:10004 [2023-03-23T22:13:09.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:13:09.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:13:09.636Z] Configure a credential helper to remove this warning. See [2023-03-23T22:13:09.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:13:09.636Z] [2023-03-23T22:13:09.636Z] Login Succeeded [2023-03-23T22:13:09.636Z] docker.io [2023-03-23T22:13:09.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:13:09.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:13:09.894Z] Configure a credential helper to remove this warning. See [2023-03-23T22:13:09.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:13:09.894Z] [2023-03-23T22:13:09.894Z] Login Succeeded [2023-03-23T22:13:09.894Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T22:13:09.901Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T22:13:09.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T22:13:09.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T22:13:09.979Z] ========================================================= [2023-03-23T22:13:09.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T22:13:09.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:13:10.287Z] + 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 . [2023-03-23T22:13:10.287Z] Sending build context to Docker daemon 1.904MB [2023-03-23T22:13:10.287Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T22:13:10.287Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-23T22:13:10.287Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T22:13:10.287Z] 63b65145d645: Pulling fs layer [2023-03-23T22:13:10.287Z] a2d21d5440eb: Pulling fs layer [2023-03-23T22:13:10.287Z] 935e6c44a52c: Pulling fs layer [2023-03-23T22:13:10.287Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T22:13:10.287Z] 30dea6a524f1: Pulling fs layer [2023-03-23T22:13:10.287Z] a2aff8979fd8: Pulling fs layer [2023-03-23T22:13:10.287Z] 6808be2612f2: Pulling fs layer [2023-03-23T22:13:10.287Z] f25807f1079a: Pulling fs layer [2023-03-23T22:13:10.287Z] a2aff8979fd8: Waiting [2023-03-23T22:13:10.287Z] 6808be2612f2: Waiting [2023-03-23T22:13:10.287Z] f25807f1079a: Waiting [2023-03-23T22:13:10.287Z] 94cc34f8dd06: Waiting [2023-03-23T22:13:10.287Z] 30dea6a524f1: Waiting [2023-03-23T22:13:10.287Z] a2d21d5440eb: Verifying Checksum [2023-03-23T22:13:10.287Z] a2d21d5440eb: Download complete [2023-03-23T22:13:10.287Z] 94cc34f8dd06: Verifying Checksum [2023-03-23T22:13:10.287Z] 94cc34f8dd06: Download complete [2023-03-23T22:13:10.287Z] 30dea6a524f1: Verifying Checksum [2023-03-23T22:13:10.287Z] 30dea6a524f1: Download complete [2023-03-23T22:13:10.287Z] 63b65145d645: Verifying Checksum [2023-03-23T22:13:10.287Z] 63b65145d645: Download complete [2023-03-23T22:13:10.550Z] a2aff8979fd8: Verifying Checksum [2023-03-23T22:13:10.550Z] a2aff8979fd8: Download complete [2023-03-23T22:13:10.550Z] 63b65145d645: Pull complete [2023-03-23T22:13:10.550Z] a2d21d5440eb: Pull complete [2023-03-23T22:13:10.816Z] f25807f1079a: Verifying Checksum [2023-03-23T22:13:10.816Z] f25807f1079a: Download complete [2023-03-23T22:13:11.075Z] 935e6c44a52c: Verifying Checksum [2023-03-23T22:13:11.075Z] 935e6c44a52c: Download complete [2023-03-23T22:13:11.333Z] 6808be2612f2: Verifying Checksum [2023-03-23T22:13:11.333Z] 6808be2612f2: Download complete [2023-03-23T22:13:14.620Z] 935e6c44a52c: Pull complete [2023-03-23T22:13:14.620Z] 94cc34f8dd06: Pull complete [2023-03-23T22:13:14.620Z] 30dea6a524f1: Pull complete [2023-03-23T22:13:14.620Z] a2aff8979fd8: Pull complete [2023-03-23T22:13:16.517Z] 6808be2612f2: Pull complete [2023-03-23T22:13:17.082Z] f25807f1079a: Pull complete [2023-03-23T22:13:17.082Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T22:13:17.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T22:13:17.082Z] ---> 3b553350e43f [2023-03-23T22:13:17.082Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-23T22:13:18.459Z] ---> Running in 2ae0036ba8ef [2023-03-23T22:13:18.720Z] Removing intermediate container 2ae0036ba8ef [2023-03-23T22:13:18.720Z] ---> 07ffb5baf47f [2023-03-23T22:13:18.720Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T22:13:18.720Z] ---> Running in cc4f937136b6 [2023-03-23T22:13:18.720Z] Removing intermediate container cc4f937136b6 [2023-03-23T22:13:18.720Z] ---> 4ed2f90059be [2023-03-23T22:13:18.720Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-23T22:13:18.720Z] ---> Running in 7e949c37000d [2023-03-23T22:13:18.981Z] Removing intermediate container 7e949c37000d [2023-03-23T22:13:18.981Z] ---> bc89c8b0f95b [2023-03-23T22:13:18.981Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-23T22:13:18.981Z] ---> Running in 5b8e024c5028 [2023-03-23T22:13:18.981Z] Removing intermediate container 5b8e024c5028 [2023-03-23T22:13:18.981Z] ---> 807ef8c000c0 [2023-03-23T22:13:18.981Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T22:13:18.981Z] ---> Running in 9c8edd172d0b [2023-03-23T22:13:19.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T22:13:19.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T22:13:19.759Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-23T22:13:19.759Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-23T22:13:19.759Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-23T22:13:19.759Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-23T22:13:19.759Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-23T22:13:19.759Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-23T22:13:19.759Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-23T22:13:19.759Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-23T22:13:19.759Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-23T22:13:19.759Z] (10/14) Installing kmod-libs (30-r1) [2023-03-23T22:13:19.759Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-23T22:13:19.759Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-23T22:13:20.026Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-23T22:13:20.026Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-23T22:13:20.026Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T22:13:20.026Z] Executing eudev-3.2.11-r4.trigger [2023-03-23T22:13:20.026Z] OK: 272 MiB in 67 packages [2023-03-23T22:13:20.284Z] Removing intermediate container 9c8edd172d0b [2023-03-23T22:13:20.284Z] ---> ab741b9c8120 [2023-03-23T22:13:20.284Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-23T22:13:20.284Z] ---> Running in a2b8cd7f769f [2023-03-23T22:13:20.542Z] Removing intermediate container a2b8cd7f769f [2023-03-23T22:13:20.542Z] ---> 1f19ba35b2b2 [2023-03-23T22:13:20.542Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-23T22:13:20.542Z] ---> 65de9887f2ff [2023-03-23T22:13:20.542Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T22:13:20.542Z] ---> Running in 0bae4d66b5e1 [2023-03-23T22:13:24.019Z] Still waiting to schedule task [2023-03-23T22:13:24.019Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5616’ is offline [2023-03-23T22:13:59.268Z] Removing intermediate container 0bae4d66b5e1 [2023-03-23T22:13:59.269Z] ---> 5a88b5a5e23a [2023-03-23T22:13:59.269Z] Step 11/13 : COPY . . [2023-03-23T22:13:59.269Z] ---> bdba8d400142 [2023-03-23T22:13:59.269Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-23T22:13:59.269Z] ---> Running in b3e32cc28f03 [2023-03-23T22:13:59.269Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T22:13:59.269Z] Dload Upload Total Spent Left Speed [2023-03-23T22:13:59.269Z] 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8999 0 --:--:-- --:--:-- --:--:-- 9076 [2023-03-23T22:13:59.269Z] Removing intermediate container b3e32cc28f03 [2023-03-23T22:13:59.269Z] ---> 7444c2cf0f69 [2023-03-23T22:13:59.269Z] Step 13/13 : RUN ${MAKE} [2023-03-23T22:13:59.269Z] ---> Running in 60f0e7f87efa [2023-03-23T22:13:59.269Z] noop [2023-03-23T22:13:59.269Z] Removing intermediate container 60f0e7f87efa [2023-03-23T22:13:59.269Z] ---> e9b092d34ff6 [2023-03-23T22:13:59.269Z] Successfully built e9b092d34ff6 [2023-03-23T22:13:59.269Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:13:59.585Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T22:13:59.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:13:59.659Z] prd-ubuntu20.04-docker-8c-8g-5617 does not seem to be running inside a container [2023-03-23T22:13:59.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T22:14:00.001Z] $ docker top eb80d5b1183977c5a5939c5f569374b3342d30bfd26a8bd62388d8f253683b6f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T22:14:00.339Z] + go version [2023-03-23T22:14:00.339Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T22:14:00.352Z] $ docker stop --time=1 eb80d5b1183977c5a5939c5f569374b3342d30bfd26a8bd62388d8f253683b6f [2023-03-23T22:14:01.615Z] $ docker rm -f --volumes eb80d5b1183977c5a5939c5f569374b3342d30bfd26a8bd62388d8f253683b6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:14:02.039Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T22:14:02.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:14:02.107Z] prd-ubuntu20.04-docker-8c-8g-5617 does not seem to be running inside a container [2023-03-23T22:14:02.135Z] $ 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-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T22:14:02.438Z] $ docker top 1fc4e0816e0d3c01adea31d216192a8c5bc709f2587887986f2a114139b92f02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T22:14:02.784Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] fileExists [Pipeline] sh [2023-03-23T22:14:03.081Z] + make test [2023-03-23T22:14:03.081Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T22:14:07.264Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-23T22:14:17.230Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-23T22:14:17.230Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 2.0% of statements [2023-03-23T22:14:23.783Z] go vet ./... [2023-03-23T22:14:27.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T22:14:27.067Z] ./internal/driver/driver.go [2023-03-23T22:14:27.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T22:14:27.067Z] make: *** [Makefile:58: test] Error 1 [Pipeline] } [2023-03-23T22:14:27.084Z] $ docker stop --time=1 1fc4e0816e0d3c01adea31d216192a8c5bc709f2587887986f2a114139b92f02 [2023-03-23T22:14:28.878Z] $ docker rm -f --volumes 1fc4e0816e0d3c01adea31d216192a8c5bc709f2587887986f2a114139b92f02 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:14:29.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T22:14:29.480Z] [2023-03-23T22:14:29.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:14:29.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T22:14:29.788Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T22:14:29.788Z] 5eb5b503b376: Pulling fs layer [2023-03-23T22:14:29.788Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T22:14:29.788Z] ec43610c2a17: Pulling fs layer [2023-03-23T22:14:29.788Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T22:14:29.788Z] 33b1e0a273af: Pulling fs layer [2023-03-23T22:14:29.788Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T22:14:29.788Z] 2f39f015ded8: Pulling fs layer [2023-03-23T22:14:29.788Z] 5d3b04190fa2: Waiting [2023-03-23T22:14:29.788Z] 3a2ae6a8a46f: Waiting [2023-03-23T22:14:29.788Z] 33b1e0a273af: Waiting [2023-03-23T22:14:29.788Z] 2f39f015ded8: Waiting [2023-03-23T22:14:29.788Z] 5c69ac0246d0: Verifying Checksum [2023-03-23T22:14:29.788Z] 5c69ac0246d0: Download complete [2023-03-23T22:14:29.788Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-23T22:14:29.788Z] 3a2ae6a8a46f: Download complete [2023-03-23T22:14:30.047Z] 33b1e0a273af: Verifying Checksum [2023-03-23T22:14:30.047Z] 33b1e0a273af: Download complete [2023-03-23T22:14:30.047Z] 5d3b04190fa2: Verifying Checksum [2023-03-23T22:14:30.047Z] 5d3b04190fa2: Download complete [2023-03-23T22:14:30.047Z] ec43610c2a17: Verifying Checksum [2023-03-23T22:14:30.047Z] ec43610c2a17: Download complete [2023-03-23T22:14:30.047Z] 5eb5b503b376: Download complete [2023-03-23T22:14:30.615Z] 2f39f015ded8: Download complete [2023-03-23T22:14:31.182Z] 5eb5b503b376: Pull complete [2023-03-23T22:14:31.182Z] 5c69ac0246d0: Pull complete [2023-03-23T22:14:31.748Z] ec43610c2a17: Pull complete [2023-03-23T22:14:31.748Z] 3a2ae6a8a46f: Pull complete [2023-03-23T22:14:32.006Z] 33b1e0a273af: Pull complete [2023-03-23T22:14:32.006Z] 5d3b04190fa2: Pull complete [2023-03-23T22:14:36.199Z] 2f39f015ded8: Pull complete [2023-03-23T22:14:36.199Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T22:14:36.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T22:14:36.199Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:14:36.273Z] prd-ubuntu20.04-docker-8c-8g-5617 does not seem to be running inside a container [2023-03-23T22:14:36.301Z] $ 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-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T22:14:37.415Z] $ docker top 72099783487cec12f61297943ceab6cc4a7d0f4acfd95fb9b6a6b1ca41b5a135 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:14:37.785Z] ---> job-cost.sh [2023-03-23T22:14:37.785Z] lf-activate-venv: SKIPPING [2023-03-23T22:14:37.785Z] INFO: No Stack... [2023-03-23T22:14:38.044Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T22:14:38.303Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T22:14:38.589Z] + cat /w/workspace/foundry_device-usb-camera_PR-203/archives/cost.csv [2023-03-23T22:14:38.589Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T22:14:38.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [2023-03-23T22:14:38.608Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] did not exist. Created. [2023-03-23T22:14:38.608Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T22:14:38.906Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T22:14:38.947Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T22:14:38.954Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T22:14:38.978Z] $ docker stop --time=1 72099783487cec12f61297943ceab6cc4a7d0f4acfd95fb9b6a6b1ca41b5a135 [2023-03-23T22:14:40.123Z] $ docker rm -f --volumes 72099783487cec12f61297943ceab6cc4a7d0f4acfd95fb9b6a6b1ca41b5a135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T22:14:40.202Z] Failed in branch amd64 [2023-03-23T22:14:55.600Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5618 in /w/workspace/foundry_device-usb-camera_PR-203 [Pipeline] { [Pipeline] ws [2023-03-23T22:14:55.613Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-23T22:14:55.650Z] Selected Git installation does not exist. Using Default [2023-03-23T22:14:55.650Z] The recommended git tool is: NONE [2023-03-23T22:15:01.243Z] using credential edgex-jenkins-ssh [2023-03-23T22:15:01.265Z] Cloning the remote Git repository [2023-03-23T22:15:01.306Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-23T22:15:01.411Z] > git init /w/workspace/device-usb-camera/2 # timeout=10 [2023-03-23T22:15:01.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-23T22:15:01.563Z] > git --version # timeout=10 [2023-03-23T22:15:01.585Z] > git --version # 'git version 2.25.1' [2023-03-23T22:15:01.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T22:15:01.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T22:15:02.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-23T22:15:02.522Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T22:15:04.062Z] Merging remotes/origin/main commit 8746c938a55b5945dba82726ee73b77bfa0394d9 into PR head commit a642c90b46ea62423046cd7f7d1afb467d789168 [2023-03-23T22:15:04.350Z] Merge succeeded, producing a642c90b46ea62423046cd7f7d1afb467d789168 [2023-03-23T22:15:04.351Z] Checking out Revision a642c90b46ea62423046cd7f7d1afb467d789168 (PR-203) [2023-03-23T22:15:03.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-23T22:15:03.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-23T22:15:03.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T22:15:03.459Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T22:15:04.075Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T22:15:04.144Z] > git checkout -f a642c90b46ea62423046cd7f7d1afb467d789168 # timeout=10 [2023-03-23T22:15:04.236Z] > git remote # timeout=10 [2023-03-23T22:15:04.259Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T22:15:04.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T22:15:04.296Z] > git merge 8746c938a55b5945dba82726ee73b77bfa0394d9 # timeout=10 [2023-03-23T22:15:04.329Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T22:15:04.356Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T22:15:04.373Z] > git checkout -f a642c90b46ea62423046cd7f7d1afb467d789168 # timeout=10 [2023-03-23T22:15:07.917Z] Commit message: "refactor!: Change configuration and device toml files to yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T22:15:08.886Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T22:15:08.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T22:15:08.886Z] Dload Upload Total Spent Left Speed [2023-03-23T22:15:08.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-23T22:15:09.541Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T22:15:09.864Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T22:15:09.864Z] + sudo tee /etc/docker/daemon.new [2023-03-23T22:15:09.864Z] { [2023-03-23T22:15:09.864Z] "registry-mirrors": [ [2023-03-23T22:15:09.864Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T22:15:09.864Z] ], [2023-03-23T22:15:09.864Z] "bip": "10.250.0.254/24", [2023-03-23T22:15:09.864Z] "hosts": [ [2023-03-23T22:15:09.864Z] "tcp://0.0.0.0:5555", [2023-03-23T22:15:09.864Z] "unix:///var/run/docker.sock" [2023-03-23T22:15:09.864Z] ], [2023-03-23T22:15:09.864Z] "mtu": 1458, [2023-03-23T22:15:09.864Z] "selinux-enabled": true, [2023-03-23T22:15:09.864Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T22:15:09.864Z] } [Pipeline] sh [2023-03-23T22:15:10.186Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T22:15:10.523Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T22:15:28.772Z] provisioning config files... [2023-03-23T22:15:28.798Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config2999990341632127712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:15:29.149Z] ---> docker-login.sh [2023-03-23T22:15:29.149Z] nexus3.edgexfoundry.org:10001 [2023-03-23T22:15:29.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:15:29.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:15:29.688Z] Configure a credential helper to remove this warning. See [2023-03-23T22:15:29.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:15:29.688Z] [2023-03-23T22:15:29.688Z] Login Succeeded [2023-03-23T22:15:29.688Z] nexus3.edgexfoundry.org:10002 [2023-03-23T22:15:29.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:15:29.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:15:29.957Z] Configure a credential helper to remove this warning. See [2023-03-23T22:15:29.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:15:29.957Z] [2023-03-23T22:15:29.957Z] Login Succeeded [2023-03-23T22:15:29.957Z] nexus3.edgexfoundry.org:10003 [2023-03-23T22:15:30.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:15:30.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:15:30.493Z] Configure a credential helper to remove this warning. See [2023-03-23T22:15:30.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:15:30.493Z] [2023-03-23T22:15:30.493Z] Login Succeeded [2023-03-23T22:15:30.493Z] nexus3.edgexfoundry.org:10004 [2023-03-23T22:15:30.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:15:30.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:15:30.764Z] Configure a credential helper to remove this warning. See [2023-03-23T22:15:30.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:15:30.764Z] [2023-03-23T22:15:30.764Z] Login Succeeded [2023-03-23T22:15:30.764Z] docker.io [2023-03-23T22:15:31.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T22:15:31.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T22:15:31.302Z] Configure a credential helper to remove this warning. See [2023-03-23T22:15:31.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T22:15:31.302Z] [2023-03-23T22:15:31.302Z] Login Succeeded [2023-03-23T22:15:31.302Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T22:15:31.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T22:15:31.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T22:15:31.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T22:15:31.589Z] ========================================================= [2023-03-23T22:15:31.589Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T22:15:31.589Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:15:31.935Z] + 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 . [2023-03-23T22:15:32.203Z] Sending build context to Docker daemon 1.229MB [2023-03-23T22:15:32.203Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T22:15:32.203Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-23T22:15:32.473Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T22:15:32.473Z] af6eaf76a39c: Pulling fs layer [2023-03-23T22:15:32.473Z] 55522c791124: Pulling fs layer [2023-03-23T22:15:32.473Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T22:15:32.473Z] 169dfbe0d373: Pulling fs layer [2023-03-23T22:15:32.473Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T22:15:32.473Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T22:15:32.473Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T22:15:32.473Z] 169dfbe0d373: Waiting [2023-03-23T22:15:32.473Z] e1ff8fa3b103: Waiting [2023-03-23T22:15:32.473Z] 52ebb69f0ebf: Waiting [2023-03-23T22:15:32.473Z] 5abe8eddf0d5: Waiting [2023-03-23T22:15:32.473Z] 55522c791124: Download complete [2023-03-23T22:15:32.473Z] 169dfbe0d373: Verifying Checksum [2023-03-23T22:15:32.473Z] 169dfbe0d373: Download complete [2023-03-23T22:15:32.473Z] e1ff8fa3b103: Download complete [2023-03-23T22:15:32.473Z] af6eaf76a39c: Verifying Checksum [2023-03-23T22:15:32.473Z] af6eaf76a39c: Download complete [2023-03-23T22:15:33.453Z] af6eaf76a39c: Pull complete [2023-03-23T22:15:33.454Z] 5abe8eddf0d5: Verifying Checksum [2023-03-23T22:15:33.454Z] 5abe8eddf0d5: Download complete [2023-03-23T22:15:34.042Z] 55522c791124: Pull complete [2023-03-23T22:15:34.643Z] 52ebb69f0ebf: Verifying Checksum [2023-03-23T22:15:34.643Z] 52ebb69f0ebf: Download complete [2023-03-23T22:15:34.643Z] ce5c4a1c91eb: Verifying Checksum [2023-03-23T22:15:34.643Z] ce5c4a1c91eb: Download complete [2023-03-23T22:15:46.969Z] ce5c4a1c91eb: Pull complete [2023-03-23T22:15:46.969Z] 169dfbe0d373: Pull complete [2023-03-23T22:15:46.969Z] e1ff8fa3b103: Pull complete [2023-03-23T22:15:51.230Z] 52ebb69f0ebf: Pull complete [2023-03-23T22:15:53.171Z] 5abe8eddf0d5: Pull complete [2023-03-23T22:15:53.171Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T22:15:53.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T22:15:53.171Z] ---> 6cb57ee374ae [2023-03-23T22:15:53.171Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-23T22:15:54.594Z] ---> Running in db13c5a96351 [2023-03-23T22:15:54.860Z] Removing intermediate container db13c5a96351 [2023-03-23T22:15:54.860Z] ---> 342bebd94cd9 [2023-03-23T22:15:54.860Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-23T22:15:54.860Z] ---> Running in 83254f215024 [2023-03-23T22:15:55.126Z] Removing intermediate container 83254f215024 [2023-03-23T22:15:55.126Z] ---> 10ae02f99e09 [2023-03-23T22:15:55.126Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-23T22:15:55.126Z] ---> Running in 27106b69aad3 [2023-03-23T22:15:55.392Z] Removing intermediate container 27106b69aad3 [2023-03-23T22:15:55.392Z] ---> 09924a0e3f16 [2023-03-23T22:15:55.392Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-23T22:15:55.658Z] ---> Running in 898647aa2ac3 [2023-03-23T22:15:55.925Z] Removing intermediate container 898647aa2ac3 [2023-03-23T22:15:55.925Z] ---> 7458adffea62 [2023-03-23T22:15:55.925Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-23T22:15:55.925Z] ---> Running in 0aea59162cfb [2023-03-23T22:15:56.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T22:15:57.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T22:15:58.435Z] (1/14) Installing libintl (0.21.1-r1) [2023-03-23T22:15:58.435Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-03-23T22:15:58.435Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-03-23T22:15:58.435Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-03-23T22:15:58.435Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-03-23T22:15:58.435Z] (6/14) Installing udev-init-scripts (35-r1) [2023-03-23T22:15:58.705Z] (7/14) Installing libblkid (2.38.1-r1) [2023-03-23T22:15:58.705Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-03-23T22:15:58.705Z] (9/14) Installing zstd-libs (1.5.2-r9) [2023-03-23T22:15:58.705Z] (10/14) Installing kmod-libs (30-r1) [2023-03-23T22:15:58.705Z] (11/14) Installing eudev (3.2.11-r4) [2023-03-23T22:15:58.705Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-03-23T22:15:58.705Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-03-23T22:15:58.705Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-03-23T22:15:58.705Z] Executing busybox-1.35.0-r29.trigger [2023-03-23T22:15:58.705Z] Executing eudev-3.2.11-r4.trigger [2023-03-23T22:15:58.705Z] OK: 271 MiB in 67 packages [2023-03-23T22:16:00.122Z] Removing intermediate container 0aea59162cfb [2023-03-23T22:16:00.122Z] ---> bc40b55e9d9c [2023-03-23T22:16:00.122Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-23T22:16:00.122Z] ---> Running in c2c2f1cf13b4 [2023-03-23T22:16:00.122Z] Removing intermediate container c2c2f1cf13b4 [2023-03-23T22:16:00.122Z] ---> 24d9550115df [2023-03-23T22:16:00.122Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-23T22:16:00.703Z] ---> 6b59b36baf8b [2023-03-23T22:16:00.703Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T22:16:00.703Z] ---> Running in 21f0f3d5803f [2023-03-23T22:17:08.771Z] Removing intermediate container 21f0f3d5803f [2023-03-23T22:17:08.771Z] ---> 6e71283ff38e [2023-03-23T22:17:08.771Z] Step 11/13 : COPY . . [2023-03-23T22:17:08.771Z] ---> 5e97de11247e [2023-03-23T22:17:08.771Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-23T22:17:08.771Z] ---> Running in 58a6f5801827 [2023-03-23T22:17:08.771Z]  % Total % Received % Xferd Average Speed Time Time  Time Current [2023-03-23T22:17:08.771Z]   Dload Upload Total Spent Left Speed [2023-03-23T22:17:08.771Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4133  0 --:--:-- --:--:-- --:--:-- 4148 [2023-03-23T22:17:08.771Z] Removing intermediate container 58a6f5801827 [2023-03-23T22:17:08.771Z] ---> 6e1853bda557 [2023-03-23T22:17:08.771Z] Step 13/13 : RUN ${MAKE} [2023-03-23T22:17:08.771Z] ---> Running in f8fcad0b09b4 [2023-03-23T22:17:09.039Z] noop [2023-03-23T22:17:10.003Z] Removing intermediate container f8fcad0b09b4 [2023-03-23T22:17:10.003Z] ---> 761f9eb04db5 [2023-03-23T22:17:10.003Z] Successfully built 761f9eb04db5 [2023-03-23T22:17:10.003Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:17:10.360Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T22:17:10.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:17:10.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-5618 does not seem to be running inside a container [2023-03-23T22:17:10.654Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T22:17:11.898Z] $ docker top 01542cc90a488b293a47dbcf99103cc098b301ff096563cbc79fa50268af2e33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T22:17:12.729Z] + go version [2023-03-23T22:17:12.729Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T22:17:12.746Z] $ docker stop --time=1 01542cc90a488b293a47dbcf99103cc098b301ff096563cbc79fa50268af2e33 [2023-03-23T22:17:14.349Z] $ docker rm -f --volumes 01542cc90a488b293a47dbcf99103cc098b301ff096563cbc79fa50268af2e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:17:14.915Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T22:17:14.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:17:15.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-5618 does not seem to be running inside a container [2023-03-23T22:17:15.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T22:17:16.322Z] $ docker top 1c433c019517c81642ac5456d5e5f15cd5ce729b3da73518602c953d45ccc230 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T22:17:17.132Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-23T22:17:17.777Z] + make test [2023-03-23T22:17:17.777Z] go test ./... -coverprofile=coverage.out ./... [2023-03-23T22:17:50.001Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-23T22:19:56.671Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-23T22:19:56.671Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.060s coverage: 2.0% of statements [2023-03-23T22:19:56.671Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-23T22:19:56.671Z] go vet ./... [2023-03-23T22:20:18.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T22:20:18.773Z] ./internal/driver/driver.go [2023-03-23T22:20:18.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T22:20:18.773Z] make: *** [Makefile:58: test] Error 1 [Pipeline] } [2023-03-23T22:20:18.792Z] $ docker stop --time=1 1c433c019517c81642ac5456d5e5f15cd5ce729b3da73518602c953d45ccc230 [2023-03-23T22:20:20.854Z] $ docker rm -f --volumes 1c433c019517c81642ac5456d5e5f15cd5ce729b3da73518602c953d45ccc230 [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 [2023-03-23T22:20:22.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T22:20:22.547Z] [2023-03-23T22:20:22.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:20:22.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T22:20:23.179Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T22:20:23.179Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T22:20:23.179Z] 04944245beec: Pulling fs layer [2023-03-23T22:20:23.179Z] 699f458cf7ca: Pulling fs layer [2023-03-23T22:20:23.179Z] 765212b225bb: Pulling fs layer [2023-03-23T22:20:23.179Z] f23df028b6ca: Pulling fs layer [2023-03-23T22:20:23.179Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T22:20:23.179Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T22:20:23.179Z] f23df028b6ca: Waiting [2023-03-23T22:20:23.179Z] d65c8cfc05b1: Waiting [2023-03-23T22:20:23.179Z] 2437ff75d9bd: Waiting [2023-03-23T22:20:23.179Z] 765212b225bb: Waiting [2023-03-23T22:20:23.448Z] 04944245beec: Verifying Checksum [2023-03-23T22:20:23.448Z] 04944245beec: Download complete [2023-03-23T22:20:23.448Z] 765212b225bb: Verifying Checksum [2023-03-23T22:20:23.448Z] 765212b225bb: Download complete [2023-03-23T22:20:23.715Z] f23df028b6ca: Verifying Checksum [2023-03-23T22:20:23.715Z] f23df028b6ca: Download complete [2023-03-23T22:20:23.715Z] d65c8cfc05b1: Download complete [2023-03-23T22:20:23.986Z] 699f458cf7ca: Verifying Checksum [2023-03-23T22:20:23.986Z] 699f458cf7ca: Download complete [2023-03-23T22:20:24.569Z] 8998bd30e6a1: Verifying Checksum [2023-03-23T22:20:24.569Z] 8998bd30e6a1: Download complete [2023-03-23T22:20:28.835Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T22:20:28.835Z] 2437ff75d9bd: Download complete [2023-03-23T22:20:31.435Z] 8998bd30e6a1: Pull complete [2023-03-23T22:20:32.022Z] 04944245beec: Pull complete [2023-03-23T22:20:33.976Z] 699f458cf7ca: Pull complete [2023-03-23T22:20:33.976Z] 765212b225bb: Pull complete [2023-03-23T22:20:34.561Z] f23df028b6ca: Pull complete [2023-03-23T22:20:34.830Z] d65c8cfc05b1: Pull complete [2023-03-23T22:20:49.841Z] 2437ff75d9bd: Pull complete [2023-03-23T22:20:49.841Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T22:20:49.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T22:20:49.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:20:50.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-5618 does not seem to be running inside a container [2023-03-23T22:20:50.192Z] $ 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-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T22:20:52.788Z] $ docker top 4963df762945b16eff4336edfc99f13d0b05b211f1fc3569cfa0fa813bb57784 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:20:53.373Z] ---> job-cost.sh [2023-03-23T22:20:53.649Z] lf-activate-venv: SKIPPING [2023-03-23T22:20:53.649Z] INFO: No Stack... [2023-03-23T22:20:54.240Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T22:20:55.214Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T22:20:55.866Z] + + cut -d, -f6 [2023-03-23T22:20:55.866Z] cat /w/workspace/device-usb-camera/2/archives/cost.csv [Pipeline] lock [2023-03-23T22:20:55.945Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [2023-03-23T22:20:55.954Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] did not exist. Created. [2023-03-23T22:20:55.954Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T22:20:56.623Z] /w/workspace/device-usb-camera/2@tmp/durable-8c03f017/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T22:20:57.288Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T22:20:57.313Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T22:20:57.784Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T22:20:57.791Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T22:20:57.814Z] $ docker stop --time=1 4963df762945b16eff4336edfc99f13d0b05b211f1fc3569cfa0fa813bb57784 [2023-03-23T22:20:59.350Z] $ docker rm -f --volumes 4963df762945b16eff4336edfc99f13d0b05b211f1fc3569cfa0fa813bb57784 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T22:20:59.619Z] 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 [2023-03-23T22:21:00.325Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-203/archives ] [2023-03-23T22:21:00.325Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-23T22:21:00.325Z] total 16 [2023-03-23T22:21:00.325Z] drwxr-xr-x 3 root root 4096 Mar 23 22:14 . [2023-03-23T22:21:00.325Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 22:14 .. [2023-03-23T22:21:00.325Z] drwxr-xr-x 2 root root 4096 Mar 23 22:14 cost [2023-03-23T22:21:00.325Z] -rw-r--r-- 1 root root 89 Mar 23 22:14 cost.csv [2023-03-23T22:21:00.325Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-23T22:21:00.325Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-203/archives [2023-03-23T22:21:00.325Z] total 16 [2023-03-23T22:21:00.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 22:14 . [2023-03-23T22:21:00.325Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 22:14 .. [2023-03-23T22:21:00.325Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 22:14 cost [2023-03-23T22:21:00.325Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 23 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:00.615Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:01.478Z] ---> package-listing.sh [2023-03-23T22:21:01.478Z] ++ facter osfamily [2023-03-23T22:21:01.478Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T22:21:01.737Z] + OS_FAMILY=debian [2023-03-23T22:21:01.737Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-203 [2023-03-23T22:21:01.737Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T22:21:01.737Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T22:21:01.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T22:21:01.737Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T22:21:01.737Z] + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' [2023-03-23T22:21:01.737Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T22:21:01.737Z] + case "${OS_FAMILY}" in [2023-03-23T22:21:01.737Z] + dpkg -l [2023-03-23T22:21:01.737Z] + grep '^ii' [2023-03-23T22:21:01.737Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T22:21:01.737Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T22:21:01.737Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T22:21:01.737Z] + '[' /w/workspace/foundry_device-usb-camera_PR-203 ']' [2023-03-23T22:21:01.737Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-203/archives/ [2023-03-23T22:21:01.737Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-203/archives/ [Pipeline] echo [2023-03-23T22:21:01.747Z] 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-usb-camera_PR-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T22:21:02.023Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T22:21:02.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T22:21:02.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T22:21:02.658Z] prd-ubuntu20.04-docker-8c-8g-5617 does not seem to be running inside a container [2023-03-23T22:21:02.686Z] $ 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-usb-camera_PR-203/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-usb-camera_PR-203 -v /w/workspace/foundry_device-usb-camera_PR-203:/w/workspace/foundry_device-usb-camera_PR-203:rw,z -v /w/workspace/foundry_device-usb-camera_PR-203@tmp:/w/workspace/foundry_device-usb-camera_PR-203@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T22:21:02.889Z] $ docker top 7ff49521d421b11b1128df6c2ecde53df9ff28c31a1276176143dc47262267d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T22:21:03.234Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T22:21:03.521Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T22:21:03.805Z] + ls /var/log/sa-host [2023-03-23T22:21:03.806Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T22:21:03.874Z] provisioning config files... [2023-03-23T22:21:03.883Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-203@tmp/config14609381334597901458tmp [Pipeline] { [Pipeline] echo [2023-03-23T22:21:03.900Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:04.184Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T22:21:04.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:04.535Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T22:21:04.544Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:04.826Z] ---> sudo-logs.sh [2023-03-23T22:21:04.826Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T22:21:04.857Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:05.137Z] ---> job-cost.sh [2023-03-23T22:21:05.137Z] lf-activate-venv: SKIPPING [2023-03-23T22:21:05.137Z] DEBUG: total: 0.2199999988079071 [2023-03-23T22:21:05.137Z] INFO: Retrieving Stack Cost... [2023-03-23T22:21:05.705Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T22:21:05.964Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T22:21:05.976Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T22:21:06.256Z] ---> logs-deploy.sh [2023-03-23T22:21:06.256Z] lf-activate-venv: SKIPPING [2023-03-23T22:21:06.256Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-203/2 [2023-03-23T22:21:06.256Z] INFO: archiving workspace using pattern(s): [2023-03-23T22:21:07.197Z] Archives upload complete. [2023-03-23T22:21:07.197Z] INFO: archiving logs to Nexus