Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test failure: ERROR: AddColumn 'class_SyncStringOnly.%3' #6972

Closed
cmelchior opened this issue Jun 27, 2020 · 1 comment · Fixed by #7078
Closed

Integration test failure: ERROR: AddColumn 'class_SyncStringOnly.%3' #6972

cmelchior opened this issue Jun 27, 2020 · 1 comment · Fixed by #7078

Comments

@cmelchior
Copy link
Contributor

cmelchior commented Jun 27, 2020

Found with SyncedRealmTests#connectWithInitialSchema when trying to upgrade to latest test image in #6968

06-27 16:12:46.470 V/REALM_SYNC( 3481): Connection[2]: Session[2]: Transforming local changeset [1/1] through 15 incoming changeset(s) with 4 conflict group(s)
06-27 16:12:46.471 D/REALM_SYNC( 3481): Connection[2]: Session[2]: Finished transforming 1 local changesets through 15 incoming changesets (28 vs 63 instructions, in 4 conflict groups)
06-27 16:12:46.472 V/REALM_SYNC( 3481): Connection[2]: Session[2]: sync::create_table_with_primary_key(group, "class_SyncStringOnly", 15, "_id", 0);
06-27 16:12:46.472 V/REALM_SYNC( 3481): Connection[2]: Session[2]: sync::create_table_with_primary_key(group, "class_mongo_data", 15, "_id", 1);
06-27 16:12:46.472 V/REALM_SYNC( 3481): Connection[2]: Session[2]: sync::create_table_with_primary_key(group, "class_SyncStringOnly", 15, "_id", 0);
06-27 16:12:46.473 E/REALM_SYNC( 3481): Connection[2]: Session[2]: Failed to parse, or apply received changeset: ERROR: AddColumn 'class_SyncStringOnly.%3' which already exists

Root cause is unclear, but seems to be related to somehow running all the tests. So most likely a previous test is creating these instructions. SyncStringOnly is not part of the default schema, and is only used in SyncSessionTests and EncryptedSynchronizedRealmTests`, but running these locally before running this test has not proved a viable path or reproducing.

See also https://jira.mongodb.org/browse/RSYNC-130

@RealmBot RealmBot added the MongoDBRealm This issue is related to the MongoDB Realm Beta label Jun 30, 2020
@RealmBot RealmBot removed the MongoDBRealm This issue is related to the MongoDB Realm Beta label Aug 18, 2020
@RealmBot
Copy link
Collaborator

RealmBot commented Sep 1, 2020

➤ Ian Ward commented:

[~christian.melchior] I believe this is related to https://jira.mongodb.org/browse/RSYNC-131 and should be resolved now

@clementetb clementetb linked a pull request Sep 3, 2020 that will close this issue
@RealmBot RealmBot closed this as completed Sep 8, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants