Skip to content
This repository was archived by the owner on Jun 18, 2022. It is now read-only.
This repository was archived by the owner on Jun 18, 2022. It is now read-only.

make source failed #215

Description

@timiil

my steps here :

cd /home

yum update -y

yum install -y git

git clone https://github.com/rancher/convoy.git

cd convoy

make

the fault messages:

----------------------------------------------------------------------
FAIL: util_test.go:134: TestSuite.TestLoopDevice

util_test.go:155:
    c.Assert(err, IsNil)
... value *errors.errorString = &errors.errorString{s:"Failed to execute: losetup [--show -f -r /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1"} ("Failed to execute: losetup [--show -f -r /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1")


----------------------------------------------------------------------
FAIL: volume_test.go:33: TestSuite.TestVolumeHelper

volume_test.go:35:
    c.Assert(err, IsNil)
... value *errors.errorString = &errors.errorString{s:"Failed to execute: losetup [--show -f /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1"} ("Failed to execute: losetup [--show -f /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1")


----------------------------------------------------------------------
FAIL: volume_test.go:93: TestSuite.TestVolumeHelperWithNamespace

volume_test.go:97:
    s.TestVolumeHelper(c)
volume_test.go:35:
    c.Assert(err, IsNil)
... value *errors.errorString = &errors.errorString{s:"Failed to execute: losetup [--show -f /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1"} ("Failed to execute: losetup [--show -f /tmp/util/test.img], output losetup: /tmp/util/test.img: failed to set up loop device: No such file or directory\n, error exit status 1")

OOPS: 12 passed, 3 FAILED
--- FAIL: Test (1.62s)
FAIL
coverage: 33.3% of statements
FAIL	github.com/rancher/convoy/util	1.634s
?   	github.com/rancher/convoy/vfs	[no test files]
FATA[0057] exit status 1                                
make: *** [ci] Error 1

any help please ?

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions