Questions tagged [cumulusci]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
20 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 ...
user avatar
0 votes
0 answers
20 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: '...
user avatar
  • 1,242
0 votes
1 answer
39 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: --...
user avatar
0 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
29 views

Not able to add admin permission set with cumulusci command

I am not able to set permission set with cumulusci command, Previously, I was using below commands and they were working fine. cci task run permission_Api_Name--org dev cci task run ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
0 votes
1 answer
31 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 ...
user avatar
  • 1,242
1 vote
1 answer
26 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 ...
user avatar
  • 1,242
2 votes
1 answer
94 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 ...
user avatar
1 vote
1 answer
40 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 ...
user avatar
  • 2,734
3 votes
1 answer
127 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 ...
user avatar
  • 1,139
3 votes
1 answer
40 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 ...
user avatar
1 vote
1 answer
32 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
user avatar
1 vote
1 answer
75 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, ...
user avatar
  • 1,139
2 votes
0 answers
42 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 ...
user avatar
  • 31
1 vote
1 answer
70 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. ...
user avatar
  • 31
2 votes
1 answer
275 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 ...
user avatar
  • 177
4 votes
1 answer
1k 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-...
user avatar
0 votes
0 answers
217 views

Error : Not_Found: 'The requested resource does not exist' while connecting a persistent orgs(sandbox) using CCI Org Connect

I am trying to connect a org (Sandbox) using below command. Though I am getting successful authentication message 👍🏿 Congratulations! Your authentication succeeded. I am getting below error : What ...
user avatar
2 votes
1 answer
42 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:...
user avatar
  • 177
2 votes
1 answer
90 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 ...
user avatar
  • 145
1 vote
0 answers
58 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
  • 2,734
1 vote
1 answer
112 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 ...
user avatar
  • 177
0 votes
1 answer
225 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 ...
user avatar
0 votes
1 answer
115 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 ...
user avatar
  • 1
2 votes
0 answers
287 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.
user avatar
2 votes
1 answer
63 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>...
user avatar
2 votes
2 answers
3k 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 ...
user avatar
1 vote
1 answer
177 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 ...
user avatar
0 votes
1 answer
150 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 ...
user avatar
0 votes
1 answer
881 views

Element has an invalid reference error while pushing the code using CCI command

I am trying to push the code using cci flow run qa_org --org dev command, But it is giving me Element has an invalid reference error Running command: sfdx force:source:push -u test-xxxxxxxxxxxx@...
user avatar
0 votes
1 answer
185 views

How to push code to an org using a CCI 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. How can I push the code to a newly created org? This is the ...
user avatar
4 votes
1 answer
92 views

Getting "cumulusci.core.exceptions.OrgNotFound: Org named Dev was not found in keychain" for cci org default Dev

I am trying to run my robot test on circleci, I am getting below error when I run cci org default Dev command: Traceback (most recent call last): File "venv/bin/cci", line 11, in <module> ...
user avatar
1 vote
1 answer
3k views

How to pass multiple arguments to a test case using CumulusCI?

Problem statement: Unable to pass multiple variable values to my test case using CumulusCI command: cci task run robot... Sample Code: *** Settings *** Resource C:/Dev/myproject/robotframework/...
user avatar
1 vote
1 answer
522 views

Trying to connect to someone else's Scratch Org via CumulusCI - does Cci allow this; if so how, if not why?

Background: A dev member in my team has created a feature testing scratch org using SFDX, no CumulusCI (Cci) involved. I, part of QA, am automating the same Salesforce product and need to access this ...
user avatar
0 votes
1 answer
84 views

How to implement "Get Locator" keyword from CumulusCI library?

Every implementation of Get Locator keyword I am trying is resulting into: AttributeError: 'dict' object has no attribute 'format'` please educate me with respect to the correct implementation and ...
user avatar
0 votes
2 answers
429 views

What goes into a feature branch for CumulusCI

I'm looking to setup continuous integration, but getting stumped with our custom solution. I'm starting to look into CumulusCI managed by Salesforce Foundation. I'm having difficulty finding what "a ...
user avatar
  • 1,844