Skip to main content

Questions tagged [cumulusci]

Questions related to the CumulusCI build automation and continuous integration toolchain.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

CumulusCI: Error while creating 2GP Beta Package (fr: Not available for deploy for this organization)

I am trying to build a managed package using CumulusCI. I am getting below error: Error: fr: Not available for deploy for this organization Any pointers how can I debug this issue? I do have a fr....
nica's user avatar
  • 1,410
0 votes
1 answer
19 views

Not able to insert other fields for contact record

I am new to cumulusci. I could create contact with first and last names, but I could not insert a record with other fields. It keep throwing below error. Element with locator '//div[contains(@class, '...
mike's user avatar
  • 61
2 votes
1 answer
45 views

Import Sandbox with Test Data for non developers

The use case here is that we want to import sandbox with test data having parent child relationship in a single go. One way to do it would be to use sf commands - sf data import tree --plan Account-...
Aditya M's user avatar
  • 420
0 votes
0 answers
31 views

CumulusCI keyword for Upserting Data in case of External ID

Do we have any CumulusCI keyword for Upserting Data in case of External ID like we have for Insert, Get update and delete in CumulusCI Robot Framework Keywords Can we use existing keyword for ...
Pronit Agrawal's user avatar
0 votes
0 answers
51 views

How can I push code to a scratch org that belongs to an installed package?

I am working on an application that is built from several separate unlocked packages, managed through cumulusci. The packages all share the same namespace. When cumulusci creates a development org it ...
TemporaryFix's user avatar
  • 2,946
1 vote
1 answer
123 views

Deploying flows through CumulusCI

I have a full Salesforce repository in Vs Code that I deployed with the command cci task run deploy. I had some issues including a recent change of mine which included a new Quick Action that runs a ...
zurdo's user avatar
  • 133
0 votes
1 answer
44 views

Getting NamespacePrefix as null while running run_tests task with cumulusci

I am trying to run apex test with CumulusCI, I am running on Unmanaged code(Scratch orgs) I have set my name space in cumulusci.yml minimum_cumulusci_version: '3.1.2' project: name: AmpImpact ...
Pronit Agrawal's user avatar
0 votes
0 answers
62 views

Can CumulusCI Migrate Files?

I'm using CumulusCI to automate org setup, deployment and data migration. This is all working great but I have run into a problem using the tool to migrate files. Is this a known limitation of ...
nathanvoller's user avatar
6 votes
1 answer
211 views

cumulusci commit message not generated

I'm trying to run build_unlocked_test_package flow, followed by qa_org_unlocked. I don't get any commit status created automatically and I'm not sure how to generate it properly so that the resolver ...
dangt85's user avatar
  • 165
1 vote
0 answers
53 views

ESLint/prettier conflict when using cumulusci namespace placeholder in Apex

I am getting the below error when I run npm run prettier and when I commit (since I have a husky hook) a couple of Apex classes that use namespace placeholders . Error: Found punctuation symbol or ...
dangt85's user avatar
  • 165
0 votes
1 answer
226 views

CumulusCI: Error: Could not process MDAPI response, but was not found in zipped directory

I have set up this structure of metadata to be deployed as a pre step, before I can push the main code. Please note that this package is dependent on another package, which is already deployed. And ...
nica's user avatar
  • 1,410
0 votes
1 answer
90 views

CumulusCI - how to run a packaging deploy with check_only false?

We are currently running into issues where we are not catching test failures due to the NAMESPACE issues until we try and deploy to the packaging org. We have GitHub actions working on merging to a ...
digidigo's user avatar
  • 123
0 votes
1 answer
62 views

CumulusCI - Data Automation in pipeline?

