Questions tagged [cumulusci]
Questions related to the CumulusCI build automation and continuous integration toolchain.
47
questions
1
vote
2
answers
57
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 ...
0
votes
0
answers
19
views
CumulusCI 2GP Beta Release Permissions Issue
I have some unit tests failing during a 2gp beta release due to the running test user not having the proper field-level permissions. I've followed the documentation here and defined the permission set ...
0
votes
1
answer
20
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 ...
0
votes
0
answers
22
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 ...
0
votes
0
answers
23
views
How to pass org name dynamic in cumulus standard command task
I am using cumulus standard command task to delete my org (cci org scratch_delete )
But I am not getting how to pass the dynamic org name there?
delete_scratch_org:
description: delete the ...
1
vote
1
answer
68
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/...
0
votes
1
answer
22
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 ...
0
votes
0
answers
29
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":&...
0
votes
1
answer
192
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, ...
0
votes
1
answer
46
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 ...
1
vote
1
answer
54
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 ...
0
votes
0
answers
55
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: '...
0
votes
1
answer
153
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: --...
0
votes
1
answer
101
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 ...
0
votes
0
answers
73
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 ...
0
votes
1
answer
105
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 ...
1
vote
1
answer
132
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 ...
1
vote
1
answer
75
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 ...
2
votes
2
answers
335
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 ...
1
vote
1
answer
165
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 ...
3
votes
1
answer
309
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 ...
3
votes
1
answer
88
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 ...
1
vote
1
answer
48
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
1
vote
1
answer
212
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, ...
3
votes
1
answer
111
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 ...
1
vote
1
answer
113
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. ...
2
votes
1
answer
505
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 ...
4
votes
1
answer
2k
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-...
2
votes
1
answer
97
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:...
2
votes
1
answer
137
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 ...
1
vote
0
answers
100
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 ...
0
votes
1
answer
194
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 ...
1
vote
1
answer
155
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 ...
0
votes
1
answer
318
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 ...
0
votes
1
answer
131
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
...
2
votes
0
answers
350
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.
2
votes
1
answer
79
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>...
2
votes
2
answers
4k
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 ...
1
vote
1
answer
233
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 ...
0
votes
1
answer
196
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 ...
0
votes
1
answer
1k
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@...
0
votes
1
answer
250
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 ...
4
votes
1
answer
179
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>
...
1
vote
1
answer
4k
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/...
2
votes
1
answer
666
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 ...
0
votes
1
answer
93
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 ...
0
votes
2
answers
466
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 ...