Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.3.5
    • Fix Version/s: 2.4, 2.3.6
    • Component/s: Tool QA
    • Labels:
      None

      Description

      For some reason (using the attached sequence), when running a whole bunch of users via the test harness, Q&A assumes that the activity is being grouped when it's not.

      1. Forum.pdf
        96 kB
        Ernie Ghiglione
      1. Picture 5.png
        156 kB
      2. Picture 6.png
        126 kB

        Activity

        Hide
        ernieg Ernie Ghiglione added a comment -
        Don't know if this helps, but this is what I can see in the logs:


        2011-03-21 13:42:18,352 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@ebb472[userId=65], lesson is org.lamsfoundation.lams.lesson.Lesson@2878c2[lessonId=7]
        2011-03-21 13:42:20,833 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@70406d[userId=61], lesson is org.lamsfoundation.lams.lesson.Lesson@37fd4f[lessonId=7]
        2011-03-21 13:42:20,958 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@959103[userId=62], lesson is org.lamsfoundation.lams.lesson.Lesson@bbf8f4[lessonId=7]
        2011-03-21 13:42:21,015 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@820917[userId=64], lesson is org.lamsfoundation.lams.lesson.Lesson@154dae[lessonId=7]
        2011-03-21 13:42:21,033 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@c5ab6f[userId=63], lesson is org.lamsfoundation.lams.lesson.Lesson@4c31dc[lessonId=7]
        2011-03-21 13:42:21,285 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@188c20[userId=68], lesson is org.lamsfoundation.lams.lesson.Lesson@d613b7[lessonId=7]
        2011-03-21 13:42:21,611 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@b1f404[userId=67], lesson is org.lamsfoundation.lams.lesson.Lesson@5ed181[lessonId=7]
        2011-03-21 13:42:22,240 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@5cd7ef[userId=70], lesson is org.lamsfoundation.lams.lesson.Lesson@9a312e[lessonId=7]
        2011-03-21 13:42:22,281 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@5399b7[userId=66], lesson is org.lamsfoundation.lams.lesson.Lesson@d51b05[lessonId=7]
        2011-03-21 13:42:23,883 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@e595a6[userId=69], lesson is org.lamsfoundation.lams.lesson.Lesson@331aa3[lessonId=7]
        Show
        ernieg Ernie Ghiglione added a comment - Don't know if this helps, but this is what I can see in the logs: 2011-03-21 13:42:18,352 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@ebb472 [userId=65], lesson is org.lamsfoundation.lams.lesson.Lesson@2878c2 [lessonId=7] 2011-03-21 13:42:20,833 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@70406d [userId=61], lesson is org.lamsfoundation.lams.lesson.Lesson@37fd4f [lessonId=7] 2011-03-21 13:42:20,958 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@959103 [userId=62], lesson is org.lamsfoundation.lams.lesson.Lesson@bbf8f4 [lessonId=7] 2011-03-21 13:42:21,015 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@820917 [userId=64], lesson is org.lamsfoundation.lams.lesson.Lesson@154dae [lessonId=7] 2011-03-21 13:42:21,033 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@c5ab6f [userId=63], lesson is org.lamsfoundation.lams.lesson.Lesson@4c31dc [lessonId=7] 2011-03-21 13:42:21,285 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@188c20 [userId=68], lesson is org.lamsfoundation.lams.lesson.Lesson@d613b7 [lessonId=7] 2011-03-21 13:42:21,611 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@b1f404 [userId=67], lesson is org.lamsfoundation.lams.lesson.Lesson@5ed181 [lessonId=7] 2011-03-21 13:42:22,240 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@5cd7ef [userId=70], lesson is org.lamsfoundation.lams.lesson.Lesson@9a312e [lessonId=7] 2011-03-21 13:42:22,281 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@5399b7 [userId=66], lesson is org.lamsfoundation.lams.lesson.Lesson@d51b05 [lessonId=7] 2011-03-21 13:42:23,883 ERROR [ToolActivity] Unable to get the group for a new tool session for Activity 72 Falling back to one learner per session. Learner org.lamsfoundation.lams.usermanagement.User@e595a6 [userId=69], lesson is org.lamsfoundation.lams.lesson.Lesson@331aa3 [lessonId=7]
        Hide
        ernieg Ernie Ghiglione added a comment -
        It seems that this is also happening with the 2.3.5 release. See picture6.png
        Show
        ernieg Ernie Ghiglione added a comment - It seems that this is also happening with the 2.3.5 release. See picture6.png
        Hide
        ernieg Ernie Ghiglione added a comment -
        However, see the forum.pdf file.. it seems that this also happens with Forum. So maybe this is an issue with the test harness?
        Show
        ernieg Ernie Ghiglione added a comment - However, see the forum.pdf file.. it seems that this also happens with Forum. So maybe this is an issue with the test harness?
        Hide
        ernieg Ernie Ghiglione added a comment -
        This has nothing to do with LAMS but rather with the settings in the Test Harness.

        Specifically the UserIdOffset in learnerTest1.properties

        The UserIdOffset must reflect the first user created by the test harness. So if your list of users looks like this:

        +---------+----------------------+
        | user_id | login |
        +---------+----------------------+
        | 1 | sysadmin |
        | 2 | test |
        | 3 | lamskh01 |
        | 4 | mmm |
        | 5 | test1 |
        | 6 | test2 |
        | 7 | test3 |
        | 8 | test4 |
        | 9 | aptop.local_1_Author |
        | 10 | ptop.local_1_Monitor |
        | 11 | top.local_1_Learner1 |
        | 12 | top.local_1_Learner2 |
        | 13 | top.local_1_Learner3 |
        | 14 | top.local_1_Learner4 |
        | 15 | top.local_1_Learner5 |
        | 16 | top.local_1_Learner6 |
        | 17 | top.local_1_Learner7 |
        | 18 | top.local_1_Learner8 |
        | 19 | top.local_1_Learner9 |
        | 20 | op.local_1_Learner10 |
        +---------+----------------------+
        20 rows in set (0.00 sec)

        Then the UserIdOffset must be the user_id for your first learner. In this case:

        UserIdOffset = 11

        Show
        ernieg Ernie Ghiglione added a comment - This has nothing to do with LAMS but rather with the settings in the Test Harness. Specifically the UserIdOffset in learnerTest1.properties The UserIdOffset must reflect the first user created by the test harness. So if your list of users looks like this: +---------+----------------------+ | user_id | login | +---------+----------------------+ | 1 | sysadmin | | 2 | test | | 3 | lamskh01 | | 4 | mmm | | 5 | test1 | | 6 | test2 | | 7 | test3 | | 8 | test4 | | 9 | aptop.local_1_Author | | 10 | ptop.local_1_Monitor | | 11 | top.local_1_Learner1 | | 12 | top.local_1_Learner2 | | 13 | top.local_1_Learner3 | | 14 | top.local_1_Learner4 | | 15 | top.local_1_Learner5 | | 16 | top.local_1_Learner6 | | 17 | top.local_1_Learner7 | | 18 | top.local_1_Learner8 | | 19 | top.local_1_Learner9 | | 20 | op.local_1_Learner10 | +---------+----------------------+ 20 rows in set (0.00 sec) Then the UserIdOffset must be the user_id for your first learner. In this case: UserIdOffset = 11
        Hide
        ernieg Ernie Ghiglione added a comment -
        Closing and documenting this properly in the Test Harness Usage page:

        http://wiki.lamsfoundation.org/display/lams/Test+Harness+Usage
        Show
        ernieg Ernie Ghiglione added a comment - Closing and documenting this properly in the Test Harness Usage page: http://wiki.lamsfoundation.org/display/lams/Test+Harness+Usage

          People

          • Assignee:
            dronych Andrey Balan
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development