{"action":"created","issue":{"url":"https://api.github.com/repos/sahlberg/libiscsi/issues/187","repository_url":"https://api.github.com/repos/sahlberg/libiscsi","labels_url":"https://api.github.com/repos/sahlberg/libiscsi/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/sahlberg/libiscsi/issues/187/comments","events_url":"https://api.github.com/repos/sahlberg/libiscsi/issues/187/events","html_url":"https://github.com/sahlberg/libiscsi/issues/187","id":122563706,"number":187,"title":"Secondary initiator name is not used in multipath ProutPreempt tests","user":{"login":"sitsofe","id":4005180,"avatar_url":"https://avatars.githubusercontent.com/u/4005180?v=3","gravatar_id":"","url":"https://api.github.com/users/sitsofe","html_url":"https://github.com/sitsofe","followers_url":"https://api.github.com/users/sitsofe/followers","following_url":"https://api.github.com/users/sitsofe/following{/other_user}","gists_url":"https://api.github.com/users/sitsofe/gists{/gist_id}","starred_url":"https://api.github.com/users/sitsofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitsofe/subscriptions","organizations_url":"https://api.github.com/users/sitsofe/orgs","repos_url":"https://api.github.com/users/sitsofe/repos","events_url":"https://api.github.com/users/sitsofe/events{/privacy}","received_events_url":"https://api.github.com/users/sitsofe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T17:43:38Z","updated_at":"2016-04-05T09:37:10Z","closed_at":null,"body":"When running the ProutPreempt tests normally here are the results:\r\n\r\n```\r\nSuite: ProutPreempt\r\n  Test: RemoveRegistration ...\r\n    Test Persistent Reserve IN PREEMPT works.\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\n    Send PROUT/CLEAR to clear all registrations and any PR reservation\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\n    cloning sd1 for second session\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test-2\r\n    Send PRIN/READ_KEYS\r\n    Send PROUT/PREEMPT to preempt reservation and/or registration\r\n    Got UA for TUR\r\n    TUR good after 1 retries\r\n    TUR good after 0 retries\r\n    Send PRIN/READ_KEYS\r\n    Send PROUT/REGISTER to unregister init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test-2\r\npassed\r\n```\r\n(You might need to scroll right to see the full initiators being used)\r\nWhen using multipath here are the results:\r\n```\r\nSuite: ProutPreempt\r\n  Test: RemoveRegistration ...\r\n    Test Persistent Reserve IN PREEMPT works.\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\n    Send PROUT/CLEAR to clear all registrations and any PR reservation\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\n    using multipath dev for second session\r\n    Send PROUT/REGISTER_AND_IGNORE to register init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\n    Send PRIN/READ_KEYS\r\n    Send PROUT/PREEMPT to preempt reservation and/or registration\r\n    [FAILED] PROUT command: failed with sense. RESERVATION CONFLICT\r\n    TUR good after 0 retries\r\n    TUR good after 0 retries\r\n    Send PRIN/READ_KEYS\r\n    Send PROUT/REGISTER to unregister init=iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test\r\nFAILED\r\n    1. test_prout_preempt.c:81  - CU_ASSERT_EQUAL(rk->num_keys,2)\r\n    2. test_prout_preempt.c:91  - CU_ASSERT_EQUAL(ret,0)\r\n    3. test_prout_preempt.c:104  - CU_ASSERT_EQUAL(rk->prgeneration,old_gen + 1)\r\n```\r\n\r\nIn the multipath case the iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-test-2 initiator name is never used..."},"comment":{"url":"https://api.github.com/repos/sahlberg/libiscsi/issues/comments/205730960","html_url":"https://github.com/sahlberg/libiscsi/issues/187#issuecomment-205730960","issue_url":"https://api.github.com/repos/sahlberg/libiscsi/issues/187","id":205730960,"user":{"login":"sitsofe","id":4005180,"avatar_url":"https://avatars.githubusercontent.com/u/4005180?v=3","gravatar_id":"","url":"https://api.github.com/users/sitsofe","html_url":"https://github.com/sitsofe","followers_url":"https://api.github.com/users/sitsofe/followers","following_url":"https://api.github.com/users/sitsofe/following{/other_user}","gists_url":"https://api.github.com/users/sitsofe/gists{/gist_id}","starred_url":"https://api.github.com/users/sitsofe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitsofe/subscriptions","organizations_url":"https://api.github.com/users/sitsofe/orgs","repos_url":"https://api.github.com/users/sitsofe/repos","events_url":"https://api.github.com/users/sitsofe/events{/privacy}","received_events_url":"https://api.github.com/users/sitsofe/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T09:37:10Z","updated_at":"2016-04-05T09:37:10Z","body":"This should be addressed by the pull request #203 ."}}