[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947452: RFS: kworkflow/20191112-1 [ITP] -- Inglorious kernel developer workflow scripts



On Fri, Dec 27, 2019 at 01:12:26AM -0300, Rodrigo Carvalho wrote:
>  * Package name    : kworkflow
>    Version         : 20191112-1

> Changes since the last upload:
> 
>    * Initial release. Closes: #946781

Hi!
I'm afraid that autopkgtest fails, as it tries to access the current user's
$HOME.  No package should reach outside of its build dir, during either the
compile or test step.

You can eg. set $HOME to $AUTOPKGTEST_TMP which is a valid writeable dir.


autopkgtest [23:13:22]: test kw-basic-test: [-----------------------
error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory
error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory
Running test [checkpatch_wrapper_test]
=========================================================
testWarning
testError
testChecks
testCorrect

Ran 4 tests.

OK
Running test [commons_test]
=========================================================
testParseRegularConfig
testParseUnsupportedFile
testDefaultConfigFile
testLocalConfigFile

Ran 4 tests.

OK
Running test [configm_test]
=========================================================
testExecuteConfigManagerSAVEfails
testSaveConfigFileCHECK_CONFIGfails
testSaveConfigFileCHECK_CONFIGS_DIRECTORY
testSaveConfigFileCHECK_SAVED_CONFIG_FILE
testSaveConfigFileCHECK_DESCRIPTION
testSaveConfigFileCHECK_GIT_SAVE_SCHEMA
testSaveConfigFileCHECK_FORCE
testListConfigsCHECK_NO_CONFIGS
testListConfigsOUTPUT
testGetOperationWithForce
testGetOperationThatShouldFail
testRemoveOperationThatShouldFail
testRemoveOperation

Ran 13 tests.

OK
Running test [explore_test]
=========================================================
testExplore

Ran 1 test.

OK
Running test [fish_completion_test]
=========================================================
testKwCompletion

Ran 1 test.

OK
Running test [get_maintainer_wrapper_test]
=========================================================
testPrintFileAuthorForFile
testPrintFileAuthorForDir
testGetMaintainers

Ran 3 tests.

OK
Running test [help_test]
=========================================================
testHelp

Ran 1 test.

OK
Running test [kw_dash]
=========================================================
testDash
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory

Ran 1 test.

OK
Running test [kw_test]
=========================================================
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot stat '/tmp/autopkgtest.gQu1DL/build.mAh/src/tests/etc/.': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
testVariables
testExported

Ran 2 tests.

OK
Running test [kwio_test]
=========================================================
testAlertOptions
testAlertDefaultOptions
testAlertCommandPrinting

Ran 3 tests.

OK
Running test [kwlib_test]
=========================================================
linuxRootCheckTest
cmdManagerTESTMODETest
cmdManagerSILENTTest
cmdManagerSAY_COMPLAIN_WARNING_SUCCESS_Test
detectDistroTest
joinPathTest
findKernelRootTest
isAPatchTest

Ran 8 tests.

OK
Running test [ssh_test]
=========================================================
vmSshFailsTest
vmSshTest
vmSshCommandTest
vmSshScriptTest

Ran 4 tests.

OK
=========================================================
Total: 12 test file(s)
Test file(s) SUCCEEDED
test_codestyle
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
test_maintainers
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
test_explore
Initialized empty Git repository in /tmp/autopkgtest.gQu1DL/autopkgtest_tmp/.git/
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory

Ran 3 tests.

OK
autopkgtest [23:13:24]: test kw-basic-test: -----------------------]
autopkgtest [23:13:25]: test kw-basic-test:  - - - - - - - - - - results - - - - - - - - - -
kw-basic-test        FAIL stderr: error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory
autopkgtest [23:13:25]: test kw-basic-test:  - - - - - - - - - - stderr - - - - - - - - - -
error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory
error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot stat '/tmp/autopkgtest.gQu1DL/build.mAh/src/tests/etc/.': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
install: cannot create directory ‘/home/kilobyte’: Permission denied
cp: cannot create directory '/home/kilobyte/.config/kw': No such file or directory
sed: can't read /home/kilobyte/.config/kw/kworkflow.config: No such file or directory
autopkgtest [23:13:25]: @@@@@@@@@@@@@@@@@@@@ summary
kw-basic-test        FAIL stderr: error: could not lock config file /home/kilobyte/.gitconfig: No such file or directory

E: Autopkgtest run failed.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.


Reply to: