[LU-7376] sanity-hsm test_59 test failed divide error: 0000 [#1] SMP RIP: 0010:[<ffffffffa0d0ed74>] [<ffffffffa0d0ed74>] lod_declare_striped_object+0x4d4/0x940 [lod] Created: 03/Nov/15  Updated: 10/Feb/17  Resolved: 25/Nov/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.8.0
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: parinay v kondekar (Inactive) Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None
Environment:

Configuration : 4 node - 1 MDS/ 1OSS / 2 clients
Server 2.5.x
Client 2.7.62


Attachments: File 59.lctl.tgz     Text File vmcore-dmesg.txt    
Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
691 <4>Lustre: DEBUG MARKER: == sanity-hsm test 59: Release stripeless file with non-zero size == 02:32:13 (1446345133)
692 <4>divide error: 0000 [#1] SMP$
693 <4>last sysfs file: /sys/devices/system/cpu/online
694 <4>CPU 1$
695 <4>Modules linked in: osp(U) mdd(U) lfsck(U) lod(U) mdt(U) mgs(U) mgc(U) osd_ldiskfs(U) lquota(U) lustre(U) lov(U) mdc(U) fid(U) fld(U) ksocklnd(U) ptlrpc(U) obdclass(U) lnet(U)     sha512_generic sha256_generic libcfs(U) ldiskfs(U) nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipt_REJECT ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip    6table_filter ip6_tables ipv6 virtio_balloon virtio_net i2c_piix4 i2c_core ext4 jbd2 mbcache virtio_blk virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm    _region_hash dm_log dm_mod [last unloaded: nf_defrag_ipv4]
696 <4>
697 <4>Pid: 6084, comm: mdt_rdpg00_000 Not tainted 2.6.32-431.17.1.x2.0.69.x86_64 #1 Red Hat KVM
698 <4>RIP: 0010:[<ffffffffa0d0ed74>]  [<ffffffffa0d0ed74>] lod_declare_striped_object+0x4d4/0x940 [lod]
699 <4>RSP: 0018:ffff88010c25da60  EFLAGS: 00010246
700 <4>RAX: 0000000000000000 RBX: ffff8801004f2920 RCX: 0000000000010000
701 <4>RDX: 0000000000000000 RSI: 000000000000002a RDI: 0000000000000000
702 <4>RBP: ffff88010c25dab0 R08: 0000000000000000 R09: ffff88011cc17680
703 <4>R10: 0000000000000001 R11: 0000000000010000 R12: ffff8801027f1380
704 <4>R13: ffff88010b5bf240 R14: ffff88010207b000 R15: ffff88010207b0d0
705 <4>FS:  0000000000000000(0000) GS:ffff880028300000(0000) knlGS:0000000000000000
706 <4>CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
707 <4>CR2: 00007f573fe7e000 CR3: 0000000119170000 CR4: 00000000000006e0
708 <4>DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
709 <4>DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
710 <4>Process mdt_rdpg00_000 (pid: 6084, threadinfo ffff88010c25c000, task ffff88010c25b540)
711 <4>Stack:
712 <4> ffff8801027f1380 ffff88010b5bf240 ffff88010207b0d0 ffff88011cc17680
713 <4><d> ffff88010c25dab0 ffff8801004f2920 ffff8801027f1380 ffff88010b5bf240
714 <4><d> ffffffffa0d9c2c2 0000000000000002 ffff88010c25db10 ffffffffa0d0f9c0
715 <4>Call Trace:
716 <4> [<ffffffffa0d0f9c0>] lod_declare_xattr_set+0x2d0/0x4e0 [lod]
717 <4> [<ffffffffa0d8d98f>] mdd_declare_xattr_set+0x8f/0x260 [mdd]
718 <4> [<ffffffffa0d8c53c>] ? mdo_xattr_get+0xac/0x1c0 [mdd]
719 <4> [<ffffffffa0d91259>] mdd_swap_layouts+0x939/0x12b0 [mdd]
720 <4> [<ffffffffa0d99c8d>] ? mdd_trans_stop+0x1d/0xe6 [mdd]
721 <4> [<ffffffffa0c531ca>] mdt_mfd_close+0x144a/0x1ba0 [mdt]
722 <4> [<ffffffffa069d035>] ? lustre_msg_buf+0x55/0x60 [ptlrpc]
723 <4> [<ffffffffa0c54d63>] mdt_close+0x6f3/0xaa0 [mdt]
724 <4> [<ffffffffa06ff1ee>] tgt_request_handle+0x6fe/0xaf0 [ptlrpc]
725 <4> [<ffffffffa06af57a>] ptlrpc_main+0xd7a/0x1880 [ptlrpc]
726 <4> [<ffffffffa06ae800>] ? ptlrpc_main+0x0/0x1880 [ptlrpc]
727 <4> [<ffffffff8109ac66>] kthread+0x96/0xa0
728 <4> [<ffffffff8100c20a>] child_rip+0xa/0x20
729 <4> [<ffffffff8109abd0>] ? kthread+0x0/0xa0
730 <4> [<ffffffff8100c200>] ? child_rip+0x0/0x20
731 <4>Code: e6 4c 89 ef ff 50 28 e9 39 ff ff ff 8b 4b 44 48 89 f0 31 d2 0f b7 7b 40 49 c7 86 18 01 00 00 08 00 00 00 48 f7 f1 48 89 d6 31 d2 <48> f7 f7 48 0f af c1 48 01 c6 49 89 b    6 d0 00 00 00 48 8b 43 58$
732 <1>RIP  [<ffffffffa0d0ed74>] lod_declare_striped_object+0x4d4/0x940 [lod]
733 <4> RSP <ffff88010c25da60>

stdout.log


== sanity-hsm test 59: Release stripeless file with non-zero size == 02:32:13 (1446345133)
Only wakeup running copytool agt1 on fre1320
fre1320: 13560
Copytool still running on fre1320
fre1320: 13560
Copytool still running on fre1320
fre1320: 13560
Copytool still running on fre1320
fre1320: 13560
Copytool still running on fre1320

Test introduced by

commit 7a6b48c2f97f165b4449f6283e313cfa33aea5a1
Author:     Alex Zhuravlev <alexey.zhuravlev@intel.com>
AuthorDate: Wed Oct 7 11:21:03 2015 +0300
Commit:     Oleg Drokin <oleg.drokin@intel.com>
CommitDate: Wed Oct 28 13:51:57 2015 +0000

    LU-7186 lod: do not propagate size if stripeless
    
    if a file has no stripes, but the size isn't zero,
    then do not try to propagate this size to stripes.
    
    Change-Id: I25401bcc41e3ea84a2b9158120f1e907af47fafa
    Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
    Reviewed-on: http://review.whamcloud.com/16743
    Reviewed-by: Frank Zago <fzago@cray.com>
    Tested-by: Jenkins
    Reviewed-by: John L. Hammond <john.hammond@intel.com>
    Tested-by: Maloo <hpdd-maloo@intel.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>



 Comments   
Comment by Gerrit Updater [ 03/Nov/15 ]

Alex Zhuravlev (alexey.zhuravlev@intel.com) uploaded a new patch: http://review.whamcloud.com/17029
Subject: LU-7376 tests: sanity-hsm/59 should skip old servers.
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 36b42104afce1773d4a0b685dacc7dc2f09bd87e

Comment by Gerrit Updater [ 25/Nov/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17029/
Subject: LU-7376 tests: sanity-hsm/59 should skip old servers.
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 85249944686732af327a5bfaa25ff2a4098421e8

Comment by Joseph Gmitter (Inactive) [ 25/Nov/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:08:22 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.