What do you want to achieve?
I am getting many does not match copy in library error when running Kibot in a GitHub pipeline, but not when opening Kicad on my desktop:
Run INTI-CMNB/KiBot@v2_k9
with:
config: PCB/schematics-v26.1/kicad/kibot-configs/config.kibot.yaml
dir: PCB/schematics-v26.1/kicad/fabrication/general
schema: PCB/schematics-v26.1/kicad/hamodule.kicad_sch
board: PCB/schematics-v26.1/kicad/hamodule.kicad_pcb
quickstart: NO
skip: __NONE__
targets: __ALL__
variant: __NONE__
install3D: NO
verbose: 0
cache3D: NO
/usr/bin/docker run --name c426579c4b38b9d02dccdada2db0_46cbf6 --label 318231 --workdir /github/workspace --rm -e "INPUT_CONFIG" -e "INPUT_DIR" -e "INPUT_SCHEMA" -e "INPUT_BOARD" -e "INPUT_QUICKSTART" -e "INPUT_SKIP" -e "INPUT_TARGETS" -e "INPUT_VARIANT" -e "INPUT_INSTALL3D" -e "INPUT_VERBOSE" -e "INPUT_ADDITIONAL_ARGS" -e "INPUT_CACHE3D" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/electronics-homeassistant-lightscontroll/electronics-homeassistant-lightscontroll":"/github/workspace" 318231:1816c426579c4b38b9d02dccdada2db0 "-c PCB/schematics-v26.1/kicad/kibot-configs/config.kibot.yaml" "-C NO" "-d PCB/schematics-v26.1/kicad/fabrication/general" "-b PCB/schematics-v26.1/kicad/hamodule.kicad_pcb" "-e PCB/schematics-v26.1/kicad/hamodule.kicad_sch" "-i NO" "-q NO" "-s __NONE__" "-t __ALL__" "-v 0" "-V __NONE__" "-x "
*****************************************************************************************
*****************************************************************************************
KKKKKKKKK KKKKKKK iiii BBBBBBBBBBBBBBBBB tttt
K:::::::K K:::::K i::::i B::::::::::::::::B ttt:::t
K:::::::K K:::::K iiii B::::::BBBBBB:::::B t:::::t
K:::::::K K::::::K BB:::::B B:::::B t:::::t
KK::::::K K:::::KKKiiiiiii B::::B B:::::B ooooooooooo ttttttt:::::ttttttt
K:::::K K:::::K i:::::i B::::B B:::::B oo:::::::::::oo t:::::::::::::::::t
K::::::K:::::K i::::i B::::BBBBBB:::::B o:::::::::::::::ot:::::::::::::::::t
K:::::::::::K i::::i B:::::::::::::BB o:::::ooooo:::::otttttt:::::::tttttt
K:::::::::::K i::::i B::::BBBBBB:::::B o::::o o::::o t:::::t
K::::::K:::::K i::::i B::::B B:::::Bo::::o o::::o t:::::t
K:::::K K:::::K i::::i B::::B B:::::Bo::::o o::::o t:::::t
KK::::::K K:::::KKK i::::i B::::B B:::::Bo::::o o::::o t:::::t tttttt
K:::::::K K::::::Ki::::::iBB:::::BBBBBB::::::Bo:::::ooooo:::::o t::::::tttt:::::t
K:::::::K K:::::Ki::::::iB:::::::::::::::::B o:::::::::::::::o tt::::::::::::::t
K:::::::K K:::::Ki::::::iB::::::::::::::::B oo:::::::::::oo tt:::::::::::tt
KKKKKKKKK KKKKKKKiiiiiiiiBBBBBBBBBBBBBBBBB ooooooooooo ttttttttttt
🤖 KiBot GitHub Action v2 🚀
KiBot: 1.8.4
KiCad: 9.0.1+dfsg-1~bpo12+1
Debian: 12.7
KiAuto: 2.3.5
KiCost 1.1.20
iBoM: 2.10.0
*****************************************************************************************
*****************************************************************************************
Options: -c 'PCB/schematics-v26.1/kicad/kibot-configs/config.kibot.yaml' -d 'PCB/schematics-v26.1/kicad/fabrication/general' -b 'PCB/schematics-v26.1/kicad/hamodule.kicad_pcb' -e 'PCB/schematics-v26.1/kicad/hamodule.kicad_sch'
WARNING:(W143) The `ignore_unconnected` preflight is deprecated, use the `ignore_unconnected` option (kibot.pre_ignore_unconnected - pre_ignore_unconnected.py:26)
WARNING:(W143) For KiCad 8 use the `erc` preflight instead of `run_erc` (kibot.pre_run_erc - pre_run_erc.py:77)
- Running the ERC
WARNING:(W058) 3 ERC warnings detected (eeschema_do - eeschema_do:629) (kibot - kiplot.py:134)
WARNING:(W058) (lib_symbol_issues) Symbol 'LD1117V33' not found in symbol library 'Regulator_Linear'
; warning
@(0.6096 mm, 0.7747 mm): Symbol U1 [LD1117V33]
(eeschema_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (four_way_junction) Four items connected at 609600, 1181100
; warning
@(0.6096 mm, 1.1811 mm): Symbol J3 Pin A4 [VBUS, Passive, Line]
@(0.6096 mm, 1.1811 mm): Symbol J3 Hidden pin A9 [VBUS, Passive, Line]
(eeschema_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (four_way_junction) Four items connected at 457200, 1562100
; warning
@(0.4572 mm, 1.5621 mm): Symbol J3 Pin A1 [GND, Passive, Line]
@(0.4572 mm, 1.5621 mm): Symbol J3 Hidden pin A12 [GND, Passive, Line]
(eeschema_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W143) For KiCad 8 use the `drc` preflight instead of `run_drc` (kibot.pre_run_drc - pre_run_drc.py:81)
- Running the DRC
ERROR:Found 0 DRC errors and 9 unconnected pad/s or warnings (pcbnew_do - pcbnew_do:1485) (kibot - kiplot.py:131)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'TO-220-3_Vertical' does not match copy in library 'Package_TO_SOT_THT'.; Severity: warning
@(37.1187 mm, 97.7392 mm): Footprint U1
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'SOIC-18W_7.5x11.6mm_P1.27mm' does not match copy in library 'Package_SO'.; Severity: warning
@(61.92 mm, 88.15 mm): Footprint U11
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'CP_Radial_D6.3mm_P2.50mm' does not match copy in library 'Capacitor_THT'.; Severity: warning
@(144.5 mm, 81.43 mm): Footprint C19
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'SOT-23-5' does not match copy in library 'Package_TO_SOT_SMD'.; Severity: warning
@(85.8625 mm, 111.8768 mm): Footprint U10
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'CP_Radial_D6.3mm_P2.50mm' does not match copy in library 'Capacitor_THT'.; Severity: warning
@(54.2 mm, 95.617621 mm): Footprint C18
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'TSSOP-24_4.4x7.8mm_P0.65mm' does not match copy in library 'Package_SO'.; Severity: warning
@(84.1375 mm, 91.075 mm): Footprint U12
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'TSSOP-24_4.4x7.8mm_P0.65mm' does not match copy in library 'Package_SO'.; Severity: warning
@(93.8125 mm, 91.075 mm): Footprint U9
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'SOT-23-6' does not match copy in library 'Package_TO_SOT_SMD'.; Severity: warning
@(102.485402 mm, 104.229699 mm): Footprint U2
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
WARNING:(W058) (lib_footprint_mismatch) Footprint 'CP_Radial_D6.3mm_P2.50mm' does not match copy in library 'Capacitor_THT'.; Severity: warning
@(37.8 mm, 101.617621 mm): Footprint C12
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
ERROR:DRC violations: 9 (kibot.gs - gs.py:899)
The footprints in the PCBNew are updated:
WARNING:(W058) (lib_footprint_mismatch) Footprint 'CP_Radial_D6.3mm_P2.50mm' does not match copy in library 'Capacitor_THT'.; Severity: warning
@(37.8 mm, 101.617621 mm): Footprint C12
(pcbnew_do.kiauto.file_util - file_util.py:154) (kibot - kiplot.py:134)
ERROR:DRC violations: 9 (kibot.gs - gs.py:899)
I noticed that Kibot uses Kicad 9.0.1 and I am using 9.0.3. Could that be a problem?
🤖 KiBot GitHub Action v2 🚀
KiBot: 1.8.4
KiCad: 9.0.1+dfsg-1~bpo12+1
Debian: 12.7
KiAuto: 2.3.5
KiCost 1.1.20
iBoM: 2.10.0
Do you have some PCB/Schematic to use as example?
https://github.com/crgarcia12/electronics-homeassistant-lightscontroll/tree/main/PCB/schematics-v26.1
Do you have some configuration file (.kibot.yaml) that you are using?
# Example KiBot config file
kibot:
version: 1
preflight:
run_erc: true
run_drc: true
check_zone_fills: true
ignore_unconnected: false
global:
# We want the revision added to the names for this project
output: '%f-%i_%r.%x'
kiauto_time_out_scale: 10
import:
- JLCPCB.kibot.yaml
filters:
- name: 'exclude_any'
type: 'generic'
comment: 'Exclude logos, testpoints, fiducials and power'
exclude_any:
- column: Reference
regex: '^(G|#|TP|F).*'
outputs:
- name: 'print_sch'
comment: "Print schematic (PDF)"
type: pdf_sch_print
dir: .
- name: 'print_front'
comment: "Print F.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: F.Cu
- layer: Dwgs.User
- name: 'print_bottom'
comment: "Print B.Cu+Dwgs.User"
type: pdf_pcb_print
dir: .
layers:
- layer: B.Cu
- layer: Dwgs.User
- name: 'interactive_bom'
comment: "Interactive Bill of Materials (HTML)"
type: ibom
dir: BoM
options:
blacklist: 'DNF*'
- name: 'bom_html'
comment: "Bill of Materials in HTML format"
type: bom
dir: BoM
options: &bom_options
columns:
- Row
- field: References
name: Referencias
- field: Part
name: Parte
- field: Value
name: Valor
- field: JLCPCB
name: JLCPCB
- field: manf#
name: P/N
- field: manf
name: Fabricante
- field: digikey#
name: 'Cod. Digi-Key'
- Footprint
- field: Desc
name: Descripción
- 'Quantity Per PCB'
group_fields: ['digikey#', 'Part']
normalize_values: true
normalize_locale: true
exclude_filter: 'exclude_any'
html:
digikey_link: 'digikey#'
highlight_empty: false
- name: 'bom_xlsx'
comment: "Bill of Materials in XLSX format"
type: bom
dir: BoM
options:
<<: *bom_options
format: XLSX
xlsx:
digikey_link: 'digikey#'
highlight_empty: false
- name: 'bom_csv'
comment: "Bill of Materials in CSV format"
type: bom
dir: BoM
options:
<<: *bom_options
format: CSV
- name: 'gerbers'
comment: "Gerbers for the board house"
type: gerber
dir: Gerbers
options:
# generic layer options
exclude_edge_layer: true
exclude_pads_from_silkscreen: false
use_aux_axis_as_origin: false
plot_sheet_reference: false
plot_footprint_refs: true
plot_footprint_values: true
force_plot_invisible_refs_vals: false
tent_vias: true
# gerber options
line_width: 0.1
subtract_mask_from_silk: false
use_protel_extensions: false
gerber_precision: 4.6
create_gerber_job_file: true
use_gerber_x2_attributes: true
use_gerber_net_attributes: true
layers:
- layer: F.Cu
suffix: F_Cu
- layer: In1.Cu
suffix: In1_Cu
- layer: In2.Cu
suffix: In2_Cu
- layer: B.Cu
suffix: B_Cu
- layer: F.SilkS
suffix: F_SilkS
- layer: B.SilkS
suffix: B_SilkS
- layer: F.Mask
suffix: F_Mask
- layer: B.Mask
suffix: B_Mask
- layer: Edge.Cuts
suffix: Edge_Cuts
- name: excellon_drill
comment: "Excellon drill files"
type: excellon
dir: Drill
options:
metric_units: false
pth_and_npth_single_file: false
use_aux_axis_as_origin: false
minimal_header: false
mirror_y_axis: false
report:
filename: 'spora-drl.rpt'
map:
type: 'pdf'
- name: gerber_drills
comment: "Gerber drill files"
type: gerb_drill
dir: Drill
options:
use_aux_axis_as_origin: false
- name: 'position'
comment: "Pick and place file"
type: position
dir: Position
options:
format: CSV # CSV or ASCII format
units: millimeters # millimeters or inches
separate_files_for_front_and_back: true
only_smd: true
- name: pcb_top_g
comment: "PCB render top green"
type: pcbdraw
dir: PCB/green
options:
format: jpg
show_components: none
dpi: 600
- name: pcb_bot_g
comment: "PCB render bottom green"
type: pcbdraw
dir: PCB/green
options:
format: jpg
bottom: True
show_components: none
dpi: 600
- name: pcb_top_b
comment: "PCB render top blue"
type: pcbdraw
dir: PCB/blue
options:
format: jpg
style: set-blue-enig
show_components: none
dpi: 600
- name: pcb_bot_b
comment: "PCB render bottom blue"
type: pcbdraw
dir: PCB/blue
options:
format: jpg
style: set-blue-enig
bottom: True
show_components: none
dpi: 600
- name: pcb_top_r
comment: "PCB render top red"
type: pcbdraw
dir: PCB/red
options:
format: jpg
style: set-red-enig
show_components: none
dpi: 600
- name: pcb_bot_r
comment: "PCB render bottom red"
type: pcbdraw
dir: PCB/red
options:
format: jpg
style: set-red-enig
bottom: True
show_components: none
dpi: 600
- name: step
comment: "Generate 3D model (STEP)"
type: step
dir: 3D
options:
metric_units: true
origin: 85,66.2
- name: render_3d
comment: "Generate 3D model (IMG)"
type: render_3d
dir: 3D-img
options:
download: true
Github Action pipeline
name: production-files
on:
push:
paths:
- '**.sch'
- '**.kicad_pcb'
- '**.yaml'
pull_request:
paths:
- '**.sch'
- '**.kicad_pcb'
- '**.yaml'
workflow_dispatch:
permissions:
contents: read
actions: write
jobs:
production-files-4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: INTI-CMNB/KiBot@v2_k9
name: generating files for v26.1
with:
# Required - kibot config file
config: PCB/schematics-v26.1/kicad/kibot-configs/config.kibot.yaml
# optional - prefix to output defined in config
dir: PCB/schematics-v26.1/kicad/fabrication/general
# optional - schematic file
schema: 'PCB/schematics-v26.1/kicad/hamodule.kicad_sch'
# optional - PCB design file
board: 'PCB/schematics-v26.1/kicad/hamodule.kicad_pcb'
- name: upload results for v26.1
uses: actions/upload-artifact@v4
with:
name: output-4-channels-PCB-v26.1
path: PCB/schematics-v26.1/kicad/fabrication/general
Environment (please complete the following information):
Where are you running KiBot:
- In a CI/CD workflow? GitHub
- In a GitHub action? Which tag are you using? INTI-CMNB/KiBot@v2_k9
- Using a desktop system? Windows 11
Additional context
Full project: https://github.com/crgarcia12/electronics-homeassistant-lightscontroll/tree/main/PCB/schematics-v26.1
What do you want to achieve?
I am getting many does not match copy in library error when running Kibot in a GitHub pipeline, but not when opening Kicad on my desktop:
The footprints in the PCBNew are updated:
I noticed that Kibot uses Kicad 9.0.1 and I am using 9.0.3. Could that be a problem?
Do you have some PCB/Schematic to use as example?
https://github.com/crgarcia12/electronics-homeassistant-lightscontroll/tree/main/PCB/schematics-v26.1
Do you have some configuration file (.kibot.yaml) that you are using?
Github Action pipeline
Environment (please complete the following information):
Where are you running KiBot:
Additional context
Full project: https://github.com/crgarcia12/electronics-homeassistant-lightscontroll/tree/main/PCB/schematics-v26.1