Project

General

Profile

Actions

Bug #20065

closed

After migrating from 6.2 to 7.0, techniques that were totally valid may become invalid because of name collision in rudderc

Added by Nicolas CHARLES about 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

I had a technique named "command" in 6.2
After migrating to 7.0, I have the following errors

[2021-10-05 14:33:57+0000] ERROR application - An error occurred when compiling technique 'command' (id : 'BundleName(command)') with rudderc, error details in /var/log/rudder/rudderc/failures/2021-10-05T14:33:57.070Z_command.log, falling back to old saving process

error =>
  Inconsistency: An error occurred when compiling technique.rd file into cfengine
 code: 1
 stderr: An error occurred, could not create content from 'technique.rd':
technique.rd:10:10: !--> Resource 'command' at technique.rd:10:10 already defined at 'command' at command.rd:8:10

An error occurred, could not create content: Command was "/opt/rudder/bin/rudderc" "compile" "-j" "-f" "cf" "-i" "/var/rudder/configuration-repository/techniques/ncf_techniques/command/1.0/technique.rd" "--config-file=/opt/rudder/etc/rudderc.conf" 

 stdout: {
  "command": "compile",
  "source": "technique.rd",
  "time": "1633444437064",
  "status": "failure",
  "logs": {
    "logs": []
  },
  "data": [],
  "errors": [
Actions

Also available in: Atom PDF