services:labtest:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:labtest:start [2025/02/22 19:53] – jas | services:labtest:start [2025/09/25 10:25] (current) – [Reserving Additional Lab Time for Accommodations] jas | ||
---|---|---|---|
Line 47: | Line 47: | ||
In order to setup your labtest, login to an EECS system via [[https:// | In order to setup your labtest, login to an EECS system via [[https:// | ||
- | Open a Terminal, then start Labtest Assistant (labtest command) and pass in the concatenation of your course number and section (eg. 7777A for EECS7777A) followed by a space and then a test version name (eg. labtest1). | + | Open a Terminal |
< | < | ||
Line 53: | Line 53: | ||
</ | </ | ||
- | NOTE: The test version name can be whatever you choose. | + | NOTE: The test version name can be whatever you choose. |
After you hit enter, this is what you will see: | After you hit enter, this is what you will see: | ||
Line 84: | Line 84: | ||
</ | </ | ||
- | By default, the default start page for your labtest is called " | + | By default, the default start page for your labtest is called " |
< | < | ||
Line 90: | Line 90: | ||
</ | </ | ||
- | Modify the default page, and add your own information such as your rules for the test, and links to other content. | + | Modify the default |
- | NOTE: If you're creating a labtest which points to an eClass quiz, you'll want to include a link to your quiz directly on this page. It will look like this: https:// | + | NOTE: If you're creating a labtest which points to an eClass quiz, you'll want to include a link to your quiz directly on this page. It will look like this: https:// |
After you finish editing index.html, save the file. | After you finish editing index.html, save the file. | ||
Line 105: | Line 105: | ||
Put success. | Put success. | ||
</ | </ | ||
+ | |||
+ | You can also upload other files like slides, or documentation, | ||
Labtest Assistant will ensure that file permissions are setup correctly. | Labtest Assistant will ensure that file permissions are setup correctly. | ||
Line 433: | Line 435: | ||
After you have submitted your labtest booking, someone from tech will get back to you to confirm your booking. | After you have submitted your labtest booking, someone from tech will get back to you to confirm your booking. | ||
+ | |||
+ | ===== Reserving Additional Lab Time for Accommodations ===== | ||
+ | |||
+ | You can now view the [[https:// | ||
If you have any questions about labtest booking, please e-mail the technical team. | If you have any questions about labtest booking, please e-mail the technical team. | ||
Line 1115: | Line 1121: | ||
eclass.yorku.ca/ | eclass.yorku.ca/ | ||
dm7crvy4e45rz.cloudfront.net | dm7crvy4e45rz.cloudfront.net | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
+ | eclass.yorku.ca/ | ||
</ | </ | ||
Line 1136: | Line 1148: | ||
< | < | ||
- | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
</ | </ | ||
| | ||
Line 1173: | Line 1185: | ||
NOTES: | NOTES: | ||
- | * If you are using all 3 of WSC105, WSC106, AND WSC108, use instead: 130.63.131.0/ | + | * If you are using all 3 of WSC105, WSC106, AND WSC108, use instead: 130.63.131.0/ |
* If you are testing in ltcloud, please ensure that you include both the IP range for the required lab followed by a comma followed by the ltcloud range. | * If you are testing in ltcloud, please ensure that you include both the IP range for the required lab followed by a comma followed by the ltcloud range. | ||
- | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds | + | * If your test is being conducted in several labs, you can join two IP ranges with a comma in between them. Note though that if the number of IP ranges separated by commas exceeds |
===== 6. Limit the Start and End Time of Your Quiz in eClass ===== | ===== 6. Limit the Start and End Time of Your Quiz in eClass ===== | ||
Line 1303: | Line 1315: | ||
\\ | \\ | ||
WARNING: Before you can re-use the same secureq directory for another test, at a minimum, you must move any existing “secureq/ | WARNING: Before you can re-use the same secureq directory for another test, at a minimum, you must move any existing “secureq/ | ||
+ | |||
+ | ====== Labtest and Containers ====== | ||
+ | |||
+ | It may be helpful to some courses to use containers from within labtest. | ||
+ | |||
+ | Download an Ubuntu image: | ||
+ | |||
+ | < | ||
+ | % podman pull ubuntu: | ||
+ | </ | ||
+ | |||
+ | **NOTE:** Your EECS home directory has limited storage space and is on network storage. | ||
+ | |||
+ | Start up the container from the ubuntu: | ||
+ | |||
+ | < | ||
+ | % podman run -it --name my-ubuntu ubuntu: | ||
+ | </ | ||
+ | | ||
+ | Make changes -- in this case, we'll just add an empty file named " | ||
+ | |||
+ | < | ||
+ | # cd | ||
+ | # touch file | ||
+ | # exit | ||
+ | </ | ||
+ | |||
+ | Now let's stop the container: | ||
+ | |||
+ | < | ||
+ | % podman stop my-ubuntu | ||
+ | </ | ||
+ | |||
+ | Commit the changes in my-ubuntu container to my-new-ubuntu image: | ||
+ | |||
+ | < | ||
+ | % podman commit my-ubuntu my-new-ubuntu | ||
+ | </ | ||
+ | |||
+ | Save the image to a tar file: | ||
+ | |||
+ | < | ||
+ | % podman save -o my-new-ubuntu.tar my-new-ubuntu | ||
+ | </ | ||
+ | |||
+ | Place my-new-ubuntu.tar into ltinit directory in the course labtest web directory: | ||
+ | |||
+ | In ltinit/ | ||
+ | |||
+ | < | ||
+ | podman load -i $HOME/ | ||
+ | podman run -dit --name labtest my-new-ubuntu | ||
+ | gnome-terminal -- podman exec -it labtest bash | ||
+ | </ | ||
+ | |||
+ | Now, when the user logs in, the image is unpacked and loaded. Podman run starts the container. | ||
+ | |||
+ | * -d runs it in the background (detached). | ||
+ | * -i keeps stdin open. | ||
+ | * -t allocates a pseudo-tty. | ||
+ | * --name labtest names the container labtest. | ||
+ | * my-new-ubuntu is the image used to create the container | ||
+ | |||
+ | **NOTE:** Large container downloads with large multi lab labtests could result in performance issues since all users will be downloading the container on login. | ||
====== Labtest File Synchronization (ltsave) ====== | ====== Labtest File Synchronization (ltsave) ====== |
services/labtest/start.1740272010.txt.gz · Last modified: by jas