Pull request #99 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d16e8cacedc43798901d15115edf8600a5f8ed47+6092c9085675b91a8d413abdbfedf2a2dc879208 (2c110a7e76adfae7415905516147433c9e54d52d) 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-ssh13211061611703562544.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-ssh7236831772153233645.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-99/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-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5439592636777046213.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-ssh11603719085380518871.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-99/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-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7418731368146084016.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7065 in /w/workspace/xfoundry_device-usb-camera_PR-99 [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/xfoundry_device-usb-camera_PR-99 # 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 6092c9085675b91a8d413abdbfedf2a2dc879208 into PR head commit d16e8cacedc43798901d15115edf8600a5f8ed47 Merge succeeded, producing d16e8cacedc43798901d15115edf8600a5f8ed47 Checking out Revision d16e8cacedc43798901d15115edf8600a5f8ed47 (PR-99) > 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/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d16e8cacedc43798901d15115edf8600a5f8ed47 # 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 6092c9085675b91a8d413abdbfedf2a2dc879208 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d16e8cacedc43798901d15115edf8600a5f8ed47 # timeout=10 Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-07T02:40:21.621Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-07T02:40:21.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-07T02:40:21.681Z] ========================================================= [2023-04-07T02:40:21.682Z] EdgeX Global Pipelines Version Info [2023-04-07T02:40:21.682Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 378a526eb411b74f804f3c82d5369ca0a3d611d0 # timeout=10 [2023-04-07T02:40:22.396Z] ------------------- [2023-04-07T02:40:22.396Z] stable info: [2023-04-07T02:40:22.396Z] ------------------- [2023-04-07T02:40:22.396Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-07T02:40:22.396Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-07T02:40:22.396Z] Message: update stable to v1.0.245 [2023-04-07T02:40:22.966Z] ------------------- [2023-04-07T02:40:22.966Z] experimental info: [2023-04-07T02:40:22.966Z] ------------------- [2023-04-07T02:40:22.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-07T02:40:22.966Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-07T02:40:22.966Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-07T02:40:23.139Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-04-07T02:40:23.148Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-04-07T02:40:23.156Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-07T02:40:23.164Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-07T02:40:23.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-07T02:40:23.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-07T02:40:23.188Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-07T02:40:23.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-07T02:40:23.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-07T02:40:23.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-07T02:40:23.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-07T02:40:23.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-04-07T02:40:23.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-07T02:40:23.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-07T02:40:23.289Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T02:40:23.299Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-07T02:40:23.314Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T02:40:23.328Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-07T02:40:23.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-07T02:40:23.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-07T02:40:23.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-07T02:40:23.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-07T02:40:23.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-07T02:40:23.399Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-07T02:40:23.411Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-07T02:40:23.424Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-07T02:40:23.435Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-07T02:40:23.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2023-04-07T02:40:23.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2023-04-07T02:40:23.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2023-04-07T02:40:23.483Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d16e8cacedc43798901d15115edf8600a5f8ed47 [Pipeline] echo [2023-04-07T02:40:23.497Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d16e8ca [Pipeline] echo [2023-04-07T02:40:23.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T02:40:23.545Z] provisioning config files... [2023-04-07T02:40:23.558Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config4986609808840192255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:40:23.863Z] ---> docker-login.sh [2023-04-07T02:40:23.863Z] nexus3.edgexfoundry.org:10001 [2023-04-07T02:40:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:24.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:24.122Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:24.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:24.122Z] [2023-04-07T02:40:24.122Z] Login Succeeded [2023-04-07T02:40:24.122Z] nexus3.edgexfoundry.org:10002 [2023-04-07T02:40:24.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:24.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:24.122Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:24.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:24.122Z] [2023-04-07T02:40:24.122Z] Login Succeeded [2023-04-07T02:40:24.122Z] nexus3.edgexfoundry.org:10003 [2023-04-07T02:40:24.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:24.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:24.381Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:24.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:24.381Z] [2023-04-07T02:40:24.381Z] Login Succeeded [2023-04-07T02:40:24.381Z] nexus3.edgexfoundry.org:10004 [2023-04-07T02:40:24.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:24.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:24.381Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:24.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:24.381Z] [2023-04-07T02:40:24.381Z] Login Succeeded [2023-04-07T02:40:24.381Z] docker.io [2023-04-07T02:40:24.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:24.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:24.640Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:24.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:24.640Z] [2023-04-07T02:40:24.640Z] Login Succeeded [2023-04-07T02:40:24.640Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T02:40:24.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-07T02:40:25.000Z] + git rev-list -1 --merges d16e8cacedc43798901d15115edf8600a5f8ed47~1..d16e8cacedc43798901d15115edf8600a5f8ed47 [Pipeline] echo [2023-04-07T02:40:25.043Z] -----------> git rev-list -1 --merges d16e8cacedc43798901d15115edf8600a5f8ed47~1..d16e8cacedc43798901d15115edf8600a5f8ed47 d16e8cacedc43798901d15115edf8600a5f8ed47 [false] [Pipeline] sh [2023-04-07T02:40:25.329Z] + git log --format=format:%s -1 d16e8cacedc43798901d15115edf8600a5f8ed47 [Pipeline] echo [2023-04-07T02:40:25.345Z] ========================================================= [2023-04-07T02:40:25.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-07T02:40:25.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T02:40:25.661Z] + git log --format=format:%s -1 d16e8cacedc43798901d15115edf8600a5f8ed47 [Pipeline] echo [2023-04-07T02:40:25.673Z] [semverPrep] GIT_COMMIT: d16e8cacedc43798901d15115edf8600a5f8ed47, Commit Message: build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5 [Pipeline] echo [2023-04-07T02:40:25.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-07T02:40:26.013Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-07T02:40:26.013Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-07T02:40:26.013Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-07T02:40:26.013Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-07T02:40:26.013Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-07T02:40:26.013Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-07T02:40:26.013Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:40:26.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T02:40:26.364Z] [2023-04-07T02:40:26.364Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:40:26.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T02:40:26.666Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-07T02:40:26.666Z] b85a868b505f: Pulling fs layer [2023-04-07T02:40:26.666Z] e2be974225ed: Pulling fs layer [2023-04-07T02:40:26.666Z] 339a4e72a1f5: Pulling fs layer [2023-04-07T02:40:26.666Z] 988bab9f4d93: Pulling fs layer [2023-04-07T02:40:26.666Z] 1469e6f7b9e6: Pulling fs layer [2023-04-07T02:40:26.666Z] eaf3925da568: Pulling fs layer [2023-04-07T02:40:26.666Z] bab4dde63d76: Pulling fs layer [2023-04-07T02:40:26.666Z] bde34c3a00c8: Pulling fs layer [2023-04-07T02:40:26.666Z] b352a97aabf1: Pulling fs layer [2023-04-07T02:40:26.666Z] 4872d77fe225: Pulling fs layer [2023-04-07T02:40:26.666Z] 5851b861e8e6: Pulling fs layer [2023-04-07T02:40:26.666Z] bab4dde63d76: Waiting [2023-04-07T02:40:26.666Z] 4872d77fe225: Waiting [2023-04-07T02:40:26.666Z] bde34c3a00c8: Waiting [2023-04-07T02:40:26.666Z] 1469e6f7b9e6: Waiting [2023-04-07T02:40:26.666Z] eaf3925da568: Waiting [2023-04-07T02:40:26.666Z] 5851b861e8e6: Waiting [2023-04-07T02:40:26.666Z] b352a97aabf1: Waiting [2023-04-07T02:40:26.666Z] 988bab9f4d93: Waiting [2023-04-07T02:40:26.666Z] e2be974225ed: Download complete [2023-04-07T02:40:26.666Z] 988bab9f4d93: Verifying Checksum [2023-04-07T02:40:26.666Z] 988bab9f4d93: Download complete [2023-04-07T02:40:26.926Z] 1469e6f7b9e6: Verifying Checksum [2023-04-07T02:40:26.926Z] 1469e6f7b9e6: Download complete [2023-04-07T02:40:26.926Z] 339a4e72a1f5: Verifying Checksum [2023-04-07T02:40:26.926Z] 339a4e72a1f5: Download complete [2023-04-07T02:40:26.926Z] eaf3925da568: Verifying Checksum [2023-04-07T02:40:26.926Z] eaf3925da568: Download complete [2023-04-07T02:40:26.926Z] bde34c3a00c8: Verifying Checksum [2023-04-07T02:40:26.926Z] bde34c3a00c8: Download complete [2023-04-07T02:40:26.926Z] b352a97aabf1: Download complete [2023-04-07T02:40:26.926Z] 4872d77fe225: Verifying Checksum [2023-04-07T02:40:26.926Z] 4872d77fe225: Download complete [2023-04-07T02:40:26.926Z] 5851b861e8e6: Verifying Checksum [2023-04-07T02:40:26.926Z] 5851b861e8e6: Download complete [2023-04-07T02:40:26.926Z] b85a868b505f: Download complete [2023-04-07T02:40:27.184Z] bab4dde63d76: Verifying Checksum [2023-04-07T02:40:27.184Z] bab4dde63d76: Download complete [2023-04-07T02:40:28.123Z] b85a868b505f: Pull complete [2023-04-07T02:40:28.382Z] e2be974225ed: Pull complete [2023-04-07T02:40:28.640Z] 339a4e72a1f5: Pull complete [2023-04-07T02:40:28.898Z] 988bab9f4d93: Pull complete [2023-04-07T02:40:29.157Z] 1469e6f7b9e6: Pull complete [2023-04-07T02:40:29.157Z] eaf3925da568: Pull complete [2023-04-07T02:40:31.068Z] bab4dde63d76: Pull complete [2023-04-07T02:40:31.068Z] bde34c3a00c8: Pull complete [2023-04-07T02:40:31.068Z] b352a97aabf1: Pull complete [2023-04-07T02:40:31.068Z] 4872d77fe225: Pull complete [2023-04-07T02:40:31.333Z] 5851b861e8e6: Pull complete [2023-04-07T02:40:31.333Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-07T02:40:31.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-07T02:40:31.333Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:40:31.427Z] prd-ubuntu20.04-docker-8c-8g-7065 does not seem to be running inside a container [2023-04-07T02:40:31.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-07T02:40:32.674Z] $ docker top 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 -eo pid,comm [2023-04-07T02:40:32.725Z] 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-04-07T02:40:32.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-07T02:40:32.766Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T02:40:32.766Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T02:40:32.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T02:40:32.891Z] $ docker exec 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 ssh-agent [2023-04-07T02:40:32.991Z] SSH_AUTH_SOCK=/tmp/ssh-7hmJTZa0COZr/agent.33 [2023-04-07T02:40:32.991Z] SSH_AGENT_PID=39 [2023-04-07T02:40:32.999Z] Running ssh-add (command line suppressed) [2023-04-07T02:40:33.112Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_1025889013822251107.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_1025889013822251107.key) [2023-04-07T02:40:33.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T02:40:33.412Z] + git tag --points-at HEAD [Pipeline] } [2023-04-07T02:40:33.429Z] $ docker exec --env ******** --env ******** 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 ssh-agent -k [2023-04-07T02:40:33.518Z] unset SSH_AUTH_SOCK; [2023-04-07T02:40:33.518Z] unset SSH_AGENT_PID; [2023-04-07T02:40:33.518Z] echo Agent pid 39 killed; [2023-04-07T02:40:33.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-07T02:40:33.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-07T02:40:33.553Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-07T02:40:33.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-07T02:40:33.666Z] $ docker exec 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 ssh-agent [2023-04-07T02:40:33.773Z] SSH_AUTH_SOCK=/tmp/ssh-GNHSsoti01cL/agent.71 [2023-04-07T02:40:33.773Z] SSH_AGENT_PID=77 [2023-04-07T02:40:33.779Z] Running ssh-add (command line suppressed) [2023-04-07T02:40:33.893Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4672461256600097275.key (/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/private_key_4672461256600097275.key) [2023-04-07T02:40:33.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-07T02:40:34.192Z] + git semver init [2023-04-07T02:40:34.451Z] 2023-04-07 02:40:34,374 [run_init] DEBUG init version:0.0.0 force:False [2023-04-07T02:40:34.451Z] 2023-04-07 02:40:34,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-04-07T02:40:34.451Z] 2023-04-07 02:40:34,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-99/.semver [2023-04-07T02:40:34.451Z] 2023-04-07 02:40:34,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-99/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99, universal_newlines=False, shell=None, istream=None) [2023-04-07T02:40:35.385Z] 2023-04-07 02:40:35,021 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.git/info/exclude [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,022 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 with force:False [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,022 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,028 [execute] INFO git cat-file --batch-check [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,034 [execute] INFO git cat-file --batch [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2023-04-07T02:40:35.386Z] 2023-04-07 02:40:35,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-99/.semver/PR-99 [2023-04-07T02:40:35.386Z] 0.0.0 [Pipeline] } [2023-04-07T02:40:35.399Z] $ docker exec --env ******** --env ******** 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 ssh-agent -k [2023-04-07T02:40:35.487Z] unset SSH_AUTH_SOCK; [2023-04-07T02:40:35.488Z] unset SSH_AGENT_PID; [2023-04-07T02:40:35.488Z] echo Agent pid 77 killed; [2023-04-07T02:40:35.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-07T02:40:35.794Z] + git semver [Pipeline] } [2023-04-07T02:40:36.068Z] $ docker stop --time=1 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 [2023-04-07T02:40:37.375Z] $ docker rm -f --volumes 3c67c6da496f6604dcf28021ba64f2e277f51ff3848f60a6f72cfb83eddb8314 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-07T02:40:37.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-07T02:40:37.877Z] Stashed 1 file(s) [Pipeline] echo [2023-04-07T02:40:37.879Z] [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-04-07T02:40:38.010Z] provisioning config files... [2023-04-07T02:40:38.017Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config6303056303018114556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:40:38.310Z] ---> docker-login.sh [2023-04-07T02:40:38.310Z] nexus3.edgexfoundry.org:10001 [2023-04-07T02:40:38.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:38.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:38.310Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:38.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:38.310Z] [2023-04-07T02:40:38.310Z] Login Succeeded [2023-04-07T02:40:38.310Z] nexus3.edgexfoundry.org:10002 [2023-04-07T02:40:38.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:38.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:38.310Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:38.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:38.310Z] [2023-04-07T02:40:38.310Z] Login Succeeded [2023-04-07T02:40:38.310Z] nexus3.edgexfoundry.org:10003 [2023-04-07T02:40:38.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:38.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:38.569Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:38.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:38.569Z] [2023-04-07T02:40:38.569Z] Login Succeeded [2023-04-07T02:40:38.569Z] nexus3.edgexfoundry.org:10004 [2023-04-07T02:40:38.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:38.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:38.569Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:38.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:38.569Z] [2023-04-07T02:40:38.569Z] Login Succeeded [2023-04-07T02:40:38.569Z] docker.io [2023-04-07T02:40:38.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:40:38.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:40:38.828Z] Configure a credential helper to remove this warning. See [2023-04-07T02:40:38.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:40:38.828Z] [2023-04-07T02:40:38.828Z] Login Succeeded [2023-04-07T02:40:38.828Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T02:40:38.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T02:40:38.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T02:40:38.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T02:40:38.913Z] ========================================================= [2023-04-07T02:40:38.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-07T02:40:38.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:40:39.233Z] + 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-04-07T02:40:39.233Z] Sending build context to Docker daemon 1.924MB [2023-04-07T02:40:39.233Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T02:40:39.233Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-07T02:40:39.233Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-07T02:40:39.233Z] 63b65145d645: Pulling fs layer [2023-04-07T02:40:39.233Z] a2d21d5440eb: Pulling fs layer [2023-04-07T02:40:39.233Z] 935e6c44a52c: Pulling fs layer [2023-04-07T02:40:39.233Z] 94cc34f8dd06: Pulling fs layer [2023-04-07T02:40:39.233Z] 30dea6a524f1: Pulling fs layer [2023-04-07T02:40:39.233Z] a2aff8979fd8: Pulling fs layer [2023-04-07T02:40:39.233Z] 6808be2612f2: Pulling fs layer [2023-04-07T02:40:39.233Z] f25807f1079a: Pulling fs layer [2023-04-07T02:40:39.233Z] 30dea6a524f1: Waiting [2023-04-07T02:40:39.233Z] f25807f1079a: Waiting [2023-04-07T02:40:39.233Z] 6808be2612f2: Waiting [2023-04-07T02:40:39.233Z] a2aff8979fd8: Waiting [2023-04-07T02:40:39.233Z] a2d21d5440eb: Verifying Checksum [2023-04-07T02:40:39.233Z] a2d21d5440eb: Download complete [2023-04-07T02:40:39.233Z] 94cc34f8dd06: Download complete [2023-04-07T02:40:39.492Z] 30dea6a524f1: Download complete [2023-04-07T02:40:39.493Z] 63b65145d645: Verifying Checksum [2023-04-07T02:40:39.493Z] 63b65145d645: Download complete [2023-04-07T02:40:39.493Z] a2aff8979fd8: Verifying Checksum [2023-04-07T02:40:39.493Z] a2aff8979fd8: Download complete [2023-04-07T02:40:39.493Z] 63b65145d645: Pull complete [2023-04-07T02:40:39.758Z] a2d21d5440eb: Pull complete [2023-04-07T02:40:40.021Z] 935e6c44a52c: Verifying Checksum [2023-04-07T02:40:40.021Z] 935e6c44a52c: Download complete [2023-04-07T02:40:40.279Z] f25807f1079a: Download complete [2023-04-07T02:40:40.279Z] 6808be2612f2: Verifying Checksum [2023-04-07T02:40:40.279Z] 6808be2612f2: Download complete [2023-04-07T02:40:42.804Z] 935e6c44a52c: Pull complete [2023-04-07T02:40:43.063Z] 94cc34f8dd06: Pull complete [2023-04-07T02:40:43.063Z] 30dea6a524f1: Pull complete [2023-04-07T02:40:43.063Z] a2aff8979fd8: Pull complete [2023-04-07T02:40:45.595Z] 6808be2612f2: Pull complete [2023-04-07T02:40:46.533Z] f25807f1079a: Pull complete [2023-04-07T02:40:46.533Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-07T02:40:46.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-07T02:40:46.533Z] ---> 3b553350e43f [2023-04-07T02:40:46.533Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-07T02:40:47.914Z] ---> Running in 64cf1ebe428e [2023-04-07T02:40:47.914Z] Removing intermediate container 64cf1ebe428e [2023-04-07T02:40:47.914Z] ---> d1333181de87 [2023-04-07T02:40:47.914Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T02:40:47.914Z] ---> Running in 15c4c3d074b4 [2023-04-07T02:40:48.172Z] Removing intermediate container 15c4c3d074b4 [2023-04-07T02:40:48.172Z] ---> b727c086ca2c [2023-04-07T02:40:48.172Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-07T02:40:48.172Z] ---> Running in b06cbd800ea8 [2023-04-07T02:40:48.172Z] Removing intermediate container b06cbd800ea8 [2023-04-07T02:40:48.172Z] ---> 8b518c893681 [2023-04-07T02:40:48.172Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-07T02:40:48.172Z] ---> Running in f596373c6999 [2023-04-07T02:40:48.433Z] Removing intermediate container f596373c6999 [2023-04-07T02:40:48.433Z] ---> a3dd49f3828c [2023-04-07T02:40:48.433Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T02:40:48.433Z] ---> Running in 48f38b9c0755 [2023-04-07T02:40:48.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-07T02:40:48.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-07T02:40:49.228Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-07T02:40:49.228Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-07T02:40:49.228Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-07T02:40:49.228Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-07T02:40:49.228Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-07T02:40:49.228Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-07T02:40:49.228Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-07T02:40:49.228Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-07T02:40:49.228Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-07T02:40:49.228Z] (10/14) Installing kmod-libs (30-r1) [2023-04-07T02:40:49.228Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-07T02:40:49.228Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-07T02:40:49.228Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-07T02:40:49.228Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-07T02:40:49.228Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T02:40:49.228Z] Executing eudev-3.2.11-r4.trigger [2023-04-07T02:40:49.228Z] OK: 272 MiB in 67 packages [2023-04-07T02:40:49.793Z] Removing intermediate container 48f38b9c0755 [2023-04-07T02:40:49.793Z] ---> b140926cf809 [2023-04-07T02:40:49.793Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-07T02:40:50.055Z] ---> Running in 99bbe29fd3e5 [2023-04-07T02:40:50.055Z] Removing intermediate container 99bbe29fd3e5 [2023-04-07T02:40:50.055Z] ---> 4951b3b29476 [2023-04-07T02:40:50.055Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-07T02:40:50.055Z] ---> d7d5e99b417a [2023-04-07T02:40:50.055Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T02:40:50.055Z] ---> Running in d820372ef72d [2023-04-07T02:40:52.970Z] Still waiting to schedule task [2023-04-07T02:40:52.970Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-07T02:41:11.989Z] Removing intermediate container d820372ef72d [2023-04-07T02:41:11.989Z] ---> a967e613d6c1 [2023-04-07T02:41:11.989Z] Step 11/13 : COPY . . [2023-04-07T02:41:11.989Z] ---> e78d5cca2c36 [2023-04-07T02:41:11.989Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-07T02:41:11.989Z] ---> Running in fc0be3f1588c [2023-04-07T02:41:11.989Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T02:41:11.989Z] Dload Upload Total Spent Left Speed [2023-04-07T02:41:11.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8551 0 --:--:-- --:--:-- --:--:-- 8634 [2023-04-07T02:41:11.989Z] Removing intermediate container fc0be3f1588c [2023-04-07T02:41:11.989Z] ---> 11b917af211e [2023-04-07T02:41:11.989Z] Step 13/13 : RUN ${MAKE} [2023-04-07T02:41:11.989Z] ---> Running in b933de630219 [2023-04-07T02:41:11.989Z] noop [2023-04-07T02:41:11.989Z] Removing intermediate container b933de630219 [2023-04-07T02:41:11.989Z] ---> ce1d8374b076 [2023-04-07T02:41:11.989Z] Successfully built ce1d8374b076 [2023-04-07T02:41:11.989Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:41:12.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T02:41:12.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:41:12.375Z] prd-ubuntu20.04-docker-8c-8g-7065 does not seem to be running inside a container [2023-04-07T02:41:12.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat [2023-04-07T02:41:12.776Z] $ docker top 54d84a21b37c73a85108803f1fa887d481a10350a417d69d611230e0e5065e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T02:41:13.127Z] + go version [2023-04-07T02:41:13.127Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-07T02:41:13.150Z] $ docker stop --time=1 54d84a21b37c73a85108803f1fa887d481a10350a417d69d611230e0e5065e7b [2023-04-07T02:41:14.423Z] $ docker rm -f --volumes 54d84a21b37c73a85108803f1fa887d481a10350a417d69d611230e0e5065e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:41:14.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-07T02:41:14.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:41:14.882Z] prd-ubuntu20.04-docker-8c-8g-7065 does not seem to be running inside a container [2023-04-07T02:41:14.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** ci-base-image-x86_64 cat [2023-04-07T02:41:15.267Z] $ docker top fd89ca47b72c77588a5cff4a0ab5af908ab5979056edf87ef2e01cb3cc10ea65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T02:41:15.605Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] fileExists [Pipeline] sh [2023-04-07T02:41:15.900Z] + make test [2023-04-07T02:41:15.900Z] go test ./... -coverprofile=coverage.out ./... [2023-04-07T02:41:21.173Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-07T02:41:31.136Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-04-07T02:41:31.136Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-04-07T02:41:31.136Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-04-07T02:41:31.395Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-04-07T02:41:31.395Z] FAIL [2023-04-07T02:41:31.654Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-07T02:41:31.668Z] $ docker stop --time=1 fd89ca47b72c77588a5cff4a0ab5af908ab5979056edf87ef2e01cb3cc10ea65 [2023-04-07T02:41:33.903Z] $ docker rm -f --volumes fd89ca47b72c77588a5cff4a0ab5af908ab5979056edf87ef2e01cb3cc10ea65 [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-04-07T02:41:34.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T02:41:34.479Z] [2023-04-07T02:41:34.479Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:41:34.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T02:41:34.777Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-07T02:41:34.777Z] 5eb5b503b376: Pulling fs layer [2023-04-07T02:41:34.777Z] 5c69ac0246d0: Pulling fs layer [2023-04-07T02:41:34.777Z] ec43610c2a17: Pulling fs layer [2023-04-07T02:41:34.777Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-07T02:41:34.777Z] 33b1e0a273af: Pulling fs layer [2023-04-07T02:41:34.777Z] 5d3b04190fa2: Pulling fs layer [2023-04-07T02:41:34.777Z] 2f39f015ded8: Pulling fs layer [2023-04-07T02:41:34.777Z] 3a2ae6a8a46f: Waiting [2023-04-07T02:41:34.777Z] 33b1e0a273af: Waiting [2023-04-07T02:41:34.777Z] 5d3b04190fa2: Waiting [2023-04-07T02:41:34.777Z] 2f39f015ded8: Waiting [2023-04-07T02:41:34.777Z] 5c69ac0246d0: Download complete [2023-04-07T02:41:34.777Z] 3a2ae6a8a46f: Download complete [2023-04-07T02:41:34.777Z] 33b1e0a273af: Verifying Checksum [2023-04-07T02:41:34.777Z] 33b1e0a273af: Download complete [2023-04-07T02:41:34.777Z] 5d3b04190fa2: Verifying Checksum [2023-04-07T02:41:34.777Z] 5d3b04190fa2: Download complete [2023-04-07T02:41:34.777Z] ec43610c2a17: Verifying Checksum [2023-04-07T02:41:34.777Z] ec43610c2a17: Download complete [2023-04-07T02:41:35.037Z] 5eb5b503b376: Verifying Checksum [2023-04-07T02:41:35.037Z] 5eb5b503b376: Download complete [2023-04-07T02:41:35.605Z] 2f39f015ded8: Download complete [2023-04-07T02:41:36.173Z] 5eb5b503b376: Pull complete [2023-04-07T02:41:36.432Z] 5c69ac0246d0: Pull complete [2023-04-07T02:41:37.000Z] ec43610c2a17: Pull complete [2023-04-07T02:41:37.000Z] 3a2ae6a8a46f: Pull complete [2023-04-07T02:41:37.259Z] 33b1e0a273af: Pull complete [2023-04-07T02:41:37.259Z] 5d3b04190fa2: Pull complete [2023-04-07T02:41:41.443Z] 2f39f015ded8: Pull complete [2023-04-07T02:41:41.444Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-07T02:41:41.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T02:41:41.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:41:41.525Z] prd-ubuntu20.04-docker-8c-8g-7065 does not seem to be running inside a container [2023-04-07T02:41:41.651Z] $ 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/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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-lftools-log-publisher:latest cat [2023-04-07T02:41:43.944Z] $ docker top 289d1886d2cf75a7656bbe3d4d725464c955caa901367785230c49ec0867bb29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:41:44.350Z] ---> job-cost.sh [2023-04-07T02:41:44.350Z] lf-activate-venv: SKIPPING [2023-04-07T02:41:44.350Z] INFO: No Stack... [2023-04-07T02:41:44.610Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T02:41:45.179Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T02:41:45.463Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-99/archives/cost.csv [2023-04-07T02:41:45.463Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T02:41:45.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [2023-04-07T02:41:45.481Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] did not exist. Created. [2023-04-07T02:41:45.481Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T02:41:45.787Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-07T02:41:45.824Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T02:41:45.832Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T02:41:45.853Z] $ docker stop --time=1 289d1886d2cf75a7656bbe3d4d725464c955caa901367785230c49ec0867bb29 [2023-04-07T02:41:46.991Z] $ docker rm -f --volumes 289d1886d2cf75a7656bbe3d4d725464c955caa901367785230c49ec0867bb29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-07T02:41:47.078Z] Failed in branch amd64 [2023-04-07T02:45:23.964Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7067 in /w/workspace/xfoundry_device-usb-camera_PR-99 [Pipeline] { [Pipeline] ws [2023-04-07T02:45:23.979Z] Running in /w/workspace/device-usb-camera/55 [Pipeline] { [Pipeline] checkout [2023-04-07T02:45:24.014Z] Selected Git installation does not exist. Using Default [2023-04-07T02:45:24.014Z] The recommended git tool is: NONE [2023-04-07T02:45:29.875Z] using credential edgex-jenkins-ssh [2023-04-07T02:45:29.899Z] Cloning the remote Git repository [2023-04-07T02:45:29.954Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-04-07T02:45:30.052Z] > git init /w/workspace/device-usb-camera/55 # timeout=10 [2023-04-07T02:45:30.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-07T02:45:30.230Z] > git --version # timeout=10 [2023-04-07T02:45:30.253Z] > git --version # 'git version 2.25.1' [2023-04-07T02:45:30.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T02:45:30.429Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T02:45:31.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-07T02:45:31.208Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-07T02:45:32.229Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-04-07T02:45:32.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-04-07T02:45:32.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T02:45:32.303Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-07T02:45:32.826Z] Merging remotes/origin/main commit 6092c9085675b91a8d413abdbfedf2a2dc879208 into PR head commit d16e8cacedc43798901d15115edf8600a5f8ed47 [2023-04-07T02:45:33.118Z] Merge succeeded, producing d16e8cacedc43798901d15115edf8600a5f8ed47 [2023-04-07T02:45:33.119Z] Checking out Revision d16e8cacedc43798901d15115edf8600a5f8ed47 (PR-99) [2023-04-07T02:45:33.569Z] Commit message: "build(deps): Bump github.com/vladimirvivien/go4vl from 0.0.2 to 0.0.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-07T02:45:32.851Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T02:45:32.923Z] > git checkout -f d16e8cacedc43798901d15115edf8600a5f8ed47 # timeout=10 [2023-04-07T02:45:33.016Z] > git remote # timeout=10 [2023-04-07T02:45:33.036Z] > git config --get remote.origin.url # timeout=10 [2023-04-07T02:45:33.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-07T02:45:33.079Z] > git merge 6092c9085675b91a8d413abdbfedf2a2dc879208 # timeout=10 [2023-04-07T02:45:33.105Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-07T02:45:33.128Z] > git config core.sparsecheckout # timeout=10 [2023-04-07T02:45:33.147Z] > git checkout -f d16e8cacedc43798901d15115edf8600a5f8ed47 # timeout=10 [2023-04-07T02:45:34.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-07T02:45:34.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T02:45:34.432Z] Dload Upload Total Spent Left Speed [2023-04-07T02:45:34.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-04-07T02:45:35.091Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-07T02:45:35.425Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-07T02:45:35.425Z] + sudo tee /etc/docker/daemon.new [2023-04-07T02:45:35.425Z] { [2023-04-07T02:45:35.425Z] "registry-mirrors": [ [2023-04-07T02:45:35.425Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-07T02:45:35.425Z] ], [2023-04-07T02:45:35.426Z] "bip": "10.250.0.254/24", [2023-04-07T02:45:35.426Z] "hosts": [ [2023-04-07T02:45:35.426Z] "tcp://0.0.0.0:5555", [2023-04-07T02:45:35.426Z] "unix:///var/run/docker.sock" [2023-04-07T02:45:35.426Z] ], [2023-04-07T02:45:35.426Z] "mtu": 1458, [2023-04-07T02:45:35.426Z] "selinux-enabled": true, [2023-04-07T02:45:35.426Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-07T02:45:35.426Z] } [Pipeline] sh [2023-04-07T02:45:35.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-07T02:45:36.090Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T02:45:58.227Z] provisioning config files... [2023-04-07T02:45:58.251Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/55@tmp/config9921206547640265316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:45:58.594Z] ---> docker-login.sh [2023-04-07T02:45:58.594Z] nexus3.edgexfoundry.org:10001 [2023-04-07T02:45:58.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:45:59.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:45:59.139Z] Configure a credential helper to remove this warning. See [2023-04-07T02:45:59.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:45:59.139Z] [2023-04-07T02:45:59.139Z] Login Succeeded [2023-04-07T02:45:59.139Z] nexus3.edgexfoundry.org:10002 [2023-04-07T02:45:59.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:45:59.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:45:59.406Z] Configure a credential helper to remove this warning. See [2023-04-07T02:45:59.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:45:59.406Z] [2023-04-07T02:45:59.406Z] Login Succeeded [2023-04-07T02:45:59.406Z] nexus3.edgexfoundry.org:10003 [2023-04-07T02:45:59.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:45:59.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:45:59.942Z] Configure a credential helper to remove this warning. See [2023-04-07T02:45:59.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:45:59.942Z] [2023-04-07T02:45:59.942Z] Login Succeeded [2023-04-07T02:45:59.942Z] nexus3.edgexfoundry.org:10004 [2023-04-07T02:46:00.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:46:00.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:46:00.213Z] Configure a credential helper to remove this warning. See [2023-04-07T02:46:00.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:46:00.213Z] [2023-04-07T02:46:00.213Z] Login Succeeded [2023-04-07T02:46:00.213Z] docker.io [2023-04-07T02:46:00.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-07T02:46:00.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-07T02:46:00.752Z] Configure a credential helper to remove this warning. See [2023-04-07T02:46:00.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-07T02:46:00.752Z] [2023-04-07T02:46:00.752Z] Login Succeeded [2023-04-07T02:46:00.752Z] ---> docker-login.sh ends [Pipeline] } [2023-04-07T02:46:00.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-07T02:46:01.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T02:46:01.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-07T02:46:01.047Z] ========================================================= [2023-04-07T02:46:01.047Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-07T02:46:01.047Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:46:01.386Z] + 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-04-07T02:46:01.655Z] Sending build context to Docker daemon 1.222MB [2023-04-07T02:46:01.655Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-04-07T02:46:01.655Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-07T02:46:01.930Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-07T02:46:01.930Z] af6eaf76a39c: Pulling fs layer [2023-04-07T02:46:01.930Z] 55522c791124: Pulling fs layer [2023-04-07T02:46:01.930Z] ce5c4a1c91eb: Pulling fs layer [2023-04-07T02:46:01.930Z] 169dfbe0d373: Pulling fs layer [2023-04-07T02:46:01.930Z] e1ff8fa3b103: Pulling fs layer [2023-04-07T02:46:01.930Z] 52ebb69f0ebf: Pulling fs layer [2023-04-07T02:46:01.930Z] 5abe8eddf0d5: Pulling fs layer [2023-04-07T02:46:01.930Z] 169dfbe0d373: Waiting [2023-04-07T02:46:01.930Z] e1ff8fa3b103: Waiting [2023-04-07T02:46:01.930Z] 5abe8eddf0d5: Waiting [2023-04-07T02:46:01.930Z] 52ebb69f0ebf: Waiting [2023-04-07T02:46:01.930Z] 55522c791124: Download complete [2023-04-07T02:46:01.930Z] 169dfbe0d373: Verifying Checksum [2023-04-07T02:46:01.930Z] 169dfbe0d373: Download complete [2023-04-07T02:46:01.930Z] e1ff8fa3b103: Verifying Checksum [2023-04-07T02:46:01.930Z] e1ff8fa3b103: Download complete [2023-04-07T02:46:01.930Z] af6eaf76a39c: Verifying Checksum [2023-04-07T02:46:01.930Z] af6eaf76a39c: Download complete [2023-04-07T02:46:03.378Z] af6eaf76a39c: Pull complete [2023-04-07T02:46:03.378Z] 5abe8eddf0d5: Verifying Checksum [2023-04-07T02:46:03.378Z] 5abe8eddf0d5: Download complete [2023-04-07T02:46:03.648Z] 55522c791124: Pull complete [2023-04-07T02:46:04.611Z] ce5c4a1c91eb: Verifying Checksum [2023-04-07T02:46:04.611Z] ce5c4a1c91eb: Download complete [2023-04-07T02:46:04.611Z] 52ebb69f0ebf: Verifying Checksum [2023-04-07T02:46:04.611Z] 52ebb69f0ebf: Download complete [2023-04-07T02:46:16.963Z] ce5c4a1c91eb: Pull complete [2023-04-07T02:46:16.963Z] 169dfbe0d373: Pull complete [2023-04-07T02:46:16.963Z] e1ff8fa3b103: Pull complete [2023-04-07T02:46:23.709Z] 52ebb69f0ebf: Pull complete [2023-04-07T02:46:24.689Z] 5abe8eddf0d5: Pull complete [2023-04-07T02:46:24.689Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-07T02:46:24.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-07T02:46:24.689Z] ---> 6cb57ee374ae [2023-04-07T02:46:24.689Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-07T02:46:26.645Z] ---> Running in 47d7f70dadad [2023-04-07T02:46:26.912Z] Removing intermediate container 47d7f70dadad [2023-04-07T02:46:26.912Z] ---> 1211ae8d0bca [2023-04-07T02:46:26.912Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-07T02:46:26.912Z] ---> Running in ffb11348c563 [2023-04-07T02:46:27.500Z] Removing intermediate container ffb11348c563 [2023-04-07T02:46:27.500Z] ---> dff0ef655b37 [2023-04-07T02:46:27.500Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-04-07T02:46:27.500Z] ---> Running in 554159e513c9 [2023-04-07T02:46:27.768Z] Removing intermediate container 554159e513c9 [2023-04-07T02:46:27.768Z] ---> aff2437f70a3 [2023-04-07T02:46:27.768Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-04-07T02:46:27.768Z] ---> Running in eb90831cd1e3 [2023-04-07T02:46:28.039Z] Removing intermediate container eb90831cd1e3 [2023-04-07T02:46:28.039Z] ---> d11a147e1592 [2023-04-07T02:46:28.039Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-07T02:46:28.316Z] ---> Running in 3025a09b0580 [2023-04-07T02:46:29.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-07T02:46:29.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-07T02:46:31.291Z] (1/14) Installing libintl (0.21.1-r1) [2023-04-07T02:46:31.291Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-04-07T02:46:31.291Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-04-07T02:46:31.291Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-04-07T02:46:31.291Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-04-07T02:46:31.291Z] (6/14) Installing udev-init-scripts (35-r1) [2023-04-07T02:46:31.291Z] (7/14) Installing libblkid (2.38.1-r1) [2023-04-07T02:46:31.291Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-04-07T02:46:31.291Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-04-07T02:46:31.291Z] (10/14) Installing kmod-libs (30-r1) [2023-04-07T02:46:31.291Z] (11/14) Installing eudev (3.2.11-r4) [2023-04-07T02:46:31.291Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-04-07T02:46:31.291Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-04-07T02:46:31.291Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-04-07T02:46:31.291Z] Executing busybox-1.35.0-r29.trigger [2023-04-07T02:46:31.291Z] Executing eudev-3.2.11-r4.trigger [2023-04-07T02:46:31.558Z] OK: 271 MiB in 67 packages [2023-04-07T02:46:32.988Z] Removing intermediate container 3025a09b0580 [2023-04-07T02:46:32.988Z] ---> e0ef90810154 [2023-04-07T02:46:32.988Z] Step 8/13 : WORKDIR /device-usb-camera [2023-04-07T02:46:32.988Z] ---> Running in fed844698c65 [2023-04-07T02:46:33.258Z] Removing intermediate container fed844698c65 [2023-04-07T02:46:33.258Z] ---> b77a31acab8a [2023-04-07T02:46:33.258Z] Step 9/13 : COPY go.mod vendor* ./ [2023-04-07T02:46:33.847Z] ---> 9b1ad5af7f31 [2023-04-07T02:46:33.847Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-07T02:46:33.847Z] ---> Running in cc1c05acb6c4 [2023-04-07T02:47:41.765Z] Removing intermediate container cc1c05acb6c4 [2023-04-07T02:47:41.765Z] ---> 9c08f2c9ed04 [2023-04-07T02:47:41.765Z] Step 11/13 : COPY . . [2023-04-07T02:47:41.765Z] ---> 9902bf760a61 [2023-04-07T02:47:41.765Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-04-07T02:47:41.765Z] ---> Running in ffee7a841f3d [2023-04-07T02:47:41.765Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-07T02:47:41.765Z] Dload Upload Total Spent Left Speed [2023-04-07T02:47:41.765Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2701 0 --:--:-- --:--:-- --:--:-- 2709 [2023-04-07T02:47:41.765Z] Removing intermediate container ffee7a841f3d [2023-04-07T02:47:41.765Z] ---> 709938d600a1 [2023-04-07T02:47:41.765Z] Step 13/13 : RUN ${MAKE} [2023-04-07T02:47:41.765Z] ---> Running in e7ded779d8dd [2023-04-07T02:47:41.765Z] noop [2023-04-07T02:47:41.765Z] Removing intermediate container e7ded779d8dd [2023-04-07T02:47:41.765Z] ---> 7ae5628aff44 [2023-04-07T02:47:41.765Z] Successfully built 7ae5628aff44 [2023-04-07T02:47:41.765Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:47:42.131Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T02:47:42.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:47:42.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-7067 does not seem to be running inside a container [2023-04-07T02:47:42.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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 ******** ci-base-image-arm64 cat [2023-04-07T02:47:43.806Z] $ docker top cd0fe51153651edf78bce8b7592c75703aa8cafd7c7f3196ca057982d5ebae87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T02:47:44.662Z] + go version [2023-04-07T02:47:44.662Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-07T02:47:44.684Z] $ docker stop --time=1 cd0fe51153651edf78bce8b7592c75703aa8cafd7c7f3196ca057982d5ebae87 [2023-04-07T02:47:46.392Z] $ docker rm -f --volumes cd0fe51153651edf78bce8b7592c75703aa8cafd7c7f3196ca057982d5ebae87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:47:46.929Z] + docker inspect -f . ci-base-image-arm64 [2023-04-07T02:47:46.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:47:47.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-7067 does not seem to be running inside a container [2023-04-07T02:47:47.227Z] $ 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/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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 ******** ci-base-image-arm64 cat [2023-04-07T02:47:48.551Z] $ docker top 781942f8bb9afd9f6e8362578d9e30c7439429c34ffea2848d50d5d548812cca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T02:47:49.082Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/55 [Pipeline] fileExists [Pipeline] sh [2023-04-07T02:47:49.808Z] + make test [2023-04-07T02:47:49.808Z] go test ./... -coverprofile=coverage.out ./... [2023-04-07T02:48:22.071Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-04-07T02:50:28.837Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-04-07T02:50:28.837Z] internal/driver/ffmpeg.go:168:31: undefined: v4l2.PixFmtRGB24 [2023-04-07T02:50:28.837Z] internal/driver/ffmpeg.go:170:31: undefined: v4l2.PixFmtGrey [2023-04-07T02:50:41.174Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-04-07T02:50:41.174Z] FAIL [2023-04-07T02:50:41.174Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-04-07T02:50:41.197Z] $ docker stop --time=1 781942f8bb9afd9f6e8362578d9e30c7439429c34ffea2848d50d5d548812cca [2023-04-07T02:50:43.348Z] $ docker rm -f --volumes 781942f8bb9afd9f6e8362578d9e30c7439429c34ffea2848d50d5d548812cca [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-04-07T02:50:44.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T02:50:46.330Z] [2023-04-07T02:50:46.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:50:46.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T02:50:47.003Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-07T02:50:47.003Z] 8998bd30e6a1: Pulling fs layer [2023-04-07T02:50:47.003Z] 04944245beec: Pulling fs layer [2023-04-07T02:50:47.003Z] 699f458cf7ca: Pulling fs layer [2023-04-07T02:50:47.003Z] 765212b225bb: Pulling fs layer [2023-04-07T02:50:47.003Z] f23df028b6ca: Pulling fs layer [2023-04-07T02:50:47.003Z] d65c8cfc05b1: Pulling fs layer [2023-04-07T02:50:47.003Z] 2437ff75d9bd: Pulling fs layer [2023-04-07T02:50:47.003Z] 765212b225bb: Waiting [2023-04-07T02:50:47.003Z] f23df028b6ca: Waiting [2023-04-07T02:50:47.003Z] d65c8cfc05b1: Waiting [2023-04-07T02:50:47.003Z] 2437ff75d9bd: Waiting [2023-04-07T02:50:47.003Z] 04944245beec: Verifying Checksum [2023-04-07T02:50:47.003Z] 04944245beec: Download complete [2023-04-07T02:50:47.003Z] 765212b225bb: Verifying Checksum [2023-04-07T02:50:47.003Z] 765212b225bb: Download complete [2023-04-07T02:50:47.003Z] f23df028b6ca: Verifying Checksum [2023-04-07T02:50:47.003Z] f23df028b6ca: Download complete [2023-04-07T02:50:47.273Z] d65c8cfc05b1: Verifying Checksum [2023-04-07T02:50:47.273Z] d65c8cfc05b1: Download complete [2023-04-07T02:50:47.544Z] 699f458cf7ca: Verifying Checksum [2023-04-07T02:50:47.544Z] 699f458cf7ca: Download complete [2023-04-07T02:50:47.814Z] 8998bd30e6a1: Verifying Checksum [2023-04-07T02:50:47.814Z] 8998bd30e6a1: Download complete [2023-04-07T02:50:51.179Z] 2437ff75d9bd: Verifying Checksum [2023-04-07T02:50:51.179Z] 2437ff75d9bd: Download complete [2023-04-07T02:50:54.551Z] 8998bd30e6a1: Pull complete [2023-04-07T02:50:54.826Z] 04944245beec: Pull complete [2023-04-07T02:50:56.241Z] 699f458cf7ca: Pull complete [2023-04-07T02:50:56.511Z] 765212b225bb: Pull complete [2023-04-07T02:50:57.097Z] f23df028b6ca: Pull complete [2023-04-07T02:50:59.044Z] d65c8cfc05b1: Pull complete [2023-04-07T02:51:14.070Z] 2437ff75d9bd: Pull complete [2023-04-07T02:51:14.070Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-07T02:51:14.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-07T02:51:14.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:51:14.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-7067 does not seem to be running inside a container [2023-04-07T02:51:14.330Z] $ 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/55 -v /w/workspace/device-usb-camera/55:/w/workspace/device-usb-camera/55:rw,z -v /w/workspace/device-usb-camera/55@tmp:/w/workspace/device-usb-camera/55@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-lftools-log-publisher:arm64 cat [2023-04-07T02:51:16.912Z] $ docker top c5b05162568ae24ac26b23e7eadd27ff1856254c2729c4e179108e26f05084f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:17.749Z] ---> job-cost.sh [2023-04-07T02:51:17.749Z] lf-activate-venv: SKIPPING [2023-04-07T02:51:17.749Z] INFO: No Stack... [2023-04-07T02:51:18.016Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-07T02:51:18.975Z] INFO: Archiving Costs [Pipeline] sh [2023-04-07T02:51:19.614Z] + cat /w/workspace/device-usb-camera/55/archives/cost.csv [2023-04-07T02:51:19.614Z] + cut -d, -f6 [Pipeline] lock [2023-04-07T02:51:19.681Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [2023-04-07T02:51:19.687Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] did not exist. Created. [2023-04-07T02:51:19.687Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-07T02:51:20.025Z] /w/workspace/device-usb-camera/55@tmp/durable-c5a4ff0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-07T02:51:20.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-07T02:51:20.701Z] Warning: overwriting stash ‘stack-cost’ [2023-04-07T02:51:21.121Z] Stashed 1 file(s) [Pipeline] } [2023-04-07T02:51:21.128Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-99-55-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-07T02:51:21.145Z] $ docker stop --time=1 c5b05162568ae24ac26b23e7eadd27ff1856254c2729c4e179108e26f05084f7 [2023-04-07T02:51:22.646Z] $ docker rm -f --volumes c5b05162568ae24ac26b23e7eadd27ff1856254c2729c4e179108e26f05084f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-07T02:51:22.883Z] 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-04-07T02:51:23.535Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-99/archives ] [2023-04-07T02:51:23.535Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-04-07T02:51:23.535Z] total 16 [2023-04-07T02:51:23.535Z] drwxr-xr-x 3 root root 4096 Apr 7 02:41 . [2023-04-07T02:51:23.535Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 02:41 .. [2023-04-07T02:51:23.535Z] drwxr-xr-x 2 root root 4096 Apr 7 02:41 cost [2023-04-07T02:51:23.535Z] -rw-r--r-- 1 root root 89 Apr 7 02:41 cost.csv [2023-04-07T02:51:23.535Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-04-07T02:51:23.535Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-99/archives [2023-04-07T02:51:23.535Z] total 16 [2023-04-07T02:51:23.535Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 02:41 . [2023-04-07T02:51:23.535Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 02:41 .. [2023-04-07T02:51:23.535Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 02:41 cost [2023-04-07T02:51:23.535Z] -rw-r--r-- 1 jenkins jenkins 89 Apr 7 02:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:23.826Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:24.691Z] ---> package-listing.sh [2023-04-07T02:51:24.691Z] ++ facter osfamily [2023-04-07T02:51:24.691Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-07T02:51:24.949Z] + OS_FAMILY=debian [2023-04-07T02:51:24.949Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-99 [2023-04-07T02:51:24.949Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-07T02:51:24.949Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-07T02:51:24.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-07T02:51:24.949Z] + PACKAGES=/tmp/packages_start.txt [2023-04-07T02:51:24.949Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-04-07T02:51:24.949Z] + PACKAGES=/tmp/packages_end.txt [2023-04-07T02:51:24.949Z] + case "${OS_FAMILY}" in [2023-04-07T02:51:24.949Z] + dpkg -l [2023-04-07T02:51:24.949Z] + grep '^ii' [2023-04-07T02:51:24.949Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-07T02:51:24.949Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-07T02:51:24.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-07T02:51:24.949Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-99 ']' [2023-04-07T02:51:24.949Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [2023-04-07T02:51:24.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-99/archives/ [Pipeline] echo [2023-04-07T02:51:24.960Z] 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-07T02:51:25.237Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-07T02:51:25.799Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-07T02:51:25.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-07T02:51:25.873Z] prd-ubuntu20.04-docker-8c-8g-7065 does not seem to be running inside a container [2023-04-07T02:51:25.902Z] $ 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/xfoundry_device-usb-camera_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-99 -v /w/workspace/xfoundry_device-usb-camera_PR-99:/w/workspace/xfoundry_device-usb-camera_PR-99:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-99@tmp:/w/workspace/xfoundry_device-usb-camera_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-07T02:51:26.079Z] $ docker top d6f8707ea7401b8c67694591e733e756e9b14f420c7b6408f94430746870a3b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-07T02:51:26.415Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-07T02:51:26.702Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-07T02:51:26.992Z] + ls /var/log/sa-host [2023-04-07T02:51:26.992Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-07T02:51:27.058Z] provisioning config files... [2023-04-07T02:51:27.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-99@tmp/config7267042907296967958tmp [Pipeline] { [Pipeline] echo [2023-04-07T02:51:27.079Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:27.363Z] ---> create-netrc.sh [Pipeline] } [2023-04-07T02:51:27.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:27.694Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-07T02:51:27.703Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:27.986Z] ---> sudo-logs.sh [2023-04-07T02:51:27.986Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-07T02:51:28.015Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:28.297Z] ---> job-cost.sh [2023-04-07T02:51:28.297Z] lf-activate-venv: SKIPPING [2023-04-07T02:51:28.297Z] DEBUG: total: 0.2199999988079071 [2023-04-07T02:51:28.297Z] INFO: Retrieving Stack Cost... [2023-04-07T02:51:28.865Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-07T02:51:29.124Z] INFO: Archiving Costs [Pipeline] echo [2023-04-07T02:51:29.135Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-07T02:51:29.415Z] ---> logs-deploy.sh [2023-04-07T02:51:29.415Z] lf-activate-venv: SKIPPING [2023-04-07T02:51:29.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-99/55 [2023-04-07T02:51:29.415Z] INFO: archiving workspace using pattern(s): [2023-04-07T02:51:30.353Z] Archives upload complete. [2023-04-07T02:51:30.353Z] INFO: archiving logs to Nexus