Differences between revisions 3 and 4
Revision 3 as of 2019-02-13 06:56:22
Size: 1336
Comment:
Revision 4 as of 2019-02-13 07:00:29
Size: 1458
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
   needed to access the students files
Line 31: Line 32:
 {{{
cd ~/exams/18s2supp
mv work work.19dec
mkdir work
chmod 1777 work
 }}}

Virtual Exam

Please read the documentation of virtual exam

/!\ The way the virtual exam white listed software (etc/vx.conf) will be rewritten early in Term 1 to better cope with software changes on CSE computers.

Useful scripts

  • ~give/stable/bin/prac_install_vx <prac_name>

    • set up a standard virtual exam environment
  • priv chown <path_wildcard>

    • change work directories ownership from 90<uid> to the exam account needed to access the students files

  • ~give/stable/bin/vx-conf-product.pl
    • strace the command
    • feed the output of strace to this script
    • add vx.conf files as arguments
  • The script will output the files that are missing from the config files

Tips

  • when the exam crashes after you authenticated with your zid, check the stderr.log file in <exam_account>/var directory. Look at the latest directory.

    marimba % ls -lt ~/var | head -5
    total 988
    drwxr-xr-x 2 cs9024exam cs9024exam 4096 Feb 13 06:59 marimba-25528
    drwxr-xr-x 2 cs9024exam cs9024exam 4096 Feb 12 20:49 wagner-7800
    drwxr-xr-x 2 cs9024exam cs9024exam 4096 Feb 12 20:33 vx4-45795
    drwxr-xr-x 2 cs9024exam cs9024exam 4096 Feb 12 18:39 vx4-34624
  • after chown-ing the work directories to the exam account, you can't start up the exam with the same work directories.
    cd ~/exams/18s2supp
    mv work work.19dec
    mkdir work
    chmod 1777 work

VirtualExam (last edited 2022-10-25 16:12:21 by MeiChengWhale)