[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Errors during test phase of installation.....
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] Errors during test phase of installation..... |
Date: |
Mon, 6 Feb 2017 12:17:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Scott,
can you take a step back please and answer my earlier questions?
>> can you explain this a little bit more detailed? do you mean that untar-ing
>> the duplicity tarball creates files/folders with improper permissions?
>>
>> what do those improper permissions/owner values look like?
..ede
On 05.02.2017 22:38, Scott Hannahs wrote:
> These are the tests that now give errors when run as “fink-bld” user and
> allowing 4096 simultaneous open files. I have not included the unsupported
> par2 backend issues. The assertion 30 just seems to be an “exception” which
> is sort of broad.
> -Scott
>
>
> test_piped_password (testing.functional.test_final.OldFilenamesFinalTest)
> Make sure that prompting for a password works … ERROR
>
> test_new_file (testing.functional.test_restart.RestartTest) ... ERROR
> test_split_after_large (testing.functional.test_restart.RestartTest) ... ERROR
> test_split_after_small (testing.functional.test_restart.RestartTest) ... ERROR
> test_split_inside_large (testing.functional.test_restart.RestartTest) ...
> ERROR
> test_ignore_double_snapshot
> (testing.functional.test_restart.RestartTestWithoutEncryption) ... ERROR
> test_new_file (testing.functional.test_restart.RestartTestWithoutEncryption)
> … ERROR
>
> test_split_after_large
> (testing.functional.test_restart.RestartTestWithoutEncryption) ... ERROR
> test_split_after_small
> (testing.functional.test_restart.RestartTestWithoutEncryption) ... ERROR
> test_split_inside_large
> (testing.functional.test_restart.RestartTestWithoutEncryption) ... ERROR
>
> test_diff2 (testing.unit.test_diffdir.DDTest)
> Another diff test - this one involves multivol support ... sh: rdiff: command
> not found
> FAIL
>
> ======================================================================
> ERROR: test_piped_password (testing.functional.test_final.FinalTest)
> Make sure that prompting for a password works
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_final.py",
> line 163, in test_piped_password
> passphrase_input=[self.sign_passphrase, self.sign_passphrase])
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 143, in backup
> result = self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 110, in run_duplicity
> child.expect('passphrase.*:')
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1451, in
> expect
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1466, in
> expect_list
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1554, in
> expect_loop
> raise EOF(str(err) + '\n' + str(self))
> EOF: End Of File (EOF). Empty string style platform.
> <pexpect.spawn object at 0x109c21390>
> version: 3.3
> command: /bin/sh
> args: ['/bin/sh', '-c', '"duplicity" "full" "testfiles/empty_dir"
> "file://testfiles/output" "--volsize" "1" "-v0" "--no-print-statistics"
> "--allow-source-mismatch" "--archive-dir=testfiles/cache"']
> searcher: <pexpect.searcher_re object at 0x10a3a07d0>
> buffer (last 100 chars): ''
> before (last 100 chars): ' unknown encoding: \r\n\r\ntest\r\n'
> after: <class 'pexpect.EOF'>
> match: None
> match_index: None
> exitstatus: 30
> flag_eof: True
> pid: 3668
> child_fd: 3
> closed: False
> timeout: None
> delimiter: <class 'pexpect.EOF'>
> logfile: None
> logfile_read: None
> logfile_send: None
> maxread: 2000
> ignorecase: False
> searchwindowsize: None
> delaybeforesend: 0.05
> delayafterclose: 0.1
> delayafterterminate: 0.1
>
> ======================================================================
> ERROR: test_piped_password
> (testing.functional.test_final.OldFilenamesFinalTest)
> Make sure that prompting for a password works
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_final.py",
> line 163, in test_piped_password
> passphrase_input=[self.sign_passphrase, self.sign_passphrase])
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 143, in backup
> result = self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 110, in run_duplicity
> child.expect('passphrase.*:')
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1451, in
> expect
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1466, in
> expect_list
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1554, in
> expect_loop
> raise EOF(str(err) + '\n' + str(self))
> EOF: End Of File (EOF). Empty string style platform.
> <pexpect.spawn object at 0x10a32b750>
> version: 3.3
> command: /bin/sh
> args: ['/bin/sh', '-c', '"duplicity" "full" "testfiles/empty_dir"
> "file://testfiles/output" "--volsize" "1" "-v0" "--no-print-statistics"
> "--allow-source-mismatch" "--archive-dir=testfiles/cache" "--old-filenames"']
> searcher: <pexpect.searcher_re object at 0x10a32b990>
> buffer (last 100 chars): ''
> before (last 100 chars): ' unknown encoding: \r\n\r\ntest\r\n'
> after: <class 'pexpect.EOF'>
> match: None
> match_index: None
> exitstatus: 30
> flag_eof: True
> pid: 4329
> child_fd: 3
> closed: False
> timeout: None
> delimiter: <class 'pexpect.EOF'>
> logfile: None
> logfile_read: None
> logfile_send: None
> maxread: 2000
> ignorecase: False
> searchwindowsize: None
> delaybeforesend: 0.05
> delayafterclose: 0.1
> delayafterterminate: 0.1
>
>
> ======================================================================
> ERROR: test_piped_password
> (testing.functional.test_final.ShortFilenamesFinalTest)
> Make sure that prompting for a password works
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_final.py",
> line 163, in test_piped_password
> passphrase_input=[self.sign_passphrase, self.sign_passphrase])
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 143, in backup
> result = self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 110, in run_duplicity
> child.expect('passphrase.*:')
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1451, in
> expect
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1466, in
> expect_list
> timeout, searchwindowsize)
> File "/sw/lib/python2.7/site-packages/pexpect/__init__.py", line 1554, in
> expect_loop
> raise EOF(str(err) + '\n' + str(self))
> EOF: End Of File (EOF). Empty string style platform.
> <pexpect.spawn object at 0x109c216d0>
> version: 3.3
> command: /bin/sh
> args: ['/bin/sh', '-c', '"duplicity" "full" "testfiles/empty_dir"
> "file://testfiles/output" "--volsize" "1" "-v0" "--no-print-statistics"
> "--allow-source-mismatch" "--archive-dir=testfiles/cache"
> "--short-filenames"']
> searcher: <pexpect.searcher_re object at 0x10a335c10>
> buffer (last 100 chars): ''
> before (last 100 chars): ' unknown encoding: \r\n\r\ntest\r\n'
> after: <class 'pexpect.EOF'>
> match: None
> match_index: None
> exitstatus: 30
> flag_eof: True
> pid: 4999
> child_fd: 3
> closed: False
> timeout: None
> delimiter: <class 'pexpect.EOF'>
> logfile: None
> logfile_read: None
> logfile_send: None
> maxread: 2000
> ignorecase: False
> searchwindowsize: None
> delaybeforesend: 0.05
> delayafterclose: 0.1
> delayafterterminate: 0.1
>
> ======================================================================
> ERROR: test_new_file (testing.functional.test_restart.RestartTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 248, in test_new_file
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_after_large (testing.functional.test_restart.RestartTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 211, in test_split_after_large
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_after_small (testing.functional.test_restart.RestartTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 191, in test_split_after_small
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_inside_large (testing.functional.test_restart.RestartTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 227, in test_split_inside_large
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_ignore_double_snapshot
> (testing.functional.test_restart.RestartTestWithoutEncryption)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 356, in test_ignore_double_snapshot
> self.backup("inc", "testfiles/blocktartest")
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 143, in backup
> result = self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_new_file
> (testing.functional.test_restart.RestartTestWithoutEncryption)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 248, in test_new_file
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_after_large
> (testing.functional.test_restart.RestartTestWithoutEncryption)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 211, in test_split_after_large
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_after_small
> (testing.functional.test_restart.RestartTestWithoutEncryption)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 191, in test_split_after_small
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> ERROR: test_split_inside_large
> (testing.functional.test_restart.RestartTestWithoutEncryption)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/test_restart.py",
> line 227, in test_split_inside_large
> self.restore()
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 156, in restore
> self.run_duplicity(options=options, **kwargs)
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/functional/__init__.py",
> line 130, in run_duplicity
> raise CmdError(return_val)
> CmdError: 30
>
> ======================================================================
> FAIL: test_diff2 (testing.unit.test_diffdir.DDTest)
> Another diff test - this one involves multivol support
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/sw/src/fink.build/duplicity-0.7.11-6/duplicity-0.7.11/testing/unit/test_diffdir.py",
> line 154, in test_diff2
> assert not os.system("rdiff patch testfiles/dir2/largefile "
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 418 tests in 687.861s
>
> FAILED (failures=1, errors=19, skipped=5)
> Test failed: <unittest.runner.TextTestResult run=418 errors=19 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=418 errors=19
> failures=1>
>
>
>> On Feb 5, 2017, at 8:28 AM, edgar.soldin--- via Duplicity-talk
>> <address@hidden> wrote:
>>
>> On 04.02.2017 00:23, Scott Hannahs via Duplicity-talk wrote:
>>> The other big error was that the un-tar of the test files would set file
>>> permissions and owners so that the test user could not delete them. I set
>>> a note that the testing phase has to run as root. It shouldn’t but that
>>> seems to be an issue. If the no-owner no-group flags were set on the untar
>>> command for the test directories it might work. But that may mess up some
>>> of the tests.
>>
>> Scott,
>>
>> can you explain this a little bit more detailed? do you mean that untar-ing
>> the duplicity tarball creates files/folders with improper permissions?
>>
>> what do those improper persmissions/owner values look like?
>>
>> ..ede/duply.net
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
- Re: [Duplicity-talk] Errors during test phase of installation....., (continued)
- Re: [Duplicity-talk] Errors during test phase of installation....., edgar . soldin, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., Kenneth Loafman, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., edgar . soldin, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., Kenneth Loafman, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., Scott Hannahs, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., edgar . soldin, 2017/02/06
- Re: [Duplicity-talk] Errors during test phase of installation....., Kenneth Loafman, 2017/02/06
- Re: [Duplicity-talk] Errors during test phase of installation....., Scott Hannahs, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation....., edgar . soldin, 2017/02/06
- Re: [Duplicity-talk] Errors during test phase of installation....., Scott Hannahs, 2017/02/05
- Re: [Duplicity-talk] Errors during test phase of installation.....,
edgar . soldin <=