Deploy go-syncstorage server into stage for testing

VERIFIED FIXED

Status

VERIFIED FIXED
2 years ago
2 years ago

People

(Reporter: mostlygeek, Assigned: mostlygeek)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 years ago
A go-syncstorage has been deployed to stage (sync-6). This is a new generation sync storage server, written in go with a new data storage model [1]. 

It has been deployed to stage. It needs to be tested more before a server is rolled out to prod. 

Tests:

- passes the python load test [passes]
- passes the python functional tests [passes]
- Firefox Desktop can sync to it [passes]
- Firefox Android can sync to it [tbd]
- Firefox IOS can sync to it [tbd]


[1] https://github.com/mozilla-services/go-syncstorage
(Assignee)

Comment 1

2 years ago
:rnewman

Are there instructions for testing sync on iOS with a stage server?
Flags: needinfo?(rnewman)
I don't believe there are any instructions; we test against prod.

The easiest thing to do is to get set up to build — you'll need this if you find a bug, anyway!

Instructions at:

https://github.com/mozilla/firefox-ios

Run in a simulator or on device, after changing Profile.swift:

    var accountConfiguration: FirefoxAccountConfiguration {
        if isChinaEdition {
            return ChinaEditionFirefoxAccountConfiguration()
        }
        return ProductionFirefoxAccountConfiguration()
    }


to make that last clause `LatestDevFirefoxAccountConfiguration()`. That'll give you latest.dev.lcip.org as your FxA, and token.stage.mozaws.net as your Sync token server. You'll need to make sure the token server points you to the right Sync server, of course.

Nick, am I missing another way? Loading the stage accounts.* page in the browser itself isn't enough.
Component: Firefox Sync: Backend → Firefox Sync: Cross-client
Flags: needinfo?(rnewman) → needinfo?(nalexander)
OS: Unspecified → All
Hardware: Unspecified → All
> Nick, am I missing another way? Loading the stage accounts.* page in the
> browser itself isn't enough.

Not that I'm aware of.  I vaguely recall that we built a 5-tap-and-Debug-options-appear on iOS, but now I don't see it.

On Android, you can set Gecko prefs to let you test against a non-production FxA endpoint; see https://dxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js?q=path%3Amobile%2F%2A%2A%2Fmobile.js&redirect_type=single#904.  IIRC, setting the token server to a non-production endpoint that then points against a non-production Sync endpoint should just work, but if not, you can also  "dangerously" choose to use stage (with the endpoints from https://dxr.mozilla.org/mozilla-central/source/mobile/android/services/src/main/java/org/mozilla/gecko/fxa/FxAccountConstants.java#21) in Nightly.  If that's necessary, I can help arrange it.
Flags: needinfo?(nalexander)

Updated

2 years ago
Assignee: nobody → bwong
Status: NEW → ASSIGNED
Component: Firefox Sync: Cross-client → QA: General
(Assignee)

Comment 4

2 years ago
closing this in favor of bug 1296030. The stage box was tested and passed QA. Moving work to the prototype production box.
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Marking as VERIFIED -- Ben is correct, the stage box passed QA.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.