[Debian-ports-devel] Fwd: Re: [zfsonlinux/zfs] OpenZFS 7431 - ZFS Channel Programs (#6558)
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Thu Sep 7 19:33:52 UTC 2017
Hi!
This sounds very relevant to debian-ports as well.
Adrian
-------- Forwarded Message --------
Subject: Re: [zfsonlinux/zfs] OpenZFS 7431 - ZFS Channel Programs (#6558)
Date: Thu, 07 Sep 2017 19:21:28 +0000 (UTC)
From: Brian Behlendorf <notifications at github.com>
Reply-To: zfsonlinux/zfs <reply+0019241d85939af54c6ae3bf578d1cbdae353ec9889ce1b492cf0000000115c95e3792a169ce0f10ea20 at reply.github.com>
To: zfsonlinux/zfs <zfs at noreply.github.com>
CC: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>, Mention <mention at noreply.github.com>
@glaubitz <https://github.com/glaubitz> @gordan-bobic <https://github.com/gordan-bobic> @wzssyqa <https://github.com/wzssyqa> @xnox <https://github.com/xnox>
@SIN3R6Y <https://github.com/sin3r6y> @lundman <https://github.com/lundman> @jmar83 <https://github.com/jmar83> @harsha544 <https://github.com/harsha544>
@loli10K <https://github.com/loli10k> I'd like to ask for your help. You've all contributed to getting ZFS working on non-x86 architectures and we want to make
sure we don't regress.
This PR depends on new architecture specific assembly and we don't have access to every architecture needed for testing. If you have access to a *sparc64, arm,
aarch64, ppc, ppc64, ppc64le, mips or s390* system and are willing to help build and test this PR we'd appreciate it! The PR already passes all the test cases
for *x86 and x86_64* systems and has been merged upstream to OpenZFS so we're primarily concerned with uncovering any architecture specific issues.
Thank you in advance!
Testing instructions:
1.
You can do all the needed testing in-tree so this shouldn't be too disruptive. You'll first need to clone the zfs repository and checkout this PR, there are
directions for developing in-tree <https://github.com/zfsonlinux/zfs/wiki/Building-ZFS#developing-in-tree> posted on the wiki.
2.
Assuming you don't run in to any issues compiling you can use the |scripts/zfs.sh| script to load the new modules on the system. You'll also need to run
|sudo ./scripts/zfs-helpers.sh -iv| to create symlinks on the system to a few helpers programs in the zfs source tree. You can run |./scripts/zfs-helpers.sh
-rv| to remove the links after testing.
3.
We're primarily interested in running the ZFS Channel Program test cases so my recommendation is to create a custom runfile for the ZFS Test Suite
<https://github.com/zfsonlinux/zfs/wiki/Building-ZFS#running-zloopsh-and-zfs-testssh> called |tests/runfiles/zcp.run| which only includes the new tests and
looks like this. If you'd like to run the entire test suite, which could take many hours, you can using the existing |linux.run| file.
|[DEFAULT] pre = setup quiet = False pre_user = root user = root timeout = 600 post_user = root post = cleanup outputdir = /var/tmp/test_results
[tests/functional/channel_program/lua_core] tests = ['tst.args_to_lua', 'tst.divide_by_zero', 'tst.integer_illegal', 'tst.integer_overflow',
'tst.language_functions_neg', 'tst.language_functions_pos', 'tst.large_prog', 'tst.memory_limit', 'tst.nested_neg', 'tst.nested_pos', 'tst.nvlist_to_lua',
'tst.recursive_neg', 'tst.recursive_pos', 'tst.return_nvlist_neg', 'tst.return_nvlist_pos', 'tst.return_recursive_table', 'tst.timeout']
[tests/functional/channel_program/synctask_core] tests = ['tst.destroy_fs', 'tst.destroy_snap', 'tst.get_count_and_limit', 'tst.get_index_props',
'tst.get_mountpoint', 'tst.get_neg', 'tst.get_number_props', 'tst.get_string_props', 'tst.get_type', 'tst.get_userquota', 'tst.get_written',
'tst.list_children', 'tst.list_clones', 'tst.list_snapshots', 'tst.list_system_props', 'tst.parse_args_neg','tst.promote_conflict', 'tst.promote_multiple',
'tst.promote_simple'] |
4. Finally you can run the ZFS Test Suite with the following command from the top-level zfs directory, |scripts/zfs-tests.sh -v -r zcp|. Assuming all the tests
pass you'll see something like this. If they fail please provide any debugging you can so to help us debug it. Thanks you again for help you can offer.
|Results Summary SKIP 0 PASS 40 Running Time: 00:05:05 Percent passed: 100.0% Log directory: /var/tmp/test_results/20170907T013916 |
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <https://github.com/zfsonlinux/zfs/pull/6558#issuecomment-327898045>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABkkHToIR-K1mW0I8K1SrSV8wuwtr3Y2ks5sgEI3gaJpZM4PCFuA>.
More information about the Debian-ports-devel
mailing list