Storage Servers version is 0 on Welcome page #1067
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1067
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Storage Server version is 0 for all nodes on the Welcome Page.
Attachment server_version_on_welcome_page.dpatch.txt (40075 bytes) added
I've looked to write a running test , but as far as I Now, the Welcome page in running test dosen't have "fake" storage server to verify version.
Fred
Let's see, to test this we need to exercise the code that the patch changes -- [render_service_row()]source:src/allmydata/web/root.py@4238#L256 -- and verify that it is emitting something other than
0
in the"version"
slot in thectx
. Let's see, there are already pretty thorough tests of the web ui...Hm, let's see [test_web.py test_welcome()]source:src/allmydata/test/test_web.py@4358#L390 might do it, if there is already at least one server connected in that test. Why not see if you can add a requirement that the resulting HTML contains the right pattern of
version
?Replying to zooko:
I can't check the server version with [test_web.py test_welcome()]source:src/allmydata/test/test_web.py@4358#L390, because the running test dosen't have a fake server node connected and the test fails.
You can view the test fail here
I copy the html code returned from the running test, you can view it here
Note: I've just changed the css link, so the page can correctly be viewed by humans
I confirm this patch works as advertised and solves the issue.
fixed in changeset:35ec8f6ac28a4b7b. thanks FreeStorm and terrell!