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/24 09:38] – jas | services:labtest:start [2025/10/14 18:04] (current) – 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 296: | Line 298: | ||
| ====== Requesting Labtest Mode ====== | ====== Requesting Labtest Mode ====== | ||
| - | Each term, the technical team books a significant number of labtests. | + | Each term, the technical team books a significant number of labtests |
| The **first time** in a term when you book a labtest for a course, please provide us with: | The **first time** in a term when you book a labtest for a course, please provide us with: | ||
| Line 305: | Line 307: | ||
| * EECS TA user IDs (they will be able to help students move between machines in a labtest) (eg. johns, alicez, aigha) (*) | * EECS TA user IDs (they will be able to help students move between machines in a labtest) (eg. johns, alicez, aigha) (*) | ||
| - | (*) Please make sure that you **only send us EECS user IDs** - not full names, not gmail, or other alternate email. | + | (*) Before submitting a list of users, **please read this carefully**: |
| + | |||
| + | If a TA does not have an account, the process for them to get an account depends on the user type: | ||
| + | |||
| + | * If your TA is an undergrad, and an EECS student taking an EECS course, and they don' | ||
| + | * If your TA is an undergrad or grad that is not an EECS student, then **you** (**please | ||
| + | * Student Type: ugrad TA | ||
| + | * First name: | ||
| + | * Last name: | ||
| + | * Student ID: | ||
| + | * Passport York Login: | ||
| + | * If your TA is an EECS grad, and does not have an EECS account, then **they** need to email tech@eecs.yorku.ca with the following information: | ||
| + | * First name: | ||
| + | * Last name: | ||
| + | * Student ID: | ||
| + | * Degree: Msc/PhD | ||
| + | * Supervisor: | ||
| + | * Passport York login: | ||
| + | |||
| + | Grad accounts will remain on our system for the duration of the students time in their programme at York. Undergraduate temporary TA accounts will be deleted at the end of the term. | ||
| For **subsequent** labtest bookings in your course, please always include in your booking: | For **subsequent** labtest bookings in your course, please always include in your booking: | ||
| Line 433: | Line 454: | ||
| 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 1120: | Line 1145: | ||
| eclass.yorku.ca/ | eclass.yorku.ca/ | ||
| eclass.yorku.ca/ | eclass.yorku.ca/ | ||
| + | eclass.yorku.ca/ | ||
| </ | </ | ||
| Line 1141: | Line 1167: | ||
| < | < | ||
| - | eclass.yorku.ca/ | + | eclass.yorku.ca/ |
| </ | </ | ||
| | | ||
| Line 1178: | Line 1204: | ||
| 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 1308: | Line 1334: | ||
| \\ | \\ | ||
| 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.1740407914.txt.gz · Last modified: by jas