I recently starting evaluating CumulusCI to see if it meets our data automation needs. One use-case is populating new sandboxes with a bunch of foundational data (e.g. schools, academic majors, ...
chris markiewicz's user avatar
1 vote
2 answers
149 views

Does CumulusCI help with the deployment of per version layout and flexi-page changes?

I'm wondering what the best way to use CumulusCI is to deploy changes that managed package upgrades usually skip. The common problem areas are: Layouts Flexipages Picklist values We package daily ...
Keith C's user avatar
  • 136k
0 votes
1 answer
39 views

Does CCI support Patch Org management?

I have inherited a cumulus ci project and can see that the process for creating scratch orgs and pushing releases to the packaging org is all set up. However, it looks like some scripts are being used ...
digidigo's user avatar
  • 123
0 votes
0 answers
27 views

Getting CumulusCI error "root path '/Users/.../.cci/snapshot' does not exist" when running command "cci task run list_changes --org dev"

I'm going through the "Build Applications with CumulusCI" Trailhead module. On the "Make and Capture Customizations to Your App" exercise, I made all of the requested changes to ...
Mary Hamlin's user avatar
1 vote
1 answer
268 views

What's the right way to data-load sample data from a CumulusCI dependency

I've spun up a bare-bones CumulusCI scratch org where cumulusci.yml says: dependencies: - github: https://github.com/SalesforceFoundation/EDA - github: https://github.com/SFDO-Community/...
k..'s user avatar
  • 1,217
0 votes
1 answer
26 views

Turning off Visual Flows through CCI

I would like to load large datasets using Snowfakery and CCI into a testing environment. There are some flows in the org that fail and prevent the data from getting loaded. What I am trying to figure ...
Annette Pretorius's user avatar
1 vote
1 answer
64 views

error running robot script from Github Actions using connected app

I followed this article (JWT Flow Authorization) but I am getting the following error: Error: Error retrieving access token: {"error":"invalid_grant","error_description":&...
Saulo's user avatar
  • 967
0 votes
1 answer
577 views

CCI scratch org management

Community! I have some annoying issue with scratch org management with Cumulus CI and your help will be appreciated very much. I work with VS Code 1.71.0, sfdx-cli/7.166.1 win32-x64 node-v16.17.0, ...
Vladimir Egikyan's user avatar
0 votes
1 answer
71 views

Dataset load issue with Person Accounts and Business Accounts

I generated mapping and extracted dataset based on the mapping, but now when I am trying to load it, it keeps failing on Person Account fields. I suspect it is because both the Person Accounts and ...
Adam Janicko's user avatar
1 vote
1 answer
112 views

Is it possible to authenticate your packaging orgs using a connected app in your DevHub org using jwt auth flow?

We are using github actions and cumulusci as part of our ci/cd pipeline. In each of our repositories (packages in SF context), we have a .github/workflows folder and inside it are our yaml files that ...
Aggressive Pickle's user avatar
0 votes
0 answers
83 views

Cumulus CI: Error: 'xxxxxx__StudentAssignment__c_sf_ids'

While trying to load data using Cumulus CI, I am getting below error: Error: 'xxxxxx__StudentAssignment__c_sf_ids' I checked the cci.log file, and this is the stacktrace: Error: '...
nica's user avatar
  • 1,410
0 votes
1 answer
259 views

Getting "Error: no such option: --extra" for cci task run dx_push --extra -f

I am trying to push the force-app directory metadata into a scratch org,I am getting below error when I run cci task run dx_push --extra -f ci task run dx_push --extra -f Error: no such option: --...
Pronit Agrawal's user avatar
1 vote
1 answer
217 views

Cumulus CI Flow has become very slow deploying force-app to a new scratch org - what might affect the speed it processes?

Is anyone else experiencing Cumulus CI Flow delays, particularly in deploying force-app data to a newly created scratch org? Have you ever had a Cumulus CI flow suddenly take a lot longer to run? Was ...
BethWebDev's user avatar
0 votes
1 answer
232 views

Creating second generation package - stuck on Initializing

When we try to create a second generation package using CumulusCi we get stuck on the initializing part. This use to work fine but stopped working all at once. The steps to recreate is below. We also ...
zachary edgell's user avatar
1 vote
1 answer
258 views

CumulusCI: Assign record types for profile

I am trying to automate the creation of scratch org using Cumulus CI where we are deploying the Education Cloud package, and we are successfully able to deploy the EDA as well as the unmanaged package ...
nica's user avatar
  • 1,410
1 vote
1 answer
183 views

Cumulus CI: Automate Data Operations to associate parent record with child

I was going through the documentation to automate data operation by loading the dataset that I am currently working on. Everything looks fine, but there is a use case where I am stuck. There is a ...
nica's user avatar
  • 1,410
2 votes
2 answers
766 views

Help with SFDX 2GP release version error: "You cannot install an unlocked package without a namespace into an org with a namespace."

I am trying to release an Unlocked 2GP package that has an Unlocked package dependency (UnofficialSF component), and when SF servers verify the dependencies I get the same error every time: Error: You ...
Matt Martin's user avatar
1 vote
1 answer
490 views

CumulusCI: Connect to org by specifying username and password right in command line

According to CumulusCI docs it is possible to connect to persistent org, but this requires opening web browser and typing your creds in SF log-in form. Is there any way to provide username and ...
wesaw's user avatar
  • 3,130
3 votes
1 answer
643 views

How do I set "enableHistory" to "true" on a managed object in a scratch org?

I'm trying to run the following code: cci task run deploy --path force-app\main\default\objects\ExpensivePackage__Their_Custom_Object__c --org my_scratch_org_alias Against an ...
k..'s user avatar
  • 1,217
3 votes
1 answer
137 views

snowfakery INVALID_CROSS_REFERENCE_KEY error when doing Insert PermissionSetAssignment

I am trying to create some test data with snowfakery. I am creating users with the snowfakery recipe below. I am creating 1 user, then another user as a 'friend' so I can set the manager field on the ...
Mark Irvine's user avatar
1 vote
1 answer
75 views

Bulk upload data with cumulusci

I am trying to bulk upload data with cumulusci. Is there any command to enable bulk mode? Any thing to append in the json while inserting the data
Pronit Agrawal's user avatar
1 vote
1 answer
335 views

How do I add active TDTM trigger handler records to an org with CumulusCI?

EDA and NPSP come with Table-Driven Trigger Management (TDTM), a trigger framework that uses records in a custom object to track which "trigger handler" Apex classes are active, rather than, ...
k..'s user avatar
  • 1,217
3 votes
1 answer
175 views

CumulusCI error - 'utf-8'

When I try to run command like cci service connect github or cci org scratch dev <alias> --default I've received error 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte I ...
Mateusz's user avatar
  • 41
1 vote
1 answer
162 views

CumulusCI 'utf-8' error

When I try to run command like cci service connect github I've received error 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte. I am working on WSL. CumulusCI version: 3.44.1. ...
Mateusz's user avatar
  • 41
2 votes
1 answer
733 views

Scratch org creation hangs

In the past weeks we are observing a lot of issues when creating a scratch org. It seems cumulusci or sfdx hangs during the scratch org creation: Executing command: cci org scratch dev master ...
Nicholas's user avatar
  • 177
4 votes
1 answer
4k views

"ERROR running force:source:push" when doing "cci task run dx_push" to a Developer edition org

I am doing trailheads https://trailhead.salesforce.com/en/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component?trail_id=build-lightning-web-...
Mark Irvine's user avatar
2 votes
1 answer
145 views

Generate sfdxAuthUrl from CumulusCI

I'm looking into a way of handle automatic access token refresh for a scratch org and sfdx auth:sfdxurl:store looks like a good candidate. This command requires a sfdxAuthUrl. When I sfdx auth:web:...
Nicholas's user avatar
  • 177
2 votes
1 answer
214 views

Cumulus CI deletes custom list views from production

I'm using Cumulus CI to push our metadata changes to our production Salesforce app using cci flow run dev_org --org production and this generally works fine. I have a custom object called Print_Job__c ...
Dan's user avatar
  • 215
1 vote
0 answers
156 views

Setting the mydomain login page url in Scratch org via SFDX or CCI

I'm trying to build out a scratch org definition/ cci project and I'm wanting to set the sidebar URL of the main login screen, you set that in the My Domain page, however it doesn't appear to be ...
Simon Jensen's user avatar
0 votes
1 answer
297 views

Cumulus CI: Cannot connect sandbox org after upgrade to latest version (3.35.0)

We are playing around with Cumulus CI and trying to connect our existent sandbox org to be able to execute different Cumulus commands against it. Running the following command according to ...
wesaw's user avatar
  • 3,130
1 vote
1 answer
235 views

CumulusCI trailhead challenge stuck due to cci error

I'm new to SF and CumulusCI and I'm learning it through trailhead. I'm currently stuck with the challenge "Get Ready to Release Your Managed Package" in the "CumulusCI for Managed ...
Nicholas's user avatar
  • 177
0 votes
1 answer
409 views

Cumulus CI:Logging into an Org(Sanbbox) is error out

I am using Cumulus CI to try robotframework for salesforce automation. Following https://cumulusci.readthedocs.io/en/latest/tutorial.html as a reference to configure the sandbox. Everything went well ...
Tushar D's user avatar
0 votes
1 answer
155 views

Load PricebookEntry in empty Scratchorg with Cumulusci

When generating a .yml file with generate_dataset_mapping with cumulusci it resolves in following code(sample): Insert Product2: sf_object: Product2 table: Product2 fields: Id: sf_id ...
Ammar's user avatar
  • 1
2 votes
0 answers
438 views

Lighting web component UI testing with robotframework-selenium: Not able to interact with LWC element

I am trying to automate a page with LWC, But due to shadow DOM, I am able to interact with element. Is there a way where we can interact with the element.
Pronit Agrawal's user avatar
2 votes
1 answer
97 views

Error when Merges the latest commit on the master branch into all open feature branches

I am trying to merge the latest commit on the master branch into all open feature branches but I am getting error for cci task run github_parent_to_children and github_master_to_feature C:\AutoMerge>...
Pronit Agrawal's user avatar
2 votes
2 answers
5k views

Expected 1 non-named argument, got 0 error while inserting data using CumulusCI

I am trying to insert data in the ORG, I am creating Dectionary of **kwargs ${Dist}= Create Dictionary Project__c=${Project_Id} Description__c=Test Data_Type__c=Percent ...
Pronit Agrawal's user avatar
1 vote
1 answer
291 views

CumulusCI: Intermittent Keychain Error Observed on CircleCI

I'm trying to run CCI commands on CircleCI. First command executes without issue: cci flow run qa_org --org dev Second command errors out: env/bin/cci task run robot --org dev -o suites[..] Does ...
Pronit Agrawal's user avatar
0 votes
1 answer
237 views

scratch org is getting created on cci task run robot command

I am trying to run a robot test on CircleCI using the command cci task run robot, but it is creating the fresh org again as it executes. I am using below commands, venv/bin/cci flow run qa_org --org ...
Pronit Agrawal's user avatar