05. Verification Test

— Prove That This Environment Is Real —


1. Purpose of This Chapter

This chapter exists for one reason only:

To prove that the environment is actually correct.

Not fast.
Not optimized.
Not pretty.

Just correct.

This verification answers three questions:

If any of these fail, do not proceed.


2. Preconditions

You must have completed:

And you must confirm:

If any of these are uncertain, stop here.


3. Primary Smoke Test (Mandatory)

This is the single most important command in the entire repository.

3.1 Enter OpenLane1 Directory

cd ~/OpenLane

3.2 Run Official Test

make test

3.3 Pass Criteria

You pass if and only if:

Anything else is a failure.

Warnings are acceptable.
Errors are not.


This test ensures the flow works beyond synthetic tests.

4.1 Run a Sample Design

cd ~/OpenLane/designs/spm
make run

4.2 Observe Flow Progression

You should see the flow advance through:


4.3 Verify GDS Output

ls runs/*/results/final/gds

A .gds file must exist.

If no GDS is produced, the environment is not valid.


5. Common Failure Modes

5.1 PDK Not Found

Symptoms:

Cause:

Action:


5.2 Docker Errors

Symptoms:

Cause:

Action:


5.3 Random Mid-Flow Failure

Symptoms:

Cause:

Action:


6. This Is the Trust Boundary

If make test passes here:

This environment is now a trusted artifact.

From this point forward:

You freeze it.


7. Mandatory Export (Do Not Skip)

Once verification passes, immediately export the environment.

7.1 Shutdown WSL

From PowerShell (Administrator):

wsl --shutdown

7.2 Export Distribution

wsl --export Ubuntu D:\backup\ubuntu_openlane_verified.tar

Store this file in:

This file is the environment.


8. Pass Criteria Summary

You pass this chapter if:

Only then may you proceed.


9. Next Step

Now we prepare for inevitable hardware or OS failure.

➡️ 06_Migration_WSL_Export.md


Final Rule

If verification passed once,
it must never be re-earned.
Rollback instead.